Daily bump.
[official-gcc.git] / libstdc++-v3 / configure
bloba6019d0a2b0802ffffc51d64b6536f1d2c975762
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]"
53 # Initialize some variables set by options.
54 # The variables have the same names as the options, with
55 # dashes changed to underlines.
56 build=NONE
57 cache_file=./config.cache
58 exec_prefix=NONE
59 host=NONE
60 no_create=
61 nonopt=NONE
62 no_recursion=
63 prefix=NONE
64 program_prefix=NONE
65 program_suffix=NONE
66 program_transform_name=s,x,x,
67 silent=
68 site=
69 srcdir=
70 target=NONE
71 verbose=
72 x_includes=NONE
73 x_libraries=NONE
74 bindir='${exec_prefix}/bin'
75 sbindir='${exec_prefix}/sbin'
76 libexecdir='${exec_prefix}/libexec'
77 datadir='${prefix}/share'
78 sysconfdir='${prefix}/etc'
79 sharedstatedir='${prefix}/com'
80 localstatedir='${prefix}/var'
81 libdir='${exec_prefix}/lib'
82 includedir='${prefix}/include'
83 oldincludedir='/usr/include'
84 infodir='${prefix}/info'
85 mandir='${prefix}/man'
87 # Initialize some other variables.
88 subdirs=
89 MFLAGS= MAKEFLAGS=
90 SHELL=${CONFIG_SHELL-/bin/sh}
91 # Maximum number of lines to put in a shell here document.
92 ac_max_here_lines=12
94 ac_prev=
95 for ac_option
98 # If the previous option needs an argument, assign it.
99 if test -n "$ac_prev"; then
100 eval "$ac_prev=\$ac_option"
101 ac_prev=
102 continue
105 case "$ac_option" in
106 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
107 *) ac_optarg= ;;
108 esac
110 # Accept the important Cygnus configure options, so we can diagnose typos.
112 case "$ac_option" in
114 -bindir | --bindir | --bindi | --bind | --bin | --bi)
115 ac_prev=bindir ;;
116 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
117 bindir="$ac_optarg" ;;
119 -build | --build | --buil | --bui | --bu)
120 ac_prev=build ;;
121 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
122 build="$ac_optarg" ;;
124 -cache-file | --cache-file | --cache-fil | --cache-fi \
125 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
126 ac_prev=cache_file ;;
127 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
128 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
129 cache_file="$ac_optarg" ;;
131 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
132 ac_prev=datadir ;;
133 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
134 | --da=*)
135 datadir="$ac_optarg" ;;
137 -disable-* | --disable-*)
138 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
139 # Reject names that are not valid shell variable names.
140 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
141 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
143 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
144 eval "enable_${ac_feature}=no" ;;
146 -enable-* | --enable-*)
147 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
148 # Reject names that are not valid shell variable names.
149 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
150 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
152 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
153 case "$ac_option" in
154 *=*) ;;
155 *) ac_optarg=yes ;;
156 esac
157 eval "enable_${ac_feature}='$ac_optarg'" ;;
159 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
160 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
161 | --exec | --exe | --ex)
162 ac_prev=exec_prefix ;;
163 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
164 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
165 | --exec=* | --exe=* | --ex=*)
166 exec_prefix="$ac_optarg" ;;
168 -gas | --gas | --ga | --g)
169 # Obsolete; use --with-gas.
170 with_gas=yes ;;
172 -help | --help | --hel | --he)
173 # Omit some internal or obsolete options to make the list less imposing.
174 # This message is too long to be a string in the A/UX 3.1 sh.
175 cat << EOF
176 Usage: configure [options] [host]
177 Options: [defaults in brackets after descriptions]
178 Configuration:
179 --cache-file=FILE cache test results in FILE
180 --help print this message
181 --no-create do not create output files
182 --quiet, --silent do not print \`checking...' messages
183 --version print the version of autoconf that created configure
184 Directory and file names:
185 --prefix=PREFIX install architecture-independent files in PREFIX
186 [$ac_default_prefix]
187 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
188 [same as prefix]
189 --bindir=DIR user executables in DIR [EPREFIX/bin]
190 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
191 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
192 --datadir=DIR read-only architecture-independent data in DIR
193 [PREFIX/share]
194 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
195 --sharedstatedir=DIR modifiable architecture-independent data in DIR
196 [PREFIX/com]
197 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
198 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
199 --includedir=DIR C header files in DIR [PREFIX/include]
200 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
201 --infodir=DIR info documentation in DIR [PREFIX/info]
202 --mandir=DIR man documentation in DIR [PREFIX/man]
203 --srcdir=DIR find the sources in DIR [configure dir or ..]
204 --program-prefix=PREFIX prepend PREFIX to installed program names
205 --program-suffix=SUFFIX append SUFFIX to installed program names
206 --program-transform-name=PROGRAM
207 run sed PROGRAM on installed program names
209 cat << EOF
210 Host type:
211 --build=BUILD configure for building on BUILD [BUILD=HOST]
212 --host=HOST configure for HOST [guessed]
213 --target=TARGET configure for TARGET [TARGET=HOST]
214 Features and packages:
215 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
216 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
217 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
218 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
219 --x-includes=DIR X include files are in DIR
220 --x-libraries=DIR X library files are in DIR
222 if test -n "$ac_help"; then
223 echo "--enable and --with options recognized:$ac_help"
225 exit 0 ;;
227 -host | --host | --hos | --ho)
228 ac_prev=host ;;
229 -host=* | --host=* | --hos=* | --ho=*)
230 host="$ac_optarg" ;;
232 -includedir | --includedir | --includedi | --included | --include \
233 | --includ | --inclu | --incl | --inc)
234 ac_prev=includedir ;;
235 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
236 | --includ=* | --inclu=* | --incl=* | --inc=*)
237 includedir="$ac_optarg" ;;
239 -infodir | --infodir | --infodi | --infod | --info | --inf)
240 ac_prev=infodir ;;
241 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
242 infodir="$ac_optarg" ;;
244 -libdir | --libdir | --libdi | --libd)
245 ac_prev=libdir ;;
246 -libdir=* | --libdir=* | --libdi=* | --libd=*)
247 libdir="$ac_optarg" ;;
249 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
250 | --libexe | --libex | --libe)
251 ac_prev=libexecdir ;;
252 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
253 | --libexe=* | --libex=* | --libe=*)
254 libexecdir="$ac_optarg" ;;
256 -localstatedir | --localstatedir | --localstatedi | --localstated \
257 | --localstate | --localstat | --localsta | --localst \
258 | --locals | --local | --loca | --loc | --lo)
259 ac_prev=localstatedir ;;
260 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
261 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
262 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
263 localstatedir="$ac_optarg" ;;
265 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
266 ac_prev=mandir ;;
267 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
268 mandir="$ac_optarg" ;;
270 -nfp | --nfp | --nf)
271 # Obsolete; use --without-fp.
272 with_fp=no ;;
274 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
275 | --no-cr | --no-c)
276 no_create=yes ;;
278 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
279 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
280 no_recursion=yes ;;
282 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
283 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
284 | --oldin | --oldi | --old | --ol | --o)
285 ac_prev=oldincludedir ;;
286 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
287 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
288 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
289 oldincludedir="$ac_optarg" ;;
291 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
292 ac_prev=prefix ;;
293 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
294 prefix="$ac_optarg" ;;
296 -program-prefix | --program-prefix | --program-prefi | --program-pref \
297 | --program-pre | --program-pr | --program-p)
298 ac_prev=program_prefix ;;
299 -program-prefix=* | --program-prefix=* | --program-prefi=* \
300 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
301 program_prefix="$ac_optarg" ;;
303 -program-suffix | --program-suffix | --program-suffi | --program-suff \
304 | --program-suf | --program-su | --program-s)
305 ac_prev=program_suffix ;;
306 -program-suffix=* | --program-suffix=* | --program-suffi=* \
307 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
308 program_suffix="$ac_optarg" ;;
310 -program-transform-name | --program-transform-name \
311 | --program-transform-nam | --program-transform-na \
312 | --program-transform-n | --program-transform- \
313 | --program-transform | --program-transfor \
314 | --program-transfo | --program-transf \
315 | --program-trans | --program-tran \
316 | --progr-tra | --program-tr | --program-t)
317 ac_prev=program_transform_name ;;
318 -program-transform-name=* | --program-transform-name=* \
319 | --program-transform-nam=* | --program-transform-na=* \
320 | --program-transform-n=* | --program-transform-=* \
321 | --program-transform=* | --program-transfor=* \
322 | --program-transfo=* | --program-transf=* \
323 | --program-trans=* | --program-tran=* \
324 | --progr-tra=* | --program-tr=* | --program-t=*)
325 program_transform_name="$ac_optarg" ;;
327 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
328 | -silent | --silent | --silen | --sile | --sil)
329 silent=yes ;;
331 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
332 ac_prev=sbindir ;;
333 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
334 | --sbi=* | --sb=*)
335 sbindir="$ac_optarg" ;;
337 -sharedstatedir | --sharedstatedir | --sharedstatedi \
338 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
339 | --sharedst | --shareds | --shared | --share | --shar \
340 | --sha | --sh)
341 ac_prev=sharedstatedir ;;
342 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
343 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
344 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
345 | --sha=* | --sh=*)
346 sharedstatedir="$ac_optarg" ;;
348 -site | --site | --sit)
349 ac_prev=site ;;
350 -site=* | --site=* | --sit=*)
351 site="$ac_optarg" ;;
353 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
354 ac_prev=srcdir ;;
355 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
356 srcdir="$ac_optarg" ;;
358 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
359 | --syscon | --sysco | --sysc | --sys | --sy)
360 ac_prev=sysconfdir ;;
361 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
362 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
363 sysconfdir="$ac_optarg" ;;
365 -target | --target | --targe | --targ | --tar | --ta | --t)
366 ac_prev=target ;;
367 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
368 target="$ac_optarg" ;;
370 -v | -verbose | --verbose | --verbos | --verbo | --verb)
371 verbose=yes ;;
373 -version | --version | --versio | --versi | --vers)
374 echo "configure generated by autoconf version 2.13"
375 exit 0 ;;
377 -with-* | --with-*)
378 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
379 # Reject names that are not valid shell variable names.
380 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
381 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
383 ac_package=`echo $ac_package| sed 's/-/_/g'`
384 case "$ac_option" in
385 *=*) ;;
386 *) ac_optarg=yes ;;
387 esac
388 eval "with_${ac_package}='$ac_optarg'" ;;
390 -without-* | --without-*)
391 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
392 # Reject names that are not valid shell variable names.
393 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
394 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
396 ac_package=`echo $ac_package| sed 's/-/_/g'`
397 eval "with_${ac_package}=no" ;;
399 --x)
400 # Obsolete; use --with-x.
401 with_x=yes ;;
403 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
404 | --x-incl | --x-inc | --x-in | --x-i)
405 ac_prev=x_includes ;;
406 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
407 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
408 x_includes="$ac_optarg" ;;
410 -x-libraries | --x-libraries | --x-librarie | --x-librari \
411 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
412 ac_prev=x_libraries ;;
413 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
414 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
415 x_libraries="$ac_optarg" ;;
417 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
421 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
422 echo "configure: warning: $ac_option: invalid host type" 1>&2
424 if test "x$nonopt" != xNONE; then
425 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
427 nonopt="$ac_option"
430 esac
431 done
433 if test -n "$ac_prev"; then
434 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
437 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
439 # File descriptor usage:
440 # 0 standard input
441 # 1 file creation
442 # 2 errors and warnings
443 # 3 some systems may open it to /dev/tty
444 # 4 used on the Kubota Titan
445 # 6 checking for... messages and results
446 # 5 compiler messages saved in config.log
447 if test "$silent" = yes; then
448 exec 6>/dev/null
449 else
450 exec 6>&1
452 exec 5>./config.log
454 echo "\
455 This file contains any messages produced by compilers while
456 running configure, to aid debugging if configure makes a mistake.
457 " 1>&5
459 # Strip out --no-create and --no-recursion so they do not pile up.
460 # Also quote any args containing shell metacharacters.
461 ac_configure_args=
462 for ac_arg
464 case "$ac_arg" in
465 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
466 | --no-cr | --no-c) ;;
467 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
468 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
469 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
470 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
471 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
472 esac
473 done
475 # NLS nuisances.
476 # Only set these to C if already set. These must not be set unconditionally
477 # because not all systems understand e.g. LANG=C (notably SCO).
478 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
479 # Non-C LC_CTYPE values break the ctype check.
480 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
481 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
482 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
483 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
485 # confdefs.h avoids OS command line length limits that DEFS can exceed.
486 rm -rf conftest* confdefs.h
487 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
488 echo > confdefs.h
490 # A filename unique to this package, relative to the directory that
491 # configure is in, which we can look for to find out if srcdir is correct.
492 ac_unique_file=src/complex.cc
494 # Find the source files, if location was not specified.
495 if test -z "$srcdir"; then
496 ac_srcdir_defaulted=yes
497 # Try the directory containing this script, then its parent.
498 ac_prog=$0
499 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
500 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
501 srcdir=$ac_confdir
502 if test ! -r $srcdir/$ac_unique_file; then
503 srcdir=..
505 else
506 ac_srcdir_defaulted=no
508 if test ! -r $srcdir/$ac_unique_file; then
509 if test "$ac_srcdir_defaulted" = yes; then
510 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
511 else
512 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
515 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
517 # Prefer explicitly selected file to automatically selected ones.
518 if test -z "$CONFIG_SITE"; then
519 if test "x$prefix" != xNONE; then
520 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
521 else
522 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
525 for ac_site_file in $CONFIG_SITE; do
526 if test -r "$ac_site_file"; then
527 echo "loading site script $ac_site_file"
528 . "$ac_site_file"
530 done
532 if test -r "$cache_file"; then
533 echo "loading cache $cache_file"
534 . $cache_file
535 else
536 echo "creating cache $cache_file"
537 > $cache_file
540 ac_ext=c
541 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
542 ac_cpp='$CPP $CPPFLAGS'
543 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
544 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
545 cross_compiling=$ac_cv_prog_cc_cross
547 ac_exeext=
548 ac_objext=o
549 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
550 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
551 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
552 ac_n= ac_c='
553 ' ac_t=' '
554 else
555 ac_n=-n ac_c= ac_t=
557 else
558 ac_n= ac_c='\c' ac_t=
562 ac_aux_dir=
563 for ac_dir in .. $srcdir/..; do
564 if test -f $ac_dir/install-sh; then
565 ac_aux_dir=$ac_dir
566 ac_install_sh="$ac_aux_dir/install-sh -c"
567 break
568 elif test -f $ac_dir/install.sh; then
569 ac_aux_dir=$ac_dir
570 ac_install_sh="$ac_aux_dir/install.sh -c"
571 break
573 done
574 if test -z "$ac_aux_dir"; then
575 { echo "configure: error: can not find install-sh or install.sh in .. $srcdir/.." 1>&2; exit 1; }
577 ac_config_guess=$ac_aux_dir/config.guess
578 ac_config_sub=$ac_aux_dir/config.sub
579 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
582 # Gets and sets build, host, target, *_vendor, *_cpu, *_os, etc.
584 # Do some error checking and defaulting for the host and target type.
585 # The inputs are:
586 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
588 # The rules are:
589 # 1. You are not allowed to specify --host, --target, and nonopt at the
590 # same time.
591 # 2. Host defaults to nonopt.
592 # 3. If nonopt is not specified, then host defaults to the current host,
593 # as determined by config.guess.
594 # 4. Target and build default to nonopt.
595 # 5. If nonopt is not specified, then target and build default to host.
597 # The aliases save the names the user supplied, while $host etc.
598 # will get canonicalized.
599 case $host---$target---$nonopt in
600 NONE---*---* | *---NONE---* | *---*---NONE) ;;
601 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
602 esac
605 # Make sure we can run config.sub.
606 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
607 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
610 echo $ac_n "checking host system type""... $ac_c" 1>&6
611 echo "configure:612: checking host system type" >&5
613 host_alias=$host
614 case "$host_alias" in
615 NONE)
616 case $nonopt in
617 NONE)
618 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
619 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
620 fi ;;
621 *) host_alias=$nonopt ;;
622 esac ;;
623 esac
625 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
626 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
627 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
628 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
629 echo "$ac_t""$host" 1>&6
631 echo $ac_n "checking target system type""... $ac_c" 1>&6
632 echo "configure:633: checking target system type" >&5
634 target_alias=$target
635 case "$target_alias" in
636 NONE)
637 case $nonopt in
638 NONE) target_alias=$host_alias ;;
639 *) target_alias=$nonopt ;;
640 esac ;;
641 esac
643 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
644 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
645 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
646 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
647 echo "$ac_t""$target" 1>&6
649 echo $ac_n "checking build system type""... $ac_c" 1>&6
650 echo "configure:651: checking build system type" >&5
652 build_alias=$build
653 case "$build_alias" in
654 NONE)
655 case $nonopt in
656 NONE) build_alias=$host_alias ;;
657 *) build_alias=$nonopt ;;
658 esac ;;
659 esac
661 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
662 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
663 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
664 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
665 echo "$ac_t""$build" 1>&6
667 test "$host_alias" != "$target_alias" &&
668 test "$program_prefix$program_suffix$program_transform_name" = \
669 NONENONEs,x,x, &&
670 program_prefix=${target_alias}-
673 # We use these options to decide which functions to include.
674 # Check whether --with-target-subdir or --without-target-subdir was given.
675 if test "${with_target_subdir+set}" = set; then
676 withval="$with_target_subdir"
680 # Check whether --with-cross-host or --without-cross-host was given.
681 if test "${with_cross_host+set}" = set; then
682 withval="$with_cross_host"
687 # Find a good install program. We prefer a C program (faster),
688 # so one script is as good as another. But avoid the broken or
689 # incompatible versions:
690 # SysV /etc/install, /usr/sbin/install
691 # SunOS /usr/etc/install
692 # IRIX /sbin/install
693 # AIX /bin/install
694 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
695 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
696 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
697 # ./install, which can be erroneously created by make from ./install.sh.
698 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
699 echo "configure:700: checking for a BSD compatible install" >&5
700 if test -z "$INSTALL"; then
701 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
702 echo $ac_n "(cached) $ac_c" 1>&6
703 else
704 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
705 for ac_dir in $PATH; do
706 # Account for people who put trailing slashes in PATH elements.
707 case "$ac_dir/" in
708 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
710 # OSF1 and SCO ODT 3.0 have their own names for install.
711 # Don't use installbsd from OSF since it installs stuff as root
712 # by default.
713 for ac_prog in ginstall scoinst install; do
714 if test -f $ac_dir/$ac_prog; then
715 if test $ac_prog = install &&
716 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
717 # AIX install. It has an incompatible calling convention.
719 else
720 ac_cv_path_install="$ac_dir/$ac_prog -c"
721 break 2
724 done
726 esac
727 done
728 IFS="$ac_save_IFS"
731 if test "${ac_cv_path_install+set}" = set; then
732 INSTALL="$ac_cv_path_install"
733 else
734 # As a last resort, use the slow shell script. We don't cache a
735 # path for INSTALL within a source directory, because that will
736 # break other packages using the cache if that directory is
737 # removed, or if the path is relative.
738 INSTALL="$ac_install_sh"
741 echo "$ac_t""$INSTALL" 1>&6
743 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
744 # It thinks the first close brace ends the variable substitution.
745 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
747 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
749 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
751 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
752 echo "configure:753: checking whether build environment is sane" >&5
753 # Just in case
754 sleep 1
755 echo timestamp > conftestfile
756 # Do `set' in a subshell so we don't clobber the current shell's
757 # arguments. Must try -L first in case configure is actually a
758 # symlink; some systems play weird games with the mod time of symlinks
759 # (eg FreeBSD returns the mod time of the symlink's containing
760 # directory).
761 if (
762 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
763 if test "$*" = "X"; then
764 # -L didn't work.
765 set X `ls -t $srcdir/configure conftestfile`
767 if test "$*" != "X $srcdir/configure conftestfile" \
768 && test "$*" != "X conftestfile $srcdir/configure"; then
770 # If neither matched, then we have a broken ls. This can happen
771 # if, for instance, CONFIG_SHELL is bash and it inherits a
772 # broken ls alias from the environment. This has actually
773 # happened. Such a system could not be considered "sane".
774 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
775 alias in your environment" 1>&2; exit 1; }
778 test "$2" = conftestfile
780 then
781 # Ok.
783 else
784 { echo "configure: error: newly created file is older than distributed files!
785 Check your system clock" 1>&2; exit 1; }
787 rm -f conftest*
788 echo "$ac_t""yes" 1>&6
789 if test "$program_transform_name" = s,x,x,; then
790 program_transform_name=
791 else
792 # Double any \ or $. echo might interpret backslashes.
793 cat <<\EOF_SED > conftestsed
794 s,\\,\\\\,g; s,\$,$$,g
795 EOF_SED
796 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
797 rm -f conftestsed
799 test "$program_prefix" != NONE &&
800 program_transform_name="s,^,${program_prefix},; $program_transform_name"
801 # Use a double $ so make ignores it.
802 test "$program_suffix" != NONE &&
803 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
805 # sed with no file args requires a program.
806 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
808 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
809 echo "configure:810: checking whether ${MAKE-make} sets \${MAKE}" >&5
810 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
811 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
812 echo $ac_n "(cached) $ac_c" 1>&6
813 else
814 cat > conftestmake <<\EOF
815 all:
816 @echo 'ac_maketemp="${MAKE}"'
818 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
819 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
820 if test -n "$ac_maketemp"; then
821 eval ac_cv_prog_make_${ac_make}_set=yes
822 else
823 eval ac_cv_prog_make_${ac_make}_set=no
825 rm -f conftestmake
827 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
828 echo "$ac_t""yes" 1>&6
829 SET_MAKE=
830 else
831 echo "$ac_t""no" 1>&6
832 SET_MAKE="MAKE=${MAKE-make}"
835 if test $host != $build; then
836 ac_tool_prefix=${host_alias}-
837 else
838 ac_tool_prefix=
841 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
842 echo "configure:843: checking for Cygwin environment" >&5
843 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
844 echo $ac_n "(cached) $ac_c" 1>&6
845 else
846 cat > conftest.$ac_ext <<EOF
847 #line 848 "configure"
848 #include "confdefs.h"
850 int main() {
852 #ifndef __CYGWIN__
853 #define __CYGWIN__ __CYGWIN32__
854 #endif
855 return __CYGWIN__;
856 ; return 0; }
858 if { (eval echo configure:859: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
859 rm -rf conftest*
860 ac_cv_cygwin=yes
861 else
862 echo "configure: failed program was:" >&5
863 cat conftest.$ac_ext >&5
864 rm -rf conftest*
865 ac_cv_cygwin=no
867 rm -f conftest*
868 rm -f conftest*
871 echo "$ac_t""$ac_cv_cygwin" 1>&6
872 CYGWIN=
873 test "$ac_cv_cygwin" = yes && CYGWIN=yes
874 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
875 echo "configure:876: checking for mingw32 environment" >&5
876 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
877 echo $ac_n "(cached) $ac_c" 1>&6
878 else
879 cat > conftest.$ac_ext <<EOF
880 #line 881 "configure"
881 #include "confdefs.h"
883 int main() {
884 return __MINGW32__;
885 ; return 0; }
887 if { (eval echo configure:888: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
888 rm -rf conftest*
889 ac_cv_mingw32=yes
890 else
891 echo "configure: failed program was:" >&5
892 cat conftest.$ac_ext >&5
893 rm -rf conftest*
894 ac_cv_mingw32=no
896 rm -f conftest*
897 rm -f conftest*
900 echo "$ac_t""$ac_cv_mingw32" 1>&6
901 MINGW32=
902 test "$ac_cv_mingw32" = yes && MINGW32=yes
904 # Check whether --enable-multilib or --disable-multilib was given.
905 if test "${enable_multilib+set}" = set; then
906 enableval="$enable_multilib"
907 case "${enableval}" in
908 yes) multilib=yes ;;
909 no) multilib=no ;;
910 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
911 esac
912 else
913 multilib=yes
916 if test "${srcdir}" = "."; then
917 if test "${with_target_subdir}" != "."; then
918 glibcpp_basedir="${srcdir}/${with_multisrctop}../."
919 else
920 glibcpp_basedir="${srcdir}/${with_multisrctop}."
922 else
923 glibcpp_basedir="${srcdir}/."
928 PACKAGE=libstdc++
930 VERSION=2.90.8
932 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
933 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
935 cat >> confdefs.h <<EOF
936 #define PACKAGE "$PACKAGE"
939 cat >> confdefs.h <<EOF
940 #define VERSION "$VERSION"
945 missing_dir=`cd $ac_aux_dir && pwd`
946 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
947 echo "configure:948: checking for working aclocal" >&5
948 # Run test in a subshell; some versions of sh will print an error if
949 # an executable is not found, even if stderr is redirected.
950 # Redirect stdin to placate older versions of autoconf. Sigh.
951 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
952 ACLOCAL=aclocal
953 echo "$ac_t""found" 1>&6
954 else
955 ACLOCAL="$missing_dir/missing aclocal"
956 echo "$ac_t""missing" 1>&6
959 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
960 echo "configure:961: checking for working autoconf" >&5
961 # Run test in a subshell; some versions of sh will print an error if
962 # an executable is not found, even if stderr is redirected.
963 # Redirect stdin to placate older versions of autoconf. Sigh.
964 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
965 AUTOCONF=autoconf
966 echo "$ac_t""found" 1>&6
967 else
968 AUTOCONF="$missing_dir/missing autoconf"
969 echo "$ac_t""missing" 1>&6
972 echo $ac_n "checking for working automake""... $ac_c" 1>&6
973 echo "configure:974: checking for working automake" >&5
974 # Run test in a subshell; some versions of sh will print an error if
975 # an executable is not found, even if stderr is redirected.
976 # Redirect stdin to placate older versions of autoconf. Sigh.
977 if (automake --version) < /dev/null > /dev/null 2>&1; then
978 AUTOMAKE=automake
979 echo "$ac_t""found" 1>&6
980 else
981 AUTOMAKE="$missing_dir/missing automake"
982 echo "$ac_t""missing" 1>&6
985 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
986 echo "configure:987: checking for working autoheader" >&5
987 # Run test in a subshell; some versions of sh will print an error if
988 # an executable is not found, even if stderr is redirected.
989 # Redirect stdin to placate older versions of autoconf. Sigh.
990 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
991 AUTOHEADER=autoheader
992 echo "$ac_t""found" 1>&6
993 else
994 AUTOHEADER="$missing_dir/missing autoheader"
995 echo "$ac_t""missing" 1>&6
998 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
999 echo "configure:1000: checking for working makeinfo" >&5
1000 # Run test in a subshell; some versions of sh will print an error if
1001 # an executable is not found, even if stderr is redirected.
1002 # Redirect stdin to placate older versions of autoconf. Sigh.
1003 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1004 MAKEINFO=makeinfo
1005 echo "$ac_t""found" 1>&6
1006 else
1007 MAKEINFO="$missing_dir/missing makeinfo"
1008 echo "$ac_t""missing" 1>&6
1013 # Never versions of autoconf add an underscore to these functions.
1014 # Prevent future problems ...
1020 # AC_PROG_CC
1022 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1023 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1024 # are probably using a cross compiler, which will not be able to fully
1025 # link an executable. This should really be fixed in autoconf
1026 # itself.
1031 # Extract the first word of "gcc", so it can be a program name with args.
1032 set dummy gcc; ac_word=$2
1033 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1034 echo "configure:1035: checking for $ac_word" >&5
1035 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1036 echo $ac_n "(cached) $ac_c" 1>&6
1037 else
1038 if test -n "$CC"; then
1039 ac_cv_prog_CC="$CC" # Let the user override the test.
1040 else
1041 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1042 ac_dummy="$PATH"
1043 for ac_dir in $ac_dummy; do
1044 test -z "$ac_dir" && ac_dir=.
1045 if test -f $ac_dir/$ac_word; then
1046 ac_cv_prog_CC="gcc"
1047 break
1049 done
1050 IFS="$ac_save_ifs"
1053 CC="$ac_cv_prog_CC"
1054 if test -n "$CC"; then
1055 echo "$ac_t""$CC" 1>&6
1056 else
1057 echo "$ac_t""no" 1>&6
1060 if test -z "$CC"; then
1061 # Extract the first word of "cc", so it can be a program name with args.
1062 set dummy cc; ac_word=$2
1063 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1064 echo "configure:1065: checking for $ac_word" >&5
1065 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1066 echo $ac_n "(cached) $ac_c" 1>&6
1067 else
1068 if test -n "$CC"; then
1069 ac_cv_prog_CC="$CC" # Let the user override the test.
1070 else
1071 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1072 ac_prog_rejected=no
1073 ac_dummy="$PATH"
1074 for ac_dir in $ac_dummy; do
1075 test -z "$ac_dir" && ac_dir=.
1076 if test -f $ac_dir/$ac_word; then
1077 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1078 ac_prog_rejected=yes
1079 continue
1081 ac_cv_prog_CC="cc"
1082 break
1084 done
1085 IFS="$ac_save_ifs"
1086 if test $ac_prog_rejected = yes; then
1087 # We found a bogon in the path, so make sure we never use it.
1088 set dummy $ac_cv_prog_CC
1089 shift
1090 if test $# -gt 0; then
1091 # We chose a different compiler from the bogus one.
1092 # However, it has the same basename, so the bogon will be chosen
1093 # first if we set CC to just the basename; use the full file name.
1094 shift
1095 set dummy "$ac_dir/$ac_word" "$@"
1096 shift
1097 ac_cv_prog_CC="$@"
1102 CC="$ac_cv_prog_CC"
1103 if test -n "$CC"; then
1104 echo "$ac_t""$CC" 1>&6
1105 else
1106 echo "$ac_t""no" 1>&6
1109 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1112 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1113 echo "configure:1114: checking whether we are using GNU C" >&5
1114 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1115 echo $ac_n "(cached) $ac_c" 1>&6
1116 else
1117 cat > conftest.c <<EOF
1118 #ifdef __GNUC__
1119 yes;
1120 #endif
1122 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1123: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1123 ac_cv_prog_gcc=yes
1124 else
1125 ac_cv_prog_gcc=no
1129 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1131 if test $ac_cv_prog_gcc = yes; then
1132 GCC=yes
1133 ac_test_CFLAGS="${CFLAGS+set}"
1134 ac_save_CFLAGS="$CFLAGS"
1135 CFLAGS=
1136 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1137 echo "configure:1138: checking whether ${CC-cc} accepts -g" >&5
1138 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1139 echo $ac_n "(cached) $ac_c" 1>&6
1140 else
1141 echo 'void f(){}' > conftest.c
1142 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1143 ac_cv_prog_cc_g=yes
1144 else
1145 ac_cv_prog_cc_g=no
1147 rm -f conftest*
1151 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1152 if test "$ac_test_CFLAGS" = set; then
1153 CFLAGS="$ac_save_CFLAGS"
1154 elif test $ac_cv_prog_cc_g = yes; then
1155 CFLAGS="-g -O2"
1156 else
1157 CFLAGS="-O2"
1159 else
1160 GCC=
1161 test "${CFLAGS+set}" = set || CFLAGS="-g"
1165 # Can't just call these here as g++ requires libstc++ to be built....
1166 # AC_PROG_CXX
1168 # Likewise for AC_PROG_CXX.
1172 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1174 # Extract the first word of "$ac_prog", so it can be a program name with args.
1175 set dummy $ac_prog; ac_word=$2
1176 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1177 echo "configure:1178: checking for $ac_word" >&5
1178 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1179 echo $ac_n "(cached) $ac_c" 1>&6
1180 else
1181 if test -n "$CXX"; then
1182 ac_cv_prog_CXX="$CXX" # Let the user override the test.
1183 else
1184 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1185 ac_dummy="$PATH"
1186 for ac_dir in $ac_dummy; do
1187 test -z "$ac_dir" && ac_dir=.
1188 if test -f $ac_dir/$ac_word; then
1189 ac_cv_prog_CXX="$ac_prog"
1190 break
1192 done
1193 IFS="$ac_save_ifs"
1196 CXX="$ac_cv_prog_CXX"
1197 if test -n "$CXX"; then
1198 echo "$ac_t""$CXX" 1>&6
1199 else
1200 echo "$ac_t""no" 1>&6
1203 test -n "$CXX" && break
1204 done
1205 test -n "$CXX" || CXX="gcc"
1207 test -z "$CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1209 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1210 echo "configure:1211: checking whether we are using GNU C++" >&5
1211 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1212 echo $ac_n "(cached) $ac_c" 1>&6
1213 else
1214 cat > conftest.C <<EOF
1215 #ifdef __GNUC__
1216 yes;
1217 #endif
1219 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1220: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1220 ac_cv_prog_gxx=yes
1221 else
1222 ac_cv_prog_gxx=no
1226 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1228 if test $ac_cv_prog_gxx = yes; then
1229 GXX=yes
1230 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1231 ac_save_CXXFLAGS="$CXXFLAGS"
1232 CXXFLAGS=
1233 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1234 echo "configure:1235: checking whether ${CXX-g++} accepts -g" >&5
1235 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1236 echo $ac_n "(cached) $ac_c" 1>&6
1237 else
1238 echo 'void f(){}' > conftest.cc
1239 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1240 ac_cv_prog_cxx_g=yes
1241 else
1242 ac_cv_prog_cxx_g=no
1244 rm -f conftest*
1248 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1249 if test "$ac_test_CXXFLAGS" = set; then
1250 CXXFLAGS="$ac_save_CXXFLAGS"
1251 elif test $ac_cv_prog_cxx_g = yes; then
1252 CXXFLAGS="-g -O2"
1253 else
1254 CXXFLAGS="-O2"
1256 else
1257 GXX=
1258 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1262 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1263 set dummy ${ac_tool_prefix}as; ac_word=$2
1264 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1265 echo "configure:1266: checking for $ac_word" >&5
1266 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1267 echo $ac_n "(cached) $ac_c" 1>&6
1268 else
1269 if test -n "$AS"; then
1270 ac_cv_prog_AS="$AS" # Let the user override the test.
1271 else
1272 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1273 ac_dummy="$PATH"
1274 for ac_dir in $ac_dummy; do
1275 test -z "$ac_dir" && ac_dir=.
1276 if test -f $ac_dir/$ac_word; then
1277 ac_cv_prog_AS="${ac_tool_prefix}as"
1278 break
1280 done
1281 IFS="$ac_save_ifs"
1282 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1285 AS="$ac_cv_prog_AS"
1286 if test -n "$AS"; then
1287 echo "$ac_t""$AS" 1>&6
1288 else
1289 echo "$ac_t""no" 1>&6
1294 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1295 set dummy ${ac_tool_prefix}ar; ac_word=$2
1296 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1297 echo "configure:1298: checking for $ac_word" >&5
1298 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1299 echo $ac_n "(cached) $ac_c" 1>&6
1300 else
1301 if test -n "$AR"; then
1302 ac_cv_prog_AR="$AR" # Let the user override the test.
1303 else
1304 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1305 ac_dummy="$PATH"
1306 for ac_dir in $ac_dummy; do
1307 test -z "$ac_dir" && ac_dir=.
1308 if test -f $ac_dir/$ac_word; then
1309 ac_cv_prog_AR="${ac_tool_prefix}ar"
1310 break
1312 done
1313 IFS="$ac_save_ifs"
1314 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1317 AR="$ac_cv_prog_AR"
1318 if test -n "$AR"; then
1319 echo "$ac_t""$AR" 1>&6
1320 else
1321 echo "$ac_t""no" 1>&6
1326 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1327 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1328 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1329 echo "configure:1330: checking for $ac_word" >&5
1330 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1331 echo $ac_n "(cached) $ac_c" 1>&6
1332 else
1333 if test -n "$RANLIB"; then
1334 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1335 else
1336 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1337 ac_dummy="$PATH"
1338 for ac_dir in $ac_dummy; do
1339 test -z "$ac_dir" && ac_dir=.
1340 if test -f $ac_dir/$ac_word; then
1341 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1342 break
1344 done
1345 IFS="$ac_save_ifs"
1348 RANLIB="$ac_cv_prog_RANLIB"
1349 if test -n "$RANLIB"; then
1350 echo "$ac_t""$RANLIB" 1>&6
1351 else
1352 echo "$ac_t""no" 1>&6
1356 if test -z "$ac_cv_prog_RANLIB"; then
1357 if test -n "$ac_tool_prefix"; then
1358 # Extract the first word of "ranlib", so it can be a program name with args.
1359 set dummy ranlib; ac_word=$2
1360 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1361 echo "configure:1362: checking for $ac_word" >&5
1362 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1363 echo $ac_n "(cached) $ac_c" 1>&6
1364 else
1365 if test -n "$RANLIB"; then
1366 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1367 else
1368 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1369 ac_dummy="$PATH"
1370 for ac_dir in $ac_dummy; do
1371 test -z "$ac_dir" && ac_dir=.
1372 if test -f $ac_dir/$ac_word; then
1373 ac_cv_prog_RANLIB="ranlib"
1374 break
1376 done
1377 IFS="$ac_save_ifs"
1378 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
1381 RANLIB="$ac_cv_prog_RANLIB"
1382 if test -n "$RANLIB"; then
1383 echo "$ac_t""$RANLIB" 1>&6
1384 else
1385 echo "$ac_t""no" 1>&6
1388 else
1389 RANLIB=":"
1394 # Find a good install program. We prefer a C program (faster),
1395 # so one script is as good as another. But avoid the broken or
1396 # incompatible versions:
1397 # SysV /etc/install, /usr/sbin/install
1398 # SunOS /usr/etc/install
1399 # IRIX /sbin/install
1400 # AIX /bin/install
1401 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1402 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1403 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1404 # ./install, which can be erroneously created by make from ./install.sh.
1405 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1406 echo "configure:1407: checking for a BSD compatible install" >&5
1407 if test -z "$INSTALL"; then
1408 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1409 echo $ac_n "(cached) $ac_c" 1>&6
1410 else
1411 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1412 for ac_dir in $PATH; do
1413 # Account for people who put trailing slashes in PATH elements.
1414 case "$ac_dir/" in
1415 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1417 # OSF1 and SCO ODT 3.0 have their own names for install.
1418 # Don't use installbsd from OSF since it installs stuff as root
1419 # by default.
1420 for ac_prog in ginstall scoinst install; do
1421 if test -f $ac_dir/$ac_prog; then
1422 if test $ac_prog = install &&
1423 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1424 # AIX install. It has an incompatible calling convention.
1426 else
1427 ac_cv_path_install="$ac_dir/$ac_prog -c"
1428 break 2
1431 done
1433 esac
1434 done
1435 IFS="$ac_save_IFS"
1438 if test "${ac_cv_path_install+set}" = set; then
1439 INSTALL="$ac_cv_path_install"
1440 else
1441 # As a last resort, use the slow shell script. We don't cache a
1442 # path for INSTALL within a source directory, because that will
1443 # break other packages using the cache if that directory is
1444 # removed, or if the path is relative.
1445 INSTALL="$ac_install_sh"
1448 echo "$ac_t""$INSTALL" 1>&6
1450 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1451 # It thinks the first close brace ends the variable substitution.
1452 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1454 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1456 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1459 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1460 echo "configure:1461: checking whether to enable maintainer-specific portions of Makefiles" >&5
1461 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1462 if test "${enable_maintainer_mode+set}" = set; then
1463 enableval="$enable_maintainer_mode"
1464 USE_MAINTAINER_MODE=$enableval
1465 else
1466 USE_MAINTAINER_MODE=no
1469 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1472 if test $USE_MAINTAINER_MODE = yes; then
1473 MAINTAINER_MODE_TRUE=
1474 MAINTAINER_MODE_FALSE='#'
1475 else
1476 MAINTAINER_MODE_TRUE='#'
1477 MAINTAINER_MODE_FALSE=
1479 MAINT=$MAINTAINER_MODE_TRUE
1483 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1484 # at least currently, we never actually build a program, so we never
1485 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1486 # fails, because we are probably configuring with a cross compiler
1487 # which cant create executables. So we include AC_EXEEXT to keep
1488 # automake happy, but we dont execute it, since we dont care about
1489 # the result.
1490 if false; then
1493 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1494 echo "configure:1495: checking for executable suffix" >&5
1495 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1496 echo $ac_n "(cached) $ac_c" 1>&6
1497 else
1498 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1499 ac_cv_exeext=.exe
1500 else
1501 rm -f conftest*
1502 echo 'int main () { return 0; }' > conftest.$ac_ext
1503 ac_cv_exeext=
1504 if { (eval echo configure:1505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1505 for file in conftest.*; do
1506 case $file in
1507 *.c | *.o | *.obj) ;;
1508 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1509 esac
1510 done
1511 else
1512 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1514 rm -f conftest*
1515 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1519 EXEEXT=""
1520 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1521 echo "$ac_t""${ac_cv_exeext}" 1>&6
1522 ac_exeext=$EXEEXT
1526 # configure.host sets the following important variables
1527 # glibcpp_cflags - host specific C compiler flags
1528 # glibcpp_cxxflags - host specific C++ compiler flags
1529 glibcpp_cflags=
1530 glibcpp_cxxflags=
1532 . ${glibcpp_basedir}/configure.host
1534 case ${glibcpp_basedir} in
1535 /* | A-Za-z:/\\*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1536 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1537 esac
1539 GLIBCPP_CFLAGS="${glibcpp_cflags}"
1540 GLIBCPP_CXXFLAGS="${glibcpp_cxxflags}"
1545 # Check whether --enable-shared or --disable-shared was given.
1546 if test "${enable_shared+set}" = set; then
1547 enableval="$enable_shared"
1548 p=${PACKAGE-default}
1549 case "$enableval" in
1550 yes) enable_shared=yes ;;
1551 no) enable_shared=no ;;
1553 enable_shared=no
1554 # Look at the argument we got. We use all the common list separators.
1555 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1556 for pkg in $enableval; do
1557 if test "X$pkg" = "X$p"; then
1558 enable_shared=yes
1560 done
1561 IFS="$ac_save_ifs"
1563 esac
1564 else
1565 enable_shared=yes
1568 # Check whether --enable-static or --disable-static was given.
1569 if test "${enable_static+set}" = set; then
1570 enableval="$enable_static"
1571 p=${PACKAGE-default}
1572 case "$enableval" in
1573 yes) enable_static=yes ;;
1574 no) enable_static=no ;;
1576 enable_static=no
1577 # Look at the argument we got. We use all the common list separators.
1578 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1579 for pkg in $enableval; do
1580 if test "X$pkg" = "X$p"; then
1581 enable_static=yes
1583 done
1584 IFS="$ac_save_ifs"
1586 esac
1587 else
1588 enable_static=yes
1591 # Check whether --enable-fast-install or --disable-fast-install was given.
1592 if test "${enable_fast_install+set}" = set; then
1593 enableval="$enable_fast_install"
1594 p=${PACKAGE-default}
1595 case "$enableval" in
1596 yes) enable_fast_install=yes ;;
1597 no) enable_fast_install=no ;;
1599 enable_fast_install=no
1600 # Look at the argument we got. We use all the common list separators.
1601 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1602 for pkg in $enableval; do
1603 if test "X$pkg" = "X$p"; then
1604 enable_fast_install=yes
1606 done
1607 IFS="$ac_save_ifs"
1609 esac
1610 else
1611 enable_fast_install=yes
1614 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1615 if test "${with_gnu_ld+set}" = set; then
1616 withval="$with_gnu_ld"
1617 test "$withval" = no || with_gnu_ld=yes
1618 else
1619 with_gnu_ld=no
1622 ac_prog=ld
1623 if test "$ac_cv_prog_gcc" = yes; then
1624 # Check if gcc -print-prog-name=ld gives a path.
1625 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1626 echo "configure:1627: checking for ld used by GCC" >&5
1627 case $host in
1628 *-*-mingw*)
1629 # gcc leaves a trailing carriage return which upsets mingw
1630 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1632 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1633 esac
1634 case "$ac_prog" in
1635 # Accept absolute paths.
1636 [\\/]* | [A-Za-z]:[\\/]*)
1637 re_direlt='/[^/][^/]*/\.\./'
1638 # Canonicalize the path of ld
1639 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1640 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1641 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1642 done
1643 test -z "$LD" && LD="$ac_prog"
1646 # If it fails, then pretend we aren't using GCC.
1647 ac_prog=ld
1650 # If it is relative, then search for the first ld in PATH.
1651 with_gnu_ld=unknown
1653 esac
1654 elif test "$with_gnu_ld" = yes; then
1655 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1656 echo "configure:1657: checking for GNU ld" >&5
1657 else
1658 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1659 echo "configure:1660: checking for non-GNU ld" >&5
1661 if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
1662 echo $ac_n "(cached) $ac_c" 1>&6
1663 else
1664 if test -z "$LD"; then
1665 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1666 for ac_dir in $PATH; do
1667 test -z "$ac_dir" && ac_dir=.
1668 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1669 ac_cv_path_LD="$ac_dir/$ac_prog"
1670 # Check to see if the program is GNU ld. I'd rather use --version,
1671 # but apparently some GNU ld's only accept -v.
1672 # Break only if it was the GNU/non-GNU ld that we prefer.
1673 if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1674 test "$with_gnu_ld" != no && break
1675 else
1676 test "$with_gnu_ld" != yes && break
1679 done
1680 IFS="$ac_save_ifs"
1681 else
1682 ac_cv_path_LD="$LD" # Let the user override the test with a path.
1686 LD="$ac_cv_path_LD"
1687 if test -n "$LD"; then
1688 echo "$ac_t""$LD" 1>&6
1689 else
1690 echo "$ac_t""no" 1>&6
1692 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1693 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1694 echo "configure:1695: checking if the linker ($LD) is GNU ld" >&5
1695 if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
1696 echo $ac_n "(cached) $ac_c" 1>&6
1697 else
1698 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1699 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1700 ac_cv_prog_gnu_ld=yes
1701 else
1702 ac_cv_prog_gnu_ld=no
1706 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
1707 with_gnu_ld=$ac_cv_prog_gnu_ld
1710 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1711 echo "configure:1712: checking for $LD option to reload object files" >&5
1712 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1713 echo $ac_n "(cached) $ac_c" 1>&6
1714 else
1715 lt_cv_ld_reload_flag='-r'
1718 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1719 reload_flag=$lt_cv_ld_reload_flag
1720 test -n "$reload_flag" && reload_flag=" $reload_flag"
1722 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1723 echo "configure:1724: checking for BSD-compatible nm" >&5
1724 if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
1725 echo $ac_n "(cached) $ac_c" 1>&6
1726 else
1727 if test -n "$NM"; then
1728 # Let the user override the test.
1729 ac_cv_path_NM="$NM"
1730 else
1731 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1732 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1733 test -z "$ac_dir" && ac_dir=.
1734 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1735 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1736 # Check to see if the nm accepts a BSD-compat flag.
1737 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1738 # nm: unknown option "B" ignored
1739 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1740 ac_cv_path_NM="$tmp_nm -B"
1741 break
1742 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1743 ac_cv_path_NM="$tmp_nm -p"
1744 break
1745 else
1746 ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but
1747 continue # so that we can try to find one that supports BSD flags
1750 done
1751 IFS="$ac_save_ifs"
1752 test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
1756 NM="$ac_cv_path_NM"
1757 echo "$ac_t""$NM" 1>&6
1759 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1760 echo "configure:1761: checking whether ln -s works" >&5
1761 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1762 echo $ac_n "(cached) $ac_c" 1>&6
1763 else
1764 rm -f conftestdata
1765 if ln -s X conftestdata 2>/dev/null
1766 then
1767 rm -f conftestdata
1768 ac_cv_prog_LN_S="ln -s"
1769 else
1770 ac_cv_prog_LN_S=ln
1773 LN_S="$ac_cv_prog_LN_S"
1774 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1775 echo "$ac_t""yes" 1>&6
1776 else
1777 echo "$ac_t""no" 1>&6
1780 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1781 echo "configure:1782: checking how to recognise dependant libraries" >&5
1782 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1783 echo $ac_n "(cached) $ac_c" 1>&6
1784 else
1785 lt_cv_file_magic_cmd='${MAGIC}'
1786 lt_cv_file_magic_test_file=
1787 lt_cv_deplibs_check_method='unknown'
1788 # Need to set the preceding variable on all platforms that support
1789 # interlibrary dependencies.
1790 # 'none' -- dependencies not supported.
1791 # `unknown' -- same as none, but documents that we really don't know.
1792 # 'pass_all' -- all dependencies passed with no checks.
1793 # 'test_compile' -- check by making test program.
1794 # 'file_magic [regex]' -- check by looking for files in library path
1795 # which responds to the $file_magic_cmd with a given egrep regex.
1796 # If you have `file' or equivalent on your system and you're not sure
1797 # whether `pass_all' will *always* work, you probably want this one.
1799 case "$host_os" in
1800 aix4*)
1801 lt_cv_deplibs_check_method=pass_all
1804 beos*)
1805 lt_cv_deplibs_check_method=pass_all
1808 bsdi4*)
1809 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1810 lt_cv_file_magic_cmd='/usr/bin/file -L'
1811 lt_cv_file_magic_test_file=/shlib/libc.so
1814 cygwin* | mingw*)
1815 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1816 lt_cv_file_magic_cmd='${OBJDUMP} -f'
1819 freebsd* )
1820 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1821 case "$host_cpu" in
1822 i*86 )
1823 lt_cv_deplibs_check_method=='file_magic OpenBSD/i[3-9]86 demand paged shared library'
1824 lt_cv_file_magic_cmd=/usr/bin/file
1825 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1827 esac
1828 else
1829 lt_cv_deplibs_check_method=pass_all
1833 gnu*)
1834 lt_cv_deplibs_check_method=pass_all
1837 hpux10.20*)
1838 # TODO: Does this work for hpux-11 too?
1839 lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library'
1840 lt_cv_file_magic_cmd=/usr/bin/file
1841 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1844 irix5* | irix6*)
1845 case "$host_os" in
1846 irix5*)
1847 # this will be overridden with pass_all, but let us keep it just in case
1848 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1851 case "$LD" in
1852 *-32|*"-32 ") libmagic=32-bit;;
1853 *-n32|*"-n32 ") libmagic=N32;;
1854 *-64|*"-64 ") libmagic=64-bit;;
1855 *) libmagic=never-match;;
1856 esac
1857 # this will be overridden with pass_all, but let us keep it just in case
1858 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
1860 esac
1861 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1862 lt_cv_deplibs_check_method=pass_all
1865 # This must be Linux ELF.
1866 linux*)
1867 case "$host_cpu" in
1868 alpha* | i*86 | powerpc* | sparc* | ia64* )
1869 lt_cv_deplibs_check_method=pass_all ;;
1871 # glibc up to 2.1.1 does not perform some relocations on ARM
1872 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
1873 esac
1874 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
1877 netbsd*)
1878 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then :
1879 else
1880 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
1881 lt_cv_file_magic_cmd='/usr/bin/file -L'
1882 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1886 osf3* | osf4* | osf5*)
1887 # this will be overridden with pass_all, but let us keep it just in case
1888 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
1889 lt_cv_file_magic_test_file=/shlib/libc.so
1890 lt_cv_deplibs_check_method=pass_all
1893 sco3.2v5*)
1894 lt_cv_deplibs_check_method=pass_all
1897 solaris*)
1898 lt_cv_deplibs_check_method=pass_all
1899 lt_cv_file_magic_test_file=/lib/libc.so
1902 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1903 case "$host_vendor" in
1904 ncr)
1905 lt_cv_deplibs_check_method=pass_all
1907 motorola)
1908 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]'
1909 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1911 esac
1913 esac
1917 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
1918 file_magic_cmd=$lt_cv_file_magic_cmd
1919 deplibs_check_method=$lt_cv_deplibs_check_method
1921 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
1922 echo "configure:1923: checking for object suffix" >&5
1923 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
1924 echo $ac_n "(cached) $ac_c" 1>&6
1925 else
1926 rm -f conftest*
1927 echo 'int i = 1;' > conftest.$ac_ext
1928 if { (eval echo configure:1929: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1929 for ac_file in conftest.*; do
1930 case $ac_file in
1931 *.c) ;;
1932 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
1933 esac
1934 done
1935 else
1936 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
1938 rm -f conftest*
1941 echo "$ac_t""$ac_cv_objext" 1>&6
1942 OBJEXT=$ac_cv_objext
1943 ac_objext=$ac_cv_objext
1945 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
1947 # Only perform the check for file, if the check method requires it
1948 case "$deplibs_check_method" in
1949 file_magic*)
1950 if test "$file_magic_cmd" = '${MAGIC}'; then
1951 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
1952 echo "configure:1953: checking for ${ac_tool_prefix}file" >&5
1953 if eval "test \"`echo '$''{'lt_cv_path_MAGIC'+set}'`\" = set"; then
1954 echo $ac_n "(cached) $ac_c" 1>&6
1955 else
1956 case "$MAGIC" in
1958 lt_cv_path_MAGIC="$MAGIC" # Let the user override the test with a path.
1960 ?:/*)
1961 ac_cv_path_MAGIC="$MAGIC" # Let the user override the test with a dos path.
1964 ac_save_MAGIC="$MAGIC"
1965 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1966 ac_dummy="/usr/bin:$PATH"
1967 for ac_dir in $ac_dummy; do
1968 test -z "$ac_dir" && ac_dir=.
1969 if test -f $ac_dir/${ac_tool_prefix}file; then
1970 lt_cv_path_MAGIC="$ac_dir/${ac_tool_prefix}file"
1971 if test -n "$file_magic_test_file"; then
1972 case "$deplibs_check_method" in
1973 "file_magic "*)
1974 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
1975 MAGIC="$lt_cv_path_MAGIC"
1976 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
1977 egrep "$file_magic_regex" > /dev/null; then
1979 else
1980 cat <<EOF 1>&2
1982 *** Warning: the command libtool uses to detect shared libraries,
1983 *** $file_magic_cmd, produces output that libtool cannot recognize.
1984 *** The result is that libtool may fail to recognize shared libraries
1985 *** as such. This will affect the creation of libtool libraries that
1986 *** depend on shared libraries, but programs linked with such libtool
1987 *** libraries will work regardless of this problem. Nevertheless, you
1988 *** may want to report the problem to your system manager and/or to
1989 *** bug-libtool@gnu.org
1992 fi ;;
1993 esac
1995 break
1997 done
1998 IFS="$ac_save_ifs"
1999 MAGIC="$ac_save_MAGIC"
2001 esac
2004 MAGIC="$lt_cv_path_MAGIC"
2005 if test -n "$MAGIC"; then
2006 echo "$ac_t""$MAGIC" 1>&6
2007 else
2008 echo "$ac_t""no" 1>&6
2011 if test -z "$lt_cv_path_MAGIC"; then
2012 if test -n "$ac_tool_prefix"; then
2013 echo $ac_n "checking for file""... $ac_c" 1>&6
2014 echo "configure:2015: checking for file" >&5
2015 if eval "test \"`echo '$''{'lt_cv_path_MAGIC'+set}'`\" = set"; then
2016 echo $ac_n "(cached) $ac_c" 1>&6
2017 else
2018 case "$MAGIC" in
2020 lt_cv_path_MAGIC="$MAGIC" # Let the user override the test with a path.
2022 ?:/*)
2023 ac_cv_path_MAGIC="$MAGIC" # Let the user override the test with a dos path.
2026 ac_save_MAGIC="$MAGIC"
2027 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2028 ac_dummy="/usr/bin:$PATH"
2029 for ac_dir in $ac_dummy; do
2030 test -z "$ac_dir" && ac_dir=.
2031 if test -f $ac_dir/file; then
2032 lt_cv_path_MAGIC="$ac_dir/file"
2033 if test -n "$file_magic_test_file"; then
2034 case "$deplibs_check_method" in
2035 "file_magic "*)
2036 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2037 MAGIC="$lt_cv_path_MAGIC"
2038 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2039 egrep "$file_magic_regex" > /dev/null; then
2041 else
2042 cat <<EOF 1>&2
2044 *** Warning: the command libtool uses to detect shared libraries,
2045 *** $file_magic_cmd, produces output that libtool cannot recognize.
2046 *** The result is that libtool may fail to recognize shared libraries
2047 *** as such. This will affect the creation of libtool libraries that
2048 *** depend on shared libraries, but programs linked with such libtool
2049 *** libraries will work regardless of this problem. Nevertheless, you
2050 *** may want to report the problem to your system manager and/or to
2051 *** bug-libtool@gnu.org
2054 fi ;;
2055 esac
2057 break
2059 done
2060 IFS="$ac_save_ifs"
2061 MAGIC="$ac_save_MAGIC"
2063 esac
2066 MAGIC="$lt_cv_path_MAGIC"
2067 if test -n "$MAGIC"; then
2068 echo "$ac_t""$MAGIC" 1>&6
2069 else
2070 echo "$ac_t""no" 1>&6
2073 else
2074 MAGIC=:
2080 esac
2082 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2083 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2084 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2085 echo "configure:2086: checking for $ac_word" >&5
2086 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2087 echo $ac_n "(cached) $ac_c" 1>&6
2088 else
2089 if test -n "$RANLIB"; then
2090 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2091 else
2092 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2093 ac_dummy="$PATH"
2094 for ac_dir in $ac_dummy; do
2095 test -z "$ac_dir" && ac_dir=.
2096 if test -f $ac_dir/$ac_word; then
2097 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2098 break
2100 done
2101 IFS="$ac_save_ifs"
2104 RANLIB="$ac_cv_prog_RANLIB"
2105 if test -n "$RANLIB"; then
2106 echo "$ac_t""$RANLIB" 1>&6
2107 else
2108 echo "$ac_t""no" 1>&6
2112 if test -z "$ac_cv_prog_RANLIB"; then
2113 if test -n "$ac_tool_prefix"; then
2114 # Extract the first word of "ranlib", so it can be a program name with args.
2115 set dummy ranlib; ac_word=$2
2116 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2117 echo "configure:2118: checking for $ac_word" >&5
2118 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2119 echo $ac_n "(cached) $ac_c" 1>&6
2120 else
2121 if test -n "$RANLIB"; then
2122 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2123 else
2124 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2125 ac_dummy="$PATH"
2126 for ac_dir in $ac_dummy; do
2127 test -z "$ac_dir" && ac_dir=.
2128 if test -f $ac_dir/$ac_word; then
2129 ac_cv_prog_RANLIB="ranlib"
2130 break
2132 done
2133 IFS="$ac_save_ifs"
2134 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2137 RANLIB="$ac_cv_prog_RANLIB"
2138 if test -n "$RANLIB"; then
2139 echo "$ac_t""$RANLIB" 1>&6
2140 else
2141 echo "$ac_t""no" 1>&6
2144 else
2145 RANLIB=":"
2149 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2150 set dummy ${ac_tool_prefix}strip; ac_word=$2
2151 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2152 echo "configure:2153: checking for $ac_word" >&5
2153 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2154 echo $ac_n "(cached) $ac_c" 1>&6
2155 else
2156 if test -n "$STRIP"; then
2157 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2158 else
2159 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2160 ac_dummy="$PATH"
2161 for ac_dir in $ac_dummy; do
2162 test -z "$ac_dir" && ac_dir=.
2163 if test -f $ac_dir/$ac_word; then
2164 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2165 break
2167 done
2168 IFS="$ac_save_ifs"
2171 STRIP="$ac_cv_prog_STRIP"
2172 if test -n "$STRIP"; then
2173 echo "$ac_t""$STRIP" 1>&6
2174 else
2175 echo "$ac_t""no" 1>&6
2179 if test -z "$ac_cv_prog_STRIP"; then
2180 if test -n "$ac_tool_prefix"; then
2181 # Extract the first word of "strip", so it can be a program name with args.
2182 set dummy strip; ac_word=$2
2183 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2184 echo "configure:2185: checking for $ac_word" >&5
2185 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2186 echo $ac_n "(cached) $ac_c" 1>&6
2187 else
2188 if test -n "$STRIP"; then
2189 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2190 else
2191 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2192 ac_dummy="$PATH"
2193 for ac_dir in $ac_dummy; do
2194 test -z "$ac_dir" && ac_dir=.
2195 if test -f $ac_dir/$ac_word; then
2196 ac_cv_prog_STRIP="strip"
2197 break
2199 done
2200 IFS="$ac_save_ifs"
2201 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2204 STRIP="$ac_cv_prog_STRIP"
2205 if test -n "$STRIP"; then
2206 echo "$ac_t""$STRIP" 1>&6
2207 else
2208 echo "$ac_t""no" 1>&6
2211 else
2212 STRIP=":"
2217 # Check for any special flags to pass to ltconfig.
2218 libtool_flags="--cache-file=$cache_file"
2219 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2220 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2221 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2222 test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
2223 test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2224 libtool_flags="$libtool_flags --enable-dlopen"
2226 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2227 if test "${enable_libtool_lock+set}" = set; then
2228 enableval="$enable_libtool_lock"
2232 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2233 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2235 # Check whether --with-pic or --without-pic was given.
2236 if test "${with_pic+set}" = set; then
2237 withval="$with_pic"
2238 pic_mode="$withval"
2239 else
2240 pic_mode=default
2243 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2244 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2246 # Some flags need to be propagated to the compiler or linker for good
2247 # libtool support.
2248 case "$host" in
2249 *-*-irix6*)
2250 # Find out which ABI we are using.
2251 echo '#line 2252 "configure"' > conftest.$ac_ext
2252 if { (eval echo configure:2253: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2253 case "`/usr/bin/file conftest.o`" in
2254 *32-bit*)
2255 LD="${LD-ld} -32"
2257 *N32*)
2258 LD="${LD-ld} -n32"
2260 *64-bit*)
2261 LD="${LD-ld} -64"
2263 esac
2265 rm -rf conftest*
2268 *-*-sco3.2v5*)
2269 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2270 SAVE_CFLAGS="$CFLAGS"
2271 CFLAGS="$CFLAGS -belf"
2272 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2273 echo "configure:2274: checking whether the C compiler needs -belf" >&5
2274 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2275 echo $ac_n "(cached) $ac_c" 1>&6
2276 else
2278 ac_ext=c
2279 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2280 ac_cpp='$CPP $CPPFLAGS'
2281 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2282 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2283 cross_compiling=$ac_cv_prog_cc_cross
2285 cat > conftest.$ac_ext <<EOF
2286 #line 2287 "configure"
2287 #include "confdefs.h"
2289 int main() {
2291 ; return 0; }
2293 if { (eval echo configure:2294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2294 rm -rf conftest*
2295 lt_cv_cc_needs_belf=yes
2296 else
2297 echo "configure: failed program was:" >&5
2298 cat conftest.$ac_ext >&5
2299 rm -rf conftest*
2300 lt_cv_cc_needs_belf=no
2302 rm -f conftest*
2303 ac_ext=c
2304 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2305 ac_cpp='$CPP $CPPFLAGS'
2306 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2307 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2308 cross_compiling=$ac_cv_prog_cc_cross
2312 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2313 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2314 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2315 CFLAGS="$SAVE_CFLAGS"
2320 esac
2322 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2323 echo "configure:2324: checking how to run the C++ preprocessor" >&5
2324 if test -z "$CXXCPP"; then
2325 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2326 echo $ac_n "(cached) $ac_c" 1>&6
2327 else
2328 ac_ext=C
2329 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2330 ac_cpp='$CXXCPP $CPPFLAGS'
2331 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2332 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2333 cross_compiling=$ac_cv_prog_cxx_cross
2334 CXXCPP="${CXX-g++} -E"
2335 cat > conftest.$ac_ext <<EOF
2336 #line 2337 "configure"
2337 #include "confdefs.h"
2338 #include <stdlib.h>
2340 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2341 { (eval echo configure:2342: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2342 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2343 if test -z "$ac_err"; then
2345 else
2346 echo "$ac_err" >&5
2347 echo "configure: failed program was:" >&5
2348 cat conftest.$ac_ext >&5
2349 rm -rf conftest*
2350 CXXCPP=/lib/cpp
2352 rm -f conftest*
2353 ac_cv_prog_CXXCPP="$CXXCPP"
2354 ac_ext=c
2355 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2356 ac_cpp='$CPP $CPPFLAGS'
2357 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2358 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2359 cross_compiling=$ac_cv_prog_cc_cross
2362 CXXCPP="$ac_cv_prog_CXXCPP"
2363 echo "$ac_t""$CXXCPP" 1>&6
2366 # Save cache, so that ltconfig can load it
2367 cat > confcache <<\EOF
2368 # This file is a shell script that caches the results of configure
2369 # tests run on this system so they can be shared between configure
2370 # scripts and configure runs. It is not useful on other systems.
2371 # If it contains results you don't want to keep, you may remove or edit it.
2373 # By default, configure uses ./config.cache as the cache file,
2374 # creating it if it does not exist already. You can give configure
2375 # the --cache-file=FILE option to use a different cache file; that is
2376 # what configure does when it calls configure scripts in
2377 # subdirectories, so they share the cache.
2378 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2379 # config.status only pays attention to the cache file if you give it the
2380 # --recheck option to rerun configure.
2383 # The following way of writing the cache mishandles newlines in values,
2384 # but we know of no workaround that is simple, portable, and efficient.
2385 # So, don't put newlines in cache variables' values.
2386 # Ultrix sh set writes to stderr and can't be redirected directly,
2387 # and sets the high bit in the cache file unless we assign to the vars.
2388 (set) 2>&1 |
2389 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2390 *ac_space=\ *)
2391 # `set' does not quote correctly, so add quotes (double-quote substitution
2392 # turns \\\\ into \\, and sed turns \\ into \).
2393 sed -n \
2394 -e "s/'/'\\\\''/g" \
2395 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2398 # `set' quotes correctly as required by POSIX, so do not add quotes.
2399 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2401 esac >> confcache
2402 if cmp -s $cache_file confcache; then
2404 else
2405 if test -w $cache_file; then
2406 echo "updating cache $cache_file"
2407 cat confcache > $cache_file
2408 else
2409 echo "not updating unwritable cache $cache_file"
2412 rm -f confcache
2415 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2416 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2417 MAGIC="$MAGIC" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2418 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2419 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2420 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2421 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2422 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2423 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2424 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2426 # Reload cache, that may have been modified by ltconfig
2427 if test -r "$cache_file"; then
2428 echo "loading cache $cache_file"
2429 . $cache_file
2430 else
2431 echo "creating cache $cache_file"
2432 > $cache_file
2436 # This can be used to rebuild libtool when needed
2437 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2439 # Always use our own libtool.
2440 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2442 # Redirect the config.log output again, so that the ltconfig log is not
2443 # clobbered by the next message.
2444 exec 5>>./config.log
2449 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2450 lt_save_CC="$CC"
2451 lt_save_CFLAGS="$CFLAGS"
2452 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2453 MAGIC="$MAGIC" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2454 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2455 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2456 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2457 deplibs_check_method="$deplibs_check_method" \
2458 file_magic_cmd="$file_magic_cmd" \
2459 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2460 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2461 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2462 CC="$lt_save_CC"
2463 CFLAGS="$lt_save_CFLAGS"
2465 # Redirect the config.log output again, so that the ltconfig log is not
2466 # clobbered by the next message.
2467 exec 5>>./config.log
2474 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2475 echo "configure:2476: checking for GNU make" >&5
2476 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2477 echo $ac_n "(cached) $ac_c" 1>&6
2478 else
2479 _cv_gnu_make_command='' ;
2480 for a in "${MAKE:-make}" make gmake gnumake ; do
2481 if ( $a --version 2> /dev/null | grep -q GNU ) ; then
2482 _cv_gnu_make_command=$a ;
2483 break;
2485 done ;
2489 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2490 if test "x$_cv_gnu_make_command" != "x" ; then
2491 ifGNUmake='' ;
2492 else
2493 ifGNUmake='#' ;
2497 if test "x$_cv_gnu_make_command" = "x"; then
2498 { echo "configure: error: GNU make not found. Please install it or correct your path." 1>&2; exit 1; }
2504 # Check for c++ or library specific bits that don't require linking.
2505 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2506 echo "configure:2507: checking how to run the C preprocessor" >&5
2507 # On Suns, sometimes $CPP names a directory.
2508 if test -n "$CPP" && test -d "$CPP"; then
2509 CPP=
2511 if test -z "$CPP"; then
2512 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2513 echo $ac_n "(cached) $ac_c" 1>&6
2514 else
2515 # This must be in double quotes, not single quotes, because CPP may get
2516 # substituted into the Makefile and "${CC-cc}" will confuse make.
2517 CPP="${CC-cc} -E"
2518 # On the NeXT, cc -E runs the code through the compiler's parser,
2519 # not just through cpp.
2520 cat > conftest.$ac_ext <<EOF
2521 #line 2522 "configure"
2522 #include "confdefs.h"
2523 #include <assert.h>
2524 Syntax Error
2526 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2527 { (eval echo configure:2528: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2528 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2529 if test -z "$ac_err"; then
2531 else
2532 echo "$ac_err" >&5
2533 echo "configure: failed program was:" >&5
2534 cat conftest.$ac_ext >&5
2535 rm -rf conftest*
2536 CPP="${CC-cc} -E -traditional-cpp"
2537 cat > conftest.$ac_ext <<EOF
2538 #line 2539 "configure"
2539 #include "confdefs.h"
2540 #include <assert.h>
2541 Syntax Error
2543 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2544 { (eval echo configure:2545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2545 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2546 if test -z "$ac_err"; then
2548 else
2549 echo "$ac_err" >&5
2550 echo "configure: failed program was:" >&5
2551 cat conftest.$ac_ext >&5
2552 rm -rf conftest*
2553 CPP="${CC-cc} -nologo -E"
2554 cat > conftest.$ac_ext <<EOF
2555 #line 2556 "configure"
2556 #include "confdefs.h"
2557 #include <assert.h>
2558 Syntax Error
2560 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2561 { (eval echo configure:2562: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2562 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2563 if test -z "$ac_err"; then
2565 else
2566 echo "$ac_err" >&5
2567 echo "configure: failed program was:" >&5
2568 cat conftest.$ac_ext >&5
2569 rm -rf conftest*
2570 CPP=/lib/cpp
2572 rm -f conftest*
2574 rm -f conftest*
2576 rm -f conftest*
2577 ac_cv_prog_CPP="$CPP"
2579 CPP="$ac_cv_prog_CPP"
2580 else
2581 ac_cv_prog_CPP="$CPP"
2583 echo "$ac_t""$CPP" 1>&6
2586 # Sanity check that g++ is capable of dealing with v-3.
2587 echo $ac_n "checking for g++ that will successfully compile this code""... $ac_c" 1>&6
2588 echo "configure:2589: checking for g++ that will successfully compile this code" >&5
2589 cat > conftest.$ac_ext <<EOF
2590 #line 2591 "configure"
2591 #include "confdefs.h"
2593 #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
2595 #endif
2598 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2599 egrep "ok" >/dev/null 2>&1; then
2600 rm -rf conftest*
2601 gpp_satisfactory=yes
2602 else
2603 rm -rf conftest*
2604 { echo "configure: error: "please upgrade to gcc-2.95 or above"" 1>&2; exit 1; }
2606 rm -f conftest*
2608 echo "$ac_t""$gpp_satisfactory" 1>&6
2611 echo $ac_n "checking for cpu primitives directory""... $ac_c" 1>&6
2612 echo "configure:2613: checking for cpu primitives directory" >&5
2613 CPU_FLAGS=
2614 case "${target_cpu}" in
2615 alpha*)
2616 cpu_include_dir="config/cpu/alpha"
2618 arm*)
2619 cpu_include_dir="config/cpu/arm"
2621 i386)
2622 cpu_include_dir="config/cpu/i386"
2624 i486 | i586 | i686 | i786)
2625 cpu_include_dir="config/cpu/i486"
2627 powerpc | rs6000)
2628 cpu_include_dir="config/cpu/powerpc"
2629 CPU_FLAGS='-mcpu=powerpc'
2631 sparc64 | ultrasparc)
2632 cpu_include_dir="config/cpu/sparc/sparc64"
2634 sparc*)
2635 cpu_include_dir="config/cpu/sparc/sparc32"
2638 cpu_include_dir="config/cpu/generic"
2640 esac
2641 echo "$ac_t""$cpu_include_dir" 1>&6
2646 cat > confcache <<\EOF
2647 # This file is a shell script that caches the results of configure
2648 # tests run on this system so they can be shared between configure
2649 # scripts and configure runs. It is not useful on other systems.
2650 # If it contains results you don't want to keep, you may remove or edit it.
2652 # By default, configure uses ./config.cache as the cache file,
2653 # creating it if it does not exist already. You can give configure
2654 # the --cache-file=FILE option to use a different cache file; that is
2655 # what configure does when it calls configure scripts in
2656 # subdirectories, so they share the cache.
2657 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2658 # config.status only pays attention to the cache file if you give it the
2659 # --recheck option to rerun configure.
2662 # The following way of writing the cache mishandles newlines in values,
2663 # but we know of no workaround that is simple, portable, and efficient.
2664 # So, don't put newlines in cache variables' values.
2665 # Ultrix sh set writes to stderr and can't be redirected directly,
2666 # and sets the high bit in the cache file unless we assign to the vars.
2667 (set) 2>&1 |
2668 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2669 *ac_space=\ *)
2670 # `set' does not quote correctly, so add quotes (double-quote substitution
2671 # turns \\\\ into \\, and sed turns \\ into \).
2672 sed -n \
2673 -e "s/'/'\\\\''/g" \
2674 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2677 # `set' quotes correctly as required by POSIX, so do not add quotes.
2678 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2680 esac >> confcache
2681 if cmp -s $cache_file confcache; then
2683 else
2684 if test -w $cache_file; then
2685 echo "updating cache $cache_file"
2686 cat confcache > $cache_file
2687 else
2688 echo "not updating unwritable cache $cache_file"
2691 rm -f confcache
2694 # Enable all the crazy c++ stuff.
2695 # Check whether --enable-debug or --disable-debug was given.
2696 if test "${enable_debug+set}" = set; then
2697 enableval="$enable_debug"
2698 case "${enableval}" in
2699 yes) enable_debug=yes ;;
2700 no) enable_debug=no ;;
2701 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2702 esac
2703 else
2704 enable_debug=no
2707 case "${enable_debug}" in
2708 yes)
2709 DEBUG_FLAGS='-O0 -ggdb'
2711 no)
2712 DEBUG_FLAGS='-g'
2714 esac
2718 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2719 echo "configure:2720: checking for cstdio to use" >&5
2720 # Check whether --enable-cstdio or --disable-cstdio was given.
2721 if test "${enable_cstdio+set}" = set; then
2722 enableval="$enable_cstdio"
2723 if test x$enable_cstdio = xno; then
2724 enable_cstdio=libio
2726 else
2727 enable_cstdio=libio
2731 enable_cstdio_flag=$enable_cstdio
2733 case x${enable_cstdio_flag} in
2734 xlibio | x | xno | xnone | xyes)
2735 # default
2736 CSTDIO_H=config/c_io_libio.h
2737 CSTDIO_CC=config/c_io_libio.cc
2738 echo "$ac_t""libio" 1>&6
2740 # see if we are on a system with libio native (ie, linux)
2741 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2742 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2743 echo "configure:2744: checking for libio.h" >&5
2744 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2745 echo $ac_n "(cached) $ac_c" 1>&6
2746 else
2747 cat > conftest.$ac_ext <<EOF
2748 #line 2749 "configure"
2749 #include "confdefs.h"
2750 #include <libio.h>
2752 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2753 { (eval echo configure:2754: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2754 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2755 if test -z "$ac_err"; then
2756 rm -rf conftest*
2757 eval "ac_cv_header_$ac_safe=yes"
2758 else
2759 echo "$ac_err" >&5
2760 echo "configure: failed program was:" >&5
2761 cat conftest.$ac_ext >&5
2762 rm -rf conftest*
2763 eval "ac_cv_header_$ac_safe=no"
2765 rm -f conftest*
2767 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2768 echo "$ac_t""yes" 1>&6
2769 has_libio=yes
2770 else
2771 echo "$ac_t""no" 1>&6
2772 has_libio=no
2776 # Need to check and see what version of glibc is being used. If
2777 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2778 # compile most of libio for linux systems.
2779 if test x$has_libio = x"yes"; then
2780 case "$target" in
2781 *-*-linux*)
2782 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2783 echo "configure:2784: checking for glibc version >= 2.2" >&5
2784 cat > conftest.$ac_ext <<EOF
2785 #line 2786 "configure"
2786 #include "confdefs.h"
2788 #include <features.h>
2789 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2791 #endif
2794 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2795 egrep "ok" >/dev/null 2>&1; then
2796 rm -rf conftest*
2797 glibc_satisfactory=yes
2798 else
2799 rm -rf conftest*
2800 glibc_satisfactory=no
2802 rm -f conftest*
2804 echo "$ac_t""$glibc_satisfactory" 1>&6
2806 esac
2808 if test x$glibc_satisfactory = x"yes"; then
2809 need_libio=no
2810 need_xtra_libio=no
2811 need_wlibio=no
2812 else
2813 need_libio=yes
2814 need_xtra_libio=yes
2815 # bkoz XXX need to add checks to enable this
2816 need_wlibio=yes
2819 # Using libio, but <libio.h> doesn't exist on the target system. . .
2820 else
2821 need_libio=yes
2822 need_xtra_libio=no
2823 # bkoz XXX need to add checks to enable this
2824 need_wlibio=no
2828 xwince)
2829 CSTDIO_H=config/c_io_wince.h
2830 CSTDIO_CC=config/c_io_wince.cc
2831 echo "$ac_t""wince" 1>&6
2833 need_libio=no
2836 echo "$enable_cstdio is an unknown io package" 1>&2
2837 exit 1
2839 esac
2843 # 2000-08-04 bkoz hack
2844 CCODECVT_C=config/c_io_libio_codecvt.c
2846 # 2000-08-04 bkoz hack
2850 if test "$need_libio" = yes; then
2851 GLIBCPP_NEED_LIBIO_TRUE=
2852 GLIBCPP_NEED_LIBIO_FALSE='#'
2853 else
2854 GLIBCPP_NEED_LIBIO_TRUE='#'
2855 GLIBCPP_NEED_LIBIO_FALSE=
2859 if test "$need_xtra_libio" = yes; then
2860 GLIBCPP_NEED_XTRA_LIBIO_TRUE=
2861 GLIBCPP_NEED_XTRA_LIBIO_FALSE='#'
2862 else
2863 GLIBCPP_NEED_XTRA_LIBIO_TRUE='#'
2864 GLIBCPP_NEED_XTRA_LIBIO_FALSE=
2868 if test "$need_wlibio" = yes; then
2869 GLIBCPP_NEED_WLIBIO_TRUE=
2870 GLIBCPP_NEED_WLIBIO_FALSE='#'
2871 else
2872 GLIBCPP_NEED_WLIBIO_TRUE='#'
2873 GLIBCPP_NEED_WLIBIO_FALSE=
2877 # Check whether --enable-long-long or --disable-long-long was given.
2878 if test "${enable_long_long+set}" = set; then
2879 enableval="$enable_long_long"
2880 case "$enableval" in
2881 yes) enable_long_long=yes ;;
2882 no) enable_long_long=no ;;
2883 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
2884 esac
2885 else
2886 enable_long_long=yes
2889 # Check for the existance of functions used if long long is enabled.
2890 echo $ac_n "checking for strtoll""... $ac_c" 1>&6
2891 echo "configure:2892: checking for strtoll" >&5
2892 if eval "test \"`echo '$''{'ac_cv_func_strtoll'+set}'`\" = set"; then
2893 echo $ac_n "(cached) $ac_c" 1>&6
2894 else
2895 cat > conftest.$ac_ext <<EOF
2896 #line 2897 "configure"
2897 #include "confdefs.h"
2898 /* System header to define __stub macros and hopefully few prototypes,
2899 which can conflict with char strtoll(); below. */
2900 #include <assert.h>
2901 /* Override any gcc2 internal prototype to avoid an error. */
2902 /* We use char because int might match the return type of a gcc2
2903 builtin and then its argument prototype would still apply. */
2904 char strtoll();
2906 int main() {
2908 /* The GNU C library defines this for functions which it implements
2909 to always fail with ENOSYS. Some functions are actually named
2910 something starting with __ and the normal name is an alias. */
2911 #if defined (__stub_strtoll) || defined (__stub___strtoll)
2912 choke me
2913 #else
2914 strtoll();
2915 #endif
2917 ; return 0; }
2919 if { (eval echo configure:2920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2920 rm -rf conftest*
2921 eval "ac_cv_func_strtoll=yes"
2922 else
2923 echo "configure: failed program was:" >&5
2924 cat conftest.$ac_ext >&5
2925 rm -rf conftest*
2926 eval "ac_cv_func_strtoll=no"
2928 rm -f conftest*
2931 if eval "test \"`echo '$ac_cv_func_'strtoll`\" = yes"; then
2932 echo "$ac_t""yes" 1>&6
2934 else
2935 echo "$ac_t""no" 1>&6
2936 ac_strtoll=no
2939 echo $ac_n "checking for strtoull""... $ac_c" 1>&6
2940 echo "configure:2941: checking for strtoull" >&5
2941 if eval "test \"`echo '$''{'ac_cv_func_strtoull'+set}'`\" = set"; then
2942 echo $ac_n "(cached) $ac_c" 1>&6
2943 else
2944 cat > conftest.$ac_ext <<EOF
2945 #line 2946 "configure"
2946 #include "confdefs.h"
2947 /* System header to define __stub macros and hopefully few prototypes,
2948 which can conflict with char strtoull(); below. */
2949 #include <assert.h>
2950 /* Override any gcc2 internal prototype to avoid an error. */
2951 /* We use char because int might match the return type of a gcc2
2952 builtin and then its argument prototype would still apply. */
2953 char strtoull();
2955 int main() {
2957 /* The GNU C library defines this for functions which it implements
2958 to always fail with ENOSYS. Some functions are actually named
2959 something starting with __ and the normal name is an alias. */
2960 #if defined (__stub_strtoull) || defined (__stub___strtoull)
2961 choke me
2962 #else
2963 strtoull();
2964 #endif
2966 ; return 0; }
2968 if { (eval echo configure:2969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2969 rm -rf conftest*
2970 eval "ac_cv_func_strtoull=yes"
2971 else
2972 echo "configure: failed program was:" >&5
2973 cat conftest.$ac_ext >&5
2974 rm -rf conftest*
2975 eval "ac_cv_func_strtoull=no"
2977 rm -f conftest*
2980 if eval "test \"`echo '$ac_cv_func_'strtoull`\" = yes"; then
2981 echo "$ac_t""yes" 1>&6
2983 else
2984 echo "$ac_t""no" 1>&6
2985 ac_strtoull=no
2989 echo $ac_n "checking for enabled long long""... $ac_c" 1>&6
2990 echo "configure:2991: checking for enabled long long" >&5
2991 if test x"$ac_strtoll" = xno || test x"$ac_strtoull" = xno; then
2992 enable_long_long=no;
2993 fi;
2994 echo "$ac_t""$enable_long_long" 1>&6
2996 case "$enable_long_long" in
2997 yes) cat >> confdefs.h <<\EOF
2998 #define _GLIBCPP_USE_LONG_LONG 1
3002 esac
3004 echo $ac_n "checking for enabled cshadow headers""... $ac_c" 1>&6
3005 echo "configure:3006: checking for enabled cshadow headers" >&5
3006 # Check whether --enable-cshadow-headers or --disable-cshadow-headers was given.
3007 if test "${enable_cshadow_headers+set}" = set; then
3008 enableval="$enable_cshadow_headers"
3010 case "$enableval" in
3011 yes) enable_cshadow_headers=yes
3013 no) enable_cshadow_headers=no
3015 *) { echo "configure: error: Unknown argument to enable/disable shadowed C headers" 1>&2; exit 1; }
3017 esac
3018 else
3019 enable_cshadow_headers=no
3022 echo "$ac_t""$enable_cshadow_headers" 1>&6
3024 case "$enable_cshadow_headers" in
3025 yes)
3026 CSHADOWFLAGS=""
3028 no)
3029 CSHADOWFLAGS=""
3031 esac
3036 if test "$enable_cshadow_headers" = yes; then
3037 GLIBCPP_USE_CSHADOW_TRUE=
3038 GLIBCPP_USE_CSHADOW_FALSE='#'
3039 else
3040 GLIBCPP_USE_CSHADOW_TRUE='#'
3041 GLIBCPP_USE_CSHADOW_FALSE=
3045 echo $ac_n "checking for threads package to use""... $ac_c" 1>&6
3046 echo "configure:3047: checking for threads package to use" >&5
3047 # Check whether --enable-threads or --disable-threads was given.
3048 if test "${enable_threads+set}" = set; then
3049 enableval="$enable_threads"
3050 if test x$enable_threads = xno; then
3051 enable_threads=''
3053 else
3054 enable_threads=''
3058 enable_threads_flag=$enable_threads
3060 case x${enable_threads_flag} in
3061 x | xno | xnone)
3062 # No threads
3063 target_thread_file='single'
3065 xyes)
3066 # default
3067 target_thread_file=''
3069 xdecosf1 | xirix | xmach | xos2 | xposix | xpthreads | xsingle | \
3070 xsolaris | xwin32 | xdce | xvxworks)
3071 target_thread_file=$enable_threads_flag
3074 echo "$enable_threads is an unknown thread package" 1>&2
3075 exit 1
3077 esac
3079 case "$target_thread_file" in
3080 no | none | single)
3081 THREADS=none
3083 posix | pthreads)
3084 THREADS=posix
3085 case "$target" in
3086 *-*-linux*)
3088 esac
3090 decosf1 | irix | mach | os2 | solaris | win32 | dce | vxworks)
3091 { echo "configure: error: thread package $THREADS not yet supported" 1>&2; exit 1; }
3094 { echo "configure: error: $THREADS is an unknown thread package" 1>&2; exit 1; }
3096 esac
3097 echo "$ac_t""$THREADS" 1>&6
3099 THREADLIBS=
3100 THREADINCS=
3101 THREADDEPS=
3102 THREADOBJS=
3103 THREADH=
3104 THREADSPEC=
3105 case "$THREADS" in
3106 posix)
3107 ac_safe=`echo "pthread.h" | sed 'y%./+-%__p_%'`
3108 echo $ac_n "checking for pthread.h""... $ac_c" 1>&6
3109 echo "configure:3110: checking for pthread.h" >&5
3110 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3111 echo $ac_n "(cached) $ac_c" 1>&6
3112 else
3113 cat > conftest.$ac_ext <<EOF
3114 #line 3115 "configure"
3115 #include "confdefs.h"
3116 #include <pthread.h>
3118 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3119 { (eval echo configure:3120: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3120 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3121 if test -z "$ac_err"; then
3122 rm -rf conftest*
3123 eval "ac_cv_header_$ac_safe=yes"
3124 else
3125 echo "$ac_err" >&5
3126 echo "configure: failed program was:" >&5
3127 cat conftest.$ac_ext >&5
3128 rm -rf conftest*
3129 eval "ac_cv_header_$ac_safe=no"
3131 rm -f conftest*
3133 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3134 echo "$ac_t""yes" 1>&6
3135 have_pthread_h=yes
3136 else
3137 echo "$ac_t""no" 1>&6
3138 have_pthread_h=
3141 THREADLIBS=-lpthread
3142 THREADSPEC=-lpthread
3143 THREADH=threads-posix.h
3145 none)
3146 THREADH=threads-no.h
3148 esac
3156 #GLIBCPP_ENABLE_RELIBGCC([../..])
3157 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3158 if test "${enable_cxx_flags+set}" = set; then
3159 enableval="$enable_cxx_flags"
3160 case "x$enableval" in
3161 xyes)
3162 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3163 xno|x)
3164 enable_cxx_flags='' ;;
3166 enable_cxx_flags="$enableval" ;;
3167 esac
3168 else
3169 enable_cxx_flags='none'
3173 if test "$enable_cxx_flags" = "none"; then
3174 enable_cxx_flags='';
3177 if test -n "$enable_cxx_flags"; then
3178 for f in $enable_cxx_flags; do
3179 case "$f" in
3180 -fhonor-std) ;;
3181 -*) ;;
3182 *) # and we're trying to pass /what/ exactly?
3183 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3184 esac
3185 done
3187 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3192 if test -n "$with_cross_host"; then
3194 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
3195 # may not work correctly, because the compiler may not be able to
3196 # link executables.
3198 xcompiling=1
3199 NATIVE=no
3200 # If Canadian cross, then don't pick up tools from the build
3201 # directory.
3202 if test "$build" != "$with_cross_host"; then
3203 CANADIAN=yes
3204 NULL_TARGET=yes
3205 else
3206 CANADIAN=no
3207 NULL_TARGET=no
3210 case "$target_alias" in
3211 *-wince-*)
3212 # Configure for Microsoft Windows CE, or whatever they are
3213 # currently calling it.
3214 cat >> confdefs.h <<\EOF
3215 #define HAVE_FLOAT_H 1
3219 cat >> confdefs.h <<\EOF
3220 #define HAVE__FINITE 1
3223 cat >> confdefs.h <<\EOF
3224 #define HAVE__ISNAN 1
3227 cat >> confdefs.h <<\EOF
3228 #define HAVE__COPYSIGN 1
3231 cat >> confdefs.h <<\EOF
3232 #define HAVE__FPCLASS 1
3235 cat >> confdefs.h <<\EOF
3236 #define HAVE_MODF 1
3240 ctype_include_dir="config/wince"
3243 cat >> confdefs.h <<\EOF
3244 #define _GLIBCPP_NEED_MBSTATE_T 1
3248 cat >> confdefs.h <<\EOF
3249 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
3252 cat >> confdefs.h <<\EOF
3253 #define _GLIBCPP_BUGGY_COMPLEX 1
3258 # We assume newlib. This lets us hard-code the functions we know
3259 # we'll have.
3260 cat >> confdefs.h <<\EOF
3261 #define HAVE_FINITE 1
3264 cat >> confdefs.h <<\EOF
3265 #define HAVE_ISNAN 1
3268 cat >> confdefs.h <<\EOF
3269 #define HAVE_ISNANF 1
3272 cat >> confdefs.h <<\EOF
3273 #define HAVE_ISINF 1
3276 cat >> confdefs.h <<\EOF
3277 #define HAVE_ISINFF 1
3281 ctype_include_dir="config/newlib"
3284 cat >> confdefs.h <<\EOF
3285 #define _GLIBCPP_NEED_MBSTATE_T 1
3289 cat >> confdefs.h <<\EOF
3290 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
3293 cat >> confdefs.h <<\EOF
3294 #define _GLIBCPP_BUGGY_COMPLEX 1
3297 # need to ceck for faster f versions of math functions, ie sinf?
3299 esac
3300 else
3302 # We are being configured natively. We can do more elaborate tests
3303 # that include AC_TRY_COMPILE now, as the linker is assumed to be
3304 # working.
3306 xcompiling=0
3307 NATIVE=yes
3308 CANADIAN=no
3309 NULL_TARGET=no
3311 # Check for available headers.
3312 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
3313 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h
3315 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3316 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3317 echo "configure:3318: checking for $ac_hdr" >&5
3318 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3319 echo $ac_n "(cached) $ac_c" 1>&6
3320 else
3321 cat > conftest.$ac_ext <<EOF
3322 #line 3323 "configure"
3323 #include "confdefs.h"
3324 #include <$ac_hdr>
3326 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3327 { (eval echo configure:3328: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3328 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3329 if test -z "$ac_err"; then
3330 rm -rf conftest*
3331 eval "ac_cv_header_$ac_safe=yes"
3332 else
3333 echo "$ac_err" >&5
3334 echo "configure: failed program was:" >&5
3335 cat conftest.$ac_ext >&5
3336 rm -rf conftest*
3337 eval "ac_cv_header_$ac_safe=no"
3339 rm -f conftest*
3341 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3342 echo "$ac_t""yes" 1>&6
3343 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3344 cat >> confdefs.h <<EOF
3345 #define $ac_tr_hdr 1
3348 else
3349 echo "$ac_t""no" 1>&6
3351 done
3355 # All these tests are for C++; save the language and the compiler flags.
3356 # The CXXFLAGS thing is suspicious, but based on similar bits
3357 # found in GLIBCPP_CONFIGURE.
3359 ac_ext=C
3360 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3361 ac_cpp='$CXXCPP $CPPFLAGS'
3362 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3363 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3364 cross_compiling=$ac_cv_prog_cxx_cross
3366 ac_test_CXXFLAGS="${CXXFLAGS+set}"
3367 ac_save_CXXFLAGS="$CXXFLAGS"
3368 WERROR='-Werror'
3370 # Check for pragma system_header.
3371 echo $ac_n "checking for g++ that supports pragma system_header""... $ac_c" 1>&6
3372 echo "configure:3373: checking for g++ that supports pragma system_header" >&5
3373 CXXFLAGS='-Wunknown-pragmas -Werror'
3374 cat > conftest.$ac_ext <<EOF
3375 #line 3376 "configure"
3376 #include "confdefs.h"
3377 #pragma GCC system_header
3378 int main() {
3379 int foo;
3381 ; return 0; }
3383 if { (eval echo configure:3384: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3384 rm -rf conftest*
3385 ac_newpragma=yes
3386 else
3387 echo "configure: failed program was:" >&5
3388 cat conftest.$ac_ext >&5
3389 rm -rf conftest*
3390 ac_newpragma=no
3392 rm -f conftest*
3393 if test "$ac_test_CXXFLAGS" = set; then
3394 CXXFLAGS="$ac_save_CXXFLAGS"
3395 else
3396 # this is the suspicious part
3397 CXXFLAGS=''
3399 if test "$ac_newpragma" = "no"; then
3400 WERROR="$WERROR -Wno-unknown-pragmas"
3402 echo "$ac_t""$ac_newpragma" 1>&6
3404 # Check for more sophisticated diagnostic control.
3405 echo $ac_n "checking for g++ that supports -fdiagnostics-show-location=once""... $ac_c" 1>&6
3406 echo "configure:3407: checking for g++ that supports -fdiagnostics-show-location=once" >&5
3407 CXXFLAGS='-fdiagnostics-show-location=once'
3408 cat > conftest.$ac_ext <<EOF
3409 #line 3410 "configure"
3410 #include "confdefs.h"
3412 int main() {
3413 int foo;
3415 ; return 0; }
3417 if { (eval echo configure:3418: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3418 rm -rf conftest*
3419 ac_gabydiags=yes
3420 else
3421 echo "configure: failed program was:" >&5
3422 cat conftest.$ac_ext >&5
3423 rm -rf conftest*
3424 ac_gabydiags=no
3426 rm -f conftest*
3427 if test "$ac_test_CXXFLAGS" = set; then
3428 CXXFLAGS="$ac_save_CXXFLAGS"
3429 else
3430 # this is the suspicious part
3431 CXXFLAGS=''
3433 if test "$ac_gabydiags" = "yes"; then
3434 WFMT_FLAGS='-fdiagnostics-show-location=once'
3436 echo "$ac_t""$ac_gabydiags" 1>&6
3438 # Check for -ffunction-sections -fdata-sections
3439 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
3440 echo "configure:3441: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
3441 CXXFLAGS='-ffunction-sections -fdata-sections'
3442 cat > conftest.$ac_ext <<EOF
3443 #line 3444 "configure"
3444 #include "confdefs.h"
3446 int main() {
3447 int foo;
3449 ; return 0; }
3451 if { (eval echo configure:3452: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3452 rm -rf conftest*
3453 ac_fdsections=yes
3454 else
3455 echo "configure: failed program was:" >&5
3456 cat conftest.$ac_ext >&5
3457 rm -rf conftest*
3458 ac_fdsections=no
3460 rm -f conftest*
3461 if test "$ac_test_CXXFLAGS" = set; then
3462 CXXFLAGS="$ac_save_CXXFLAGS"
3463 else
3464 # this is the suspicious part
3465 CXXFLAGS=''
3467 if test "$ac_fdsections" = "yes"; then
3468 SECTION_FLAGS='-ffunction-sections -fdata-sections'
3470 echo "$ac_t""$ac_fdsections" 1>&6
3472 ac_ext=c
3473 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3474 ac_cpp='$CPP $CPPFLAGS'
3475 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3476 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3477 cross_compiling=$ac_cv_prog_cc_cross
3484 # If we're not using GNU ld, then there's no point in even trying these
3485 # tests. Check for that first. We should have already tested for gld
3486 # by now (in libtool), but require it now just to be safe...
3488 if test "$ac_cv_prog_gnu_ld" = "no"; then
3489 SECTION_LDFLAGS=''
3490 OPT_LDFLAGS=''
3492 else # GNU ld it is! Joy and bunny rabbits!
3494 # All these tests are for C++; save the language and the compiler flags.
3495 # Need to do this so that g++ won't try to link in libstdc++
3496 ac_test_CFLAGS="${CFLAGS+set}"
3497 ac_save_CFLAGS="$CFLAGS"
3498 CFLAGS='-x c++ -Wl,--gc-sections'
3500 # Check for -Wl,--gc-sections
3501 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
3502 echo "configure:3503: checking for ld that supports -Wl,--gc-sections" >&5
3503 if test "$cross_compiling" = yes; then
3504 ac_sectionLDflags=yes
3505 else
3506 cat > conftest.$ac_ext <<EOF
3507 #line 3508 "configure"
3508 #include "confdefs.h"
3510 int main(void)
3512 try { throw 1; }
3513 catch (...) { };
3514 return 0;
3518 if { (eval echo configure:3519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3519 then
3520 ac_sectionLDflags=yes
3521 else
3522 echo "configure: failed program was:" >&5
3523 cat conftest.$ac_ext >&5
3524 rm -fr conftest*
3525 ac_sectionLFflags=no
3527 rm -fr conftest*
3530 if test "$ac_test_CFLAGS" = set; then
3531 CFLAGS="$ac_save_CFLAGS"
3532 else
3533 # this is the suspicious part
3534 CFLAGS=''
3536 if test "$ac_sectionLDflags" = "yes"; then
3537 SECTION_LDFLAGS='-Wl,--gc-sections'
3539 echo "$ac_t""$ac_sectionLDflags" 1>&6
3540 OPT_LDFLAGS='-Wl,-O1'
3548 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
3549 echo "configure:3550: checking for __builtin_abs declaration" >&5
3550 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
3551 echo $ac_n "(cached) $ac_c" 1>&6
3552 else
3555 ac_ext=C
3556 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3557 ac_cpp='$CXXCPP $CPPFLAGS'
3558 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3559 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3560 cross_compiling=$ac_cv_prog_cxx_cross
3562 cat > conftest.$ac_ext <<EOF
3563 #line 3564 "configure"
3564 #include "confdefs.h"
3565 #include <math.h>
3566 int main() {
3567 __builtin_abs(0);
3568 ; return 0; }
3570 if { (eval echo configure:3571: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3571 rm -rf conftest*
3572 glibcpp_cv_func___builtin_abs_use=yes
3573 else
3574 echo "configure: failed program was:" >&5
3575 cat conftest.$ac_ext >&5
3576 rm -rf conftest*
3577 glibcpp_cv_func___builtin_abs_use=no
3579 rm -f conftest*
3580 ac_ext=c
3581 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3582 ac_cpp='$CPP $CPPFLAGS'
3583 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3584 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3585 cross_compiling=$ac_cv_prog_cc_cross
3590 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
3591 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
3592 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
3593 echo "configure:3594: checking for __builtin_abs linkage" >&5
3594 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
3595 echo $ac_n "(cached) $ac_c" 1>&6
3596 else
3598 cat > conftest.$ac_ext <<EOF
3599 #line 3600 "configure"
3600 #include "confdefs.h"
3601 #include <math.h>
3602 int main() {
3603 __builtin_abs(0);
3604 ; return 0; }
3606 if { (eval echo configure:3607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3607 rm -rf conftest*
3608 glibcpp_cv_func___builtin_abs_link=yes
3609 else
3610 echo "configure: failed program was:" >&5
3611 cat conftest.$ac_ext >&5
3612 rm -rf conftest*
3613 glibcpp_cv_func___builtin_abs_link=no
3615 rm -f conftest*
3619 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
3620 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
3621 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3622 cat >> confdefs.h <<EOF
3623 #define ${ac_tr_func} 1
3630 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
3631 echo "configure:3632: checking for __builtin_fabsf declaration" >&5
3632 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
3633 echo $ac_n "(cached) $ac_c" 1>&6
3634 else
3637 ac_ext=C
3638 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3639 ac_cpp='$CXXCPP $CPPFLAGS'
3640 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3641 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3642 cross_compiling=$ac_cv_prog_cxx_cross
3644 cat > conftest.$ac_ext <<EOF
3645 #line 3646 "configure"
3646 #include "confdefs.h"
3647 #include <math.h>
3648 int main() {
3649 __builtin_fabsf(0);
3650 ; return 0; }
3652 if { (eval echo configure:3653: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3653 rm -rf conftest*
3654 glibcpp_cv_func___builtin_fabsf_use=yes
3655 else
3656 echo "configure: failed program was:" >&5
3657 cat conftest.$ac_ext >&5
3658 rm -rf conftest*
3659 glibcpp_cv_func___builtin_fabsf_use=no
3661 rm -f conftest*
3662 ac_ext=c
3663 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3664 ac_cpp='$CPP $CPPFLAGS'
3665 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3666 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3667 cross_compiling=$ac_cv_prog_cc_cross
3672 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
3673 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
3674 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
3675 echo "configure:3676: checking for __builtin_fabsf linkage" >&5
3676 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
3677 echo $ac_n "(cached) $ac_c" 1>&6
3678 else
3680 cat > conftest.$ac_ext <<EOF
3681 #line 3682 "configure"
3682 #include "confdefs.h"
3683 #include <math.h>
3684 int main() {
3685 __builtin_fabsf(0);
3686 ; return 0; }
3688 if { (eval echo configure:3689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3689 rm -rf conftest*
3690 glibcpp_cv_func___builtin_fabsf_link=yes
3691 else
3692 echo "configure: failed program was:" >&5
3693 cat conftest.$ac_ext >&5
3694 rm -rf conftest*
3695 glibcpp_cv_func___builtin_fabsf_link=no
3697 rm -f conftest*
3701 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
3702 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
3703 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3704 cat >> confdefs.h <<EOF
3705 #define ${ac_tr_func} 1
3712 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
3713 echo "configure:3714: checking for __builtin_fabs declaration" >&5
3714 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
3715 echo $ac_n "(cached) $ac_c" 1>&6
3716 else
3719 ac_ext=C
3720 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3721 ac_cpp='$CXXCPP $CPPFLAGS'
3722 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3723 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3724 cross_compiling=$ac_cv_prog_cxx_cross
3726 cat > conftest.$ac_ext <<EOF
3727 #line 3728 "configure"
3728 #include "confdefs.h"
3729 #include <math.h>
3730 int main() {
3731 __builtin_fabs(0);
3732 ; return 0; }
3734 if { (eval echo configure:3735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3735 rm -rf conftest*
3736 glibcpp_cv_func___builtin_fabs_use=yes
3737 else
3738 echo "configure: failed program was:" >&5
3739 cat conftest.$ac_ext >&5
3740 rm -rf conftest*
3741 glibcpp_cv_func___builtin_fabs_use=no
3743 rm -f conftest*
3744 ac_ext=c
3745 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3746 ac_cpp='$CPP $CPPFLAGS'
3747 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3748 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3749 cross_compiling=$ac_cv_prog_cc_cross
3754 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
3755 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
3756 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
3757 echo "configure:3758: checking for __builtin_fabs linkage" >&5
3758 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
3759 echo $ac_n "(cached) $ac_c" 1>&6
3760 else
3762 cat > conftest.$ac_ext <<EOF
3763 #line 3764 "configure"
3764 #include "confdefs.h"
3765 #include <math.h>
3766 int main() {
3767 __builtin_fabs(0);
3768 ; return 0; }
3770 if { (eval echo configure:3771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3771 rm -rf conftest*
3772 glibcpp_cv_func___builtin_fabs_link=yes
3773 else
3774 echo "configure: failed program was:" >&5
3775 cat conftest.$ac_ext >&5
3776 rm -rf conftest*
3777 glibcpp_cv_func___builtin_fabs_link=no
3779 rm -f conftest*
3783 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
3784 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
3785 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3786 cat >> confdefs.h <<EOF
3787 #define ${ac_tr_func} 1
3794 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
3795 echo "configure:3796: checking for __builtin_fabsl declaration" >&5
3796 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
3797 echo $ac_n "(cached) $ac_c" 1>&6
3798 else
3801 ac_ext=C
3802 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3803 ac_cpp='$CXXCPP $CPPFLAGS'
3804 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3805 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3806 cross_compiling=$ac_cv_prog_cxx_cross
3808 cat > conftest.$ac_ext <<EOF
3809 #line 3810 "configure"
3810 #include "confdefs.h"
3811 #include <math.h>
3812 int main() {
3813 __builtin_fabsl(0);
3814 ; return 0; }
3816 if { (eval echo configure:3817: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3817 rm -rf conftest*
3818 glibcpp_cv_func___builtin_fabsl_use=yes
3819 else
3820 echo "configure: failed program was:" >&5
3821 cat conftest.$ac_ext >&5
3822 rm -rf conftest*
3823 glibcpp_cv_func___builtin_fabsl_use=no
3825 rm -f conftest*
3826 ac_ext=c
3827 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3828 ac_cpp='$CPP $CPPFLAGS'
3829 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3830 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3831 cross_compiling=$ac_cv_prog_cc_cross
3836 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
3837 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
3838 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
3839 echo "configure:3840: checking for __builtin_fabsl linkage" >&5
3840 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
3841 echo $ac_n "(cached) $ac_c" 1>&6
3842 else
3844 cat > conftest.$ac_ext <<EOF
3845 #line 3846 "configure"
3846 #include "confdefs.h"
3847 #include <math.h>
3848 int main() {
3849 __builtin_fabsl(0);
3850 ; return 0; }
3852 if { (eval echo configure:3853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3853 rm -rf conftest*
3854 glibcpp_cv_func___builtin_fabsl_link=yes
3855 else
3856 echo "configure: failed program was:" >&5
3857 cat conftest.$ac_ext >&5
3858 rm -rf conftest*
3859 glibcpp_cv_func___builtin_fabsl_link=no
3861 rm -f conftest*
3865 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
3866 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
3867 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3868 cat >> confdefs.h <<EOF
3869 #define ${ac_tr_func} 1
3876 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
3877 echo "configure:3878: checking for __builtin_labs declaration" >&5
3878 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
3879 echo $ac_n "(cached) $ac_c" 1>&6
3880 else
3883 ac_ext=C
3884 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3885 ac_cpp='$CXXCPP $CPPFLAGS'
3886 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3887 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3888 cross_compiling=$ac_cv_prog_cxx_cross
3890 cat > conftest.$ac_ext <<EOF
3891 #line 3892 "configure"
3892 #include "confdefs.h"
3893 #include <math.h>
3894 int main() {
3895 __builtin_labs(0);
3896 ; return 0; }
3898 if { (eval echo configure:3899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3899 rm -rf conftest*
3900 glibcpp_cv_func___builtin_labs_use=yes
3901 else
3902 echo "configure: failed program was:" >&5
3903 cat conftest.$ac_ext >&5
3904 rm -rf conftest*
3905 glibcpp_cv_func___builtin_labs_use=no
3907 rm -f conftest*
3908 ac_ext=c
3909 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3910 ac_cpp='$CPP $CPPFLAGS'
3911 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3912 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3913 cross_compiling=$ac_cv_prog_cc_cross
3918 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
3919 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
3920 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
3921 echo "configure:3922: checking for __builtin_labs linkage" >&5
3922 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
3923 echo $ac_n "(cached) $ac_c" 1>&6
3924 else
3926 cat > conftest.$ac_ext <<EOF
3927 #line 3928 "configure"
3928 #include "confdefs.h"
3929 #include <math.h>
3930 int main() {
3931 __builtin_labs(0);
3932 ; return 0; }
3934 if { (eval echo configure:3935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3935 rm -rf conftest*
3936 glibcpp_cv_func___builtin_labs_link=yes
3937 else
3938 echo "configure: failed program was:" >&5
3939 cat conftest.$ac_ext >&5
3940 rm -rf conftest*
3941 glibcpp_cv_func___builtin_labs_link=no
3943 rm -f conftest*
3947 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
3948 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
3949 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3950 cat >> confdefs.h <<EOF
3951 #define ${ac_tr_func} 1
3959 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
3960 echo "configure:3961: checking for __builtin_sqrtf declaration" >&5
3961 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
3962 echo $ac_n "(cached) $ac_c" 1>&6
3963 else
3966 ac_ext=C
3967 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3968 ac_cpp='$CXXCPP $CPPFLAGS'
3969 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3970 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3971 cross_compiling=$ac_cv_prog_cxx_cross
3973 cat > conftest.$ac_ext <<EOF
3974 #line 3975 "configure"
3975 #include "confdefs.h"
3976 #include <math.h>
3977 int main() {
3978 __builtin_sqrtf(0);
3979 ; return 0; }
3981 if { (eval echo configure:3982: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3982 rm -rf conftest*
3983 glibcpp_cv_func___builtin_sqrtf_use=yes
3984 else
3985 echo "configure: failed program was:" >&5
3986 cat conftest.$ac_ext >&5
3987 rm -rf conftest*
3988 glibcpp_cv_func___builtin_sqrtf_use=no
3990 rm -f conftest*
3991 ac_ext=c
3992 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3993 ac_cpp='$CPP $CPPFLAGS'
3994 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3995 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3996 cross_compiling=$ac_cv_prog_cc_cross
4001 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
4002 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
4003 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
4004 echo "configure:4005: checking for __builtin_sqrtf linkage" >&5
4005 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
4006 echo $ac_n "(cached) $ac_c" 1>&6
4007 else
4009 cat > conftest.$ac_ext <<EOF
4010 #line 4011 "configure"
4011 #include "confdefs.h"
4012 #include <math.h>
4013 int main() {
4014 __builtin_sqrtf(0);
4015 ; return 0; }
4017 if { (eval echo configure:4018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4018 rm -rf conftest*
4019 glibcpp_cv_func___builtin_sqrtf_link=yes
4020 else
4021 echo "configure: failed program was:" >&5
4022 cat conftest.$ac_ext >&5
4023 rm -rf conftest*
4024 glibcpp_cv_func___builtin_sqrtf_link=no
4026 rm -f conftest*
4030 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
4031 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
4032 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4033 cat >> confdefs.h <<EOF
4034 #define ${ac_tr_func} 1
4041 echo $ac_n "checking for __builtin_fsqrt declaration""... $ac_c" 1>&6
4042 echo "configure:4043: checking for __builtin_fsqrt declaration" >&5
4043 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_use'+set}'`\" = set"; then
4044 echo $ac_n "(cached) $ac_c" 1>&6
4045 else
4048 ac_ext=C
4049 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4050 ac_cpp='$CXXCPP $CPPFLAGS'
4051 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4052 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4053 cross_compiling=$ac_cv_prog_cxx_cross
4055 cat > conftest.$ac_ext <<EOF
4056 #line 4057 "configure"
4057 #include "confdefs.h"
4058 #include <math.h>
4059 int main() {
4060 __builtin_fsqrt(0);
4061 ; return 0; }
4063 if { (eval echo configure:4064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4064 rm -rf conftest*
4065 glibcpp_cv_func___builtin_fsqrt_use=yes
4066 else
4067 echo "configure: failed program was:" >&5
4068 cat conftest.$ac_ext >&5
4069 rm -rf conftest*
4070 glibcpp_cv_func___builtin_fsqrt_use=no
4072 rm -f conftest*
4073 ac_ext=c
4074 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4075 ac_cpp='$CPP $CPPFLAGS'
4076 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4077 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4078 cross_compiling=$ac_cv_prog_cc_cross
4083 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_use" 1>&6
4084 if test x$glibcpp_cv_func___builtin_fsqrt_use = x"yes"; then
4085 echo $ac_n "checking for __builtin_fsqrt linkage""... $ac_c" 1>&6
4086 echo "configure:4087: checking for __builtin_fsqrt linkage" >&5
4087 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_link'+set}'`\" = set"; then
4088 echo $ac_n "(cached) $ac_c" 1>&6
4089 else
4091 cat > conftest.$ac_ext <<EOF
4092 #line 4093 "configure"
4093 #include "confdefs.h"
4094 #include <math.h>
4095 int main() {
4096 __builtin_fsqrt(0);
4097 ; return 0; }
4099 if { (eval echo configure:4100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4100 rm -rf conftest*
4101 glibcpp_cv_func___builtin_fsqrt_link=yes
4102 else
4103 echo "configure: failed program was:" >&5
4104 cat conftest.$ac_ext >&5
4105 rm -rf conftest*
4106 glibcpp_cv_func___builtin_fsqrt_link=no
4108 rm -f conftest*
4112 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_link" 1>&6
4113 if test x$glibcpp_cv_func___builtin_fsqrt_link = x"yes"; then
4114 ac_tr_func=HAVE_`echo __builtin_fsqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4115 cat >> confdefs.h <<EOF
4116 #define ${ac_tr_func} 1
4123 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
4124 echo "configure:4125: checking for __builtin_sqrtl declaration" >&5
4125 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
4126 echo $ac_n "(cached) $ac_c" 1>&6
4127 else
4130 ac_ext=C
4131 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4132 ac_cpp='$CXXCPP $CPPFLAGS'
4133 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4134 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4135 cross_compiling=$ac_cv_prog_cxx_cross
4137 cat > conftest.$ac_ext <<EOF
4138 #line 4139 "configure"
4139 #include "confdefs.h"
4140 #include <math.h>
4141 int main() {
4142 __builtin_sqrtl(0);
4143 ; return 0; }
4145 if { (eval echo configure:4146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4146 rm -rf conftest*
4147 glibcpp_cv_func___builtin_sqrtl_use=yes
4148 else
4149 echo "configure: failed program was:" >&5
4150 cat conftest.$ac_ext >&5
4151 rm -rf conftest*
4152 glibcpp_cv_func___builtin_sqrtl_use=no
4154 rm -f conftest*
4155 ac_ext=c
4156 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4157 ac_cpp='$CPP $CPPFLAGS'
4158 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4159 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4160 cross_compiling=$ac_cv_prog_cc_cross
4165 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
4166 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
4167 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
4168 echo "configure:4169: checking for __builtin_sqrtl linkage" >&5
4169 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
4170 echo $ac_n "(cached) $ac_c" 1>&6
4171 else
4173 cat > conftest.$ac_ext <<EOF
4174 #line 4175 "configure"
4175 #include "confdefs.h"
4176 #include <math.h>
4177 int main() {
4178 __builtin_sqrtl(0);
4179 ; return 0; }
4181 if { (eval echo configure:4182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4182 rm -rf conftest*
4183 glibcpp_cv_func___builtin_sqrtl_link=yes
4184 else
4185 echo "configure: failed program was:" >&5
4186 cat conftest.$ac_ext >&5
4187 rm -rf conftest*
4188 glibcpp_cv_func___builtin_sqrtl_link=no
4190 rm -f conftest*
4194 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
4195 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
4196 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4197 cat >> confdefs.h <<EOF
4198 #define ${ac_tr_func} 1
4206 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
4207 echo "configure:4208: checking for __builtin_sinf declaration" >&5
4208 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
4209 echo $ac_n "(cached) $ac_c" 1>&6
4210 else
4213 ac_ext=C
4214 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4215 ac_cpp='$CXXCPP $CPPFLAGS'
4216 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4217 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4218 cross_compiling=$ac_cv_prog_cxx_cross
4220 cat > conftest.$ac_ext <<EOF
4221 #line 4222 "configure"
4222 #include "confdefs.h"
4223 #include <math.h>
4224 int main() {
4225 __builtin_sinf(0);
4226 ; return 0; }
4228 if { (eval echo configure:4229: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4229 rm -rf conftest*
4230 glibcpp_cv_func___builtin_sinf_use=yes
4231 else
4232 echo "configure: failed program was:" >&5
4233 cat conftest.$ac_ext >&5
4234 rm -rf conftest*
4235 glibcpp_cv_func___builtin_sinf_use=no
4237 rm -f conftest*
4238 ac_ext=c
4239 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4240 ac_cpp='$CPP $CPPFLAGS'
4241 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4242 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4243 cross_compiling=$ac_cv_prog_cc_cross
4248 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
4249 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
4250 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
4251 echo "configure:4252: checking for __builtin_sinf linkage" >&5
4252 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
4253 echo $ac_n "(cached) $ac_c" 1>&6
4254 else
4256 cat > conftest.$ac_ext <<EOF
4257 #line 4258 "configure"
4258 #include "confdefs.h"
4259 #include <math.h>
4260 int main() {
4261 __builtin_sinf(0);
4262 ; return 0; }
4264 if { (eval echo configure:4265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4265 rm -rf conftest*
4266 glibcpp_cv_func___builtin_sinf_link=yes
4267 else
4268 echo "configure: failed program was:" >&5
4269 cat conftest.$ac_ext >&5
4270 rm -rf conftest*
4271 glibcpp_cv_func___builtin_sinf_link=no
4273 rm -f conftest*
4277 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
4278 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
4279 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4280 cat >> confdefs.h <<EOF
4281 #define ${ac_tr_func} 1
4288 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
4289 echo "configure:4290: checking for __builtin_sin declaration" >&5
4290 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
4291 echo $ac_n "(cached) $ac_c" 1>&6
4292 else
4295 ac_ext=C
4296 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4297 ac_cpp='$CXXCPP $CPPFLAGS'
4298 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4299 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4300 cross_compiling=$ac_cv_prog_cxx_cross
4302 cat > conftest.$ac_ext <<EOF
4303 #line 4304 "configure"
4304 #include "confdefs.h"
4305 #include <math.h>
4306 int main() {
4307 __builtin_sin(0);
4308 ; return 0; }
4310 if { (eval echo configure:4311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4311 rm -rf conftest*
4312 glibcpp_cv_func___builtin_sin_use=yes
4313 else
4314 echo "configure: failed program was:" >&5
4315 cat conftest.$ac_ext >&5
4316 rm -rf conftest*
4317 glibcpp_cv_func___builtin_sin_use=no
4319 rm -f conftest*
4320 ac_ext=c
4321 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4322 ac_cpp='$CPP $CPPFLAGS'
4323 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4324 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4325 cross_compiling=$ac_cv_prog_cc_cross
4330 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
4331 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
4332 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
4333 echo "configure:4334: checking for __builtin_sin linkage" >&5
4334 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
4335 echo $ac_n "(cached) $ac_c" 1>&6
4336 else
4338 cat > conftest.$ac_ext <<EOF
4339 #line 4340 "configure"
4340 #include "confdefs.h"
4341 #include <math.h>
4342 int main() {
4343 __builtin_sin(0);
4344 ; return 0; }
4346 if { (eval echo configure:4347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4347 rm -rf conftest*
4348 glibcpp_cv_func___builtin_sin_link=yes
4349 else
4350 echo "configure: failed program was:" >&5
4351 cat conftest.$ac_ext >&5
4352 rm -rf conftest*
4353 glibcpp_cv_func___builtin_sin_link=no
4355 rm -f conftest*
4359 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
4360 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
4361 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4362 cat >> confdefs.h <<EOF
4363 #define ${ac_tr_func} 1
4370 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
4371 echo "configure:4372: checking for __builtin_sinl declaration" >&5
4372 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
4373 echo $ac_n "(cached) $ac_c" 1>&6
4374 else
4377 ac_ext=C
4378 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4379 ac_cpp='$CXXCPP $CPPFLAGS'
4380 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4381 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4382 cross_compiling=$ac_cv_prog_cxx_cross
4384 cat > conftest.$ac_ext <<EOF
4385 #line 4386 "configure"
4386 #include "confdefs.h"
4387 #include <math.h>
4388 int main() {
4389 __builtin_sinl(0);
4390 ; return 0; }
4392 if { (eval echo configure:4393: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4393 rm -rf conftest*
4394 glibcpp_cv_func___builtin_sinl_use=yes
4395 else
4396 echo "configure: failed program was:" >&5
4397 cat conftest.$ac_ext >&5
4398 rm -rf conftest*
4399 glibcpp_cv_func___builtin_sinl_use=no
4401 rm -f conftest*
4402 ac_ext=c
4403 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4404 ac_cpp='$CPP $CPPFLAGS'
4405 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4406 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4407 cross_compiling=$ac_cv_prog_cc_cross
4412 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
4413 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
4414 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
4415 echo "configure:4416: checking for __builtin_sinl linkage" >&5
4416 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
4417 echo $ac_n "(cached) $ac_c" 1>&6
4418 else
4420 cat > conftest.$ac_ext <<EOF
4421 #line 4422 "configure"
4422 #include "confdefs.h"
4423 #include <math.h>
4424 int main() {
4425 __builtin_sinl(0);
4426 ; return 0; }
4428 if { (eval echo configure:4429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4429 rm -rf conftest*
4430 glibcpp_cv_func___builtin_sinl_link=yes
4431 else
4432 echo "configure: failed program was:" >&5
4433 cat conftest.$ac_ext >&5
4434 rm -rf conftest*
4435 glibcpp_cv_func___builtin_sinl_link=no
4437 rm -f conftest*
4441 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
4442 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
4443 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4444 cat >> confdefs.h <<EOF
4445 #define ${ac_tr_func} 1
4453 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
4454 echo "configure:4455: checking for __builtin_cosf declaration" >&5
4455 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
4456 echo $ac_n "(cached) $ac_c" 1>&6
4457 else
4460 ac_ext=C
4461 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4462 ac_cpp='$CXXCPP $CPPFLAGS'
4463 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4464 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4465 cross_compiling=$ac_cv_prog_cxx_cross
4467 cat > conftest.$ac_ext <<EOF
4468 #line 4469 "configure"
4469 #include "confdefs.h"
4470 #include <math.h>
4471 int main() {
4472 __builtin_cosf(0);
4473 ; return 0; }
4475 if { (eval echo configure:4476: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4476 rm -rf conftest*
4477 glibcpp_cv_func___builtin_cosf_use=yes
4478 else
4479 echo "configure: failed program was:" >&5
4480 cat conftest.$ac_ext >&5
4481 rm -rf conftest*
4482 glibcpp_cv_func___builtin_cosf_use=no
4484 rm -f conftest*
4485 ac_ext=c
4486 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4487 ac_cpp='$CPP $CPPFLAGS'
4488 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4489 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4490 cross_compiling=$ac_cv_prog_cc_cross
4495 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
4496 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
4497 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
4498 echo "configure:4499: checking for __builtin_cosf linkage" >&5
4499 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
4500 echo $ac_n "(cached) $ac_c" 1>&6
4501 else
4503 cat > conftest.$ac_ext <<EOF
4504 #line 4505 "configure"
4505 #include "confdefs.h"
4506 #include <math.h>
4507 int main() {
4508 __builtin_cosf(0);
4509 ; return 0; }
4511 if { (eval echo configure:4512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4512 rm -rf conftest*
4513 glibcpp_cv_func___builtin_cosf_link=yes
4514 else
4515 echo "configure: failed program was:" >&5
4516 cat conftest.$ac_ext >&5
4517 rm -rf conftest*
4518 glibcpp_cv_func___builtin_cosf_link=no
4520 rm -f conftest*
4524 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
4525 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
4526 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4527 cat >> confdefs.h <<EOF
4528 #define ${ac_tr_func} 1
4535 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
4536 echo "configure:4537: checking for __builtin_cos declaration" >&5
4537 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
4538 echo $ac_n "(cached) $ac_c" 1>&6
4539 else
4542 ac_ext=C
4543 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4544 ac_cpp='$CXXCPP $CPPFLAGS'
4545 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4546 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4547 cross_compiling=$ac_cv_prog_cxx_cross
4549 cat > conftest.$ac_ext <<EOF
4550 #line 4551 "configure"
4551 #include "confdefs.h"
4552 #include <math.h>
4553 int main() {
4554 __builtin_cos(0);
4555 ; return 0; }
4557 if { (eval echo configure:4558: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4558 rm -rf conftest*
4559 glibcpp_cv_func___builtin_cos_use=yes
4560 else
4561 echo "configure: failed program was:" >&5
4562 cat conftest.$ac_ext >&5
4563 rm -rf conftest*
4564 glibcpp_cv_func___builtin_cos_use=no
4566 rm -f conftest*
4567 ac_ext=c
4568 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4569 ac_cpp='$CPP $CPPFLAGS'
4570 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4571 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4572 cross_compiling=$ac_cv_prog_cc_cross
4577 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
4578 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
4579 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
4580 echo "configure:4581: checking for __builtin_cos linkage" >&5
4581 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
4582 echo $ac_n "(cached) $ac_c" 1>&6
4583 else
4585 cat > conftest.$ac_ext <<EOF
4586 #line 4587 "configure"
4587 #include "confdefs.h"
4588 #include <math.h>
4589 int main() {
4590 __builtin_cos(0);
4591 ; return 0; }
4593 if { (eval echo configure:4594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4594 rm -rf conftest*
4595 glibcpp_cv_func___builtin_cos_link=yes
4596 else
4597 echo "configure: failed program was:" >&5
4598 cat conftest.$ac_ext >&5
4599 rm -rf conftest*
4600 glibcpp_cv_func___builtin_cos_link=no
4602 rm -f conftest*
4606 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
4607 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
4608 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4609 cat >> confdefs.h <<EOF
4610 #define ${ac_tr_func} 1
4617 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
4618 echo "configure:4619: checking for __builtin_cosl declaration" >&5
4619 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
4620 echo $ac_n "(cached) $ac_c" 1>&6
4621 else
4624 ac_ext=C
4625 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4626 ac_cpp='$CXXCPP $CPPFLAGS'
4627 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4628 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4629 cross_compiling=$ac_cv_prog_cxx_cross
4631 cat > conftest.$ac_ext <<EOF
4632 #line 4633 "configure"
4633 #include "confdefs.h"
4634 #include <math.h>
4635 int main() {
4636 __builtin_cosl(0);
4637 ; return 0; }
4639 if { (eval echo configure:4640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4640 rm -rf conftest*
4641 glibcpp_cv_func___builtin_cosl_use=yes
4642 else
4643 echo "configure: failed program was:" >&5
4644 cat conftest.$ac_ext >&5
4645 rm -rf conftest*
4646 glibcpp_cv_func___builtin_cosl_use=no
4648 rm -f conftest*
4649 ac_ext=c
4650 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4651 ac_cpp='$CPP $CPPFLAGS'
4652 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4653 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4654 cross_compiling=$ac_cv_prog_cc_cross
4659 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
4660 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
4661 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
4662 echo "configure:4663: checking for __builtin_cosl linkage" >&5
4663 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
4664 echo $ac_n "(cached) $ac_c" 1>&6
4665 else
4667 cat > conftest.$ac_ext <<EOF
4668 #line 4669 "configure"
4669 #include "confdefs.h"
4670 #include <math.h>
4671 int main() {
4672 __builtin_cosl(0);
4673 ; return 0; }
4675 if { (eval echo configure:4676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4676 rm -rf conftest*
4677 glibcpp_cv_func___builtin_cosl_link=yes
4678 else
4679 echo "configure: failed program was:" >&5
4680 cat conftest.$ac_ext >&5
4681 rm -rf conftest*
4682 glibcpp_cv_func___builtin_cosl_link=no
4684 rm -f conftest*
4688 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
4689 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
4690 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4691 cat >> confdefs.h <<EOF
4692 #define ${ac_tr_func} 1
4699 dummyvar=no
4700 if test x$dummyvar = x"yes"; then
4701 cat >> confdefs.h <<\EOF
4702 #define HAVE___BUILTIN_ABS 1
4705 cat >> confdefs.h <<\EOF
4706 #define HAVE___BUILTIN_LABS 1
4709 cat >> confdefs.h <<\EOF
4710 #define HAVE___BUILTIN_COS 1
4713 cat >> confdefs.h <<\EOF
4714 #define HAVE___BUILTIN_COSF 1
4717 cat >> confdefs.h <<\EOF
4718 #define HAVE___BUILTIN_COSL 1
4721 cat >> confdefs.h <<\EOF
4722 #define HAVE___BUILTIN_FABS 1
4725 cat >> confdefs.h <<\EOF
4726 #define HAVE___BUILTIN_FABSF 1
4729 cat >> confdefs.h <<\EOF
4730 #define HAVE___BUILTIN_FABSL 1
4733 cat >> confdefs.h <<\EOF
4734 #define HAVE___BUILTIN_SIN 1
4737 cat >> confdefs.h <<\EOF
4738 #define HAVE___BUILTIN_SINF 1
4741 cat >> confdefs.h <<\EOF
4742 #define HAVE___BUILTIN_SINL 1
4745 cat >> confdefs.h <<\EOF
4746 #define HAVE___BUILTIN_FSQRT 1
4749 cat >> confdefs.h <<\EOF
4750 #define HAVE___BUILTIN_SQRTF 1
4753 cat >> confdefs.h <<\EOF
4754 #define HAVE___BUILTIN_SQRTL 1
4760 ac_test_CXXFLAGS="${CXXFLAGS+set}"
4761 ac_save_CXXFLAGS="$CXXFLAGS"
4762 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
4764 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
4765 echo "configure:4766: checking for sin in -lm" >&5
4766 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
4767 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4768 echo $ac_n "(cached) $ac_c" 1>&6
4769 else
4770 ac_save_LIBS="$LIBS"
4771 LIBS="-lm $LIBS"
4772 cat > conftest.$ac_ext <<EOF
4773 #line 4774 "configure"
4774 #include "confdefs.h"
4775 /* Override any gcc2 internal prototype to avoid an error. */
4776 /* We use char because int might match the return type of a gcc2
4777 builtin and then its argument prototype would still apply. */
4778 char sin();
4780 int main() {
4781 sin()
4782 ; return 0; }
4784 if { (eval echo configure:4785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4785 rm -rf conftest*
4786 eval "ac_cv_lib_$ac_lib_var=yes"
4787 else
4788 echo "configure: failed program was:" >&5
4789 cat conftest.$ac_ext >&5
4790 rm -rf conftest*
4791 eval "ac_cv_lib_$ac_lib_var=no"
4793 rm -f conftest*
4794 LIBS="$ac_save_LIBS"
4797 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4798 echo "$ac_t""yes" 1>&6
4799 libm="-lm"
4800 else
4801 echo "$ac_t""no" 1>&6
4804 ac_save_LIBS="$LIBS"
4805 LIBS="$LIBS $libm"
4807 for ac_func in strtof strtold
4809 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4810 echo "configure:4811: checking for $ac_func" >&5
4811 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4812 echo $ac_n "(cached) $ac_c" 1>&6
4813 else
4814 cat > conftest.$ac_ext <<EOF
4815 #line 4816 "configure"
4816 #include "confdefs.h"
4817 /* System header to define __stub macros and hopefully few prototypes,
4818 which can conflict with char $ac_func(); below. */
4819 #include <assert.h>
4820 /* Override any gcc2 internal prototype to avoid an error. */
4821 /* We use char because int might match the return type of a gcc2
4822 builtin and then its argument prototype would still apply. */
4823 char $ac_func();
4825 int main() {
4827 /* The GNU C library defines this for functions which it implements
4828 to always fail with ENOSYS. Some functions are actually named
4829 something starting with __ and the normal name is an alias. */
4830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4831 choke me
4832 #else
4833 $ac_func();
4834 #endif
4836 ; return 0; }
4838 if { (eval echo configure:4839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4839 rm -rf conftest*
4840 eval "ac_cv_func_$ac_func=yes"
4841 else
4842 echo "configure: failed program was:" >&5
4843 cat conftest.$ac_ext >&5
4844 rm -rf conftest*
4845 eval "ac_cv_func_$ac_func=no"
4847 rm -f conftest*
4850 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4851 echo "$ac_t""yes" 1>&6
4852 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4853 cat >> confdefs.h <<EOF
4854 #define $ac_tr_func 1
4857 else
4858 echo "$ac_t""no" 1>&6
4860 done
4864 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
4865 echo "configure:4866: checking for isinf declaration" >&5
4866 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
4867 echo $ac_n "(cached) $ac_c" 1>&6
4868 else
4871 ac_ext=C
4872 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4873 ac_cpp='$CXXCPP $CPPFLAGS'
4874 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4875 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4876 cross_compiling=$ac_cv_prog_cxx_cross
4878 cat > conftest.$ac_ext <<EOF
4879 #line 4880 "configure"
4880 #include "confdefs.h"
4881 #include <math.h>
4882 int main() {
4883 isinf(0);
4884 ; return 0; }
4886 if { (eval echo configure:4887: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4887 rm -rf conftest*
4888 glibcpp_cv_func_isinf_use=yes
4889 else
4890 echo "configure: failed program was:" >&5
4891 cat conftest.$ac_ext >&5
4892 rm -rf conftest*
4893 glibcpp_cv_func_isinf_use=no
4895 rm -f conftest*
4896 ac_ext=c
4897 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4898 ac_cpp='$CPP $CPPFLAGS'
4899 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4900 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4901 cross_compiling=$ac_cv_prog_cc_cross
4906 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
4907 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
4908 for ac_func in isinf
4910 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4911 echo "configure:4912: checking for $ac_func" >&5
4912 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4913 echo $ac_n "(cached) $ac_c" 1>&6
4914 else
4915 cat > conftest.$ac_ext <<EOF
4916 #line 4917 "configure"
4917 #include "confdefs.h"
4918 /* System header to define __stub macros and hopefully few prototypes,
4919 which can conflict with char $ac_func(); below. */
4920 #include <assert.h>
4921 /* Override any gcc2 internal prototype to avoid an error. */
4922 /* We use char because int might match the return type of a gcc2
4923 builtin and then its argument prototype would still apply. */
4924 char $ac_func();
4926 int main() {
4928 /* The GNU C library defines this for functions which it implements
4929 to always fail with ENOSYS. Some functions are actually named
4930 something starting with __ and the normal name is an alias. */
4931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4932 choke me
4933 #else
4934 $ac_func();
4935 #endif
4937 ; return 0; }
4939 if { (eval echo configure:4940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4940 rm -rf conftest*
4941 eval "ac_cv_func_$ac_func=yes"
4942 else
4943 echo "configure: failed program was:" >&5
4944 cat conftest.$ac_ext >&5
4945 rm -rf conftest*
4946 eval "ac_cv_func_$ac_func=no"
4948 rm -f conftest*
4951 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4952 echo "$ac_t""yes" 1>&6
4953 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4954 cat >> confdefs.h <<EOF
4955 #define $ac_tr_func 1
4958 else
4959 echo "$ac_t""no" 1>&6
4961 done
4966 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
4967 echo "configure:4968: checking for isnan declaration" >&5
4968 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
4969 echo $ac_n "(cached) $ac_c" 1>&6
4970 else
4973 ac_ext=C
4974 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4975 ac_cpp='$CXXCPP $CPPFLAGS'
4976 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4977 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4978 cross_compiling=$ac_cv_prog_cxx_cross
4980 cat > conftest.$ac_ext <<EOF
4981 #line 4982 "configure"
4982 #include "confdefs.h"
4983 #include <math.h>
4984 int main() {
4985 isnan(0);
4986 ; return 0; }
4988 if { (eval echo configure:4989: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4989 rm -rf conftest*
4990 glibcpp_cv_func_isnan_use=yes
4991 else
4992 echo "configure: failed program was:" >&5
4993 cat conftest.$ac_ext >&5
4994 rm -rf conftest*
4995 glibcpp_cv_func_isnan_use=no
4997 rm -f conftest*
4998 ac_ext=c
4999 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5000 ac_cpp='$CPP $CPPFLAGS'
5001 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5002 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5003 cross_compiling=$ac_cv_prog_cc_cross
5008 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
5009 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
5010 for ac_func in isnan
5012 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5013 echo "configure:5014: checking for $ac_func" >&5
5014 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5015 echo $ac_n "(cached) $ac_c" 1>&6
5016 else
5017 cat > conftest.$ac_ext <<EOF
5018 #line 5019 "configure"
5019 #include "confdefs.h"
5020 /* System header to define __stub macros and hopefully few prototypes,
5021 which can conflict with char $ac_func(); below. */
5022 #include <assert.h>
5023 /* Override any gcc2 internal prototype to avoid an error. */
5024 /* We use char because int might match the return type of a gcc2
5025 builtin and then its argument prototype would still apply. */
5026 char $ac_func();
5028 int main() {
5030 /* The GNU C library defines this for functions which it implements
5031 to always fail with ENOSYS. Some functions are actually named
5032 something starting with __ and the normal name is an alias. */
5033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5034 choke me
5035 #else
5036 $ac_func();
5037 #endif
5039 ; return 0; }
5041 if { (eval echo configure:5042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5042 rm -rf conftest*
5043 eval "ac_cv_func_$ac_func=yes"
5044 else
5045 echo "configure: failed program was:" >&5
5046 cat conftest.$ac_ext >&5
5047 rm -rf conftest*
5048 eval "ac_cv_func_$ac_func=no"
5050 rm -f conftest*
5053 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5054 echo "$ac_t""yes" 1>&6
5055 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5056 cat >> confdefs.h <<EOF
5057 #define $ac_tr_func 1
5060 else
5061 echo "$ac_t""no" 1>&6
5063 done
5068 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
5069 echo "configure:5070: checking for finite declaration" >&5
5070 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
5071 echo $ac_n "(cached) $ac_c" 1>&6
5072 else
5075 ac_ext=C
5076 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5077 ac_cpp='$CXXCPP $CPPFLAGS'
5078 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5079 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5080 cross_compiling=$ac_cv_prog_cxx_cross
5082 cat > conftest.$ac_ext <<EOF
5083 #line 5084 "configure"
5084 #include "confdefs.h"
5085 #include <math.h>
5086 int main() {
5087 finite(0);
5088 ; return 0; }
5090 if { (eval echo configure:5091: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5091 rm -rf conftest*
5092 glibcpp_cv_func_finite_use=yes
5093 else
5094 echo "configure: failed program was:" >&5
5095 cat conftest.$ac_ext >&5
5096 rm -rf conftest*
5097 glibcpp_cv_func_finite_use=no
5099 rm -f conftest*
5100 ac_ext=c
5101 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5102 ac_cpp='$CPP $CPPFLAGS'
5103 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5104 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5105 cross_compiling=$ac_cv_prog_cc_cross
5110 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
5111 if test x$glibcpp_cv_func_finite_use = x"yes"; then
5112 for ac_func in finite
5114 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5115 echo "configure:5116: checking for $ac_func" >&5
5116 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5117 echo $ac_n "(cached) $ac_c" 1>&6
5118 else
5119 cat > conftest.$ac_ext <<EOF
5120 #line 5121 "configure"
5121 #include "confdefs.h"
5122 /* System header to define __stub macros and hopefully few prototypes,
5123 which can conflict with char $ac_func(); below. */
5124 #include <assert.h>
5125 /* Override any gcc2 internal prototype to avoid an error. */
5126 /* We use char because int might match the return type of a gcc2
5127 builtin and then its argument prototype would still apply. */
5128 char $ac_func();
5130 int main() {
5132 /* The GNU C library defines this for functions which it implements
5133 to always fail with ENOSYS. Some functions are actually named
5134 something starting with __ and the normal name is an alias. */
5135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5136 choke me
5137 #else
5138 $ac_func();
5139 #endif
5141 ; return 0; }
5143 if { (eval echo configure:5144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5144 rm -rf conftest*
5145 eval "ac_cv_func_$ac_func=yes"
5146 else
5147 echo "configure: failed program was:" >&5
5148 cat conftest.$ac_ext >&5
5149 rm -rf conftest*
5150 eval "ac_cv_func_$ac_func=no"
5152 rm -f conftest*
5155 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5156 echo "$ac_t""yes" 1>&6
5157 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5158 cat >> confdefs.h <<EOF
5159 #define $ac_tr_func 1
5162 else
5163 echo "$ac_t""no" 1>&6
5165 done
5170 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
5171 echo "configure:5172: checking for copysign declaration" >&5
5172 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
5173 echo $ac_n "(cached) $ac_c" 1>&6
5174 else
5177 ac_ext=C
5178 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5179 ac_cpp='$CXXCPP $CPPFLAGS'
5180 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5181 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5182 cross_compiling=$ac_cv_prog_cxx_cross
5184 cat > conftest.$ac_ext <<EOF
5185 #line 5186 "configure"
5186 #include "confdefs.h"
5187 #include <math.h>
5188 int main() {
5189 copysign(0, 0);
5190 ; return 0; }
5192 if { (eval echo configure:5193: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5193 rm -rf conftest*
5194 glibcpp_cv_func_copysign_use=yes
5195 else
5196 echo "configure: failed program was:" >&5
5197 cat conftest.$ac_ext >&5
5198 rm -rf conftest*
5199 glibcpp_cv_func_copysign_use=no
5201 rm -f conftest*
5202 ac_ext=c
5203 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5204 ac_cpp='$CPP $CPPFLAGS'
5205 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5206 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5207 cross_compiling=$ac_cv_prog_cc_cross
5212 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
5213 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
5214 for ac_func in copysign
5216 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5217 echo "configure:5218: checking for $ac_func" >&5
5218 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5219 echo $ac_n "(cached) $ac_c" 1>&6
5220 else
5221 cat > conftest.$ac_ext <<EOF
5222 #line 5223 "configure"
5223 #include "confdefs.h"
5224 /* System header to define __stub macros and hopefully few prototypes,
5225 which can conflict with char $ac_func(); below. */
5226 #include <assert.h>
5227 /* Override any gcc2 internal prototype to avoid an error. */
5228 /* We use char because int might match the return type of a gcc2
5229 builtin and then its argument prototype would still apply. */
5230 char $ac_func();
5232 int main() {
5234 /* The GNU C library defines this for functions which it implements
5235 to always fail with ENOSYS. Some functions are actually named
5236 something starting with __ and the normal name is an alias. */
5237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5238 choke me
5239 #else
5240 $ac_func();
5241 #endif
5243 ; return 0; }
5245 if { (eval echo configure:5246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5246 rm -rf conftest*
5247 eval "ac_cv_func_$ac_func=yes"
5248 else
5249 echo "configure: failed program was:" >&5
5250 cat conftest.$ac_ext >&5
5251 rm -rf conftest*
5252 eval "ac_cv_func_$ac_func=no"
5254 rm -f conftest*
5257 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5258 echo "$ac_t""yes" 1>&6
5259 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5260 cat >> confdefs.h <<EOF
5261 #define $ac_tr_func 1
5264 else
5265 echo "$ac_t""no" 1>&6
5267 done
5272 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
5273 echo "configure:5274: checking for sincos declaration" >&5
5274 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
5275 echo $ac_n "(cached) $ac_c" 1>&6
5276 else
5279 ac_ext=C
5280 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5281 ac_cpp='$CXXCPP $CPPFLAGS'
5282 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5283 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5284 cross_compiling=$ac_cv_prog_cxx_cross
5286 cat > conftest.$ac_ext <<EOF
5287 #line 5288 "configure"
5288 #include "confdefs.h"
5289 #include <math.h>
5290 int main() {
5291 sincos(0, 0, 0);
5292 ; return 0; }
5294 if { (eval echo configure:5295: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5295 rm -rf conftest*
5296 glibcpp_cv_func_sincos_use=yes
5297 else
5298 echo "configure: failed program was:" >&5
5299 cat conftest.$ac_ext >&5
5300 rm -rf conftest*
5301 glibcpp_cv_func_sincos_use=no
5303 rm -f conftest*
5304 ac_ext=c
5305 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5306 ac_cpp='$CPP $CPPFLAGS'
5307 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5308 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5309 cross_compiling=$ac_cv_prog_cc_cross
5314 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
5315 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
5316 for ac_func in sincos
5318 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5319 echo "configure:5320: checking for $ac_func" >&5
5320 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5321 echo $ac_n "(cached) $ac_c" 1>&6
5322 else
5323 cat > conftest.$ac_ext <<EOF
5324 #line 5325 "configure"
5325 #include "confdefs.h"
5326 /* System header to define __stub macros and hopefully few prototypes,
5327 which can conflict with char $ac_func(); below. */
5328 #include <assert.h>
5329 /* Override any gcc2 internal prototype to avoid an error. */
5330 /* We use char because int might match the return type of a gcc2
5331 builtin and then its argument prototype would still apply. */
5332 char $ac_func();
5334 int main() {
5336 /* The GNU C library defines this for functions which it implements
5337 to always fail with ENOSYS. Some functions are actually named
5338 something starting with __ and the normal name is an alias. */
5339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5340 choke me
5341 #else
5342 $ac_func();
5343 #endif
5345 ; return 0; }
5347 if { (eval echo configure:5348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5348 rm -rf conftest*
5349 eval "ac_cv_func_$ac_func=yes"
5350 else
5351 echo "configure: failed program was:" >&5
5352 cat conftest.$ac_ext >&5
5353 rm -rf conftest*
5354 eval "ac_cv_func_$ac_func=no"
5356 rm -f conftest*
5359 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5360 echo "$ac_t""yes" 1>&6
5361 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5362 cat >> confdefs.h <<EOF
5363 #define $ac_tr_func 1
5366 else
5367 echo "$ac_t""no" 1>&6
5369 done
5374 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
5375 echo "configure:5376: checking for fpclass declaration" >&5
5376 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
5377 echo $ac_n "(cached) $ac_c" 1>&6
5378 else
5381 ac_ext=C
5382 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5383 ac_cpp='$CXXCPP $CPPFLAGS'
5384 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5385 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5386 cross_compiling=$ac_cv_prog_cxx_cross
5388 cat > conftest.$ac_ext <<EOF
5389 #line 5390 "configure"
5390 #include "confdefs.h"
5391 #include <math.h>
5392 int main() {
5393 fpclass(0);
5394 ; return 0; }
5396 if { (eval echo configure:5397: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5397 rm -rf conftest*
5398 glibcpp_cv_func_fpclass_use=yes
5399 else
5400 echo "configure: failed program was:" >&5
5401 cat conftest.$ac_ext >&5
5402 rm -rf conftest*
5403 glibcpp_cv_func_fpclass_use=no
5405 rm -f conftest*
5406 ac_ext=c
5407 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5408 ac_cpp='$CPP $CPPFLAGS'
5409 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5410 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5411 cross_compiling=$ac_cv_prog_cc_cross
5416 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
5417 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
5418 for ac_func in fpclass
5420 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5421 echo "configure:5422: checking for $ac_func" >&5
5422 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5423 echo $ac_n "(cached) $ac_c" 1>&6
5424 else
5425 cat > conftest.$ac_ext <<EOF
5426 #line 5427 "configure"
5427 #include "confdefs.h"
5428 /* System header to define __stub macros and hopefully few prototypes,
5429 which can conflict with char $ac_func(); below. */
5430 #include <assert.h>
5431 /* Override any gcc2 internal prototype to avoid an error. */
5432 /* We use char because int might match the return type of a gcc2
5433 builtin and then its argument prototype would still apply. */
5434 char $ac_func();
5436 int main() {
5438 /* The GNU C library defines this for functions which it implements
5439 to always fail with ENOSYS. Some functions are actually named
5440 something starting with __ and the normal name is an alias. */
5441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5442 choke me
5443 #else
5444 $ac_func();
5445 #endif
5447 ; return 0; }
5449 if { (eval echo configure:5450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5450 rm -rf conftest*
5451 eval "ac_cv_func_$ac_func=yes"
5452 else
5453 echo "configure: failed program was:" >&5
5454 cat conftest.$ac_ext >&5
5455 rm -rf conftest*
5456 eval "ac_cv_func_$ac_func=no"
5458 rm -f conftest*
5461 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5462 echo "$ac_t""yes" 1>&6
5463 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5464 cat >> confdefs.h <<EOF
5465 #define $ac_tr_func 1
5468 else
5469 echo "$ac_t""no" 1>&6
5471 done
5476 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
5477 echo "configure:5478: checking for qfpclass declaration" >&5
5478 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
5479 echo $ac_n "(cached) $ac_c" 1>&6
5480 else
5483 ac_ext=C
5484 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5485 ac_cpp='$CXXCPP $CPPFLAGS'
5486 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5487 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5488 cross_compiling=$ac_cv_prog_cxx_cross
5490 cat > conftest.$ac_ext <<EOF
5491 #line 5492 "configure"
5492 #include "confdefs.h"
5493 #include <math.h>
5494 int main() {
5495 qfpclass(0);
5496 ; return 0; }
5498 if { (eval echo configure:5499: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5499 rm -rf conftest*
5500 glibcpp_cv_func_qfpclass_use=yes
5501 else
5502 echo "configure: failed program was:" >&5
5503 cat conftest.$ac_ext >&5
5504 rm -rf conftest*
5505 glibcpp_cv_func_qfpclass_use=no
5507 rm -f conftest*
5508 ac_ext=c
5509 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5510 ac_cpp='$CPP $CPPFLAGS'
5511 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5512 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5513 cross_compiling=$ac_cv_prog_cc_cross
5518 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
5519 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
5520 for ac_func in qfpclass
5522 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5523 echo "configure:5524: checking for $ac_func" >&5
5524 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5525 echo $ac_n "(cached) $ac_c" 1>&6
5526 else
5527 cat > conftest.$ac_ext <<EOF
5528 #line 5529 "configure"
5529 #include "confdefs.h"
5530 /* System header to define __stub macros and hopefully few prototypes,
5531 which can conflict with char $ac_func(); below. */
5532 #include <assert.h>
5533 /* Override any gcc2 internal prototype to avoid an error. */
5534 /* We use char because int might match the return type of a gcc2
5535 builtin and then its argument prototype would still apply. */
5536 char $ac_func();
5538 int main() {
5540 /* The GNU C library defines this for functions which it implements
5541 to always fail with ENOSYS. Some functions are actually named
5542 something starting with __ and the normal name is an alias. */
5543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5544 choke me
5545 #else
5546 $ac_func();
5547 #endif
5549 ; return 0; }
5551 if { (eval echo configure:5552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5552 rm -rf conftest*
5553 eval "ac_cv_func_$ac_func=yes"
5554 else
5555 echo "configure: failed program was:" >&5
5556 cat conftest.$ac_ext >&5
5557 rm -rf conftest*
5558 eval "ac_cv_func_$ac_func=no"
5560 rm -f conftest*
5563 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5564 echo "$ac_t""yes" 1>&6
5565 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5566 cat >> confdefs.h <<EOF
5567 #define $ac_tr_func 1
5570 else
5571 echo "$ac_t""no" 1>&6
5573 done
5579 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
5580 echo "configure:5581: checking for isnanf declaration" >&5
5581 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
5582 echo $ac_n "(cached) $ac_c" 1>&6
5583 else
5586 ac_ext=C
5587 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5588 ac_cpp='$CXXCPP $CPPFLAGS'
5589 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5590 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5591 cross_compiling=$ac_cv_prog_cxx_cross
5593 cat > conftest.$ac_ext <<EOF
5594 #line 5595 "configure"
5595 #include "confdefs.h"
5596 #include <math.h>
5597 int main() {
5598 isnanf(0);
5599 ; return 0; }
5601 if { (eval echo configure:5602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5602 rm -rf conftest*
5603 glibcpp_cv_func_isnanf_use=yes
5604 else
5605 echo "configure: failed program was:" >&5
5606 cat conftest.$ac_ext >&5
5607 rm -rf conftest*
5608 glibcpp_cv_func_isnanf_use=no
5610 rm -f conftest*
5611 ac_ext=c
5612 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5613 ac_cpp='$CPP $CPPFLAGS'
5614 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5615 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5616 cross_compiling=$ac_cv_prog_cc_cross
5621 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
5622 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
5623 for ac_func in isnanf
5625 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5626 echo "configure:5627: checking for $ac_func" >&5
5627 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5628 echo $ac_n "(cached) $ac_c" 1>&6
5629 else
5630 cat > conftest.$ac_ext <<EOF
5631 #line 5632 "configure"
5632 #include "confdefs.h"
5633 /* System header to define __stub macros and hopefully few prototypes,
5634 which can conflict with char $ac_func(); below. */
5635 #include <assert.h>
5636 /* Override any gcc2 internal prototype to avoid an error. */
5637 /* We use char because int might match the return type of a gcc2
5638 builtin and then its argument prototype would still apply. */
5639 char $ac_func();
5641 int main() {
5643 /* The GNU C library defines this for functions which it implements
5644 to always fail with ENOSYS. Some functions are actually named
5645 something starting with __ and the normal name is an alias. */
5646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5647 choke me
5648 #else
5649 $ac_func();
5650 #endif
5652 ; return 0; }
5654 if { (eval echo configure:5655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5655 rm -rf conftest*
5656 eval "ac_cv_func_$ac_func=yes"
5657 else
5658 echo "configure: failed program was:" >&5
5659 cat conftest.$ac_ext >&5
5660 rm -rf conftest*
5661 eval "ac_cv_func_$ac_func=no"
5663 rm -f conftest*
5666 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5667 echo "$ac_t""yes" 1>&6
5668 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5669 cat >> confdefs.h <<EOF
5670 #define $ac_tr_func 1
5673 else
5674 echo "$ac_t""no" 1>&6
5676 done
5681 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
5682 echo "configure:5683: checking for isinff declaration" >&5
5683 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
5684 echo $ac_n "(cached) $ac_c" 1>&6
5685 else
5688 ac_ext=C
5689 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5690 ac_cpp='$CXXCPP $CPPFLAGS'
5691 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5692 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5693 cross_compiling=$ac_cv_prog_cxx_cross
5695 cat > conftest.$ac_ext <<EOF
5696 #line 5697 "configure"
5697 #include "confdefs.h"
5698 #include <math.h>
5699 int main() {
5700 isinff(0);
5701 ; return 0; }
5703 if { (eval echo configure:5704: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5704 rm -rf conftest*
5705 glibcpp_cv_func_isinff_use=yes
5706 else
5707 echo "configure: failed program was:" >&5
5708 cat conftest.$ac_ext >&5
5709 rm -rf conftest*
5710 glibcpp_cv_func_isinff_use=no
5712 rm -f conftest*
5713 ac_ext=c
5714 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5715 ac_cpp='$CPP $CPPFLAGS'
5716 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5717 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5718 cross_compiling=$ac_cv_prog_cc_cross
5723 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
5724 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
5725 for ac_func in isinff
5727 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5728 echo "configure:5729: checking for $ac_func" >&5
5729 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5730 echo $ac_n "(cached) $ac_c" 1>&6
5731 else
5732 cat > conftest.$ac_ext <<EOF
5733 #line 5734 "configure"
5734 #include "confdefs.h"
5735 /* System header to define __stub macros and hopefully few prototypes,
5736 which can conflict with char $ac_func(); below. */
5737 #include <assert.h>
5738 /* Override any gcc2 internal prototype to avoid an error. */
5739 /* We use char because int might match the return type of a gcc2
5740 builtin and then its argument prototype would still apply. */
5741 char $ac_func();
5743 int main() {
5745 /* The GNU C library defines this for functions which it implements
5746 to always fail with ENOSYS. Some functions are actually named
5747 something starting with __ and the normal name is an alias. */
5748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5749 choke me
5750 #else
5751 $ac_func();
5752 #endif
5754 ; return 0; }
5756 if { (eval echo configure:5757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5757 rm -rf conftest*
5758 eval "ac_cv_func_$ac_func=yes"
5759 else
5760 echo "configure: failed program was:" >&5
5761 cat conftest.$ac_ext >&5
5762 rm -rf conftest*
5763 eval "ac_cv_func_$ac_func=no"
5765 rm -f conftest*
5768 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5769 echo "$ac_t""yes" 1>&6
5770 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5771 cat >> confdefs.h <<EOF
5772 #define $ac_tr_func 1
5775 else
5776 echo "$ac_t""no" 1>&6
5778 done
5783 echo $ac_n "checking for acosf declaration""... $ac_c" 1>&6
5784 echo "configure:5785: checking for acosf declaration" >&5
5785 if eval "test \"`echo '$''{'glibcpp_cv_func_acosf_use'+set}'`\" = set"; then
5786 echo $ac_n "(cached) $ac_c" 1>&6
5787 else
5790 ac_ext=C
5791 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5792 ac_cpp='$CXXCPP $CPPFLAGS'
5793 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5794 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5795 cross_compiling=$ac_cv_prog_cxx_cross
5797 cat > conftest.$ac_ext <<EOF
5798 #line 5799 "configure"
5799 #include "confdefs.h"
5800 #include <math.h>
5801 int main() {
5802 acosf(0);
5803 ; return 0; }
5805 if { (eval echo configure:5806: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5806 rm -rf conftest*
5807 glibcpp_cv_func_acosf_use=yes
5808 else
5809 echo "configure: failed program was:" >&5
5810 cat conftest.$ac_ext >&5
5811 rm -rf conftest*
5812 glibcpp_cv_func_acosf_use=no
5814 rm -f conftest*
5815 ac_ext=c
5816 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5817 ac_cpp='$CPP $CPPFLAGS'
5818 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5819 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5820 cross_compiling=$ac_cv_prog_cc_cross
5825 echo "$ac_t""$glibcpp_cv_func_acosf_use" 1>&6
5826 if test x$glibcpp_cv_func_acosf_use = x"yes"; then
5827 for ac_func in acosf
5829 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5830 echo "configure:5831: checking for $ac_func" >&5
5831 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5832 echo $ac_n "(cached) $ac_c" 1>&6
5833 else
5834 cat > conftest.$ac_ext <<EOF
5835 #line 5836 "configure"
5836 #include "confdefs.h"
5837 /* System header to define __stub macros and hopefully few prototypes,
5838 which can conflict with char $ac_func(); below. */
5839 #include <assert.h>
5840 /* Override any gcc2 internal prototype to avoid an error. */
5841 /* We use char because int might match the return type of a gcc2
5842 builtin and then its argument prototype would still apply. */
5843 char $ac_func();
5845 int main() {
5847 /* The GNU C library defines this for functions which it implements
5848 to always fail with ENOSYS. Some functions are actually named
5849 something starting with __ and the normal name is an alias. */
5850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5851 choke me
5852 #else
5853 $ac_func();
5854 #endif
5856 ; return 0; }
5858 if { (eval echo configure:5859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5859 rm -rf conftest*
5860 eval "ac_cv_func_$ac_func=yes"
5861 else
5862 echo "configure: failed program was:" >&5
5863 cat conftest.$ac_ext >&5
5864 rm -rf conftest*
5865 eval "ac_cv_func_$ac_func=no"
5867 rm -f conftest*
5870 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5871 echo "$ac_t""yes" 1>&6
5872 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5873 cat >> confdefs.h <<EOF
5874 #define $ac_tr_func 1
5877 else
5878 echo "$ac_t""no" 1>&6
5880 done
5885 echo $ac_n "checking for asinf declaration""... $ac_c" 1>&6
5886 echo "configure:5887: checking for asinf declaration" >&5
5887 if eval "test \"`echo '$''{'glibcpp_cv_func_asinf_use'+set}'`\" = set"; then
5888 echo $ac_n "(cached) $ac_c" 1>&6
5889 else
5892 ac_ext=C
5893 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5894 ac_cpp='$CXXCPP $CPPFLAGS'
5895 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5896 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5897 cross_compiling=$ac_cv_prog_cxx_cross
5899 cat > conftest.$ac_ext <<EOF
5900 #line 5901 "configure"
5901 #include "confdefs.h"
5902 #include <math.h>
5903 int main() {
5904 asinf(0);
5905 ; return 0; }
5907 if { (eval echo configure:5908: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5908 rm -rf conftest*
5909 glibcpp_cv_func_asinf_use=yes
5910 else
5911 echo "configure: failed program was:" >&5
5912 cat conftest.$ac_ext >&5
5913 rm -rf conftest*
5914 glibcpp_cv_func_asinf_use=no
5916 rm -f conftest*
5917 ac_ext=c
5918 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5919 ac_cpp='$CPP $CPPFLAGS'
5920 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5921 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5922 cross_compiling=$ac_cv_prog_cc_cross
5927 echo "$ac_t""$glibcpp_cv_func_asinf_use" 1>&6
5928 if test x$glibcpp_cv_func_asinf_use = x"yes"; then
5929 for ac_func in asinf
5931 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5932 echo "configure:5933: checking for $ac_func" >&5
5933 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5934 echo $ac_n "(cached) $ac_c" 1>&6
5935 else
5936 cat > conftest.$ac_ext <<EOF
5937 #line 5938 "configure"
5938 #include "confdefs.h"
5939 /* System header to define __stub macros and hopefully few prototypes,
5940 which can conflict with char $ac_func(); below. */
5941 #include <assert.h>
5942 /* Override any gcc2 internal prototype to avoid an error. */
5943 /* We use char because int might match the return type of a gcc2
5944 builtin and then its argument prototype would still apply. */
5945 char $ac_func();
5947 int main() {
5949 /* The GNU C library defines this for functions which it implements
5950 to always fail with ENOSYS. Some functions are actually named
5951 something starting with __ and the normal name is an alias. */
5952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5953 choke me
5954 #else
5955 $ac_func();
5956 #endif
5958 ; return 0; }
5960 if { (eval echo configure:5961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5961 rm -rf conftest*
5962 eval "ac_cv_func_$ac_func=yes"
5963 else
5964 echo "configure: failed program was:" >&5
5965 cat conftest.$ac_ext >&5
5966 rm -rf conftest*
5967 eval "ac_cv_func_$ac_func=no"
5969 rm -f conftest*
5972 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5973 echo "$ac_t""yes" 1>&6
5974 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5975 cat >> confdefs.h <<EOF
5976 #define $ac_tr_func 1
5979 else
5980 echo "$ac_t""no" 1>&6
5982 done
5987 echo $ac_n "checking for atanf declaration""... $ac_c" 1>&6
5988 echo "configure:5989: checking for atanf declaration" >&5
5989 if eval "test \"`echo '$''{'glibcpp_cv_func_atanf_use'+set}'`\" = set"; then
5990 echo $ac_n "(cached) $ac_c" 1>&6
5991 else
5994 ac_ext=C
5995 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5996 ac_cpp='$CXXCPP $CPPFLAGS'
5997 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5998 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5999 cross_compiling=$ac_cv_prog_cxx_cross
6001 cat > conftest.$ac_ext <<EOF
6002 #line 6003 "configure"
6003 #include "confdefs.h"
6004 #include <math.h>
6005 int main() {
6006 atanf(0);
6007 ; return 0; }
6009 if { (eval echo configure:6010: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6010 rm -rf conftest*
6011 glibcpp_cv_func_atanf_use=yes
6012 else
6013 echo "configure: failed program was:" >&5
6014 cat conftest.$ac_ext >&5
6015 rm -rf conftest*
6016 glibcpp_cv_func_atanf_use=no
6018 rm -f conftest*
6019 ac_ext=c
6020 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6021 ac_cpp='$CPP $CPPFLAGS'
6022 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6023 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6024 cross_compiling=$ac_cv_prog_cc_cross
6029 echo "$ac_t""$glibcpp_cv_func_atanf_use" 1>&6
6030 if test x$glibcpp_cv_func_atanf_use = x"yes"; then
6031 for ac_func in atanf
6033 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6034 echo "configure:6035: checking for $ac_func" >&5
6035 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6036 echo $ac_n "(cached) $ac_c" 1>&6
6037 else
6038 cat > conftest.$ac_ext <<EOF
6039 #line 6040 "configure"
6040 #include "confdefs.h"
6041 /* System header to define __stub macros and hopefully few prototypes,
6042 which can conflict with char $ac_func(); below. */
6043 #include <assert.h>
6044 /* Override any gcc2 internal prototype to avoid an error. */
6045 /* We use char because int might match the return type of a gcc2
6046 builtin and then its argument prototype would still apply. */
6047 char $ac_func();
6049 int main() {
6051 /* The GNU C library defines this for functions which it implements
6052 to always fail with ENOSYS. Some functions are actually named
6053 something starting with __ and the normal name is an alias. */
6054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6055 choke me
6056 #else
6057 $ac_func();
6058 #endif
6060 ; return 0; }
6062 if { (eval echo configure:6063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6063 rm -rf conftest*
6064 eval "ac_cv_func_$ac_func=yes"
6065 else
6066 echo "configure: failed program was:" >&5
6067 cat conftest.$ac_ext >&5
6068 rm -rf conftest*
6069 eval "ac_cv_func_$ac_func=no"
6071 rm -f conftest*
6074 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6075 echo "$ac_t""yes" 1>&6
6076 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6077 cat >> confdefs.h <<EOF
6078 #define $ac_tr_func 1
6081 else
6082 echo "$ac_t""no" 1>&6
6084 done
6089 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
6090 echo "configure:6091: checking for atan2f declaration" >&5
6091 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
6092 echo $ac_n "(cached) $ac_c" 1>&6
6093 else
6096 ac_ext=C
6097 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6098 ac_cpp='$CXXCPP $CPPFLAGS'
6099 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6100 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6101 cross_compiling=$ac_cv_prog_cxx_cross
6103 cat > conftest.$ac_ext <<EOF
6104 #line 6105 "configure"
6105 #include "confdefs.h"
6106 #include <math.h>
6107 int main() {
6108 atan2f(0, 0);
6109 ; return 0; }
6111 if { (eval echo configure:6112: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6112 rm -rf conftest*
6113 glibcpp_cv_func_atan2f_use=yes
6114 else
6115 echo "configure: failed program was:" >&5
6116 cat conftest.$ac_ext >&5
6117 rm -rf conftest*
6118 glibcpp_cv_func_atan2f_use=no
6120 rm -f conftest*
6121 ac_ext=c
6122 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6123 ac_cpp='$CPP $CPPFLAGS'
6124 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6125 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6126 cross_compiling=$ac_cv_prog_cc_cross
6131 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
6132 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
6133 for ac_func in atan2f
6135 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6136 echo "configure:6137: checking for $ac_func" >&5
6137 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6138 echo $ac_n "(cached) $ac_c" 1>&6
6139 else
6140 cat > conftest.$ac_ext <<EOF
6141 #line 6142 "configure"
6142 #include "confdefs.h"
6143 /* System header to define __stub macros and hopefully few prototypes,
6144 which can conflict with char $ac_func(); below. */
6145 #include <assert.h>
6146 /* Override any gcc2 internal prototype to avoid an error. */
6147 /* We use char because int might match the return type of a gcc2
6148 builtin and then its argument prototype would still apply. */
6149 char $ac_func();
6151 int main() {
6153 /* The GNU C library defines this for functions which it implements
6154 to always fail with ENOSYS. Some functions are actually named
6155 something starting with __ and the normal name is an alias. */
6156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6157 choke me
6158 #else
6159 $ac_func();
6160 #endif
6162 ; return 0; }
6164 if { (eval echo configure:6165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6165 rm -rf conftest*
6166 eval "ac_cv_func_$ac_func=yes"
6167 else
6168 echo "configure: failed program was:" >&5
6169 cat conftest.$ac_ext >&5
6170 rm -rf conftest*
6171 eval "ac_cv_func_$ac_func=no"
6173 rm -f conftest*
6176 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6177 echo "$ac_t""yes" 1>&6
6178 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6179 cat >> confdefs.h <<EOF
6180 #define $ac_tr_func 1
6183 else
6184 echo "$ac_t""no" 1>&6
6186 done
6191 echo $ac_n "checking for ceilf declaration""... $ac_c" 1>&6
6192 echo "configure:6193: checking for ceilf declaration" >&5
6193 if eval "test \"`echo '$''{'glibcpp_cv_func_ceilf_use'+set}'`\" = set"; then
6194 echo $ac_n "(cached) $ac_c" 1>&6
6195 else
6198 ac_ext=C
6199 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6200 ac_cpp='$CXXCPP $CPPFLAGS'
6201 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6202 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6203 cross_compiling=$ac_cv_prog_cxx_cross
6205 cat > conftest.$ac_ext <<EOF
6206 #line 6207 "configure"
6207 #include "confdefs.h"
6208 #include <math.h>
6209 int main() {
6210 ceilf(0);
6211 ; return 0; }
6213 if { (eval echo configure:6214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6214 rm -rf conftest*
6215 glibcpp_cv_func_ceilf_use=yes
6216 else
6217 echo "configure: failed program was:" >&5
6218 cat conftest.$ac_ext >&5
6219 rm -rf conftest*
6220 glibcpp_cv_func_ceilf_use=no
6222 rm -f conftest*
6223 ac_ext=c
6224 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6225 ac_cpp='$CPP $CPPFLAGS'
6226 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6227 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6228 cross_compiling=$ac_cv_prog_cc_cross
6233 echo "$ac_t""$glibcpp_cv_func_ceilf_use" 1>&6
6234 if test x$glibcpp_cv_func_ceilf_use = x"yes"; then
6235 for ac_func in ceilf
6237 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6238 echo "configure:6239: checking for $ac_func" >&5
6239 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6240 echo $ac_n "(cached) $ac_c" 1>&6
6241 else
6242 cat > conftest.$ac_ext <<EOF
6243 #line 6244 "configure"
6244 #include "confdefs.h"
6245 /* System header to define __stub macros and hopefully few prototypes,
6246 which can conflict with char $ac_func(); below. */
6247 #include <assert.h>
6248 /* Override any gcc2 internal prototype to avoid an error. */
6249 /* We use char because int might match the return type of a gcc2
6250 builtin and then its argument prototype would still apply. */
6251 char $ac_func();
6253 int main() {
6255 /* The GNU C library defines this for functions which it implements
6256 to always fail with ENOSYS. Some functions are actually named
6257 something starting with __ and the normal name is an alias. */
6258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6259 choke me
6260 #else
6261 $ac_func();
6262 #endif
6264 ; return 0; }
6266 if { (eval echo configure:6267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6267 rm -rf conftest*
6268 eval "ac_cv_func_$ac_func=yes"
6269 else
6270 echo "configure: failed program was:" >&5
6271 cat conftest.$ac_ext >&5
6272 rm -rf conftest*
6273 eval "ac_cv_func_$ac_func=no"
6275 rm -f conftest*
6278 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6279 echo "$ac_t""yes" 1>&6
6280 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6281 cat >> confdefs.h <<EOF
6282 #define $ac_tr_func 1
6285 else
6286 echo "$ac_t""no" 1>&6
6288 done
6293 echo $ac_n "checking for cosf declaration""... $ac_c" 1>&6
6294 echo "configure:6295: checking for cosf declaration" >&5
6295 if eval "test \"`echo '$''{'glibcpp_cv_func_cosf_use'+set}'`\" = set"; then
6296 echo $ac_n "(cached) $ac_c" 1>&6
6297 else
6300 ac_ext=C
6301 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6302 ac_cpp='$CXXCPP $CPPFLAGS'
6303 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6304 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6305 cross_compiling=$ac_cv_prog_cxx_cross
6307 cat > conftest.$ac_ext <<EOF
6308 #line 6309 "configure"
6309 #include "confdefs.h"
6310 #include <math.h>
6311 int main() {
6312 cosf(0);
6313 ; return 0; }
6315 if { (eval echo configure:6316: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6316 rm -rf conftest*
6317 glibcpp_cv_func_cosf_use=yes
6318 else
6319 echo "configure: failed program was:" >&5
6320 cat conftest.$ac_ext >&5
6321 rm -rf conftest*
6322 glibcpp_cv_func_cosf_use=no
6324 rm -f conftest*
6325 ac_ext=c
6326 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6327 ac_cpp='$CPP $CPPFLAGS'
6328 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6329 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6330 cross_compiling=$ac_cv_prog_cc_cross
6335 echo "$ac_t""$glibcpp_cv_func_cosf_use" 1>&6
6336 if test x$glibcpp_cv_func_cosf_use = x"yes"; then
6337 for ac_func in cosf
6339 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6340 echo "configure:6341: checking for $ac_func" >&5
6341 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6342 echo $ac_n "(cached) $ac_c" 1>&6
6343 else
6344 cat > conftest.$ac_ext <<EOF
6345 #line 6346 "configure"
6346 #include "confdefs.h"
6347 /* System header to define __stub macros and hopefully few prototypes,
6348 which can conflict with char $ac_func(); below. */
6349 #include <assert.h>
6350 /* Override any gcc2 internal prototype to avoid an error. */
6351 /* We use char because int might match the return type of a gcc2
6352 builtin and then its argument prototype would still apply. */
6353 char $ac_func();
6355 int main() {
6357 /* The GNU C library defines this for functions which it implements
6358 to always fail with ENOSYS. Some functions are actually named
6359 something starting with __ and the normal name is an alias. */
6360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6361 choke me
6362 #else
6363 $ac_func();
6364 #endif
6366 ; return 0; }
6368 if { (eval echo configure:6369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6369 rm -rf conftest*
6370 eval "ac_cv_func_$ac_func=yes"
6371 else
6372 echo "configure: failed program was:" >&5
6373 cat conftest.$ac_ext >&5
6374 rm -rf conftest*
6375 eval "ac_cv_func_$ac_func=no"
6377 rm -f conftest*
6380 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6381 echo "$ac_t""yes" 1>&6
6382 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6383 cat >> confdefs.h <<EOF
6384 #define $ac_tr_func 1
6387 else
6388 echo "$ac_t""no" 1>&6
6390 done
6395 echo $ac_n "checking for coshf declaration""... $ac_c" 1>&6
6396 echo "configure:6397: checking for coshf declaration" >&5
6397 if eval "test \"`echo '$''{'glibcpp_cv_func_coshf_use'+set}'`\" = set"; then
6398 echo $ac_n "(cached) $ac_c" 1>&6
6399 else
6402 ac_ext=C
6403 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6404 ac_cpp='$CXXCPP $CPPFLAGS'
6405 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6406 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6407 cross_compiling=$ac_cv_prog_cxx_cross
6409 cat > conftest.$ac_ext <<EOF
6410 #line 6411 "configure"
6411 #include "confdefs.h"
6412 #include <math.h>
6413 int main() {
6414 coshf(0);
6415 ; return 0; }
6417 if { (eval echo configure:6418: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6418 rm -rf conftest*
6419 glibcpp_cv_func_coshf_use=yes
6420 else
6421 echo "configure: failed program was:" >&5
6422 cat conftest.$ac_ext >&5
6423 rm -rf conftest*
6424 glibcpp_cv_func_coshf_use=no
6426 rm -f conftest*
6427 ac_ext=c
6428 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6429 ac_cpp='$CPP $CPPFLAGS'
6430 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6431 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6432 cross_compiling=$ac_cv_prog_cc_cross
6437 echo "$ac_t""$glibcpp_cv_func_coshf_use" 1>&6
6438 if test x$glibcpp_cv_func_coshf_use = x"yes"; then
6439 for ac_func in coshf
6441 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6442 echo "configure:6443: checking for $ac_func" >&5
6443 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6444 echo $ac_n "(cached) $ac_c" 1>&6
6445 else
6446 cat > conftest.$ac_ext <<EOF
6447 #line 6448 "configure"
6448 #include "confdefs.h"
6449 /* System header to define __stub macros and hopefully few prototypes,
6450 which can conflict with char $ac_func(); below. */
6451 #include <assert.h>
6452 /* Override any gcc2 internal prototype to avoid an error. */
6453 /* We use char because int might match the return type of a gcc2
6454 builtin and then its argument prototype would still apply. */
6455 char $ac_func();
6457 int main() {
6459 /* The GNU C library defines this for functions which it implements
6460 to always fail with ENOSYS. Some functions are actually named
6461 something starting with __ and the normal name is an alias. */
6462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6463 choke me
6464 #else
6465 $ac_func();
6466 #endif
6468 ; return 0; }
6470 if { (eval echo configure:6471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6471 rm -rf conftest*
6472 eval "ac_cv_func_$ac_func=yes"
6473 else
6474 echo "configure: failed program was:" >&5
6475 cat conftest.$ac_ext >&5
6476 rm -rf conftest*
6477 eval "ac_cv_func_$ac_func=no"
6479 rm -f conftest*
6482 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6483 echo "$ac_t""yes" 1>&6
6484 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6485 cat >> confdefs.h <<EOF
6486 #define $ac_tr_func 1
6489 else
6490 echo "$ac_t""no" 1>&6
6492 done
6497 echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
6498 echo "configure:6499: checking for expf declaration" >&5
6499 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
6500 echo $ac_n "(cached) $ac_c" 1>&6
6501 else
6504 ac_ext=C
6505 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6506 ac_cpp='$CXXCPP $CPPFLAGS'
6507 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6508 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6509 cross_compiling=$ac_cv_prog_cxx_cross
6511 cat > conftest.$ac_ext <<EOF
6512 #line 6513 "configure"
6513 #include "confdefs.h"
6514 #include <math.h>
6515 int main() {
6516 expf(0);
6517 ; return 0; }
6519 if { (eval echo configure:6520: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6520 rm -rf conftest*
6521 glibcpp_cv_func_expf_use=yes
6522 else
6523 echo "configure: failed program was:" >&5
6524 cat conftest.$ac_ext >&5
6525 rm -rf conftest*
6526 glibcpp_cv_func_expf_use=no
6528 rm -f conftest*
6529 ac_ext=c
6530 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6531 ac_cpp='$CPP $CPPFLAGS'
6532 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6533 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6534 cross_compiling=$ac_cv_prog_cc_cross
6539 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
6540 if test x$glibcpp_cv_func_expf_use = x"yes"; then
6541 for ac_func in expf
6543 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6544 echo "configure:6545: checking for $ac_func" >&5
6545 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6546 echo $ac_n "(cached) $ac_c" 1>&6
6547 else
6548 cat > conftest.$ac_ext <<EOF
6549 #line 6550 "configure"
6550 #include "confdefs.h"
6551 /* System header to define __stub macros and hopefully few prototypes,
6552 which can conflict with char $ac_func(); below. */
6553 #include <assert.h>
6554 /* Override any gcc2 internal prototype to avoid an error. */
6555 /* We use char because int might match the return type of a gcc2
6556 builtin and then its argument prototype would still apply. */
6557 char $ac_func();
6559 int main() {
6561 /* The GNU C library defines this for functions which it implements
6562 to always fail with ENOSYS. Some functions are actually named
6563 something starting with __ and the normal name is an alias. */
6564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6565 choke me
6566 #else
6567 $ac_func();
6568 #endif
6570 ; return 0; }
6572 if { (eval echo configure:6573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6573 rm -rf conftest*
6574 eval "ac_cv_func_$ac_func=yes"
6575 else
6576 echo "configure: failed program was:" >&5
6577 cat conftest.$ac_ext >&5
6578 rm -rf conftest*
6579 eval "ac_cv_func_$ac_func=no"
6581 rm -f conftest*
6584 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6585 echo "$ac_t""yes" 1>&6
6586 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6587 cat >> confdefs.h <<EOF
6588 #define $ac_tr_func 1
6591 else
6592 echo "$ac_t""no" 1>&6
6594 done
6599 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
6600 echo "configure:6601: checking for fabsf declaration" >&5
6601 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
6602 echo $ac_n "(cached) $ac_c" 1>&6
6603 else
6606 ac_ext=C
6607 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6608 ac_cpp='$CXXCPP $CPPFLAGS'
6609 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6610 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6611 cross_compiling=$ac_cv_prog_cxx_cross
6613 cat > conftest.$ac_ext <<EOF
6614 #line 6615 "configure"
6615 #include "confdefs.h"
6616 #include <math.h>
6617 int main() {
6618 fabsf(0);
6619 ; return 0; }
6621 if { (eval echo configure:6622: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6622 rm -rf conftest*
6623 glibcpp_cv_func_fabsf_use=yes
6624 else
6625 echo "configure: failed program was:" >&5
6626 cat conftest.$ac_ext >&5
6627 rm -rf conftest*
6628 glibcpp_cv_func_fabsf_use=no
6630 rm -f conftest*
6631 ac_ext=c
6632 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6633 ac_cpp='$CPP $CPPFLAGS'
6634 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6635 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6636 cross_compiling=$ac_cv_prog_cc_cross
6641 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
6642 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
6643 for ac_func in fabsf
6645 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6646 echo "configure:6647: checking for $ac_func" >&5
6647 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6648 echo $ac_n "(cached) $ac_c" 1>&6
6649 else
6650 cat > conftest.$ac_ext <<EOF
6651 #line 6652 "configure"
6652 #include "confdefs.h"
6653 /* System header to define __stub macros and hopefully few prototypes,
6654 which can conflict with char $ac_func(); below. */
6655 #include <assert.h>
6656 /* Override any gcc2 internal prototype to avoid an error. */
6657 /* We use char because int might match the return type of a gcc2
6658 builtin and then its argument prototype would still apply. */
6659 char $ac_func();
6661 int main() {
6663 /* The GNU C library defines this for functions which it implements
6664 to always fail with ENOSYS. Some functions are actually named
6665 something starting with __ and the normal name is an alias. */
6666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6667 choke me
6668 #else
6669 $ac_func();
6670 #endif
6672 ; return 0; }
6674 if { (eval echo configure:6675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6675 rm -rf conftest*
6676 eval "ac_cv_func_$ac_func=yes"
6677 else
6678 echo "configure: failed program was:" >&5
6679 cat conftest.$ac_ext >&5
6680 rm -rf conftest*
6681 eval "ac_cv_func_$ac_func=no"
6683 rm -f conftest*
6686 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6687 echo "$ac_t""yes" 1>&6
6688 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6689 cat >> confdefs.h <<EOF
6690 #define $ac_tr_func 1
6693 else
6694 echo "$ac_t""no" 1>&6
6696 done
6701 echo $ac_n "checking for floorf declaration""... $ac_c" 1>&6
6702 echo "configure:6703: checking for floorf declaration" >&5
6703 if eval "test \"`echo '$''{'glibcpp_cv_func_floorf_use'+set}'`\" = set"; then
6704 echo $ac_n "(cached) $ac_c" 1>&6
6705 else
6708 ac_ext=C
6709 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6710 ac_cpp='$CXXCPP $CPPFLAGS'
6711 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6712 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6713 cross_compiling=$ac_cv_prog_cxx_cross
6715 cat > conftest.$ac_ext <<EOF
6716 #line 6717 "configure"
6717 #include "confdefs.h"
6718 #include <math.h>
6719 int main() {
6720 floorf(0);
6721 ; return 0; }
6723 if { (eval echo configure:6724: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6724 rm -rf conftest*
6725 glibcpp_cv_func_floorf_use=yes
6726 else
6727 echo "configure: failed program was:" >&5
6728 cat conftest.$ac_ext >&5
6729 rm -rf conftest*
6730 glibcpp_cv_func_floorf_use=no
6732 rm -f conftest*
6733 ac_ext=c
6734 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6735 ac_cpp='$CPP $CPPFLAGS'
6736 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6737 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6738 cross_compiling=$ac_cv_prog_cc_cross
6743 echo "$ac_t""$glibcpp_cv_func_floorf_use" 1>&6
6744 if test x$glibcpp_cv_func_floorf_use = x"yes"; then
6745 for ac_func in floorf
6747 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6748 echo "configure:6749: checking for $ac_func" >&5
6749 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6750 echo $ac_n "(cached) $ac_c" 1>&6
6751 else
6752 cat > conftest.$ac_ext <<EOF
6753 #line 6754 "configure"
6754 #include "confdefs.h"
6755 /* System header to define __stub macros and hopefully few prototypes,
6756 which can conflict with char $ac_func(); below. */
6757 #include <assert.h>
6758 /* Override any gcc2 internal prototype to avoid an error. */
6759 /* We use char because int might match the return type of a gcc2
6760 builtin and then its argument prototype would still apply. */
6761 char $ac_func();
6763 int main() {
6765 /* The GNU C library defines this for functions which it implements
6766 to always fail with ENOSYS. Some functions are actually named
6767 something starting with __ and the normal name is an alias. */
6768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6769 choke me
6770 #else
6771 $ac_func();
6772 #endif
6774 ; return 0; }
6776 if { (eval echo configure:6777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6777 rm -rf conftest*
6778 eval "ac_cv_func_$ac_func=yes"
6779 else
6780 echo "configure: failed program was:" >&5
6781 cat conftest.$ac_ext >&5
6782 rm -rf conftest*
6783 eval "ac_cv_func_$ac_func=no"
6785 rm -f conftest*
6788 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6789 echo "$ac_t""yes" 1>&6
6790 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6791 cat >> confdefs.h <<EOF
6792 #define $ac_tr_func 1
6795 else
6796 echo "$ac_t""no" 1>&6
6798 done
6803 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
6804 echo "configure:6805: checking for fmodf declaration" >&5
6805 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
6806 echo $ac_n "(cached) $ac_c" 1>&6
6807 else
6810 ac_ext=C
6811 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6812 ac_cpp='$CXXCPP $CPPFLAGS'
6813 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6814 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6815 cross_compiling=$ac_cv_prog_cxx_cross
6817 cat > conftest.$ac_ext <<EOF
6818 #line 6819 "configure"
6819 #include "confdefs.h"
6820 #include <math.h>
6821 int main() {
6822 fmodf(0, 0);
6823 ; return 0; }
6825 if { (eval echo configure:6826: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6826 rm -rf conftest*
6827 glibcpp_cv_func_fmodf_use=yes
6828 else
6829 echo "configure: failed program was:" >&5
6830 cat conftest.$ac_ext >&5
6831 rm -rf conftest*
6832 glibcpp_cv_func_fmodf_use=no
6834 rm -f conftest*
6835 ac_ext=c
6836 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6837 ac_cpp='$CPP $CPPFLAGS'
6838 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6839 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6840 cross_compiling=$ac_cv_prog_cc_cross
6845 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
6846 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
6847 for ac_func in fmodf
6849 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6850 echo "configure:6851: checking for $ac_func" >&5
6851 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6852 echo $ac_n "(cached) $ac_c" 1>&6
6853 else
6854 cat > conftest.$ac_ext <<EOF
6855 #line 6856 "configure"
6856 #include "confdefs.h"
6857 /* System header to define __stub macros and hopefully few prototypes,
6858 which can conflict with char $ac_func(); below. */
6859 #include <assert.h>
6860 /* Override any gcc2 internal prototype to avoid an error. */
6861 /* We use char because int might match the return type of a gcc2
6862 builtin and then its argument prototype would still apply. */
6863 char $ac_func();
6865 int main() {
6867 /* The GNU C library defines this for functions which it implements
6868 to always fail with ENOSYS. Some functions are actually named
6869 something starting with __ and the normal name is an alias. */
6870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6871 choke me
6872 #else
6873 $ac_func();
6874 #endif
6876 ; return 0; }
6878 if { (eval echo configure:6879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6879 rm -rf conftest*
6880 eval "ac_cv_func_$ac_func=yes"
6881 else
6882 echo "configure: failed program was:" >&5
6883 cat conftest.$ac_ext >&5
6884 rm -rf conftest*
6885 eval "ac_cv_func_$ac_func=no"
6887 rm -f conftest*
6890 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6891 echo "$ac_t""yes" 1>&6
6892 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6893 cat >> confdefs.h <<EOF
6894 #define $ac_tr_func 1
6897 else
6898 echo "$ac_t""no" 1>&6
6900 done
6905 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
6906 echo "configure:6907: checking for frexpf declaration" >&5
6907 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
6908 echo $ac_n "(cached) $ac_c" 1>&6
6909 else
6912 ac_ext=C
6913 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6914 ac_cpp='$CXXCPP $CPPFLAGS'
6915 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6916 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6917 cross_compiling=$ac_cv_prog_cxx_cross
6919 cat > conftest.$ac_ext <<EOF
6920 #line 6921 "configure"
6921 #include "confdefs.h"
6922 #include <math.h>
6923 int main() {
6924 frexpf(0, 0);
6925 ; return 0; }
6927 if { (eval echo configure:6928: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6928 rm -rf conftest*
6929 glibcpp_cv_func_frexpf_use=yes
6930 else
6931 echo "configure: failed program was:" >&5
6932 cat conftest.$ac_ext >&5
6933 rm -rf conftest*
6934 glibcpp_cv_func_frexpf_use=no
6936 rm -f conftest*
6937 ac_ext=c
6938 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6939 ac_cpp='$CPP $CPPFLAGS'
6940 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6941 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6942 cross_compiling=$ac_cv_prog_cc_cross
6947 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
6948 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
6949 for ac_func in frexpf
6951 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6952 echo "configure:6953: checking for $ac_func" >&5
6953 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6954 echo $ac_n "(cached) $ac_c" 1>&6
6955 else
6956 cat > conftest.$ac_ext <<EOF
6957 #line 6958 "configure"
6958 #include "confdefs.h"
6959 /* System header to define __stub macros and hopefully few prototypes,
6960 which can conflict with char $ac_func(); below. */
6961 #include <assert.h>
6962 /* Override any gcc2 internal prototype to avoid an error. */
6963 /* We use char because int might match the return type of a gcc2
6964 builtin and then its argument prototype would still apply. */
6965 char $ac_func();
6967 int main() {
6969 /* The GNU C library defines this for functions which it implements
6970 to always fail with ENOSYS. Some functions are actually named
6971 something starting with __ and the normal name is an alias. */
6972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6973 choke me
6974 #else
6975 $ac_func();
6976 #endif
6978 ; return 0; }
6980 if { (eval echo configure:6981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6981 rm -rf conftest*
6982 eval "ac_cv_func_$ac_func=yes"
6983 else
6984 echo "configure: failed program was:" >&5
6985 cat conftest.$ac_ext >&5
6986 rm -rf conftest*
6987 eval "ac_cv_func_$ac_func=no"
6989 rm -f conftest*
6992 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6993 echo "$ac_t""yes" 1>&6
6994 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6995 cat >> confdefs.h <<EOF
6996 #define $ac_tr_func 1
6999 else
7000 echo "$ac_t""no" 1>&6
7002 done
7007 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
7008 echo "configure:7009: checking for ldexpf declaration" >&5
7009 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
7010 echo $ac_n "(cached) $ac_c" 1>&6
7011 else
7014 ac_ext=C
7015 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7016 ac_cpp='$CXXCPP $CPPFLAGS'
7017 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7018 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7019 cross_compiling=$ac_cv_prog_cxx_cross
7021 cat > conftest.$ac_ext <<EOF
7022 #line 7023 "configure"
7023 #include "confdefs.h"
7024 #include <math.h>
7025 int main() {
7026 ldexpf(0, 0);
7027 ; return 0; }
7029 if { (eval echo configure:7030: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7030 rm -rf conftest*
7031 glibcpp_cv_func_ldexpf_use=yes
7032 else
7033 echo "configure: failed program was:" >&5
7034 cat conftest.$ac_ext >&5
7035 rm -rf conftest*
7036 glibcpp_cv_func_ldexpf_use=no
7038 rm -f conftest*
7039 ac_ext=c
7040 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7041 ac_cpp='$CPP $CPPFLAGS'
7042 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7043 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7044 cross_compiling=$ac_cv_prog_cc_cross
7049 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
7050 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
7051 for ac_func in ldexpf
7053 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7054 echo "configure:7055: checking for $ac_func" >&5
7055 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7056 echo $ac_n "(cached) $ac_c" 1>&6
7057 else
7058 cat > conftest.$ac_ext <<EOF
7059 #line 7060 "configure"
7060 #include "confdefs.h"
7061 /* System header to define __stub macros and hopefully few prototypes,
7062 which can conflict with char $ac_func(); below. */
7063 #include <assert.h>
7064 /* Override any gcc2 internal prototype to avoid an error. */
7065 /* We use char because int might match the return type of a gcc2
7066 builtin and then its argument prototype would still apply. */
7067 char $ac_func();
7069 int main() {
7071 /* The GNU C library defines this for functions which it implements
7072 to always fail with ENOSYS. Some functions are actually named
7073 something starting with __ and the normal name is an alias. */
7074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7075 choke me
7076 #else
7077 $ac_func();
7078 #endif
7080 ; return 0; }
7082 if { (eval echo configure:7083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7083 rm -rf conftest*
7084 eval "ac_cv_func_$ac_func=yes"
7085 else
7086 echo "configure: failed program was:" >&5
7087 cat conftest.$ac_ext >&5
7088 rm -rf conftest*
7089 eval "ac_cv_func_$ac_func=no"
7091 rm -f conftest*
7094 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7095 echo "$ac_t""yes" 1>&6
7096 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7097 cat >> confdefs.h <<EOF
7098 #define $ac_tr_func 1
7101 else
7102 echo "$ac_t""no" 1>&6
7104 done
7109 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
7110 echo "configure:7111: checking for logf declaration" >&5
7111 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
7112 echo $ac_n "(cached) $ac_c" 1>&6
7113 else
7116 ac_ext=C
7117 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7118 ac_cpp='$CXXCPP $CPPFLAGS'
7119 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7120 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7121 cross_compiling=$ac_cv_prog_cxx_cross
7123 cat > conftest.$ac_ext <<EOF
7124 #line 7125 "configure"
7125 #include "confdefs.h"
7126 #include <math.h>
7127 int main() {
7128 logf(0);
7129 ; return 0; }
7131 if { (eval echo configure:7132: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7132 rm -rf conftest*
7133 glibcpp_cv_func_logf_use=yes
7134 else
7135 echo "configure: failed program was:" >&5
7136 cat conftest.$ac_ext >&5
7137 rm -rf conftest*
7138 glibcpp_cv_func_logf_use=no
7140 rm -f conftest*
7141 ac_ext=c
7142 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7143 ac_cpp='$CPP $CPPFLAGS'
7144 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7145 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7146 cross_compiling=$ac_cv_prog_cc_cross
7151 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
7152 if test x$glibcpp_cv_func_logf_use = x"yes"; then
7153 for ac_func in logf
7155 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7156 echo "configure:7157: checking for $ac_func" >&5
7157 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7158 echo $ac_n "(cached) $ac_c" 1>&6
7159 else
7160 cat > conftest.$ac_ext <<EOF
7161 #line 7162 "configure"
7162 #include "confdefs.h"
7163 /* System header to define __stub macros and hopefully few prototypes,
7164 which can conflict with char $ac_func(); below. */
7165 #include <assert.h>
7166 /* Override any gcc2 internal prototype to avoid an error. */
7167 /* We use char because int might match the return type of a gcc2
7168 builtin and then its argument prototype would still apply. */
7169 char $ac_func();
7171 int main() {
7173 /* The GNU C library defines this for functions which it implements
7174 to always fail with ENOSYS. Some functions are actually named
7175 something starting with __ and the normal name is an alias. */
7176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7177 choke me
7178 #else
7179 $ac_func();
7180 #endif
7182 ; return 0; }
7184 if { (eval echo configure:7185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7185 rm -rf conftest*
7186 eval "ac_cv_func_$ac_func=yes"
7187 else
7188 echo "configure: failed program was:" >&5
7189 cat conftest.$ac_ext >&5
7190 rm -rf conftest*
7191 eval "ac_cv_func_$ac_func=no"
7193 rm -f conftest*
7196 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7197 echo "$ac_t""yes" 1>&6
7198 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7199 cat >> confdefs.h <<EOF
7200 #define $ac_tr_func 1
7203 else
7204 echo "$ac_t""no" 1>&6
7206 done
7211 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
7212 echo "configure:7213: checking for log10f declaration" >&5
7213 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
7214 echo $ac_n "(cached) $ac_c" 1>&6
7215 else
7218 ac_ext=C
7219 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7220 ac_cpp='$CXXCPP $CPPFLAGS'
7221 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7222 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7223 cross_compiling=$ac_cv_prog_cxx_cross
7225 cat > conftest.$ac_ext <<EOF
7226 #line 7227 "configure"
7227 #include "confdefs.h"
7228 #include <math.h>
7229 int main() {
7230 log10f(0);
7231 ; return 0; }
7233 if { (eval echo configure:7234: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7234 rm -rf conftest*
7235 glibcpp_cv_func_log10f_use=yes
7236 else
7237 echo "configure: failed program was:" >&5
7238 cat conftest.$ac_ext >&5
7239 rm -rf conftest*
7240 glibcpp_cv_func_log10f_use=no
7242 rm -f conftest*
7243 ac_ext=c
7244 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7245 ac_cpp='$CPP $CPPFLAGS'
7246 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7247 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7248 cross_compiling=$ac_cv_prog_cc_cross
7253 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
7254 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
7255 for ac_func in log10f
7257 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7258 echo "configure:7259: checking for $ac_func" >&5
7259 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7260 echo $ac_n "(cached) $ac_c" 1>&6
7261 else
7262 cat > conftest.$ac_ext <<EOF
7263 #line 7264 "configure"
7264 #include "confdefs.h"
7265 /* System header to define __stub macros and hopefully few prototypes,
7266 which can conflict with char $ac_func(); below. */
7267 #include <assert.h>
7268 /* Override any gcc2 internal prototype to avoid an error. */
7269 /* We use char because int might match the return type of a gcc2
7270 builtin and then its argument prototype would still apply. */
7271 char $ac_func();
7273 int main() {
7275 /* The GNU C library defines this for functions which it implements
7276 to always fail with ENOSYS. Some functions are actually named
7277 something starting with __ and the normal name is an alias. */
7278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7279 choke me
7280 #else
7281 $ac_func();
7282 #endif
7284 ; return 0; }
7286 if { (eval echo configure:7287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7287 rm -rf conftest*
7288 eval "ac_cv_func_$ac_func=yes"
7289 else
7290 echo "configure: failed program was:" >&5
7291 cat conftest.$ac_ext >&5
7292 rm -rf conftest*
7293 eval "ac_cv_func_$ac_func=no"
7295 rm -f conftest*
7298 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7299 echo "$ac_t""yes" 1>&6
7300 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7301 cat >> confdefs.h <<EOF
7302 #define $ac_tr_func 1
7305 else
7306 echo "$ac_t""no" 1>&6
7308 done
7313 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
7314 echo "configure:7315: checking for modff declaration" >&5
7315 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
7316 echo $ac_n "(cached) $ac_c" 1>&6
7317 else
7320 ac_ext=C
7321 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7322 ac_cpp='$CXXCPP $CPPFLAGS'
7323 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7324 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7325 cross_compiling=$ac_cv_prog_cxx_cross
7327 cat > conftest.$ac_ext <<EOF
7328 #line 7329 "configure"
7329 #include "confdefs.h"
7330 #include <math.h>
7331 int main() {
7332 modff(0, 0);
7333 ; return 0; }
7335 if { (eval echo configure:7336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7336 rm -rf conftest*
7337 glibcpp_cv_func_modff_use=yes
7338 else
7339 echo "configure: failed program was:" >&5
7340 cat conftest.$ac_ext >&5
7341 rm -rf conftest*
7342 glibcpp_cv_func_modff_use=no
7344 rm -f conftest*
7345 ac_ext=c
7346 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7347 ac_cpp='$CPP $CPPFLAGS'
7348 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7349 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7350 cross_compiling=$ac_cv_prog_cc_cross
7355 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
7356 if test x$glibcpp_cv_func_modff_use = x"yes"; then
7357 for ac_func in modff
7359 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7360 echo "configure:7361: checking for $ac_func" >&5
7361 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7362 echo $ac_n "(cached) $ac_c" 1>&6
7363 else
7364 cat > conftest.$ac_ext <<EOF
7365 #line 7366 "configure"
7366 #include "confdefs.h"
7367 /* System header to define __stub macros and hopefully few prototypes,
7368 which can conflict with char $ac_func(); below. */
7369 #include <assert.h>
7370 /* Override any gcc2 internal prototype to avoid an error. */
7371 /* We use char because int might match the return type of a gcc2
7372 builtin and then its argument prototype would still apply. */
7373 char $ac_func();
7375 int main() {
7377 /* The GNU C library defines this for functions which it implements
7378 to always fail with ENOSYS. Some functions are actually named
7379 something starting with __ and the normal name is an alias. */
7380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7381 choke me
7382 #else
7383 $ac_func();
7384 #endif
7386 ; return 0; }
7388 if { (eval echo configure:7389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7389 rm -rf conftest*
7390 eval "ac_cv_func_$ac_func=yes"
7391 else
7392 echo "configure: failed program was:" >&5
7393 cat conftest.$ac_ext >&5
7394 rm -rf conftest*
7395 eval "ac_cv_func_$ac_func=no"
7397 rm -f conftest*
7400 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7401 echo "$ac_t""yes" 1>&6
7402 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7403 cat >> confdefs.h <<EOF
7404 #define $ac_tr_func 1
7407 else
7408 echo "$ac_t""no" 1>&6
7410 done
7415 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
7416 echo "configure:7417: checking for powf declaration" >&5
7417 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
7418 echo $ac_n "(cached) $ac_c" 1>&6
7419 else
7422 ac_ext=C
7423 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7424 ac_cpp='$CXXCPP $CPPFLAGS'
7425 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7426 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7427 cross_compiling=$ac_cv_prog_cxx_cross
7429 cat > conftest.$ac_ext <<EOF
7430 #line 7431 "configure"
7431 #include "confdefs.h"
7432 #include <math.h>
7433 int main() {
7434 powf(0, 0);
7435 ; return 0; }
7437 if { (eval echo configure:7438: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7438 rm -rf conftest*
7439 glibcpp_cv_func_powf_use=yes
7440 else
7441 echo "configure: failed program was:" >&5
7442 cat conftest.$ac_ext >&5
7443 rm -rf conftest*
7444 glibcpp_cv_func_powf_use=no
7446 rm -f conftest*
7447 ac_ext=c
7448 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7449 ac_cpp='$CPP $CPPFLAGS'
7450 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7451 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7452 cross_compiling=$ac_cv_prog_cc_cross
7457 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
7458 if test x$glibcpp_cv_func_powf_use = x"yes"; then
7459 for ac_func in powf
7461 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7462 echo "configure:7463: checking for $ac_func" >&5
7463 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7464 echo $ac_n "(cached) $ac_c" 1>&6
7465 else
7466 cat > conftest.$ac_ext <<EOF
7467 #line 7468 "configure"
7468 #include "confdefs.h"
7469 /* System header to define __stub macros and hopefully few prototypes,
7470 which can conflict with char $ac_func(); below. */
7471 #include <assert.h>
7472 /* Override any gcc2 internal prototype to avoid an error. */
7473 /* We use char because int might match the return type of a gcc2
7474 builtin and then its argument prototype would still apply. */
7475 char $ac_func();
7477 int main() {
7479 /* The GNU C library defines this for functions which it implements
7480 to always fail with ENOSYS. Some functions are actually named
7481 something starting with __ and the normal name is an alias. */
7482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7483 choke me
7484 #else
7485 $ac_func();
7486 #endif
7488 ; return 0; }
7490 if { (eval echo configure:7491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7491 rm -rf conftest*
7492 eval "ac_cv_func_$ac_func=yes"
7493 else
7494 echo "configure: failed program was:" >&5
7495 cat conftest.$ac_ext >&5
7496 rm -rf conftest*
7497 eval "ac_cv_func_$ac_func=no"
7499 rm -f conftest*
7502 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7503 echo "$ac_t""yes" 1>&6
7504 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7505 cat >> confdefs.h <<EOF
7506 #define $ac_tr_func 1
7509 else
7510 echo "$ac_t""no" 1>&6
7512 done
7517 echo $ac_n "checking for sinf declaration""... $ac_c" 1>&6
7518 echo "configure:7519: checking for sinf declaration" >&5
7519 if eval "test \"`echo '$''{'glibcpp_cv_func_sinf_use'+set}'`\" = set"; then
7520 echo $ac_n "(cached) $ac_c" 1>&6
7521 else
7524 ac_ext=C
7525 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7526 ac_cpp='$CXXCPP $CPPFLAGS'
7527 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7528 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7529 cross_compiling=$ac_cv_prog_cxx_cross
7531 cat > conftest.$ac_ext <<EOF
7532 #line 7533 "configure"
7533 #include "confdefs.h"
7534 #include <math.h>
7535 int main() {
7536 sinf(0);
7537 ; return 0; }
7539 if { (eval echo configure:7540: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7540 rm -rf conftest*
7541 glibcpp_cv_func_sinf_use=yes
7542 else
7543 echo "configure: failed program was:" >&5
7544 cat conftest.$ac_ext >&5
7545 rm -rf conftest*
7546 glibcpp_cv_func_sinf_use=no
7548 rm -f conftest*
7549 ac_ext=c
7550 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7551 ac_cpp='$CPP $CPPFLAGS'
7552 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7553 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7554 cross_compiling=$ac_cv_prog_cc_cross
7559 echo "$ac_t""$glibcpp_cv_func_sinf_use" 1>&6
7560 if test x$glibcpp_cv_func_sinf_use = x"yes"; then
7561 for ac_func in sinf
7563 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7564 echo "configure:7565: checking for $ac_func" >&5
7565 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7566 echo $ac_n "(cached) $ac_c" 1>&6
7567 else
7568 cat > conftest.$ac_ext <<EOF
7569 #line 7570 "configure"
7570 #include "confdefs.h"
7571 /* System header to define __stub macros and hopefully few prototypes,
7572 which can conflict with char $ac_func(); below. */
7573 #include <assert.h>
7574 /* Override any gcc2 internal prototype to avoid an error. */
7575 /* We use char because int might match the return type of a gcc2
7576 builtin and then its argument prototype would still apply. */
7577 char $ac_func();
7579 int main() {
7581 /* The GNU C library defines this for functions which it implements
7582 to always fail with ENOSYS. Some functions are actually named
7583 something starting with __ and the normal name is an alias. */
7584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7585 choke me
7586 #else
7587 $ac_func();
7588 #endif
7590 ; return 0; }
7592 if { (eval echo configure:7593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7593 rm -rf conftest*
7594 eval "ac_cv_func_$ac_func=yes"
7595 else
7596 echo "configure: failed program was:" >&5
7597 cat conftest.$ac_ext >&5
7598 rm -rf conftest*
7599 eval "ac_cv_func_$ac_func=no"
7601 rm -f conftest*
7604 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7605 echo "$ac_t""yes" 1>&6
7606 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7607 cat >> confdefs.h <<EOF
7608 #define $ac_tr_func 1
7611 else
7612 echo "$ac_t""no" 1>&6
7614 done
7619 echo $ac_n "checking for sinhf declaration""... $ac_c" 1>&6
7620 echo "configure:7621: checking for sinhf declaration" >&5
7621 if eval "test \"`echo '$''{'glibcpp_cv_func_sinhf_use'+set}'`\" = set"; then
7622 echo $ac_n "(cached) $ac_c" 1>&6
7623 else
7626 ac_ext=C
7627 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7628 ac_cpp='$CXXCPP $CPPFLAGS'
7629 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7630 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7631 cross_compiling=$ac_cv_prog_cxx_cross
7633 cat > conftest.$ac_ext <<EOF
7634 #line 7635 "configure"
7635 #include "confdefs.h"
7636 #include <math.h>
7637 int main() {
7638 sinhf(0);
7639 ; return 0; }
7641 if { (eval echo configure:7642: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7642 rm -rf conftest*
7643 glibcpp_cv_func_sinhf_use=yes
7644 else
7645 echo "configure: failed program was:" >&5
7646 cat conftest.$ac_ext >&5
7647 rm -rf conftest*
7648 glibcpp_cv_func_sinhf_use=no
7650 rm -f conftest*
7651 ac_ext=c
7652 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7653 ac_cpp='$CPP $CPPFLAGS'
7654 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7655 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7656 cross_compiling=$ac_cv_prog_cc_cross
7661 echo "$ac_t""$glibcpp_cv_func_sinhf_use" 1>&6
7662 if test x$glibcpp_cv_func_sinhf_use = x"yes"; then
7663 for ac_func in sinhf
7665 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7666 echo "configure:7667: checking for $ac_func" >&5
7667 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7668 echo $ac_n "(cached) $ac_c" 1>&6
7669 else
7670 cat > conftest.$ac_ext <<EOF
7671 #line 7672 "configure"
7672 #include "confdefs.h"
7673 /* System header to define __stub macros and hopefully few prototypes,
7674 which can conflict with char $ac_func(); below. */
7675 #include <assert.h>
7676 /* Override any gcc2 internal prototype to avoid an error. */
7677 /* We use char because int might match the return type of a gcc2
7678 builtin and then its argument prototype would still apply. */
7679 char $ac_func();
7681 int main() {
7683 /* The GNU C library defines this for functions which it implements
7684 to always fail with ENOSYS. Some functions are actually named
7685 something starting with __ and the normal name is an alias. */
7686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7687 choke me
7688 #else
7689 $ac_func();
7690 #endif
7692 ; return 0; }
7694 if { (eval echo configure:7695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7695 rm -rf conftest*
7696 eval "ac_cv_func_$ac_func=yes"
7697 else
7698 echo "configure: failed program was:" >&5
7699 cat conftest.$ac_ext >&5
7700 rm -rf conftest*
7701 eval "ac_cv_func_$ac_func=no"
7703 rm -f conftest*
7706 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7707 echo "$ac_t""yes" 1>&6
7708 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7709 cat >> confdefs.h <<EOF
7710 #define $ac_tr_func 1
7713 else
7714 echo "$ac_t""no" 1>&6
7716 done
7721 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
7722 echo "configure:7723: checking for sqrtf declaration" >&5
7723 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
7724 echo $ac_n "(cached) $ac_c" 1>&6
7725 else
7728 ac_ext=C
7729 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7730 ac_cpp='$CXXCPP $CPPFLAGS'
7731 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7732 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7733 cross_compiling=$ac_cv_prog_cxx_cross
7735 cat > conftest.$ac_ext <<EOF
7736 #line 7737 "configure"
7737 #include "confdefs.h"
7738 #include <math.h>
7739 int main() {
7740 sqrtf(0);
7741 ; return 0; }
7743 if { (eval echo configure:7744: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7744 rm -rf conftest*
7745 glibcpp_cv_func_sqrtf_use=yes
7746 else
7747 echo "configure: failed program was:" >&5
7748 cat conftest.$ac_ext >&5
7749 rm -rf conftest*
7750 glibcpp_cv_func_sqrtf_use=no
7752 rm -f conftest*
7753 ac_ext=c
7754 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7755 ac_cpp='$CPP $CPPFLAGS'
7756 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7757 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7758 cross_compiling=$ac_cv_prog_cc_cross
7763 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
7764 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
7765 for ac_func in sqrtf
7767 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7768 echo "configure:7769: checking for $ac_func" >&5
7769 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7770 echo $ac_n "(cached) $ac_c" 1>&6
7771 else
7772 cat > conftest.$ac_ext <<EOF
7773 #line 7774 "configure"
7774 #include "confdefs.h"
7775 /* System header to define __stub macros and hopefully few prototypes,
7776 which can conflict with char $ac_func(); below. */
7777 #include <assert.h>
7778 /* Override any gcc2 internal prototype to avoid an error. */
7779 /* We use char because int might match the return type of a gcc2
7780 builtin and then its argument prototype would still apply. */
7781 char $ac_func();
7783 int main() {
7785 /* The GNU C library defines this for functions which it implements
7786 to always fail with ENOSYS. Some functions are actually named
7787 something starting with __ and the normal name is an alias. */
7788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7789 choke me
7790 #else
7791 $ac_func();
7792 #endif
7794 ; return 0; }
7796 if { (eval echo configure:7797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7797 rm -rf conftest*
7798 eval "ac_cv_func_$ac_func=yes"
7799 else
7800 echo "configure: failed program was:" >&5
7801 cat conftest.$ac_ext >&5
7802 rm -rf conftest*
7803 eval "ac_cv_func_$ac_func=no"
7805 rm -f conftest*
7808 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7809 echo "$ac_t""yes" 1>&6
7810 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7811 cat >> confdefs.h <<EOF
7812 #define $ac_tr_func 1
7815 else
7816 echo "$ac_t""no" 1>&6
7818 done
7823 echo $ac_n "checking for tanf declaration""... $ac_c" 1>&6
7824 echo "configure:7825: checking for tanf declaration" >&5
7825 if eval "test \"`echo '$''{'glibcpp_cv_func_tanf_use'+set}'`\" = set"; then
7826 echo $ac_n "(cached) $ac_c" 1>&6
7827 else
7830 ac_ext=C
7831 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7832 ac_cpp='$CXXCPP $CPPFLAGS'
7833 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7834 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7835 cross_compiling=$ac_cv_prog_cxx_cross
7837 cat > conftest.$ac_ext <<EOF
7838 #line 7839 "configure"
7839 #include "confdefs.h"
7840 #include <math.h>
7841 int main() {
7842 tanf(0);
7843 ; return 0; }
7845 if { (eval echo configure:7846: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7846 rm -rf conftest*
7847 glibcpp_cv_func_tanf_use=yes
7848 else
7849 echo "configure: failed program was:" >&5
7850 cat conftest.$ac_ext >&5
7851 rm -rf conftest*
7852 glibcpp_cv_func_tanf_use=no
7854 rm -f conftest*
7855 ac_ext=c
7856 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7857 ac_cpp='$CPP $CPPFLAGS'
7858 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7859 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7860 cross_compiling=$ac_cv_prog_cc_cross
7865 echo "$ac_t""$glibcpp_cv_func_tanf_use" 1>&6
7866 if test x$glibcpp_cv_func_tanf_use = x"yes"; then
7867 for ac_func in tanf
7869 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7870 echo "configure:7871: checking for $ac_func" >&5
7871 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7872 echo $ac_n "(cached) $ac_c" 1>&6
7873 else
7874 cat > conftest.$ac_ext <<EOF
7875 #line 7876 "configure"
7876 #include "confdefs.h"
7877 /* System header to define __stub macros and hopefully few prototypes,
7878 which can conflict with char $ac_func(); below. */
7879 #include <assert.h>
7880 /* Override any gcc2 internal prototype to avoid an error. */
7881 /* We use char because int might match the return type of a gcc2
7882 builtin and then its argument prototype would still apply. */
7883 char $ac_func();
7885 int main() {
7887 /* The GNU C library defines this for functions which it implements
7888 to always fail with ENOSYS. Some functions are actually named
7889 something starting with __ and the normal name is an alias. */
7890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7891 choke me
7892 #else
7893 $ac_func();
7894 #endif
7896 ; return 0; }
7898 if { (eval echo configure:7899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7899 rm -rf conftest*
7900 eval "ac_cv_func_$ac_func=yes"
7901 else
7902 echo "configure: failed program was:" >&5
7903 cat conftest.$ac_ext >&5
7904 rm -rf conftest*
7905 eval "ac_cv_func_$ac_func=no"
7907 rm -f conftest*
7910 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7911 echo "$ac_t""yes" 1>&6
7912 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7913 cat >> confdefs.h <<EOF
7914 #define $ac_tr_func 1
7917 else
7918 echo "$ac_t""no" 1>&6
7920 done
7925 echo $ac_n "checking for tanhf declaration""... $ac_c" 1>&6
7926 echo "configure:7927: checking for tanhf declaration" >&5
7927 if eval "test \"`echo '$''{'glibcpp_cv_func_tanhf_use'+set}'`\" = set"; then
7928 echo $ac_n "(cached) $ac_c" 1>&6
7929 else
7932 ac_ext=C
7933 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7934 ac_cpp='$CXXCPP $CPPFLAGS'
7935 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7936 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7937 cross_compiling=$ac_cv_prog_cxx_cross
7939 cat > conftest.$ac_ext <<EOF
7940 #line 7941 "configure"
7941 #include "confdefs.h"
7942 #include <math.h>
7943 int main() {
7944 tanhf(0);
7945 ; return 0; }
7947 if { (eval echo configure:7948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7948 rm -rf conftest*
7949 glibcpp_cv_func_tanhf_use=yes
7950 else
7951 echo "configure: failed program was:" >&5
7952 cat conftest.$ac_ext >&5
7953 rm -rf conftest*
7954 glibcpp_cv_func_tanhf_use=no
7956 rm -f conftest*
7957 ac_ext=c
7958 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7959 ac_cpp='$CPP $CPPFLAGS'
7960 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7961 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7962 cross_compiling=$ac_cv_prog_cc_cross
7967 echo "$ac_t""$glibcpp_cv_func_tanhf_use" 1>&6
7968 if test x$glibcpp_cv_func_tanhf_use = x"yes"; then
7969 for ac_func in tanhf
7971 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7972 echo "configure:7973: checking for $ac_func" >&5
7973 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7974 echo $ac_n "(cached) $ac_c" 1>&6
7975 else
7976 cat > conftest.$ac_ext <<EOF
7977 #line 7978 "configure"
7978 #include "confdefs.h"
7979 /* System header to define __stub macros and hopefully few prototypes,
7980 which can conflict with char $ac_func(); below. */
7981 #include <assert.h>
7982 /* Override any gcc2 internal prototype to avoid an error. */
7983 /* We use char because int might match the return type of a gcc2
7984 builtin and then its argument prototype would still apply. */
7985 char $ac_func();
7987 int main() {
7989 /* The GNU C library defines this for functions which it implements
7990 to always fail with ENOSYS. Some functions are actually named
7991 something starting with __ and the normal name is an alias. */
7992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7993 choke me
7994 #else
7995 $ac_func();
7996 #endif
7998 ; return 0; }
8000 if { (eval echo configure:8001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8001 rm -rf conftest*
8002 eval "ac_cv_func_$ac_func=yes"
8003 else
8004 echo "configure: failed program was:" >&5
8005 cat conftest.$ac_ext >&5
8006 rm -rf conftest*
8007 eval "ac_cv_func_$ac_func=no"
8009 rm -f conftest*
8012 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8013 echo "$ac_t""yes" 1>&6
8014 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8015 cat >> confdefs.h <<EOF
8016 #define $ac_tr_func 1
8019 else
8020 echo "$ac_t""no" 1>&6
8022 done
8027 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
8028 echo "configure:8029: checking for sincosf declaration" >&5
8029 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
8030 echo $ac_n "(cached) $ac_c" 1>&6
8031 else
8034 ac_ext=C
8035 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8036 ac_cpp='$CXXCPP $CPPFLAGS'
8037 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8038 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8039 cross_compiling=$ac_cv_prog_cxx_cross
8041 cat > conftest.$ac_ext <<EOF
8042 #line 8043 "configure"
8043 #include "confdefs.h"
8044 #include <math.h>
8045 int main() {
8046 sincosf(0, 0, 0);
8047 ; return 0; }
8049 if { (eval echo configure:8050: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8050 rm -rf conftest*
8051 glibcpp_cv_func_sincosf_use=yes
8052 else
8053 echo "configure: failed program was:" >&5
8054 cat conftest.$ac_ext >&5
8055 rm -rf conftest*
8056 glibcpp_cv_func_sincosf_use=no
8058 rm -f conftest*
8059 ac_ext=c
8060 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8061 ac_cpp='$CPP $CPPFLAGS'
8062 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8063 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8064 cross_compiling=$ac_cv_prog_cc_cross
8069 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
8070 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
8071 for ac_func in sincosf
8073 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8074 echo "configure:8075: checking for $ac_func" >&5
8075 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8076 echo $ac_n "(cached) $ac_c" 1>&6
8077 else
8078 cat > conftest.$ac_ext <<EOF
8079 #line 8080 "configure"
8080 #include "confdefs.h"
8081 /* System header to define __stub macros and hopefully few prototypes,
8082 which can conflict with char $ac_func(); below. */
8083 #include <assert.h>
8084 /* Override any gcc2 internal prototype to avoid an error. */
8085 /* We use char because int might match the return type of a gcc2
8086 builtin and then its argument prototype would still apply. */
8087 char $ac_func();
8089 int main() {
8091 /* The GNU C library defines this for functions which it implements
8092 to always fail with ENOSYS. Some functions are actually named
8093 something starting with __ and the normal name is an alias. */
8094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8095 choke me
8096 #else
8097 $ac_func();
8098 #endif
8100 ; return 0; }
8102 if { (eval echo configure:8103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8103 rm -rf conftest*
8104 eval "ac_cv_func_$ac_func=yes"
8105 else
8106 echo "configure: failed program was:" >&5
8107 cat conftest.$ac_ext >&5
8108 rm -rf conftest*
8109 eval "ac_cv_func_$ac_func=no"
8111 rm -f conftest*
8114 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8115 echo "$ac_t""yes" 1>&6
8116 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8117 cat >> confdefs.h <<EOF
8118 #define $ac_tr_func 1
8121 else
8122 echo "$ac_t""no" 1>&6
8124 done
8129 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
8130 echo "configure:8131: checking for finitef declaration" >&5
8131 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
8132 echo $ac_n "(cached) $ac_c" 1>&6
8133 else
8136 ac_ext=C
8137 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8138 ac_cpp='$CXXCPP $CPPFLAGS'
8139 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8140 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8141 cross_compiling=$ac_cv_prog_cxx_cross
8143 cat > conftest.$ac_ext <<EOF
8144 #line 8145 "configure"
8145 #include "confdefs.h"
8146 #include <math.h>
8147 int main() {
8148 finitef(0);
8149 ; return 0; }
8151 if { (eval echo configure:8152: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8152 rm -rf conftest*
8153 glibcpp_cv_func_finitef_use=yes
8154 else
8155 echo "configure: failed program was:" >&5
8156 cat conftest.$ac_ext >&5
8157 rm -rf conftest*
8158 glibcpp_cv_func_finitef_use=no
8160 rm -f conftest*
8161 ac_ext=c
8162 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8163 ac_cpp='$CPP $CPPFLAGS'
8164 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8165 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8166 cross_compiling=$ac_cv_prog_cc_cross
8171 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
8172 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
8173 for ac_func in finitef
8175 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8176 echo "configure:8177: checking for $ac_func" >&5
8177 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8178 echo $ac_n "(cached) $ac_c" 1>&6
8179 else
8180 cat > conftest.$ac_ext <<EOF
8181 #line 8182 "configure"
8182 #include "confdefs.h"
8183 /* System header to define __stub macros and hopefully few prototypes,
8184 which can conflict with char $ac_func(); below. */
8185 #include <assert.h>
8186 /* Override any gcc2 internal prototype to avoid an error. */
8187 /* We use char because int might match the return type of a gcc2
8188 builtin and then its argument prototype would still apply. */
8189 char $ac_func();
8191 int main() {
8193 /* The GNU C library defines this for functions which it implements
8194 to always fail with ENOSYS. Some functions are actually named
8195 something starting with __ and the normal name is an alias. */
8196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8197 choke me
8198 #else
8199 $ac_func();
8200 #endif
8202 ; return 0; }
8204 if { (eval echo configure:8205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8205 rm -rf conftest*
8206 eval "ac_cv_func_$ac_func=yes"
8207 else
8208 echo "configure: failed program was:" >&5
8209 cat conftest.$ac_ext >&5
8210 rm -rf conftest*
8211 eval "ac_cv_func_$ac_func=no"
8213 rm -f conftest*
8216 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8217 echo "$ac_t""yes" 1>&6
8218 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8219 cat >> confdefs.h <<EOF
8220 #define $ac_tr_func 1
8223 else
8224 echo "$ac_t""no" 1>&6
8226 done
8232 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
8233 echo "configure:8234: checking for isnanl declaration" >&5
8234 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
8235 echo $ac_n "(cached) $ac_c" 1>&6
8236 else
8239 ac_ext=C
8240 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8241 ac_cpp='$CXXCPP $CPPFLAGS'
8242 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8243 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8244 cross_compiling=$ac_cv_prog_cxx_cross
8246 cat > conftest.$ac_ext <<EOF
8247 #line 8248 "configure"
8248 #include "confdefs.h"
8249 #include <math.h>
8250 int main() {
8251 isnanl(0);
8252 ; return 0; }
8254 if { (eval echo configure:8255: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8255 rm -rf conftest*
8256 glibcpp_cv_func_isnanl_use=yes
8257 else
8258 echo "configure: failed program was:" >&5
8259 cat conftest.$ac_ext >&5
8260 rm -rf conftest*
8261 glibcpp_cv_func_isnanl_use=no
8263 rm -f conftest*
8264 ac_ext=c
8265 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8266 ac_cpp='$CPP $CPPFLAGS'
8267 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8268 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8269 cross_compiling=$ac_cv_prog_cc_cross
8274 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
8275 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
8276 for ac_func in isnanl
8278 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8279 echo "configure:8280: checking for $ac_func" >&5
8280 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8281 echo $ac_n "(cached) $ac_c" 1>&6
8282 else
8283 cat > conftest.$ac_ext <<EOF
8284 #line 8285 "configure"
8285 #include "confdefs.h"
8286 /* System header to define __stub macros and hopefully few prototypes,
8287 which can conflict with char $ac_func(); below. */
8288 #include <assert.h>
8289 /* Override any gcc2 internal prototype to avoid an error. */
8290 /* We use char because int might match the return type of a gcc2
8291 builtin and then its argument prototype would still apply. */
8292 char $ac_func();
8294 int main() {
8296 /* The GNU C library defines this for functions which it implements
8297 to always fail with ENOSYS. Some functions are actually named
8298 something starting with __ and the normal name is an alias. */
8299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8300 choke me
8301 #else
8302 $ac_func();
8303 #endif
8305 ; return 0; }
8307 if { (eval echo configure:8308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8308 rm -rf conftest*
8309 eval "ac_cv_func_$ac_func=yes"
8310 else
8311 echo "configure: failed program was:" >&5
8312 cat conftest.$ac_ext >&5
8313 rm -rf conftest*
8314 eval "ac_cv_func_$ac_func=no"
8316 rm -f conftest*
8319 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8320 echo "$ac_t""yes" 1>&6
8321 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8322 cat >> confdefs.h <<EOF
8323 #define $ac_tr_func 1
8326 else
8327 echo "$ac_t""no" 1>&6
8329 done
8334 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
8335 echo "configure:8336: checking for isinfl declaration" >&5
8336 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
8337 echo $ac_n "(cached) $ac_c" 1>&6
8338 else
8341 ac_ext=C
8342 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8343 ac_cpp='$CXXCPP $CPPFLAGS'
8344 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8345 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8346 cross_compiling=$ac_cv_prog_cxx_cross
8348 cat > conftest.$ac_ext <<EOF
8349 #line 8350 "configure"
8350 #include "confdefs.h"
8351 #include <math.h>
8352 int main() {
8353 isinfl(0);
8354 ; return 0; }
8356 if { (eval echo configure:8357: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8357 rm -rf conftest*
8358 glibcpp_cv_func_isinfl_use=yes
8359 else
8360 echo "configure: failed program was:" >&5
8361 cat conftest.$ac_ext >&5
8362 rm -rf conftest*
8363 glibcpp_cv_func_isinfl_use=no
8365 rm -f conftest*
8366 ac_ext=c
8367 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8368 ac_cpp='$CPP $CPPFLAGS'
8369 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8370 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8371 cross_compiling=$ac_cv_prog_cc_cross
8376 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
8377 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
8378 for ac_func in isinfl
8380 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8381 echo "configure:8382: checking for $ac_func" >&5
8382 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8383 echo $ac_n "(cached) $ac_c" 1>&6
8384 else
8385 cat > conftest.$ac_ext <<EOF
8386 #line 8387 "configure"
8387 #include "confdefs.h"
8388 /* System header to define __stub macros and hopefully few prototypes,
8389 which can conflict with char $ac_func(); below. */
8390 #include <assert.h>
8391 /* Override any gcc2 internal prototype to avoid an error. */
8392 /* We use char because int might match the return type of a gcc2
8393 builtin and then its argument prototype would still apply. */
8394 char $ac_func();
8396 int main() {
8398 /* The GNU C library defines this for functions which it implements
8399 to always fail with ENOSYS. Some functions are actually named
8400 something starting with __ and the normal name is an alias. */
8401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8402 choke me
8403 #else
8404 $ac_func();
8405 #endif
8407 ; return 0; }
8409 if { (eval echo configure:8410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8410 rm -rf conftest*
8411 eval "ac_cv_func_$ac_func=yes"
8412 else
8413 echo "configure: failed program was:" >&5
8414 cat conftest.$ac_ext >&5
8415 rm -rf conftest*
8416 eval "ac_cv_func_$ac_func=no"
8418 rm -f conftest*
8421 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8422 echo "$ac_t""yes" 1>&6
8423 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8424 cat >> confdefs.h <<EOF
8425 #define $ac_tr_func 1
8428 else
8429 echo "$ac_t""no" 1>&6
8431 done
8436 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
8437 echo "configure:8438: checking for copysignl declaration" >&5
8438 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
8439 echo $ac_n "(cached) $ac_c" 1>&6
8440 else
8443 ac_ext=C
8444 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8445 ac_cpp='$CXXCPP $CPPFLAGS'
8446 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8447 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8448 cross_compiling=$ac_cv_prog_cxx_cross
8450 cat > conftest.$ac_ext <<EOF
8451 #line 8452 "configure"
8452 #include "confdefs.h"
8453 #include <math.h>
8454 int main() {
8455 copysignl(0, 0);
8456 ; return 0; }
8458 if { (eval echo configure:8459: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8459 rm -rf conftest*
8460 glibcpp_cv_func_copysignl_use=yes
8461 else
8462 echo "configure: failed program was:" >&5
8463 cat conftest.$ac_ext >&5
8464 rm -rf conftest*
8465 glibcpp_cv_func_copysignl_use=no
8467 rm -f conftest*
8468 ac_ext=c
8469 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8470 ac_cpp='$CPP $CPPFLAGS'
8471 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8472 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8473 cross_compiling=$ac_cv_prog_cc_cross
8478 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
8479 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
8480 for ac_func in copysignl
8482 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8483 echo "configure:8484: checking for $ac_func" >&5
8484 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8485 echo $ac_n "(cached) $ac_c" 1>&6
8486 else
8487 cat > conftest.$ac_ext <<EOF
8488 #line 8489 "configure"
8489 #include "confdefs.h"
8490 /* System header to define __stub macros and hopefully few prototypes,
8491 which can conflict with char $ac_func(); below. */
8492 #include <assert.h>
8493 /* Override any gcc2 internal prototype to avoid an error. */
8494 /* We use char because int might match the return type of a gcc2
8495 builtin and then its argument prototype would still apply. */
8496 char $ac_func();
8498 int main() {
8500 /* The GNU C library defines this for functions which it implements
8501 to always fail with ENOSYS. Some functions are actually named
8502 something starting with __ and the normal name is an alias. */
8503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8504 choke me
8505 #else
8506 $ac_func();
8507 #endif
8509 ; return 0; }
8511 if { (eval echo configure:8512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8512 rm -rf conftest*
8513 eval "ac_cv_func_$ac_func=yes"
8514 else
8515 echo "configure: failed program was:" >&5
8516 cat conftest.$ac_ext >&5
8517 rm -rf conftest*
8518 eval "ac_cv_func_$ac_func=no"
8520 rm -f conftest*
8523 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8524 echo "$ac_t""yes" 1>&6
8525 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8526 cat >> confdefs.h <<EOF
8527 #define $ac_tr_func 1
8530 else
8531 echo "$ac_t""no" 1>&6
8533 done
8538 echo $ac_n "checking for acosl declaration""... $ac_c" 1>&6
8539 echo "configure:8540: checking for acosl declaration" >&5
8540 if eval "test \"`echo '$''{'glibcpp_cv_func_acosl_use'+set}'`\" = set"; then
8541 echo $ac_n "(cached) $ac_c" 1>&6
8542 else
8545 ac_ext=C
8546 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8547 ac_cpp='$CXXCPP $CPPFLAGS'
8548 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8549 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8550 cross_compiling=$ac_cv_prog_cxx_cross
8552 cat > conftest.$ac_ext <<EOF
8553 #line 8554 "configure"
8554 #include "confdefs.h"
8555 #include <math.h>
8556 int main() {
8557 acosl(0);
8558 ; return 0; }
8560 if { (eval echo configure:8561: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8561 rm -rf conftest*
8562 glibcpp_cv_func_acosl_use=yes
8563 else
8564 echo "configure: failed program was:" >&5
8565 cat conftest.$ac_ext >&5
8566 rm -rf conftest*
8567 glibcpp_cv_func_acosl_use=no
8569 rm -f conftest*
8570 ac_ext=c
8571 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8572 ac_cpp='$CPP $CPPFLAGS'
8573 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8574 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8575 cross_compiling=$ac_cv_prog_cc_cross
8580 echo "$ac_t""$glibcpp_cv_func_acosl_use" 1>&6
8581 if test x$glibcpp_cv_func_acosl_use = x"yes"; then
8582 for ac_func in acosl
8584 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8585 echo "configure:8586: checking for $ac_func" >&5
8586 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8587 echo $ac_n "(cached) $ac_c" 1>&6
8588 else
8589 cat > conftest.$ac_ext <<EOF
8590 #line 8591 "configure"
8591 #include "confdefs.h"
8592 /* System header to define __stub macros and hopefully few prototypes,
8593 which can conflict with char $ac_func(); below. */
8594 #include <assert.h>
8595 /* Override any gcc2 internal prototype to avoid an error. */
8596 /* We use char because int might match the return type of a gcc2
8597 builtin and then its argument prototype would still apply. */
8598 char $ac_func();
8600 int main() {
8602 /* The GNU C library defines this for functions which it implements
8603 to always fail with ENOSYS. Some functions are actually named
8604 something starting with __ and the normal name is an alias. */
8605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8606 choke me
8607 #else
8608 $ac_func();
8609 #endif
8611 ; return 0; }
8613 if { (eval echo configure:8614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8614 rm -rf conftest*
8615 eval "ac_cv_func_$ac_func=yes"
8616 else
8617 echo "configure: failed program was:" >&5
8618 cat conftest.$ac_ext >&5
8619 rm -rf conftest*
8620 eval "ac_cv_func_$ac_func=no"
8622 rm -f conftest*
8625 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8626 echo "$ac_t""yes" 1>&6
8627 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8628 cat >> confdefs.h <<EOF
8629 #define $ac_tr_func 1
8632 else
8633 echo "$ac_t""no" 1>&6
8635 done
8640 echo $ac_n "checking for asinl declaration""... $ac_c" 1>&6
8641 echo "configure:8642: checking for asinl declaration" >&5
8642 if eval "test \"`echo '$''{'glibcpp_cv_func_asinl_use'+set}'`\" = set"; then
8643 echo $ac_n "(cached) $ac_c" 1>&6
8644 else
8647 ac_ext=C
8648 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8649 ac_cpp='$CXXCPP $CPPFLAGS'
8650 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8651 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8652 cross_compiling=$ac_cv_prog_cxx_cross
8654 cat > conftest.$ac_ext <<EOF
8655 #line 8656 "configure"
8656 #include "confdefs.h"
8657 #include <math.h>
8658 int main() {
8659 asinl(0);
8660 ; return 0; }
8662 if { (eval echo configure:8663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8663 rm -rf conftest*
8664 glibcpp_cv_func_asinl_use=yes
8665 else
8666 echo "configure: failed program was:" >&5
8667 cat conftest.$ac_ext >&5
8668 rm -rf conftest*
8669 glibcpp_cv_func_asinl_use=no
8671 rm -f conftest*
8672 ac_ext=c
8673 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8674 ac_cpp='$CPP $CPPFLAGS'
8675 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8676 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8677 cross_compiling=$ac_cv_prog_cc_cross
8682 echo "$ac_t""$glibcpp_cv_func_asinl_use" 1>&6
8683 if test x$glibcpp_cv_func_asinl_use = x"yes"; then
8684 for ac_func in asinl
8686 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8687 echo "configure:8688: checking for $ac_func" >&5
8688 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8689 echo $ac_n "(cached) $ac_c" 1>&6
8690 else
8691 cat > conftest.$ac_ext <<EOF
8692 #line 8693 "configure"
8693 #include "confdefs.h"
8694 /* System header to define __stub macros and hopefully few prototypes,
8695 which can conflict with char $ac_func(); below. */
8696 #include <assert.h>
8697 /* Override any gcc2 internal prototype to avoid an error. */
8698 /* We use char because int might match the return type of a gcc2
8699 builtin and then its argument prototype would still apply. */
8700 char $ac_func();
8702 int main() {
8704 /* The GNU C library defines this for functions which it implements
8705 to always fail with ENOSYS. Some functions are actually named
8706 something starting with __ and the normal name is an alias. */
8707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8708 choke me
8709 #else
8710 $ac_func();
8711 #endif
8713 ; return 0; }
8715 if { (eval echo configure:8716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8716 rm -rf conftest*
8717 eval "ac_cv_func_$ac_func=yes"
8718 else
8719 echo "configure: failed program was:" >&5
8720 cat conftest.$ac_ext >&5
8721 rm -rf conftest*
8722 eval "ac_cv_func_$ac_func=no"
8724 rm -f conftest*
8727 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8728 echo "$ac_t""yes" 1>&6
8729 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8730 cat >> confdefs.h <<EOF
8731 #define $ac_tr_func 1
8734 else
8735 echo "$ac_t""no" 1>&6
8737 done
8742 echo $ac_n "checking for atanl declaration""... $ac_c" 1>&6
8743 echo "configure:8744: checking for atanl declaration" >&5
8744 if eval "test \"`echo '$''{'glibcpp_cv_func_atanl_use'+set}'`\" = set"; then
8745 echo $ac_n "(cached) $ac_c" 1>&6
8746 else
8749 ac_ext=C
8750 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8751 ac_cpp='$CXXCPP $CPPFLAGS'
8752 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8753 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8754 cross_compiling=$ac_cv_prog_cxx_cross
8756 cat > conftest.$ac_ext <<EOF
8757 #line 8758 "configure"
8758 #include "confdefs.h"
8759 #include <math.h>
8760 int main() {
8761 atanl(0);
8762 ; return 0; }
8764 if { (eval echo configure:8765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8765 rm -rf conftest*
8766 glibcpp_cv_func_atanl_use=yes
8767 else
8768 echo "configure: failed program was:" >&5
8769 cat conftest.$ac_ext >&5
8770 rm -rf conftest*
8771 glibcpp_cv_func_atanl_use=no
8773 rm -f conftest*
8774 ac_ext=c
8775 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8776 ac_cpp='$CPP $CPPFLAGS'
8777 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8778 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8779 cross_compiling=$ac_cv_prog_cc_cross
8784 echo "$ac_t""$glibcpp_cv_func_atanl_use" 1>&6
8785 if test x$glibcpp_cv_func_atanl_use = x"yes"; then
8786 for ac_func in atanl
8788 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8789 echo "configure:8790: checking for $ac_func" >&5
8790 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8791 echo $ac_n "(cached) $ac_c" 1>&6
8792 else
8793 cat > conftest.$ac_ext <<EOF
8794 #line 8795 "configure"
8795 #include "confdefs.h"
8796 /* System header to define __stub macros and hopefully few prototypes,
8797 which can conflict with char $ac_func(); below. */
8798 #include <assert.h>
8799 /* Override any gcc2 internal prototype to avoid an error. */
8800 /* We use char because int might match the return type of a gcc2
8801 builtin and then its argument prototype would still apply. */
8802 char $ac_func();
8804 int main() {
8806 /* The GNU C library defines this for functions which it implements
8807 to always fail with ENOSYS. Some functions are actually named
8808 something starting with __ and the normal name is an alias. */
8809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8810 choke me
8811 #else
8812 $ac_func();
8813 #endif
8815 ; return 0; }
8817 if { (eval echo configure:8818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8818 rm -rf conftest*
8819 eval "ac_cv_func_$ac_func=yes"
8820 else
8821 echo "configure: failed program was:" >&5
8822 cat conftest.$ac_ext >&5
8823 rm -rf conftest*
8824 eval "ac_cv_func_$ac_func=no"
8826 rm -f conftest*
8829 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8830 echo "$ac_t""yes" 1>&6
8831 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8832 cat >> confdefs.h <<EOF
8833 #define $ac_tr_func 1
8836 else
8837 echo "$ac_t""no" 1>&6
8839 done
8844 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
8845 echo "configure:8846: checking for atan2l declaration" >&5
8846 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
8847 echo $ac_n "(cached) $ac_c" 1>&6
8848 else
8851 ac_ext=C
8852 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8853 ac_cpp='$CXXCPP $CPPFLAGS'
8854 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8855 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8856 cross_compiling=$ac_cv_prog_cxx_cross
8858 cat > conftest.$ac_ext <<EOF
8859 #line 8860 "configure"
8860 #include "confdefs.h"
8861 #include <math.h>
8862 int main() {
8863 atan2l(0, 0);
8864 ; return 0; }
8866 if { (eval echo configure:8867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8867 rm -rf conftest*
8868 glibcpp_cv_func_atan2l_use=yes
8869 else
8870 echo "configure: failed program was:" >&5
8871 cat conftest.$ac_ext >&5
8872 rm -rf conftest*
8873 glibcpp_cv_func_atan2l_use=no
8875 rm -f conftest*
8876 ac_ext=c
8877 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8878 ac_cpp='$CPP $CPPFLAGS'
8879 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8880 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8881 cross_compiling=$ac_cv_prog_cc_cross
8886 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
8887 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
8888 for ac_func in atan2l
8890 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8891 echo "configure:8892: checking for $ac_func" >&5
8892 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8893 echo $ac_n "(cached) $ac_c" 1>&6
8894 else
8895 cat > conftest.$ac_ext <<EOF
8896 #line 8897 "configure"
8897 #include "confdefs.h"
8898 /* System header to define __stub macros and hopefully few prototypes,
8899 which can conflict with char $ac_func(); below. */
8900 #include <assert.h>
8901 /* Override any gcc2 internal prototype to avoid an error. */
8902 /* We use char because int might match the return type of a gcc2
8903 builtin and then its argument prototype would still apply. */
8904 char $ac_func();
8906 int main() {
8908 /* The GNU C library defines this for functions which it implements
8909 to always fail with ENOSYS. Some functions are actually named
8910 something starting with __ and the normal name is an alias. */
8911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8912 choke me
8913 #else
8914 $ac_func();
8915 #endif
8917 ; return 0; }
8919 if { (eval echo configure:8920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8920 rm -rf conftest*
8921 eval "ac_cv_func_$ac_func=yes"
8922 else
8923 echo "configure: failed program was:" >&5
8924 cat conftest.$ac_ext >&5
8925 rm -rf conftest*
8926 eval "ac_cv_func_$ac_func=no"
8928 rm -f conftest*
8931 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8932 echo "$ac_t""yes" 1>&6
8933 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8934 cat >> confdefs.h <<EOF
8935 #define $ac_tr_func 1
8938 else
8939 echo "$ac_t""no" 1>&6
8941 done
8946 echo $ac_n "checking for ceill declaration""... $ac_c" 1>&6
8947 echo "configure:8948: checking for ceill declaration" >&5
8948 if eval "test \"`echo '$''{'glibcpp_cv_func_ceill_use'+set}'`\" = set"; then
8949 echo $ac_n "(cached) $ac_c" 1>&6
8950 else
8953 ac_ext=C
8954 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8955 ac_cpp='$CXXCPP $CPPFLAGS'
8956 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8957 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8958 cross_compiling=$ac_cv_prog_cxx_cross
8960 cat > conftest.$ac_ext <<EOF
8961 #line 8962 "configure"
8962 #include "confdefs.h"
8963 #include <math.h>
8964 int main() {
8965 ceill(0);
8966 ; return 0; }
8968 if { (eval echo configure:8969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8969 rm -rf conftest*
8970 glibcpp_cv_func_ceill_use=yes
8971 else
8972 echo "configure: failed program was:" >&5
8973 cat conftest.$ac_ext >&5
8974 rm -rf conftest*
8975 glibcpp_cv_func_ceill_use=no
8977 rm -f conftest*
8978 ac_ext=c
8979 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8980 ac_cpp='$CPP $CPPFLAGS'
8981 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8982 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8983 cross_compiling=$ac_cv_prog_cc_cross
8988 echo "$ac_t""$glibcpp_cv_func_ceill_use" 1>&6
8989 if test x$glibcpp_cv_func_ceill_use = x"yes"; then
8990 for ac_func in ceill
8992 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8993 echo "configure:8994: checking for $ac_func" >&5
8994 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8995 echo $ac_n "(cached) $ac_c" 1>&6
8996 else
8997 cat > conftest.$ac_ext <<EOF
8998 #line 8999 "configure"
8999 #include "confdefs.h"
9000 /* System header to define __stub macros and hopefully few prototypes,
9001 which can conflict with char $ac_func(); below. */
9002 #include <assert.h>
9003 /* Override any gcc2 internal prototype to avoid an error. */
9004 /* We use char because int might match the return type of a gcc2
9005 builtin and then its argument prototype would still apply. */
9006 char $ac_func();
9008 int main() {
9010 /* The GNU C library defines this for functions which it implements
9011 to always fail with ENOSYS. Some functions are actually named
9012 something starting with __ and the normal name is an alias. */
9013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9014 choke me
9015 #else
9016 $ac_func();
9017 #endif
9019 ; return 0; }
9021 if { (eval echo configure:9022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9022 rm -rf conftest*
9023 eval "ac_cv_func_$ac_func=yes"
9024 else
9025 echo "configure: failed program was:" >&5
9026 cat conftest.$ac_ext >&5
9027 rm -rf conftest*
9028 eval "ac_cv_func_$ac_func=no"
9030 rm -f conftest*
9033 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9034 echo "$ac_t""yes" 1>&6
9035 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9036 cat >> confdefs.h <<EOF
9037 #define $ac_tr_func 1
9040 else
9041 echo "$ac_t""no" 1>&6
9043 done
9048 echo $ac_n "checking for cosl declaration""... $ac_c" 1>&6
9049 echo "configure:9050: checking for cosl declaration" >&5
9050 if eval "test \"`echo '$''{'glibcpp_cv_func_cosl_use'+set}'`\" = set"; then
9051 echo $ac_n "(cached) $ac_c" 1>&6
9052 else
9055 ac_ext=C
9056 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9057 ac_cpp='$CXXCPP $CPPFLAGS'
9058 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9059 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9060 cross_compiling=$ac_cv_prog_cxx_cross
9062 cat > conftest.$ac_ext <<EOF
9063 #line 9064 "configure"
9064 #include "confdefs.h"
9065 #include <math.h>
9066 int main() {
9067 cosl(0);
9068 ; return 0; }
9070 if { (eval echo configure:9071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9071 rm -rf conftest*
9072 glibcpp_cv_func_cosl_use=yes
9073 else
9074 echo "configure: failed program was:" >&5
9075 cat conftest.$ac_ext >&5
9076 rm -rf conftest*
9077 glibcpp_cv_func_cosl_use=no
9079 rm -f conftest*
9080 ac_ext=c
9081 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9082 ac_cpp='$CPP $CPPFLAGS'
9083 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9084 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9085 cross_compiling=$ac_cv_prog_cc_cross
9090 echo "$ac_t""$glibcpp_cv_func_cosl_use" 1>&6
9091 if test x$glibcpp_cv_func_cosl_use = x"yes"; then
9092 for ac_func in cosl
9094 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9095 echo "configure:9096: checking for $ac_func" >&5
9096 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9097 echo $ac_n "(cached) $ac_c" 1>&6
9098 else
9099 cat > conftest.$ac_ext <<EOF
9100 #line 9101 "configure"
9101 #include "confdefs.h"
9102 /* System header to define __stub macros and hopefully few prototypes,
9103 which can conflict with char $ac_func(); below. */
9104 #include <assert.h>
9105 /* Override any gcc2 internal prototype to avoid an error. */
9106 /* We use char because int might match the return type of a gcc2
9107 builtin and then its argument prototype would still apply. */
9108 char $ac_func();
9110 int main() {
9112 /* The GNU C library defines this for functions which it implements
9113 to always fail with ENOSYS. Some functions are actually named
9114 something starting with __ and the normal name is an alias. */
9115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9116 choke me
9117 #else
9118 $ac_func();
9119 #endif
9121 ; return 0; }
9123 if { (eval echo configure:9124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9124 rm -rf conftest*
9125 eval "ac_cv_func_$ac_func=yes"
9126 else
9127 echo "configure: failed program was:" >&5
9128 cat conftest.$ac_ext >&5
9129 rm -rf conftest*
9130 eval "ac_cv_func_$ac_func=no"
9132 rm -f conftest*
9135 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9136 echo "$ac_t""yes" 1>&6
9137 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9138 cat >> confdefs.h <<EOF
9139 #define $ac_tr_func 1
9142 else
9143 echo "$ac_t""no" 1>&6
9145 done
9150 echo $ac_n "checking for coshl declaration""... $ac_c" 1>&6
9151 echo "configure:9152: checking for coshl declaration" >&5
9152 if eval "test \"`echo '$''{'glibcpp_cv_func_coshl_use'+set}'`\" = set"; then
9153 echo $ac_n "(cached) $ac_c" 1>&6
9154 else
9157 ac_ext=C
9158 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9159 ac_cpp='$CXXCPP $CPPFLAGS'
9160 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9161 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9162 cross_compiling=$ac_cv_prog_cxx_cross
9164 cat > conftest.$ac_ext <<EOF
9165 #line 9166 "configure"
9166 #include "confdefs.h"
9167 #include <math.h>
9168 int main() {
9169 coshl(0);
9170 ; return 0; }
9172 if { (eval echo configure:9173: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9173 rm -rf conftest*
9174 glibcpp_cv_func_coshl_use=yes
9175 else
9176 echo "configure: failed program was:" >&5
9177 cat conftest.$ac_ext >&5
9178 rm -rf conftest*
9179 glibcpp_cv_func_coshl_use=no
9181 rm -f conftest*
9182 ac_ext=c
9183 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9184 ac_cpp='$CPP $CPPFLAGS'
9185 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9186 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9187 cross_compiling=$ac_cv_prog_cc_cross
9192 echo "$ac_t""$glibcpp_cv_func_coshl_use" 1>&6
9193 if test x$glibcpp_cv_func_coshl_use = x"yes"; then
9194 for ac_func in coshl
9196 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9197 echo "configure:9198: checking for $ac_func" >&5
9198 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9199 echo $ac_n "(cached) $ac_c" 1>&6
9200 else
9201 cat > conftest.$ac_ext <<EOF
9202 #line 9203 "configure"
9203 #include "confdefs.h"
9204 /* System header to define __stub macros and hopefully few prototypes,
9205 which can conflict with char $ac_func(); below. */
9206 #include <assert.h>
9207 /* Override any gcc2 internal prototype to avoid an error. */
9208 /* We use char because int might match the return type of a gcc2
9209 builtin and then its argument prototype would still apply. */
9210 char $ac_func();
9212 int main() {
9214 /* The GNU C library defines this for functions which it implements
9215 to always fail with ENOSYS. Some functions are actually named
9216 something starting with __ and the normal name is an alias. */
9217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9218 choke me
9219 #else
9220 $ac_func();
9221 #endif
9223 ; return 0; }
9225 if { (eval echo configure:9226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9226 rm -rf conftest*
9227 eval "ac_cv_func_$ac_func=yes"
9228 else
9229 echo "configure: failed program was:" >&5
9230 cat conftest.$ac_ext >&5
9231 rm -rf conftest*
9232 eval "ac_cv_func_$ac_func=no"
9234 rm -f conftest*
9237 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9238 echo "$ac_t""yes" 1>&6
9239 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9240 cat >> confdefs.h <<EOF
9241 #define $ac_tr_func 1
9244 else
9245 echo "$ac_t""no" 1>&6
9247 done
9252 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
9253 echo "configure:9254: checking for expl declaration" >&5
9254 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
9255 echo $ac_n "(cached) $ac_c" 1>&6
9256 else
9259 ac_ext=C
9260 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9261 ac_cpp='$CXXCPP $CPPFLAGS'
9262 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9263 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9264 cross_compiling=$ac_cv_prog_cxx_cross
9266 cat > conftest.$ac_ext <<EOF
9267 #line 9268 "configure"
9268 #include "confdefs.h"
9269 #include <math.h>
9270 int main() {
9271 expl(0);
9272 ; return 0; }
9274 if { (eval echo configure:9275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9275 rm -rf conftest*
9276 glibcpp_cv_func_expl_use=yes
9277 else
9278 echo "configure: failed program was:" >&5
9279 cat conftest.$ac_ext >&5
9280 rm -rf conftest*
9281 glibcpp_cv_func_expl_use=no
9283 rm -f conftest*
9284 ac_ext=c
9285 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9286 ac_cpp='$CPP $CPPFLAGS'
9287 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9288 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9289 cross_compiling=$ac_cv_prog_cc_cross
9294 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
9295 if test x$glibcpp_cv_func_expl_use = x"yes"; then
9296 for ac_func in expl
9298 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9299 echo "configure:9300: checking for $ac_func" >&5
9300 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9301 echo $ac_n "(cached) $ac_c" 1>&6
9302 else
9303 cat > conftest.$ac_ext <<EOF
9304 #line 9305 "configure"
9305 #include "confdefs.h"
9306 /* System header to define __stub macros and hopefully few prototypes,
9307 which can conflict with char $ac_func(); below. */
9308 #include <assert.h>
9309 /* Override any gcc2 internal prototype to avoid an error. */
9310 /* We use char because int might match the return type of a gcc2
9311 builtin and then its argument prototype would still apply. */
9312 char $ac_func();
9314 int main() {
9316 /* The GNU C library defines this for functions which it implements
9317 to always fail with ENOSYS. Some functions are actually named
9318 something starting with __ and the normal name is an alias. */
9319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9320 choke me
9321 #else
9322 $ac_func();
9323 #endif
9325 ; return 0; }
9327 if { (eval echo configure:9328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9328 rm -rf conftest*
9329 eval "ac_cv_func_$ac_func=yes"
9330 else
9331 echo "configure: failed program was:" >&5
9332 cat conftest.$ac_ext >&5
9333 rm -rf conftest*
9334 eval "ac_cv_func_$ac_func=no"
9336 rm -f conftest*
9339 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9340 echo "$ac_t""yes" 1>&6
9341 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9342 cat >> confdefs.h <<EOF
9343 #define $ac_tr_func 1
9346 else
9347 echo "$ac_t""no" 1>&6
9349 done
9354 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
9355 echo "configure:9356: checking for fabsl declaration" >&5
9356 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
9357 echo $ac_n "(cached) $ac_c" 1>&6
9358 else
9361 ac_ext=C
9362 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9363 ac_cpp='$CXXCPP $CPPFLAGS'
9364 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9365 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9366 cross_compiling=$ac_cv_prog_cxx_cross
9368 cat > conftest.$ac_ext <<EOF
9369 #line 9370 "configure"
9370 #include "confdefs.h"
9371 #include <math.h>
9372 int main() {
9373 fabsl(0);
9374 ; return 0; }
9376 if { (eval echo configure:9377: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9377 rm -rf conftest*
9378 glibcpp_cv_func_fabsl_use=yes
9379 else
9380 echo "configure: failed program was:" >&5
9381 cat conftest.$ac_ext >&5
9382 rm -rf conftest*
9383 glibcpp_cv_func_fabsl_use=no
9385 rm -f conftest*
9386 ac_ext=c
9387 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9388 ac_cpp='$CPP $CPPFLAGS'
9389 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9390 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9391 cross_compiling=$ac_cv_prog_cc_cross
9396 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
9397 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
9398 for ac_func in fabsl
9400 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9401 echo "configure:9402: checking for $ac_func" >&5
9402 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9403 echo $ac_n "(cached) $ac_c" 1>&6
9404 else
9405 cat > conftest.$ac_ext <<EOF
9406 #line 9407 "configure"
9407 #include "confdefs.h"
9408 /* System header to define __stub macros and hopefully few prototypes,
9409 which can conflict with char $ac_func(); below. */
9410 #include <assert.h>
9411 /* Override any gcc2 internal prototype to avoid an error. */
9412 /* We use char because int might match the return type of a gcc2
9413 builtin and then its argument prototype would still apply. */
9414 char $ac_func();
9416 int main() {
9418 /* The GNU C library defines this for functions which it implements
9419 to always fail with ENOSYS. Some functions are actually named
9420 something starting with __ and the normal name is an alias. */
9421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9422 choke me
9423 #else
9424 $ac_func();
9425 #endif
9427 ; return 0; }
9429 if { (eval echo configure:9430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9430 rm -rf conftest*
9431 eval "ac_cv_func_$ac_func=yes"
9432 else
9433 echo "configure: failed program was:" >&5
9434 cat conftest.$ac_ext >&5
9435 rm -rf conftest*
9436 eval "ac_cv_func_$ac_func=no"
9438 rm -f conftest*
9441 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9442 echo "$ac_t""yes" 1>&6
9443 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9444 cat >> confdefs.h <<EOF
9445 #define $ac_tr_func 1
9448 else
9449 echo "$ac_t""no" 1>&6
9451 done
9456 echo $ac_n "checking for floorl declaration""... $ac_c" 1>&6
9457 echo "configure:9458: checking for floorl declaration" >&5
9458 if eval "test \"`echo '$''{'glibcpp_cv_func_floorl_use'+set}'`\" = set"; then
9459 echo $ac_n "(cached) $ac_c" 1>&6
9460 else
9463 ac_ext=C
9464 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9465 ac_cpp='$CXXCPP $CPPFLAGS'
9466 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9467 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9468 cross_compiling=$ac_cv_prog_cxx_cross
9470 cat > conftest.$ac_ext <<EOF
9471 #line 9472 "configure"
9472 #include "confdefs.h"
9473 #include <math.h>
9474 int main() {
9475 floorl(0);
9476 ; return 0; }
9478 if { (eval echo configure:9479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9479 rm -rf conftest*
9480 glibcpp_cv_func_floorl_use=yes
9481 else
9482 echo "configure: failed program was:" >&5
9483 cat conftest.$ac_ext >&5
9484 rm -rf conftest*
9485 glibcpp_cv_func_floorl_use=no
9487 rm -f conftest*
9488 ac_ext=c
9489 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9490 ac_cpp='$CPP $CPPFLAGS'
9491 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9492 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9493 cross_compiling=$ac_cv_prog_cc_cross
9498 echo "$ac_t""$glibcpp_cv_func_floorl_use" 1>&6
9499 if test x$glibcpp_cv_func_floorl_use = x"yes"; then
9500 for ac_func in floorl
9502 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9503 echo "configure:9504: checking for $ac_func" >&5
9504 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9505 echo $ac_n "(cached) $ac_c" 1>&6
9506 else
9507 cat > conftest.$ac_ext <<EOF
9508 #line 9509 "configure"
9509 #include "confdefs.h"
9510 /* System header to define __stub macros and hopefully few prototypes,
9511 which can conflict with char $ac_func(); below. */
9512 #include <assert.h>
9513 /* Override any gcc2 internal prototype to avoid an error. */
9514 /* We use char because int might match the return type of a gcc2
9515 builtin and then its argument prototype would still apply. */
9516 char $ac_func();
9518 int main() {
9520 /* The GNU C library defines this for functions which it implements
9521 to always fail with ENOSYS. Some functions are actually named
9522 something starting with __ and the normal name is an alias. */
9523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9524 choke me
9525 #else
9526 $ac_func();
9527 #endif
9529 ; return 0; }
9531 if { (eval echo configure:9532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9532 rm -rf conftest*
9533 eval "ac_cv_func_$ac_func=yes"
9534 else
9535 echo "configure: failed program was:" >&5
9536 cat conftest.$ac_ext >&5
9537 rm -rf conftest*
9538 eval "ac_cv_func_$ac_func=no"
9540 rm -f conftest*
9543 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9544 echo "$ac_t""yes" 1>&6
9545 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9546 cat >> confdefs.h <<EOF
9547 #define $ac_tr_func 1
9550 else
9551 echo "$ac_t""no" 1>&6
9553 done
9558 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
9559 echo "configure:9560: checking for fmodl declaration" >&5
9560 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
9561 echo $ac_n "(cached) $ac_c" 1>&6
9562 else
9565 ac_ext=C
9566 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9567 ac_cpp='$CXXCPP $CPPFLAGS'
9568 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9569 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9570 cross_compiling=$ac_cv_prog_cxx_cross
9572 cat > conftest.$ac_ext <<EOF
9573 #line 9574 "configure"
9574 #include "confdefs.h"
9575 #include <math.h>
9576 int main() {
9577 fmodl(0, 0);
9578 ; return 0; }
9580 if { (eval echo configure:9581: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9581 rm -rf conftest*
9582 glibcpp_cv_func_fmodl_use=yes
9583 else
9584 echo "configure: failed program was:" >&5
9585 cat conftest.$ac_ext >&5
9586 rm -rf conftest*
9587 glibcpp_cv_func_fmodl_use=no
9589 rm -f conftest*
9590 ac_ext=c
9591 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9592 ac_cpp='$CPP $CPPFLAGS'
9593 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9594 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9595 cross_compiling=$ac_cv_prog_cc_cross
9600 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
9601 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
9602 for ac_func in fmodl
9604 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9605 echo "configure:9606: checking for $ac_func" >&5
9606 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9607 echo $ac_n "(cached) $ac_c" 1>&6
9608 else
9609 cat > conftest.$ac_ext <<EOF
9610 #line 9611 "configure"
9611 #include "confdefs.h"
9612 /* System header to define __stub macros and hopefully few prototypes,
9613 which can conflict with char $ac_func(); below. */
9614 #include <assert.h>
9615 /* Override any gcc2 internal prototype to avoid an error. */
9616 /* We use char because int might match the return type of a gcc2
9617 builtin and then its argument prototype would still apply. */
9618 char $ac_func();
9620 int main() {
9622 /* The GNU C library defines this for functions which it implements
9623 to always fail with ENOSYS. Some functions are actually named
9624 something starting with __ and the normal name is an alias. */
9625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9626 choke me
9627 #else
9628 $ac_func();
9629 #endif
9631 ; return 0; }
9633 if { (eval echo configure:9634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9634 rm -rf conftest*
9635 eval "ac_cv_func_$ac_func=yes"
9636 else
9637 echo "configure: failed program was:" >&5
9638 cat conftest.$ac_ext >&5
9639 rm -rf conftest*
9640 eval "ac_cv_func_$ac_func=no"
9642 rm -f conftest*
9645 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9646 echo "$ac_t""yes" 1>&6
9647 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9648 cat >> confdefs.h <<EOF
9649 #define $ac_tr_func 1
9652 else
9653 echo "$ac_t""no" 1>&6
9655 done
9660 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
9661 echo "configure:9662: checking for frexpl declaration" >&5
9662 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
9663 echo $ac_n "(cached) $ac_c" 1>&6
9664 else
9667 ac_ext=C
9668 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9669 ac_cpp='$CXXCPP $CPPFLAGS'
9670 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9671 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9672 cross_compiling=$ac_cv_prog_cxx_cross
9674 cat > conftest.$ac_ext <<EOF
9675 #line 9676 "configure"
9676 #include "confdefs.h"
9677 #include <math.h>
9678 int main() {
9679 frexpl(0, 0);
9680 ; return 0; }
9682 if { (eval echo configure:9683: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9683 rm -rf conftest*
9684 glibcpp_cv_func_frexpl_use=yes
9685 else
9686 echo "configure: failed program was:" >&5
9687 cat conftest.$ac_ext >&5
9688 rm -rf conftest*
9689 glibcpp_cv_func_frexpl_use=no
9691 rm -f conftest*
9692 ac_ext=c
9693 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9694 ac_cpp='$CPP $CPPFLAGS'
9695 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9696 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9697 cross_compiling=$ac_cv_prog_cc_cross
9702 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
9703 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
9704 for ac_func in frexpl
9706 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9707 echo "configure:9708: checking for $ac_func" >&5
9708 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9709 echo $ac_n "(cached) $ac_c" 1>&6
9710 else
9711 cat > conftest.$ac_ext <<EOF
9712 #line 9713 "configure"
9713 #include "confdefs.h"
9714 /* System header to define __stub macros and hopefully few prototypes,
9715 which can conflict with char $ac_func(); below. */
9716 #include <assert.h>
9717 /* Override any gcc2 internal prototype to avoid an error. */
9718 /* We use char because int might match the return type of a gcc2
9719 builtin and then its argument prototype would still apply. */
9720 char $ac_func();
9722 int main() {
9724 /* The GNU C library defines this for functions which it implements
9725 to always fail with ENOSYS. Some functions are actually named
9726 something starting with __ and the normal name is an alias. */
9727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9728 choke me
9729 #else
9730 $ac_func();
9731 #endif
9733 ; return 0; }
9735 if { (eval echo configure:9736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9736 rm -rf conftest*
9737 eval "ac_cv_func_$ac_func=yes"
9738 else
9739 echo "configure: failed program was:" >&5
9740 cat conftest.$ac_ext >&5
9741 rm -rf conftest*
9742 eval "ac_cv_func_$ac_func=no"
9744 rm -f conftest*
9747 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9748 echo "$ac_t""yes" 1>&6
9749 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9750 cat >> confdefs.h <<EOF
9751 #define $ac_tr_func 1
9754 else
9755 echo "$ac_t""no" 1>&6
9757 done
9762 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
9763 echo "configure:9764: checking for ldexpl declaration" >&5
9764 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
9765 echo $ac_n "(cached) $ac_c" 1>&6
9766 else
9769 ac_ext=C
9770 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9771 ac_cpp='$CXXCPP $CPPFLAGS'
9772 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9773 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9774 cross_compiling=$ac_cv_prog_cxx_cross
9776 cat > conftest.$ac_ext <<EOF
9777 #line 9778 "configure"
9778 #include "confdefs.h"
9779 #include <math.h>
9780 int main() {
9781 ldexpl(0, 0);
9782 ; return 0; }
9784 if { (eval echo configure:9785: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9785 rm -rf conftest*
9786 glibcpp_cv_func_ldexpl_use=yes
9787 else
9788 echo "configure: failed program was:" >&5
9789 cat conftest.$ac_ext >&5
9790 rm -rf conftest*
9791 glibcpp_cv_func_ldexpl_use=no
9793 rm -f conftest*
9794 ac_ext=c
9795 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9796 ac_cpp='$CPP $CPPFLAGS'
9797 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9798 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9799 cross_compiling=$ac_cv_prog_cc_cross
9804 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
9805 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
9806 for ac_func in ldexpl
9808 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9809 echo "configure:9810: checking for $ac_func" >&5
9810 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9811 echo $ac_n "(cached) $ac_c" 1>&6
9812 else
9813 cat > conftest.$ac_ext <<EOF
9814 #line 9815 "configure"
9815 #include "confdefs.h"
9816 /* System header to define __stub macros and hopefully few prototypes,
9817 which can conflict with char $ac_func(); below. */
9818 #include <assert.h>
9819 /* Override any gcc2 internal prototype to avoid an error. */
9820 /* We use char because int might match the return type of a gcc2
9821 builtin and then its argument prototype would still apply. */
9822 char $ac_func();
9824 int main() {
9826 /* The GNU C library defines this for functions which it implements
9827 to always fail with ENOSYS. Some functions are actually named
9828 something starting with __ and the normal name is an alias. */
9829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9830 choke me
9831 #else
9832 $ac_func();
9833 #endif
9835 ; return 0; }
9837 if { (eval echo configure:9838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9838 rm -rf conftest*
9839 eval "ac_cv_func_$ac_func=yes"
9840 else
9841 echo "configure: failed program was:" >&5
9842 cat conftest.$ac_ext >&5
9843 rm -rf conftest*
9844 eval "ac_cv_func_$ac_func=no"
9846 rm -f conftest*
9849 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9850 echo "$ac_t""yes" 1>&6
9851 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9852 cat >> confdefs.h <<EOF
9853 #define $ac_tr_func 1
9856 else
9857 echo "$ac_t""no" 1>&6
9859 done
9864 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
9865 echo "configure:9866: checking for logl declaration" >&5
9866 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
9867 echo $ac_n "(cached) $ac_c" 1>&6
9868 else
9871 ac_ext=C
9872 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9873 ac_cpp='$CXXCPP $CPPFLAGS'
9874 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9875 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9876 cross_compiling=$ac_cv_prog_cxx_cross
9878 cat > conftest.$ac_ext <<EOF
9879 #line 9880 "configure"
9880 #include "confdefs.h"
9881 #include <math.h>
9882 int main() {
9883 logl(0);
9884 ; return 0; }
9886 if { (eval echo configure:9887: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9887 rm -rf conftest*
9888 glibcpp_cv_func_logl_use=yes
9889 else
9890 echo "configure: failed program was:" >&5
9891 cat conftest.$ac_ext >&5
9892 rm -rf conftest*
9893 glibcpp_cv_func_logl_use=no
9895 rm -f conftest*
9896 ac_ext=c
9897 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9898 ac_cpp='$CPP $CPPFLAGS'
9899 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9900 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9901 cross_compiling=$ac_cv_prog_cc_cross
9906 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
9907 if test x$glibcpp_cv_func_logl_use = x"yes"; then
9908 for ac_func in logl
9910 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9911 echo "configure:9912: checking for $ac_func" >&5
9912 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9913 echo $ac_n "(cached) $ac_c" 1>&6
9914 else
9915 cat > conftest.$ac_ext <<EOF
9916 #line 9917 "configure"
9917 #include "confdefs.h"
9918 /* System header to define __stub macros and hopefully few prototypes,
9919 which can conflict with char $ac_func(); below. */
9920 #include <assert.h>
9921 /* Override any gcc2 internal prototype to avoid an error. */
9922 /* We use char because int might match the return type of a gcc2
9923 builtin and then its argument prototype would still apply. */
9924 char $ac_func();
9926 int main() {
9928 /* The GNU C library defines this for functions which it implements
9929 to always fail with ENOSYS. Some functions are actually named
9930 something starting with __ and the normal name is an alias. */
9931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9932 choke me
9933 #else
9934 $ac_func();
9935 #endif
9937 ; return 0; }
9939 if { (eval echo configure:9940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9940 rm -rf conftest*
9941 eval "ac_cv_func_$ac_func=yes"
9942 else
9943 echo "configure: failed program was:" >&5
9944 cat conftest.$ac_ext >&5
9945 rm -rf conftest*
9946 eval "ac_cv_func_$ac_func=no"
9948 rm -f conftest*
9951 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9952 echo "$ac_t""yes" 1>&6
9953 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9954 cat >> confdefs.h <<EOF
9955 #define $ac_tr_func 1
9958 else
9959 echo "$ac_t""no" 1>&6
9961 done
9966 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
9967 echo "configure:9968: checking for log10l declaration" >&5
9968 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
9969 echo $ac_n "(cached) $ac_c" 1>&6
9970 else
9973 ac_ext=C
9974 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9975 ac_cpp='$CXXCPP $CPPFLAGS'
9976 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9977 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9978 cross_compiling=$ac_cv_prog_cxx_cross
9980 cat > conftest.$ac_ext <<EOF
9981 #line 9982 "configure"
9982 #include "confdefs.h"
9983 #include <math.h>
9984 int main() {
9985 log10l(0);
9986 ; return 0; }
9988 if { (eval echo configure:9989: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9989 rm -rf conftest*
9990 glibcpp_cv_func_log10l_use=yes
9991 else
9992 echo "configure: failed program was:" >&5
9993 cat conftest.$ac_ext >&5
9994 rm -rf conftest*
9995 glibcpp_cv_func_log10l_use=no
9997 rm -f conftest*
9998 ac_ext=c
9999 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10000 ac_cpp='$CPP $CPPFLAGS'
10001 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10002 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10003 cross_compiling=$ac_cv_prog_cc_cross
10008 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
10009 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
10010 for ac_func in log10l
10012 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10013 echo "configure:10014: checking for $ac_func" >&5
10014 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10015 echo $ac_n "(cached) $ac_c" 1>&6
10016 else
10017 cat > conftest.$ac_ext <<EOF
10018 #line 10019 "configure"
10019 #include "confdefs.h"
10020 /* System header to define __stub macros and hopefully few prototypes,
10021 which can conflict with char $ac_func(); below. */
10022 #include <assert.h>
10023 /* Override any gcc2 internal prototype to avoid an error. */
10024 /* We use char because int might match the return type of a gcc2
10025 builtin and then its argument prototype would still apply. */
10026 char $ac_func();
10028 int main() {
10030 /* The GNU C library defines this for functions which it implements
10031 to always fail with ENOSYS. Some functions are actually named
10032 something starting with __ and the normal name is an alias. */
10033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10034 choke me
10035 #else
10036 $ac_func();
10037 #endif
10039 ; return 0; }
10041 if { (eval echo configure:10042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10042 rm -rf conftest*
10043 eval "ac_cv_func_$ac_func=yes"
10044 else
10045 echo "configure: failed program was:" >&5
10046 cat conftest.$ac_ext >&5
10047 rm -rf conftest*
10048 eval "ac_cv_func_$ac_func=no"
10050 rm -f conftest*
10053 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10054 echo "$ac_t""yes" 1>&6
10055 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10056 cat >> confdefs.h <<EOF
10057 #define $ac_tr_func 1
10060 else
10061 echo "$ac_t""no" 1>&6
10063 done
10068 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
10069 echo "configure:10070: checking for modfl declaration" >&5
10070 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
10071 echo $ac_n "(cached) $ac_c" 1>&6
10072 else
10075 ac_ext=C
10076 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10077 ac_cpp='$CXXCPP $CPPFLAGS'
10078 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10079 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10080 cross_compiling=$ac_cv_prog_cxx_cross
10082 cat > conftest.$ac_ext <<EOF
10083 #line 10084 "configure"
10084 #include "confdefs.h"
10085 #include <math.h>
10086 int main() {
10087 modfl(0, 0);
10088 ; return 0; }
10090 if { (eval echo configure:10091: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10091 rm -rf conftest*
10092 glibcpp_cv_func_modfl_use=yes
10093 else
10094 echo "configure: failed program was:" >&5
10095 cat conftest.$ac_ext >&5
10096 rm -rf conftest*
10097 glibcpp_cv_func_modfl_use=no
10099 rm -f conftest*
10100 ac_ext=c
10101 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10102 ac_cpp='$CPP $CPPFLAGS'
10103 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10104 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10105 cross_compiling=$ac_cv_prog_cc_cross
10110 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
10111 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
10112 for ac_func in modfl
10114 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10115 echo "configure:10116: checking for $ac_func" >&5
10116 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10117 echo $ac_n "(cached) $ac_c" 1>&6
10118 else
10119 cat > conftest.$ac_ext <<EOF
10120 #line 10121 "configure"
10121 #include "confdefs.h"
10122 /* System header to define __stub macros and hopefully few prototypes,
10123 which can conflict with char $ac_func(); below. */
10124 #include <assert.h>
10125 /* Override any gcc2 internal prototype to avoid an error. */
10126 /* We use char because int might match the return type of a gcc2
10127 builtin and then its argument prototype would still apply. */
10128 char $ac_func();
10130 int main() {
10132 /* The GNU C library defines this for functions which it implements
10133 to always fail with ENOSYS. Some functions are actually named
10134 something starting with __ and the normal name is an alias. */
10135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10136 choke me
10137 #else
10138 $ac_func();
10139 #endif
10141 ; return 0; }
10143 if { (eval echo configure:10144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10144 rm -rf conftest*
10145 eval "ac_cv_func_$ac_func=yes"
10146 else
10147 echo "configure: failed program was:" >&5
10148 cat conftest.$ac_ext >&5
10149 rm -rf conftest*
10150 eval "ac_cv_func_$ac_func=no"
10152 rm -f conftest*
10155 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10156 echo "$ac_t""yes" 1>&6
10157 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10158 cat >> confdefs.h <<EOF
10159 #define $ac_tr_func 1
10162 else
10163 echo "$ac_t""no" 1>&6
10165 done
10170 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
10171 echo "configure:10172: checking for powl declaration" >&5
10172 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
10173 echo $ac_n "(cached) $ac_c" 1>&6
10174 else
10177 ac_ext=C
10178 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10179 ac_cpp='$CXXCPP $CPPFLAGS'
10180 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10181 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10182 cross_compiling=$ac_cv_prog_cxx_cross
10184 cat > conftest.$ac_ext <<EOF
10185 #line 10186 "configure"
10186 #include "confdefs.h"
10187 #include <math.h>
10188 int main() {
10189 powl(0, 0);
10190 ; return 0; }
10192 if { (eval echo configure:10193: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10193 rm -rf conftest*
10194 glibcpp_cv_func_powl_use=yes
10195 else
10196 echo "configure: failed program was:" >&5
10197 cat conftest.$ac_ext >&5
10198 rm -rf conftest*
10199 glibcpp_cv_func_powl_use=no
10201 rm -f conftest*
10202 ac_ext=c
10203 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10204 ac_cpp='$CPP $CPPFLAGS'
10205 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10206 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10207 cross_compiling=$ac_cv_prog_cc_cross
10212 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
10213 if test x$glibcpp_cv_func_powl_use = x"yes"; then
10214 for ac_func in powl
10216 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10217 echo "configure:10218: checking for $ac_func" >&5
10218 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10219 echo $ac_n "(cached) $ac_c" 1>&6
10220 else
10221 cat > conftest.$ac_ext <<EOF
10222 #line 10223 "configure"
10223 #include "confdefs.h"
10224 /* System header to define __stub macros and hopefully few prototypes,
10225 which can conflict with char $ac_func(); below. */
10226 #include <assert.h>
10227 /* Override any gcc2 internal prototype to avoid an error. */
10228 /* We use char because int might match the return type of a gcc2
10229 builtin and then its argument prototype would still apply. */
10230 char $ac_func();
10232 int main() {
10234 /* The GNU C library defines this for functions which it implements
10235 to always fail with ENOSYS. Some functions are actually named
10236 something starting with __ and the normal name is an alias. */
10237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10238 choke me
10239 #else
10240 $ac_func();
10241 #endif
10243 ; return 0; }
10245 if { (eval echo configure:10246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10246 rm -rf conftest*
10247 eval "ac_cv_func_$ac_func=yes"
10248 else
10249 echo "configure: failed program was:" >&5
10250 cat conftest.$ac_ext >&5
10251 rm -rf conftest*
10252 eval "ac_cv_func_$ac_func=no"
10254 rm -f conftest*
10257 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10258 echo "$ac_t""yes" 1>&6
10259 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10260 cat >> confdefs.h <<EOF
10261 #define $ac_tr_func 1
10264 else
10265 echo "$ac_t""no" 1>&6
10267 done
10272 echo $ac_n "checking for sinl declaration""... $ac_c" 1>&6
10273 echo "configure:10274: checking for sinl declaration" >&5
10274 if eval "test \"`echo '$''{'glibcpp_cv_func_sinl_use'+set}'`\" = set"; then
10275 echo $ac_n "(cached) $ac_c" 1>&6
10276 else
10279 ac_ext=C
10280 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10281 ac_cpp='$CXXCPP $CPPFLAGS'
10282 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10283 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10284 cross_compiling=$ac_cv_prog_cxx_cross
10286 cat > conftest.$ac_ext <<EOF
10287 #line 10288 "configure"
10288 #include "confdefs.h"
10289 #include <math.h>
10290 int main() {
10291 sinl(0);
10292 ; return 0; }
10294 if { (eval echo configure:10295: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10295 rm -rf conftest*
10296 glibcpp_cv_func_sinl_use=yes
10297 else
10298 echo "configure: failed program was:" >&5
10299 cat conftest.$ac_ext >&5
10300 rm -rf conftest*
10301 glibcpp_cv_func_sinl_use=no
10303 rm -f conftest*
10304 ac_ext=c
10305 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10306 ac_cpp='$CPP $CPPFLAGS'
10307 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10308 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10309 cross_compiling=$ac_cv_prog_cc_cross
10314 echo "$ac_t""$glibcpp_cv_func_sinl_use" 1>&6
10315 if test x$glibcpp_cv_func_sinl_use = x"yes"; then
10316 for ac_func in sinl
10318 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10319 echo "configure:10320: checking for $ac_func" >&5
10320 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10321 echo $ac_n "(cached) $ac_c" 1>&6
10322 else
10323 cat > conftest.$ac_ext <<EOF
10324 #line 10325 "configure"
10325 #include "confdefs.h"
10326 /* System header to define __stub macros and hopefully few prototypes,
10327 which can conflict with char $ac_func(); below. */
10328 #include <assert.h>
10329 /* Override any gcc2 internal prototype to avoid an error. */
10330 /* We use char because int might match the return type of a gcc2
10331 builtin and then its argument prototype would still apply. */
10332 char $ac_func();
10334 int main() {
10336 /* The GNU C library defines this for functions which it implements
10337 to always fail with ENOSYS. Some functions are actually named
10338 something starting with __ and the normal name is an alias. */
10339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10340 choke me
10341 #else
10342 $ac_func();
10343 #endif
10345 ; return 0; }
10347 if { (eval echo configure:10348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10348 rm -rf conftest*
10349 eval "ac_cv_func_$ac_func=yes"
10350 else
10351 echo "configure: failed program was:" >&5
10352 cat conftest.$ac_ext >&5
10353 rm -rf conftest*
10354 eval "ac_cv_func_$ac_func=no"
10356 rm -f conftest*
10359 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10360 echo "$ac_t""yes" 1>&6
10361 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10362 cat >> confdefs.h <<EOF
10363 #define $ac_tr_func 1
10366 else
10367 echo "$ac_t""no" 1>&6
10369 done
10374 echo $ac_n "checking for sinhl declaration""... $ac_c" 1>&6
10375 echo "configure:10376: checking for sinhl declaration" >&5
10376 if eval "test \"`echo '$''{'glibcpp_cv_func_sinhl_use'+set}'`\" = set"; then
10377 echo $ac_n "(cached) $ac_c" 1>&6
10378 else
10381 ac_ext=C
10382 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10383 ac_cpp='$CXXCPP $CPPFLAGS'
10384 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10385 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10386 cross_compiling=$ac_cv_prog_cxx_cross
10388 cat > conftest.$ac_ext <<EOF
10389 #line 10390 "configure"
10390 #include "confdefs.h"
10391 #include <math.h>
10392 int main() {
10393 sinhl(0);
10394 ; return 0; }
10396 if { (eval echo configure:10397: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10397 rm -rf conftest*
10398 glibcpp_cv_func_sinhl_use=yes
10399 else
10400 echo "configure: failed program was:" >&5
10401 cat conftest.$ac_ext >&5
10402 rm -rf conftest*
10403 glibcpp_cv_func_sinhl_use=no
10405 rm -f conftest*
10406 ac_ext=c
10407 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10408 ac_cpp='$CPP $CPPFLAGS'
10409 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10410 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10411 cross_compiling=$ac_cv_prog_cc_cross
10416 echo "$ac_t""$glibcpp_cv_func_sinhl_use" 1>&6
10417 if test x$glibcpp_cv_func_sinhl_use = x"yes"; then
10418 for ac_func in sinhl
10420 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10421 echo "configure:10422: checking for $ac_func" >&5
10422 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10423 echo $ac_n "(cached) $ac_c" 1>&6
10424 else
10425 cat > conftest.$ac_ext <<EOF
10426 #line 10427 "configure"
10427 #include "confdefs.h"
10428 /* System header to define __stub macros and hopefully few prototypes,
10429 which can conflict with char $ac_func(); below. */
10430 #include <assert.h>
10431 /* Override any gcc2 internal prototype to avoid an error. */
10432 /* We use char because int might match the return type of a gcc2
10433 builtin and then its argument prototype would still apply. */
10434 char $ac_func();
10436 int main() {
10438 /* The GNU C library defines this for functions which it implements
10439 to always fail with ENOSYS. Some functions are actually named
10440 something starting with __ and the normal name is an alias. */
10441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10442 choke me
10443 #else
10444 $ac_func();
10445 #endif
10447 ; return 0; }
10449 if { (eval echo configure:10450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10450 rm -rf conftest*
10451 eval "ac_cv_func_$ac_func=yes"
10452 else
10453 echo "configure: failed program was:" >&5
10454 cat conftest.$ac_ext >&5
10455 rm -rf conftest*
10456 eval "ac_cv_func_$ac_func=no"
10458 rm -f conftest*
10461 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10462 echo "$ac_t""yes" 1>&6
10463 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10464 cat >> confdefs.h <<EOF
10465 #define $ac_tr_func 1
10468 else
10469 echo "$ac_t""no" 1>&6
10471 done
10476 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
10477 echo "configure:10478: checking for sqrtl declaration" >&5
10478 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
10479 echo $ac_n "(cached) $ac_c" 1>&6
10480 else
10483 ac_ext=C
10484 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10485 ac_cpp='$CXXCPP $CPPFLAGS'
10486 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10487 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10488 cross_compiling=$ac_cv_prog_cxx_cross
10490 cat > conftest.$ac_ext <<EOF
10491 #line 10492 "configure"
10492 #include "confdefs.h"
10493 #include <math.h>
10494 int main() {
10495 sqrtl(0);
10496 ; return 0; }
10498 if { (eval echo configure:10499: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10499 rm -rf conftest*
10500 glibcpp_cv_func_sqrtl_use=yes
10501 else
10502 echo "configure: failed program was:" >&5
10503 cat conftest.$ac_ext >&5
10504 rm -rf conftest*
10505 glibcpp_cv_func_sqrtl_use=no
10507 rm -f conftest*
10508 ac_ext=c
10509 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10510 ac_cpp='$CPP $CPPFLAGS'
10511 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10512 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10513 cross_compiling=$ac_cv_prog_cc_cross
10518 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
10519 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
10520 for ac_func in sqrtl
10522 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10523 echo "configure:10524: checking for $ac_func" >&5
10524 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10525 echo $ac_n "(cached) $ac_c" 1>&6
10526 else
10527 cat > conftest.$ac_ext <<EOF
10528 #line 10529 "configure"
10529 #include "confdefs.h"
10530 /* System header to define __stub macros and hopefully few prototypes,
10531 which can conflict with char $ac_func(); below. */
10532 #include <assert.h>
10533 /* Override any gcc2 internal prototype to avoid an error. */
10534 /* We use char because int might match the return type of a gcc2
10535 builtin and then its argument prototype would still apply. */
10536 char $ac_func();
10538 int main() {
10540 /* The GNU C library defines this for functions which it implements
10541 to always fail with ENOSYS. Some functions are actually named
10542 something starting with __ and the normal name is an alias. */
10543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10544 choke me
10545 #else
10546 $ac_func();
10547 #endif
10549 ; return 0; }
10551 if { (eval echo configure:10552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10552 rm -rf conftest*
10553 eval "ac_cv_func_$ac_func=yes"
10554 else
10555 echo "configure: failed program was:" >&5
10556 cat conftest.$ac_ext >&5
10557 rm -rf conftest*
10558 eval "ac_cv_func_$ac_func=no"
10560 rm -f conftest*
10563 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10564 echo "$ac_t""yes" 1>&6
10565 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10566 cat >> confdefs.h <<EOF
10567 #define $ac_tr_func 1
10570 else
10571 echo "$ac_t""no" 1>&6
10573 done
10578 echo $ac_n "checking for tanl declaration""... $ac_c" 1>&6
10579 echo "configure:10580: checking for tanl declaration" >&5
10580 if eval "test \"`echo '$''{'glibcpp_cv_func_tanl_use'+set}'`\" = set"; then
10581 echo $ac_n "(cached) $ac_c" 1>&6
10582 else
10585 ac_ext=C
10586 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10587 ac_cpp='$CXXCPP $CPPFLAGS'
10588 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10589 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10590 cross_compiling=$ac_cv_prog_cxx_cross
10592 cat > conftest.$ac_ext <<EOF
10593 #line 10594 "configure"
10594 #include "confdefs.h"
10595 #include <math.h>
10596 int main() {
10597 tanl(0);
10598 ; return 0; }
10600 if { (eval echo configure:10601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10601 rm -rf conftest*
10602 glibcpp_cv_func_tanl_use=yes
10603 else
10604 echo "configure: failed program was:" >&5
10605 cat conftest.$ac_ext >&5
10606 rm -rf conftest*
10607 glibcpp_cv_func_tanl_use=no
10609 rm -f conftest*
10610 ac_ext=c
10611 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10612 ac_cpp='$CPP $CPPFLAGS'
10613 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10614 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10615 cross_compiling=$ac_cv_prog_cc_cross
10620 echo "$ac_t""$glibcpp_cv_func_tanl_use" 1>&6
10621 if test x$glibcpp_cv_func_tanl_use = x"yes"; then
10622 for ac_func in tanl
10624 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10625 echo "configure:10626: checking for $ac_func" >&5
10626 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10627 echo $ac_n "(cached) $ac_c" 1>&6
10628 else
10629 cat > conftest.$ac_ext <<EOF
10630 #line 10631 "configure"
10631 #include "confdefs.h"
10632 /* System header to define __stub macros and hopefully few prototypes,
10633 which can conflict with char $ac_func(); below. */
10634 #include <assert.h>
10635 /* Override any gcc2 internal prototype to avoid an error. */
10636 /* We use char because int might match the return type of a gcc2
10637 builtin and then its argument prototype would still apply. */
10638 char $ac_func();
10640 int main() {
10642 /* The GNU C library defines this for functions which it implements
10643 to always fail with ENOSYS. Some functions are actually named
10644 something starting with __ and the normal name is an alias. */
10645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10646 choke me
10647 #else
10648 $ac_func();
10649 #endif
10651 ; return 0; }
10653 if { (eval echo configure:10654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10654 rm -rf conftest*
10655 eval "ac_cv_func_$ac_func=yes"
10656 else
10657 echo "configure: failed program was:" >&5
10658 cat conftest.$ac_ext >&5
10659 rm -rf conftest*
10660 eval "ac_cv_func_$ac_func=no"
10662 rm -f conftest*
10665 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10666 echo "$ac_t""yes" 1>&6
10667 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10668 cat >> confdefs.h <<EOF
10669 #define $ac_tr_func 1
10672 else
10673 echo "$ac_t""no" 1>&6
10675 done
10680 echo $ac_n "checking for tanhl declaration""... $ac_c" 1>&6
10681 echo "configure:10682: checking for tanhl declaration" >&5
10682 if eval "test \"`echo '$''{'glibcpp_cv_func_tanhl_use'+set}'`\" = set"; then
10683 echo $ac_n "(cached) $ac_c" 1>&6
10684 else
10687 ac_ext=C
10688 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10689 ac_cpp='$CXXCPP $CPPFLAGS'
10690 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10691 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10692 cross_compiling=$ac_cv_prog_cxx_cross
10694 cat > conftest.$ac_ext <<EOF
10695 #line 10696 "configure"
10696 #include "confdefs.h"
10697 #include <math.h>
10698 int main() {
10699 tanhl(0);
10700 ; return 0; }
10702 if { (eval echo configure:10703: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10703 rm -rf conftest*
10704 glibcpp_cv_func_tanhl_use=yes
10705 else
10706 echo "configure: failed program was:" >&5
10707 cat conftest.$ac_ext >&5
10708 rm -rf conftest*
10709 glibcpp_cv_func_tanhl_use=no
10711 rm -f conftest*
10712 ac_ext=c
10713 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10714 ac_cpp='$CPP $CPPFLAGS'
10715 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10716 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10717 cross_compiling=$ac_cv_prog_cc_cross
10722 echo "$ac_t""$glibcpp_cv_func_tanhl_use" 1>&6
10723 if test x$glibcpp_cv_func_tanhl_use = x"yes"; then
10724 for ac_func in tanhl
10726 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10727 echo "configure:10728: checking for $ac_func" >&5
10728 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10729 echo $ac_n "(cached) $ac_c" 1>&6
10730 else
10731 cat > conftest.$ac_ext <<EOF
10732 #line 10733 "configure"
10733 #include "confdefs.h"
10734 /* System header to define __stub macros and hopefully few prototypes,
10735 which can conflict with char $ac_func(); below. */
10736 #include <assert.h>
10737 /* Override any gcc2 internal prototype to avoid an error. */
10738 /* We use char because int might match the return type of a gcc2
10739 builtin and then its argument prototype would still apply. */
10740 char $ac_func();
10742 int main() {
10744 /* The GNU C library defines this for functions which it implements
10745 to always fail with ENOSYS. Some functions are actually named
10746 something starting with __ and the normal name is an alias. */
10747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10748 choke me
10749 #else
10750 $ac_func();
10751 #endif
10753 ; return 0; }
10755 if { (eval echo configure:10756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10756 rm -rf conftest*
10757 eval "ac_cv_func_$ac_func=yes"
10758 else
10759 echo "configure: failed program was:" >&5
10760 cat conftest.$ac_ext >&5
10761 rm -rf conftest*
10762 eval "ac_cv_func_$ac_func=no"
10764 rm -f conftest*
10767 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10768 echo "$ac_t""yes" 1>&6
10769 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10770 cat >> confdefs.h <<EOF
10771 #define $ac_tr_func 1
10774 else
10775 echo "$ac_t""no" 1>&6
10777 done
10782 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
10783 echo "configure:10784: checking for sincosl declaration" >&5
10784 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
10785 echo $ac_n "(cached) $ac_c" 1>&6
10786 else
10789 ac_ext=C
10790 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10791 ac_cpp='$CXXCPP $CPPFLAGS'
10792 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10793 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10794 cross_compiling=$ac_cv_prog_cxx_cross
10796 cat > conftest.$ac_ext <<EOF
10797 #line 10798 "configure"
10798 #include "confdefs.h"
10799 #include <math.h>
10800 int main() {
10801 sincosl(0, 0, 0);
10802 ; return 0; }
10804 if { (eval echo configure:10805: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10805 rm -rf conftest*
10806 glibcpp_cv_func_sincosl_use=yes
10807 else
10808 echo "configure: failed program was:" >&5
10809 cat conftest.$ac_ext >&5
10810 rm -rf conftest*
10811 glibcpp_cv_func_sincosl_use=no
10813 rm -f conftest*
10814 ac_ext=c
10815 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10816 ac_cpp='$CPP $CPPFLAGS'
10817 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10818 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10819 cross_compiling=$ac_cv_prog_cc_cross
10824 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
10825 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
10826 for ac_func in sincosl
10828 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10829 echo "configure:10830: checking for $ac_func" >&5
10830 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10831 echo $ac_n "(cached) $ac_c" 1>&6
10832 else
10833 cat > conftest.$ac_ext <<EOF
10834 #line 10835 "configure"
10835 #include "confdefs.h"
10836 /* System header to define __stub macros and hopefully few prototypes,
10837 which can conflict with char $ac_func(); below. */
10838 #include <assert.h>
10839 /* Override any gcc2 internal prototype to avoid an error. */
10840 /* We use char because int might match the return type of a gcc2
10841 builtin and then its argument prototype would still apply. */
10842 char $ac_func();
10844 int main() {
10846 /* The GNU C library defines this for functions which it implements
10847 to always fail with ENOSYS. Some functions are actually named
10848 something starting with __ and the normal name is an alias. */
10849 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10850 choke me
10851 #else
10852 $ac_func();
10853 #endif
10855 ; return 0; }
10857 if { (eval echo configure:10858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10858 rm -rf conftest*
10859 eval "ac_cv_func_$ac_func=yes"
10860 else
10861 echo "configure: failed program was:" >&5
10862 cat conftest.$ac_ext >&5
10863 rm -rf conftest*
10864 eval "ac_cv_func_$ac_func=no"
10866 rm -f conftest*
10869 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10870 echo "$ac_t""yes" 1>&6
10871 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10872 cat >> confdefs.h <<EOF
10873 #define $ac_tr_func 1
10876 else
10877 echo "$ac_t""no" 1>&6
10879 done
10884 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
10885 echo "configure:10886: checking for finitel declaration" >&5
10886 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
10887 echo $ac_n "(cached) $ac_c" 1>&6
10888 else
10891 ac_ext=C
10892 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10893 ac_cpp='$CXXCPP $CPPFLAGS'
10894 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10895 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10896 cross_compiling=$ac_cv_prog_cxx_cross
10898 cat > conftest.$ac_ext <<EOF
10899 #line 10900 "configure"
10900 #include "confdefs.h"
10901 #include <math.h>
10902 int main() {
10903 finitel(0);
10904 ; return 0; }
10906 if { (eval echo configure:10907: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10907 rm -rf conftest*
10908 glibcpp_cv_func_finitel_use=yes
10909 else
10910 echo "configure: failed program was:" >&5
10911 cat conftest.$ac_ext >&5
10912 rm -rf conftest*
10913 glibcpp_cv_func_finitel_use=no
10915 rm -f conftest*
10916 ac_ext=c
10917 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10918 ac_cpp='$CPP $CPPFLAGS'
10919 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10920 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10921 cross_compiling=$ac_cv_prog_cc_cross
10926 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
10927 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
10928 for ac_func in finitel
10930 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10931 echo "configure:10932: checking for $ac_func" >&5
10932 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10933 echo $ac_n "(cached) $ac_c" 1>&6
10934 else
10935 cat > conftest.$ac_ext <<EOF
10936 #line 10937 "configure"
10937 #include "confdefs.h"
10938 /* System header to define __stub macros and hopefully few prototypes,
10939 which can conflict with char $ac_func(); below. */
10940 #include <assert.h>
10941 /* Override any gcc2 internal prototype to avoid an error. */
10942 /* We use char because int might match the return type of a gcc2
10943 builtin and then its argument prototype would still apply. */
10944 char $ac_func();
10946 int main() {
10948 /* The GNU C library defines this for functions which it implements
10949 to always fail with ENOSYS. Some functions are actually named
10950 something starting with __ and the normal name is an alias. */
10951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10952 choke me
10953 #else
10954 $ac_func();
10955 #endif
10957 ; return 0; }
10959 if { (eval echo configure:10960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10960 rm -rf conftest*
10961 eval "ac_cv_func_$ac_func=yes"
10962 else
10963 echo "configure: failed program was:" >&5
10964 cat conftest.$ac_ext >&5
10965 rm -rf conftest*
10966 eval "ac_cv_func_$ac_func=no"
10968 rm -f conftest*
10971 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10972 echo "$ac_t""yes" 1>&6
10973 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10974 cat >> confdefs.h <<EOF
10975 #define $ac_tr_func 1
10978 else
10979 echo "$ac_t""no" 1>&6
10981 done
10987 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
10988 echo "configure:10989: checking for _isinf declaration" >&5
10989 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
10990 echo $ac_n "(cached) $ac_c" 1>&6
10991 else
10994 ac_ext=C
10995 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10996 ac_cpp='$CXXCPP $CPPFLAGS'
10997 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10998 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10999 cross_compiling=$ac_cv_prog_cxx_cross
11001 cat > conftest.$ac_ext <<EOF
11002 #line 11003 "configure"
11003 #include "confdefs.h"
11004 #include <math.h>
11005 int main() {
11006 _isinf(0);
11007 ; return 0; }
11009 if { (eval echo configure:11010: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11010 rm -rf conftest*
11011 glibcpp_cv_func__isinf_use=yes
11012 else
11013 echo "configure: failed program was:" >&5
11014 cat conftest.$ac_ext >&5
11015 rm -rf conftest*
11016 glibcpp_cv_func__isinf_use=no
11018 rm -f conftest*
11019 ac_ext=c
11020 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11021 ac_cpp='$CPP $CPPFLAGS'
11022 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11023 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11024 cross_compiling=$ac_cv_prog_cc_cross
11029 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
11030 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
11031 for ac_func in _isinf
11033 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11034 echo "configure:11035: checking for $ac_func" >&5
11035 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11036 echo $ac_n "(cached) $ac_c" 1>&6
11037 else
11038 cat > conftest.$ac_ext <<EOF
11039 #line 11040 "configure"
11040 #include "confdefs.h"
11041 /* System header to define __stub macros and hopefully few prototypes,
11042 which can conflict with char $ac_func(); below. */
11043 #include <assert.h>
11044 /* Override any gcc2 internal prototype to avoid an error. */
11045 /* We use char because int might match the return type of a gcc2
11046 builtin and then its argument prototype would still apply. */
11047 char $ac_func();
11049 int main() {
11051 /* The GNU C library defines this for functions which it implements
11052 to always fail with ENOSYS. Some functions are actually named
11053 something starting with __ and the normal name is an alias. */
11054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11055 choke me
11056 #else
11057 $ac_func();
11058 #endif
11060 ; return 0; }
11062 if { (eval echo configure:11063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11063 rm -rf conftest*
11064 eval "ac_cv_func_$ac_func=yes"
11065 else
11066 echo "configure: failed program was:" >&5
11067 cat conftest.$ac_ext >&5
11068 rm -rf conftest*
11069 eval "ac_cv_func_$ac_func=no"
11071 rm -f conftest*
11074 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11075 echo "$ac_t""yes" 1>&6
11076 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11077 cat >> confdefs.h <<EOF
11078 #define $ac_tr_func 1
11081 else
11082 echo "$ac_t""no" 1>&6
11084 done
11089 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
11090 echo "configure:11091: checking for _isnan declaration" >&5
11091 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
11092 echo $ac_n "(cached) $ac_c" 1>&6
11093 else
11096 ac_ext=C
11097 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11098 ac_cpp='$CXXCPP $CPPFLAGS'
11099 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11100 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11101 cross_compiling=$ac_cv_prog_cxx_cross
11103 cat > conftest.$ac_ext <<EOF
11104 #line 11105 "configure"
11105 #include "confdefs.h"
11106 #include <math.h>
11107 int main() {
11108 _isnan(0);
11109 ; return 0; }
11111 if { (eval echo configure:11112: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11112 rm -rf conftest*
11113 glibcpp_cv_func__isnan_use=yes
11114 else
11115 echo "configure: failed program was:" >&5
11116 cat conftest.$ac_ext >&5
11117 rm -rf conftest*
11118 glibcpp_cv_func__isnan_use=no
11120 rm -f conftest*
11121 ac_ext=c
11122 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11123 ac_cpp='$CPP $CPPFLAGS'
11124 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11125 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11126 cross_compiling=$ac_cv_prog_cc_cross
11131 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
11132 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
11133 for ac_func in _isnan
11135 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11136 echo "configure:11137: checking for $ac_func" >&5
11137 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11138 echo $ac_n "(cached) $ac_c" 1>&6
11139 else
11140 cat > conftest.$ac_ext <<EOF
11141 #line 11142 "configure"
11142 #include "confdefs.h"
11143 /* System header to define __stub macros and hopefully few prototypes,
11144 which can conflict with char $ac_func(); below. */
11145 #include <assert.h>
11146 /* Override any gcc2 internal prototype to avoid an error. */
11147 /* We use char because int might match the return type of a gcc2
11148 builtin and then its argument prototype would still apply. */
11149 char $ac_func();
11151 int main() {
11153 /* The GNU C library defines this for functions which it implements
11154 to always fail with ENOSYS. Some functions are actually named
11155 something starting with __ and the normal name is an alias. */
11156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11157 choke me
11158 #else
11159 $ac_func();
11160 #endif
11162 ; return 0; }
11164 if { (eval echo configure:11165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11165 rm -rf conftest*
11166 eval "ac_cv_func_$ac_func=yes"
11167 else
11168 echo "configure: failed program was:" >&5
11169 cat conftest.$ac_ext >&5
11170 rm -rf conftest*
11171 eval "ac_cv_func_$ac_func=no"
11173 rm -f conftest*
11176 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11177 echo "$ac_t""yes" 1>&6
11178 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11179 cat >> confdefs.h <<EOF
11180 #define $ac_tr_func 1
11183 else
11184 echo "$ac_t""no" 1>&6
11186 done
11191 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
11192 echo "configure:11193: checking for _finite declaration" >&5
11193 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
11194 echo $ac_n "(cached) $ac_c" 1>&6
11195 else
11198 ac_ext=C
11199 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11200 ac_cpp='$CXXCPP $CPPFLAGS'
11201 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11202 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11203 cross_compiling=$ac_cv_prog_cxx_cross
11205 cat > conftest.$ac_ext <<EOF
11206 #line 11207 "configure"
11207 #include "confdefs.h"
11208 #include <math.h>
11209 int main() {
11210 _finite(0);
11211 ; return 0; }
11213 if { (eval echo configure:11214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11214 rm -rf conftest*
11215 glibcpp_cv_func__finite_use=yes
11216 else
11217 echo "configure: failed program was:" >&5
11218 cat conftest.$ac_ext >&5
11219 rm -rf conftest*
11220 glibcpp_cv_func__finite_use=no
11222 rm -f conftest*
11223 ac_ext=c
11224 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11225 ac_cpp='$CPP $CPPFLAGS'
11226 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11227 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11228 cross_compiling=$ac_cv_prog_cc_cross
11233 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
11234 if test x$glibcpp_cv_func__finite_use = x"yes"; then
11235 for ac_func in _finite
11237 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11238 echo "configure:11239: checking for $ac_func" >&5
11239 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11240 echo $ac_n "(cached) $ac_c" 1>&6
11241 else
11242 cat > conftest.$ac_ext <<EOF
11243 #line 11244 "configure"
11244 #include "confdefs.h"
11245 /* System header to define __stub macros and hopefully few prototypes,
11246 which can conflict with char $ac_func(); below. */
11247 #include <assert.h>
11248 /* Override any gcc2 internal prototype to avoid an error. */
11249 /* We use char because int might match the return type of a gcc2
11250 builtin and then its argument prototype would still apply. */
11251 char $ac_func();
11253 int main() {
11255 /* The GNU C library defines this for functions which it implements
11256 to always fail with ENOSYS. Some functions are actually named
11257 something starting with __ and the normal name is an alias. */
11258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11259 choke me
11260 #else
11261 $ac_func();
11262 #endif
11264 ; return 0; }
11266 if { (eval echo configure:11267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11267 rm -rf conftest*
11268 eval "ac_cv_func_$ac_func=yes"
11269 else
11270 echo "configure: failed program was:" >&5
11271 cat conftest.$ac_ext >&5
11272 rm -rf conftest*
11273 eval "ac_cv_func_$ac_func=no"
11275 rm -f conftest*
11278 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11279 echo "$ac_t""yes" 1>&6
11280 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11281 cat >> confdefs.h <<EOF
11282 #define $ac_tr_func 1
11285 else
11286 echo "$ac_t""no" 1>&6
11288 done
11293 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
11294 echo "configure:11295: checking for _copysign declaration" >&5
11295 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
11296 echo $ac_n "(cached) $ac_c" 1>&6
11297 else
11300 ac_ext=C
11301 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11302 ac_cpp='$CXXCPP $CPPFLAGS'
11303 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11304 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11305 cross_compiling=$ac_cv_prog_cxx_cross
11307 cat > conftest.$ac_ext <<EOF
11308 #line 11309 "configure"
11309 #include "confdefs.h"
11310 #include <math.h>
11311 int main() {
11312 _copysign(0, 0);
11313 ; return 0; }
11315 if { (eval echo configure:11316: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11316 rm -rf conftest*
11317 glibcpp_cv_func__copysign_use=yes
11318 else
11319 echo "configure: failed program was:" >&5
11320 cat conftest.$ac_ext >&5
11321 rm -rf conftest*
11322 glibcpp_cv_func__copysign_use=no
11324 rm -f conftest*
11325 ac_ext=c
11326 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11327 ac_cpp='$CPP $CPPFLAGS'
11328 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11329 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11330 cross_compiling=$ac_cv_prog_cc_cross
11335 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
11336 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
11337 for ac_func in _copysign
11339 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11340 echo "configure:11341: checking for $ac_func" >&5
11341 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11342 echo $ac_n "(cached) $ac_c" 1>&6
11343 else
11344 cat > conftest.$ac_ext <<EOF
11345 #line 11346 "configure"
11346 #include "confdefs.h"
11347 /* System header to define __stub macros and hopefully few prototypes,
11348 which can conflict with char $ac_func(); below. */
11349 #include <assert.h>
11350 /* Override any gcc2 internal prototype to avoid an error. */
11351 /* We use char because int might match the return type of a gcc2
11352 builtin and then its argument prototype would still apply. */
11353 char $ac_func();
11355 int main() {
11357 /* The GNU C library defines this for functions which it implements
11358 to always fail with ENOSYS. Some functions are actually named
11359 something starting with __ and the normal name is an alias. */
11360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11361 choke me
11362 #else
11363 $ac_func();
11364 #endif
11366 ; return 0; }
11368 if { (eval echo configure:11369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11369 rm -rf conftest*
11370 eval "ac_cv_func_$ac_func=yes"
11371 else
11372 echo "configure: failed program was:" >&5
11373 cat conftest.$ac_ext >&5
11374 rm -rf conftest*
11375 eval "ac_cv_func_$ac_func=no"
11377 rm -f conftest*
11380 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11381 echo "$ac_t""yes" 1>&6
11382 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11383 cat >> confdefs.h <<EOF
11384 #define $ac_tr_func 1
11387 else
11388 echo "$ac_t""no" 1>&6
11390 done
11395 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
11396 echo "configure:11397: checking for _sincos declaration" >&5
11397 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
11398 echo $ac_n "(cached) $ac_c" 1>&6
11399 else
11402 ac_ext=C
11403 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11404 ac_cpp='$CXXCPP $CPPFLAGS'
11405 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11406 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11407 cross_compiling=$ac_cv_prog_cxx_cross
11409 cat > conftest.$ac_ext <<EOF
11410 #line 11411 "configure"
11411 #include "confdefs.h"
11412 #include <math.h>
11413 int main() {
11414 _sincos(0, 0, 0);
11415 ; return 0; }
11417 if { (eval echo configure:11418: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11418 rm -rf conftest*
11419 glibcpp_cv_func__sincos_use=yes
11420 else
11421 echo "configure: failed program was:" >&5
11422 cat conftest.$ac_ext >&5
11423 rm -rf conftest*
11424 glibcpp_cv_func__sincos_use=no
11426 rm -f conftest*
11427 ac_ext=c
11428 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11429 ac_cpp='$CPP $CPPFLAGS'
11430 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11431 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11432 cross_compiling=$ac_cv_prog_cc_cross
11437 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
11438 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
11439 for ac_func in _sincos
11441 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11442 echo "configure:11443: checking for $ac_func" >&5
11443 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11444 echo $ac_n "(cached) $ac_c" 1>&6
11445 else
11446 cat > conftest.$ac_ext <<EOF
11447 #line 11448 "configure"
11448 #include "confdefs.h"
11449 /* System header to define __stub macros and hopefully few prototypes,
11450 which can conflict with char $ac_func(); below. */
11451 #include <assert.h>
11452 /* Override any gcc2 internal prototype to avoid an error. */
11453 /* We use char because int might match the return type of a gcc2
11454 builtin and then its argument prototype would still apply. */
11455 char $ac_func();
11457 int main() {
11459 /* The GNU C library defines this for functions which it implements
11460 to always fail with ENOSYS. Some functions are actually named
11461 something starting with __ and the normal name is an alias. */
11462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11463 choke me
11464 #else
11465 $ac_func();
11466 #endif
11468 ; return 0; }
11470 if { (eval echo configure:11471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11471 rm -rf conftest*
11472 eval "ac_cv_func_$ac_func=yes"
11473 else
11474 echo "configure: failed program was:" >&5
11475 cat conftest.$ac_ext >&5
11476 rm -rf conftest*
11477 eval "ac_cv_func_$ac_func=no"
11479 rm -f conftest*
11482 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11483 echo "$ac_t""yes" 1>&6
11484 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11485 cat >> confdefs.h <<EOF
11486 #define $ac_tr_func 1
11489 else
11490 echo "$ac_t""no" 1>&6
11492 done
11497 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
11498 echo "configure:11499: checking for _fpclass declaration" >&5
11499 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
11500 echo $ac_n "(cached) $ac_c" 1>&6
11501 else
11504 ac_ext=C
11505 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11506 ac_cpp='$CXXCPP $CPPFLAGS'
11507 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11508 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11509 cross_compiling=$ac_cv_prog_cxx_cross
11511 cat > conftest.$ac_ext <<EOF
11512 #line 11513 "configure"
11513 #include "confdefs.h"
11514 #include <math.h>
11515 int main() {
11516 _fpclass(0);
11517 ; return 0; }
11519 if { (eval echo configure:11520: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11520 rm -rf conftest*
11521 glibcpp_cv_func__fpclass_use=yes
11522 else
11523 echo "configure: failed program was:" >&5
11524 cat conftest.$ac_ext >&5
11525 rm -rf conftest*
11526 glibcpp_cv_func__fpclass_use=no
11528 rm -f conftest*
11529 ac_ext=c
11530 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11531 ac_cpp='$CPP $CPPFLAGS'
11532 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11533 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11534 cross_compiling=$ac_cv_prog_cc_cross
11539 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
11540 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
11541 for ac_func in _fpclass
11543 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11544 echo "configure:11545: checking for $ac_func" >&5
11545 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11546 echo $ac_n "(cached) $ac_c" 1>&6
11547 else
11548 cat > conftest.$ac_ext <<EOF
11549 #line 11550 "configure"
11550 #include "confdefs.h"
11551 /* System header to define __stub macros and hopefully few prototypes,
11552 which can conflict with char $ac_func(); below. */
11553 #include <assert.h>
11554 /* Override any gcc2 internal prototype to avoid an error. */
11555 /* We use char because int might match the return type of a gcc2
11556 builtin and then its argument prototype would still apply. */
11557 char $ac_func();
11559 int main() {
11561 /* The GNU C library defines this for functions which it implements
11562 to always fail with ENOSYS. Some functions are actually named
11563 something starting with __ and the normal name is an alias. */
11564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11565 choke me
11566 #else
11567 $ac_func();
11568 #endif
11570 ; return 0; }
11572 if { (eval echo configure:11573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11573 rm -rf conftest*
11574 eval "ac_cv_func_$ac_func=yes"
11575 else
11576 echo "configure: failed program was:" >&5
11577 cat conftest.$ac_ext >&5
11578 rm -rf conftest*
11579 eval "ac_cv_func_$ac_func=no"
11581 rm -f conftest*
11584 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11585 echo "$ac_t""yes" 1>&6
11586 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11587 cat >> confdefs.h <<EOF
11588 #define $ac_tr_func 1
11591 else
11592 echo "$ac_t""no" 1>&6
11594 done
11599 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
11600 echo "configure:11601: checking for _qfpclass declaration" >&5
11601 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
11602 echo $ac_n "(cached) $ac_c" 1>&6
11603 else
11606 ac_ext=C
11607 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11608 ac_cpp='$CXXCPP $CPPFLAGS'
11609 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11610 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11611 cross_compiling=$ac_cv_prog_cxx_cross
11613 cat > conftest.$ac_ext <<EOF
11614 #line 11615 "configure"
11615 #include "confdefs.h"
11616 #include <math.h>
11617 int main() {
11618 _qfpclass(0);
11619 ; return 0; }
11621 if { (eval echo configure:11622: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11622 rm -rf conftest*
11623 glibcpp_cv_func__qfpclass_use=yes
11624 else
11625 echo "configure: failed program was:" >&5
11626 cat conftest.$ac_ext >&5
11627 rm -rf conftest*
11628 glibcpp_cv_func__qfpclass_use=no
11630 rm -f conftest*
11631 ac_ext=c
11632 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11633 ac_cpp='$CPP $CPPFLAGS'
11634 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11635 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11636 cross_compiling=$ac_cv_prog_cc_cross
11641 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
11642 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
11643 for ac_func in _qfpclass
11645 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11646 echo "configure:11647: checking for $ac_func" >&5
11647 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11648 echo $ac_n "(cached) $ac_c" 1>&6
11649 else
11650 cat > conftest.$ac_ext <<EOF
11651 #line 11652 "configure"
11652 #include "confdefs.h"
11653 /* System header to define __stub macros and hopefully few prototypes,
11654 which can conflict with char $ac_func(); below. */
11655 #include <assert.h>
11656 /* Override any gcc2 internal prototype to avoid an error. */
11657 /* We use char because int might match the return type of a gcc2
11658 builtin and then its argument prototype would still apply. */
11659 char $ac_func();
11661 int main() {
11663 /* The GNU C library defines this for functions which it implements
11664 to always fail with ENOSYS. Some functions are actually named
11665 something starting with __ and the normal name is an alias. */
11666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11667 choke me
11668 #else
11669 $ac_func();
11670 #endif
11672 ; return 0; }
11674 if { (eval echo configure:11675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11675 rm -rf conftest*
11676 eval "ac_cv_func_$ac_func=yes"
11677 else
11678 echo "configure: failed program was:" >&5
11679 cat conftest.$ac_ext >&5
11680 rm -rf conftest*
11681 eval "ac_cv_func_$ac_func=no"
11683 rm -f conftest*
11686 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11687 echo "$ac_t""yes" 1>&6
11688 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11689 cat >> confdefs.h <<EOF
11690 #define $ac_tr_func 1
11693 else
11694 echo "$ac_t""no" 1>&6
11696 done
11702 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
11703 echo "configure:11704: checking for _isnanf declaration" >&5
11704 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
11705 echo $ac_n "(cached) $ac_c" 1>&6
11706 else
11709 ac_ext=C
11710 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11711 ac_cpp='$CXXCPP $CPPFLAGS'
11712 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11713 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11714 cross_compiling=$ac_cv_prog_cxx_cross
11716 cat > conftest.$ac_ext <<EOF
11717 #line 11718 "configure"
11718 #include "confdefs.h"
11719 #include <math.h>
11720 int main() {
11721 _isnanf(0);
11722 ; return 0; }
11724 if { (eval echo configure:11725: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11725 rm -rf conftest*
11726 glibcpp_cv_func__isnanf_use=yes
11727 else
11728 echo "configure: failed program was:" >&5
11729 cat conftest.$ac_ext >&5
11730 rm -rf conftest*
11731 glibcpp_cv_func__isnanf_use=no
11733 rm -f conftest*
11734 ac_ext=c
11735 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11736 ac_cpp='$CPP $CPPFLAGS'
11737 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11738 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11739 cross_compiling=$ac_cv_prog_cc_cross
11744 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
11745 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
11746 for ac_func in _isnanf
11748 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11749 echo "configure:11750: checking for $ac_func" >&5
11750 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11751 echo $ac_n "(cached) $ac_c" 1>&6
11752 else
11753 cat > conftest.$ac_ext <<EOF
11754 #line 11755 "configure"
11755 #include "confdefs.h"
11756 /* System header to define __stub macros and hopefully few prototypes,
11757 which can conflict with char $ac_func(); below. */
11758 #include <assert.h>
11759 /* Override any gcc2 internal prototype to avoid an error. */
11760 /* We use char because int might match the return type of a gcc2
11761 builtin and then its argument prototype would still apply. */
11762 char $ac_func();
11764 int main() {
11766 /* The GNU C library defines this for functions which it implements
11767 to always fail with ENOSYS. Some functions are actually named
11768 something starting with __ and the normal name is an alias. */
11769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11770 choke me
11771 #else
11772 $ac_func();
11773 #endif
11775 ; return 0; }
11777 if { (eval echo configure:11778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11778 rm -rf conftest*
11779 eval "ac_cv_func_$ac_func=yes"
11780 else
11781 echo "configure: failed program was:" >&5
11782 cat conftest.$ac_ext >&5
11783 rm -rf conftest*
11784 eval "ac_cv_func_$ac_func=no"
11786 rm -f conftest*
11789 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11790 echo "$ac_t""yes" 1>&6
11791 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11792 cat >> confdefs.h <<EOF
11793 #define $ac_tr_func 1
11796 else
11797 echo "$ac_t""no" 1>&6
11799 done
11804 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
11805 echo "configure:11806: checking for _isinff declaration" >&5
11806 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
11807 echo $ac_n "(cached) $ac_c" 1>&6
11808 else
11811 ac_ext=C
11812 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11813 ac_cpp='$CXXCPP $CPPFLAGS'
11814 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11815 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11816 cross_compiling=$ac_cv_prog_cxx_cross
11818 cat > conftest.$ac_ext <<EOF
11819 #line 11820 "configure"
11820 #include "confdefs.h"
11821 #include <math.h>
11822 int main() {
11823 _isinff(0);
11824 ; return 0; }
11826 if { (eval echo configure:11827: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11827 rm -rf conftest*
11828 glibcpp_cv_func__isinff_use=yes
11829 else
11830 echo "configure: failed program was:" >&5
11831 cat conftest.$ac_ext >&5
11832 rm -rf conftest*
11833 glibcpp_cv_func__isinff_use=no
11835 rm -f conftest*
11836 ac_ext=c
11837 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11838 ac_cpp='$CPP $CPPFLAGS'
11839 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11840 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11841 cross_compiling=$ac_cv_prog_cc_cross
11846 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
11847 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
11848 for ac_func in _isinff
11850 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11851 echo "configure:11852: checking for $ac_func" >&5
11852 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11853 echo $ac_n "(cached) $ac_c" 1>&6
11854 else
11855 cat > conftest.$ac_ext <<EOF
11856 #line 11857 "configure"
11857 #include "confdefs.h"
11858 /* System header to define __stub macros and hopefully few prototypes,
11859 which can conflict with char $ac_func(); below. */
11860 #include <assert.h>
11861 /* Override any gcc2 internal prototype to avoid an error. */
11862 /* We use char because int might match the return type of a gcc2
11863 builtin and then its argument prototype would still apply. */
11864 char $ac_func();
11866 int main() {
11868 /* The GNU C library defines this for functions which it implements
11869 to always fail with ENOSYS. Some functions are actually named
11870 something starting with __ and the normal name is an alias. */
11871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11872 choke me
11873 #else
11874 $ac_func();
11875 #endif
11877 ; return 0; }
11879 if { (eval echo configure:11880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11880 rm -rf conftest*
11881 eval "ac_cv_func_$ac_func=yes"
11882 else
11883 echo "configure: failed program was:" >&5
11884 cat conftest.$ac_ext >&5
11885 rm -rf conftest*
11886 eval "ac_cv_func_$ac_func=no"
11888 rm -f conftest*
11891 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11892 echo "$ac_t""yes" 1>&6
11893 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11894 cat >> confdefs.h <<EOF
11895 #define $ac_tr_func 1
11898 else
11899 echo "$ac_t""no" 1>&6
11901 done
11906 echo $ac_n "checking for _acosf declaration""... $ac_c" 1>&6
11907 echo "configure:11908: checking for _acosf declaration" >&5
11908 if eval "test \"`echo '$''{'glibcpp_cv_func__acosf_use'+set}'`\" = set"; then
11909 echo $ac_n "(cached) $ac_c" 1>&6
11910 else
11913 ac_ext=C
11914 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11915 ac_cpp='$CXXCPP $CPPFLAGS'
11916 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11917 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11918 cross_compiling=$ac_cv_prog_cxx_cross
11920 cat > conftest.$ac_ext <<EOF
11921 #line 11922 "configure"
11922 #include "confdefs.h"
11923 #include <math.h>
11924 int main() {
11925 _acosf(0);
11926 ; return 0; }
11928 if { (eval echo configure:11929: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11929 rm -rf conftest*
11930 glibcpp_cv_func__acosf_use=yes
11931 else
11932 echo "configure: failed program was:" >&5
11933 cat conftest.$ac_ext >&5
11934 rm -rf conftest*
11935 glibcpp_cv_func__acosf_use=no
11937 rm -f conftest*
11938 ac_ext=c
11939 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11940 ac_cpp='$CPP $CPPFLAGS'
11941 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11942 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11943 cross_compiling=$ac_cv_prog_cc_cross
11948 echo "$ac_t""$glibcpp_cv_func__acosf_use" 1>&6
11949 if test x$glibcpp_cv_func__acosf_use = x"yes"; then
11950 for ac_func in _acosf
11952 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11953 echo "configure:11954: checking for $ac_func" >&5
11954 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11955 echo $ac_n "(cached) $ac_c" 1>&6
11956 else
11957 cat > conftest.$ac_ext <<EOF
11958 #line 11959 "configure"
11959 #include "confdefs.h"
11960 /* System header to define __stub macros and hopefully few prototypes,
11961 which can conflict with char $ac_func(); below. */
11962 #include <assert.h>
11963 /* Override any gcc2 internal prototype to avoid an error. */
11964 /* We use char because int might match the return type of a gcc2
11965 builtin and then its argument prototype would still apply. */
11966 char $ac_func();
11968 int main() {
11970 /* The GNU C library defines this for functions which it implements
11971 to always fail with ENOSYS. Some functions are actually named
11972 something starting with __ and the normal name is an alias. */
11973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11974 choke me
11975 #else
11976 $ac_func();
11977 #endif
11979 ; return 0; }
11981 if { (eval echo configure:11982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11982 rm -rf conftest*
11983 eval "ac_cv_func_$ac_func=yes"
11984 else
11985 echo "configure: failed program was:" >&5
11986 cat conftest.$ac_ext >&5
11987 rm -rf conftest*
11988 eval "ac_cv_func_$ac_func=no"
11990 rm -f conftest*
11993 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11994 echo "$ac_t""yes" 1>&6
11995 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11996 cat >> confdefs.h <<EOF
11997 #define $ac_tr_func 1
12000 else
12001 echo "$ac_t""no" 1>&6
12003 done
12008 echo $ac_n "checking for _asinf declaration""... $ac_c" 1>&6
12009 echo "configure:12010: checking for _asinf declaration" >&5
12010 if eval "test \"`echo '$''{'glibcpp_cv_func__asinf_use'+set}'`\" = set"; then
12011 echo $ac_n "(cached) $ac_c" 1>&6
12012 else
12015 ac_ext=C
12016 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12017 ac_cpp='$CXXCPP $CPPFLAGS'
12018 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12019 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12020 cross_compiling=$ac_cv_prog_cxx_cross
12022 cat > conftest.$ac_ext <<EOF
12023 #line 12024 "configure"
12024 #include "confdefs.h"
12025 #include <math.h>
12026 int main() {
12027 _asinf(0);
12028 ; return 0; }
12030 if { (eval echo configure:12031: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12031 rm -rf conftest*
12032 glibcpp_cv_func__asinf_use=yes
12033 else
12034 echo "configure: failed program was:" >&5
12035 cat conftest.$ac_ext >&5
12036 rm -rf conftest*
12037 glibcpp_cv_func__asinf_use=no
12039 rm -f conftest*
12040 ac_ext=c
12041 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12042 ac_cpp='$CPP $CPPFLAGS'
12043 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12044 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12045 cross_compiling=$ac_cv_prog_cc_cross
12050 echo "$ac_t""$glibcpp_cv_func__asinf_use" 1>&6
12051 if test x$glibcpp_cv_func__asinf_use = x"yes"; then
12052 for ac_func in _asinf
12054 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12055 echo "configure:12056: checking for $ac_func" >&5
12056 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12057 echo $ac_n "(cached) $ac_c" 1>&6
12058 else
12059 cat > conftest.$ac_ext <<EOF
12060 #line 12061 "configure"
12061 #include "confdefs.h"
12062 /* System header to define __stub macros and hopefully few prototypes,
12063 which can conflict with char $ac_func(); below. */
12064 #include <assert.h>
12065 /* Override any gcc2 internal prototype to avoid an error. */
12066 /* We use char because int might match the return type of a gcc2
12067 builtin and then its argument prototype would still apply. */
12068 char $ac_func();
12070 int main() {
12072 /* The GNU C library defines this for functions which it implements
12073 to always fail with ENOSYS. Some functions are actually named
12074 something starting with __ and the normal name is an alias. */
12075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12076 choke me
12077 #else
12078 $ac_func();
12079 #endif
12081 ; return 0; }
12083 if { (eval echo configure:12084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12084 rm -rf conftest*
12085 eval "ac_cv_func_$ac_func=yes"
12086 else
12087 echo "configure: failed program was:" >&5
12088 cat conftest.$ac_ext >&5
12089 rm -rf conftest*
12090 eval "ac_cv_func_$ac_func=no"
12092 rm -f conftest*
12095 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12096 echo "$ac_t""yes" 1>&6
12097 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12098 cat >> confdefs.h <<EOF
12099 #define $ac_tr_func 1
12102 else
12103 echo "$ac_t""no" 1>&6
12105 done
12110 echo $ac_n "checking for _atanf declaration""... $ac_c" 1>&6
12111 echo "configure:12112: checking for _atanf declaration" >&5
12112 if eval "test \"`echo '$''{'glibcpp_cv_func__atanf_use'+set}'`\" = set"; then
12113 echo $ac_n "(cached) $ac_c" 1>&6
12114 else
12117 ac_ext=C
12118 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12119 ac_cpp='$CXXCPP $CPPFLAGS'
12120 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12121 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12122 cross_compiling=$ac_cv_prog_cxx_cross
12124 cat > conftest.$ac_ext <<EOF
12125 #line 12126 "configure"
12126 #include "confdefs.h"
12127 #include <math.h>
12128 int main() {
12129 _atanf(0);
12130 ; return 0; }
12132 if { (eval echo configure:12133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12133 rm -rf conftest*
12134 glibcpp_cv_func__atanf_use=yes
12135 else
12136 echo "configure: failed program was:" >&5
12137 cat conftest.$ac_ext >&5
12138 rm -rf conftest*
12139 glibcpp_cv_func__atanf_use=no
12141 rm -f conftest*
12142 ac_ext=c
12143 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12144 ac_cpp='$CPP $CPPFLAGS'
12145 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12146 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12147 cross_compiling=$ac_cv_prog_cc_cross
12152 echo "$ac_t""$glibcpp_cv_func__atanf_use" 1>&6
12153 if test x$glibcpp_cv_func__atanf_use = x"yes"; then
12154 for ac_func in _atanf
12156 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12157 echo "configure:12158: checking for $ac_func" >&5
12158 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12159 echo $ac_n "(cached) $ac_c" 1>&6
12160 else
12161 cat > conftest.$ac_ext <<EOF
12162 #line 12163 "configure"
12163 #include "confdefs.h"
12164 /* System header to define __stub macros and hopefully few prototypes,
12165 which can conflict with char $ac_func(); below. */
12166 #include <assert.h>
12167 /* Override any gcc2 internal prototype to avoid an error. */
12168 /* We use char because int might match the return type of a gcc2
12169 builtin and then its argument prototype would still apply. */
12170 char $ac_func();
12172 int main() {
12174 /* The GNU C library defines this for functions which it implements
12175 to always fail with ENOSYS. Some functions are actually named
12176 something starting with __ and the normal name is an alias. */
12177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12178 choke me
12179 #else
12180 $ac_func();
12181 #endif
12183 ; return 0; }
12185 if { (eval echo configure:12186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12186 rm -rf conftest*
12187 eval "ac_cv_func_$ac_func=yes"
12188 else
12189 echo "configure: failed program was:" >&5
12190 cat conftest.$ac_ext >&5
12191 rm -rf conftest*
12192 eval "ac_cv_func_$ac_func=no"
12194 rm -f conftest*
12197 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12198 echo "$ac_t""yes" 1>&6
12199 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12200 cat >> confdefs.h <<EOF
12201 #define $ac_tr_func 1
12204 else
12205 echo "$ac_t""no" 1>&6
12207 done
12212 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
12213 echo "configure:12214: checking for _atan2f declaration" >&5
12214 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
12215 echo $ac_n "(cached) $ac_c" 1>&6
12216 else
12219 ac_ext=C
12220 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12221 ac_cpp='$CXXCPP $CPPFLAGS'
12222 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12223 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12224 cross_compiling=$ac_cv_prog_cxx_cross
12226 cat > conftest.$ac_ext <<EOF
12227 #line 12228 "configure"
12228 #include "confdefs.h"
12229 #include <math.h>
12230 int main() {
12231 _atan2f(0, 0);
12232 ; return 0; }
12234 if { (eval echo configure:12235: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12235 rm -rf conftest*
12236 glibcpp_cv_func__atan2f_use=yes
12237 else
12238 echo "configure: failed program was:" >&5
12239 cat conftest.$ac_ext >&5
12240 rm -rf conftest*
12241 glibcpp_cv_func__atan2f_use=no
12243 rm -f conftest*
12244 ac_ext=c
12245 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12246 ac_cpp='$CPP $CPPFLAGS'
12247 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12248 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12249 cross_compiling=$ac_cv_prog_cc_cross
12254 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
12255 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
12256 for ac_func in _atan2f
12258 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12259 echo "configure:12260: checking for $ac_func" >&5
12260 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12261 echo $ac_n "(cached) $ac_c" 1>&6
12262 else
12263 cat > conftest.$ac_ext <<EOF
12264 #line 12265 "configure"
12265 #include "confdefs.h"
12266 /* System header to define __stub macros and hopefully few prototypes,
12267 which can conflict with char $ac_func(); below. */
12268 #include <assert.h>
12269 /* Override any gcc2 internal prototype to avoid an error. */
12270 /* We use char because int might match the return type of a gcc2
12271 builtin and then its argument prototype would still apply. */
12272 char $ac_func();
12274 int main() {
12276 /* The GNU C library defines this for functions which it implements
12277 to always fail with ENOSYS. Some functions are actually named
12278 something starting with __ and the normal name is an alias. */
12279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12280 choke me
12281 #else
12282 $ac_func();
12283 #endif
12285 ; return 0; }
12287 if { (eval echo configure:12288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12288 rm -rf conftest*
12289 eval "ac_cv_func_$ac_func=yes"
12290 else
12291 echo "configure: failed program was:" >&5
12292 cat conftest.$ac_ext >&5
12293 rm -rf conftest*
12294 eval "ac_cv_func_$ac_func=no"
12296 rm -f conftest*
12299 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12300 echo "$ac_t""yes" 1>&6
12301 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12302 cat >> confdefs.h <<EOF
12303 #define $ac_tr_func 1
12306 else
12307 echo "$ac_t""no" 1>&6
12309 done
12314 echo $ac_n "checking for _ceilf declaration""... $ac_c" 1>&6
12315 echo "configure:12316: checking for _ceilf declaration" >&5
12316 if eval "test \"`echo '$''{'glibcpp_cv_func__ceilf_use'+set}'`\" = set"; then
12317 echo $ac_n "(cached) $ac_c" 1>&6
12318 else
12321 ac_ext=C
12322 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12323 ac_cpp='$CXXCPP $CPPFLAGS'
12324 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12325 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12326 cross_compiling=$ac_cv_prog_cxx_cross
12328 cat > conftest.$ac_ext <<EOF
12329 #line 12330 "configure"
12330 #include "confdefs.h"
12331 #include <math.h>
12332 int main() {
12333 _ceilf(0);
12334 ; return 0; }
12336 if { (eval echo configure:12337: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12337 rm -rf conftest*
12338 glibcpp_cv_func__ceilf_use=yes
12339 else
12340 echo "configure: failed program was:" >&5
12341 cat conftest.$ac_ext >&5
12342 rm -rf conftest*
12343 glibcpp_cv_func__ceilf_use=no
12345 rm -f conftest*
12346 ac_ext=c
12347 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12348 ac_cpp='$CPP $CPPFLAGS'
12349 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12350 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12351 cross_compiling=$ac_cv_prog_cc_cross
12356 echo "$ac_t""$glibcpp_cv_func__ceilf_use" 1>&6
12357 if test x$glibcpp_cv_func__ceilf_use = x"yes"; then
12358 for ac_func in _ceilf
12360 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12361 echo "configure:12362: checking for $ac_func" >&5
12362 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12363 echo $ac_n "(cached) $ac_c" 1>&6
12364 else
12365 cat > conftest.$ac_ext <<EOF
12366 #line 12367 "configure"
12367 #include "confdefs.h"
12368 /* System header to define __stub macros and hopefully few prototypes,
12369 which can conflict with char $ac_func(); below. */
12370 #include <assert.h>
12371 /* Override any gcc2 internal prototype to avoid an error. */
12372 /* We use char because int might match the return type of a gcc2
12373 builtin and then its argument prototype would still apply. */
12374 char $ac_func();
12376 int main() {
12378 /* The GNU C library defines this for functions which it implements
12379 to always fail with ENOSYS. Some functions are actually named
12380 something starting with __ and the normal name is an alias. */
12381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12382 choke me
12383 #else
12384 $ac_func();
12385 #endif
12387 ; return 0; }
12389 if { (eval echo configure:12390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12390 rm -rf conftest*
12391 eval "ac_cv_func_$ac_func=yes"
12392 else
12393 echo "configure: failed program was:" >&5
12394 cat conftest.$ac_ext >&5
12395 rm -rf conftest*
12396 eval "ac_cv_func_$ac_func=no"
12398 rm -f conftest*
12401 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12402 echo "$ac_t""yes" 1>&6
12403 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12404 cat >> confdefs.h <<EOF
12405 #define $ac_tr_func 1
12408 else
12409 echo "$ac_t""no" 1>&6
12411 done
12416 echo $ac_n "checking for _cosf declaration""... $ac_c" 1>&6
12417 echo "configure:12418: checking for _cosf declaration" >&5
12418 if eval "test \"`echo '$''{'glibcpp_cv_func__cosf_use'+set}'`\" = set"; then
12419 echo $ac_n "(cached) $ac_c" 1>&6
12420 else
12423 ac_ext=C
12424 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12425 ac_cpp='$CXXCPP $CPPFLAGS'
12426 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12427 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12428 cross_compiling=$ac_cv_prog_cxx_cross
12430 cat > conftest.$ac_ext <<EOF
12431 #line 12432 "configure"
12432 #include "confdefs.h"
12433 #include <math.h>
12434 int main() {
12435 _cosf(0);
12436 ; return 0; }
12438 if { (eval echo configure:12439: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12439 rm -rf conftest*
12440 glibcpp_cv_func__cosf_use=yes
12441 else
12442 echo "configure: failed program was:" >&5
12443 cat conftest.$ac_ext >&5
12444 rm -rf conftest*
12445 glibcpp_cv_func__cosf_use=no
12447 rm -f conftest*
12448 ac_ext=c
12449 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12450 ac_cpp='$CPP $CPPFLAGS'
12451 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12452 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12453 cross_compiling=$ac_cv_prog_cc_cross
12458 echo "$ac_t""$glibcpp_cv_func__cosf_use" 1>&6
12459 if test x$glibcpp_cv_func__cosf_use = x"yes"; then
12460 for ac_func in _cosf
12462 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12463 echo "configure:12464: checking for $ac_func" >&5
12464 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12465 echo $ac_n "(cached) $ac_c" 1>&6
12466 else
12467 cat > conftest.$ac_ext <<EOF
12468 #line 12469 "configure"
12469 #include "confdefs.h"
12470 /* System header to define __stub macros and hopefully few prototypes,
12471 which can conflict with char $ac_func(); below. */
12472 #include <assert.h>
12473 /* Override any gcc2 internal prototype to avoid an error. */
12474 /* We use char because int might match the return type of a gcc2
12475 builtin and then its argument prototype would still apply. */
12476 char $ac_func();
12478 int main() {
12480 /* The GNU C library defines this for functions which it implements
12481 to always fail with ENOSYS. Some functions are actually named
12482 something starting with __ and the normal name is an alias. */
12483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12484 choke me
12485 #else
12486 $ac_func();
12487 #endif
12489 ; return 0; }
12491 if { (eval echo configure:12492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12492 rm -rf conftest*
12493 eval "ac_cv_func_$ac_func=yes"
12494 else
12495 echo "configure: failed program was:" >&5
12496 cat conftest.$ac_ext >&5
12497 rm -rf conftest*
12498 eval "ac_cv_func_$ac_func=no"
12500 rm -f conftest*
12503 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12504 echo "$ac_t""yes" 1>&6
12505 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12506 cat >> confdefs.h <<EOF
12507 #define $ac_tr_func 1
12510 else
12511 echo "$ac_t""no" 1>&6
12513 done
12518 echo $ac_n "checking for _coshf declaration""... $ac_c" 1>&6
12519 echo "configure:12520: checking for _coshf declaration" >&5
12520 if eval "test \"`echo '$''{'glibcpp_cv_func__coshf_use'+set}'`\" = set"; then
12521 echo $ac_n "(cached) $ac_c" 1>&6
12522 else
12525 ac_ext=C
12526 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12527 ac_cpp='$CXXCPP $CPPFLAGS'
12528 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12529 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12530 cross_compiling=$ac_cv_prog_cxx_cross
12532 cat > conftest.$ac_ext <<EOF
12533 #line 12534 "configure"
12534 #include "confdefs.h"
12535 #include <math.h>
12536 int main() {
12537 _coshf(0);
12538 ; return 0; }
12540 if { (eval echo configure:12541: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12541 rm -rf conftest*
12542 glibcpp_cv_func__coshf_use=yes
12543 else
12544 echo "configure: failed program was:" >&5
12545 cat conftest.$ac_ext >&5
12546 rm -rf conftest*
12547 glibcpp_cv_func__coshf_use=no
12549 rm -f conftest*
12550 ac_ext=c
12551 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12552 ac_cpp='$CPP $CPPFLAGS'
12553 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12554 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12555 cross_compiling=$ac_cv_prog_cc_cross
12560 echo "$ac_t""$glibcpp_cv_func__coshf_use" 1>&6
12561 if test x$glibcpp_cv_func__coshf_use = x"yes"; then
12562 for ac_func in _coshf
12564 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12565 echo "configure:12566: checking for $ac_func" >&5
12566 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12567 echo $ac_n "(cached) $ac_c" 1>&6
12568 else
12569 cat > conftest.$ac_ext <<EOF
12570 #line 12571 "configure"
12571 #include "confdefs.h"
12572 /* System header to define __stub macros and hopefully few prototypes,
12573 which can conflict with char $ac_func(); below. */
12574 #include <assert.h>
12575 /* Override any gcc2 internal prototype to avoid an error. */
12576 /* We use char because int might match the return type of a gcc2
12577 builtin and then its argument prototype would still apply. */
12578 char $ac_func();
12580 int main() {
12582 /* The GNU C library defines this for functions which it implements
12583 to always fail with ENOSYS. Some functions are actually named
12584 something starting with __ and the normal name is an alias. */
12585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12586 choke me
12587 #else
12588 $ac_func();
12589 #endif
12591 ; return 0; }
12593 if { (eval echo configure:12594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12594 rm -rf conftest*
12595 eval "ac_cv_func_$ac_func=yes"
12596 else
12597 echo "configure: failed program was:" >&5
12598 cat conftest.$ac_ext >&5
12599 rm -rf conftest*
12600 eval "ac_cv_func_$ac_func=no"
12602 rm -f conftest*
12605 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12606 echo "$ac_t""yes" 1>&6
12607 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12608 cat >> confdefs.h <<EOF
12609 #define $ac_tr_func 1
12612 else
12613 echo "$ac_t""no" 1>&6
12615 done
12620 echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
12621 echo "configure:12622: checking for _expf declaration" >&5
12622 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
12623 echo $ac_n "(cached) $ac_c" 1>&6
12624 else
12627 ac_ext=C
12628 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12629 ac_cpp='$CXXCPP $CPPFLAGS'
12630 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12631 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12632 cross_compiling=$ac_cv_prog_cxx_cross
12634 cat > conftest.$ac_ext <<EOF
12635 #line 12636 "configure"
12636 #include "confdefs.h"
12637 #include <math.h>
12638 int main() {
12639 _expf(0);
12640 ; return 0; }
12642 if { (eval echo configure:12643: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12643 rm -rf conftest*
12644 glibcpp_cv_func__expf_use=yes
12645 else
12646 echo "configure: failed program was:" >&5
12647 cat conftest.$ac_ext >&5
12648 rm -rf conftest*
12649 glibcpp_cv_func__expf_use=no
12651 rm -f conftest*
12652 ac_ext=c
12653 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12654 ac_cpp='$CPP $CPPFLAGS'
12655 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12656 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12657 cross_compiling=$ac_cv_prog_cc_cross
12662 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
12663 if test x$glibcpp_cv_func__expf_use = x"yes"; then
12664 for ac_func in _expf
12666 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12667 echo "configure:12668: checking for $ac_func" >&5
12668 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12669 echo $ac_n "(cached) $ac_c" 1>&6
12670 else
12671 cat > conftest.$ac_ext <<EOF
12672 #line 12673 "configure"
12673 #include "confdefs.h"
12674 /* System header to define __stub macros and hopefully few prototypes,
12675 which can conflict with char $ac_func(); below. */
12676 #include <assert.h>
12677 /* Override any gcc2 internal prototype to avoid an error. */
12678 /* We use char because int might match the return type of a gcc2
12679 builtin and then its argument prototype would still apply. */
12680 char $ac_func();
12682 int main() {
12684 /* The GNU C library defines this for functions which it implements
12685 to always fail with ENOSYS. Some functions are actually named
12686 something starting with __ and the normal name is an alias. */
12687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12688 choke me
12689 #else
12690 $ac_func();
12691 #endif
12693 ; return 0; }
12695 if { (eval echo configure:12696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12696 rm -rf conftest*
12697 eval "ac_cv_func_$ac_func=yes"
12698 else
12699 echo "configure: failed program was:" >&5
12700 cat conftest.$ac_ext >&5
12701 rm -rf conftest*
12702 eval "ac_cv_func_$ac_func=no"
12704 rm -f conftest*
12707 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12708 echo "$ac_t""yes" 1>&6
12709 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12710 cat >> confdefs.h <<EOF
12711 #define $ac_tr_func 1
12714 else
12715 echo "$ac_t""no" 1>&6
12717 done
12722 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
12723 echo "configure:12724: checking for _fabsf declaration" >&5
12724 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
12725 echo $ac_n "(cached) $ac_c" 1>&6
12726 else
12729 ac_ext=C
12730 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12731 ac_cpp='$CXXCPP $CPPFLAGS'
12732 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12733 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12734 cross_compiling=$ac_cv_prog_cxx_cross
12736 cat > conftest.$ac_ext <<EOF
12737 #line 12738 "configure"
12738 #include "confdefs.h"
12739 #include <math.h>
12740 int main() {
12741 _fabsf(0);
12742 ; return 0; }
12744 if { (eval echo configure:12745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12745 rm -rf conftest*
12746 glibcpp_cv_func__fabsf_use=yes
12747 else
12748 echo "configure: failed program was:" >&5
12749 cat conftest.$ac_ext >&5
12750 rm -rf conftest*
12751 glibcpp_cv_func__fabsf_use=no
12753 rm -f conftest*
12754 ac_ext=c
12755 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12756 ac_cpp='$CPP $CPPFLAGS'
12757 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12758 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12759 cross_compiling=$ac_cv_prog_cc_cross
12764 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
12765 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
12766 for ac_func in _fabsf
12768 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12769 echo "configure:12770: checking for $ac_func" >&5
12770 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12771 echo $ac_n "(cached) $ac_c" 1>&6
12772 else
12773 cat > conftest.$ac_ext <<EOF
12774 #line 12775 "configure"
12775 #include "confdefs.h"
12776 /* System header to define __stub macros and hopefully few prototypes,
12777 which can conflict with char $ac_func(); below. */
12778 #include <assert.h>
12779 /* Override any gcc2 internal prototype to avoid an error. */
12780 /* We use char because int might match the return type of a gcc2
12781 builtin and then its argument prototype would still apply. */
12782 char $ac_func();
12784 int main() {
12786 /* The GNU C library defines this for functions which it implements
12787 to always fail with ENOSYS. Some functions are actually named
12788 something starting with __ and the normal name is an alias. */
12789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12790 choke me
12791 #else
12792 $ac_func();
12793 #endif
12795 ; return 0; }
12797 if { (eval echo configure:12798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12798 rm -rf conftest*
12799 eval "ac_cv_func_$ac_func=yes"
12800 else
12801 echo "configure: failed program was:" >&5
12802 cat conftest.$ac_ext >&5
12803 rm -rf conftest*
12804 eval "ac_cv_func_$ac_func=no"
12806 rm -f conftest*
12809 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12810 echo "$ac_t""yes" 1>&6
12811 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12812 cat >> confdefs.h <<EOF
12813 #define $ac_tr_func 1
12816 else
12817 echo "$ac_t""no" 1>&6
12819 done
12824 echo $ac_n "checking for _floorf declaration""... $ac_c" 1>&6
12825 echo "configure:12826: checking for _floorf declaration" >&5
12826 if eval "test \"`echo '$''{'glibcpp_cv_func__floorf_use'+set}'`\" = set"; then
12827 echo $ac_n "(cached) $ac_c" 1>&6
12828 else
12831 ac_ext=C
12832 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12833 ac_cpp='$CXXCPP $CPPFLAGS'
12834 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12835 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12836 cross_compiling=$ac_cv_prog_cxx_cross
12838 cat > conftest.$ac_ext <<EOF
12839 #line 12840 "configure"
12840 #include "confdefs.h"
12841 #include <math.h>
12842 int main() {
12843 _floorf(0);
12844 ; return 0; }
12846 if { (eval echo configure:12847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12847 rm -rf conftest*
12848 glibcpp_cv_func__floorf_use=yes
12849 else
12850 echo "configure: failed program was:" >&5
12851 cat conftest.$ac_ext >&5
12852 rm -rf conftest*
12853 glibcpp_cv_func__floorf_use=no
12855 rm -f conftest*
12856 ac_ext=c
12857 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12858 ac_cpp='$CPP $CPPFLAGS'
12859 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12860 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12861 cross_compiling=$ac_cv_prog_cc_cross
12866 echo "$ac_t""$glibcpp_cv_func__floorf_use" 1>&6
12867 if test x$glibcpp_cv_func__floorf_use = x"yes"; then
12868 for ac_func in _floorf
12870 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12871 echo "configure:12872: checking for $ac_func" >&5
12872 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12873 echo $ac_n "(cached) $ac_c" 1>&6
12874 else
12875 cat > conftest.$ac_ext <<EOF
12876 #line 12877 "configure"
12877 #include "confdefs.h"
12878 /* System header to define __stub macros and hopefully few prototypes,
12879 which can conflict with char $ac_func(); below. */
12880 #include <assert.h>
12881 /* Override any gcc2 internal prototype to avoid an error. */
12882 /* We use char because int might match the return type of a gcc2
12883 builtin and then its argument prototype would still apply. */
12884 char $ac_func();
12886 int main() {
12888 /* The GNU C library defines this for functions which it implements
12889 to always fail with ENOSYS. Some functions are actually named
12890 something starting with __ and the normal name is an alias. */
12891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12892 choke me
12893 #else
12894 $ac_func();
12895 #endif
12897 ; return 0; }
12899 if { (eval echo configure:12900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12900 rm -rf conftest*
12901 eval "ac_cv_func_$ac_func=yes"
12902 else
12903 echo "configure: failed program was:" >&5
12904 cat conftest.$ac_ext >&5
12905 rm -rf conftest*
12906 eval "ac_cv_func_$ac_func=no"
12908 rm -f conftest*
12911 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12912 echo "$ac_t""yes" 1>&6
12913 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12914 cat >> confdefs.h <<EOF
12915 #define $ac_tr_func 1
12918 else
12919 echo "$ac_t""no" 1>&6
12921 done
12926 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
12927 echo "configure:12928: checking for _fmodf declaration" >&5
12928 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
12929 echo $ac_n "(cached) $ac_c" 1>&6
12930 else
12933 ac_ext=C
12934 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12935 ac_cpp='$CXXCPP $CPPFLAGS'
12936 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12937 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12938 cross_compiling=$ac_cv_prog_cxx_cross
12940 cat > conftest.$ac_ext <<EOF
12941 #line 12942 "configure"
12942 #include "confdefs.h"
12943 #include <math.h>
12944 int main() {
12945 _fmodf(0, 0);
12946 ; return 0; }
12948 if { (eval echo configure:12949: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12949 rm -rf conftest*
12950 glibcpp_cv_func__fmodf_use=yes
12951 else
12952 echo "configure: failed program was:" >&5
12953 cat conftest.$ac_ext >&5
12954 rm -rf conftest*
12955 glibcpp_cv_func__fmodf_use=no
12957 rm -f conftest*
12958 ac_ext=c
12959 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12960 ac_cpp='$CPP $CPPFLAGS'
12961 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12962 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12963 cross_compiling=$ac_cv_prog_cc_cross
12968 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
12969 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
12970 for ac_func in _fmodf
12972 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12973 echo "configure:12974: checking for $ac_func" >&5
12974 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12975 echo $ac_n "(cached) $ac_c" 1>&6
12976 else
12977 cat > conftest.$ac_ext <<EOF
12978 #line 12979 "configure"
12979 #include "confdefs.h"
12980 /* System header to define __stub macros and hopefully few prototypes,
12981 which can conflict with char $ac_func(); below. */
12982 #include <assert.h>
12983 /* Override any gcc2 internal prototype to avoid an error. */
12984 /* We use char because int might match the return type of a gcc2
12985 builtin and then its argument prototype would still apply. */
12986 char $ac_func();
12988 int main() {
12990 /* The GNU C library defines this for functions which it implements
12991 to always fail with ENOSYS. Some functions are actually named
12992 something starting with __ and the normal name is an alias. */
12993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12994 choke me
12995 #else
12996 $ac_func();
12997 #endif
12999 ; return 0; }
13001 if { (eval echo configure:13002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13002 rm -rf conftest*
13003 eval "ac_cv_func_$ac_func=yes"
13004 else
13005 echo "configure: failed program was:" >&5
13006 cat conftest.$ac_ext >&5
13007 rm -rf conftest*
13008 eval "ac_cv_func_$ac_func=no"
13010 rm -f conftest*
13013 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13014 echo "$ac_t""yes" 1>&6
13015 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13016 cat >> confdefs.h <<EOF
13017 #define $ac_tr_func 1
13020 else
13021 echo "$ac_t""no" 1>&6
13023 done
13028 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
13029 echo "configure:13030: checking for _frexpf declaration" >&5
13030 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
13031 echo $ac_n "(cached) $ac_c" 1>&6
13032 else
13035 ac_ext=C
13036 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13037 ac_cpp='$CXXCPP $CPPFLAGS'
13038 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13039 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13040 cross_compiling=$ac_cv_prog_cxx_cross
13042 cat > conftest.$ac_ext <<EOF
13043 #line 13044 "configure"
13044 #include "confdefs.h"
13045 #include <math.h>
13046 int main() {
13047 _frexpf(0, 0);
13048 ; return 0; }
13050 if { (eval echo configure:13051: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13051 rm -rf conftest*
13052 glibcpp_cv_func__frexpf_use=yes
13053 else
13054 echo "configure: failed program was:" >&5
13055 cat conftest.$ac_ext >&5
13056 rm -rf conftest*
13057 glibcpp_cv_func__frexpf_use=no
13059 rm -f conftest*
13060 ac_ext=c
13061 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13062 ac_cpp='$CPP $CPPFLAGS'
13063 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13064 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13065 cross_compiling=$ac_cv_prog_cc_cross
13070 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
13071 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
13072 for ac_func in _frexpf
13074 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13075 echo "configure:13076: checking for $ac_func" >&5
13076 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13077 echo $ac_n "(cached) $ac_c" 1>&6
13078 else
13079 cat > conftest.$ac_ext <<EOF
13080 #line 13081 "configure"
13081 #include "confdefs.h"
13082 /* System header to define __stub macros and hopefully few prototypes,
13083 which can conflict with char $ac_func(); below. */
13084 #include <assert.h>
13085 /* Override any gcc2 internal prototype to avoid an error. */
13086 /* We use char because int might match the return type of a gcc2
13087 builtin and then its argument prototype would still apply. */
13088 char $ac_func();
13090 int main() {
13092 /* The GNU C library defines this for functions which it implements
13093 to always fail with ENOSYS. Some functions are actually named
13094 something starting with __ and the normal name is an alias. */
13095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13096 choke me
13097 #else
13098 $ac_func();
13099 #endif
13101 ; return 0; }
13103 if { (eval echo configure:13104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13104 rm -rf conftest*
13105 eval "ac_cv_func_$ac_func=yes"
13106 else
13107 echo "configure: failed program was:" >&5
13108 cat conftest.$ac_ext >&5
13109 rm -rf conftest*
13110 eval "ac_cv_func_$ac_func=no"
13112 rm -f conftest*
13115 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13116 echo "$ac_t""yes" 1>&6
13117 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13118 cat >> confdefs.h <<EOF
13119 #define $ac_tr_func 1
13122 else
13123 echo "$ac_t""no" 1>&6
13125 done
13130 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
13131 echo "configure:13132: checking for _ldexpf declaration" >&5
13132 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
13133 echo $ac_n "(cached) $ac_c" 1>&6
13134 else
13137 ac_ext=C
13138 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13139 ac_cpp='$CXXCPP $CPPFLAGS'
13140 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13141 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13142 cross_compiling=$ac_cv_prog_cxx_cross
13144 cat > conftest.$ac_ext <<EOF
13145 #line 13146 "configure"
13146 #include "confdefs.h"
13147 #include <math.h>
13148 int main() {
13149 _ldexpf(0, 0);
13150 ; return 0; }
13152 if { (eval echo configure:13153: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13153 rm -rf conftest*
13154 glibcpp_cv_func__ldexpf_use=yes
13155 else
13156 echo "configure: failed program was:" >&5
13157 cat conftest.$ac_ext >&5
13158 rm -rf conftest*
13159 glibcpp_cv_func__ldexpf_use=no
13161 rm -f conftest*
13162 ac_ext=c
13163 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13164 ac_cpp='$CPP $CPPFLAGS'
13165 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13166 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13167 cross_compiling=$ac_cv_prog_cc_cross
13172 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
13173 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
13174 for ac_func in _ldexpf
13176 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13177 echo "configure:13178: checking for $ac_func" >&5
13178 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13179 echo $ac_n "(cached) $ac_c" 1>&6
13180 else
13181 cat > conftest.$ac_ext <<EOF
13182 #line 13183 "configure"
13183 #include "confdefs.h"
13184 /* System header to define __stub macros and hopefully few prototypes,
13185 which can conflict with char $ac_func(); below. */
13186 #include <assert.h>
13187 /* Override any gcc2 internal prototype to avoid an error. */
13188 /* We use char because int might match the return type of a gcc2
13189 builtin and then its argument prototype would still apply. */
13190 char $ac_func();
13192 int main() {
13194 /* The GNU C library defines this for functions which it implements
13195 to always fail with ENOSYS. Some functions are actually named
13196 something starting with __ and the normal name is an alias. */
13197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13198 choke me
13199 #else
13200 $ac_func();
13201 #endif
13203 ; return 0; }
13205 if { (eval echo configure:13206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13206 rm -rf conftest*
13207 eval "ac_cv_func_$ac_func=yes"
13208 else
13209 echo "configure: failed program was:" >&5
13210 cat conftest.$ac_ext >&5
13211 rm -rf conftest*
13212 eval "ac_cv_func_$ac_func=no"
13214 rm -f conftest*
13217 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13218 echo "$ac_t""yes" 1>&6
13219 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13220 cat >> confdefs.h <<EOF
13221 #define $ac_tr_func 1
13224 else
13225 echo "$ac_t""no" 1>&6
13227 done
13232 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
13233 echo "configure:13234: checking for _logf declaration" >&5
13234 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
13235 echo $ac_n "(cached) $ac_c" 1>&6
13236 else
13239 ac_ext=C
13240 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13241 ac_cpp='$CXXCPP $CPPFLAGS'
13242 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13243 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13244 cross_compiling=$ac_cv_prog_cxx_cross
13246 cat > conftest.$ac_ext <<EOF
13247 #line 13248 "configure"
13248 #include "confdefs.h"
13249 #include <math.h>
13250 int main() {
13251 _logf(0);
13252 ; return 0; }
13254 if { (eval echo configure:13255: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13255 rm -rf conftest*
13256 glibcpp_cv_func__logf_use=yes
13257 else
13258 echo "configure: failed program was:" >&5
13259 cat conftest.$ac_ext >&5
13260 rm -rf conftest*
13261 glibcpp_cv_func__logf_use=no
13263 rm -f conftest*
13264 ac_ext=c
13265 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13266 ac_cpp='$CPP $CPPFLAGS'
13267 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13268 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13269 cross_compiling=$ac_cv_prog_cc_cross
13274 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
13275 if test x$glibcpp_cv_func__logf_use = x"yes"; then
13276 for ac_func in _logf
13278 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13279 echo "configure:13280: checking for $ac_func" >&5
13280 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13281 echo $ac_n "(cached) $ac_c" 1>&6
13282 else
13283 cat > conftest.$ac_ext <<EOF
13284 #line 13285 "configure"
13285 #include "confdefs.h"
13286 /* System header to define __stub macros and hopefully few prototypes,
13287 which can conflict with char $ac_func(); below. */
13288 #include <assert.h>
13289 /* Override any gcc2 internal prototype to avoid an error. */
13290 /* We use char because int might match the return type of a gcc2
13291 builtin and then its argument prototype would still apply. */
13292 char $ac_func();
13294 int main() {
13296 /* The GNU C library defines this for functions which it implements
13297 to always fail with ENOSYS. Some functions are actually named
13298 something starting with __ and the normal name is an alias. */
13299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13300 choke me
13301 #else
13302 $ac_func();
13303 #endif
13305 ; return 0; }
13307 if { (eval echo configure:13308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13308 rm -rf conftest*
13309 eval "ac_cv_func_$ac_func=yes"
13310 else
13311 echo "configure: failed program was:" >&5
13312 cat conftest.$ac_ext >&5
13313 rm -rf conftest*
13314 eval "ac_cv_func_$ac_func=no"
13316 rm -f conftest*
13319 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13320 echo "$ac_t""yes" 1>&6
13321 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13322 cat >> confdefs.h <<EOF
13323 #define $ac_tr_func 1
13326 else
13327 echo "$ac_t""no" 1>&6
13329 done
13334 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
13335 echo "configure:13336: checking for _log10f declaration" >&5
13336 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
13337 echo $ac_n "(cached) $ac_c" 1>&6
13338 else
13341 ac_ext=C
13342 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13343 ac_cpp='$CXXCPP $CPPFLAGS'
13344 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13345 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13346 cross_compiling=$ac_cv_prog_cxx_cross
13348 cat > conftest.$ac_ext <<EOF
13349 #line 13350 "configure"
13350 #include "confdefs.h"
13351 #include <math.h>
13352 int main() {
13353 _log10f(0);
13354 ; return 0; }
13356 if { (eval echo configure:13357: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13357 rm -rf conftest*
13358 glibcpp_cv_func__log10f_use=yes
13359 else
13360 echo "configure: failed program was:" >&5
13361 cat conftest.$ac_ext >&5
13362 rm -rf conftest*
13363 glibcpp_cv_func__log10f_use=no
13365 rm -f conftest*
13366 ac_ext=c
13367 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13368 ac_cpp='$CPP $CPPFLAGS'
13369 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13370 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13371 cross_compiling=$ac_cv_prog_cc_cross
13376 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
13377 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
13378 for ac_func in _log10f
13380 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13381 echo "configure:13382: checking for $ac_func" >&5
13382 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13383 echo $ac_n "(cached) $ac_c" 1>&6
13384 else
13385 cat > conftest.$ac_ext <<EOF
13386 #line 13387 "configure"
13387 #include "confdefs.h"
13388 /* System header to define __stub macros and hopefully few prototypes,
13389 which can conflict with char $ac_func(); below. */
13390 #include <assert.h>
13391 /* Override any gcc2 internal prototype to avoid an error. */
13392 /* We use char because int might match the return type of a gcc2
13393 builtin and then its argument prototype would still apply. */
13394 char $ac_func();
13396 int main() {
13398 /* The GNU C library defines this for functions which it implements
13399 to always fail with ENOSYS. Some functions are actually named
13400 something starting with __ and the normal name is an alias. */
13401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13402 choke me
13403 #else
13404 $ac_func();
13405 #endif
13407 ; return 0; }
13409 if { (eval echo configure:13410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13410 rm -rf conftest*
13411 eval "ac_cv_func_$ac_func=yes"
13412 else
13413 echo "configure: failed program was:" >&5
13414 cat conftest.$ac_ext >&5
13415 rm -rf conftest*
13416 eval "ac_cv_func_$ac_func=no"
13418 rm -f conftest*
13421 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13422 echo "$ac_t""yes" 1>&6
13423 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13424 cat >> confdefs.h <<EOF
13425 #define $ac_tr_func 1
13428 else
13429 echo "$ac_t""no" 1>&6
13431 done
13436 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
13437 echo "configure:13438: checking for _modff declaration" >&5
13438 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
13439 echo $ac_n "(cached) $ac_c" 1>&6
13440 else
13443 ac_ext=C
13444 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13445 ac_cpp='$CXXCPP $CPPFLAGS'
13446 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13447 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13448 cross_compiling=$ac_cv_prog_cxx_cross
13450 cat > conftest.$ac_ext <<EOF
13451 #line 13452 "configure"
13452 #include "confdefs.h"
13453 #include <math.h>
13454 int main() {
13455 _modff(0, 0);
13456 ; return 0; }
13458 if { (eval echo configure:13459: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13459 rm -rf conftest*
13460 glibcpp_cv_func__modff_use=yes
13461 else
13462 echo "configure: failed program was:" >&5
13463 cat conftest.$ac_ext >&5
13464 rm -rf conftest*
13465 glibcpp_cv_func__modff_use=no
13467 rm -f conftest*
13468 ac_ext=c
13469 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13470 ac_cpp='$CPP $CPPFLAGS'
13471 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13472 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13473 cross_compiling=$ac_cv_prog_cc_cross
13478 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
13479 if test x$glibcpp_cv_func__modff_use = x"yes"; then
13480 for ac_func in _modff
13482 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13483 echo "configure:13484: checking for $ac_func" >&5
13484 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13485 echo $ac_n "(cached) $ac_c" 1>&6
13486 else
13487 cat > conftest.$ac_ext <<EOF
13488 #line 13489 "configure"
13489 #include "confdefs.h"
13490 /* System header to define __stub macros and hopefully few prototypes,
13491 which can conflict with char $ac_func(); below. */
13492 #include <assert.h>
13493 /* Override any gcc2 internal prototype to avoid an error. */
13494 /* We use char because int might match the return type of a gcc2
13495 builtin and then its argument prototype would still apply. */
13496 char $ac_func();
13498 int main() {
13500 /* The GNU C library defines this for functions which it implements
13501 to always fail with ENOSYS. Some functions are actually named
13502 something starting with __ and the normal name is an alias. */
13503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13504 choke me
13505 #else
13506 $ac_func();
13507 #endif
13509 ; return 0; }
13511 if { (eval echo configure:13512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13512 rm -rf conftest*
13513 eval "ac_cv_func_$ac_func=yes"
13514 else
13515 echo "configure: failed program was:" >&5
13516 cat conftest.$ac_ext >&5
13517 rm -rf conftest*
13518 eval "ac_cv_func_$ac_func=no"
13520 rm -f conftest*
13523 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13524 echo "$ac_t""yes" 1>&6
13525 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13526 cat >> confdefs.h <<EOF
13527 #define $ac_tr_func 1
13530 else
13531 echo "$ac_t""no" 1>&6
13533 done
13538 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
13539 echo "configure:13540: checking for _powf declaration" >&5
13540 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
13541 echo $ac_n "(cached) $ac_c" 1>&6
13542 else
13545 ac_ext=C
13546 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13547 ac_cpp='$CXXCPP $CPPFLAGS'
13548 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13549 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13550 cross_compiling=$ac_cv_prog_cxx_cross
13552 cat > conftest.$ac_ext <<EOF
13553 #line 13554 "configure"
13554 #include "confdefs.h"
13555 #include <math.h>
13556 int main() {
13557 _powf(0, 0);
13558 ; return 0; }
13560 if { (eval echo configure:13561: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13561 rm -rf conftest*
13562 glibcpp_cv_func__powf_use=yes
13563 else
13564 echo "configure: failed program was:" >&5
13565 cat conftest.$ac_ext >&5
13566 rm -rf conftest*
13567 glibcpp_cv_func__powf_use=no
13569 rm -f conftest*
13570 ac_ext=c
13571 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13572 ac_cpp='$CPP $CPPFLAGS'
13573 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13574 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13575 cross_compiling=$ac_cv_prog_cc_cross
13580 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
13581 if test x$glibcpp_cv_func__powf_use = x"yes"; then
13582 for ac_func in _powf
13584 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13585 echo "configure:13586: checking for $ac_func" >&5
13586 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13587 echo $ac_n "(cached) $ac_c" 1>&6
13588 else
13589 cat > conftest.$ac_ext <<EOF
13590 #line 13591 "configure"
13591 #include "confdefs.h"
13592 /* System header to define __stub macros and hopefully few prototypes,
13593 which can conflict with char $ac_func(); below. */
13594 #include <assert.h>
13595 /* Override any gcc2 internal prototype to avoid an error. */
13596 /* We use char because int might match the return type of a gcc2
13597 builtin and then its argument prototype would still apply. */
13598 char $ac_func();
13600 int main() {
13602 /* The GNU C library defines this for functions which it implements
13603 to always fail with ENOSYS. Some functions are actually named
13604 something starting with __ and the normal name is an alias. */
13605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13606 choke me
13607 #else
13608 $ac_func();
13609 #endif
13611 ; return 0; }
13613 if { (eval echo configure:13614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13614 rm -rf conftest*
13615 eval "ac_cv_func_$ac_func=yes"
13616 else
13617 echo "configure: failed program was:" >&5
13618 cat conftest.$ac_ext >&5
13619 rm -rf conftest*
13620 eval "ac_cv_func_$ac_func=no"
13622 rm -f conftest*
13625 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13626 echo "$ac_t""yes" 1>&6
13627 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13628 cat >> confdefs.h <<EOF
13629 #define $ac_tr_func 1
13632 else
13633 echo "$ac_t""no" 1>&6
13635 done
13640 echo $ac_n "checking for _sinf declaration""... $ac_c" 1>&6
13641 echo "configure:13642: checking for _sinf declaration" >&5
13642 if eval "test \"`echo '$''{'glibcpp_cv_func__sinf_use'+set}'`\" = set"; then
13643 echo $ac_n "(cached) $ac_c" 1>&6
13644 else
13647 ac_ext=C
13648 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13649 ac_cpp='$CXXCPP $CPPFLAGS'
13650 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13651 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13652 cross_compiling=$ac_cv_prog_cxx_cross
13654 cat > conftest.$ac_ext <<EOF
13655 #line 13656 "configure"
13656 #include "confdefs.h"
13657 #include <math.h>
13658 int main() {
13659 _sinf(0);
13660 ; return 0; }
13662 if { (eval echo configure:13663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13663 rm -rf conftest*
13664 glibcpp_cv_func__sinf_use=yes
13665 else
13666 echo "configure: failed program was:" >&5
13667 cat conftest.$ac_ext >&5
13668 rm -rf conftest*
13669 glibcpp_cv_func__sinf_use=no
13671 rm -f conftest*
13672 ac_ext=c
13673 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13674 ac_cpp='$CPP $CPPFLAGS'
13675 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13676 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13677 cross_compiling=$ac_cv_prog_cc_cross
13682 echo "$ac_t""$glibcpp_cv_func__sinf_use" 1>&6
13683 if test x$glibcpp_cv_func__sinf_use = x"yes"; then
13684 for ac_func in _sinf
13686 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13687 echo "configure:13688: checking for $ac_func" >&5
13688 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13689 echo $ac_n "(cached) $ac_c" 1>&6
13690 else
13691 cat > conftest.$ac_ext <<EOF
13692 #line 13693 "configure"
13693 #include "confdefs.h"
13694 /* System header to define __stub macros and hopefully few prototypes,
13695 which can conflict with char $ac_func(); below. */
13696 #include <assert.h>
13697 /* Override any gcc2 internal prototype to avoid an error. */
13698 /* We use char because int might match the return type of a gcc2
13699 builtin and then its argument prototype would still apply. */
13700 char $ac_func();
13702 int main() {
13704 /* The GNU C library defines this for functions which it implements
13705 to always fail with ENOSYS. Some functions are actually named
13706 something starting with __ and the normal name is an alias. */
13707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13708 choke me
13709 #else
13710 $ac_func();
13711 #endif
13713 ; return 0; }
13715 if { (eval echo configure:13716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13716 rm -rf conftest*
13717 eval "ac_cv_func_$ac_func=yes"
13718 else
13719 echo "configure: failed program was:" >&5
13720 cat conftest.$ac_ext >&5
13721 rm -rf conftest*
13722 eval "ac_cv_func_$ac_func=no"
13724 rm -f conftest*
13727 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13728 echo "$ac_t""yes" 1>&6
13729 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13730 cat >> confdefs.h <<EOF
13731 #define $ac_tr_func 1
13734 else
13735 echo "$ac_t""no" 1>&6
13737 done
13742 echo $ac_n "checking for _sinhf declaration""... $ac_c" 1>&6
13743 echo "configure:13744: checking for _sinhf declaration" >&5
13744 if eval "test \"`echo '$''{'glibcpp_cv_func__sinhf_use'+set}'`\" = set"; then
13745 echo $ac_n "(cached) $ac_c" 1>&6
13746 else
13749 ac_ext=C
13750 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13751 ac_cpp='$CXXCPP $CPPFLAGS'
13752 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13753 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13754 cross_compiling=$ac_cv_prog_cxx_cross
13756 cat > conftest.$ac_ext <<EOF
13757 #line 13758 "configure"
13758 #include "confdefs.h"
13759 #include <math.h>
13760 int main() {
13761 _sinhf(0);
13762 ; return 0; }
13764 if { (eval echo configure:13765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13765 rm -rf conftest*
13766 glibcpp_cv_func__sinhf_use=yes
13767 else
13768 echo "configure: failed program was:" >&5
13769 cat conftest.$ac_ext >&5
13770 rm -rf conftest*
13771 glibcpp_cv_func__sinhf_use=no
13773 rm -f conftest*
13774 ac_ext=c
13775 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13776 ac_cpp='$CPP $CPPFLAGS'
13777 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13778 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13779 cross_compiling=$ac_cv_prog_cc_cross
13784 echo "$ac_t""$glibcpp_cv_func__sinhf_use" 1>&6
13785 if test x$glibcpp_cv_func__sinhf_use = x"yes"; then
13786 for ac_func in _sinhf
13788 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13789 echo "configure:13790: checking for $ac_func" >&5
13790 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13791 echo $ac_n "(cached) $ac_c" 1>&6
13792 else
13793 cat > conftest.$ac_ext <<EOF
13794 #line 13795 "configure"
13795 #include "confdefs.h"
13796 /* System header to define __stub macros and hopefully few prototypes,
13797 which can conflict with char $ac_func(); below. */
13798 #include <assert.h>
13799 /* Override any gcc2 internal prototype to avoid an error. */
13800 /* We use char because int might match the return type of a gcc2
13801 builtin and then its argument prototype would still apply. */
13802 char $ac_func();
13804 int main() {
13806 /* The GNU C library defines this for functions which it implements
13807 to always fail with ENOSYS. Some functions are actually named
13808 something starting with __ and the normal name is an alias. */
13809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13810 choke me
13811 #else
13812 $ac_func();
13813 #endif
13815 ; return 0; }
13817 if { (eval echo configure:13818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13818 rm -rf conftest*
13819 eval "ac_cv_func_$ac_func=yes"
13820 else
13821 echo "configure: failed program was:" >&5
13822 cat conftest.$ac_ext >&5
13823 rm -rf conftest*
13824 eval "ac_cv_func_$ac_func=no"
13826 rm -f conftest*
13829 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13830 echo "$ac_t""yes" 1>&6
13831 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13832 cat >> confdefs.h <<EOF
13833 #define $ac_tr_func 1
13836 else
13837 echo "$ac_t""no" 1>&6
13839 done
13844 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
13845 echo "configure:13846: checking for _sqrtf declaration" >&5
13846 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
13847 echo $ac_n "(cached) $ac_c" 1>&6
13848 else
13851 ac_ext=C
13852 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13853 ac_cpp='$CXXCPP $CPPFLAGS'
13854 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13855 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13856 cross_compiling=$ac_cv_prog_cxx_cross
13858 cat > conftest.$ac_ext <<EOF
13859 #line 13860 "configure"
13860 #include "confdefs.h"
13861 #include <math.h>
13862 int main() {
13863 _sqrtf(0);
13864 ; return 0; }
13866 if { (eval echo configure:13867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13867 rm -rf conftest*
13868 glibcpp_cv_func__sqrtf_use=yes
13869 else
13870 echo "configure: failed program was:" >&5
13871 cat conftest.$ac_ext >&5
13872 rm -rf conftest*
13873 glibcpp_cv_func__sqrtf_use=no
13875 rm -f conftest*
13876 ac_ext=c
13877 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13878 ac_cpp='$CPP $CPPFLAGS'
13879 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13880 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13881 cross_compiling=$ac_cv_prog_cc_cross
13886 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
13887 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
13888 for ac_func in _sqrtf
13890 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13891 echo "configure:13892: checking for $ac_func" >&5
13892 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13893 echo $ac_n "(cached) $ac_c" 1>&6
13894 else
13895 cat > conftest.$ac_ext <<EOF
13896 #line 13897 "configure"
13897 #include "confdefs.h"
13898 /* System header to define __stub macros and hopefully few prototypes,
13899 which can conflict with char $ac_func(); below. */
13900 #include <assert.h>
13901 /* Override any gcc2 internal prototype to avoid an error. */
13902 /* We use char because int might match the return type of a gcc2
13903 builtin and then its argument prototype would still apply. */
13904 char $ac_func();
13906 int main() {
13908 /* The GNU C library defines this for functions which it implements
13909 to always fail with ENOSYS. Some functions are actually named
13910 something starting with __ and the normal name is an alias. */
13911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13912 choke me
13913 #else
13914 $ac_func();
13915 #endif
13917 ; return 0; }
13919 if { (eval echo configure:13920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13920 rm -rf conftest*
13921 eval "ac_cv_func_$ac_func=yes"
13922 else
13923 echo "configure: failed program was:" >&5
13924 cat conftest.$ac_ext >&5
13925 rm -rf conftest*
13926 eval "ac_cv_func_$ac_func=no"
13928 rm -f conftest*
13931 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13932 echo "$ac_t""yes" 1>&6
13933 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13934 cat >> confdefs.h <<EOF
13935 #define $ac_tr_func 1
13938 else
13939 echo "$ac_t""no" 1>&6
13941 done
13946 echo $ac_n "checking for _tanf declaration""... $ac_c" 1>&6
13947 echo "configure:13948: checking for _tanf declaration" >&5
13948 if eval "test \"`echo '$''{'glibcpp_cv_func__tanf_use'+set}'`\" = set"; then
13949 echo $ac_n "(cached) $ac_c" 1>&6
13950 else
13953 ac_ext=C
13954 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13955 ac_cpp='$CXXCPP $CPPFLAGS'
13956 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13957 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13958 cross_compiling=$ac_cv_prog_cxx_cross
13960 cat > conftest.$ac_ext <<EOF
13961 #line 13962 "configure"
13962 #include "confdefs.h"
13963 #include <math.h>
13964 int main() {
13965 _tanf(0);
13966 ; return 0; }
13968 if { (eval echo configure:13969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13969 rm -rf conftest*
13970 glibcpp_cv_func__tanf_use=yes
13971 else
13972 echo "configure: failed program was:" >&5
13973 cat conftest.$ac_ext >&5
13974 rm -rf conftest*
13975 glibcpp_cv_func__tanf_use=no
13977 rm -f conftest*
13978 ac_ext=c
13979 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13980 ac_cpp='$CPP $CPPFLAGS'
13981 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13982 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13983 cross_compiling=$ac_cv_prog_cc_cross
13988 echo "$ac_t""$glibcpp_cv_func__tanf_use" 1>&6
13989 if test x$glibcpp_cv_func__tanf_use = x"yes"; then
13990 for ac_func in _tanf
13992 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13993 echo "configure:13994: checking for $ac_func" >&5
13994 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13995 echo $ac_n "(cached) $ac_c" 1>&6
13996 else
13997 cat > conftest.$ac_ext <<EOF
13998 #line 13999 "configure"
13999 #include "confdefs.h"
14000 /* System header to define __stub macros and hopefully few prototypes,
14001 which can conflict with char $ac_func(); below. */
14002 #include <assert.h>
14003 /* Override any gcc2 internal prototype to avoid an error. */
14004 /* We use char because int might match the return type of a gcc2
14005 builtin and then its argument prototype would still apply. */
14006 char $ac_func();
14008 int main() {
14010 /* The GNU C library defines this for functions which it implements
14011 to always fail with ENOSYS. Some functions are actually named
14012 something starting with __ and the normal name is an alias. */
14013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14014 choke me
14015 #else
14016 $ac_func();
14017 #endif
14019 ; return 0; }
14021 if { (eval echo configure:14022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14022 rm -rf conftest*
14023 eval "ac_cv_func_$ac_func=yes"
14024 else
14025 echo "configure: failed program was:" >&5
14026 cat conftest.$ac_ext >&5
14027 rm -rf conftest*
14028 eval "ac_cv_func_$ac_func=no"
14030 rm -f conftest*
14033 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14034 echo "$ac_t""yes" 1>&6
14035 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14036 cat >> confdefs.h <<EOF
14037 #define $ac_tr_func 1
14040 else
14041 echo "$ac_t""no" 1>&6
14043 done
14048 echo $ac_n "checking for _tanhf declaration""... $ac_c" 1>&6
14049 echo "configure:14050: checking for _tanhf declaration" >&5
14050 if eval "test \"`echo '$''{'glibcpp_cv_func__tanhf_use'+set}'`\" = set"; then
14051 echo $ac_n "(cached) $ac_c" 1>&6
14052 else
14055 ac_ext=C
14056 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14057 ac_cpp='$CXXCPP $CPPFLAGS'
14058 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14059 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14060 cross_compiling=$ac_cv_prog_cxx_cross
14062 cat > conftest.$ac_ext <<EOF
14063 #line 14064 "configure"
14064 #include "confdefs.h"
14065 #include <math.h>
14066 int main() {
14067 _tanhf(0);
14068 ; return 0; }
14070 if { (eval echo configure:14071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14071 rm -rf conftest*
14072 glibcpp_cv_func__tanhf_use=yes
14073 else
14074 echo "configure: failed program was:" >&5
14075 cat conftest.$ac_ext >&5
14076 rm -rf conftest*
14077 glibcpp_cv_func__tanhf_use=no
14079 rm -f conftest*
14080 ac_ext=c
14081 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14082 ac_cpp='$CPP $CPPFLAGS'
14083 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14084 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14085 cross_compiling=$ac_cv_prog_cc_cross
14090 echo "$ac_t""$glibcpp_cv_func__tanhf_use" 1>&6
14091 if test x$glibcpp_cv_func__tanhf_use = x"yes"; then
14092 for ac_func in _tanhf
14094 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14095 echo "configure:14096: checking for $ac_func" >&5
14096 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14097 echo $ac_n "(cached) $ac_c" 1>&6
14098 else
14099 cat > conftest.$ac_ext <<EOF
14100 #line 14101 "configure"
14101 #include "confdefs.h"
14102 /* System header to define __stub macros and hopefully few prototypes,
14103 which can conflict with char $ac_func(); below. */
14104 #include <assert.h>
14105 /* Override any gcc2 internal prototype to avoid an error. */
14106 /* We use char because int might match the return type of a gcc2
14107 builtin and then its argument prototype would still apply. */
14108 char $ac_func();
14110 int main() {
14112 /* The GNU C library defines this for functions which it implements
14113 to always fail with ENOSYS. Some functions are actually named
14114 something starting with __ and the normal name is an alias. */
14115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14116 choke me
14117 #else
14118 $ac_func();
14119 #endif
14121 ; return 0; }
14123 if { (eval echo configure:14124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14124 rm -rf conftest*
14125 eval "ac_cv_func_$ac_func=yes"
14126 else
14127 echo "configure: failed program was:" >&5
14128 cat conftest.$ac_ext >&5
14129 rm -rf conftest*
14130 eval "ac_cv_func_$ac_func=no"
14132 rm -f conftest*
14135 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14136 echo "$ac_t""yes" 1>&6
14137 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14138 cat >> confdefs.h <<EOF
14139 #define $ac_tr_func 1
14142 else
14143 echo "$ac_t""no" 1>&6
14145 done
14150 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
14151 echo "configure:14152: checking for _sincosf declaration" >&5
14152 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
14153 echo $ac_n "(cached) $ac_c" 1>&6
14154 else
14157 ac_ext=C
14158 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14159 ac_cpp='$CXXCPP $CPPFLAGS'
14160 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14161 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14162 cross_compiling=$ac_cv_prog_cxx_cross
14164 cat > conftest.$ac_ext <<EOF
14165 #line 14166 "configure"
14166 #include "confdefs.h"
14167 #include <math.h>
14168 int main() {
14169 _sincosf(0, 0, 0);
14170 ; return 0; }
14172 if { (eval echo configure:14173: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14173 rm -rf conftest*
14174 glibcpp_cv_func__sincosf_use=yes
14175 else
14176 echo "configure: failed program was:" >&5
14177 cat conftest.$ac_ext >&5
14178 rm -rf conftest*
14179 glibcpp_cv_func__sincosf_use=no
14181 rm -f conftest*
14182 ac_ext=c
14183 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14184 ac_cpp='$CPP $CPPFLAGS'
14185 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14186 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14187 cross_compiling=$ac_cv_prog_cc_cross
14192 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
14193 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
14194 for ac_func in _sincosf
14196 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14197 echo "configure:14198: checking for $ac_func" >&5
14198 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14199 echo $ac_n "(cached) $ac_c" 1>&6
14200 else
14201 cat > conftest.$ac_ext <<EOF
14202 #line 14203 "configure"
14203 #include "confdefs.h"
14204 /* System header to define __stub macros and hopefully few prototypes,
14205 which can conflict with char $ac_func(); below. */
14206 #include <assert.h>
14207 /* Override any gcc2 internal prototype to avoid an error. */
14208 /* We use char because int might match the return type of a gcc2
14209 builtin and then its argument prototype would still apply. */
14210 char $ac_func();
14212 int main() {
14214 /* The GNU C library defines this for functions which it implements
14215 to always fail with ENOSYS. Some functions are actually named
14216 something starting with __ and the normal name is an alias. */
14217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14218 choke me
14219 #else
14220 $ac_func();
14221 #endif
14223 ; return 0; }
14225 if { (eval echo configure:14226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14226 rm -rf conftest*
14227 eval "ac_cv_func_$ac_func=yes"
14228 else
14229 echo "configure: failed program was:" >&5
14230 cat conftest.$ac_ext >&5
14231 rm -rf conftest*
14232 eval "ac_cv_func_$ac_func=no"
14234 rm -f conftest*
14237 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14238 echo "$ac_t""yes" 1>&6
14239 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14240 cat >> confdefs.h <<EOF
14241 #define $ac_tr_func 1
14244 else
14245 echo "$ac_t""no" 1>&6
14247 done
14252 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
14253 echo "configure:14254: checking for _finitef declaration" >&5
14254 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
14255 echo $ac_n "(cached) $ac_c" 1>&6
14256 else
14259 ac_ext=C
14260 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14261 ac_cpp='$CXXCPP $CPPFLAGS'
14262 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14263 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14264 cross_compiling=$ac_cv_prog_cxx_cross
14266 cat > conftest.$ac_ext <<EOF
14267 #line 14268 "configure"
14268 #include "confdefs.h"
14269 #include <math.h>
14270 int main() {
14271 _finitef(0);
14272 ; return 0; }
14274 if { (eval echo configure:14275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14275 rm -rf conftest*
14276 glibcpp_cv_func__finitef_use=yes
14277 else
14278 echo "configure: failed program was:" >&5
14279 cat conftest.$ac_ext >&5
14280 rm -rf conftest*
14281 glibcpp_cv_func__finitef_use=no
14283 rm -f conftest*
14284 ac_ext=c
14285 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14286 ac_cpp='$CPP $CPPFLAGS'
14287 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14288 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14289 cross_compiling=$ac_cv_prog_cc_cross
14294 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
14295 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
14296 for ac_func in _finitef
14298 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14299 echo "configure:14300: checking for $ac_func" >&5
14300 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14301 echo $ac_n "(cached) $ac_c" 1>&6
14302 else
14303 cat > conftest.$ac_ext <<EOF
14304 #line 14305 "configure"
14305 #include "confdefs.h"
14306 /* System header to define __stub macros and hopefully few prototypes,
14307 which can conflict with char $ac_func(); below. */
14308 #include <assert.h>
14309 /* Override any gcc2 internal prototype to avoid an error. */
14310 /* We use char because int might match the return type of a gcc2
14311 builtin and then its argument prototype would still apply. */
14312 char $ac_func();
14314 int main() {
14316 /* The GNU C library defines this for functions which it implements
14317 to always fail with ENOSYS. Some functions are actually named
14318 something starting with __ and the normal name is an alias. */
14319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14320 choke me
14321 #else
14322 $ac_func();
14323 #endif
14325 ; return 0; }
14327 if { (eval echo configure:14328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14328 rm -rf conftest*
14329 eval "ac_cv_func_$ac_func=yes"
14330 else
14331 echo "configure: failed program was:" >&5
14332 cat conftest.$ac_ext >&5
14333 rm -rf conftest*
14334 eval "ac_cv_func_$ac_func=no"
14336 rm -f conftest*
14339 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14340 echo "$ac_t""yes" 1>&6
14341 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14342 cat >> confdefs.h <<EOF
14343 #define $ac_tr_func 1
14346 else
14347 echo "$ac_t""no" 1>&6
14349 done
14355 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
14356 echo "configure:14357: checking for _isnanl declaration" >&5
14357 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
14358 echo $ac_n "(cached) $ac_c" 1>&6
14359 else
14362 ac_ext=C
14363 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14364 ac_cpp='$CXXCPP $CPPFLAGS'
14365 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14366 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14367 cross_compiling=$ac_cv_prog_cxx_cross
14369 cat > conftest.$ac_ext <<EOF
14370 #line 14371 "configure"
14371 #include "confdefs.h"
14372 #include <math.h>
14373 int main() {
14374 _isnanl(0);
14375 ; return 0; }
14377 if { (eval echo configure:14378: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14378 rm -rf conftest*
14379 glibcpp_cv_func__isnanl_use=yes
14380 else
14381 echo "configure: failed program was:" >&5
14382 cat conftest.$ac_ext >&5
14383 rm -rf conftest*
14384 glibcpp_cv_func__isnanl_use=no
14386 rm -f conftest*
14387 ac_ext=c
14388 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14389 ac_cpp='$CPP $CPPFLAGS'
14390 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14391 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14392 cross_compiling=$ac_cv_prog_cc_cross
14397 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
14398 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
14399 for ac_func in _isnanl
14401 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14402 echo "configure:14403: checking for $ac_func" >&5
14403 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14404 echo $ac_n "(cached) $ac_c" 1>&6
14405 else
14406 cat > conftest.$ac_ext <<EOF
14407 #line 14408 "configure"
14408 #include "confdefs.h"
14409 /* System header to define __stub macros and hopefully few prototypes,
14410 which can conflict with char $ac_func(); below. */
14411 #include <assert.h>
14412 /* Override any gcc2 internal prototype to avoid an error. */
14413 /* We use char because int might match the return type of a gcc2
14414 builtin and then its argument prototype would still apply. */
14415 char $ac_func();
14417 int main() {
14419 /* The GNU C library defines this for functions which it implements
14420 to always fail with ENOSYS. Some functions are actually named
14421 something starting with __ and the normal name is an alias. */
14422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14423 choke me
14424 #else
14425 $ac_func();
14426 #endif
14428 ; return 0; }
14430 if { (eval echo configure:14431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14431 rm -rf conftest*
14432 eval "ac_cv_func_$ac_func=yes"
14433 else
14434 echo "configure: failed program was:" >&5
14435 cat conftest.$ac_ext >&5
14436 rm -rf conftest*
14437 eval "ac_cv_func_$ac_func=no"
14439 rm -f conftest*
14442 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14443 echo "$ac_t""yes" 1>&6
14444 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14445 cat >> confdefs.h <<EOF
14446 #define $ac_tr_func 1
14449 else
14450 echo "$ac_t""no" 1>&6
14452 done
14457 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
14458 echo "configure:14459: checking for _isinfl declaration" >&5
14459 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
14460 echo $ac_n "(cached) $ac_c" 1>&6
14461 else
14464 ac_ext=C
14465 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14466 ac_cpp='$CXXCPP $CPPFLAGS'
14467 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14468 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14469 cross_compiling=$ac_cv_prog_cxx_cross
14471 cat > conftest.$ac_ext <<EOF
14472 #line 14473 "configure"
14473 #include "confdefs.h"
14474 #include <math.h>
14475 int main() {
14476 _isinfl(0);
14477 ; return 0; }
14479 if { (eval echo configure:14480: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14480 rm -rf conftest*
14481 glibcpp_cv_func__isinfl_use=yes
14482 else
14483 echo "configure: failed program was:" >&5
14484 cat conftest.$ac_ext >&5
14485 rm -rf conftest*
14486 glibcpp_cv_func__isinfl_use=no
14488 rm -f conftest*
14489 ac_ext=c
14490 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14491 ac_cpp='$CPP $CPPFLAGS'
14492 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14493 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14494 cross_compiling=$ac_cv_prog_cc_cross
14499 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
14500 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
14501 for ac_func in _isinfl
14503 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14504 echo "configure:14505: checking for $ac_func" >&5
14505 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14506 echo $ac_n "(cached) $ac_c" 1>&6
14507 else
14508 cat > conftest.$ac_ext <<EOF
14509 #line 14510 "configure"
14510 #include "confdefs.h"
14511 /* System header to define __stub macros and hopefully few prototypes,
14512 which can conflict with char $ac_func(); below. */
14513 #include <assert.h>
14514 /* Override any gcc2 internal prototype to avoid an error. */
14515 /* We use char because int might match the return type of a gcc2
14516 builtin and then its argument prototype would still apply. */
14517 char $ac_func();
14519 int main() {
14521 /* The GNU C library defines this for functions which it implements
14522 to always fail with ENOSYS. Some functions are actually named
14523 something starting with __ and the normal name is an alias. */
14524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14525 choke me
14526 #else
14527 $ac_func();
14528 #endif
14530 ; return 0; }
14532 if { (eval echo configure:14533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14533 rm -rf conftest*
14534 eval "ac_cv_func_$ac_func=yes"
14535 else
14536 echo "configure: failed program was:" >&5
14537 cat conftest.$ac_ext >&5
14538 rm -rf conftest*
14539 eval "ac_cv_func_$ac_func=no"
14541 rm -f conftest*
14544 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14545 echo "$ac_t""yes" 1>&6
14546 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14547 cat >> confdefs.h <<EOF
14548 #define $ac_tr_func 1
14551 else
14552 echo "$ac_t""no" 1>&6
14554 done
14559 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
14560 echo "configure:14561: checking for _copysignl declaration" >&5
14561 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
14562 echo $ac_n "(cached) $ac_c" 1>&6
14563 else
14566 ac_ext=C
14567 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14568 ac_cpp='$CXXCPP $CPPFLAGS'
14569 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14570 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14571 cross_compiling=$ac_cv_prog_cxx_cross
14573 cat > conftest.$ac_ext <<EOF
14574 #line 14575 "configure"
14575 #include "confdefs.h"
14576 #include <math.h>
14577 int main() {
14578 _copysignl(0, 0);
14579 ; return 0; }
14581 if { (eval echo configure:14582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14582 rm -rf conftest*
14583 glibcpp_cv_func__copysignl_use=yes
14584 else
14585 echo "configure: failed program was:" >&5
14586 cat conftest.$ac_ext >&5
14587 rm -rf conftest*
14588 glibcpp_cv_func__copysignl_use=no
14590 rm -f conftest*
14591 ac_ext=c
14592 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14593 ac_cpp='$CPP $CPPFLAGS'
14594 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14595 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14596 cross_compiling=$ac_cv_prog_cc_cross
14601 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
14602 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
14603 for ac_func in _copysignl
14605 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14606 echo "configure:14607: checking for $ac_func" >&5
14607 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14608 echo $ac_n "(cached) $ac_c" 1>&6
14609 else
14610 cat > conftest.$ac_ext <<EOF
14611 #line 14612 "configure"
14612 #include "confdefs.h"
14613 /* System header to define __stub macros and hopefully few prototypes,
14614 which can conflict with char $ac_func(); below. */
14615 #include <assert.h>
14616 /* Override any gcc2 internal prototype to avoid an error. */
14617 /* We use char because int might match the return type of a gcc2
14618 builtin and then its argument prototype would still apply. */
14619 char $ac_func();
14621 int main() {
14623 /* The GNU C library defines this for functions which it implements
14624 to always fail with ENOSYS. Some functions are actually named
14625 something starting with __ and the normal name is an alias. */
14626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14627 choke me
14628 #else
14629 $ac_func();
14630 #endif
14632 ; return 0; }
14634 if { (eval echo configure:14635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14635 rm -rf conftest*
14636 eval "ac_cv_func_$ac_func=yes"
14637 else
14638 echo "configure: failed program was:" >&5
14639 cat conftest.$ac_ext >&5
14640 rm -rf conftest*
14641 eval "ac_cv_func_$ac_func=no"
14643 rm -f conftest*
14646 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14647 echo "$ac_t""yes" 1>&6
14648 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14649 cat >> confdefs.h <<EOF
14650 #define $ac_tr_func 1
14653 else
14654 echo "$ac_t""no" 1>&6
14656 done
14661 echo $ac_n "checking for _acosl declaration""... $ac_c" 1>&6
14662 echo "configure:14663: checking for _acosl declaration" >&5
14663 if eval "test \"`echo '$''{'glibcpp_cv_func__acosl_use'+set}'`\" = set"; then
14664 echo $ac_n "(cached) $ac_c" 1>&6
14665 else
14668 ac_ext=C
14669 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14670 ac_cpp='$CXXCPP $CPPFLAGS'
14671 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14672 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14673 cross_compiling=$ac_cv_prog_cxx_cross
14675 cat > conftest.$ac_ext <<EOF
14676 #line 14677 "configure"
14677 #include "confdefs.h"
14678 #include <math.h>
14679 int main() {
14680 _acosl(0);
14681 ; return 0; }
14683 if { (eval echo configure:14684: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14684 rm -rf conftest*
14685 glibcpp_cv_func__acosl_use=yes
14686 else
14687 echo "configure: failed program was:" >&5
14688 cat conftest.$ac_ext >&5
14689 rm -rf conftest*
14690 glibcpp_cv_func__acosl_use=no
14692 rm -f conftest*
14693 ac_ext=c
14694 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14695 ac_cpp='$CPP $CPPFLAGS'
14696 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14697 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14698 cross_compiling=$ac_cv_prog_cc_cross
14703 echo "$ac_t""$glibcpp_cv_func__acosl_use" 1>&6
14704 if test x$glibcpp_cv_func__acosl_use = x"yes"; then
14705 for ac_func in _acosl
14707 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14708 echo "configure:14709: checking for $ac_func" >&5
14709 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14710 echo $ac_n "(cached) $ac_c" 1>&6
14711 else
14712 cat > conftest.$ac_ext <<EOF
14713 #line 14714 "configure"
14714 #include "confdefs.h"
14715 /* System header to define __stub macros and hopefully few prototypes,
14716 which can conflict with char $ac_func(); below. */
14717 #include <assert.h>
14718 /* Override any gcc2 internal prototype to avoid an error. */
14719 /* We use char because int might match the return type of a gcc2
14720 builtin and then its argument prototype would still apply. */
14721 char $ac_func();
14723 int main() {
14725 /* The GNU C library defines this for functions which it implements
14726 to always fail with ENOSYS. Some functions are actually named
14727 something starting with __ and the normal name is an alias. */
14728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14729 choke me
14730 #else
14731 $ac_func();
14732 #endif
14734 ; return 0; }
14736 if { (eval echo configure:14737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14737 rm -rf conftest*
14738 eval "ac_cv_func_$ac_func=yes"
14739 else
14740 echo "configure: failed program was:" >&5
14741 cat conftest.$ac_ext >&5
14742 rm -rf conftest*
14743 eval "ac_cv_func_$ac_func=no"
14745 rm -f conftest*
14748 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14749 echo "$ac_t""yes" 1>&6
14750 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14751 cat >> confdefs.h <<EOF
14752 #define $ac_tr_func 1
14755 else
14756 echo "$ac_t""no" 1>&6
14758 done
14763 echo $ac_n "checking for _asinl declaration""... $ac_c" 1>&6
14764 echo "configure:14765: checking for _asinl declaration" >&5
14765 if eval "test \"`echo '$''{'glibcpp_cv_func__asinl_use'+set}'`\" = set"; then
14766 echo $ac_n "(cached) $ac_c" 1>&6
14767 else
14770 ac_ext=C
14771 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14772 ac_cpp='$CXXCPP $CPPFLAGS'
14773 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14774 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14775 cross_compiling=$ac_cv_prog_cxx_cross
14777 cat > conftest.$ac_ext <<EOF
14778 #line 14779 "configure"
14779 #include "confdefs.h"
14780 #include <math.h>
14781 int main() {
14782 _asinl(0);
14783 ; return 0; }
14785 if { (eval echo configure:14786: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14786 rm -rf conftest*
14787 glibcpp_cv_func__asinl_use=yes
14788 else
14789 echo "configure: failed program was:" >&5
14790 cat conftest.$ac_ext >&5
14791 rm -rf conftest*
14792 glibcpp_cv_func__asinl_use=no
14794 rm -f conftest*
14795 ac_ext=c
14796 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14797 ac_cpp='$CPP $CPPFLAGS'
14798 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14799 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14800 cross_compiling=$ac_cv_prog_cc_cross
14805 echo "$ac_t""$glibcpp_cv_func__asinl_use" 1>&6
14806 if test x$glibcpp_cv_func__asinl_use = x"yes"; then
14807 for ac_func in _asinl
14809 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14810 echo "configure:14811: checking for $ac_func" >&5
14811 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14812 echo $ac_n "(cached) $ac_c" 1>&6
14813 else
14814 cat > conftest.$ac_ext <<EOF
14815 #line 14816 "configure"
14816 #include "confdefs.h"
14817 /* System header to define __stub macros and hopefully few prototypes,
14818 which can conflict with char $ac_func(); below. */
14819 #include <assert.h>
14820 /* Override any gcc2 internal prototype to avoid an error. */
14821 /* We use char because int might match the return type of a gcc2
14822 builtin and then its argument prototype would still apply. */
14823 char $ac_func();
14825 int main() {
14827 /* The GNU C library defines this for functions which it implements
14828 to always fail with ENOSYS. Some functions are actually named
14829 something starting with __ and the normal name is an alias. */
14830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14831 choke me
14832 #else
14833 $ac_func();
14834 #endif
14836 ; return 0; }
14838 if { (eval echo configure:14839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14839 rm -rf conftest*
14840 eval "ac_cv_func_$ac_func=yes"
14841 else
14842 echo "configure: failed program was:" >&5
14843 cat conftest.$ac_ext >&5
14844 rm -rf conftest*
14845 eval "ac_cv_func_$ac_func=no"
14847 rm -f conftest*
14850 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14851 echo "$ac_t""yes" 1>&6
14852 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14853 cat >> confdefs.h <<EOF
14854 #define $ac_tr_func 1
14857 else
14858 echo "$ac_t""no" 1>&6
14860 done
14865 echo $ac_n "checking for _atanl declaration""... $ac_c" 1>&6
14866 echo "configure:14867: checking for _atanl declaration" >&5
14867 if eval "test \"`echo '$''{'glibcpp_cv_func__atanl_use'+set}'`\" = set"; then
14868 echo $ac_n "(cached) $ac_c" 1>&6
14869 else
14872 ac_ext=C
14873 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14874 ac_cpp='$CXXCPP $CPPFLAGS'
14875 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14876 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14877 cross_compiling=$ac_cv_prog_cxx_cross
14879 cat > conftest.$ac_ext <<EOF
14880 #line 14881 "configure"
14881 #include "confdefs.h"
14882 #include <math.h>
14883 int main() {
14884 _atanl(0);
14885 ; return 0; }
14887 if { (eval echo configure:14888: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14888 rm -rf conftest*
14889 glibcpp_cv_func__atanl_use=yes
14890 else
14891 echo "configure: failed program was:" >&5
14892 cat conftest.$ac_ext >&5
14893 rm -rf conftest*
14894 glibcpp_cv_func__atanl_use=no
14896 rm -f conftest*
14897 ac_ext=c
14898 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14899 ac_cpp='$CPP $CPPFLAGS'
14900 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14901 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14902 cross_compiling=$ac_cv_prog_cc_cross
14907 echo "$ac_t""$glibcpp_cv_func__atanl_use" 1>&6
14908 if test x$glibcpp_cv_func__atanl_use = x"yes"; then
14909 for ac_func in _atanl
14911 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14912 echo "configure:14913: checking for $ac_func" >&5
14913 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14914 echo $ac_n "(cached) $ac_c" 1>&6
14915 else
14916 cat > conftest.$ac_ext <<EOF
14917 #line 14918 "configure"
14918 #include "confdefs.h"
14919 /* System header to define __stub macros and hopefully few prototypes,
14920 which can conflict with char $ac_func(); below. */
14921 #include <assert.h>
14922 /* Override any gcc2 internal prototype to avoid an error. */
14923 /* We use char because int might match the return type of a gcc2
14924 builtin and then its argument prototype would still apply. */
14925 char $ac_func();
14927 int main() {
14929 /* The GNU C library defines this for functions which it implements
14930 to always fail with ENOSYS. Some functions are actually named
14931 something starting with __ and the normal name is an alias. */
14932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14933 choke me
14934 #else
14935 $ac_func();
14936 #endif
14938 ; return 0; }
14940 if { (eval echo configure:14941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14941 rm -rf conftest*
14942 eval "ac_cv_func_$ac_func=yes"
14943 else
14944 echo "configure: failed program was:" >&5
14945 cat conftest.$ac_ext >&5
14946 rm -rf conftest*
14947 eval "ac_cv_func_$ac_func=no"
14949 rm -f conftest*
14952 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14953 echo "$ac_t""yes" 1>&6
14954 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14955 cat >> confdefs.h <<EOF
14956 #define $ac_tr_func 1
14959 else
14960 echo "$ac_t""no" 1>&6
14962 done
14967 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
14968 echo "configure:14969: checking for _atan2l declaration" >&5
14969 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
14970 echo $ac_n "(cached) $ac_c" 1>&6
14971 else
14974 ac_ext=C
14975 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14976 ac_cpp='$CXXCPP $CPPFLAGS'
14977 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14978 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14979 cross_compiling=$ac_cv_prog_cxx_cross
14981 cat > conftest.$ac_ext <<EOF
14982 #line 14983 "configure"
14983 #include "confdefs.h"
14984 #include <math.h>
14985 int main() {
14986 _atan2l(0, 0);
14987 ; return 0; }
14989 if { (eval echo configure:14990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14990 rm -rf conftest*
14991 glibcpp_cv_func__atan2l_use=yes
14992 else
14993 echo "configure: failed program was:" >&5
14994 cat conftest.$ac_ext >&5
14995 rm -rf conftest*
14996 glibcpp_cv_func__atan2l_use=no
14998 rm -f conftest*
14999 ac_ext=c
15000 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15001 ac_cpp='$CPP $CPPFLAGS'
15002 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15003 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15004 cross_compiling=$ac_cv_prog_cc_cross
15009 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
15010 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
15011 for ac_func in _atan2l
15013 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15014 echo "configure:15015: checking for $ac_func" >&5
15015 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15016 echo $ac_n "(cached) $ac_c" 1>&6
15017 else
15018 cat > conftest.$ac_ext <<EOF
15019 #line 15020 "configure"
15020 #include "confdefs.h"
15021 /* System header to define __stub macros and hopefully few prototypes,
15022 which can conflict with char $ac_func(); below. */
15023 #include <assert.h>
15024 /* Override any gcc2 internal prototype to avoid an error. */
15025 /* We use char because int might match the return type of a gcc2
15026 builtin and then its argument prototype would still apply. */
15027 char $ac_func();
15029 int main() {
15031 /* The GNU C library defines this for functions which it implements
15032 to always fail with ENOSYS. Some functions are actually named
15033 something starting with __ and the normal name is an alias. */
15034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15035 choke me
15036 #else
15037 $ac_func();
15038 #endif
15040 ; return 0; }
15042 if { (eval echo configure:15043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15043 rm -rf conftest*
15044 eval "ac_cv_func_$ac_func=yes"
15045 else
15046 echo "configure: failed program was:" >&5
15047 cat conftest.$ac_ext >&5
15048 rm -rf conftest*
15049 eval "ac_cv_func_$ac_func=no"
15051 rm -f conftest*
15054 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15055 echo "$ac_t""yes" 1>&6
15056 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15057 cat >> confdefs.h <<EOF
15058 #define $ac_tr_func 1
15061 else
15062 echo "$ac_t""no" 1>&6
15064 done
15069 echo $ac_n "checking for _ceill declaration""... $ac_c" 1>&6
15070 echo "configure:15071: checking for _ceill declaration" >&5
15071 if eval "test \"`echo '$''{'glibcpp_cv_func__ceill_use'+set}'`\" = set"; then
15072 echo $ac_n "(cached) $ac_c" 1>&6
15073 else
15076 ac_ext=C
15077 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15078 ac_cpp='$CXXCPP $CPPFLAGS'
15079 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15080 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15081 cross_compiling=$ac_cv_prog_cxx_cross
15083 cat > conftest.$ac_ext <<EOF
15084 #line 15085 "configure"
15085 #include "confdefs.h"
15086 #include <math.h>
15087 int main() {
15088 _ceill(0);
15089 ; return 0; }
15091 if { (eval echo configure:15092: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15092 rm -rf conftest*
15093 glibcpp_cv_func__ceill_use=yes
15094 else
15095 echo "configure: failed program was:" >&5
15096 cat conftest.$ac_ext >&5
15097 rm -rf conftest*
15098 glibcpp_cv_func__ceill_use=no
15100 rm -f conftest*
15101 ac_ext=c
15102 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15103 ac_cpp='$CPP $CPPFLAGS'
15104 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15105 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15106 cross_compiling=$ac_cv_prog_cc_cross
15111 echo "$ac_t""$glibcpp_cv_func__ceill_use" 1>&6
15112 if test x$glibcpp_cv_func__ceill_use = x"yes"; then
15113 for ac_func in _ceill
15115 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15116 echo "configure:15117: checking for $ac_func" >&5
15117 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15118 echo $ac_n "(cached) $ac_c" 1>&6
15119 else
15120 cat > conftest.$ac_ext <<EOF
15121 #line 15122 "configure"
15122 #include "confdefs.h"
15123 /* System header to define __stub macros and hopefully few prototypes,
15124 which can conflict with char $ac_func(); below. */
15125 #include <assert.h>
15126 /* Override any gcc2 internal prototype to avoid an error. */
15127 /* We use char because int might match the return type of a gcc2
15128 builtin and then its argument prototype would still apply. */
15129 char $ac_func();
15131 int main() {
15133 /* The GNU C library defines this for functions which it implements
15134 to always fail with ENOSYS. Some functions are actually named
15135 something starting with __ and the normal name is an alias. */
15136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15137 choke me
15138 #else
15139 $ac_func();
15140 #endif
15142 ; return 0; }
15144 if { (eval echo configure:15145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15145 rm -rf conftest*
15146 eval "ac_cv_func_$ac_func=yes"
15147 else
15148 echo "configure: failed program was:" >&5
15149 cat conftest.$ac_ext >&5
15150 rm -rf conftest*
15151 eval "ac_cv_func_$ac_func=no"
15153 rm -f conftest*
15156 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15157 echo "$ac_t""yes" 1>&6
15158 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15159 cat >> confdefs.h <<EOF
15160 #define $ac_tr_func 1
15163 else
15164 echo "$ac_t""no" 1>&6
15166 done
15171 echo $ac_n "checking for _cosl declaration""... $ac_c" 1>&6
15172 echo "configure:15173: checking for _cosl declaration" >&5
15173 if eval "test \"`echo '$''{'glibcpp_cv_func__cosl_use'+set}'`\" = set"; then
15174 echo $ac_n "(cached) $ac_c" 1>&6
15175 else
15178 ac_ext=C
15179 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15180 ac_cpp='$CXXCPP $CPPFLAGS'
15181 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15182 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15183 cross_compiling=$ac_cv_prog_cxx_cross
15185 cat > conftest.$ac_ext <<EOF
15186 #line 15187 "configure"
15187 #include "confdefs.h"
15188 #include <math.h>
15189 int main() {
15190 _cosl(0);
15191 ; return 0; }
15193 if { (eval echo configure:15194: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15194 rm -rf conftest*
15195 glibcpp_cv_func__cosl_use=yes
15196 else
15197 echo "configure: failed program was:" >&5
15198 cat conftest.$ac_ext >&5
15199 rm -rf conftest*
15200 glibcpp_cv_func__cosl_use=no
15202 rm -f conftest*
15203 ac_ext=c
15204 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15205 ac_cpp='$CPP $CPPFLAGS'
15206 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15207 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15208 cross_compiling=$ac_cv_prog_cc_cross
15213 echo "$ac_t""$glibcpp_cv_func__cosl_use" 1>&6
15214 if test x$glibcpp_cv_func__cosl_use = x"yes"; then
15215 for ac_func in _cosl
15217 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15218 echo "configure:15219: checking for $ac_func" >&5
15219 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15220 echo $ac_n "(cached) $ac_c" 1>&6
15221 else
15222 cat > conftest.$ac_ext <<EOF
15223 #line 15224 "configure"
15224 #include "confdefs.h"
15225 /* System header to define __stub macros and hopefully few prototypes,
15226 which can conflict with char $ac_func(); below. */
15227 #include <assert.h>
15228 /* Override any gcc2 internal prototype to avoid an error. */
15229 /* We use char because int might match the return type of a gcc2
15230 builtin and then its argument prototype would still apply. */
15231 char $ac_func();
15233 int main() {
15235 /* The GNU C library defines this for functions which it implements
15236 to always fail with ENOSYS. Some functions are actually named
15237 something starting with __ and the normal name is an alias. */
15238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15239 choke me
15240 #else
15241 $ac_func();
15242 #endif
15244 ; return 0; }
15246 if { (eval echo configure:15247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15247 rm -rf conftest*
15248 eval "ac_cv_func_$ac_func=yes"
15249 else
15250 echo "configure: failed program was:" >&5
15251 cat conftest.$ac_ext >&5
15252 rm -rf conftest*
15253 eval "ac_cv_func_$ac_func=no"
15255 rm -f conftest*
15258 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15259 echo "$ac_t""yes" 1>&6
15260 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15261 cat >> confdefs.h <<EOF
15262 #define $ac_tr_func 1
15265 else
15266 echo "$ac_t""no" 1>&6
15268 done
15273 echo $ac_n "checking for _coshl declaration""... $ac_c" 1>&6
15274 echo "configure:15275: checking for _coshl declaration" >&5
15275 if eval "test \"`echo '$''{'glibcpp_cv_func__coshl_use'+set}'`\" = set"; then
15276 echo $ac_n "(cached) $ac_c" 1>&6
15277 else
15280 ac_ext=C
15281 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15282 ac_cpp='$CXXCPP $CPPFLAGS'
15283 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15284 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15285 cross_compiling=$ac_cv_prog_cxx_cross
15287 cat > conftest.$ac_ext <<EOF
15288 #line 15289 "configure"
15289 #include "confdefs.h"
15290 #include <math.h>
15291 int main() {
15292 _coshl(0);
15293 ; return 0; }
15295 if { (eval echo configure:15296: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15296 rm -rf conftest*
15297 glibcpp_cv_func__coshl_use=yes
15298 else
15299 echo "configure: failed program was:" >&5
15300 cat conftest.$ac_ext >&5
15301 rm -rf conftest*
15302 glibcpp_cv_func__coshl_use=no
15304 rm -f conftest*
15305 ac_ext=c
15306 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15307 ac_cpp='$CPP $CPPFLAGS'
15308 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15309 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15310 cross_compiling=$ac_cv_prog_cc_cross
15315 echo "$ac_t""$glibcpp_cv_func__coshl_use" 1>&6
15316 if test x$glibcpp_cv_func__coshl_use = x"yes"; then
15317 for ac_func in _coshl
15319 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15320 echo "configure:15321: checking for $ac_func" >&5
15321 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15322 echo $ac_n "(cached) $ac_c" 1>&6
15323 else
15324 cat > conftest.$ac_ext <<EOF
15325 #line 15326 "configure"
15326 #include "confdefs.h"
15327 /* System header to define __stub macros and hopefully few prototypes,
15328 which can conflict with char $ac_func(); below. */
15329 #include <assert.h>
15330 /* Override any gcc2 internal prototype to avoid an error. */
15331 /* We use char because int might match the return type of a gcc2
15332 builtin and then its argument prototype would still apply. */
15333 char $ac_func();
15335 int main() {
15337 /* The GNU C library defines this for functions which it implements
15338 to always fail with ENOSYS. Some functions are actually named
15339 something starting with __ and the normal name is an alias. */
15340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15341 choke me
15342 #else
15343 $ac_func();
15344 #endif
15346 ; return 0; }
15348 if { (eval echo configure:15349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15349 rm -rf conftest*
15350 eval "ac_cv_func_$ac_func=yes"
15351 else
15352 echo "configure: failed program was:" >&5
15353 cat conftest.$ac_ext >&5
15354 rm -rf conftest*
15355 eval "ac_cv_func_$ac_func=no"
15357 rm -f conftest*
15360 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15361 echo "$ac_t""yes" 1>&6
15362 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15363 cat >> confdefs.h <<EOF
15364 #define $ac_tr_func 1
15367 else
15368 echo "$ac_t""no" 1>&6
15370 done
15375 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
15376 echo "configure:15377: checking for _expl declaration" >&5
15377 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
15378 echo $ac_n "(cached) $ac_c" 1>&6
15379 else
15382 ac_ext=C
15383 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15384 ac_cpp='$CXXCPP $CPPFLAGS'
15385 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15386 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15387 cross_compiling=$ac_cv_prog_cxx_cross
15389 cat > conftest.$ac_ext <<EOF
15390 #line 15391 "configure"
15391 #include "confdefs.h"
15392 #include <math.h>
15393 int main() {
15394 _expl(0);
15395 ; return 0; }
15397 if { (eval echo configure:15398: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15398 rm -rf conftest*
15399 glibcpp_cv_func__expl_use=yes
15400 else
15401 echo "configure: failed program was:" >&5
15402 cat conftest.$ac_ext >&5
15403 rm -rf conftest*
15404 glibcpp_cv_func__expl_use=no
15406 rm -f conftest*
15407 ac_ext=c
15408 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15409 ac_cpp='$CPP $CPPFLAGS'
15410 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15411 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15412 cross_compiling=$ac_cv_prog_cc_cross
15417 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
15418 if test x$glibcpp_cv_func__expl_use = x"yes"; then
15419 for ac_func in _expl
15421 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15422 echo "configure:15423: checking for $ac_func" >&5
15423 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15424 echo $ac_n "(cached) $ac_c" 1>&6
15425 else
15426 cat > conftest.$ac_ext <<EOF
15427 #line 15428 "configure"
15428 #include "confdefs.h"
15429 /* System header to define __stub macros and hopefully few prototypes,
15430 which can conflict with char $ac_func(); below. */
15431 #include <assert.h>
15432 /* Override any gcc2 internal prototype to avoid an error. */
15433 /* We use char because int might match the return type of a gcc2
15434 builtin and then its argument prototype would still apply. */
15435 char $ac_func();
15437 int main() {
15439 /* The GNU C library defines this for functions which it implements
15440 to always fail with ENOSYS. Some functions are actually named
15441 something starting with __ and the normal name is an alias. */
15442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15443 choke me
15444 #else
15445 $ac_func();
15446 #endif
15448 ; return 0; }
15450 if { (eval echo configure:15451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15451 rm -rf conftest*
15452 eval "ac_cv_func_$ac_func=yes"
15453 else
15454 echo "configure: failed program was:" >&5
15455 cat conftest.$ac_ext >&5
15456 rm -rf conftest*
15457 eval "ac_cv_func_$ac_func=no"
15459 rm -f conftest*
15462 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15463 echo "$ac_t""yes" 1>&6
15464 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15465 cat >> confdefs.h <<EOF
15466 #define $ac_tr_func 1
15469 else
15470 echo "$ac_t""no" 1>&6
15472 done
15477 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
15478 echo "configure:15479: checking for _fabsl declaration" >&5
15479 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
15480 echo $ac_n "(cached) $ac_c" 1>&6
15481 else
15484 ac_ext=C
15485 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15486 ac_cpp='$CXXCPP $CPPFLAGS'
15487 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15488 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15489 cross_compiling=$ac_cv_prog_cxx_cross
15491 cat > conftest.$ac_ext <<EOF
15492 #line 15493 "configure"
15493 #include "confdefs.h"
15494 #include <math.h>
15495 int main() {
15496 _fabsl(0);
15497 ; return 0; }
15499 if { (eval echo configure:15500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15500 rm -rf conftest*
15501 glibcpp_cv_func__fabsl_use=yes
15502 else
15503 echo "configure: failed program was:" >&5
15504 cat conftest.$ac_ext >&5
15505 rm -rf conftest*
15506 glibcpp_cv_func__fabsl_use=no
15508 rm -f conftest*
15509 ac_ext=c
15510 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15511 ac_cpp='$CPP $CPPFLAGS'
15512 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15513 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15514 cross_compiling=$ac_cv_prog_cc_cross
15519 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
15520 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
15521 for ac_func in _fabsl
15523 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15524 echo "configure:15525: checking for $ac_func" >&5
15525 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15526 echo $ac_n "(cached) $ac_c" 1>&6
15527 else
15528 cat > conftest.$ac_ext <<EOF
15529 #line 15530 "configure"
15530 #include "confdefs.h"
15531 /* System header to define __stub macros and hopefully few prototypes,
15532 which can conflict with char $ac_func(); below. */
15533 #include <assert.h>
15534 /* Override any gcc2 internal prototype to avoid an error. */
15535 /* We use char because int might match the return type of a gcc2
15536 builtin and then its argument prototype would still apply. */
15537 char $ac_func();
15539 int main() {
15541 /* The GNU C library defines this for functions which it implements
15542 to always fail with ENOSYS. Some functions are actually named
15543 something starting with __ and the normal name is an alias. */
15544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15545 choke me
15546 #else
15547 $ac_func();
15548 #endif
15550 ; return 0; }
15552 if { (eval echo configure:15553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15553 rm -rf conftest*
15554 eval "ac_cv_func_$ac_func=yes"
15555 else
15556 echo "configure: failed program was:" >&5
15557 cat conftest.$ac_ext >&5
15558 rm -rf conftest*
15559 eval "ac_cv_func_$ac_func=no"
15561 rm -f conftest*
15564 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15565 echo "$ac_t""yes" 1>&6
15566 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15567 cat >> confdefs.h <<EOF
15568 #define $ac_tr_func 1
15571 else
15572 echo "$ac_t""no" 1>&6
15574 done
15579 echo $ac_n "checking for _floorl declaration""... $ac_c" 1>&6
15580 echo "configure:15581: checking for _floorl declaration" >&5
15581 if eval "test \"`echo '$''{'glibcpp_cv_func__floorl_use'+set}'`\" = set"; then
15582 echo $ac_n "(cached) $ac_c" 1>&6
15583 else
15586 ac_ext=C
15587 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15588 ac_cpp='$CXXCPP $CPPFLAGS'
15589 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15590 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15591 cross_compiling=$ac_cv_prog_cxx_cross
15593 cat > conftest.$ac_ext <<EOF
15594 #line 15595 "configure"
15595 #include "confdefs.h"
15596 #include <math.h>
15597 int main() {
15598 _floorl(0);
15599 ; return 0; }
15601 if { (eval echo configure:15602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15602 rm -rf conftest*
15603 glibcpp_cv_func__floorl_use=yes
15604 else
15605 echo "configure: failed program was:" >&5
15606 cat conftest.$ac_ext >&5
15607 rm -rf conftest*
15608 glibcpp_cv_func__floorl_use=no
15610 rm -f conftest*
15611 ac_ext=c
15612 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15613 ac_cpp='$CPP $CPPFLAGS'
15614 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15615 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15616 cross_compiling=$ac_cv_prog_cc_cross
15621 echo "$ac_t""$glibcpp_cv_func__floorl_use" 1>&6
15622 if test x$glibcpp_cv_func__floorl_use = x"yes"; then
15623 for ac_func in _floorl
15625 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15626 echo "configure:15627: checking for $ac_func" >&5
15627 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15628 echo $ac_n "(cached) $ac_c" 1>&6
15629 else
15630 cat > conftest.$ac_ext <<EOF
15631 #line 15632 "configure"
15632 #include "confdefs.h"
15633 /* System header to define __stub macros and hopefully few prototypes,
15634 which can conflict with char $ac_func(); below. */
15635 #include <assert.h>
15636 /* Override any gcc2 internal prototype to avoid an error. */
15637 /* We use char because int might match the return type of a gcc2
15638 builtin and then its argument prototype would still apply. */
15639 char $ac_func();
15641 int main() {
15643 /* The GNU C library defines this for functions which it implements
15644 to always fail with ENOSYS. Some functions are actually named
15645 something starting with __ and the normal name is an alias. */
15646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15647 choke me
15648 #else
15649 $ac_func();
15650 #endif
15652 ; return 0; }
15654 if { (eval echo configure:15655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15655 rm -rf conftest*
15656 eval "ac_cv_func_$ac_func=yes"
15657 else
15658 echo "configure: failed program was:" >&5
15659 cat conftest.$ac_ext >&5
15660 rm -rf conftest*
15661 eval "ac_cv_func_$ac_func=no"
15663 rm -f conftest*
15666 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15667 echo "$ac_t""yes" 1>&6
15668 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15669 cat >> confdefs.h <<EOF
15670 #define $ac_tr_func 1
15673 else
15674 echo "$ac_t""no" 1>&6
15676 done
15681 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
15682 echo "configure:15683: checking for _fmodl declaration" >&5
15683 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
15684 echo $ac_n "(cached) $ac_c" 1>&6
15685 else
15688 ac_ext=C
15689 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15690 ac_cpp='$CXXCPP $CPPFLAGS'
15691 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15692 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15693 cross_compiling=$ac_cv_prog_cxx_cross
15695 cat > conftest.$ac_ext <<EOF
15696 #line 15697 "configure"
15697 #include "confdefs.h"
15698 #include <math.h>
15699 int main() {
15700 _fmodl(0, 0);
15701 ; return 0; }
15703 if { (eval echo configure:15704: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15704 rm -rf conftest*
15705 glibcpp_cv_func__fmodl_use=yes
15706 else
15707 echo "configure: failed program was:" >&5
15708 cat conftest.$ac_ext >&5
15709 rm -rf conftest*
15710 glibcpp_cv_func__fmodl_use=no
15712 rm -f conftest*
15713 ac_ext=c
15714 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15715 ac_cpp='$CPP $CPPFLAGS'
15716 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15717 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15718 cross_compiling=$ac_cv_prog_cc_cross
15723 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
15724 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
15725 for ac_func in _fmodl
15727 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15728 echo "configure:15729: checking for $ac_func" >&5
15729 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15730 echo $ac_n "(cached) $ac_c" 1>&6
15731 else
15732 cat > conftest.$ac_ext <<EOF
15733 #line 15734 "configure"
15734 #include "confdefs.h"
15735 /* System header to define __stub macros and hopefully few prototypes,
15736 which can conflict with char $ac_func(); below. */
15737 #include <assert.h>
15738 /* Override any gcc2 internal prototype to avoid an error. */
15739 /* We use char because int might match the return type of a gcc2
15740 builtin and then its argument prototype would still apply. */
15741 char $ac_func();
15743 int main() {
15745 /* The GNU C library defines this for functions which it implements
15746 to always fail with ENOSYS. Some functions are actually named
15747 something starting with __ and the normal name is an alias. */
15748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15749 choke me
15750 #else
15751 $ac_func();
15752 #endif
15754 ; return 0; }
15756 if { (eval echo configure:15757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15757 rm -rf conftest*
15758 eval "ac_cv_func_$ac_func=yes"
15759 else
15760 echo "configure: failed program was:" >&5
15761 cat conftest.$ac_ext >&5
15762 rm -rf conftest*
15763 eval "ac_cv_func_$ac_func=no"
15765 rm -f conftest*
15768 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15769 echo "$ac_t""yes" 1>&6
15770 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15771 cat >> confdefs.h <<EOF
15772 #define $ac_tr_func 1
15775 else
15776 echo "$ac_t""no" 1>&6
15778 done
15783 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
15784 echo "configure:15785: checking for _frexpl declaration" >&5
15785 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
15786 echo $ac_n "(cached) $ac_c" 1>&6
15787 else
15790 ac_ext=C
15791 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15792 ac_cpp='$CXXCPP $CPPFLAGS'
15793 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15794 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15795 cross_compiling=$ac_cv_prog_cxx_cross
15797 cat > conftest.$ac_ext <<EOF
15798 #line 15799 "configure"
15799 #include "confdefs.h"
15800 #include <math.h>
15801 int main() {
15802 _frexpl(0, 0);
15803 ; return 0; }
15805 if { (eval echo configure:15806: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15806 rm -rf conftest*
15807 glibcpp_cv_func__frexpl_use=yes
15808 else
15809 echo "configure: failed program was:" >&5
15810 cat conftest.$ac_ext >&5
15811 rm -rf conftest*
15812 glibcpp_cv_func__frexpl_use=no
15814 rm -f conftest*
15815 ac_ext=c
15816 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15817 ac_cpp='$CPP $CPPFLAGS'
15818 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15819 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15820 cross_compiling=$ac_cv_prog_cc_cross
15825 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
15826 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
15827 for ac_func in _frexpl
15829 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15830 echo "configure:15831: checking for $ac_func" >&5
15831 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15832 echo $ac_n "(cached) $ac_c" 1>&6
15833 else
15834 cat > conftest.$ac_ext <<EOF
15835 #line 15836 "configure"
15836 #include "confdefs.h"
15837 /* System header to define __stub macros and hopefully few prototypes,
15838 which can conflict with char $ac_func(); below. */
15839 #include <assert.h>
15840 /* Override any gcc2 internal prototype to avoid an error. */
15841 /* We use char because int might match the return type of a gcc2
15842 builtin and then its argument prototype would still apply. */
15843 char $ac_func();
15845 int main() {
15847 /* The GNU C library defines this for functions which it implements
15848 to always fail with ENOSYS. Some functions are actually named
15849 something starting with __ and the normal name is an alias. */
15850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15851 choke me
15852 #else
15853 $ac_func();
15854 #endif
15856 ; return 0; }
15858 if { (eval echo configure:15859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15859 rm -rf conftest*
15860 eval "ac_cv_func_$ac_func=yes"
15861 else
15862 echo "configure: failed program was:" >&5
15863 cat conftest.$ac_ext >&5
15864 rm -rf conftest*
15865 eval "ac_cv_func_$ac_func=no"
15867 rm -f conftest*
15870 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15871 echo "$ac_t""yes" 1>&6
15872 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15873 cat >> confdefs.h <<EOF
15874 #define $ac_tr_func 1
15877 else
15878 echo "$ac_t""no" 1>&6
15880 done
15885 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
15886 echo "configure:15887: checking for _ldexpl declaration" >&5
15887 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
15888 echo $ac_n "(cached) $ac_c" 1>&6
15889 else
15892 ac_ext=C
15893 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15894 ac_cpp='$CXXCPP $CPPFLAGS'
15895 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15896 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15897 cross_compiling=$ac_cv_prog_cxx_cross
15899 cat > conftest.$ac_ext <<EOF
15900 #line 15901 "configure"
15901 #include "confdefs.h"
15902 #include <math.h>
15903 int main() {
15904 _ldexpl(0, 0);
15905 ; return 0; }
15907 if { (eval echo configure:15908: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15908 rm -rf conftest*
15909 glibcpp_cv_func__ldexpl_use=yes
15910 else
15911 echo "configure: failed program was:" >&5
15912 cat conftest.$ac_ext >&5
15913 rm -rf conftest*
15914 glibcpp_cv_func__ldexpl_use=no
15916 rm -f conftest*
15917 ac_ext=c
15918 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15919 ac_cpp='$CPP $CPPFLAGS'
15920 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15921 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15922 cross_compiling=$ac_cv_prog_cc_cross
15927 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
15928 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
15929 for ac_func in _ldexpl
15931 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15932 echo "configure:15933: checking for $ac_func" >&5
15933 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15934 echo $ac_n "(cached) $ac_c" 1>&6
15935 else
15936 cat > conftest.$ac_ext <<EOF
15937 #line 15938 "configure"
15938 #include "confdefs.h"
15939 /* System header to define __stub macros and hopefully few prototypes,
15940 which can conflict with char $ac_func(); below. */
15941 #include <assert.h>
15942 /* Override any gcc2 internal prototype to avoid an error. */
15943 /* We use char because int might match the return type of a gcc2
15944 builtin and then its argument prototype would still apply. */
15945 char $ac_func();
15947 int main() {
15949 /* The GNU C library defines this for functions which it implements
15950 to always fail with ENOSYS. Some functions are actually named
15951 something starting with __ and the normal name is an alias. */
15952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15953 choke me
15954 #else
15955 $ac_func();
15956 #endif
15958 ; return 0; }
15960 if { (eval echo configure:15961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15961 rm -rf conftest*
15962 eval "ac_cv_func_$ac_func=yes"
15963 else
15964 echo "configure: failed program was:" >&5
15965 cat conftest.$ac_ext >&5
15966 rm -rf conftest*
15967 eval "ac_cv_func_$ac_func=no"
15969 rm -f conftest*
15972 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15973 echo "$ac_t""yes" 1>&6
15974 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15975 cat >> confdefs.h <<EOF
15976 #define $ac_tr_func 1
15979 else
15980 echo "$ac_t""no" 1>&6
15982 done
15987 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
15988 echo "configure:15989: checking for _logl declaration" >&5
15989 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
15990 echo $ac_n "(cached) $ac_c" 1>&6
15991 else
15994 ac_ext=C
15995 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15996 ac_cpp='$CXXCPP $CPPFLAGS'
15997 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15998 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15999 cross_compiling=$ac_cv_prog_cxx_cross
16001 cat > conftest.$ac_ext <<EOF
16002 #line 16003 "configure"
16003 #include "confdefs.h"
16004 #include <math.h>
16005 int main() {
16006 _logl(0);
16007 ; return 0; }
16009 if { (eval echo configure:16010: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16010 rm -rf conftest*
16011 glibcpp_cv_func__logl_use=yes
16012 else
16013 echo "configure: failed program was:" >&5
16014 cat conftest.$ac_ext >&5
16015 rm -rf conftest*
16016 glibcpp_cv_func__logl_use=no
16018 rm -f conftest*
16019 ac_ext=c
16020 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16021 ac_cpp='$CPP $CPPFLAGS'
16022 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16023 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16024 cross_compiling=$ac_cv_prog_cc_cross
16029 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
16030 if test x$glibcpp_cv_func__logl_use = x"yes"; then
16031 for ac_func in _logl
16033 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16034 echo "configure:16035: checking for $ac_func" >&5
16035 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16036 echo $ac_n "(cached) $ac_c" 1>&6
16037 else
16038 cat > conftest.$ac_ext <<EOF
16039 #line 16040 "configure"
16040 #include "confdefs.h"
16041 /* System header to define __stub macros and hopefully few prototypes,
16042 which can conflict with char $ac_func(); below. */
16043 #include <assert.h>
16044 /* Override any gcc2 internal prototype to avoid an error. */
16045 /* We use char because int might match the return type of a gcc2
16046 builtin and then its argument prototype would still apply. */
16047 char $ac_func();
16049 int main() {
16051 /* The GNU C library defines this for functions which it implements
16052 to always fail with ENOSYS. Some functions are actually named
16053 something starting with __ and the normal name is an alias. */
16054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16055 choke me
16056 #else
16057 $ac_func();
16058 #endif
16060 ; return 0; }
16062 if { (eval echo configure:16063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16063 rm -rf conftest*
16064 eval "ac_cv_func_$ac_func=yes"
16065 else
16066 echo "configure: failed program was:" >&5
16067 cat conftest.$ac_ext >&5
16068 rm -rf conftest*
16069 eval "ac_cv_func_$ac_func=no"
16071 rm -f conftest*
16074 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16075 echo "$ac_t""yes" 1>&6
16076 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16077 cat >> confdefs.h <<EOF
16078 #define $ac_tr_func 1
16081 else
16082 echo "$ac_t""no" 1>&6
16084 done
16089 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
16090 echo "configure:16091: checking for _log10l declaration" >&5
16091 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
16092 echo $ac_n "(cached) $ac_c" 1>&6
16093 else
16096 ac_ext=C
16097 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16098 ac_cpp='$CXXCPP $CPPFLAGS'
16099 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16100 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16101 cross_compiling=$ac_cv_prog_cxx_cross
16103 cat > conftest.$ac_ext <<EOF
16104 #line 16105 "configure"
16105 #include "confdefs.h"
16106 #include <math.h>
16107 int main() {
16108 _log10l(0);
16109 ; return 0; }
16111 if { (eval echo configure:16112: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16112 rm -rf conftest*
16113 glibcpp_cv_func__log10l_use=yes
16114 else
16115 echo "configure: failed program was:" >&5
16116 cat conftest.$ac_ext >&5
16117 rm -rf conftest*
16118 glibcpp_cv_func__log10l_use=no
16120 rm -f conftest*
16121 ac_ext=c
16122 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16123 ac_cpp='$CPP $CPPFLAGS'
16124 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16125 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16126 cross_compiling=$ac_cv_prog_cc_cross
16131 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
16132 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
16133 for ac_func in _log10l
16135 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16136 echo "configure:16137: checking for $ac_func" >&5
16137 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16138 echo $ac_n "(cached) $ac_c" 1>&6
16139 else
16140 cat > conftest.$ac_ext <<EOF
16141 #line 16142 "configure"
16142 #include "confdefs.h"
16143 /* System header to define __stub macros and hopefully few prototypes,
16144 which can conflict with char $ac_func(); below. */
16145 #include <assert.h>
16146 /* Override any gcc2 internal prototype to avoid an error. */
16147 /* We use char because int might match the return type of a gcc2
16148 builtin and then its argument prototype would still apply. */
16149 char $ac_func();
16151 int main() {
16153 /* The GNU C library defines this for functions which it implements
16154 to always fail with ENOSYS. Some functions are actually named
16155 something starting with __ and the normal name is an alias. */
16156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16157 choke me
16158 #else
16159 $ac_func();
16160 #endif
16162 ; return 0; }
16164 if { (eval echo configure:16165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16165 rm -rf conftest*
16166 eval "ac_cv_func_$ac_func=yes"
16167 else
16168 echo "configure: failed program was:" >&5
16169 cat conftest.$ac_ext >&5
16170 rm -rf conftest*
16171 eval "ac_cv_func_$ac_func=no"
16173 rm -f conftest*
16176 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16177 echo "$ac_t""yes" 1>&6
16178 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16179 cat >> confdefs.h <<EOF
16180 #define $ac_tr_func 1
16183 else
16184 echo "$ac_t""no" 1>&6
16186 done
16191 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
16192 echo "configure:16193: checking for _modfl declaration" >&5
16193 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
16194 echo $ac_n "(cached) $ac_c" 1>&6
16195 else
16198 ac_ext=C
16199 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16200 ac_cpp='$CXXCPP $CPPFLAGS'
16201 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16202 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16203 cross_compiling=$ac_cv_prog_cxx_cross
16205 cat > conftest.$ac_ext <<EOF
16206 #line 16207 "configure"
16207 #include "confdefs.h"
16208 #include <math.h>
16209 int main() {
16210 _modfl(0, 0);
16211 ; return 0; }
16213 if { (eval echo configure:16214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16214 rm -rf conftest*
16215 glibcpp_cv_func__modfl_use=yes
16216 else
16217 echo "configure: failed program was:" >&5
16218 cat conftest.$ac_ext >&5
16219 rm -rf conftest*
16220 glibcpp_cv_func__modfl_use=no
16222 rm -f conftest*
16223 ac_ext=c
16224 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16225 ac_cpp='$CPP $CPPFLAGS'
16226 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16227 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16228 cross_compiling=$ac_cv_prog_cc_cross
16233 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
16234 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
16235 for ac_func in _modfl
16237 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16238 echo "configure:16239: checking for $ac_func" >&5
16239 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16240 echo $ac_n "(cached) $ac_c" 1>&6
16241 else
16242 cat > conftest.$ac_ext <<EOF
16243 #line 16244 "configure"
16244 #include "confdefs.h"
16245 /* System header to define __stub macros and hopefully few prototypes,
16246 which can conflict with char $ac_func(); below. */
16247 #include <assert.h>
16248 /* Override any gcc2 internal prototype to avoid an error. */
16249 /* We use char because int might match the return type of a gcc2
16250 builtin and then its argument prototype would still apply. */
16251 char $ac_func();
16253 int main() {
16255 /* The GNU C library defines this for functions which it implements
16256 to always fail with ENOSYS. Some functions are actually named
16257 something starting with __ and the normal name is an alias. */
16258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16259 choke me
16260 #else
16261 $ac_func();
16262 #endif
16264 ; return 0; }
16266 if { (eval echo configure:16267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16267 rm -rf conftest*
16268 eval "ac_cv_func_$ac_func=yes"
16269 else
16270 echo "configure: failed program was:" >&5
16271 cat conftest.$ac_ext >&5
16272 rm -rf conftest*
16273 eval "ac_cv_func_$ac_func=no"
16275 rm -f conftest*
16278 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16279 echo "$ac_t""yes" 1>&6
16280 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16281 cat >> confdefs.h <<EOF
16282 #define $ac_tr_func 1
16285 else
16286 echo "$ac_t""no" 1>&6
16288 done
16293 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
16294 echo "configure:16295: checking for _powl declaration" >&5
16295 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
16296 echo $ac_n "(cached) $ac_c" 1>&6
16297 else
16300 ac_ext=C
16301 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16302 ac_cpp='$CXXCPP $CPPFLAGS'
16303 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16304 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16305 cross_compiling=$ac_cv_prog_cxx_cross
16307 cat > conftest.$ac_ext <<EOF
16308 #line 16309 "configure"
16309 #include "confdefs.h"
16310 #include <math.h>
16311 int main() {
16312 _powl(0, 0);
16313 ; return 0; }
16315 if { (eval echo configure:16316: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16316 rm -rf conftest*
16317 glibcpp_cv_func__powl_use=yes
16318 else
16319 echo "configure: failed program was:" >&5
16320 cat conftest.$ac_ext >&5
16321 rm -rf conftest*
16322 glibcpp_cv_func__powl_use=no
16324 rm -f conftest*
16325 ac_ext=c
16326 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16327 ac_cpp='$CPP $CPPFLAGS'
16328 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16329 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16330 cross_compiling=$ac_cv_prog_cc_cross
16335 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
16336 if test x$glibcpp_cv_func__powl_use = x"yes"; then
16337 for ac_func in _powl
16339 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16340 echo "configure:16341: checking for $ac_func" >&5
16341 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16342 echo $ac_n "(cached) $ac_c" 1>&6
16343 else
16344 cat > conftest.$ac_ext <<EOF
16345 #line 16346 "configure"
16346 #include "confdefs.h"
16347 /* System header to define __stub macros and hopefully few prototypes,
16348 which can conflict with char $ac_func(); below. */
16349 #include <assert.h>
16350 /* Override any gcc2 internal prototype to avoid an error. */
16351 /* We use char because int might match the return type of a gcc2
16352 builtin and then its argument prototype would still apply. */
16353 char $ac_func();
16355 int main() {
16357 /* The GNU C library defines this for functions which it implements
16358 to always fail with ENOSYS. Some functions are actually named
16359 something starting with __ and the normal name is an alias. */
16360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16361 choke me
16362 #else
16363 $ac_func();
16364 #endif
16366 ; return 0; }
16368 if { (eval echo configure:16369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16369 rm -rf conftest*
16370 eval "ac_cv_func_$ac_func=yes"
16371 else
16372 echo "configure: failed program was:" >&5
16373 cat conftest.$ac_ext >&5
16374 rm -rf conftest*
16375 eval "ac_cv_func_$ac_func=no"
16377 rm -f conftest*
16380 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16381 echo "$ac_t""yes" 1>&6
16382 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16383 cat >> confdefs.h <<EOF
16384 #define $ac_tr_func 1
16387 else
16388 echo "$ac_t""no" 1>&6
16390 done
16395 echo $ac_n "checking for _sinl declaration""... $ac_c" 1>&6
16396 echo "configure:16397: checking for _sinl declaration" >&5
16397 if eval "test \"`echo '$''{'glibcpp_cv_func__sinl_use'+set}'`\" = set"; then
16398 echo $ac_n "(cached) $ac_c" 1>&6
16399 else
16402 ac_ext=C
16403 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16404 ac_cpp='$CXXCPP $CPPFLAGS'
16405 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16406 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16407 cross_compiling=$ac_cv_prog_cxx_cross
16409 cat > conftest.$ac_ext <<EOF
16410 #line 16411 "configure"
16411 #include "confdefs.h"
16412 #include <math.h>
16413 int main() {
16414 _sinl(0);
16415 ; return 0; }
16417 if { (eval echo configure:16418: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16418 rm -rf conftest*
16419 glibcpp_cv_func__sinl_use=yes
16420 else
16421 echo "configure: failed program was:" >&5
16422 cat conftest.$ac_ext >&5
16423 rm -rf conftest*
16424 glibcpp_cv_func__sinl_use=no
16426 rm -f conftest*
16427 ac_ext=c
16428 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16429 ac_cpp='$CPP $CPPFLAGS'
16430 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16431 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16432 cross_compiling=$ac_cv_prog_cc_cross
16437 echo "$ac_t""$glibcpp_cv_func__sinl_use" 1>&6
16438 if test x$glibcpp_cv_func__sinl_use = x"yes"; then
16439 for ac_func in _sinl
16441 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16442 echo "configure:16443: checking for $ac_func" >&5
16443 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16444 echo $ac_n "(cached) $ac_c" 1>&6
16445 else
16446 cat > conftest.$ac_ext <<EOF
16447 #line 16448 "configure"
16448 #include "confdefs.h"
16449 /* System header to define __stub macros and hopefully few prototypes,
16450 which can conflict with char $ac_func(); below. */
16451 #include <assert.h>
16452 /* Override any gcc2 internal prototype to avoid an error. */
16453 /* We use char because int might match the return type of a gcc2
16454 builtin and then its argument prototype would still apply. */
16455 char $ac_func();
16457 int main() {
16459 /* The GNU C library defines this for functions which it implements
16460 to always fail with ENOSYS. Some functions are actually named
16461 something starting with __ and the normal name is an alias. */
16462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16463 choke me
16464 #else
16465 $ac_func();
16466 #endif
16468 ; return 0; }
16470 if { (eval echo configure:16471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16471 rm -rf conftest*
16472 eval "ac_cv_func_$ac_func=yes"
16473 else
16474 echo "configure: failed program was:" >&5
16475 cat conftest.$ac_ext >&5
16476 rm -rf conftest*
16477 eval "ac_cv_func_$ac_func=no"
16479 rm -f conftest*
16482 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16483 echo "$ac_t""yes" 1>&6
16484 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16485 cat >> confdefs.h <<EOF
16486 #define $ac_tr_func 1
16489 else
16490 echo "$ac_t""no" 1>&6
16492 done
16497 echo $ac_n "checking for _sinhl declaration""... $ac_c" 1>&6
16498 echo "configure:16499: checking for _sinhl declaration" >&5
16499 if eval "test \"`echo '$''{'glibcpp_cv_func__sinhl_use'+set}'`\" = set"; then
16500 echo $ac_n "(cached) $ac_c" 1>&6
16501 else
16504 ac_ext=C
16505 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16506 ac_cpp='$CXXCPP $CPPFLAGS'
16507 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16508 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16509 cross_compiling=$ac_cv_prog_cxx_cross
16511 cat > conftest.$ac_ext <<EOF
16512 #line 16513 "configure"
16513 #include "confdefs.h"
16514 #include <math.h>
16515 int main() {
16516 _sinhl(0);
16517 ; return 0; }
16519 if { (eval echo configure:16520: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16520 rm -rf conftest*
16521 glibcpp_cv_func__sinhl_use=yes
16522 else
16523 echo "configure: failed program was:" >&5
16524 cat conftest.$ac_ext >&5
16525 rm -rf conftest*
16526 glibcpp_cv_func__sinhl_use=no
16528 rm -f conftest*
16529 ac_ext=c
16530 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16531 ac_cpp='$CPP $CPPFLAGS'
16532 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16533 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16534 cross_compiling=$ac_cv_prog_cc_cross
16539 echo "$ac_t""$glibcpp_cv_func__sinhl_use" 1>&6
16540 if test x$glibcpp_cv_func__sinhl_use = x"yes"; then
16541 for ac_func in _sinhl
16543 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16544 echo "configure:16545: checking for $ac_func" >&5
16545 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16546 echo $ac_n "(cached) $ac_c" 1>&6
16547 else
16548 cat > conftest.$ac_ext <<EOF
16549 #line 16550 "configure"
16550 #include "confdefs.h"
16551 /* System header to define __stub macros and hopefully few prototypes,
16552 which can conflict with char $ac_func(); below. */
16553 #include <assert.h>
16554 /* Override any gcc2 internal prototype to avoid an error. */
16555 /* We use char because int might match the return type of a gcc2
16556 builtin and then its argument prototype would still apply. */
16557 char $ac_func();
16559 int main() {
16561 /* The GNU C library defines this for functions which it implements
16562 to always fail with ENOSYS. Some functions are actually named
16563 something starting with __ and the normal name is an alias. */
16564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16565 choke me
16566 #else
16567 $ac_func();
16568 #endif
16570 ; return 0; }
16572 if { (eval echo configure:16573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16573 rm -rf conftest*
16574 eval "ac_cv_func_$ac_func=yes"
16575 else
16576 echo "configure: failed program was:" >&5
16577 cat conftest.$ac_ext >&5
16578 rm -rf conftest*
16579 eval "ac_cv_func_$ac_func=no"
16581 rm -f conftest*
16584 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16585 echo "$ac_t""yes" 1>&6
16586 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16587 cat >> confdefs.h <<EOF
16588 #define $ac_tr_func 1
16591 else
16592 echo "$ac_t""no" 1>&6
16594 done
16599 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
16600 echo "configure:16601: checking for _sqrtl declaration" >&5
16601 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
16602 echo $ac_n "(cached) $ac_c" 1>&6
16603 else
16606 ac_ext=C
16607 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16608 ac_cpp='$CXXCPP $CPPFLAGS'
16609 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16610 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16611 cross_compiling=$ac_cv_prog_cxx_cross
16613 cat > conftest.$ac_ext <<EOF
16614 #line 16615 "configure"
16615 #include "confdefs.h"
16616 #include <math.h>
16617 int main() {
16618 _sqrtl(0);
16619 ; return 0; }
16621 if { (eval echo configure:16622: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16622 rm -rf conftest*
16623 glibcpp_cv_func__sqrtl_use=yes
16624 else
16625 echo "configure: failed program was:" >&5
16626 cat conftest.$ac_ext >&5
16627 rm -rf conftest*
16628 glibcpp_cv_func__sqrtl_use=no
16630 rm -f conftest*
16631 ac_ext=c
16632 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16633 ac_cpp='$CPP $CPPFLAGS'
16634 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16635 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16636 cross_compiling=$ac_cv_prog_cc_cross
16641 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
16642 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
16643 for ac_func in _sqrtl
16645 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16646 echo "configure:16647: checking for $ac_func" >&5
16647 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16648 echo $ac_n "(cached) $ac_c" 1>&6
16649 else
16650 cat > conftest.$ac_ext <<EOF
16651 #line 16652 "configure"
16652 #include "confdefs.h"
16653 /* System header to define __stub macros and hopefully few prototypes,
16654 which can conflict with char $ac_func(); below. */
16655 #include <assert.h>
16656 /* Override any gcc2 internal prototype to avoid an error. */
16657 /* We use char because int might match the return type of a gcc2
16658 builtin and then its argument prototype would still apply. */
16659 char $ac_func();
16661 int main() {
16663 /* The GNU C library defines this for functions which it implements
16664 to always fail with ENOSYS. Some functions are actually named
16665 something starting with __ and the normal name is an alias. */
16666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16667 choke me
16668 #else
16669 $ac_func();
16670 #endif
16672 ; return 0; }
16674 if { (eval echo configure:16675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16675 rm -rf conftest*
16676 eval "ac_cv_func_$ac_func=yes"
16677 else
16678 echo "configure: failed program was:" >&5
16679 cat conftest.$ac_ext >&5
16680 rm -rf conftest*
16681 eval "ac_cv_func_$ac_func=no"
16683 rm -f conftest*
16686 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16687 echo "$ac_t""yes" 1>&6
16688 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16689 cat >> confdefs.h <<EOF
16690 #define $ac_tr_func 1
16693 else
16694 echo "$ac_t""no" 1>&6
16696 done
16701 echo $ac_n "checking for _tanl declaration""... $ac_c" 1>&6
16702 echo "configure:16703: checking for _tanl declaration" >&5
16703 if eval "test \"`echo '$''{'glibcpp_cv_func__tanl_use'+set}'`\" = set"; then
16704 echo $ac_n "(cached) $ac_c" 1>&6
16705 else
16708 ac_ext=C
16709 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16710 ac_cpp='$CXXCPP $CPPFLAGS'
16711 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16712 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16713 cross_compiling=$ac_cv_prog_cxx_cross
16715 cat > conftest.$ac_ext <<EOF
16716 #line 16717 "configure"
16717 #include "confdefs.h"
16718 #include <math.h>
16719 int main() {
16720 _tanl(0);
16721 ; return 0; }
16723 if { (eval echo configure:16724: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16724 rm -rf conftest*
16725 glibcpp_cv_func__tanl_use=yes
16726 else
16727 echo "configure: failed program was:" >&5
16728 cat conftest.$ac_ext >&5
16729 rm -rf conftest*
16730 glibcpp_cv_func__tanl_use=no
16732 rm -f conftest*
16733 ac_ext=c
16734 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16735 ac_cpp='$CPP $CPPFLAGS'
16736 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16737 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16738 cross_compiling=$ac_cv_prog_cc_cross
16743 echo "$ac_t""$glibcpp_cv_func__tanl_use" 1>&6
16744 if test x$glibcpp_cv_func__tanl_use = x"yes"; then
16745 for ac_func in _tanl
16747 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16748 echo "configure:16749: checking for $ac_func" >&5
16749 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16750 echo $ac_n "(cached) $ac_c" 1>&6
16751 else
16752 cat > conftest.$ac_ext <<EOF
16753 #line 16754 "configure"
16754 #include "confdefs.h"
16755 /* System header to define __stub macros and hopefully few prototypes,
16756 which can conflict with char $ac_func(); below. */
16757 #include <assert.h>
16758 /* Override any gcc2 internal prototype to avoid an error. */
16759 /* We use char because int might match the return type of a gcc2
16760 builtin and then its argument prototype would still apply. */
16761 char $ac_func();
16763 int main() {
16765 /* The GNU C library defines this for functions which it implements
16766 to always fail with ENOSYS. Some functions are actually named
16767 something starting with __ and the normal name is an alias. */
16768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16769 choke me
16770 #else
16771 $ac_func();
16772 #endif
16774 ; return 0; }
16776 if { (eval echo configure:16777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16777 rm -rf conftest*
16778 eval "ac_cv_func_$ac_func=yes"
16779 else
16780 echo "configure: failed program was:" >&5
16781 cat conftest.$ac_ext >&5
16782 rm -rf conftest*
16783 eval "ac_cv_func_$ac_func=no"
16785 rm -f conftest*
16788 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16789 echo "$ac_t""yes" 1>&6
16790 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16791 cat >> confdefs.h <<EOF
16792 #define $ac_tr_func 1
16795 else
16796 echo "$ac_t""no" 1>&6
16798 done
16803 echo $ac_n "checking for _tanhl declaration""... $ac_c" 1>&6
16804 echo "configure:16805: checking for _tanhl declaration" >&5
16805 if eval "test \"`echo '$''{'glibcpp_cv_func__tanhl_use'+set}'`\" = set"; then
16806 echo $ac_n "(cached) $ac_c" 1>&6
16807 else
16810 ac_ext=C
16811 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16812 ac_cpp='$CXXCPP $CPPFLAGS'
16813 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16814 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16815 cross_compiling=$ac_cv_prog_cxx_cross
16817 cat > conftest.$ac_ext <<EOF
16818 #line 16819 "configure"
16819 #include "confdefs.h"
16820 #include <math.h>
16821 int main() {
16822 _tanhl(0);
16823 ; return 0; }
16825 if { (eval echo configure:16826: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16826 rm -rf conftest*
16827 glibcpp_cv_func__tanhl_use=yes
16828 else
16829 echo "configure: failed program was:" >&5
16830 cat conftest.$ac_ext >&5
16831 rm -rf conftest*
16832 glibcpp_cv_func__tanhl_use=no
16834 rm -f conftest*
16835 ac_ext=c
16836 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16837 ac_cpp='$CPP $CPPFLAGS'
16838 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16839 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16840 cross_compiling=$ac_cv_prog_cc_cross
16845 echo "$ac_t""$glibcpp_cv_func__tanhl_use" 1>&6
16846 if test x$glibcpp_cv_func__tanhl_use = x"yes"; then
16847 for ac_func in _tanhl
16849 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16850 echo "configure:16851: checking for $ac_func" >&5
16851 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16852 echo $ac_n "(cached) $ac_c" 1>&6
16853 else
16854 cat > conftest.$ac_ext <<EOF
16855 #line 16856 "configure"
16856 #include "confdefs.h"
16857 /* System header to define __stub macros and hopefully few prototypes,
16858 which can conflict with char $ac_func(); below. */
16859 #include <assert.h>
16860 /* Override any gcc2 internal prototype to avoid an error. */
16861 /* We use char because int might match the return type of a gcc2
16862 builtin and then its argument prototype would still apply. */
16863 char $ac_func();
16865 int main() {
16867 /* The GNU C library defines this for functions which it implements
16868 to always fail with ENOSYS. Some functions are actually named
16869 something starting with __ and the normal name is an alias. */
16870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16871 choke me
16872 #else
16873 $ac_func();
16874 #endif
16876 ; return 0; }
16878 if { (eval echo configure:16879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16879 rm -rf conftest*
16880 eval "ac_cv_func_$ac_func=yes"
16881 else
16882 echo "configure: failed program was:" >&5
16883 cat conftest.$ac_ext >&5
16884 rm -rf conftest*
16885 eval "ac_cv_func_$ac_func=no"
16887 rm -f conftest*
16890 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16891 echo "$ac_t""yes" 1>&6
16892 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16893 cat >> confdefs.h <<EOF
16894 #define $ac_tr_func 1
16897 else
16898 echo "$ac_t""no" 1>&6
16900 done
16905 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
16906 echo "configure:16907: checking for _sincosl declaration" >&5
16907 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
16908 echo $ac_n "(cached) $ac_c" 1>&6
16909 else
16912 ac_ext=C
16913 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16914 ac_cpp='$CXXCPP $CPPFLAGS'
16915 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16916 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16917 cross_compiling=$ac_cv_prog_cxx_cross
16919 cat > conftest.$ac_ext <<EOF
16920 #line 16921 "configure"
16921 #include "confdefs.h"
16922 #include <math.h>
16923 int main() {
16924 _sincosl(0, 0, 0);
16925 ; return 0; }
16927 if { (eval echo configure:16928: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16928 rm -rf conftest*
16929 glibcpp_cv_func__sincosl_use=yes
16930 else
16931 echo "configure: failed program was:" >&5
16932 cat conftest.$ac_ext >&5
16933 rm -rf conftest*
16934 glibcpp_cv_func__sincosl_use=no
16936 rm -f conftest*
16937 ac_ext=c
16938 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16939 ac_cpp='$CPP $CPPFLAGS'
16940 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16941 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16942 cross_compiling=$ac_cv_prog_cc_cross
16947 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
16948 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
16949 for ac_func in _sincosl
16951 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16952 echo "configure:16953: checking for $ac_func" >&5
16953 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16954 echo $ac_n "(cached) $ac_c" 1>&6
16955 else
16956 cat > conftest.$ac_ext <<EOF
16957 #line 16958 "configure"
16958 #include "confdefs.h"
16959 /* System header to define __stub macros and hopefully few prototypes,
16960 which can conflict with char $ac_func(); below. */
16961 #include <assert.h>
16962 /* Override any gcc2 internal prototype to avoid an error. */
16963 /* We use char because int might match the return type of a gcc2
16964 builtin and then its argument prototype would still apply. */
16965 char $ac_func();
16967 int main() {
16969 /* The GNU C library defines this for functions which it implements
16970 to always fail with ENOSYS. Some functions are actually named
16971 something starting with __ and the normal name is an alias. */
16972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16973 choke me
16974 #else
16975 $ac_func();
16976 #endif
16978 ; return 0; }
16980 if { (eval echo configure:16981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16981 rm -rf conftest*
16982 eval "ac_cv_func_$ac_func=yes"
16983 else
16984 echo "configure: failed program was:" >&5
16985 cat conftest.$ac_ext >&5
16986 rm -rf conftest*
16987 eval "ac_cv_func_$ac_func=no"
16989 rm -f conftest*
16992 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16993 echo "$ac_t""yes" 1>&6
16994 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16995 cat >> confdefs.h <<EOF
16996 #define $ac_tr_func 1
16999 else
17000 echo "$ac_t""no" 1>&6
17002 done
17007 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
17008 echo "configure:17009: checking for _finitel declaration" >&5
17009 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
17010 echo $ac_n "(cached) $ac_c" 1>&6
17011 else
17014 ac_ext=C
17015 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17016 ac_cpp='$CXXCPP $CPPFLAGS'
17017 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17018 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17019 cross_compiling=$ac_cv_prog_cxx_cross
17021 cat > conftest.$ac_ext <<EOF
17022 #line 17023 "configure"
17023 #include "confdefs.h"
17024 #include <math.h>
17025 int main() {
17026 _finitel(0);
17027 ; return 0; }
17029 if { (eval echo configure:17030: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17030 rm -rf conftest*
17031 glibcpp_cv_func__finitel_use=yes
17032 else
17033 echo "configure: failed program was:" >&5
17034 cat conftest.$ac_ext >&5
17035 rm -rf conftest*
17036 glibcpp_cv_func__finitel_use=no
17038 rm -f conftest*
17039 ac_ext=c
17040 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17041 ac_cpp='$CPP $CPPFLAGS'
17042 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17043 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17044 cross_compiling=$ac_cv_prog_cc_cross
17049 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
17050 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
17051 for ac_func in _finitel
17053 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17054 echo "configure:17055: checking for $ac_func" >&5
17055 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17056 echo $ac_n "(cached) $ac_c" 1>&6
17057 else
17058 cat > conftest.$ac_ext <<EOF
17059 #line 17060 "configure"
17060 #include "confdefs.h"
17061 /* System header to define __stub macros and hopefully few prototypes,
17062 which can conflict with char $ac_func(); below. */
17063 #include <assert.h>
17064 /* Override any gcc2 internal prototype to avoid an error. */
17065 /* We use char because int might match the return type of a gcc2
17066 builtin and then its argument prototype would still apply. */
17067 char $ac_func();
17069 int main() {
17071 /* The GNU C library defines this for functions which it implements
17072 to always fail with ENOSYS. Some functions are actually named
17073 something starting with __ and the normal name is an alias. */
17074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17075 choke me
17076 #else
17077 $ac_func();
17078 #endif
17080 ; return 0; }
17082 if { (eval echo configure:17083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17083 rm -rf conftest*
17084 eval "ac_cv_func_$ac_func=yes"
17085 else
17086 echo "configure: failed program was:" >&5
17087 cat conftest.$ac_ext >&5
17088 rm -rf conftest*
17089 eval "ac_cv_func_$ac_func=no"
17091 rm -f conftest*
17094 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17095 echo "$ac_t""yes" 1>&6
17096 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17097 cat >> confdefs.h <<EOF
17098 #define $ac_tr_func 1
17101 else
17102 echo "$ac_t""no" 1>&6
17104 done
17109 LIBS="$ac_save_LIBS"
17110 CXXFLAGS="$ac_save_CXXFLAGS"
17113 for ac_hdr in complex.h
17115 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17116 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17117 echo "configure:17118: checking for $ac_hdr" >&5
17118 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17119 echo $ac_n "(cached) $ac_c" 1>&6
17120 else
17121 cat > conftest.$ac_ext <<EOF
17122 #line 17123 "configure"
17123 #include "confdefs.h"
17124 #include <$ac_hdr>
17126 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17127 { (eval echo configure:17128: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17128 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17129 if test -z "$ac_err"; then
17130 rm -rf conftest*
17131 eval "ac_cv_header_$ac_safe=yes"
17132 else
17133 echo "$ac_err" >&5
17134 echo "configure: failed program was:" >&5
17135 cat conftest.$ac_ext >&5
17136 rm -rf conftest*
17137 eval "ac_cv_header_$ac_safe=no"
17139 rm -f conftest*
17141 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17142 echo "$ac_t""yes" 1>&6
17143 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17144 cat >> confdefs.h <<EOF
17145 #define $ac_tr_hdr 1
17148 else
17149 echo "$ac_t""no" 1>&6
17151 done
17153 for ac_func in ccos ccosf ccosh ccoshf cexp cexpf c_log c_logf \
17154 clog10 clog10f cpow cpowf csin csinf csinh csinhf csqrt csqrtf \
17155 ctan ctanf ctanh ctanhf carg cargf nan hypot hypotf atan2f expf copysignf
17157 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17158 echo "configure:17159: checking for $ac_func" >&5
17159 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17160 echo $ac_n "(cached) $ac_c" 1>&6
17161 else
17162 cat > conftest.$ac_ext <<EOF
17163 #line 17164 "configure"
17164 #include "confdefs.h"
17165 /* System header to define __stub macros and hopefully few prototypes,
17166 which can conflict with char $ac_func(); below. */
17167 #include <assert.h>
17168 /* Override any gcc2 internal prototype to avoid an error. */
17169 /* We use char because int might match the return type of a gcc2
17170 builtin and then its argument prototype would still apply. */
17171 char $ac_func();
17173 int main() {
17175 /* The GNU C library defines this for functions which it implements
17176 to always fail with ENOSYS. Some functions are actually named
17177 something starting with __ and the normal name is an alias. */
17178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17179 choke me
17180 #else
17181 $ac_func();
17182 #endif
17184 ; return 0; }
17186 if { (eval echo configure:17187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17187 rm -rf conftest*
17188 eval "ac_cv_func_$ac_func=yes"
17189 else
17190 echo "configure: failed program was:" >&5
17191 cat conftest.$ac_ext >&5
17192 rm -rf conftest*
17193 eval "ac_cv_func_$ac_func=no"
17195 rm -f conftest*
17198 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17199 echo "$ac_t""yes" 1>&6
17200 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17201 cat >> confdefs.h <<EOF
17202 #define $ac_tr_func 1
17205 else
17206 echo "$ac_t""no" 1>&6
17207 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
17209 done
17213 USE_COMPLEX_LONG_DOUBLE=no
17214 if test x$ac_cv_func_atan2l = x"yes" \
17215 && test x$ac_cv_func_copysignl = x"yes"; then
17216 USE_COMPLEX_LONG_DOUBLE=yes
17217 for ac_func in ccoshl ccosl cexpl cpowl csinhl csinl \
17218 csqrtl ctanhl ctanl cargl hypotl signbitl c_logl clog10l
17220 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17221 echo "configure:17222: checking for $ac_func" >&5
17222 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17223 echo $ac_n "(cached) $ac_c" 1>&6
17224 else
17225 cat > conftest.$ac_ext <<EOF
17226 #line 17227 "configure"
17227 #include "confdefs.h"
17228 /* System header to define __stub macros and hopefully few prototypes,
17229 which can conflict with char $ac_func(); below. */
17230 #include <assert.h>
17231 /* Override any gcc2 internal prototype to avoid an error. */
17232 /* We use char because int might match the return type of a gcc2
17233 builtin and then its argument prototype would still apply. */
17234 char $ac_func();
17236 int main() {
17238 /* The GNU C library defines this for functions which it implements
17239 to always fail with ENOSYS. Some functions are actually named
17240 something starting with __ and the normal name is an alias. */
17241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17242 choke me
17243 #else
17244 $ac_func();
17245 #endif
17247 ; return 0; }
17249 if { (eval echo configure:17250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17250 rm -rf conftest*
17251 eval "ac_cv_func_$ac_func=yes"
17252 else
17253 echo "configure: failed program was:" >&5
17254 cat conftest.$ac_ext >&5
17255 rm -rf conftest*
17256 eval "ac_cv_func_$ac_func=no"
17258 rm -f conftest*
17261 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17262 echo "$ac_t""yes" 1>&6
17263 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17264 cat >> confdefs.h <<EOF
17265 #define $ac_tr_func 1
17268 else
17269 echo "$ac_t""no" 1>&6
17270 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
17272 done
17282 echo $ac_n "checking for GNU C++ __complex__ support""... $ac_c" 1>&6
17283 echo "configure:17284: checking for GNU C++ __complex__ support" >&5
17284 if eval "test \"`echo '$''{'glibcpp_cv_complex'+set}'`\" = set"; then
17285 echo $ac_n "(cached) $ac_c" 1>&6
17286 else
17289 ac_ext=C
17290 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17291 ac_cpp='$CXXCPP $CPPFLAGS'
17292 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17293 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17294 cross_compiling=$ac_cv_prog_cxx_cross
17296 cat > conftest.$ac_ext <<EOF
17297 #line 17298 "configure"
17298 #include "confdefs.h"
17299 struct dcomplex { __complex__ double x; }; \
17300 dcomplex f(const dcomplex& x) { return dcomplex(x); }
17301 int main() {
17303 dcomplex x; f(x);
17304 ; return 0; }
17306 if { (eval echo configure:17307: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17307 rm -rf conftest*
17308 glibcpp_cv_complex=ok
17309 else
17310 echo "configure: failed program was:" >&5
17311 cat conftest.$ac_ext >&5
17312 rm -rf conftest*
17313 glibcpp_cv_complex=buggy
17316 rm -f conftest*
17317 ac_ext=c
17318 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17319 ac_cpp='$CPP $CPPFLAGS'
17320 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17321 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17322 cross_compiling=$ac_cv_prog_cc_cross
17327 echo "$ac_t""$glibcpp_cv_complex" 1>&6
17328 if test $glibcpp_cv_complex = buggy; then
17329 cat >> confdefs.h <<\EOF
17330 #define _GLIBCPP_BUGGY_COMPLEX 1
17335 echo $ac_n "checking for GNU C++ __complex__ float support""... $ac_c" 1>&6
17336 echo "configure:17337: checking for GNU C++ __complex__ float support" >&5
17337 if eval "test \"`echo '$''{'glibcpp_cv_float_complex'+set}'`\" = set"; then
17338 echo $ac_n "(cached) $ac_c" 1>&6
17339 else
17342 ac_ext=C
17343 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17344 ac_cpp='$CXXCPP $CPPFLAGS'
17345 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17346 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17347 cross_compiling=$ac_cv_prog_cxx_cross
17349 rm -f conftest.h
17350 cat > conftest.h <<EOB
17352 // Check for buggy __complex__ that causes ICE in most versions of egcs
17353 // and gcc-2.95.x on certain platforms (eg., x86-win32).
17355 // See http://egcs.cygnus.com/ml/gcc-bugs/1999-07/msg00845.html for
17356 // more info on the bug itself.
17358 struct
17359 float_complex
17361 __complex__ float m_value;
17362 float_complex (float = 0.0f, float = 0.0f);
17363 float_complex (__complex__ float val) : m_value (val) {}
17364 float_complex foo (const float_complex &val)
17365 { return float_complex (~val.m_value); }
17368 cat > conftest.$ac_ext <<EOF
17369 #line 17370 "configure"
17370 #include "confdefs.h"
17371 #include "conftest.h"
17372 int main() {
17374 ; return 0; }
17376 if { (eval echo configure:17377: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17377 rm -rf conftest*
17378 glibcpp_cv_float_complex=ok
17379 else
17380 echo "configure: failed program was:" >&5
17381 cat conftest.$ac_ext >&5
17382 rm -rf conftest*
17383 glibcpp_cv_float_complex=buggy
17386 rm -f conftest*
17387 ac_ext=c
17388 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17389 ac_cpp='$CPP $CPPFLAGS'
17390 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17391 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17392 cross_compiling=$ac_cv_prog_cc_cross
17397 echo "$ac_t""$glibcpp_cv_float_complex" 1>&6
17398 if test $glibcpp_cv_float_complex = buggy; then
17399 cat >> confdefs.h <<\EOF
17400 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
17405 cat > confcache <<\EOF
17406 # This file is a shell script that caches the results of configure
17407 # tests run on this system so they can be shared between configure
17408 # scripts and configure runs. It is not useful on other systems.
17409 # If it contains results you don't want to keep, you may remove or edit it.
17411 # By default, configure uses ./config.cache as the cache file,
17412 # creating it if it does not exist already. You can give configure
17413 # the --cache-file=FILE option to use a different cache file; that is
17414 # what configure does when it calls configure scripts in
17415 # subdirectories, so they share the cache.
17416 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17417 # config.status only pays attention to the cache file if you give it the
17418 # --recheck option to rerun configure.
17421 # The following way of writing the cache mishandles newlines in values,
17422 # but we know of no workaround that is simple, portable, and efficient.
17423 # So, don't put newlines in cache variables' values.
17424 # Ultrix sh set writes to stderr and can't be redirected directly,
17425 # and sets the high bit in the cache file unless we assign to the vars.
17426 (set) 2>&1 |
17427 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17428 *ac_space=\ *)
17429 # `set' does not quote correctly, so add quotes (double-quote substitution
17430 # turns \\\\ into \\, and sed turns \\ into \).
17431 sed -n \
17432 -e "s/'/'\\\\''/g" \
17433 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17436 # `set' quotes correctly as required by POSIX, so do not add quotes.
17437 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17439 esac >> confcache
17440 if cmp -s $cache_file confcache; then
17442 else
17443 if test -w $cache_file; then
17444 echo "updating cache $cache_file"
17445 cat confcache > $cache_file
17446 else
17447 echo "not updating unwritable cache $cache_file"
17450 rm -f confcache
17454 ac_safe=`echo "wchar.h" | sed 'y%./+-%__p_%'`
17455 echo $ac_n "checking for wchar.h""... $ac_c" 1>&6
17456 echo "configure:17457: checking for wchar.h" >&5
17457 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17458 echo $ac_n "(cached) $ac_c" 1>&6
17459 else
17460 cat > conftest.$ac_ext <<EOF
17461 #line 17462 "configure"
17462 #include "confdefs.h"
17463 #include <wchar.h>
17465 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17466 { (eval echo configure:17467: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17467 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17468 if test -z "$ac_err"; then
17469 rm -rf conftest*
17470 eval "ac_cv_header_$ac_safe=yes"
17471 else
17472 echo "$ac_err" >&5
17473 echo "configure: failed program was:" >&5
17474 cat conftest.$ac_ext >&5
17475 rm -rf conftest*
17476 eval "ac_cv_header_$ac_safe=no"
17478 rm -f conftest*
17480 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17481 echo "$ac_t""yes" 1>&6
17482 ac_has_wchar_h=yes
17483 else
17484 echo "$ac_t""no" 1>&6
17485 ac_has_wchar_h=no
17488 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
17489 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
17490 echo "configure:17491: checking for wctype.h" >&5
17491 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17492 echo $ac_n "(cached) $ac_c" 1>&6
17493 else
17494 cat > conftest.$ac_ext <<EOF
17495 #line 17496 "configure"
17496 #include "confdefs.h"
17497 #include <wctype.h>
17499 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17500 { (eval echo configure:17501: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17501 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17502 if test -z "$ac_err"; then
17503 rm -rf conftest*
17504 eval "ac_cv_header_$ac_safe=yes"
17505 else
17506 echo "$ac_err" >&5
17507 echo "configure: failed program was:" >&5
17508 cat conftest.$ac_ext >&5
17509 rm -rf conftest*
17510 eval "ac_cv_header_$ac_safe=no"
17512 rm -f conftest*
17514 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17515 echo "$ac_t""yes" 1>&6
17516 ac_has_wctype_h=yes
17517 else
17518 echo "$ac_t""no" 1>&6
17519 ac_has_wctype_h=no
17523 if test x"$ac_has_wchar_h" = xyes && test x"$ac_has_wctype_h" = xyes; then
17525 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
17526 echo "configure:17527: checking for mbstate_t" >&5
17527 cat > conftest.$ac_ext <<EOF
17528 #line 17529 "configure"
17529 #include "confdefs.h"
17530 #include <wchar.h>
17531 int main() {
17532 mbstate_t teststate;
17533 ; return 0; }
17535 if { (eval echo configure:17536: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17536 rm -rf conftest*
17537 use_native_mbstatet=yes
17538 else
17539 echo "configure: failed program was:" >&5
17540 cat conftest.$ac_ext >&5
17541 rm -rf conftest*
17542 use_native_mbstatet=no
17544 rm -f conftest*
17545 echo "$ac_t""$use_native_mbstatet" 1>&6
17546 if test x"$use_native_mbstatet" = xno; then
17547 cat >> confdefs.h <<\EOF
17548 #define _GLIBCPP_NEED_MBSTATE_T 1
17553 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
17554 echo "configure:17555: checking for WCHAR_MIN and WCHAR_MAX" >&5
17555 cat > conftest.$ac_ext <<EOF
17556 #line 17557 "configure"
17557 #include "confdefs.h"
17558 #include <wchar.h>
17559 int main() {
17560 int i = WCHAR_MIN; int j = WCHAR_MAX;
17561 ; return 0; }
17563 if { (eval echo configure:17564: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17564 rm -rf conftest*
17565 has_wchar_minmax=yes
17566 else
17567 echo "configure: failed program was:" >&5
17568 cat conftest.$ac_ext >&5
17569 rm -rf conftest*
17570 has_wchar_minmax=no
17572 rm -f conftest*
17573 echo "$ac_t""$has_wchar_minmax" 1>&6
17575 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
17576 echo "configure:17577: checking for WEOF" >&5
17577 cat > conftest.$ac_ext <<EOF
17578 #line 17579 "configure"
17579 #include "confdefs.h"
17581 #include <wchar.h>
17582 #include <stddef.h>
17583 int main() {
17584 wint_t i = WEOF;
17585 ; return 0; }
17587 if { (eval echo configure:17588: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17588 rm -rf conftest*
17589 has_weof=yes
17590 else
17591 echo "configure: failed program was:" >&5
17592 cat conftest.$ac_ext >&5
17593 rm -rf conftest*
17594 has_weof=no
17596 rm -f conftest*
17597 echo "$ac_t""$has_weof" 1>&6
17599 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset \
17600 wcsrtombs mbsrtowcs
17602 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17603 echo "configure:17604: checking for $ac_func" >&5
17604 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17605 echo $ac_n "(cached) $ac_c" 1>&6
17606 else
17607 cat > conftest.$ac_ext <<EOF
17608 #line 17609 "configure"
17609 #include "confdefs.h"
17610 /* System header to define __stub macros and hopefully few prototypes,
17611 which can conflict with char $ac_func(); below. */
17612 #include <assert.h>
17613 /* Override any gcc2 internal prototype to avoid an error. */
17614 /* We use char because int might match the return type of a gcc2
17615 builtin and then its argument prototype would still apply. */
17616 char $ac_func();
17618 int main() {
17620 /* The GNU C library defines this for functions which it implements
17621 to always fail with ENOSYS. Some functions are actually named
17622 something starting with __ and the normal name is an alias. */
17623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17624 choke me
17625 #else
17626 $ac_func();
17627 #endif
17629 ; return 0; }
17631 if { (eval echo configure:17632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17632 rm -rf conftest*
17633 eval "ac_cv_func_$ac_func=yes"
17634 else
17635 echo "configure: failed program was:" >&5
17636 cat conftest.$ac_ext >&5
17637 rm -rf conftest*
17638 eval "ac_cv_func_$ac_func=no"
17640 rm -f conftest*
17643 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17644 echo "$ac_t""yes" 1>&6
17645 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17646 cat >> confdefs.h <<EOF
17647 #define $ac_tr_func 1
17649 ac_wfuncs=yes
17650 else
17651 echo "$ac_t""no" 1>&6
17652 ac_wfuncs=no
17654 done
17657 echo $ac_n "checking for ISO C9X wchar_t support""... $ac_c" 1>&6
17658 echo "configure:17659: checking for ISO C9X wchar_t support" >&5
17659 if test x"$has_weof" = xyes && test x"$has_wchar_minmax" = xyes \
17660 && test x"$ac_wfuncs" = xyes; then
17661 ac_isoC9X_wchar_t=yes
17662 else
17663 ac_isoC9X_wchar_t=no
17665 echo "$ac_t""$ac_isoC9X_wchar_t" 1>&6
17667 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
17668 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
17669 echo "configure:17670: checking for iconv.h" >&5
17670 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17671 echo $ac_n "(cached) $ac_c" 1>&6
17672 else
17673 cat > conftest.$ac_ext <<EOF
17674 #line 17675 "configure"
17675 #include "confdefs.h"
17676 #include <iconv.h>
17678 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17679 { (eval echo configure:17680: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17680 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17681 if test -z "$ac_err"; then
17682 rm -rf conftest*
17683 eval "ac_cv_header_$ac_safe=yes"
17684 else
17685 echo "$ac_err" >&5
17686 echo "configure: failed program was:" >&5
17687 cat conftest.$ac_ext >&5
17688 rm -rf conftest*
17689 eval "ac_cv_header_$ac_safe=no"
17691 rm -f conftest*
17693 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17694 echo "$ac_t""yes" 1>&6
17695 ac_has_iconv_h=yes
17696 else
17697 echo "$ac_t""no" 1>&6
17698 ac_has_iconv_h=no
17701 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
17702 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
17703 echo "configure:17704: checking for langinfo.h" >&5
17704 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17705 echo $ac_n "(cached) $ac_c" 1>&6
17706 else
17707 cat > conftest.$ac_ext <<EOF
17708 #line 17709 "configure"
17709 #include "confdefs.h"
17710 #include <langinfo.h>
17712 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17713 { (eval echo configure:17714: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17714 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17715 if test -z "$ac_err"; then
17716 rm -rf conftest*
17717 eval "ac_cv_header_$ac_safe=yes"
17718 else
17719 echo "$ac_err" >&5
17720 echo "configure: failed program was:" >&5
17721 cat conftest.$ac_ext >&5
17722 rm -rf conftest*
17723 eval "ac_cv_header_$ac_safe=no"
17725 rm -f conftest*
17727 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17728 echo "$ac_t""yes" 1>&6
17729 ac_has_langinfo_h=yes
17730 else
17731 echo "$ac_t""no" 1>&6
17732 ac_has_langinfo_h=no
17735 for ac_func in iconv_open iconv_close iconv nl_langinfo
17737 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17738 echo "configure:17739: checking for $ac_func" >&5
17739 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17740 echo $ac_n "(cached) $ac_c" 1>&6
17741 else
17742 cat > conftest.$ac_ext <<EOF
17743 #line 17744 "configure"
17744 #include "confdefs.h"
17745 /* System header to define __stub macros and hopefully few prototypes,
17746 which can conflict with char $ac_func(); below. */
17747 #include <assert.h>
17748 /* Override any gcc2 internal prototype to avoid an error. */
17749 /* We use char because int might match the return type of a gcc2
17750 builtin and then its argument prototype would still apply. */
17751 char $ac_func();
17753 int main() {
17755 /* The GNU C library defines this for functions which it implements
17756 to always fail with ENOSYS. Some functions are actually named
17757 something starting with __ and the normal name is an alias. */
17758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17759 choke me
17760 #else
17761 $ac_func();
17762 #endif
17764 ; return 0; }
17766 if { (eval echo configure:17767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17767 rm -rf conftest*
17768 eval "ac_cv_func_$ac_func=yes"
17769 else
17770 echo "configure: failed program was:" >&5
17771 cat conftest.$ac_ext >&5
17772 rm -rf conftest*
17773 eval "ac_cv_func_$ac_func=no"
17775 rm -f conftest*
17778 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17779 echo "$ac_t""yes" 1>&6
17780 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17781 cat >> confdefs.h <<EOF
17782 #define $ac_tr_func 1
17785 ac_XPG2funcs=yes
17786 else
17787 echo "$ac_t""no" 1>&6
17788 ac_XPG2funcs=no
17790 done
17793 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
17794 echo "configure:17795: checking for XPG2 wchar_t support" >&5
17795 if test x"$ac_has_iconv_h" = xyes && test x"$ac_has_langinfo_h" = xyes \
17796 && test x"$ac_XPG2funcs" = xyes; then
17797 ac_XPG2_wchar_t=yes
17798 else
17799 ac_XPG2_wchar_t=no
17801 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
17803 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
17804 echo "configure:17805: checking for enabled wchar_t specializations" >&5
17805 if test x"$ac_isoC9X_wchar_t" = xyes \
17806 && test x"$ac_XPG2_wchar_t" = xyes; then
17807 libinst_wstring_la="libinst-wstring.la"
17808 cat >> confdefs.h <<\EOF
17809 #define _GLIBCPP_USE_WCHAR_T 1
17812 echo "$ac_t"""yes"" 1>&6
17813 else
17814 libinst_wstring_la=""
17815 echo "$ac_t"""no"" 1>&6
17819 else
17820 echo "configure: warning: <wchar.h> not found" 1>&2
17821 cat >> confdefs.h <<\EOF
17822 #define _GLIBCPP_NEED_MBSTATE_T 1
17828 ac_safe=`echo "ctype.h" | sed 'y%./+-%__p_%'`
17829 echo $ac_n "checking for ctype.h""... $ac_c" 1>&6
17830 echo "configure:17831: checking for ctype.h" >&5
17831 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17832 echo $ac_n "(cached) $ac_c" 1>&6
17833 else
17834 cat > conftest.$ac_ext <<EOF
17835 #line 17836 "configure"
17836 #include "confdefs.h"
17837 #include <ctype.h>
17839 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17840 { (eval echo configure:17841: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17841 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17842 if test -z "$ac_err"; then
17843 rm -rf conftest*
17844 eval "ac_cv_header_$ac_safe=yes"
17845 else
17846 echo "$ac_err" >&5
17847 echo "configure: failed program was:" >&5
17848 cat conftest.$ac_ext >&5
17849 rm -rf conftest*
17850 eval "ac_cv_header_$ac_safe=no"
17852 rm -f conftest*
17854 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17855 echo "$ac_t""yes" 1>&6
17858 ctype_default=yes
17860 echo $ac_n "checking <ctype> for gnu-linux ""... $ac_c" 1>&6
17861 echo "configure:17862: checking <ctype> for gnu-linux " >&5
17862 cat > conftest.$ac_ext <<EOF
17863 #line 17864 "configure"
17864 #include "confdefs.h"
17865 #include <ctype.h>
17866 int main() {
17868 foo (int a)
17869 { return _ISspace + _ISprint + _IScntrl + _ISupper + _ISlower + _ISalpha \
17870 + _ISdigit + _ISpunct + _ISxdigit + _ISalnum + _ISgraph \
17871 + __ctype_tolower[a] + __ctype_toupper[a] + __ctype_b[a];}
17872 ; return 0; }
17874 if { (eval echo configure:17875: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17875 rm -rf conftest*
17877 ctype_linux=yes
17878 else
17879 echo "configure: failed program was:" >&5
17880 cat conftest.$ac_ext >&5
17881 rm -rf conftest*
17882 ctype_linux=no
17884 rm -f conftest*
17885 echo "$ac_t""$ctype_linux" 1>&6
17886 if test $ctype_linux = "yes"; then
17887 ctype_include_dir="config/gnu-linux"
17888 ctype_default=no
17891 if test $ctype_default = "yes"; then
17892 echo $ac_n "checking <ctype> for freebsd 4.0 ""... $ac_c" 1>&6
17893 echo "configure:17894: checking <ctype> for freebsd 4.0 " >&5
17894 cat > conftest.$ac_ext <<EOF
17895 #line 17896 "configure"
17896 #include "confdefs.h"
17897 #include <ctype.h>
17898 int main() {
17900 foo (int a)
17901 { return _CTYPE_S + _CTYPE_R + _CTYPE_C + _CTYPE_U + _CTYPE_L + _CTYPE_A \
17902 + _CTYPE_D + _CTYPE_P + _CTYPE_X + _CTYPE_G ;}
17903 ; return 0; }
17905 if { (eval echo configure:17906: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17906 rm -rf conftest*
17908 ctype_bsd=yes
17909 else
17910 echo "configure: failed program was:" >&5
17911 cat conftest.$ac_ext >&5
17912 rm -rf conftest*
17913 ctype_bsd=no
17915 rm -f conftest*
17916 echo "$ac_t""$ctype_bsd" 1>&6
17917 if test $ctype_bsd = "yes"; then
17918 ctype_include_dir="config/bsd"
17919 ctype_default=no
17923 if test $ctype_default = "yes"; then
17924 echo $ac_n "checking <ctype> for freebsd 3.4 ""... $ac_c" 1>&6
17925 echo "configure:17926: checking <ctype> for freebsd 3.4 " >&5
17926 cat > conftest.$ac_ext <<EOF
17927 #line 17928 "configure"
17928 #include "confdefs.h"
17929 #include <ctype.h>
17930 int main() {
17932 foo (int a)
17933 { return _S + _R + _C + _U + _L + _A \
17934 + _D + _P + _X + _G + __istype (a, 0);}
17935 ; return 0; }
17937 if { (eval echo configure:17938: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17938 rm -rf conftest*
17940 ctype_freebsd34=yes
17941 else
17942 echo "configure: failed program was:" >&5
17943 cat conftest.$ac_ext >&5
17944 rm -rf conftest*
17945 ctype_freebsd34=no
17947 rm -f conftest*
17948 echo "$ac_t""$ctype_freebsd34" 1>&6
17949 if test $ctype_freebsd34 = "yes"; then
17950 ctype_include_dir="config/bsd"
17951 ctype_default=no
17955 if test $ctype_default = "yes"; then
17956 echo $ac_n "checking <ctype> for solaris 2.6,7,8 ""... $ac_c" 1>&6
17957 echo "configure:17958: checking <ctype> for solaris 2.6,7,8 " >&5
17958 cat > conftest.$ac_ext <<EOF
17959 #line 17960 "configure"
17960 #include "confdefs.h"
17961 #include <ctype.h>
17962 int main() {
17964 foo (int a)
17965 { return _ISSPACE + _ISPRINT + _ISCNTRL + _ISUPPER + _ISLOWER + _ISALPHA \
17966 + _ISDIGIT + _ISPUNCT + _ISXDIGIT + _ISALNUM + _ISGRAPH \
17967 + __trans_lower[a] + __trans_upper[a] + __ctype_mask[a];}
17968 ; return 0; }
17970 if { (eval echo configure:17971: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17971 rm -rf conftest*
17973 ctype_solaris=yes
17974 else
17975 echo "configure: failed program was:" >&5
17976 cat conftest.$ac_ext >&5
17977 rm -rf conftest*
17978 ctype_solaris=no
17980 rm -f conftest*
17981 echo "$ac_t""$ctype_solaris" 1>&6
17983 if test $ctype_solaris = "yes"; then
17984 echo $ac_n "checking for version""... $ac_c" 1>&6
17985 echo "configure:17986: checking for version" >&5
17986 ac_ext=C
17987 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17988 ac_cpp='$CXXCPP $CPPFLAGS'
17989 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17990 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17991 cross_compiling=$ac_cv_prog_cxx_cross
17993 cat > conftest.$ac_ext <<EOF
17994 #line 17995 "configure"
17995 #include "confdefs.h"
17996 #include <ctype.h>
17997 int main() {
17998 typedef long* __to_type; __to_type const& _M_toupper = __trans_upper;
17999 ; return 0; }
18001 if { (eval echo configure:18002: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18002 rm -rf conftest*
18004 ctype_solaris26=yes
18005 else
18006 echo "configure: failed program was:" >&5
18007 cat conftest.$ac_ext >&5
18008 rm -rf conftest*
18009 ctype_solaris26=no
18011 rm -f conftest*
18012 ac_ext=c
18013 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18014 ac_cpp='$CPP $CPPFLAGS'
18015 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18016 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18017 cross_compiling=$ac_cv_prog_cc_cross
18019 if test $ctype_solaris26 = "yes"; then
18020 ctype_include_dir="config/solaris/solaris2.6"
18021 echo "$ac_t"""solaris2.6"" 1>&6
18022 ctype_default=no
18023 else
18024 ctype_include_dir="config/solaris/solaris2.7"
18025 echo "$ac_t"""solaris2.7,8"" 1>&6
18026 ctype_default=no
18031 if test $ctype_default = "yes"; then
18032 echo $ac_n "checking <ctype> for solaris 2.5.1 ""... $ac_c" 1>&6
18033 echo "configure:18034: checking <ctype> for solaris 2.5.1 " >&5
18034 cat > conftest.$ac_ext <<EOF
18035 #line 18036 "configure"
18036 #include "confdefs.h"
18037 #include <ctype.h>
18038 int main() {
18040 foo (int a)
18041 { return _U + _L + _N + _S + _P + _C + _X + _B \
18042 + __ctype[a];}
18043 ; return 0; }
18045 if { (eval echo configure:18046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18046 rm -rf conftest*
18048 ctype_solaris25=yes
18049 else
18050 echo "configure: failed program was:" >&5
18051 cat conftest.$ac_ext >&5
18052 rm -rf conftest*
18053 ctype_solaris25=no
18055 rm -f conftest*
18056 echo "$ac_t""$ctype_solaris25" 1>&6
18057 if test $ctype_solaris25 = "yes"; then
18058 ctype_include_dir="config/solaris/solaris2.5"
18059 ctype_default=no
18063 if test $ctype_default = "yes"; then
18064 echo $ac_n "checking <ctype> for aix ""... $ac_c" 1>&6
18065 echo "configure:18066: checking <ctype> for aix " >&5
18066 cat > conftest.$ac_ext <<EOF
18067 #line 18068 "configure"
18068 #include "confdefs.h"
18069 #include <ctype.h>
18070 int main() {
18072 foo (int a)
18073 { return _ISSPACE + _ISPRINT + _ISCNTRL + _ISUPPER + _ISLOWER + _ISALPHA \
18074 + _ISDIGIT + _ISPUNCT + _ISXDIGIT + _ISALNUM + _ISGRAPH \
18075 + _VALC('a') + _IS('c', 0);}
18076 ; return 0; }
18078 if { (eval echo configure:18079: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18079 rm -rf conftest*
18081 ctype_aix=yes
18082 else
18083 echo "configure: failed program was:" >&5
18084 cat conftest.$ac_ext >&5
18085 rm -rf conftest*
18086 ctype_aix=no
18088 rm -f conftest*
18089 echo "$ac_t""$ctype_aix" 1>&6
18090 if test $ctype_aix = "yes"; then
18091 ctype_include_dir="config/aix"
18092 ctype_default=no
18096 if test $ctype_default = "yes"; then
18097 echo $ac_n "checking <ctype> for newlib ""... $ac_c" 1>&6
18098 echo "configure:18099: checking <ctype> for newlib " >&5
18099 cat > conftest.$ac_ext <<EOF
18100 #line 18101 "configure"
18101 #include "confdefs.h"
18102 #include <ctype.h>
18103 int main() {
18105 foo (int a)
18106 { return _U + _L + _N + _S + _P + _C + _X + _B \
18107 + _ctype_[a];}
18108 ; return 0; }
18110 if { (eval echo configure:18111: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18111 rm -rf conftest*
18113 ctype_newlib=yes
18114 else
18115 echo "configure: failed program was:" >&5
18116 cat conftest.$ac_ext >&5
18117 rm -rf conftest*
18118 ctype_newlib=no
18120 rm -f conftest*
18121 echo "$ac_t""$ctype_newlib" 1>&6
18122 if test $ctype_newlib = "yes"; then
18123 ctype_include_dir="config/newlib"
18124 ctype_default=no
18128 if test $ctype_default = "yes"; then
18129 ctype_include_dir="config/generic"
18130 echo "configure: warning: "Using default ctype headers."" 1>&2
18134 else
18135 echo "$ac_t""no" 1>&6
18140 for ac_hdr in unistd.h
18142 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18143 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18144 echo "configure:18145: checking for $ac_hdr" >&5
18145 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18146 echo $ac_n "(cached) $ac_c" 1>&6
18147 else
18148 cat > conftest.$ac_ext <<EOF
18149 #line 18150 "configure"
18150 #include "confdefs.h"
18151 #include <$ac_hdr>
18153 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18154 { (eval echo configure:18155: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18155 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18156 if test -z "$ac_err"; then
18157 rm -rf conftest*
18158 eval "ac_cv_header_$ac_safe=yes"
18159 else
18160 echo "$ac_err" >&5
18161 echo "configure: failed program was:" >&5
18162 cat conftest.$ac_ext >&5
18163 rm -rf conftest*
18164 eval "ac_cv_header_$ac_safe=no"
18166 rm -f conftest*
18168 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18169 echo "$ac_t""yes" 1>&6
18170 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18171 cat >> confdefs.h <<EOF
18172 #define $ac_tr_hdr 1
18175 else
18176 echo "$ac_t""no" 1>&6
18178 done
18180 for ac_func in getpagesize
18182 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18183 echo "configure:18184: checking for $ac_func" >&5
18184 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18185 echo $ac_n "(cached) $ac_c" 1>&6
18186 else
18187 cat > conftest.$ac_ext <<EOF
18188 #line 18189 "configure"
18189 #include "confdefs.h"
18190 /* System header to define __stub macros and hopefully few prototypes,
18191 which can conflict with char $ac_func(); below. */
18192 #include <assert.h>
18193 /* Override any gcc2 internal prototype to avoid an error. */
18194 /* We use char because int might match the return type of a gcc2
18195 builtin and then its argument prototype would still apply. */
18196 char $ac_func();
18198 int main() {
18200 /* The GNU C library defines this for functions which it implements
18201 to always fail with ENOSYS. Some functions are actually named
18202 something starting with __ and the normal name is an alias. */
18203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18204 choke me
18205 #else
18206 $ac_func();
18207 #endif
18209 ; return 0; }
18211 if { (eval echo configure:18212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18212 rm -rf conftest*
18213 eval "ac_cv_func_$ac_func=yes"
18214 else
18215 echo "configure: failed program was:" >&5
18216 cat conftest.$ac_ext >&5
18217 rm -rf conftest*
18218 eval "ac_cv_func_$ac_func=no"
18220 rm -f conftest*
18223 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18224 echo "$ac_t""yes" 1>&6
18225 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18226 cat >> confdefs.h <<EOF
18227 #define $ac_tr_func 1
18230 else
18231 echo "$ac_t""no" 1>&6
18233 done
18235 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
18236 echo "configure:18237: checking for working mmap" >&5
18237 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
18238 echo $ac_n "(cached) $ac_c" 1>&6
18239 else
18240 if test "$cross_compiling" = yes; then
18241 ac_cv_func_mmap_fixed_mapped=no
18242 else
18243 cat > conftest.$ac_ext <<EOF
18244 #line 18245 "configure"
18245 #include "confdefs.h"
18247 /* Thanks to Mike Haertel and Jim Avera for this test.
18248 Here is a matrix of mmap possibilities:
18249 mmap private not fixed
18250 mmap private fixed at somewhere currently unmapped
18251 mmap private fixed at somewhere already mapped
18252 mmap shared not fixed
18253 mmap shared fixed at somewhere currently unmapped
18254 mmap shared fixed at somewhere already mapped
18255 For private mappings, we should verify that changes cannot be read()
18256 back from the file, nor mmap's back from the file at a different
18257 address. (There have been systems where private was not correctly
18258 implemented like the infamous i386 svr4.0, and systems where the
18259 VM page cache was not coherent with the filesystem buffer cache
18260 like early versions of FreeBSD and possibly contemporary NetBSD.)
18261 For shared mappings, we should conversely verify that changes get
18262 propogated back to all the places they're supposed to be.
18264 Grep wants private fixed already mapped.
18265 The main things grep needs to know about mmap are:
18266 * does it exist and is it safe to write into the mmap'd area
18267 * how to use it (BSD variants) */
18268 #include <sys/types.h>
18269 #include <fcntl.h>
18270 #include <sys/mman.h>
18272 /* This mess was copied from the GNU getpagesize.h. */
18273 #ifndef HAVE_GETPAGESIZE
18274 # ifdef HAVE_UNISTD_H
18275 # include <unistd.h>
18276 # endif
18278 /* Assume that all systems that can run configure have sys/param.h. */
18279 # ifndef HAVE_SYS_PARAM_H
18280 # define HAVE_SYS_PARAM_H 1
18281 # endif
18283 # ifdef _SC_PAGESIZE
18284 # define getpagesize() sysconf(_SC_PAGESIZE)
18285 # else /* no _SC_PAGESIZE */
18286 # ifdef HAVE_SYS_PARAM_H
18287 # include <sys/param.h>
18288 # ifdef EXEC_PAGESIZE
18289 # define getpagesize() EXEC_PAGESIZE
18290 # else /* no EXEC_PAGESIZE */
18291 # ifdef NBPG
18292 # define getpagesize() NBPG * CLSIZE
18293 # ifndef CLSIZE
18294 # define CLSIZE 1
18295 # endif /* no CLSIZE */
18296 # else /* no NBPG */
18297 # ifdef NBPC
18298 # define getpagesize() NBPC
18299 # else /* no NBPC */
18300 # ifdef PAGESIZE
18301 # define getpagesize() PAGESIZE
18302 # endif /* PAGESIZE */
18303 # endif /* no NBPC */
18304 # endif /* no NBPG */
18305 # endif /* no EXEC_PAGESIZE */
18306 # else /* no HAVE_SYS_PARAM_H */
18307 # define getpagesize() 8192 /* punt totally */
18308 # endif /* no HAVE_SYS_PARAM_H */
18309 # endif /* no _SC_PAGESIZE */
18311 #endif /* no HAVE_GETPAGESIZE */
18313 #ifdef __cplusplus
18314 extern "C" { void *malloc(unsigned); }
18315 #else
18316 char *malloc();
18317 #endif
18320 main()
18322 char *data, *data2, *data3;
18323 int i, pagesize;
18324 int fd;
18326 pagesize = getpagesize();
18329 * First, make a file with some known garbage in it.
18331 data = malloc(pagesize);
18332 if (!data)
18333 exit(1);
18334 for (i = 0; i < pagesize; ++i)
18335 *(data + i) = rand();
18336 umask(0);
18337 fd = creat("conftestmmap", 0600);
18338 if (fd < 0)
18339 exit(1);
18340 if (write(fd, data, pagesize) != pagesize)
18341 exit(1);
18342 close(fd);
18345 * Next, try to mmap the file at a fixed address which
18346 * already has something else allocated at it. If we can,
18347 * also make sure that we see the same garbage.
18349 fd = open("conftestmmap", O_RDWR);
18350 if (fd < 0)
18351 exit(1);
18352 data2 = malloc(2 * pagesize);
18353 if (!data2)
18354 exit(1);
18355 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
18356 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
18357 MAP_PRIVATE | MAP_FIXED, fd, 0L))
18358 exit(1);
18359 for (i = 0; i < pagesize; ++i)
18360 if (*(data + i) != *(data2 + i))
18361 exit(1);
18364 * Finally, make sure that changes to the mapped area
18365 * do not percolate back to the file as seen by read().
18366 * (This is a bug on some variants of i386 svr4.0.)
18368 for (i = 0; i < pagesize; ++i)
18369 *(data2 + i) = *(data2 + i) + 1;
18370 data3 = malloc(pagesize);
18371 if (!data3)
18372 exit(1);
18373 if (read(fd, data3, pagesize) != pagesize)
18374 exit(1);
18375 for (i = 0; i < pagesize; ++i)
18376 if (*(data + i) != *(data3 + i))
18377 exit(1);
18378 close(fd);
18379 unlink("conftestmmap");
18380 exit(0);
18384 if { (eval echo configure:18385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
18385 then
18386 ac_cv_func_mmap_fixed_mapped=yes
18387 else
18388 echo "configure: failed program was:" >&5
18389 cat conftest.$ac_ext >&5
18390 rm -fr conftest*
18391 ac_cv_func_mmap_fixed_mapped=no
18393 rm -fr conftest*
18398 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
18399 if test $ac_cv_func_mmap_fixed_mapped = yes; then
18400 cat >> confdefs.h <<\EOF
18401 #define HAVE_MMAP 1
18410 if test "$CANADIAN" = yes; then
18411 CANADIAN_TRUE=
18412 CANADIAN_FALSE='#'
18413 else
18414 CANADIAN_TRUE='#'
18415 CANADIAN_FALSE=
18419 if test "$NULL_TARGET" = yes; then
18420 NULL_TARGET_TRUE=
18421 NULL_TARGET_FALSE='#'
18422 else
18423 NULL_TARGET_TRUE='#'
18424 NULL_TARGET_FALSE=
18428 if test "$NATIVE" = yes || test "$NULL_TARGET" = yes; then
18429 NATIVE_TRUE=
18430 NATIVE_FALSE='#'
18431 else
18432 NATIVE_TRUE='#'
18433 NATIVE_FALSE=
18437 if test -z "$with_cross_host"; then
18438 USE_LIBDIR_TRUE=
18439 USE_LIBDIR_FALSE='#'
18440 else
18441 USE_LIBDIR_TRUE='#'
18442 USE_LIBDIR_FALSE=
18445 if test $ac_cv_header_locale_h = yes; then
18446 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
18447 echo "configure:18448: checking for LC_MESSAGES" >&5
18448 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
18449 echo $ac_n "(cached) $ac_c" 1>&6
18450 else
18451 cat > conftest.$ac_ext <<EOF
18452 #line 18453 "configure"
18453 #include "confdefs.h"
18454 #include <locale.h>
18455 int main() {
18456 return LC_MESSAGES
18457 ; return 0; }
18459 if { (eval echo configure:18460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18460 rm -rf conftest*
18461 ac_cv_val_LC_MESSAGES=yes
18462 else
18463 echo "configure: failed program was:" >&5
18464 cat conftest.$ac_ext >&5
18465 rm -rf conftest*
18466 ac_cv_val_LC_MESSAGES=no
18468 rm -f conftest*
18471 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
18472 if test $ac_cv_val_LC_MESSAGES = yes; then
18473 cat >> confdefs.h <<\EOF
18474 #define HAVE_LC_MESSAGES 1
18481 if test "${multilib}" = "yes"; then
18482 multilib_arg="--enable-multilib"
18483 else
18484 multilib_arg=
18488 # Generate the various Makefiles, include files, and scripts.
18490 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
18491 # so that multilib installs will end up installed in the correct
18492 # place. To work around this not being passed down from config-ml.in
18493 # -> top_srcdir/Makefile.am -> top_srcdir/src/Makefile.am, manually
18494 # append it here.
18496 trap '' 1 2 15
18497 cat > confcache <<\EOF
18498 # This file is a shell script that caches the results of configure
18499 # tests run on this system so they can be shared between configure
18500 # scripts and configure runs. It is not useful on other systems.
18501 # If it contains results you don't want to keep, you may remove or edit it.
18503 # By default, configure uses ./config.cache as the cache file,
18504 # creating it if it does not exist already. You can give configure
18505 # the --cache-file=FILE option to use a different cache file; that is
18506 # what configure does when it calls configure scripts in
18507 # subdirectories, so they share the cache.
18508 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18509 # config.status only pays attention to the cache file if you give it the
18510 # --recheck option to rerun configure.
18513 # The following way of writing the cache mishandles newlines in values,
18514 # but we know of no workaround that is simple, portable, and efficient.
18515 # So, don't put newlines in cache variables' values.
18516 # Ultrix sh set writes to stderr and can't be redirected directly,
18517 # and sets the high bit in the cache file unless we assign to the vars.
18518 (set) 2>&1 |
18519 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18520 *ac_space=\ *)
18521 # `set' does not quote correctly, so add quotes (double-quote substitution
18522 # turns \\\\ into \\, and sed turns \\ into \).
18523 sed -n \
18524 -e "s/'/'\\\\''/g" \
18525 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18528 # `set' quotes correctly as required by POSIX, so do not add quotes.
18529 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18531 esac >> confcache
18532 if cmp -s $cache_file confcache; then
18534 else
18535 if test -w $cache_file; then
18536 echo "updating cache $cache_file"
18537 cat confcache > $cache_file
18538 else
18539 echo "not updating unwritable cache $cache_file"
18542 rm -f confcache
18544 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
18546 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18547 # Let make expand exec_prefix.
18548 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18550 # Any assignment to VPATH causes Sun make to only execute
18551 # the first set of double-colon rules, so remove it if not needed.
18552 # If there is a colon in the path, we need to keep it.
18553 if test "x$srcdir" = x.; then
18554 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
18557 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
18559 DEFS=-DHAVE_CONFIG_H
18561 # Without the "./", some shells look in PATH for config.status.
18562 : ${CONFIG_STATUS=./config.status}
18564 echo creating $CONFIG_STATUS
18565 rm -f $CONFIG_STATUS
18566 cat > $CONFIG_STATUS <<EOF
18567 #! /bin/sh
18568 # Generated automatically by configure.
18569 # Run this file to recreate the current configuration.
18570 # This directory was configured as follows,
18571 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18573 # $0 $ac_configure_args
18575 # Compiler output produced by configure, useful for debugging
18576 # configure, is in ./config.log if it exists.
18578 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
18579 for ac_option
18581 case "\$ac_option" in
18582 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18583 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
18584 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
18585 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
18586 echo "$CONFIG_STATUS generated by autoconf version 2.13"
18587 exit 0 ;;
18588 -help | --help | --hel | --he | --h)
18589 echo "\$ac_cs_usage"; exit 0 ;;
18590 *) echo "\$ac_cs_usage"; exit 1 ;;
18591 esac
18592 done
18594 ac_given_srcdir=$srcdir
18595 ac_given_INSTALL="$INSTALL"
18597 trap 'rm -fr `echo "mkcheck Makefile src/Makefile math/Makefile libio/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
18599 cat >> $CONFIG_STATUS <<EOF
18601 # Protect against being on the right side of a sed subst in config.status.
18602 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
18603 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
18604 $ac_vpsub
18605 $extrasub
18606 s%@SHELL@%$SHELL%g
18607 s%@CFLAGS@%$CFLAGS%g
18608 s%@CPPFLAGS@%$CPPFLAGS%g
18609 s%@CXXFLAGS@%$CXXFLAGS%g
18610 s%@FFLAGS@%$FFLAGS%g
18611 s%@DEFS@%$DEFS%g
18612 s%@LDFLAGS@%$LDFLAGS%g
18613 s%@LIBS@%$LIBS%g
18614 s%@exec_prefix@%$exec_prefix%g
18615 s%@prefix@%$prefix%g
18616 s%@program_transform_name@%$program_transform_name%g
18617 s%@bindir@%$bindir%g
18618 s%@sbindir@%$sbindir%g
18619 s%@libexecdir@%$libexecdir%g
18620 s%@datadir@%$datadir%g
18621 s%@sysconfdir@%$sysconfdir%g
18622 s%@sharedstatedir@%$sharedstatedir%g
18623 s%@localstatedir@%$localstatedir%g
18624 s%@libdir@%$libdir%g
18625 s%@includedir@%$includedir%g
18626 s%@oldincludedir@%$oldincludedir%g
18627 s%@infodir@%$infodir%g
18628 s%@mandir@%$mandir%g
18629 s%@host@%$host%g
18630 s%@host_alias@%$host_alias%g
18631 s%@host_cpu@%$host_cpu%g
18632 s%@host_vendor@%$host_vendor%g
18633 s%@host_os@%$host_os%g
18634 s%@target@%$target%g
18635 s%@target_alias@%$target_alias%g
18636 s%@target_cpu@%$target_cpu%g
18637 s%@target_vendor@%$target_vendor%g
18638 s%@target_os@%$target_os%g
18639 s%@build@%$build%g
18640 s%@build_alias@%$build_alias%g
18641 s%@build_cpu@%$build_cpu%g
18642 s%@build_vendor@%$build_vendor%g
18643 s%@build_os@%$build_os%g
18644 s%@glibcpp_basedir@%$glibcpp_basedir%g
18645 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
18646 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
18647 s%@INSTALL_DATA@%$INSTALL_DATA%g
18648 s%@PACKAGE@%$PACKAGE%g
18649 s%@VERSION@%$VERSION%g
18650 s%@ACLOCAL@%$ACLOCAL%g
18651 s%@AUTOCONF@%$AUTOCONF%g
18652 s%@AUTOMAKE@%$AUTOMAKE%g
18653 s%@AUTOHEADER@%$AUTOHEADER%g
18654 s%@MAKEINFO@%$MAKEINFO%g
18655 s%@SET_MAKE@%$SET_MAKE%g
18656 s%@CC@%$CC%g
18657 s%@CXX@%$CXX%g
18658 s%@AS@%$AS%g
18659 s%@AR@%$AR%g
18660 s%@RANLIB@%$RANLIB%g
18661 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
18662 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
18663 s%@MAINT@%$MAINT%g
18664 s%@EXEEXT@%$EXEEXT%g
18665 s%@GLIBCPP_CFLAGS@%$GLIBCPP_CFLAGS%g
18666 s%@GLIBCPP_CXXFLAGS@%$GLIBCPP_CXXFLAGS%g
18667 s%@LN_S@%$LN_S%g
18668 s%@OBJEXT@%$OBJEXT%g
18669 s%@STRIP@%$STRIP%g
18670 s%@LIBTOOL@%$LIBTOOL%g
18671 s%@CXXCPP@%$CXXCPP%g
18672 s%@ifGNUmake@%$ifGNUmake%g
18673 s%@CPP@%$CPP%g
18674 s%@cpu_include_dir@%$cpu_include_dir%g
18675 s%@CPU_FLAGS@%$CPU_FLAGS%g
18676 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
18677 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
18678 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
18679 s%@GLIBCPP_NEED_XTRA_LIBIO_TRUE@%$GLIBCPP_NEED_XTRA_LIBIO_TRUE%g
18680 s%@GLIBCPP_NEED_XTRA_LIBIO_FALSE@%$GLIBCPP_NEED_XTRA_LIBIO_FALSE%g
18681 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
18682 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
18683 s%@CSHADOWFLAGS@%$CSHADOWFLAGS%g
18684 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
18685 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
18686 s%@THREADLIBS@%$THREADLIBS%g
18687 s%@THREADINCS@%$THREADINCS%g
18688 s%@THREADDEPS@%$THREADDEPS%g
18689 s%@THREADOBJS@%$THREADOBJS%g
18690 s%@THREADSPEC@%$THREADSPEC%g
18691 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
18692 s%@ctype_include_dir@%$ctype_include_dir%g
18693 s%@WERROR@%$WERROR%g
18694 s%@WFMT_FLAGS@%$WFMT_FLAGS%g
18695 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
18696 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
18697 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
18698 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
18699 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
18700 s%@libinst_wstring_la@%$libinst_wstring_la%g
18701 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
18702 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
18703 s%@NULL_TARGET_TRUE@%$NULL_TARGET_TRUE%g
18704 s%@NULL_TARGET_FALSE@%$NULL_TARGET_FALSE%g
18705 s%@NATIVE_TRUE@%$NATIVE_TRUE%g
18706 s%@NATIVE_FALSE@%$NATIVE_FALSE%g
18707 s%@USE_LIBDIR_TRUE@%$USE_LIBDIR_TRUE%g
18708 s%@USE_LIBDIR_FALSE@%$USE_LIBDIR_FALSE%g
18710 CEOF
18713 cat >> $CONFIG_STATUS <<\EOF
18715 # Split the substitutions into bite-sized pieces for seds with
18716 # small command number limits, like on Digital OSF/1 and HP-UX.
18717 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
18718 ac_file=1 # Number of current file.
18719 ac_beg=1 # First line for current file.
18720 ac_end=$ac_max_sed_cmds # Line after last line for current file.
18721 ac_more_lines=:
18722 ac_sed_cmds=""
18723 while $ac_more_lines; do
18724 if test $ac_beg -gt 1; then
18725 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
18726 else
18727 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
18729 if test ! -s conftest.s$ac_file; then
18730 ac_more_lines=false
18731 rm -f conftest.s$ac_file
18732 else
18733 if test -z "$ac_sed_cmds"; then
18734 ac_sed_cmds="sed -f conftest.s$ac_file"
18735 else
18736 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
18738 ac_file=`expr $ac_file + 1`
18739 ac_beg=$ac_end
18740 ac_end=`expr $ac_end + $ac_max_sed_cmds`
18742 done
18743 if test -z "$ac_sed_cmds"; then
18744 ac_sed_cmds=cat
18748 cat >> $CONFIG_STATUS <<EOF
18750 CONFIG_FILES=\${CONFIG_FILES-"mkcheck Makefile src/Makefile math/Makefile libio/Makefile"}
18752 cat >> $CONFIG_STATUS <<\EOF
18753 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
18754 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18755 case "$ac_file" in
18756 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
18757 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18758 *) ac_file_in="${ac_file}.in" ;;
18759 esac
18761 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
18763 # Remove last slash and all that follows it. Not all systems have dirname.
18764 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18765 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18766 # The file is in a subdirectory.
18767 test ! -d "$ac_dir" && mkdir "$ac_dir"
18768 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
18769 # A "../" for each directory in $ac_dir_suffix.
18770 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
18771 else
18772 ac_dir_suffix= ac_dots=
18775 case "$ac_given_srcdir" in
18776 .) srcdir=.
18777 if test -z "$ac_dots"; then top_srcdir=.
18778 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
18779 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
18780 *) # Relative path.
18781 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
18782 top_srcdir="$ac_dots$ac_given_srcdir" ;;
18783 esac
18785 case "$ac_given_INSTALL" in
18786 [/$]*) INSTALL="$ac_given_INSTALL" ;;
18787 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
18788 esac
18790 echo creating "$ac_file"
18791 rm -f "$ac_file"
18792 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
18793 case "$ac_file" in
18794 *Makefile*) ac_comsub="1i\\
18795 # $configure_input" ;;
18796 *) ac_comsub= ;;
18797 esac
18799 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18800 sed -e "$ac_comsub
18801 s%@configure_input@%$configure_input%g
18802 s%@srcdir@%$srcdir%g
18803 s%@top_srcdir@%$top_srcdir%g
18804 s%@INSTALL@%$INSTALL%g
18805 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
18806 fi; done
18807 rm -f conftest.s*
18809 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18810 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18812 # ac_d sets the value in "#define NAME VALUE" lines.
18813 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18814 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
18815 ac_dC='\3'
18816 ac_dD='%g'
18817 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
18818 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18819 ac_uB='\([ ]\)%\1#\2define\3'
18820 ac_uC=' '
18821 ac_uD='\4%g'
18822 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18823 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18824 ac_eB='$%\1#\2define\3'
18825 ac_eC=' '
18826 ac_eD='%g'
18828 if test "${CONFIG_HEADERS+set}" != set; then
18830 cat >> $CONFIG_STATUS <<EOF
18831 CONFIG_HEADERS="config.h"
18833 cat >> $CONFIG_STATUS <<\EOF
18835 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
18836 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18837 case "$ac_file" in
18838 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
18839 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18840 *) ac_file_in="${ac_file}.in" ;;
18841 esac
18843 echo creating $ac_file
18845 rm -f conftest.frag conftest.in conftest.out
18846 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18847 cat $ac_file_inputs > conftest.in
18851 # Transform confdefs.h into a sed script conftest.vals that substitutes
18852 # the proper values into config.h.in to produce config.h. And first:
18853 # Protect against being on the right side of a sed subst in config.status.
18854 # Protect against being in an unquoted here document in config.status.
18855 rm -f conftest.vals
18856 cat > conftest.hdr <<\EOF
18857 s/[\\&%]/\\&/g
18858 s%[\\$`]%\\&%g
18859 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
18860 s%ac_d%ac_u%gp
18861 s%ac_u%ac_e%gp
18863 sed -n -f conftest.hdr confdefs.h > conftest.vals
18864 rm -f conftest.hdr
18866 # This sed command replaces #undef with comments. This is necessary, for
18867 # example, in the case of _POSIX_SOURCE, which is predefined and required
18868 # on some systems where configure will not decide to define it.
18869 cat >> conftest.vals <<\EOF
18870 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
18873 # Break up conftest.vals because some shells have a limit on
18874 # the size of here documents, and old seds have small limits too.
18876 rm -f conftest.tail
18877 while :
18879 ac_lines=`grep -c . conftest.vals`
18880 # grep -c gives empty output for an empty file on some AIX systems.
18881 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
18882 # Write a limited-size here document to conftest.frag.
18883 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
18884 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
18885 echo 'CEOF
18886 sed -f conftest.frag conftest.in > conftest.out
18887 rm -f conftest.in
18888 mv conftest.out conftest.in
18889 ' >> $CONFIG_STATUS
18890 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
18891 rm -f conftest.vals
18892 mv conftest.tail conftest.vals
18893 done
18894 rm -f conftest.vals
18896 cat >> $CONFIG_STATUS <<\EOF
18897 rm -f conftest.frag conftest.h
18898 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
18899 cat conftest.in >> conftest.h
18900 rm -f conftest.in
18901 if cmp -s $ac_file conftest.h 2>/dev/null; then
18902 echo "$ac_file is unchanged"
18903 rm -f conftest.h
18904 else
18905 # Remove last slash and all that follows it. Not all systems have dirname.
18906 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18907 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18908 # The file is in a subdirectory.
18909 test ! -d "$ac_dir" && mkdir "$ac_dir"
18911 rm -f $ac_file
18912 mv conftest.h $ac_file
18914 fi; done
18918 cat >> $CONFIG_STATUS <<EOF
18919 ac_sources="$CSTDIO_H $CSTDIO_CC $CCODECVT_C config/$THREADH"
18920 ac_dests="bits/c++io.h src/c++io.cc libio/c_codecvt.c bits/c++threads.h"
18923 cat >> $CONFIG_STATUS <<\EOF
18924 srcdir=$ac_given_srcdir
18925 while test -n "$ac_sources"; do
18926 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
18927 set $ac_sources; ac_source=$1; shift; ac_sources=$*
18929 echo "linking $srcdir/$ac_source to $ac_dest"
18931 if test ! -r $srcdir/$ac_source; then
18932 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
18934 rm -f $ac_dest
18936 # Make relative symlinks.
18937 # Remove last slash and all that follows it. Not all systems have dirname.
18938 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
18939 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
18940 # The dest file is in a subdirectory.
18941 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
18942 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
18943 # A "../" for each directory in $ac_dest_dir_suffix.
18944 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
18945 else
18946 ac_dest_dir_suffix= ac_dots=
18949 case "$srcdir" in
18950 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
18951 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
18952 esac
18954 # Make a symlink if possible; otherwise try a hard link.
18955 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
18956 ln $srcdir/$ac_source $ac_dest; then :
18957 else
18958 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
18960 done
18962 cat >> $CONFIG_STATUS <<EOF
18964 srcdir=${srcdir}
18965 host=${host}
18966 target=${target}
18967 with_multisubdir=${with_multisubdir}
18968 ac_configure_args="${multilib_arg} ${ac_configure_args}"
18969 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
18970 glibcpp_basedir=${glibcpp_basedir}
18971 CC="${CC}"
18972 CXX="${CXX}"
18975 cat >> $CONFIG_STATUS <<\EOF
18976 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
18977 if test -n "$CONFIG_FILES"; then
18978 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
18979 grep '^MULTISUBDIR =' Makefile >> src/Makefile
18981 exit 0
18983 chmod +x $CONFIG_STATUS
18984 rm -fr confdefs* $ac_clean_files
18985 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
18989 blddir=`pwd`
18990 # Generate bits/c++config.h
18991 # NB: This must be the first generated file as others include it. . .
18994 # Generate bits/std_limits.h and src/limitsMEMBERS.cc
18998 # Sanity checking & User-visible messages.
18999 # Checks down here, otherwise they get scrolled off before
19000 # the user will notice.
19001 if test "$enable_namespaces" = "yes" && test "$enable_libgcc_rebuild" = "no"
19002 then
19003 echo "configure: warning: libgcc.a will not match mangled symbols unless it is rebuilt" 1>&2
19005 if test "$enable_namespaces" = "no" && test "$enable_libgcc_rebuild" != "no"
19006 then
19007 # Other things besides namespaces can make this true as well, but none
19008 # of them are done automatically... yet
19009 echo "configure: warning: no point in rebuilding libgcc.a if namespaces aren't used" 1>&2
19012 # Trying to get more people to read documentation. Possibly remove
19013 # check and warn all the time. There is no "informational" AC_MSG_
19014 # macro, so these are going to be printed even when --quiet/--silent
19015 # is given.
19016 if test ! -f stamp-sanity-warned; then
19017 touch stamp-sanity-warned
19018 echo ""
19019 echo "Please make certain that you read the installation information here:"
19020 echo " faster => ${srcdir}/docs/install.html"
19021 echo " slower => <URL:http://sources.redhat.com/libstdc++/install.html>"
19022 echo ""
19023 echo "and the configuration information here:"
19024 echo " faster => ${srcdir}/docs/configopts.html"
19025 echo " slower => <URL:http://sources.redhat.com/libstdc++/configopts.html>"
19026 echo ""
19027 echo "before proceeding with ${_cv_gnu_make_command}."
19028 echo ""
19032 $srcdir/mkc++config $blddir $srcdir
19033 $srcdir/mknumeric_limits $blddir $srcdir $xcompiling