* gcc.dg/cpp/avoidpaste1.c: Test case.
[official-gcc.git] / libstdc++-v3 / configure
blob692078ddea5512e6f125f34ece857ae75693e102
1 #! /bin/sh
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
10 # Defaults:
11 ac_help=
12 ac_default_prefix=/usr/local
13 # Any additions from configure.in:
14 ac_help="$ac_help
15 --with-target-subdir=SUBDIR
16 configuring in a subdirectory"
17 ac_help="$ac_help
18 --with-cross-host=HOST configuring with a cross compiler"
19 ac_help="$ac_help
20 --enable-multilib build hella library versions (default)"
21 ac_help="$ac_help
22 --enable-maintainer-mode enable make rules and dependencies not useful
23 (and sometimes confusing) to the casual installer"
24 ac_help="$ac_help
25 --enable-shared[=PKGS] build shared libraries [default=yes]"
26 ac_help="$ac_help
27 --enable-static[=PKGS] build static libraries [default=yes]"
28 ac_help="$ac_help
29 --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
30 ac_help="$ac_help
31 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
32 ac_help="$ac_help
33 --disable-libtool-lock avoid locking (might break parallel builds)"
34 ac_help="$ac_help
35 --with-pic try to use only PIC/non-PIC objects [default=use both]"
36 ac_help="$ac_help
37 --enable-debug extra debugging, turn off optimization [default=no]"
38 ac_help="$ac_help
39 --enable-cstdio enable stdio for target io package.
40 --enable-cstdio=LIB use LIB target-speific io package. [default=stdio]
42 ac_help="$ac_help
43 --enable-c-mbchar enable multibyte (wide) characters [default=yes]"
44 ac_help="$ac_help
45 --enable-long-long turns on 'long long' [default=no]"
46 ac_help="$ac_help
47 --enable-cheaders construct "C" header files for
48 g++ [default=c_std]"
49 ac_help="$ac_help
50 --enable-threads enable thread usage for target GCC.
51 --enable-threads=LIB use LIB thread package for target GCC. [default=no]
53 ac_help="$ac_help
54 --enable-cxx-flags=FLAGS pass compiler FLAGS when building library;
55 [default=none]"
56 ac_help="$ac_help
57 --with-gxx-include-dir the installation directory for include files"
58 ac_help="$ac_help
59 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
61 # Initialize some variables set by options.
62 # The variables have the same names as the options, with
63 # dashes changed to underlines.
64 build=NONE
65 cache_file=./config.cache
66 exec_prefix=NONE
67 host=NONE
68 no_create=
69 nonopt=NONE
70 no_recursion=
71 prefix=NONE
72 program_prefix=NONE
73 program_suffix=NONE
74 program_transform_name=s,x,x,
75 silent=
76 site=
77 srcdir=
78 target=NONE
79 verbose=
80 x_includes=NONE
81 x_libraries=NONE
82 bindir='${exec_prefix}/bin'
83 sbindir='${exec_prefix}/sbin'
84 libexecdir='${exec_prefix}/libexec'
85 datadir='${prefix}/share'
86 sysconfdir='${prefix}/etc'
87 sharedstatedir='${prefix}/com'
88 localstatedir='${prefix}/var'
89 libdir='${exec_prefix}/lib'
90 includedir='${prefix}/include'
91 oldincludedir='/usr/include'
92 infodir='${prefix}/info'
93 mandir='${prefix}/man'
95 # Initialize some other variables.
96 subdirs=
97 MFLAGS= MAKEFLAGS=
98 SHELL=${CONFIG_SHELL-/bin/sh}
99 # Maximum number of lines to put in a shell here document.
100 ac_max_here_lines=12
102 ac_prev=
103 for ac_option
106 # If the previous option needs an argument, assign it.
107 if test -n "$ac_prev"; then
108 eval "$ac_prev=\$ac_option"
109 ac_prev=
110 continue
113 case "$ac_option" in
114 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
115 *) ac_optarg= ;;
116 esac
118 # Accept the important Cygnus configure options, so we can diagnose typos.
120 case "$ac_option" in
122 -bindir | --bindir | --bindi | --bind | --bin | --bi)
123 ac_prev=bindir ;;
124 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
125 bindir="$ac_optarg" ;;
127 -build | --build | --buil | --bui | --bu)
128 ac_prev=build ;;
129 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
130 build="$ac_optarg" ;;
132 -cache-file | --cache-file | --cache-fil | --cache-fi \
133 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
134 ac_prev=cache_file ;;
135 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
136 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
137 cache_file="$ac_optarg" ;;
139 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
140 ac_prev=datadir ;;
141 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
142 | --da=*)
143 datadir="$ac_optarg" ;;
145 -disable-* | --disable-*)
146 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
147 # Reject names that are not valid shell variable names.
148 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
149 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
151 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
152 eval "enable_${ac_feature}=no" ;;
154 -enable-* | --enable-*)
155 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
156 # Reject names that are not valid shell variable names.
157 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
158 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
160 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
161 case "$ac_option" in
162 *=*) ;;
163 *) ac_optarg=yes ;;
164 esac
165 eval "enable_${ac_feature}='$ac_optarg'" ;;
167 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
168 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
169 | --exec | --exe | --ex)
170 ac_prev=exec_prefix ;;
171 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
172 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
173 | --exec=* | --exe=* | --ex=*)
174 exec_prefix="$ac_optarg" ;;
176 -gas | --gas | --ga | --g)
177 # Obsolete; use --with-gas.
178 with_gas=yes ;;
180 -help | --help | --hel | --he)
181 # Omit some internal or obsolete options to make the list less imposing.
182 # This message is too long to be a string in the A/UX 3.1 sh.
183 cat << EOF
184 Usage: configure [options] [host]
185 Options: [defaults in brackets after descriptions]
186 Configuration:
187 --cache-file=FILE cache test results in FILE
188 --help print this message
189 --no-create do not create output files
190 --quiet, --silent do not print \`checking...' messages
191 --version print the version of autoconf that created configure
192 Directory and file names:
193 --prefix=PREFIX install architecture-independent files in PREFIX
194 [$ac_default_prefix]
195 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
196 [same as prefix]
197 --bindir=DIR user executables in DIR [EPREFIX/bin]
198 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
199 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
200 --datadir=DIR read-only architecture-independent data in DIR
201 [PREFIX/share]
202 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
203 --sharedstatedir=DIR modifiable architecture-independent data in DIR
204 [PREFIX/com]
205 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
206 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
207 --includedir=DIR C header files in DIR [PREFIX/include]
208 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
209 --infodir=DIR info documentation in DIR [PREFIX/info]
210 --mandir=DIR man documentation in DIR [PREFIX/man]
211 --srcdir=DIR find the sources in DIR [configure dir or ..]
212 --program-prefix=PREFIX prepend PREFIX to installed program names
213 --program-suffix=SUFFIX append SUFFIX to installed program names
214 --program-transform-name=PROGRAM
215 run sed PROGRAM on installed program names
217 cat << EOF
218 Host type:
219 --build=BUILD configure for building on BUILD [BUILD=HOST]
220 --host=HOST configure for HOST [guessed]
221 --target=TARGET configure for TARGET [TARGET=HOST]
222 Features and packages:
223 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
224 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
225 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
226 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
227 --x-includes=DIR X include files are in DIR
228 --x-libraries=DIR X library files are in DIR
230 if test -n "$ac_help"; then
231 echo "--enable and --with options recognized:$ac_help"
233 exit 0 ;;
235 -host | --host | --hos | --ho)
236 ac_prev=host ;;
237 -host=* | --host=* | --hos=* | --ho=*)
238 host="$ac_optarg" ;;
240 -includedir | --includedir | --includedi | --included | --include \
241 | --includ | --inclu | --incl | --inc)
242 ac_prev=includedir ;;
243 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
244 | --includ=* | --inclu=* | --incl=* | --inc=*)
245 includedir="$ac_optarg" ;;
247 -infodir | --infodir | --infodi | --infod | --info | --inf)
248 ac_prev=infodir ;;
249 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
250 infodir="$ac_optarg" ;;
252 -libdir | --libdir | --libdi | --libd)
253 ac_prev=libdir ;;
254 -libdir=* | --libdir=* | --libdi=* | --libd=*)
255 libdir="$ac_optarg" ;;
257 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
258 | --libexe | --libex | --libe)
259 ac_prev=libexecdir ;;
260 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
261 | --libexe=* | --libex=* | --libe=*)
262 libexecdir="$ac_optarg" ;;
264 -localstatedir | --localstatedir | --localstatedi | --localstated \
265 | --localstate | --localstat | --localsta | --localst \
266 | --locals | --local | --loca | --loc | --lo)
267 ac_prev=localstatedir ;;
268 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
269 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
270 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
271 localstatedir="$ac_optarg" ;;
273 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
274 ac_prev=mandir ;;
275 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
276 mandir="$ac_optarg" ;;
278 -nfp | --nfp | --nf)
279 # Obsolete; use --without-fp.
280 with_fp=no ;;
282 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
283 | --no-cr | --no-c)
284 no_create=yes ;;
286 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
287 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
288 no_recursion=yes ;;
290 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
291 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
292 | --oldin | --oldi | --old | --ol | --o)
293 ac_prev=oldincludedir ;;
294 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
295 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
296 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
297 oldincludedir="$ac_optarg" ;;
299 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
300 ac_prev=prefix ;;
301 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
302 prefix="$ac_optarg" ;;
304 -program-prefix | --program-prefix | --program-prefi | --program-pref \
305 | --program-pre | --program-pr | --program-p)
306 ac_prev=program_prefix ;;
307 -program-prefix=* | --program-prefix=* | --program-prefi=* \
308 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
309 program_prefix="$ac_optarg" ;;
311 -program-suffix | --program-suffix | --program-suffi | --program-suff \
312 | --program-suf | --program-su | --program-s)
313 ac_prev=program_suffix ;;
314 -program-suffix=* | --program-suffix=* | --program-suffi=* \
315 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
316 program_suffix="$ac_optarg" ;;
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 ac_prev=program_transform_name ;;
326 -program-transform-name=* | --program-transform-name=* \
327 | --program-transform-nam=* | --program-transform-na=* \
328 | --program-transform-n=* | --program-transform-=* \
329 | --program-transform=* | --program-transfor=* \
330 | --program-transfo=* | --program-transf=* \
331 | --program-trans=* | --program-tran=* \
332 | --progr-tra=* | --program-tr=* | --program-t=*)
333 program_transform_name="$ac_optarg" ;;
335 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
336 | -silent | --silent | --silen | --sile | --sil)
337 silent=yes ;;
339 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
340 ac_prev=sbindir ;;
341 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
342 | --sbi=* | --sb=*)
343 sbindir="$ac_optarg" ;;
345 -sharedstatedir | --sharedstatedir | --sharedstatedi \
346 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
347 | --sharedst | --shareds | --shared | --share | --shar \
348 | --sha | --sh)
349 ac_prev=sharedstatedir ;;
350 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
351 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
352 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
353 | --sha=* | --sh=*)
354 sharedstatedir="$ac_optarg" ;;
356 -site | --site | --sit)
357 ac_prev=site ;;
358 -site=* | --site=* | --sit=*)
359 site="$ac_optarg" ;;
361 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
362 ac_prev=srcdir ;;
363 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
364 srcdir="$ac_optarg" ;;
366 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
367 | --syscon | --sysco | --sysc | --sys | --sy)
368 ac_prev=sysconfdir ;;
369 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
370 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
371 sysconfdir="$ac_optarg" ;;
373 -target | --target | --targe | --targ | --tar | --ta | --t)
374 ac_prev=target ;;
375 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
376 target="$ac_optarg" ;;
378 -v | -verbose | --verbose | --verbos | --verbo | --verb)
379 verbose=yes ;;
381 -version | --version | --versio | --versi | --vers)
382 echo "configure generated by autoconf version 2.13"
383 exit 0 ;;
385 -with-* | --with-*)
386 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
387 # Reject names that are not valid shell variable names.
388 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
389 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
391 ac_package=`echo $ac_package| sed 's/-/_/g'`
392 case "$ac_option" in
393 *=*) ;;
394 *) ac_optarg=yes ;;
395 esac
396 eval "with_${ac_package}='$ac_optarg'" ;;
398 -without-* | --without-*)
399 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
400 # Reject names that are not valid shell variable names.
401 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
402 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
404 ac_package=`echo $ac_package| sed 's/-/_/g'`
405 eval "with_${ac_package}=no" ;;
407 --x)
408 # Obsolete; use --with-x.
409 with_x=yes ;;
411 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
412 | --x-incl | --x-inc | --x-in | --x-i)
413 ac_prev=x_includes ;;
414 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
415 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
416 x_includes="$ac_optarg" ;;
418 -x-libraries | --x-libraries | --x-librarie | --x-librari \
419 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
420 ac_prev=x_libraries ;;
421 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
422 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
423 x_libraries="$ac_optarg" ;;
425 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
429 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
430 echo "configure: warning: $ac_option: invalid host type" 1>&2
432 if test "x$nonopt" != xNONE; then
433 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
435 nonopt="$ac_option"
438 esac
439 done
441 if test -n "$ac_prev"; then
442 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
445 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
447 # File descriptor usage:
448 # 0 standard input
449 # 1 file creation
450 # 2 errors and warnings
451 # 3 some systems may open it to /dev/tty
452 # 4 used on the Kubota Titan
453 # 6 checking for... messages and results
454 # 5 compiler messages saved in config.log
455 if test "$silent" = yes; then
456 exec 6>/dev/null
457 else
458 exec 6>&1
460 exec 5>./config.log
462 echo "\
463 This file contains any messages produced by compilers while
464 running configure, to aid debugging if configure makes a mistake.
465 " 1>&5
467 # Strip out --no-create and --no-recursion so they do not pile up.
468 # Also quote any args containing shell metacharacters.
469 ac_configure_args=
470 for ac_arg
472 case "$ac_arg" in
473 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
474 | --no-cr | --no-c) ;;
475 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
476 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
477 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
478 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
479 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
480 esac
481 done
483 # NLS nuisances.
484 # Only set these to C if already set. These must not be set unconditionally
485 # because not all systems understand e.g. LANG=C (notably SCO).
486 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
487 # Non-C LC_CTYPE values break the ctype check.
488 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
489 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
490 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
491 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
493 # confdefs.h avoids OS command line length limits that DEFS can exceed.
494 rm -rf conftest* confdefs.h
495 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
496 echo > confdefs.h
498 # A filename unique to this package, relative to the directory that
499 # configure is in, which we can look for to find out if srcdir is correct.
500 ac_unique_file=src/ios.cc
502 # Find the source files, if location was not specified.
503 if test -z "$srcdir"; then
504 ac_srcdir_defaulted=yes
505 # Try the directory containing this script, then its parent.
506 ac_prog=$0
507 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
508 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
509 srcdir=$ac_confdir
510 if test ! -r $srcdir/$ac_unique_file; then
511 srcdir=..
513 else
514 ac_srcdir_defaulted=no
516 if test ! -r $srcdir/$ac_unique_file; then
517 if test "$ac_srcdir_defaulted" = yes; then
518 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
519 else
520 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
523 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
525 # Prefer explicitly selected file to automatically selected ones.
526 if test -z "$CONFIG_SITE"; then
527 if test "x$prefix" != xNONE; then
528 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
529 else
530 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
533 for ac_site_file in $CONFIG_SITE; do
534 if test -r "$ac_site_file"; then
535 echo "loading site script $ac_site_file"
536 . "$ac_site_file"
538 done
540 if test -r "$cache_file"; then
541 echo "loading cache $cache_file"
542 . $cache_file
543 else
544 echo "creating cache $cache_file"
545 > $cache_file
548 ac_ext=c
549 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
550 ac_cpp='$CPP $CPPFLAGS'
551 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
552 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
553 cross_compiling=$ac_cv_prog_cc_cross
555 ac_exeext=
556 ac_objext=o
557 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
558 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
559 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
560 ac_n= ac_c='
561 ' ac_t=' '
562 else
563 ac_n=-n ac_c= ac_t=
565 else
566 ac_n= ac_c='\c' ac_t=
570 ac_aux_dir=
571 for ac_dir in .. $srcdir/..; do
572 if test -f $ac_dir/install-sh; then
573 ac_aux_dir=$ac_dir
574 ac_install_sh="$ac_aux_dir/install-sh -c"
575 break
576 elif test -f $ac_dir/install.sh; then
577 ac_aux_dir=$ac_dir
578 ac_install_sh="$ac_aux_dir/install.sh -c"
579 break
581 done
582 if test -z "$ac_aux_dir"; then
583 { echo "configure: error: can not find install-sh or install.sh in .. $srcdir/.." 1>&2; exit 1; }
585 ac_config_guess=$ac_aux_dir/config.guess
586 ac_config_sub=$ac_aux_dir/config.sub
587 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
590 # Gets and sets build, host, target, *_vendor, *_cpu, *_os, etc.
592 # Do some error checking and defaulting for the host and target type.
593 # The inputs are:
594 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
596 # The rules are:
597 # 1. You are not allowed to specify --host, --target, and nonopt at the
598 # same time.
599 # 2. Host defaults to nonopt.
600 # 3. If nonopt is not specified, then host defaults to the current host,
601 # as determined by config.guess.
602 # 4. Target and build default to nonopt.
603 # 5. If nonopt is not specified, then target and build default to host.
605 # The aliases save the names the user supplied, while $host etc.
606 # will get canonicalized.
607 case $host---$target---$nonopt in
608 NONE---*---* | *---NONE---* | *---*---NONE) ;;
609 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
610 esac
613 # Make sure we can run config.sub.
614 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
615 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
618 echo $ac_n "checking host system type""... $ac_c" 1>&6
619 echo "configure:620: checking host system type" >&5
621 host_alias=$host
622 case "$host_alias" in
623 NONE)
624 case $nonopt in
625 NONE)
626 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
627 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
628 fi ;;
629 *) host_alias=$nonopt ;;
630 esac ;;
631 esac
633 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
634 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
635 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
636 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
637 echo "$ac_t""$host" 1>&6
639 echo $ac_n "checking target system type""... $ac_c" 1>&6
640 echo "configure:641: checking target system type" >&5
642 target_alias=$target
643 case "$target_alias" in
644 NONE)
645 case $nonopt in
646 NONE) target_alias=$host_alias ;;
647 *) target_alias=$nonopt ;;
648 esac ;;
649 esac
651 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
652 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
653 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
654 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
655 echo "$ac_t""$target" 1>&6
657 echo $ac_n "checking build system type""... $ac_c" 1>&6
658 echo "configure:659: checking build system type" >&5
660 build_alias=$build
661 case "$build_alias" in
662 NONE)
663 case $nonopt in
664 NONE) build_alias=$host_alias ;;
665 *) build_alias=$nonopt ;;
666 esac ;;
667 esac
669 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
670 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
671 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
672 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
673 echo "$ac_t""$build" 1>&6
675 test "$host_alias" != "$target_alias" &&
676 test "$program_prefix$program_suffix$program_transform_name" = \
677 NONENONEs,x,x, &&
678 program_prefix=${target_alias}-
681 # We use these options to decide which functions to include.
682 # Check whether --with-target-subdir or --without-target-subdir was given.
683 if test "${with_target_subdir+set}" = set; then
684 withval="$with_target_subdir"
688 # Check whether --with-cross-host or --without-cross-host was given.
689 if test "${with_cross_host+set}" = set; then
690 withval="$with_cross_host"
695 # Runs configure.host and configure.target. Have to run this before
696 # the GLIBCPP_ENABLE_* macros below.
697 # Find a good install program. We prefer a C program (faster),
698 # so one script is as good as another. But avoid the broken or
699 # incompatible versions:
700 # SysV /etc/install, /usr/sbin/install
701 # SunOS /usr/etc/install
702 # IRIX /sbin/install
703 # AIX /bin/install
704 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
705 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
706 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
707 # ./install, which can be erroneously created by make from ./install.sh.
708 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
709 echo "configure:710: checking for a BSD compatible install" >&5
710 if test -z "$INSTALL"; then
711 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
712 echo $ac_n "(cached) $ac_c" 1>&6
713 else
714 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
715 for ac_dir in $PATH; do
716 # Account for people who put trailing slashes in PATH elements.
717 case "$ac_dir/" in
718 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
720 # OSF1 and SCO ODT 3.0 have their own names for install.
721 # Don't use installbsd from OSF since it installs stuff as root
722 # by default.
723 for ac_prog in ginstall scoinst install; do
724 if test -f $ac_dir/$ac_prog; then
725 if test $ac_prog = install &&
726 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
727 # AIX install. It has an incompatible calling convention.
729 else
730 ac_cv_path_install="$ac_dir/$ac_prog -c"
731 break 2
734 done
736 esac
737 done
738 IFS="$ac_save_IFS"
741 if test "${ac_cv_path_install+set}" = set; then
742 INSTALL="$ac_cv_path_install"
743 else
744 # As a last resort, use the slow shell script. We don't cache a
745 # path for INSTALL within a source directory, because that will
746 # break other packages using the cache if that directory is
747 # removed, or if the path is relative.
748 INSTALL="$ac_install_sh"
751 echo "$ac_t""$INSTALL" 1>&6
753 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
754 # It thinks the first close brace ends the variable substitution.
755 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
757 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
759 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
761 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
762 echo "configure:763: checking whether build environment is sane" >&5
763 # Just in case
764 sleep 1
765 echo timestamp > conftestfile
766 # Do `set' in a subshell so we don't clobber the current shell's
767 # arguments. Must try -L first in case configure is actually a
768 # symlink; some systems play weird games with the mod time of symlinks
769 # (eg FreeBSD returns the mod time of the symlink's containing
770 # directory).
771 if (
772 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
773 if test "$*" = "X"; then
774 # -L didn't work.
775 set X `ls -t $srcdir/configure conftestfile`
777 if test "$*" != "X $srcdir/configure conftestfile" \
778 && test "$*" != "X conftestfile $srcdir/configure"; then
780 # If neither matched, then we have a broken ls. This can happen
781 # if, for instance, CONFIG_SHELL is bash and it inherits a
782 # broken ls alias from the environment. This has actually
783 # happened. Such a system could not be considered "sane".
784 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
785 alias in your environment" 1>&2; exit 1; }
788 test "$2" = conftestfile
790 then
791 # Ok.
793 else
794 { echo "configure: error: newly created file is older than distributed files!
795 Check your system clock" 1>&2; exit 1; }
797 rm -f conftest*
798 echo "$ac_t""yes" 1>&6
799 if test "$program_transform_name" = s,x,x,; then
800 program_transform_name=
801 else
802 # Double any \ or $. echo might interpret backslashes.
803 cat <<\EOF_SED > conftestsed
804 s,\\,\\\\,g; s,\$,$$,g
805 EOF_SED
806 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
807 rm -f conftestsed
809 test "$program_prefix" != NONE &&
810 program_transform_name="s,^,${program_prefix},; $program_transform_name"
811 # Use a double $ so make ignores it.
812 test "$program_suffix" != NONE &&
813 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
815 # sed with no file args requires a program.
816 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
818 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
819 echo "configure:820: checking whether ${MAKE-make} sets \${MAKE}" >&5
820 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
821 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
822 echo $ac_n "(cached) $ac_c" 1>&6
823 else
824 cat > conftestmake <<\EOF
825 all:
826 @echo 'ac_maketemp="${MAKE}"'
828 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
829 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
830 if test -n "$ac_maketemp"; then
831 eval ac_cv_prog_make_${ac_make}_set=yes
832 else
833 eval ac_cv_prog_make_${ac_make}_set=no
835 rm -f conftestmake
837 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
838 echo "$ac_t""yes" 1>&6
839 SET_MAKE=
840 else
841 echo "$ac_t""no" 1>&6
842 SET_MAKE="MAKE=${MAKE-make}"
845 if test $host != $build; then
846 ac_tool_prefix=${host_alias}-
847 else
848 ac_tool_prefix=
851 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
852 echo "configure:853: checking for Cygwin environment" >&5
853 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
854 echo $ac_n "(cached) $ac_c" 1>&6
855 else
856 cat > conftest.$ac_ext <<EOF
857 #line 858 "configure"
858 #include "confdefs.h"
860 int main() {
862 #ifndef __CYGWIN__
863 #define __CYGWIN__ __CYGWIN32__
864 #endif
865 return __CYGWIN__;
866 ; return 0; }
868 if { (eval echo configure:869: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
869 rm -rf conftest*
870 ac_cv_cygwin=yes
871 else
872 echo "configure: failed program was:" >&5
873 cat conftest.$ac_ext >&5
874 rm -rf conftest*
875 ac_cv_cygwin=no
877 rm -f conftest*
878 rm -f conftest*
881 echo "$ac_t""$ac_cv_cygwin" 1>&6
882 CYGWIN=
883 test "$ac_cv_cygwin" = yes && CYGWIN=yes
884 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
885 echo "configure:886: checking for mingw32 environment" >&5
886 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
887 echo $ac_n "(cached) $ac_c" 1>&6
888 else
889 cat > conftest.$ac_ext <<EOF
890 #line 891 "configure"
891 #include "confdefs.h"
893 int main() {
894 return __MINGW32__;
895 ; return 0; }
897 if { (eval echo configure:898: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
898 rm -rf conftest*
899 ac_cv_mingw32=yes
900 else
901 echo "configure: failed program was:" >&5
902 cat conftest.$ac_ext >&5
903 rm -rf conftest*
904 ac_cv_mingw32=no
906 rm -f conftest*
907 rm -f conftest*
910 echo "$ac_t""$ac_cv_mingw32" 1>&6
911 MINGW32=
912 test "$ac_cv_mingw32" = yes && MINGW32=yes
914 # Check whether --enable-multilib or --disable-multilib was given.
915 if test "${enable_multilib+set}" = set; then
916 enableval="$enable_multilib"
917 case "${enableval}" in
918 yes) multilib=yes ;;
919 no) multilib=no ;;
920 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
921 esac
922 else
923 multilib=yes
926 if test "${srcdir}" = "."; then
927 if test "${with_target_subdir}" != "."; then
928 glibcpp_basedir="${srcdir}/${with_multisrctop}../."
929 else
930 glibcpp_basedir="${srcdir}/${with_multisrctop}."
932 else
933 glibcpp_basedir="${srcdir}/."
938 PACKAGE=libstdc++
940 VERSION=2.90.8
942 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
943 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
945 cat >> confdefs.h <<EOF
946 #define PACKAGE "$PACKAGE"
949 cat >> confdefs.h <<EOF
950 #define VERSION "$VERSION"
955 missing_dir=`cd $ac_aux_dir && pwd`
956 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
957 echo "configure:958: checking for working aclocal" >&5
958 # Run test in a subshell; some versions of sh will print an error if
959 # an executable is not found, even if stderr is redirected.
960 # Redirect stdin to placate older versions of autoconf. Sigh.
961 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
962 ACLOCAL=aclocal
963 echo "$ac_t""found" 1>&6
964 else
965 ACLOCAL="$missing_dir/missing aclocal"
966 echo "$ac_t""missing" 1>&6
969 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
970 echo "configure:971: checking for working autoconf" >&5
971 # Run test in a subshell; some versions of sh will print an error if
972 # an executable is not found, even if stderr is redirected.
973 # Redirect stdin to placate older versions of autoconf. Sigh.
974 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
975 AUTOCONF=autoconf
976 echo "$ac_t""found" 1>&6
977 else
978 AUTOCONF="$missing_dir/missing autoconf"
979 echo "$ac_t""missing" 1>&6
982 echo $ac_n "checking for working automake""... $ac_c" 1>&6
983 echo "configure:984: checking for working automake" >&5
984 # Run test in a subshell; some versions of sh will print an error if
985 # an executable is not found, even if stderr is redirected.
986 # Redirect stdin to placate older versions of autoconf. Sigh.
987 if (automake --version) < /dev/null > /dev/null 2>&1; then
988 AUTOMAKE=automake
989 echo "$ac_t""found" 1>&6
990 else
991 AUTOMAKE="$missing_dir/missing automake"
992 echo "$ac_t""missing" 1>&6
995 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
996 echo "configure:997: checking for working autoheader" >&5
997 # Run test in a subshell; some versions of sh will print an error if
998 # an executable is not found, even if stderr is redirected.
999 # Redirect stdin to placate older versions of autoconf. Sigh.
1000 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1001 AUTOHEADER=autoheader
1002 echo "$ac_t""found" 1>&6
1003 else
1004 AUTOHEADER="$missing_dir/missing autoheader"
1005 echo "$ac_t""missing" 1>&6
1008 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1009 echo "configure:1010: checking for working makeinfo" >&5
1010 # Run test in a subshell; some versions of sh will print an error if
1011 # an executable is not found, even if stderr is redirected.
1012 # Redirect stdin to placate older versions of autoconf. Sigh.
1013 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1014 MAKEINFO=makeinfo
1015 echo "$ac_t""found" 1>&6
1016 else
1017 MAKEINFO="$missing_dir/missing makeinfo"
1018 echo "$ac_t""missing" 1>&6
1023 # Never versions of autoconf add an underscore to these functions.
1024 # Prevent future problems ...
1030 # AC_PROG_CC
1032 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1033 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1034 # are probably using a cross compiler, which will not be able to fully
1035 # link an executable. This should really be fixed in autoconf
1036 # itself.
1041 # Extract the first word of "gcc", so it can be a program name with args.
1042 set dummy gcc; ac_word=$2
1043 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1044 echo "configure:1045: checking for $ac_word" >&5
1045 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1046 echo $ac_n "(cached) $ac_c" 1>&6
1047 else
1048 if test -n "$CC"; then
1049 ac_cv_prog_CC="$CC" # Let the user override the test.
1050 else
1051 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1052 ac_dummy="$PATH"
1053 for ac_dir in $ac_dummy; do
1054 test -z "$ac_dir" && ac_dir=.
1055 if test -f $ac_dir/$ac_word; then
1056 ac_cv_prog_CC="gcc"
1057 break
1059 done
1060 IFS="$ac_save_ifs"
1063 CC="$ac_cv_prog_CC"
1064 if test -n "$CC"; then
1065 echo "$ac_t""$CC" 1>&6
1066 else
1067 echo "$ac_t""no" 1>&6
1070 if test -z "$CC"; then
1071 # Extract the first word of "cc", so it can be a program name with args.
1072 set dummy cc; ac_word=$2
1073 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1074 echo "configure:1075: checking for $ac_word" >&5
1075 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1076 echo $ac_n "(cached) $ac_c" 1>&6
1077 else
1078 if test -n "$CC"; then
1079 ac_cv_prog_CC="$CC" # Let the user override the test.
1080 else
1081 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1082 ac_prog_rejected=no
1083 ac_dummy="$PATH"
1084 for ac_dir in $ac_dummy; do
1085 test -z "$ac_dir" && ac_dir=.
1086 if test -f $ac_dir/$ac_word; then
1087 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1088 ac_prog_rejected=yes
1089 continue
1091 ac_cv_prog_CC="cc"
1092 break
1094 done
1095 IFS="$ac_save_ifs"
1096 if test $ac_prog_rejected = yes; then
1097 # We found a bogon in the path, so make sure we never use it.
1098 set dummy $ac_cv_prog_CC
1099 shift
1100 if test $# -gt 0; then
1101 # We chose a different compiler from the bogus one.
1102 # However, it has the same basename, so the bogon will be chosen
1103 # first if we set CC to just the basename; use the full file name.
1104 shift
1105 set dummy "$ac_dir/$ac_word" "$@"
1106 shift
1107 ac_cv_prog_CC="$@"
1112 CC="$ac_cv_prog_CC"
1113 if test -n "$CC"; then
1114 echo "$ac_t""$CC" 1>&6
1115 else
1116 echo "$ac_t""no" 1>&6
1119 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1122 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1123 echo "configure:1124: checking whether we are using GNU C" >&5
1124 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1125 echo $ac_n "(cached) $ac_c" 1>&6
1126 else
1127 cat > conftest.c <<EOF
1128 #ifdef __GNUC__
1129 yes;
1130 #endif
1132 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1133: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1133 ac_cv_prog_gcc=yes
1134 else
1135 ac_cv_prog_gcc=no
1139 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1141 if test $ac_cv_prog_gcc = yes; then
1142 GCC=yes
1143 ac_test_CFLAGS="${CFLAGS+set}"
1144 ac_save_CFLAGS="$CFLAGS"
1145 CFLAGS=
1146 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1147 echo "configure:1148: checking whether ${CC-cc} accepts -g" >&5
1148 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1149 echo $ac_n "(cached) $ac_c" 1>&6
1150 else
1151 echo 'void f(){}' > conftest.c
1152 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1153 ac_cv_prog_cc_g=yes
1154 else
1155 ac_cv_prog_cc_g=no
1157 rm -f conftest*
1161 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1162 if test "$ac_test_CFLAGS" = set; then
1163 CFLAGS="$ac_save_CFLAGS"
1164 elif test $ac_cv_prog_cc_g = yes; then
1165 CFLAGS="-g -O2"
1166 else
1167 CFLAGS="-O2"
1169 else
1170 GCC=
1171 test "${CFLAGS+set}" = set || CFLAGS="-g"
1175 # Can't just call these here as g++ requires libstc++ to be built....
1176 # AC_PROG_CXX
1178 # Likewise for AC_PROG_CXX.
1182 # Use CXX_libstdcxx so that we do not cause CXX to be cached with the
1183 # flags that come in CXX while configuring libstdc++. They're different
1184 # from those used for all other target libraries. If CXX is set in
1185 # the environment, respect that here.
1186 CXX_libstdcxx=$CXX
1187 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1189 # Extract the first word of "$ac_prog", so it can be a program name with args.
1190 set dummy $ac_prog; ac_word=$2
1191 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1192 echo "configure:1193: checking for $ac_word" >&5
1193 if eval "test \"`echo '$''{'ac_cv_prog_CXX_libstdcxx'+set}'`\" = set"; then
1194 echo $ac_n "(cached) $ac_c" 1>&6
1195 else
1196 if test -n "$CXX_libstdcxx"; then
1197 ac_cv_prog_CXX_libstdcxx="$CXX_libstdcxx" # Let the user override the test.
1198 else
1199 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1200 ac_dummy="$PATH"
1201 for ac_dir in $ac_dummy; do
1202 test -z "$ac_dir" && ac_dir=.
1203 if test -f $ac_dir/$ac_word; then
1204 ac_cv_prog_CXX_libstdcxx="$ac_prog"
1205 break
1207 done
1208 IFS="$ac_save_ifs"
1211 CXX_libstdcxx="$ac_cv_prog_CXX_libstdcxx"
1212 if test -n "$CXX_libstdcxx"; then
1213 echo "$ac_t""$CXX_libstdcxx" 1>&6
1214 else
1215 echo "$ac_t""no" 1>&6
1218 test -n "$CXX_libstdcxx" && break
1219 done
1220 test -n "$CXX_libstdcxx" || CXX_libstdcxx="gcc"
1222 CXX=$CXX_libstdcxx
1224 test -z "$CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1226 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1227 echo "configure:1228: checking whether we are using GNU C++" >&5
1228 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1229 echo $ac_n "(cached) $ac_c" 1>&6
1230 else
1231 cat > conftest.C <<EOF
1232 #ifdef __GNUC__
1233 yes;
1234 #endif
1236 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1237 ac_cv_prog_gxx=yes
1238 else
1239 ac_cv_prog_gxx=no
1243 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1245 if test $ac_cv_prog_gxx = yes; then
1246 GXX=yes
1247 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1248 ac_save_CXXFLAGS="$CXXFLAGS"
1249 CXXFLAGS=
1250 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1251 echo "configure:1252: checking whether ${CXX-g++} accepts -g" >&5
1252 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1253 echo $ac_n "(cached) $ac_c" 1>&6
1254 else
1255 echo 'void f(){}' > conftest.cc
1256 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1257 ac_cv_prog_cxx_g=yes
1258 else
1259 ac_cv_prog_cxx_g=no
1261 rm -f conftest*
1265 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1266 if test "$ac_test_CXXFLAGS" = set; then
1267 CXXFLAGS="$ac_save_CXXFLAGS"
1268 elif test $ac_cv_prog_cxx_g = yes; then
1269 CXXFLAGS="-g -O2"
1270 else
1271 CXXFLAGS="-O2"
1273 else
1274 GXX=
1275 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1279 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1280 set dummy ${ac_tool_prefix}as; ac_word=$2
1281 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1282 echo "configure:1283: checking for $ac_word" >&5
1283 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1284 echo $ac_n "(cached) $ac_c" 1>&6
1285 else
1286 if test -n "$AS"; then
1287 ac_cv_prog_AS="$AS" # Let the user override the test.
1288 else
1289 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1290 ac_dummy="$PATH"
1291 for ac_dir in $ac_dummy; do
1292 test -z "$ac_dir" && ac_dir=.
1293 if test -f $ac_dir/$ac_word; then
1294 ac_cv_prog_AS="${ac_tool_prefix}as"
1295 break
1297 done
1298 IFS="$ac_save_ifs"
1299 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1302 AS="$ac_cv_prog_AS"
1303 if test -n "$AS"; then
1304 echo "$ac_t""$AS" 1>&6
1305 else
1306 echo "$ac_t""no" 1>&6
1311 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1312 set dummy ${ac_tool_prefix}ar; ac_word=$2
1313 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1314 echo "configure:1315: checking for $ac_word" >&5
1315 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1316 echo $ac_n "(cached) $ac_c" 1>&6
1317 else
1318 if test -n "$AR"; then
1319 ac_cv_prog_AR="$AR" # Let the user override the test.
1320 else
1321 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1322 ac_dummy="$PATH"
1323 for ac_dir in $ac_dummy; do
1324 test -z "$ac_dir" && ac_dir=.
1325 if test -f $ac_dir/$ac_word; then
1326 ac_cv_prog_AR="${ac_tool_prefix}ar"
1327 break
1329 done
1330 IFS="$ac_save_ifs"
1331 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1334 AR="$ac_cv_prog_AR"
1335 if test -n "$AR"; then
1336 echo "$ac_t""$AR" 1>&6
1337 else
1338 echo "$ac_t""no" 1>&6
1343 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1344 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1345 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1346 echo "configure:1347: checking for $ac_word" >&5
1347 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1348 echo $ac_n "(cached) $ac_c" 1>&6
1349 else
1350 if test -n "$RANLIB"; then
1351 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1352 else
1353 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1354 ac_dummy="$PATH"
1355 for ac_dir in $ac_dummy; do
1356 test -z "$ac_dir" && ac_dir=.
1357 if test -f $ac_dir/$ac_word; then
1358 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1359 break
1361 done
1362 IFS="$ac_save_ifs"
1365 RANLIB="$ac_cv_prog_RANLIB"
1366 if test -n "$RANLIB"; then
1367 echo "$ac_t""$RANLIB" 1>&6
1368 else
1369 echo "$ac_t""no" 1>&6
1373 if test -z "$ac_cv_prog_RANLIB"; then
1374 if test -n "$ac_tool_prefix"; then
1375 # Extract the first word of "ranlib", so it can be a program name with args.
1376 set dummy ranlib; ac_word=$2
1377 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1378 echo "configure:1379: checking for $ac_word" >&5
1379 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1380 echo $ac_n "(cached) $ac_c" 1>&6
1381 else
1382 if test -n "$RANLIB"; then
1383 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1384 else
1385 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1386 ac_dummy="$PATH"
1387 for ac_dir in $ac_dummy; do
1388 test -z "$ac_dir" && ac_dir=.
1389 if test -f $ac_dir/$ac_word; then
1390 ac_cv_prog_RANLIB="ranlib"
1391 break
1393 done
1394 IFS="$ac_save_ifs"
1395 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
1398 RANLIB="$ac_cv_prog_RANLIB"
1399 if test -n "$RANLIB"; then
1400 echo "$ac_t""$RANLIB" 1>&6
1401 else
1402 echo "$ac_t""no" 1>&6
1405 else
1406 RANLIB=":"
1411 # Find a good install program. We prefer a C program (faster),
1412 # so one script is as good as another. But avoid the broken or
1413 # incompatible versions:
1414 # SysV /etc/install, /usr/sbin/install
1415 # SunOS /usr/etc/install
1416 # IRIX /sbin/install
1417 # AIX /bin/install
1418 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1419 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1420 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1421 # ./install, which can be erroneously created by make from ./install.sh.
1422 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1423 echo "configure:1424: checking for a BSD compatible install" >&5
1424 if test -z "$INSTALL"; then
1425 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1426 echo $ac_n "(cached) $ac_c" 1>&6
1427 else
1428 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1429 for ac_dir in $PATH; do
1430 # Account for people who put trailing slashes in PATH elements.
1431 case "$ac_dir/" in
1432 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1434 # OSF1 and SCO ODT 3.0 have their own names for install.
1435 # Don't use installbsd from OSF since it installs stuff as root
1436 # by default.
1437 for ac_prog in ginstall scoinst install; do
1438 if test -f $ac_dir/$ac_prog; then
1439 if test $ac_prog = install &&
1440 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1441 # AIX install. It has an incompatible calling convention.
1443 else
1444 ac_cv_path_install="$ac_dir/$ac_prog -c"
1445 break 2
1448 done
1450 esac
1451 done
1452 IFS="$ac_save_IFS"
1455 if test "${ac_cv_path_install+set}" = set; then
1456 INSTALL="$ac_cv_path_install"
1457 else
1458 # As a last resort, use the slow shell script. We don't cache a
1459 # path for INSTALL within a source directory, because that will
1460 # break other packages using the cache if that directory is
1461 # removed, or if the path is relative.
1462 INSTALL="$ac_install_sh"
1465 echo "$ac_t""$INSTALL" 1>&6
1467 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1468 # It thinks the first close brace ends the variable substitution.
1469 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1471 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1473 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1476 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1477 echo "configure:1478: checking whether to enable maintainer-specific portions of Makefiles" >&5
1478 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1479 if test "${enable_maintainer_mode+set}" = set; then
1480 enableval="$enable_maintainer_mode"
1481 USE_MAINTAINER_MODE=$enableval
1482 else
1483 USE_MAINTAINER_MODE=no
1486 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1489 if test $USE_MAINTAINER_MODE = yes; then
1490 MAINTAINER_MODE_TRUE=
1491 MAINTAINER_MODE_FALSE='#'
1492 else
1493 MAINTAINER_MODE_TRUE='#'
1494 MAINTAINER_MODE_FALSE=
1496 MAINT=$MAINTAINER_MODE_TRUE
1500 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1501 # at least currently, we never actually build a program, so we never
1502 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1503 # fails, because we are probably configuring with a cross compiler
1504 # which cant create executables. So we include AC_EXEEXT to keep
1505 # automake happy, but we dont execute it, since we dont care about
1506 # the result.
1507 if false; then
1510 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1511 echo "configure:1512: checking for executable suffix" >&5
1512 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1513 echo $ac_n "(cached) $ac_c" 1>&6
1514 else
1515 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1516 ac_cv_exeext=.exe
1517 else
1518 rm -f conftest*
1519 echo 'int main () { return 0; }' > conftest.$ac_ext
1520 ac_cv_exeext=
1521 if { (eval echo configure:1522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1522 for file in conftest.*; do
1523 case $file in
1524 *.c | *.o | *.obj) ;;
1525 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1526 esac
1527 done
1528 else
1529 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1531 rm -f conftest*
1532 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1536 EXEEXT=""
1537 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1538 echo "$ac_t""${ac_cv_exeext}" 1>&6
1539 ac_exeext=$EXEEXT
1543 # configure.host sets the following important variables
1544 # glibcpp_cflags - host specific C compiler flags
1545 # glibcpp_cxxflags - host specific C++ compiler flags
1546 glibcpp_cflags=
1547 glibcpp_cxxflags=
1549 . ${glibcpp_basedir}/configure.host
1551 case ${glibcpp_basedir} in
1552 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1553 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1554 esac
1556 # This does for the target what configure.host does for the host. In
1557 # addition to modifying the same flags, it also sets up symlinks.
1559 . ${glibcpp_basedir}/configure.target
1560 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1561 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1565 GLIBCPP_CFLAGS="${glibcpp_cflags}"
1566 GLIBCPP_CXXFLAGS="${glibcpp_cxxflags}"
1572 # Check whether --enable-shared or --disable-shared was given.
1573 if test "${enable_shared+set}" = set; then
1574 enableval="$enable_shared"
1575 p=${PACKAGE-default}
1576 case "$enableval" in
1577 yes) enable_shared=yes ;;
1578 no) enable_shared=no ;;
1580 enable_shared=no
1581 # Look at the argument we got. We use all the common list separators.
1582 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1583 for pkg in $enableval; do
1584 if test "X$pkg" = "X$p"; then
1585 enable_shared=yes
1587 done
1588 IFS="$ac_save_ifs"
1590 esac
1591 else
1592 enable_shared=yes
1595 # Check whether --enable-static or --disable-static was given.
1596 if test "${enable_static+set}" = set; then
1597 enableval="$enable_static"
1598 p=${PACKAGE-default}
1599 case "$enableval" in
1600 yes) enable_static=yes ;;
1601 no) enable_static=no ;;
1603 enable_static=no
1604 # Look at the argument we got. We use all the common list separators.
1605 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1606 for pkg in $enableval; do
1607 if test "X$pkg" = "X$p"; then
1608 enable_static=yes
1610 done
1611 IFS="$ac_save_ifs"
1613 esac
1614 else
1615 enable_static=yes
1618 # Check whether --enable-fast-install or --disable-fast-install was given.
1619 if test "${enable_fast_install+set}" = set; then
1620 enableval="$enable_fast_install"
1621 p=${PACKAGE-default}
1622 case "$enableval" in
1623 yes) enable_fast_install=yes ;;
1624 no) enable_fast_install=no ;;
1626 enable_fast_install=no
1627 # Look at the argument we got. We use all the common list separators.
1628 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1629 for pkg in $enableval; do
1630 if test "X$pkg" = "X$p"; then
1631 enable_fast_install=yes
1633 done
1634 IFS="$ac_save_ifs"
1636 esac
1637 else
1638 enable_fast_install=yes
1641 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1642 if test "${with_gnu_ld+set}" = set; then
1643 withval="$with_gnu_ld"
1644 test "$withval" = no || with_gnu_ld=yes
1645 else
1646 with_gnu_ld=no
1649 ac_prog=ld
1650 if test "$ac_cv_prog_gcc" = yes; then
1651 # Check if gcc -print-prog-name=ld gives a path.
1652 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1653 echo "configure:1654: checking for ld used by GCC" >&5
1654 case $host in
1655 *-*-mingw*)
1656 # gcc leaves a trailing carriage return which upsets mingw
1657 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1659 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1660 esac
1661 case "$ac_prog" in
1662 # Accept absolute paths.
1663 [\\/]* | [A-Za-z]:[\\/]*)
1664 re_direlt='/[^/][^/]*/\.\./'
1665 # Canonicalize the path of ld
1666 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1667 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1668 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1669 done
1670 test -z "$LD" && LD="$ac_prog"
1673 # If it fails, then pretend we aren't using GCC.
1674 ac_prog=ld
1677 # If it is relative, then search for the first ld in PATH.
1678 with_gnu_ld=unknown
1680 esac
1681 elif test "$with_gnu_ld" = yes; then
1682 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1683 echo "configure:1684: checking for GNU ld" >&5
1684 else
1685 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1686 echo "configure:1687: checking for non-GNU ld" >&5
1688 if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
1689 echo $ac_n "(cached) $ac_c" 1>&6
1690 else
1691 if test -z "$LD"; then
1692 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1693 for ac_dir in $PATH; do
1694 test -z "$ac_dir" && ac_dir=.
1695 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1696 ac_cv_path_LD="$ac_dir/$ac_prog"
1697 # Check to see if the program is GNU ld. I'd rather use --version,
1698 # but apparently some GNU ld's only accept -v.
1699 # Break only if it was the GNU/non-GNU ld that we prefer.
1700 if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1701 test "$with_gnu_ld" != no && break
1702 else
1703 test "$with_gnu_ld" != yes && break
1706 done
1707 IFS="$ac_save_ifs"
1708 else
1709 ac_cv_path_LD="$LD" # Let the user override the test with a path.
1713 LD="$ac_cv_path_LD"
1714 if test -n "$LD"; then
1715 echo "$ac_t""$LD" 1>&6
1716 else
1717 echo "$ac_t""no" 1>&6
1719 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1720 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1721 echo "configure:1722: checking if the linker ($LD) is GNU ld" >&5
1722 if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
1723 echo $ac_n "(cached) $ac_c" 1>&6
1724 else
1725 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1726 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1727 ac_cv_prog_gnu_ld=yes
1728 else
1729 ac_cv_prog_gnu_ld=no
1733 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
1734 with_gnu_ld=$ac_cv_prog_gnu_ld
1737 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1738 echo "configure:1739: checking for $LD option to reload object files" >&5
1739 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1740 echo $ac_n "(cached) $ac_c" 1>&6
1741 else
1742 lt_cv_ld_reload_flag='-r'
1745 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1746 reload_flag=$lt_cv_ld_reload_flag
1747 test -n "$reload_flag" && reload_flag=" $reload_flag"
1749 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1750 echo "configure:1751: checking for BSD-compatible nm" >&5
1751 if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
1752 echo $ac_n "(cached) $ac_c" 1>&6
1753 else
1754 if test -n "$NM"; then
1755 # Let the user override the test.
1756 ac_cv_path_NM="$NM"
1757 else
1758 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1759 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1760 test -z "$ac_dir" && ac_dir=.
1761 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1762 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1763 # Check to see if the nm accepts a BSD-compat flag.
1764 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1765 # nm: unknown option "B" ignored
1766 # Tru64's nm complains that /dev/null is an invalid object file
1767 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1768 ac_cv_path_NM="$tmp_nm -B"
1769 break
1770 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1771 ac_cv_path_NM="$tmp_nm -p"
1772 break
1773 else
1774 ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but
1775 continue # so that we can try to find one that supports BSD flags
1778 done
1779 IFS="$ac_save_ifs"
1780 test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
1784 NM="$ac_cv_path_NM"
1785 echo "$ac_t""$NM" 1>&6
1787 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1788 echo "configure:1789: checking whether ln -s works" >&5
1789 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1790 echo $ac_n "(cached) $ac_c" 1>&6
1791 else
1792 rm -f conftestdata
1793 if ln -s X conftestdata 2>/dev/null
1794 then
1795 rm -f conftestdata
1796 ac_cv_prog_LN_S="ln -s"
1797 else
1798 ac_cv_prog_LN_S=ln
1801 LN_S="$ac_cv_prog_LN_S"
1802 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1803 echo "$ac_t""yes" 1>&6
1804 else
1805 echo "$ac_t""no" 1>&6
1808 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1809 echo "configure:1810: checking how to recognise dependant libraries" >&5
1810 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1811 echo $ac_n "(cached) $ac_c" 1>&6
1812 else
1813 lt_cv_file_magic_cmd='$MAGIC_CMD'
1814 lt_cv_file_magic_test_file=
1815 lt_cv_deplibs_check_method='unknown'
1816 # Need to set the preceding variable on all platforms that support
1817 # interlibrary dependencies.
1818 # 'none' -- dependencies not supported.
1819 # `unknown' -- same as none, but documents that we really don't know.
1820 # 'pass_all' -- all dependencies passed with no checks.
1821 # 'test_compile' -- check by making test program.
1822 # 'file_magic [regex]' -- check by looking for files in library path
1823 # which responds to the $file_magic_cmd with a given egrep regex.
1824 # If you have `file' or equivalent on your system and you're not sure
1825 # whether `pass_all' will *always* work, you probably want this one.
1827 case "$host_os" in
1828 aix4*)
1829 lt_cv_deplibs_check_method=pass_all
1832 beos*)
1833 lt_cv_deplibs_check_method=pass_all
1836 bsdi4*)
1837 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1838 lt_cv_file_magic_cmd='/usr/bin/file -L'
1839 lt_cv_file_magic_test_file=/shlib/libc.so
1842 cygwin* | mingw* |pw32*)
1843 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1844 lt_cv_file_magic_cmd='$OBJDUMP -f'
1847 freebsd* )
1848 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1849 case "$host_cpu" in
1850 i*86 )
1851 # Not sure whether the presence of OpenBSD here was a mistake.
1852 # Let's accept both of them until this is cleared up.
1853 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1854 lt_cv_file_magic_cmd=/usr/bin/file
1855 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1857 esac
1858 else
1859 lt_cv_deplibs_check_method=pass_all
1863 gnu*)
1864 lt_cv_deplibs_check_method=pass_all
1867 hpux10.20*)
1868 # TODO: Does this work for hpux-11 too?
1869 lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library'
1870 lt_cv_file_magic_cmd=/usr/bin/file
1871 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1874 irix5* | irix6*)
1875 case "$host_os" in
1876 irix5*)
1877 # this will be overridden with pass_all, but let us keep it just in case
1878 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1881 case "$LD" in
1882 *-32|*"-32 ") libmagic=32-bit;;
1883 *-n32|*"-n32 ") libmagic=N32;;
1884 *-64|*"-64 ") libmagic=64-bit;;
1885 *) libmagic=never-match;;
1886 esac
1887 # this will be overridden with pass_all, but let us keep it just in case
1888 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
1890 esac
1891 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1892 lt_cv_deplibs_check_method=pass_all
1895 # This must be Linux ELF.
1896 linux-gnu*)
1897 case "$host_cpu" in
1898 alpha* | i*86 | powerpc* | sparc* | ia64* )
1899 lt_cv_deplibs_check_method=pass_all ;;
1901 # glibc up to 2.1.1 does not perform some relocations on ARM
1902 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
1903 esac
1904 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
1907 netbsd*)
1908 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then :
1909 else
1910 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
1911 lt_cv_file_magic_cmd='/usr/bin/file -L'
1912 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1916 osf3* | osf4* | osf5*)
1917 # this will be overridden with pass_all, but let us keep it just in case
1918 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
1919 lt_cv_file_magic_test_file=/shlib/libc.so
1920 lt_cv_deplibs_check_method=pass_all
1923 sco3.2v5*)
1924 lt_cv_deplibs_check_method=pass_all
1927 solaris*)
1928 lt_cv_deplibs_check_method=pass_all
1929 lt_cv_file_magic_test_file=/lib/libc.so
1932 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1933 case "$host_vendor" in
1934 ncr)
1935 lt_cv_deplibs_check_method=pass_all
1937 motorola)
1938 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]'
1939 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1941 esac
1943 esac
1947 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
1948 file_magic_cmd=$lt_cv_file_magic_cmd
1949 deplibs_check_method=$lt_cv_deplibs_check_method
1951 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
1952 echo "configure:1953: checking for object suffix" >&5
1953 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
1954 echo $ac_n "(cached) $ac_c" 1>&6
1955 else
1956 rm -f conftest*
1957 echo 'int i = 1;' > conftest.$ac_ext
1958 if { (eval echo configure:1959: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1959 for ac_file in conftest.*; do
1960 case $ac_file in
1961 *.c) ;;
1962 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
1963 esac
1964 done
1965 else
1966 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
1968 rm -f conftest*
1971 echo "$ac_t""$ac_cv_objext" 1>&6
1972 OBJEXT=$ac_cv_objext
1973 ac_objext=$ac_cv_objext
1975 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
1977 # Only perform the check for file, if the check method requires it
1978 case "$deplibs_check_method" in
1979 file_magic*)
1980 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1981 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
1982 echo "configure:1983: checking for ${ac_tool_prefix}file" >&5
1983 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
1984 echo $ac_n "(cached) $ac_c" 1>&6
1985 else
1986 case "$MAGIC_CMD" in
1988 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
1990 ?:/*)
1991 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
1994 ac_save_MAGIC_CMD="$MAGIC_CMD"
1995 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1996 ac_dummy="/usr/bin:$PATH"
1997 for ac_dir in $ac_dummy; do
1998 test -z "$ac_dir" && ac_dir=.
1999 if test -f $ac_dir/${ac_tool_prefix}file; then
2000 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2001 if test -n "$file_magic_test_file"; then
2002 case "$deplibs_check_method" in
2003 "file_magic "*)
2004 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2005 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2006 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2007 egrep "$file_magic_regex" > /dev/null; then
2009 else
2010 cat <<EOF 1>&2
2012 *** Warning: the command libtool uses to detect shared libraries,
2013 *** $file_magic_cmd, produces output that libtool cannot recognize.
2014 *** The result is that libtool may fail to recognize shared libraries
2015 *** as such. This will affect the creation of libtool libraries that
2016 *** depend on shared libraries, but programs linked with such libtool
2017 *** libraries will work regardless of this problem. Nevertheless, you
2018 *** may want to report the problem to your system manager and/or to
2019 *** bug-libtool@gnu.org
2022 fi ;;
2023 esac
2025 break
2027 done
2028 IFS="$ac_save_ifs"
2029 MAGIC_CMD="$ac_save_MAGIC_CMD"
2031 esac
2034 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2035 if test -n "$MAGIC_CMD"; then
2036 echo "$ac_t""$MAGIC_CMD" 1>&6
2037 else
2038 echo "$ac_t""no" 1>&6
2041 if test -z "$lt_cv_path_MAGIC_CMD"; then
2042 if test -n "$ac_tool_prefix"; then
2043 echo $ac_n "checking for file""... $ac_c" 1>&6
2044 echo "configure:2045: checking for file" >&5
2045 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2046 echo $ac_n "(cached) $ac_c" 1>&6
2047 else
2048 case "$MAGIC_CMD" in
2050 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2052 ?:/*)
2053 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2056 ac_save_MAGIC_CMD="$MAGIC_CMD"
2057 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2058 ac_dummy="/usr/bin:$PATH"
2059 for ac_dir in $ac_dummy; do
2060 test -z "$ac_dir" && ac_dir=.
2061 if test -f $ac_dir/file; then
2062 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2063 if test -n "$file_magic_test_file"; then
2064 case "$deplibs_check_method" in
2065 "file_magic "*)
2066 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2067 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2068 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2069 egrep "$file_magic_regex" > /dev/null; then
2071 else
2072 cat <<EOF 1>&2
2074 *** Warning: the command libtool uses to detect shared libraries,
2075 *** $file_magic_cmd, produces output that libtool cannot recognize.
2076 *** The result is that libtool may fail to recognize shared libraries
2077 *** as such. This will affect the creation of libtool libraries that
2078 *** depend on shared libraries, but programs linked with such libtool
2079 *** libraries will work regardless of this problem. Nevertheless, you
2080 *** may want to report the problem to your system manager and/or to
2081 *** bug-libtool@gnu.org
2084 fi ;;
2085 esac
2087 break
2089 done
2090 IFS="$ac_save_ifs"
2091 MAGIC_CMD="$ac_save_MAGIC_CMD"
2093 esac
2096 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2097 if test -n "$MAGIC_CMD"; then
2098 echo "$ac_t""$MAGIC_CMD" 1>&6
2099 else
2100 echo "$ac_t""no" 1>&6
2103 else
2104 MAGIC_CMD=:
2110 esac
2112 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2113 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2114 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2115 echo "configure:2116: checking for $ac_word" >&5
2116 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2117 echo $ac_n "(cached) $ac_c" 1>&6
2118 else
2119 if test -n "$RANLIB"; then
2120 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2121 else
2122 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2123 ac_dummy="$PATH"
2124 for ac_dir in $ac_dummy; do
2125 test -z "$ac_dir" && ac_dir=.
2126 if test -f $ac_dir/$ac_word; then
2127 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2128 break
2130 done
2131 IFS="$ac_save_ifs"
2134 RANLIB="$ac_cv_prog_RANLIB"
2135 if test -n "$RANLIB"; then
2136 echo "$ac_t""$RANLIB" 1>&6
2137 else
2138 echo "$ac_t""no" 1>&6
2142 if test -z "$ac_cv_prog_RANLIB"; then
2143 if test -n "$ac_tool_prefix"; then
2144 # Extract the first word of "ranlib", so it can be a program name with args.
2145 set dummy ranlib; ac_word=$2
2146 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2147 echo "configure:2148: checking for $ac_word" >&5
2148 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2149 echo $ac_n "(cached) $ac_c" 1>&6
2150 else
2151 if test -n "$RANLIB"; then
2152 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2153 else
2154 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2155 ac_dummy="$PATH"
2156 for ac_dir in $ac_dummy; do
2157 test -z "$ac_dir" && ac_dir=.
2158 if test -f $ac_dir/$ac_word; then
2159 ac_cv_prog_RANLIB="ranlib"
2160 break
2162 done
2163 IFS="$ac_save_ifs"
2164 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2167 RANLIB="$ac_cv_prog_RANLIB"
2168 if test -n "$RANLIB"; then
2169 echo "$ac_t""$RANLIB" 1>&6
2170 else
2171 echo "$ac_t""no" 1>&6
2174 else
2175 RANLIB=":"
2179 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2180 set dummy ${ac_tool_prefix}strip; ac_word=$2
2181 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2182 echo "configure:2183: checking for $ac_word" >&5
2183 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2184 echo $ac_n "(cached) $ac_c" 1>&6
2185 else
2186 if test -n "$STRIP"; then
2187 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2188 else
2189 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2190 ac_dummy="$PATH"
2191 for ac_dir in $ac_dummy; do
2192 test -z "$ac_dir" && ac_dir=.
2193 if test -f $ac_dir/$ac_word; then
2194 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2195 break
2197 done
2198 IFS="$ac_save_ifs"
2201 STRIP="$ac_cv_prog_STRIP"
2202 if test -n "$STRIP"; then
2203 echo "$ac_t""$STRIP" 1>&6
2204 else
2205 echo "$ac_t""no" 1>&6
2209 if test -z "$ac_cv_prog_STRIP"; then
2210 if test -n "$ac_tool_prefix"; then
2211 # Extract the first word of "strip", so it can be a program name with args.
2212 set dummy strip; ac_word=$2
2213 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2214 echo "configure:2215: checking for $ac_word" >&5
2215 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2216 echo $ac_n "(cached) $ac_c" 1>&6
2217 else
2218 if test -n "$STRIP"; then
2219 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2220 else
2221 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2222 ac_dummy="$PATH"
2223 for ac_dir in $ac_dummy; do
2224 test -z "$ac_dir" && ac_dir=.
2225 if test -f $ac_dir/$ac_word; then
2226 ac_cv_prog_STRIP="strip"
2227 break
2229 done
2230 IFS="$ac_save_ifs"
2231 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2234 STRIP="$ac_cv_prog_STRIP"
2235 if test -n "$STRIP"; then
2236 echo "$ac_t""$STRIP" 1>&6
2237 else
2238 echo "$ac_t""no" 1>&6
2241 else
2242 STRIP=":"
2247 # Check for any special flags to pass to ltconfig.
2248 libtool_flags="--cache-file=$cache_file"
2249 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2250 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2251 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2252 test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
2253 test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2254 libtool_flags="$libtool_flags --enable-dlopen"
2256 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2257 if test "${enable_libtool_lock+set}" = set; then
2258 enableval="$enable_libtool_lock"
2262 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2263 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2265 # Check whether --with-pic or --without-pic was given.
2266 if test "${with_pic+set}" = set; then
2267 withval="$with_pic"
2268 pic_mode="$withval"
2269 else
2270 pic_mode=default
2273 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2274 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2276 # Some flags need to be propagated to the compiler or linker for good
2277 # libtool support.
2278 case "$host" in
2279 *-*-irix6*)
2280 # Find out which ABI we are using.
2281 echo '#line 2282 "configure"' > conftest.$ac_ext
2282 if { (eval echo configure:2283: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2283 case "`/usr/bin/file conftest.o`" in
2284 *32-bit*)
2285 LD="${LD-ld} -32"
2287 *N32*)
2288 LD="${LD-ld} -n32"
2290 *64-bit*)
2291 LD="${LD-ld} -64"
2293 esac
2295 rm -rf conftest*
2298 *-*-sco3.2v5*)
2299 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2300 SAVE_CFLAGS="$CFLAGS"
2301 CFLAGS="$CFLAGS -belf"
2302 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2303 echo "configure:2304: checking whether the C compiler needs -belf" >&5
2304 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2305 echo $ac_n "(cached) $ac_c" 1>&6
2306 else
2308 ac_ext=c
2309 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2310 ac_cpp='$CPP $CPPFLAGS'
2311 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2312 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2313 cross_compiling=$ac_cv_prog_cc_cross
2315 cat > conftest.$ac_ext <<EOF
2316 #line 2317 "configure"
2317 #include "confdefs.h"
2319 int main() {
2321 ; return 0; }
2323 if { (eval echo configure:2324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2324 rm -rf conftest*
2325 lt_cv_cc_needs_belf=yes
2326 else
2327 echo "configure: failed program was:" >&5
2328 cat conftest.$ac_ext >&5
2329 rm -rf conftest*
2330 lt_cv_cc_needs_belf=no
2332 rm -f conftest*
2333 ac_ext=c
2334 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2335 ac_cpp='$CPP $CPPFLAGS'
2336 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2337 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2338 cross_compiling=$ac_cv_prog_cc_cross
2342 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2343 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2344 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2345 CFLAGS="$SAVE_CFLAGS"
2350 esac
2352 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2353 echo "configure:2354: checking how to run the C++ preprocessor" >&5
2354 if test -z "$CXXCPP"; then
2355 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2356 echo $ac_n "(cached) $ac_c" 1>&6
2357 else
2358 ac_ext=C
2359 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2360 ac_cpp='$CXXCPP $CPPFLAGS'
2361 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2362 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2363 cross_compiling=$ac_cv_prog_cxx_cross
2364 CXXCPP="${CXX-g++} -E"
2365 cat > conftest.$ac_ext <<EOF
2366 #line 2367 "configure"
2367 #include "confdefs.h"
2368 #include <stdlib.h>
2370 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2371 { (eval echo configure:2372: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2372 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2373 if test -z "$ac_err"; then
2375 else
2376 echo "$ac_err" >&5
2377 echo "configure: failed program was:" >&5
2378 cat conftest.$ac_ext >&5
2379 rm -rf conftest*
2380 CXXCPP=/lib/cpp
2382 rm -f conftest*
2383 ac_cv_prog_CXXCPP="$CXXCPP"
2384 ac_ext=c
2385 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2386 ac_cpp='$CPP $CPPFLAGS'
2387 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2388 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2389 cross_compiling=$ac_cv_prog_cc_cross
2392 CXXCPP="$ac_cv_prog_CXXCPP"
2393 echo "$ac_t""$CXXCPP" 1>&6
2396 # Save cache, so that ltconfig can load it
2397 cat > confcache <<\EOF
2398 # This file is a shell script that caches the results of configure
2399 # tests run on this system so they can be shared between configure
2400 # scripts and configure runs. It is not useful on other systems.
2401 # If it contains results you don't want to keep, you may remove or edit it.
2403 # By default, configure uses ./config.cache as the cache file,
2404 # creating it if it does not exist already. You can give configure
2405 # the --cache-file=FILE option to use a different cache file; that is
2406 # what configure does when it calls configure scripts in
2407 # subdirectories, so they share the cache.
2408 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2409 # config.status only pays attention to the cache file if you give it the
2410 # --recheck option to rerun configure.
2413 # The following way of writing the cache mishandles newlines in values,
2414 # but we know of no workaround that is simple, portable, and efficient.
2415 # So, don't put newlines in cache variables' values.
2416 # Ultrix sh set writes to stderr and can't be redirected directly,
2417 # and sets the high bit in the cache file unless we assign to the vars.
2418 (set) 2>&1 |
2419 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2420 *ac_space=\ *)
2421 # `set' does not quote correctly, so add quotes (double-quote substitution
2422 # turns \\\\ into \\, and sed turns \\ into \).
2423 sed -n \
2424 -e "s/'/'\\\\''/g" \
2425 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2428 # `set' quotes correctly as required by POSIX, so do not add quotes.
2429 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2431 esac >> confcache
2432 if cmp -s $cache_file confcache; then
2434 else
2435 if test -w $cache_file; then
2436 echo "updating cache $cache_file"
2437 cat confcache > $cache_file
2438 else
2439 echo "not updating unwritable cache $cache_file"
2442 rm -f confcache
2445 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2446 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2447 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2448 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2449 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2450 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2451 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2452 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2453 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2454 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2456 # Reload cache, that may have been modified by ltconfig
2457 if test -r "$cache_file"; then
2458 echo "loading cache $cache_file"
2459 . $cache_file
2460 else
2461 echo "creating cache $cache_file"
2462 > $cache_file
2466 # This can be used to rebuild libtool when needed
2467 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2469 # Always use our own libtool.
2470 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2472 # Redirect the config.log output again, so that the ltconfig log is not
2473 # clobbered by the next message.
2474 exec 5>>./config.log
2479 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2480 lt_save_CC="$CC"
2481 lt_save_CFLAGS="$CFLAGS"
2482 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2483 MAGIC_CMD="$MAGIC_CMD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2484 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2485 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2486 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2487 deplibs_check_method="$deplibs_check_method" \
2488 file_magic_cmd="$file_magic_cmd" \
2489 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2490 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2491 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2492 CC="$lt_save_CC"
2493 CFLAGS="$lt_save_CFLAGS"
2495 # Redirect the config.log output again, so that the ltconfig log is not
2496 # clobbered by the next message.
2497 exec 5>>./config.log
2507 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2508 echo "configure:2509: checking for GNU make" >&5
2509 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2510 echo $ac_n "(cached) $ac_c" 1>&6
2511 else
2512 _cv_gnu_make_command='' ;
2513 for a in "${MAKE-make}" make gmake gnumake ; do
2514 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2515 then
2516 _cv_gnu_make_command=$a ;
2517 break;
2519 done ;
2523 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2524 if test "x$_cv_gnu_make_command" != "x" ; then
2525 ifGNUmake='' ;
2526 else
2527 ifGNUmake='#' ;
2531 if test "x$_cv_gnu_make_command" = "x"; then
2532 { echo "configure: error: GNU make not found. Please install it or correct your path." 1>&2; exit 1; }
2538 # Check for c++ or library specific bits that don't require linking.
2540 if test ! -f stamp-sanity-compiler; then
2541 echo $ac_n "checking for g++ that will successfully compile libstdc++-v3""... $ac_c" 1>&6
2542 echo "configure:2543: checking for g++ that will successfully compile libstdc++-v3" >&5
2544 ac_ext=C
2545 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2546 ac_cpp='$CXXCPP $CPPFLAGS'
2547 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2548 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2549 cross_compiling=$ac_cv_prog_cxx_cross
2551 cat > conftest.$ac_ext <<EOF
2552 #line 2553 "configure"
2553 #include "confdefs.h"
2555 #if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
2557 #endif
2560 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2561 egrep "ok" >/dev/null 2>&1; then
2562 rm -rf conftest*
2563 gpp_satisfactory=yes
2564 else
2565 rm -rf conftest*
2566 { echo "configure: error: please upgrade to gcc-2.95 or above" 1>&2; exit 1; }
2568 rm -f conftest*
2570 ac_ext=c
2571 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2572 ac_cpp='$CPP $CPPFLAGS'
2573 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2574 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2575 cross_compiling=$ac_cv_prog_cc_cross
2577 echo "$ac_t""$gpp_satisfactory" 1>&6
2578 touch stamp-sanity-compiler
2582 # Enable all the crazy c++ stuff. C_MBCHAR must come early.
2583 # Check whether --enable-debug or --disable-debug was given.
2584 if test "${enable_debug+set}" = set; then
2585 enableval="$enable_debug"
2586 case "${enableval}" in
2587 yes) enable_debug=yes ;;
2588 no) enable_debug=no ;;
2589 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2590 esac
2591 else
2592 enable_debug=no
2595 case "${enable_debug}" in
2596 yes)
2597 DEBUG_FLAGS='-O0 -ggdb3'
2599 no)
2600 DEBUG_FLAGS='-g'
2602 esac
2605 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2606 echo "configure:2607: checking how to run the C preprocessor" >&5
2607 # On Suns, sometimes $CPP names a directory.
2608 if test -n "$CPP" && test -d "$CPP"; then
2609 CPP=
2611 if test -z "$CPP"; then
2612 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2613 echo $ac_n "(cached) $ac_c" 1>&6
2614 else
2615 # This must be in double quotes, not single quotes, because CPP may get
2616 # substituted into the Makefile and "${CC-cc}" will confuse make.
2617 CPP="${CC-cc} -E"
2618 # On the NeXT, cc -E runs the code through the compiler's parser,
2619 # not just through cpp.
2620 cat > conftest.$ac_ext <<EOF
2621 #line 2622 "configure"
2622 #include "confdefs.h"
2623 #include <assert.h>
2624 Syntax Error
2626 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2627 { (eval echo configure:2628: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2628 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2629 if test -z "$ac_err"; then
2631 else
2632 echo "$ac_err" >&5
2633 echo "configure: failed program was:" >&5
2634 cat conftest.$ac_ext >&5
2635 rm -rf conftest*
2636 CPP="${CC-cc} -E -traditional-cpp"
2637 cat > conftest.$ac_ext <<EOF
2638 #line 2639 "configure"
2639 #include "confdefs.h"
2640 #include <assert.h>
2641 Syntax Error
2643 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2644 { (eval echo configure:2645: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2645 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2646 if test -z "$ac_err"; then
2648 else
2649 echo "$ac_err" >&5
2650 echo "configure: failed program was:" >&5
2651 cat conftest.$ac_ext >&5
2652 rm -rf conftest*
2653 CPP="${CC-cc} -nologo -E"
2654 cat > conftest.$ac_ext <<EOF
2655 #line 2656 "configure"
2656 #include "confdefs.h"
2657 #include <assert.h>
2658 Syntax Error
2660 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2661 { (eval echo configure:2662: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2662 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2663 if test -z "$ac_err"; then
2665 else
2666 echo "$ac_err" >&5
2667 echo "configure: failed program was:" >&5
2668 cat conftest.$ac_ext >&5
2669 rm -rf conftest*
2670 CPP=/lib/cpp
2672 rm -f conftest*
2674 rm -f conftest*
2676 rm -f conftest*
2677 ac_cv_prog_CPP="$CPP"
2679 CPP="$ac_cv_prog_CPP"
2680 else
2681 ac_cv_prog_CPP="$CPP"
2683 echo "$ac_t""$CPP" 1>&6
2686 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2687 echo "configure:2688: checking for cstdio to use" >&5
2688 # Check whether --enable-cstdio or --disable-cstdio was given.
2689 if test "${enable_cstdio+set}" = set; then
2690 enableval="$enable_cstdio"
2691 if test x$enable_cstdio = xno; then
2692 enable_cstdio=stdio
2694 else
2695 enable_cstdio=stdio
2699 enable_cstdio_flag=$enable_cstdio
2701 case x${enable_cstdio_flag} in
2702 xlibio)
2703 CSTDIO_H=config/c_io_libio.h
2704 CSTDIO_CC=config/c_io_libio.cc
2705 echo "$ac_t""libio" 1>&6
2707 # see if we are on a system with libio native (ie, linux)
2708 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2709 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2710 echo "configure:2711: checking for libio.h" >&5
2711 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2712 echo $ac_n "(cached) $ac_c" 1>&6
2713 else
2714 cat > conftest.$ac_ext <<EOF
2715 #line 2716 "configure"
2716 #include "confdefs.h"
2717 #include <libio.h>
2719 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2720 { (eval echo configure:2721: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2721 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2722 if test -z "$ac_err"; then
2723 rm -rf conftest*
2724 eval "ac_cv_header_$ac_safe=yes"
2725 else
2726 echo "$ac_err" >&5
2727 echo "configure: failed program was:" >&5
2728 cat conftest.$ac_ext >&5
2729 rm -rf conftest*
2730 eval "ac_cv_header_$ac_safe=no"
2732 rm -f conftest*
2734 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2735 echo "$ac_t""yes" 1>&6
2736 has_libio=yes
2737 else
2738 echo "$ac_t""no" 1>&6
2739 has_libio=no
2743 # Need to check and see what version of glibc is being used. If
2744 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2745 # compile most of libio for linux systems.
2746 if test x$has_libio = x"yes"; then
2747 case "$target" in
2748 *-*-linux*)
2749 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2750 echo "configure:2751: checking for glibc version >= 2.2" >&5
2751 cat > conftest.$ac_ext <<EOF
2752 #line 2753 "configure"
2753 #include "confdefs.h"
2755 #include <features.h>
2756 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2758 #endif
2761 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2762 egrep "ok" >/dev/null 2>&1; then
2763 rm -rf conftest*
2764 glibc_satisfactory=yes
2765 else
2766 rm -rf conftest*
2767 glibc_satisfactory=no
2769 rm -f conftest*
2771 echo "$ac_t""$glibc_satisfactory" 1>&6
2773 esac
2775 # XXX at the moment, admit defeat and force the recompilation
2776 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2777 glibc_satisfactory=no
2779 if test x$glibc_satisfactory = x"yes"; then
2780 need_libio=no
2781 need_wlibio=no
2782 else
2783 need_libio=yes
2784 # bkoz XXX need to add checks to enable this
2785 # pme XXX here's a first pass at such a check
2786 if test x$enable_c_mbchar != xno; then
2787 need_wlibio=yes
2788 else
2789 need_wlibio=no
2793 else
2794 # Using libio, but <libio.h> doesn't exist on the target system. . .
2795 need_libio=yes
2796 # bkoz XXX need to add checks to enable this
2797 # pme XXX here's a first pass at such a check
2798 if test x$enable_c_mbchar != xno; then
2799 need_wlibio=yes
2800 else
2801 need_wlibio=no
2805 xstdio | x | xno | xnone | xyes)
2806 # default
2807 CSTDIO_H=config/c_io_stdio.h
2808 CSTDIO_CC=config/c_io_stdio.cc
2809 echo "$ac_t""stdio" 1>&6
2811 # We're not using stdio.
2812 need_libio=no
2813 need_wlibio=no
2814 # Wide characters are not supported with this package.
2815 enable_c_mbchar=no
2818 echo "$enable_cstdio is an unknown io package" 1>&2
2819 exit 1
2821 esac
2825 # 2000-08-04 bkoz hack
2826 CCODECVT_C=config/c_io_libio_codecvt.c
2828 # 2000-08-04 bkoz hack
2832 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2833 GLIBCPP_BUILD_LIBIO_TRUE=
2834 GLIBCPP_BUILD_LIBIO_FALSE='#'
2835 else
2836 GLIBCPP_BUILD_LIBIO_TRUE='#'
2837 GLIBCPP_BUILD_LIBIO_FALSE=
2841 if test "$need_libio" = yes; then
2842 GLIBCPP_NEED_LIBIO_TRUE=
2843 GLIBCPP_NEED_LIBIO_FALSE='#'
2844 else
2845 GLIBCPP_NEED_LIBIO_TRUE='#'
2846 GLIBCPP_NEED_LIBIO_FALSE=
2850 if test "$need_wlibio" = yes; then
2851 GLIBCPP_NEED_WLIBIO_TRUE=
2852 GLIBCPP_NEED_WLIBIO_FALSE='#'
2853 else
2854 GLIBCPP_NEED_WLIBIO_TRUE='#'
2855 GLIBCPP_NEED_WLIBIO_FALSE=
2857 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2858 libio_la=../libio/libio.la
2859 else
2860 libio_la=
2864 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
2865 if test "${enable_c_mbchar+set}" = set; then
2866 enableval="$enable_c_mbchar"
2867 case "$enableval" in
2868 yes) enable_c_mbchar=yes ;;
2869 no) enable_c_mbchar=no ;;
2870 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
2871 esac
2872 else
2873 enable_c_mbchar=yes
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=no
2889 # Allow use of os-dependent settings, so that macros that turn on
2890 # C99 capabilities can be defined and used in a consistent way.
2891 OS_INC_PATH=${srcdir}/$os_include_dir
2892 ac_test_CFLAGS="${CFLAGS+set}"
2893 ac_save_CFLAGS="$CFLAGS"
2894 CFLAGS="-I$OS_INC_PATH"
2896 # Check for the existence of functions used if long long is enabled.
2897 echo $ac_n "checking for strtoll""... $ac_c" 1>&6
2898 echo "configure:2899: checking for strtoll" >&5
2899 if eval "test \"`echo '$''{'ac_cv_func_strtoll'+set}'`\" = set"; then
2900 echo $ac_n "(cached) $ac_c" 1>&6
2901 else
2902 cat > conftest.$ac_ext <<EOF
2903 #line 2904 "configure"
2904 #include "confdefs.h"
2905 /* System header to define __stub macros and hopefully few prototypes,
2906 which can conflict with char strtoll(); below. */
2907 #include <assert.h>
2908 /* Override any gcc2 internal prototype to avoid an error. */
2909 /* We use char because int might match the return type of a gcc2
2910 builtin and then its argument prototype would still apply. */
2911 char strtoll();
2913 int main() {
2915 /* The GNU C library defines this for functions which it implements
2916 to always fail with ENOSYS. Some functions are actually named
2917 something starting with __ and the normal name is an alias. */
2918 #if defined (__stub_strtoll) || defined (__stub___strtoll)
2919 choke me
2920 #else
2921 strtoll();
2922 #endif
2924 ; return 0; }
2926 if { (eval echo configure:2927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2927 rm -rf conftest*
2928 eval "ac_cv_func_strtoll=yes"
2929 else
2930 echo "configure: failed program was:" >&5
2931 cat conftest.$ac_ext >&5
2932 rm -rf conftest*
2933 eval "ac_cv_func_strtoll=no"
2935 rm -f conftest*
2938 if eval "test \"`echo '$ac_cv_func_'strtoll`\" = yes"; then
2939 echo "$ac_t""yes" 1>&6
2941 else
2942 echo "$ac_t""no" 1>&6
2943 ac_strtoll=no
2946 echo $ac_n "checking for strtoull""... $ac_c" 1>&6
2947 echo "configure:2948: checking for strtoull" >&5
2948 if eval "test \"`echo '$''{'ac_cv_func_strtoull'+set}'`\" = set"; then
2949 echo $ac_n "(cached) $ac_c" 1>&6
2950 else
2951 cat > conftest.$ac_ext <<EOF
2952 #line 2953 "configure"
2953 #include "confdefs.h"
2954 /* System header to define __stub macros and hopefully few prototypes,
2955 which can conflict with char strtoull(); below. */
2956 #include <assert.h>
2957 /* Override any gcc2 internal prototype to avoid an error. */
2958 /* We use char because int might match the return type of a gcc2
2959 builtin and then its argument prototype would still apply. */
2960 char strtoull();
2962 int main() {
2964 /* The GNU C library defines this for functions which it implements
2965 to always fail with ENOSYS. Some functions are actually named
2966 something starting with __ and the normal name is an alias. */
2967 #if defined (__stub_strtoull) || defined (__stub___strtoull)
2968 choke me
2969 #else
2970 strtoull();
2971 #endif
2973 ; return 0; }
2975 if { (eval echo configure:2976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2976 rm -rf conftest*
2977 eval "ac_cv_func_strtoull=yes"
2978 else
2979 echo "configure: failed program was:" >&5
2980 cat conftest.$ac_ext >&5
2981 rm -rf conftest*
2982 eval "ac_cv_func_strtoull=no"
2984 rm -f conftest*
2987 if eval "test \"`echo '$ac_cv_func_'strtoull`\" = yes"; then
2988 echo "$ac_t""yes" 1>&6
2990 else
2991 echo "$ac_t""no" 1>&6
2992 ac_strtoull=no
2996 # Check for lldiv_t, et. al.
2997 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
2998 echo "configure:2999: checking for lldiv_t declaration" >&5
2999 if eval "test \"`echo '$''{'glibcpp_lldiv_t_use'+set}'`\" = set"; then
3000 echo $ac_n "(cached) $ac_c" 1>&6
3001 else
3003 cat > conftest.$ac_ext <<EOF
3004 #line 3005 "configure"
3005 #include "confdefs.h"
3006 #include <bits/os_defines.h>
3007 #include <stdlib.h>
3008 int main() {
3009 lldiv_t mydivt;
3010 ; return 0; }
3012 if { (eval echo configure:3013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3013 rm -rf conftest*
3014 glibcpp_lldiv_t_use=yes
3015 else
3016 echo "configure: failed program was:" >&5
3017 cat conftest.$ac_ext >&5
3018 rm -rf conftest*
3019 glibcpp_lldiv_t_use=no
3021 rm -f conftest*
3025 echo "$ac_t""$glibcpp_lldiv_t_use" 1>&6
3026 if test x$glibcpp_lldiv_t_use = x"yes"; then
3027 cat >> confdefs.h <<\EOF
3028 #define HAVE_LLDIV_T 1
3033 echo $ac_n "checking for enabled long long""... $ac_c" 1>&6
3034 echo "configure:3035: checking for enabled long long" >&5
3035 if test x"$ac_strtoll" = xno || test x"$ac_strtoull" = xno; then
3036 enable_long_long=no;
3037 fi;
3038 echo "$ac_t""$enable_long_long" 1>&6
3040 # Option parsed, now set things appropriately
3041 if test x"$enable_long_long" = xyes; then
3042 cat >> confdefs.h <<\EOF
3043 #define _GLIBCPP_USE_LONG_LONG 1
3048 # Reset CFLAGS
3049 CFLAGS="$ac_save_CFLAGS"
3051 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3052 echo "configure:3053: checking for c header strategy to use" >&5
3053 # Check whether --enable-cheaders or --disable-cheaders was given.
3054 if test "${enable_cheaders+set}" = set; then
3055 enableval="$enable_cheaders"
3057 case "$enableval" in
3059 enable_cheaders=c
3061 c_std)
3062 enable_cheaders=c_std
3064 c_shadow)
3065 enable_cheaders=c_shadow
3067 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3069 esac
3070 else
3071 enable_cheaders=c_std
3074 echo "$ac_t""$enable_cheaders" 1>&6
3076 case "$enable_cheaders" in
3077 c_shadow)
3078 CSHADOW_FLAGS="-fno-builtin"
3079 C_INCLUDE_DIR='${top_srcdir}/include/c_shadow'
3080 cat >> confdefs.h <<\EOF
3081 #define _GLIBCPP_USE_SHADOW_HEADERS 1
3085 c_std)
3086 CSHADOW_FLAGS=""
3087 C_INCLUDE_DIR='${top_srcdir}/include/c_std'
3090 CSHADOW_FLAGS=""
3091 C_INCLUDE_DIR='${top_srcdir}/include/c'
3093 esac
3099 if test "$enable_cheaders" = c_shadow; then
3100 GLIBCPP_USE_CSHADOW_TRUE=
3101 GLIBCPP_USE_CSHADOW_FALSE='#'
3102 else
3103 GLIBCPP_USE_CSHADOW_TRUE='#'
3104 GLIBCPP_USE_CSHADOW_FALSE=
3108 echo $ac_n "checking for threads package to use""... $ac_c" 1>&6
3109 echo "configure:3110: checking for threads package to use" >&5
3110 # Check whether --enable-threads or --disable-threads was given.
3111 if test "${enable_threads+set}" = set; then
3112 enableval="$enable_threads"
3113 if test x$enable_threads = xno; then
3114 enable_threads=''
3116 else
3117 enable_threads=''
3121 enable_threads_flag=$enable_threads
3123 case x${enable_threads_flag} in
3124 x | xno | xnone)
3125 # No threads
3126 target_thread_file='single'
3128 xyes)
3129 # default
3130 target_thread_file='posix'
3132 xdecosf1 | xirix | xmach | xos2 | xposix | xpthreads | xsingle | \
3133 xsolaris | xwin32 | xdce | xvxworks)
3134 target_thread_file=$enable_threads_flag
3137 echo "$enable_threads is an unknown thread package" 1>&2
3138 exit 1
3140 esac
3142 THREADH=
3143 case "$target_thread_file" in
3144 no | none | single)
3145 THREADH=threads-no.h
3147 posix | pthreads)
3148 THREADH=threads-posix.h
3150 decosf1 | irix | mach | os2 | solaris | win32 | dce | vxworks)
3151 { echo "configure: error: thread package $THREADS not yet supported" 1>&2; exit 1; }
3154 { echo "configure: error: $THREADS is an unsupported/unknown thread package" 1>&2; exit 1; }
3156 esac
3157 echo "$ac_t""$THREADH" 1>&6
3160 if test $THREADH != threads-no.h; then
3161 cat >> confdefs.h <<\EOF
3162 #define _GLIBCPP_USE_THREADS 1
3167 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3168 if test "${enable_cxx_flags+set}" = set; then
3169 enableval="$enable_cxx_flags"
3170 case "x$enableval" in
3171 xyes)
3172 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3173 xno|x)
3174 enable_cxx_flags='' ;;
3176 enable_cxx_flags="$enableval" ;;
3177 esac
3178 else
3179 enable_cxx_flags='none'
3183 if test "$enable_cxx_flags" = "none"; then
3184 enable_cxx_flags='';
3187 if test -n "$enable_cxx_flags"; then
3188 for f in $enable_cxx_flags; do
3189 case "$f" in
3190 -fhonor-std) ;;
3191 -*) ;;
3192 *) # and we're trying to pass /what/ exactly?
3193 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3194 esac
3195 done
3197 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3201 if test -n "$with_cross_host"; then
3203 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
3204 # may not work correctly, because the compiler may not be able to
3205 # link executables.
3206 xcompiling=1
3207 NATIVE=no
3209 # If Canadian cross, then don't pick up tools from the build
3210 # directory.
3211 if test x"$build" != x"$with_cross_host" && x"$build" != x"$target"; then
3212 CANADIAN=yes
3213 NULL_TARGET=yes
3214 else
3215 CANADIAN=no
3216 NULL_TARGET=no
3219 case "$target_alias" in
3220 *-linux*)
3221 # Construct linux crosses by hand, eliminating bits that need ld...
3222 # Check for available headers.
3223 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
3224 machine/endian.h machine/param.h sys/machine.h fp.h locale.h \
3225 float.h inttypes.h
3227 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3228 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3229 echo "configure:3230: checking for $ac_hdr" >&5
3230 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3231 echo $ac_n "(cached) $ac_c" 1>&6
3232 else
3233 cat > conftest.$ac_ext <<EOF
3234 #line 3235 "configure"
3235 #include "confdefs.h"
3236 #include <$ac_hdr>
3238 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3239 { (eval echo configure:3240: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3240 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3241 if test -z "$ac_err"; then
3242 rm -rf conftest*
3243 eval "ac_cv_header_$ac_safe=yes"
3244 else
3245 echo "$ac_err" >&5
3246 echo "configure: failed program was:" >&5
3247 cat conftest.$ac_ext >&5
3248 rm -rf conftest*
3249 eval "ac_cv_header_$ac_safe=no"
3251 rm -f conftest*
3253 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3254 echo "$ac_t""yes" 1>&6
3255 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3256 cat >> confdefs.h <<EOF
3257 #define $ac_tr_hdr 1
3260 else
3261 echo "$ac_t""no" 1>&6
3263 done
3266 # GLIBCPP_CHECK_COMPILER_FEATURES
3267 WFMT_FLAGS='-fdiagnostics-show-location=once'
3268 SECTION_FLAGS='-ffunction-sections -fdata-sections'
3272 # If we're not using GNU ld, then there's no point in even trying these
3273 # tests. Check for that first. We should have already tested for gld
3274 # by now (in libtool), but require it now just to be safe...
3275 SECTION_LDFLAGS=''
3276 OPT_LDFLAGS=''
3279 # Set --gc-sections.
3280 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
3281 # GNU ld it is! Joy and bunny rabbits!
3283 # All these tests are for C++; save the language and the compiler flags.
3284 # Need to do this so that g++ won't try to link in libstdc++
3285 ac_test_CFLAGS="${CFLAGS+set}"
3286 ac_save_CFLAGS="$CFLAGS"
3287 CFLAGS='-x c++ -Wl,--gc-sections'
3289 # Check for -Wl,--gc-sections
3290 # XXX This test is broken at the moment, as symbols required for
3291 # linking are now in libsupc++ (not built yet.....). In addition,
3292 # this test has cored on solaris in the past. In addition,
3293 # --gc-sections doesn't really work at the moment (keeps on discarding
3294 # used sections, first .eh_frame and now some of the glibc sections for
3295 # iconv). Bzzzzt. Thanks for playing, maybe next time.
3296 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
3297 echo "configure:3298: checking for ld that supports -Wl,--gc-sections" >&5
3298 if test "$cross_compiling" = yes; then
3299 ac_sectionLDflags=yes
3300 else
3301 cat > conftest.$ac_ext <<EOF
3302 #line 3303 "configure"
3303 #include "confdefs.h"
3305 int main(void)
3307 try { throw 1; }
3308 catch (...) { };
3309 return 0;
3313 if { (eval echo configure:3314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3314 then
3315 ac_sectionLDflags=yes
3316 else
3317 echo "configure: failed program was:" >&5
3318 cat conftest.$ac_ext >&5
3319 rm -fr conftest*
3320 ac_sectionLFflags=no
3322 rm -fr conftest*
3325 if test "$ac_test_CFLAGS" = set; then
3326 CFLAGS="$ac_save_CFLAGS"
3327 else
3328 # this is the suspicious part
3329 CFLAGS=''
3331 if test "$ac_sectionLDflags" = "yes"; then
3332 SECTION_LDFLAGS='-Wl,--gc-sections'
3334 echo "$ac_t""$ac_sectionLDflags" 1>&6
3337 # Set linker optimization flags.
3338 if test x"$ac_cv_prog_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
3339 OPT_LDFLAGS='-Wl,-O1'
3345 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
3346 # GLIBCPP_CHECK_MATH_SUPPORT
3347 cat >> confdefs.h <<\EOF
3348 #define HAVE_ACOSF 1
3351 cat >> confdefs.h <<\EOF
3352 #define HAVE_ASINF 1
3355 cat >> confdefs.h <<\EOF
3356 #define HAVE_ATAN2F 1
3359 cat >> confdefs.h <<\EOF
3360 #define HAVE_ATANF 1
3363 cat >> confdefs.h <<\EOF
3364 #define HAVE_CEILF 1
3367 cat >> confdefs.h <<\EOF
3368 #define HAVE_COPYSIGN 1
3371 cat >> confdefs.h <<\EOF
3372 #define HAVE_COPYSIGNF 1
3375 cat >> confdefs.h <<\EOF
3376 #define HAVE_COSF 1
3379 cat >> confdefs.h <<\EOF
3380 #define HAVE_COSHF 1
3383 cat >> confdefs.h <<\EOF
3384 #define HAVE_EXPF 1
3387 cat >> confdefs.h <<\EOF
3388 #define HAVE_FABSF 1
3391 cat >> confdefs.h <<\EOF
3392 #define HAVE_FINITE 1
3395 cat >> confdefs.h <<\EOF
3396 #define HAVE_FINITEF 1
3399 cat >> confdefs.h <<\EOF
3400 #define HAVE_FLOORF 1
3403 cat >> confdefs.h <<\EOF
3404 #define HAVE_FMODF 1
3407 cat >> confdefs.h <<\EOF
3408 #define HAVE_FREXPF 1
3411 cat >> confdefs.h <<\EOF
3412 #define HAVE_ISINF 1
3415 cat >> confdefs.h <<\EOF
3416 #define HAVE_ISINFF 1
3419 cat >> confdefs.h <<\EOF
3420 #define HAVE_ISNAN 1
3423 cat >> confdefs.h <<\EOF
3424 #define HAVE_ISNANF 1
3427 cat >> confdefs.h <<\EOF
3428 #define HAVE_LDEXPF 1
3431 cat >> confdefs.h <<\EOF
3432 #define HAVE_LOG10F 1
3435 cat >> confdefs.h <<\EOF
3436 #define HAVE_LOGF 1
3439 cat >> confdefs.h <<\EOF
3440 #define HAVE_MODFF 1
3443 cat >> confdefs.h <<\EOF
3444 #define HAVE_POWF 1
3447 cat >> confdefs.h <<\EOF
3448 #define HAVE_SINCOS 1
3451 cat >> confdefs.h <<\EOF
3452 #define HAVE_SINCOSF 1
3455 cat >> confdefs.h <<\EOF
3456 #define HAVE_SINF 1
3459 cat >> confdefs.h <<\EOF
3460 #define HAVE_SINHF 1
3463 cat >> confdefs.h <<\EOF
3464 #define HAVE_SQRTF 1
3467 cat >> confdefs.h <<\EOF
3468 #define HAVE_TANF 1
3471 cat >> confdefs.h <<\EOF
3472 #define HAVE_TANHF 1
3476 # At some point, we should differentiate between architectures
3477 # like x86, which have long double versions, and alpha/powerpc/etc.,
3478 # which don't. For the time being, punt.
3479 if test x"long_double_math_on_this_cpu" = x"yes"; then
3480 cat >> confdefs.h <<\EOF
3481 #define HAVE_ACOSL 1
3484 cat >> confdefs.h <<\EOF
3485 #define HAVE_ASINL 1
3488 cat >> confdefs.h <<\EOF
3489 #define HAVE_ATAN2L 1
3492 cat >> confdefs.h <<\EOF
3493 #define HAVE_ATANL 1
3496 cat >> confdefs.h <<\EOF
3497 #define HAVE_CEILL 1
3500 cat >> confdefs.h <<\EOF
3501 #define HAVE_COPYSIGNL 1
3504 cat >> confdefs.h <<\EOF
3505 #define HAVE_COSL 1
3508 cat >> confdefs.h <<\EOF
3509 #define HAVE_COSHL 1
3512 cat >> confdefs.h <<\EOF
3513 #define HAVE_EXPL 1
3516 cat >> confdefs.h <<\EOF
3517 #define HAVE_FABSL 1
3520 cat >> confdefs.h <<\EOF
3521 #define HAVE_FINITEL 1
3524 cat >> confdefs.h <<\EOF
3525 #define HAVE_FLOORL 1
3528 cat >> confdefs.h <<\EOF
3529 #define HAVE_FMODL 1
3532 cat >> confdefs.h <<\EOF
3533 #define HAVE_FREXPL 1
3536 cat >> confdefs.h <<\EOF
3537 #define HAVE_ISINFL 1
3540 cat >> confdefs.h <<\EOF
3541 #define HAVE_ISNANL 1
3544 cat >> confdefs.h <<\EOF
3545 #define HAVE_LDEXPL 1
3548 cat >> confdefs.h <<\EOF
3549 #define HAVE_LOG10L 1
3552 cat >> confdefs.h <<\EOF
3553 #define HAVE_LOGL 1
3556 cat >> confdefs.h <<\EOF
3557 #define HAVE_MODFL 1
3560 cat >> confdefs.h <<\EOF
3561 #define HAVE_POWL 1
3564 cat >> confdefs.h <<\EOF
3565 #define HAVE_SINCOSL 1
3568 cat >> confdefs.h <<\EOF
3569 #define HAVE_SINL 1
3572 cat >> confdefs.h <<\EOF
3573 #define HAVE_SINHL 1
3576 cat >> confdefs.h <<\EOF
3577 #define HAVE_SQRTL 1
3580 cat >> confdefs.h <<\EOF
3581 #define HAVE_TANL 1
3584 cat >> confdefs.h <<\EOF
3585 #define HAVE_TANHL 1
3590 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
3591 echo "configure:3592: checking for main in -lm" >&5
3592 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
3593 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3594 echo $ac_n "(cached) $ac_c" 1>&6
3595 else
3596 ac_save_LIBS="$LIBS"
3597 LIBS="-lm $LIBS"
3598 cat > conftest.$ac_ext <<EOF
3599 #line 3600 "configure"
3600 #include "confdefs.h"
3602 int main() {
3603 main()
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 eval "ac_cv_lib_$ac_lib_var=yes"
3609 else
3610 echo "configure: failed program was:" >&5
3611 cat conftest.$ac_ext >&5
3612 rm -rf conftest*
3613 eval "ac_cv_lib_$ac_lib_var=no"
3615 rm -f conftest*
3616 LIBS="$ac_save_LIBS"
3619 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
3620 echo "$ac_t""yes" 1>&6
3621 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
3622 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
3623 cat >> confdefs.h <<EOF
3624 #define $ac_tr_lib 1
3627 LIBS="-lm $LIBS"
3629 else
3630 echo "$ac_t""no" 1>&6
3633 for ac_func in nan hypot hypotf atan2f expf copysignf
3635 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3636 echo "configure:3637: checking for $ac_func" >&5
3637 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3638 echo $ac_n "(cached) $ac_c" 1>&6
3639 else
3640 cat > conftest.$ac_ext <<EOF
3641 #line 3642 "configure"
3642 #include "confdefs.h"
3643 /* System header to define __stub macros and hopefully few prototypes,
3644 which can conflict with char $ac_func(); below. */
3645 #include <assert.h>
3646 /* Override any gcc2 internal prototype to avoid an error. */
3647 /* We use char because int might match the return type of a gcc2
3648 builtin and then its argument prototype would still apply. */
3649 char $ac_func();
3651 int main() {
3653 /* The GNU C library defines this for functions which it implements
3654 to always fail with ENOSYS. Some functions are actually named
3655 something starting with __ and the normal name is an alias. */
3656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3657 choke me
3658 #else
3659 $ac_func();
3660 #endif
3662 ; return 0; }
3664 if { (eval echo configure:3665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3665 rm -rf conftest*
3666 eval "ac_cv_func_$ac_func=yes"
3667 else
3668 echo "configure: failed program was:" >&5
3669 cat conftest.$ac_ext >&5
3670 rm -rf conftest*
3671 eval "ac_cv_func_$ac_func=no"
3673 rm -f conftest*
3676 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3677 echo "$ac_t""yes" 1>&6
3678 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3679 cat >> confdefs.h <<EOF
3680 #define $ac_tr_func 1
3683 else
3684 echo "$ac_t""no" 1>&6
3685 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
3687 done
3691 USE_COMPLEX_LONG_DOUBLE=no
3692 if test x$ac_cv_func_atan2l = x"yes" \
3693 && test x$ac_cv_func_copysignl = x"yes"; then
3694 USE_COMPLEX_LONG_DOUBLE=yes
3695 for ac_func in hypotl signbitl
3697 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3698 echo "configure:3699: checking for $ac_func" >&5
3699 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3700 echo $ac_n "(cached) $ac_c" 1>&6
3701 else
3702 cat > conftest.$ac_ext <<EOF
3703 #line 3704 "configure"
3704 #include "confdefs.h"
3705 /* System header to define __stub macros and hopefully few prototypes,
3706 which can conflict with char $ac_func(); below. */
3707 #include <assert.h>
3708 /* Override any gcc2 internal prototype to avoid an error. */
3709 /* We use char because int might match the return type of a gcc2
3710 builtin and then its argument prototype would still apply. */
3711 char $ac_func();
3713 int main() {
3715 /* The GNU C library defines this for functions which it implements
3716 to always fail with ENOSYS. Some functions are actually named
3717 something starting with __ and the normal name is an alias. */
3718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3719 choke me
3720 #else
3721 $ac_func();
3722 #endif
3724 ; return 0; }
3726 if { (eval echo configure:3727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3727 rm -rf conftest*
3728 eval "ac_cv_func_$ac_func=yes"
3729 else
3730 echo "configure: failed program was:" >&5
3731 cat conftest.$ac_ext >&5
3732 rm -rf conftest*
3733 eval "ac_cv_func_$ac_func=no"
3735 rm -f conftest*
3738 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3739 echo "$ac_t""yes" 1>&6
3740 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3741 cat >> confdefs.h <<EOF
3742 #define $ac_tr_func 1
3745 else
3746 echo "$ac_t""no" 1>&6
3747 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
3749 done
3759 echo $ac_n "checking for GNU C++ __complex__ support""... $ac_c" 1>&6
3760 echo "configure:3761: checking for GNU C++ __complex__ support" >&5
3761 if eval "test \"`echo '$''{'glibcpp_cv_complex'+set}'`\" = set"; then
3762 echo $ac_n "(cached) $ac_c" 1>&6
3763 else
3766 ac_ext=C
3767 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3768 ac_cpp='$CXXCPP $CPPFLAGS'
3769 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3770 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3771 cross_compiling=$ac_cv_prog_cxx_cross
3773 cat > conftest.$ac_ext <<EOF
3774 #line 3775 "configure"
3775 #include "confdefs.h"
3776 struct dcomplex { __complex__ double x; }; \
3777 dcomplex f(const dcomplex& x) { return dcomplex(x); }
3778 int main() {
3780 dcomplex x; f(x);
3781 ; return 0; }
3783 if { (eval echo configure:3784: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3784 rm -rf conftest*
3785 glibcpp_cv_complex=ok
3786 else
3787 echo "configure: failed program was:" >&5
3788 cat conftest.$ac_ext >&5
3789 rm -rf conftest*
3790 glibcpp_cv_complex=buggy
3793 rm -f conftest*
3794 ac_ext=c
3795 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3796 ac_cpp='$CPP $CPPFLAGS'
3797 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3798 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3799 cross_compiling=$ac_cv_prog_cc_cross
3804 echo "$ac_t""$glibcpp_cv_complex" 1>&6
3805 if test $glibcpp_cv_complex = buggy; then
3806 cat >> confdefs.h <<\EOF
3807 #define _GLIBCPP_BUGGY_COMPLEX 1
3812 echo $ac_n "checking for GNU C++ __complex__ float support""... $ac_c" 1>&6
3813 echo "configure:3814: checking for GNU C++ __complex__ float support" >&5
3814 if eval "test \"`echo '$''{'glibcpp_cv_float_complex'+set}'`\" = set"; then
3815 echo $ac_n "(cached) $ac_c" 1>&6
3816 else
3819 ac_ext=C
3820 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3821 ac_cpp='$CXXCPP $CPPFLAGS'
3822 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3823 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3824 cross_compiling=$ac_cv_prog_cxx_cross
3826 rm -f conftest.h
3827 cat > conftest.h <<EOB
3829 // Check for buggy __complex__ that causes ICE in most versions of egcs
3830 // and gcc-2.95.x on certain platforms (eg., x86-win32).
3832 // See http://gcc.gnu.org/ml/gcc-bugs/1999-07n/msg00845.html for
3833 // more info on the bug itself.
3835 struct
3836 float_complex
3838 __complex__ float m_value;
3839 float_complex (float = 0.0f, float = 0.0f);
3840 float_complex (__complex__ float val) : m_value (val) {}
3841 float_complex foo (const float_complex &val)
3842 { return float_complex (~val.m_value); }
3845 cat > conftest.$ac_ext <<EOF
3846 #line 3847 "configure"
3847 #include "confdefs.h"
3848 #include "conftest.h"
3849 int main() {
3851 ; return 0; }
3853 if { (eval echo configure:3854: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3854 rm -rf conftest*
3855 glibcpp_cv_float_complex=ok
3856 else
3857 echo "configure: failed program was:" >&5
3858 cat conftest.$ac_ext >&5
3859 rm -rf conftest*
3860 glibcpp_cv_float_complex=buggy
3863 rm -f conftest*
3864 ac_ext=c
3865 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3866 ac_cpp='$CPP $CPPFLAGS'
3867 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3868 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3869 cross_compiling=$ac_cv_prog_cc_cross
3874 echo "$ac_t""$glibcpp_cv_float_complex" 1>&6
3875 if test $glibcpp_cv_float_complex = buggy; then
3876 cat >> confdefs.h <<\EOF
3877 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
3884 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
3885 echo "configure:3886: checking for mbstate_t" >&5
3886 cat > conftest.$ac_ext <<EOF
3887 #line 3888 "configure"
3888 #include "confdefs.h"
3889 #include <wchar.h>
3890 int main() {
3891 mbstate_t teststate;
3892 ; return 0; }
3894 if { (eval echo configure:3895: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3895 rm -rf conftest*
3896 have_mbstate_t=yes
3897 else
3898 echo "configure: failed program was:" >&5
3899 cat conftest.$ac_ext >&5
3900 rm -rf conftest*
3901 have_mbstate_t=no
3903 rm -f conftest*
3904 echo "$ac_t""$have_mbstate_t" 1>&6
3905 if test x"$have_mbstate_t" = xyes; then
3906 cat >> confdefs.h <<\EOF
3907 #define HAVE_MBSTATE_T 1
3912 for ac_hdr in wchar.h
3914 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3915 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3916 echo "configure:3917: checking for $ac_hdr" >&5
3917 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3918 echo $ac_n "(cached) $ac_c" 1>&6
3919 else
3920 cat > conftest.$ac_ext <<EOF
3921 #line 3922 "configure"
3922 #include "confdefs.h"
3923 #include <$ac_hdr>
3925 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3926 { (eval echo configure:3927: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3927 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3928 if test -z "$ac_err"; then
3929 rm -rf conftest*
3930 eval "ac_cv_header_$ac_safe=yes"
3931 else
3932 echo "$ac_err" >&5
3933 echo "configure: failed program was:" >&5
3934 cat conftest.$ac_ext >&5
3935 rm -rf conftest*
3936 eval "ac_cv_header_$ac_safe=no"
3938 rm -f conftest*
3940 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3941 echo "$ac_t""yes" 1>&6
3942 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3943 cat >> confdefs.h <<EOF
3944 #define $ac_tr_hdr 1
3946 ac_has_wchar_h=yes
3947 else
3948 echo "$ac_t""no" 1>&6
3949 ac_has_wchar_h=no
3951 done
3953 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
3954 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
3955 echo "configure:3956: checking for wctype.h" >&5
3956 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3957 echo $ac_n "(cached) $ac_c" 1>&6
3958 else
3959 cat > conftest.$ac_ext <<EOF
3960 #line 3961 "configure"
3961 #include "confdefs.h"
3962 #include <wctype.h>
3964 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3965 { (eval echo configure:3966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3966 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3967 if test -z "$ac_err"; then
3968 rm -rf conftest*
3969 eval "ac_cv_header_$ac_safe=yes"
3970 else
3971 echo "$ac_err" >&5
3972 echo "configure: failed program was:" >&5
3973 cat conftest.$ac_ext >&5
3974 rm -rf conftest*
3975 eval "ac_cv_header_$ac_safe=no"
3977 rm -f conftest*
3979 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3980 echo "$ac_t""yes" 1>&6
3981 ac_has_wctype_h=yes
3982 else
3983 echo "$ac_t""no" 1>&6
3984 ac_has_wctype_h=no
3988 if test x"$ac_has_wchar_h" = xyes && test x"$ac_has_wctype_h" = xyes \
3989 && test x"$enable_c_mbchar" != xno; then
3991 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
3992 echo "configure:3993: checking for WCHAR_MIN and WCHAR_MAX" >&5
3993 cat > conftest.$ac_ext <<EOF
3994 #line 3995 "configure"
3995 #include "confdefs.h"
3996 #include <wchar.h>
3997 int main() {
3998 int i = WCHAR_MIN; int j = WCHAR_MAX;
3999 ; return 0; }
4001 if { (eval echo configure:4002: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4002 rm -rf conftest*
4003 has_wchar_minmax=yes
4004 else
4005 echo "configure: failed program was:" >&5
4006 cat conftest.$ac_ext >&5
4007 rm -rf conftest*
4008 has_wchar_minmax=no
4010 rm -f conftest*
4011 echo "$ac_t""$has_wchar_minmax" 1>&6
4013 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4014 echo "configure:4015: checking for WEOF" >&5
4015 cat > conftest.$ac_ext <<EOF
4016 #line 4017 "configure"
4017 #include "confdefs.h"
4019 #include <wchar.h>
4020 #include <stddef.h>
4021 int main() {
4022 wint_t i = WEOF;
4023 ; return 0; }
4025 if { (eval echo configure:4026: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4026 rm -rf conftest*
4027 has_weof=yes
4028 else
4029 echo "configure: failed program was:" >&5
4030 cat conftest.$ac_ext >&5
4031 rm -rf conftest*
4032 has_weof=no
4034 rm -f conftest*
4035 echo "$ac_t""$has_weof" 1>&6
4037 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset \
4038 wcsrtombs mbsrtowcs
4040 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4041 echo "configure:4042: checking for $ac_func" >&5
4042 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4043 echo $ac_n "(cached) $ac_c" 1>&6
4044 else
4045 cat > conftest.$ac_ext <<EOF
4046 #line 4047 "configure"
4047 #include "confdefs.h"
4048 /* System header to define __stub macros and hopefully few prototypes,
4049 which can conflict with char $ac_func(); below. */
4050 #include <assert.h>
4051 /* Override any gcc2 internal prototype to avoid an error. */
4052 /* We use char because int might match the return type of a gcc2
4053 builtin and then its argument prototype would still apply. */
4054 char $ac_func();
4056 int main() {
4058 /* The GNU C library defines this for functions which it implements
4059 to always fail with ENOSYS. Some functions are actually named
4060 something starting with __ and the normal name is an alias. */
4061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4062 choke me
4063 #else
4064 $ac_func();
4065 #endif
4067 ; return 0; }
4069 if { (eval echo configure:4070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4070 rm -rf conftest*
4071 eval "ac_cv_func_$ac_func=yes"
4072 else
4073 echo "configure: failed program was:" >&5
4074 cat conftest.$ac_ext >&5
4075 rm -rf conftest*
4076 eval "ac_cv_func_$ac_func=no"
4078 rm -f conftest*
4081 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4082 echo "$ac_t""yes" 1>&6
4083 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4084 cat >> confdefs.h <<EOF
4085 #define $ac_tr_func 1
4087 ac_wfuncs=yes
4088 else
4089 echo "$ac_t""no" 1>&6
4090 ac_wfuncs=no
4092 done
4095 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4096 echo "configure:4097: checking for ISO C99 wchar_t support" >&5
4097 if test x"$has_weof" = xyes && test x"$has_wchar_minmax" = xyes \
4098 && test x"$ac_wfuncs" = xyes; then
4099 ac_isoC99_wchar_t=yes
4100 else
4101 ac_isoC99_wchar_t=no
4103 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4105 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4106 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4107 echo "configure:4108: checking for iconv.h" >&5
4108 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4109 echo $ac_n "(cached) $ac_c" 1>&6
4110 else
4111 cat > conftest.$ac_ext <<EOF
4112 #line 4113 "configure"
4113 #include "confdefs.h"
4114 #include <iconv.h>
4116 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4117 { (eval echo configure:4118: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4118 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4119 if test -z "$ac_err"; then
4120 rm -rf conftest*
4121 eval "ac_cv_header_$ac_safe=yes"
4122 else
4123 echo "$ac_err" >&5
4124 echo "configure: failed program was:" >&5
4125 cat conftest.$ac_ext >&5
4126 rm -rf conftest*
4127 eval "ac_cv_header_$ac_safe=no"
4129 rm -f conftest*
4131 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4132 echo "$ac_t""yes" 1>&6
4133 ac_has_iconv_h=yes
4134 else
4135 echo "$ac_t""no" 1>&6
4136 ac_has_iconv_h=no
4139 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4140 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4141 echo "configure:4142: checking for langinfo.h" >&5
4142 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4143 echo $ac_n "(cached) $ac_c" 1>&6
4144 else
4145 cat > conftest.$ac_ext <<EOF
4146 #line 4147 "configure"
4147 #include "confdefs.h"
4148 #include <langinfo.h>
4150 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4151 { (eval echo configure:4152: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4152 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4153 if test -z "$ac_err"; then
4154 rm -rf conftest*
4155 eval "ac_cv_header_$ac_safe=yes"
4156 else
4157 echo "$ac_err" >&5
4158 echo "configure: failed program was:" >&5
4159 cat conftest.$ac_ext >&5
4160 rm -rf conftest*
4161 eval "ac_cv_header_$ac_safe=no"
4163 rm -f conftest*
4165 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4166 echo "$ac_t""yes" 1>&6
4167 ac_has_langinfo_h=yes
4168 else
4169 echo "$ac_t""no" 1>&6
4170 ac_has_langinfo_h=no
4174 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4175 echo "configure:4176: checking for iconv in -liconv" >&5
4176 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4177 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4178 echo $ac_n "(cached) $ac_c" 1>&6
4179 else
4180 ac_save_LIBS="$LIBS"
4181 LIBS="-liconv $LIBS"
4182 cat > conftest.$ac_ext <<EOF
4183 #line 4184 "configure"
4184 #include "confdefs.h"
4185 /* Override any gcc2 internal prototype to avoid an error. */
4186 /* We use char because int might match the return type of a gcc2
4187 builtin and then its argument prototype would still apply. */
4188 char iconv();
4190 int main() {
4191 iconv()
4192 ; return 0; }
4194 if { (eval echo configure:4195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4195 rm -rf conftest*
4196 eval "ac_cv_lib_$ac_lib_var=yes"
4197 else
4198 echo "configure: failed program was:" >&5
4199 cat conftest.$ac_ext >&5
4200 rm -rf conftest*
4201 eval "ac_cv_lib_$ac_lib_var=no"
4203 rm -f conftest*
4204 LIBS="$ac_save_LIBS"
4207 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4208 echo "$ac_t""yes" 1>&6
4209 libiconv="-liconv"
4210 else
4211 echo "$ac_t""no" 1>&6
4214 ac_save_LIBS="$LIBS"
4215 LIBS="$LIBS $libiconv"
4217 for ac_func in iconv_open iconv_close iconv nl_langinfo
4219 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4220 echo "configure:4221: checking for $ac_func" >&5
4221 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4222 echo $ac_n "(cached) $ac_c" 1>&6
4223 else
4224 cat > conftest.$ac_ext <<EOF
4225 #line 4226 "configure"
4226 #include "confdefs.h"
4227 /* System header to define __stub macros and hopefully few prototypes,
4228 which can conflict with char $ac_func(); below. */
4229 #include <assert.h>
4230 /* Override any gcc2 internal prototype to avoid an error. */
4231 /* We use char because int might match the return type of a gcc2
4232 builtin and then its argument prototype would still apply. */
4233 char $ac_func();
4235 int main() {
4237 /* The GNU C library defines this for functions which it implements
4238 to always fail with ENOSYS. Some functions are actually named
4239 something starting with __ and the normal name is an alias. */
4240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4241 choke me
4242 #else
4243 $ac_func();
4244 #endif
4246 ; return 0; }
4248 if { (eval echo configure:4249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4249 rm -rf conftest*
4250 eval "ac_cv_func_$ac_func=yes"
4251 else
4252 echo "configure: failed program was:" >&5
4253 cat conftest.$ac_ext >&5
4254 rm -rf conftest*
4255 eval "ac_cv_func_$ac_func=no"
4257 rm -f conftest*
4260 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4261 echo "$ac_t""yes" 1>&6
4262 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4263 cat >> confdefs.h <<EOF
4264 #define $ac_tr_func 1
4267 ac_XPG2funcs=yes
4268 else
4269 echo "$ac_t""no" 1>&6
4270 ac_XPG2funcs=no
4272 done
4275 LIBS="$ac_save_LIBS"
4277 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
4278 echo "configure:4279: checking for XPG2 wchar_t support" >&5
4279 if test x"$ac_has_iconv_h" = xyes && test x"$ac_has_langinfo_h" = xyes \
4280 && test x"$ac_XPG2funcs" = xyes; then
4281 ac_XPG2_wchar_t=yes
4282 else
4283 ac_XPG2_wchar_t=no
4285 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
4287 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
4288 echo "configure:4289: checking for enabled wchar_t specializations" >&5
4289 if test x"$ac_isoC99_wchar_t" = xyes \
4290 && test x"$ac_XPG2_wchar_t" = xyes; then
4291 libinst_wstring_la="libinst-wstring.la"
4292 cat >> confdefs.h <<\EOF
4293 #define _GLIBCPP_USE_WCHAR_T 1
4296 echo "$ac_t"""yes"" 1>&6
4297 else
4298 libinst_wstring_la=""
4299 echo "$ac_t"""no"" 1>&6
4303 else
4304 echo "configure: warning: wchar_t support disabled." 1>&2
4307 os_include_dir="config/os/gnu-linux"
4308 # GLIBCPP_CHECK_STDLIB_SUPPORT
4309 cat >> confdefs.h <<\EOF
4310 #define HAVE_STRTOF 1
4313 cat >> confdefs.h <<\EOF
4314 #define HAVE_STRTOLD 1
4317 # AC_FUNC_MMAP
4318 cat >> confdefs.h <<\EOF
4319 #define HAVE_MMAP 1
4324 # We assume newlib. This lets us hard-code the functions we know
4325 # we'll have.
4326 cat >> confdefs.h <<\EOF
4327 #define HAVE_FINITE 1
4330 cat >> confdefs.h <<\EOF
4331 #define HAVE_ISNAN 1
4334 cat >> confdefs.h <<\EOF
4335 #define HAVE_ISNANF 1
4338 cat >> confdefs.h <<\EOF
4339 #define HAVE_ISINF 1
4342 cat >> confdefs.h <<\EOF
4343 #define HAVE_ISINFF 1
4347 os_include_dir="config/os/newlib"
4349 cat >> confdefs.h <<\EOF
4350 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
4353 cat >> confdefs.h <<\EOF
4354 #define _GLIBCPP_BUGGY_COMPLEX 1
4357 # need to check for faster f versions of math functions, ie sinf?
4359 esac
4360 else
4362 # We are being configured natively. We can do more elaborate tests
4363 # that include AC_TRY_COMPILE now, as the linker is assumed to be
4364 # working.
4365 xcompiling=0
4366 NATIVE=yes
4367 CANADIAN=no
4368 NULL_TARGET=no
4370 # Check for available headers.
4371 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
4372 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h
4374 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4375 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4376 echo "configure:4377: checking for $ac_hdr" >&5
4377 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4378 echo $ac_n "(cached) $ac_c" 1>&6
4379 else
4380 cat > conftest.$ac_ext <<EOF
4381 #line 4382 "configure"
4382 #include "confdefs.h"
4383 #include <$ac_hdr>
4385 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4386 { (eval echo configure:4387: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4387 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4388 if test -z "$ac_err"; then
4389 rm -rf conftest*
4390 eval "ac_cv_header_$ac_safe=yes"
4391 else
4392 echo "$ac_err" >&5
4393 echo "configure: failed program was:" >&5
4394 cat conftest.$ac_ext >&5
4395 rm -rf conftest*
4396 eval "ac_cv_header_$ac_safe=no"
4398 rm -f conftest*
4400 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4401 echo "$ac_t""yes" 1>&6
4402 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4403 cat >> confdefs.h <<EOF
4404 #define $ac_tr_hdr 1
4407 else
4408 echo "$ac_t""no" 1>&6
4410 done
4414 # All these tests are for C++; save the language and the compiler flags.
4415 # The CXXFLAGS thing is suspicious, but based on similar bits
4416 # found in GLIBCPP_CONFIGURE.
4418 ac_ext=C
4419 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4420 ac_cpp='$CXXCPP $CPPFLAGS'
4421 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4422 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4423 cross_compiling=$ac_cv_prog_cxx_cross
4425 ac_test_CXXFLAGS="${CXXFLAGS+set}"
4426 ac_save_CXXFLAGS="$CXXFLAGS"
4428 # Check for maintainer-mode bits.
4429 if test x"$USE_MAINTAINER_MODE" = xno; then
4430 WERROR=''
4431 else
4432 WERROR='-Werror'
4435 # Check for more sophisticated diagnostic control.
4436 echo $ac_n "checking for g++ that supports -fdiagnostics-show-location=once""... $ac_c" 1>&6
4437 echo "configure:4438: checking for g++ that supports -fdiagnostics-show-location=once" >&5
4438 CXXFLAGS='-Werror -fdiagnostics-show-location=once'
4439 cat > conftest.$ac_ext <<EOF
4440 #line 4441 "configure"
4441 #include "confdefs.h"
4443 int main() {
4444 int foo;
4446 ; return 0; }
4448 if { (eval echo configure:4449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4449 rm -rf conftest*
4450 ac_gabydiags=yes
4451 else
4452 echo "configure: failed program was:" >&5
4453 cat conftest.$ac_ext >&5
4454 rm -rf conftest*
4455 ac_gabydiags=no
4457 rm -f conftest*
4458 if test "$ac_test_CXXFLAGS" = set; then
4459 CXXFLAGS="$ac_save_CXXFLAGS"
4460 else
4461 # this is the suspicious part
4462 CXXFLAGS=''
4464 if test x"$ac_gabydiags" = x"yes"; then
4465 WFMT_FLAGS='-fdiagnostics-show-location=once'
4467 echo "$ac_t""$ac_gabydiags" 1>&6
4469 # Check for -ffunction-sections -fdata-sections
4470 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
4471 echo "configure:4472: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
4472 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
4473 cat > conftest.$ac_ext <<EOF
4474 #line 4475 "configure"
4475 #include "confdefs.h"
4477 int main() {
4478 int foo;
4480 ; return 0; }
4482 if { (eval echo configure:4483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4483 rm -rf conftest*
4484 ac_fdsections=yes
4485 else
4486 echo "configure: failed program was:" >&5
4487 cat conftest.$ac_ext >&5
4488 rm -rf conftest*
4489 ac_fdsections=no
4491 rm -f conftest*
4492 if test "$ac_test_CXXFLAGS" = set; then
4493 CXXFLAGS="$ac_save_CXXFLAGS"
4494 else
4495 # this is the suspicious part
4496 CXXFLAGS=''
4498 if test x"$ac_fdsections" = x"yes" && test x"$enable_debug" = x"no"; then
4499 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4501 echo "$ac_t""$ac_fdsections" 1>&6
4503 ac_ext=c
4504 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4505 ac_cpp='$CPP $CPPFLAGS'
4506 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4507 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4508 cross_compiling=$ac_cv_prog_cc_cross
4515 # If we're not using GNU ld, then there's no point in even trying these
4516 # tests. Check for that first. We should have already tested for gld
4517 # by now (in libtool), but require it now just to be safe...
4518 SECTION_LDFLAGS=''
4519 OPT_LDFLAGS=''
4522 # Set --gc-sections.
4523 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
4524 # GNU ld it is! Joy and bunny rabbits!
4526 # All these tests are for C++; save the language and the compiler flags.
4527 # Need to do this so that g++ won't try to link in libstdc++
4528 ac_test_CFLAGS="${CFLAGS+set}"
4529 ac_save_CFLAGS="$CFLAGS"
4530 CFLAGS='-x c++ -Wl,--gc-sections'
4532 # Check for -Wl,--gc-sections
4533 # XXX This test is broken at the moment, as symbols required for
4534 # linking are now in libsupc++ (not built yet.....). In addition,
4535 # this test has cored on solaris in the past. In addition,
4536 # --gc-sections doesn't really work at the moment (keeps on discarding
4537 # used sections, first .eh_frame and now some of the glibc sections for
4538 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4539 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4540 echo "configure:4541: checking for ld that supports -Wl,--gc-sections" >&5
4541 if test "$cross_compiling" = yes; then
4542 ac_sectionLDflags=yes
4543 else
4544 cat > conftest.$ac_ext <<EOF
4545 #line 4546 "configure"
4546 #include "confdefs.h"
4548 int main(void)
4550 try { throw 1; }
4551 catch (...) { };
4552 return 0;
4556 if { (eval echo configure:4557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4557 then
4558 ac_sectionLDflags=yes
4559 else
4560 echo "configure: failed program was:" >&5
4561 cat conftest.$ac_ext >&5
4562 rm -fr conftest*
4563 ac_sectionLFflags=no
4565 rm -fr conftest*
4568 if test "$ac_test_CFLAGS" = set; then
4569 CFLAGS="$ac_save_CFLAGS"
4570 else
4571 # this is the suspicious part
4572 CFLAGS=''
4574 if test "$ac_sectionLDflags" = "yes"; then
4575 SECTION_LDFLAGS='-Wl,--gc-sections'
4577 echo "$ac_t""$ac_sectionLDflags" 1>&6
4580 # Set linker optimization flags.
4581 if test x"$ac_cv_prog_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
4582 OPT_LDFLAGS='-Wl,-O1'
4590 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
4591 echo "configure:4592: checking for __builtin_abs declaration" >&5
4592 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
4593 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
4594 echo $ac_n "(cached) $ac_c" 1>&6
4595 else
4598 ac_ext=C
4599 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4600 ac_cpp='$CXXCPP $CPPFLAGS'
4601 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4602 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4603 cross_compiling=$ac_cv_prog_cxx_cross
4605 cat > conftest.$ac_ext <<EOF
4606 #line 4607 "configure"
4607 #include "confdefs.h"
4608 #include <math.h>
4609 int main() {
4610 __builtin_abs(0);
4611 ; return 0; }
4613 if { (eval echo configure:4614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4614 rm -rf conftest*
4615 glibcpp_cv_func___builtin_abs_use=yes
4616 else
4617 echo "configure: failed program was:" >&5
4618 cat conftest.$ac_ext >&5
4619 rm -rf conftest*
4620 glibcpp_cv_func___builtin_abs_use=no
4622 rm -f conftest*
4623 ac_ext=c
4624 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4625 ac_cpp='$CPP $CPPFLAGS'
4626 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4627 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4628 cross_compiling=$ac_cv_prog_cc_cross
4634 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
4635 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
4636 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
4637 echo "configure:4638: checking for __builtin_abs linkage" >&5
4638 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
4639 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
4640 echo $ac_n "(cached) $ac_c" 1>&6
4641 else
4643 cat > conftest.$ac_ext <<EOF
4644 #line 4645 "configure"
4645 #include "confdefs.h"
4646 #include <math.h>
4647 int main() {
4648 __builtin_abs(0);
4649 ; return 0; }
4651 if { (eval echo configure:4652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4652 rm -rf conftest*
4653 glibcpp_cv_func___builtin_abs_link=yes
4654 else
4655 echo "configure: failed program was:" >&5
4656 cat conftest.$ac_ext >&5
4657 rm -rf conftest*
4658 glibcpp_cv_func___builtin_abs_link=no
4660 rm -f conftest*
4665 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
4666 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
4667 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4668 cat >> confdefs.h <<EOF
4669 #define ${ac_tr_func} 1
4676 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
4677 echo "configure:4678: checking for __builtin_fabsf declaration" >&5
4678 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
4679 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
4680 echo $ac_n "(cached) $ac_c" 1>&6
4681 else
4684 ac_ext=C
4685 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4686 ac_cpp='$CXXCPP $CPPFLAGS'
4687 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4688 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4689 cross_compiling=$ac_cv_prog_cxx_cross
4691 cat > conftest.$ac_ext <<EOF
4692 #line 4693 "configure"
4693 #include "confdefs.h"
4694 #include <math.h>
4695 int main() {
4696 __builtin_fabsf(0);
4697 ; return 0; }
4699 if { (eval echo configure:4700: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4700 rm -rf conftest*
4701 glibcpp_cv_func___builtin_fabsf_use=yes
4702 else
4703 echo "configure: failed program was:" >&5
4704 cat conftest.$ac_ext >&5
4705 rm -rf conftest*
4706 glibcpp_cv_func___builtin_fabsf_use=no
4708 rm -f conftest*
4709 ac_ext=c
4710 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4711 ac_cpp='$CPP $CPPFLAGS'
4712 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4713 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4714 cross_compiling=$ac_cv_prog_cc_cross
4720 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
4721 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
4722 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
4723 echo "configure:4724: checking for __builtin_fabsf linkage" >&5
4724 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
4725 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
4726 echo $ac_n "(cached) $ac_c" 1>&6
4727 else
4729 cat > conftest.$ac_ext <<EOF
4730 #line 4731 "configure"
4731 #include "confdefs.h"
4732 #include <math.h>
4733 int main() {
4734 __builtin_fabsf(0);
4735 ; return 0; }
4737 if { (eval echo configure:4738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4738 rm -rf conftest*
4739 glibcpp_cv_func___builtin_fabsf_link=yes
4740 else
4741 echo "configure: failed program was:" >&5
4742 cat conftest.$ac_ext >&5
4743 rm -rf conftest*
4744 glibcpp_cv_func___builtin_fabsf_link=no
4746 rm -f conftest*
4751 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
4752 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
4753 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4754 cat >> confdefs.h <<EOF
4755 #define ${ac_tr_func} 1
4762 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
4763 echo "configure:4764: checking for __builtin_fabs declaration" >&5
4764 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
4765 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
4766 echo $ac_n "(cached) $ac_c" 1>&6
4767 else
4770 ac_ext=C
4771 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4772 ac_cpp='$CXXCPP $CPPFLAGS'
4773 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4774 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4775 cross_compiling=$ac_cv_prog_cxx_cross
4777 cat > conftest.$ac_ext <<EOF
4778 #line 4779 "configure"
4779 #include "confdefs.h"
4780 #include <math.h>
4781 int main() {
4782 __builtin_fabs(0);
4783 ; return 0; }
4785 if { (eval echo configure:4786: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4786 rm -rf conftest*
4787 glibcpp_cv_func___builtin_fabs_use=yes
4788 else
4789 echo "configure: failed program was:" >&5
4790 cat conftest.$ac_ext >&5
4791 rm -rf conftest*
4792 glibcpp_cv_func___builtin_fabs_use=no
4794 rm -f conftest*
4795 ac_ext=c
4796 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4797 ac_cpp='$CPP $CPPFLAGS'
4798 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4799 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4800 cross_compiling=$ac_cv_prog_cc_cross
4806 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
4807 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
4808 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
4809 echo "configure:4810: checking for __builtin_fabs linkage" >&5
4810 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
4811 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
4812 echo $ac_n "(cached) $ac_c" 1>&6
4813 else
4815 cat > conftest.$ac_ext <<EOF
4816 #line 4817 "configure"
4817 #include "confdefs.h"
4818 #include <math.h>
4819 int main() {
4820 __builtin_fabs(0);
4821 ; return 0; }
4823 if { (eval echo configure:4824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4824 rm -rf conftest*
4825 glibcpp_cv_func___builtin_fabs_link=yes
4826 else
4827 echo "configure: failed program was:" >&5
4828 cat conftest.$ac_ext >&5
4829 rm -rf conftest*
4830 glibcpp_cv_func___builtin_fabs_link=no
4832 rm -f conftest*
4837 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
4838 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
4839 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4840 cat >> confdefs.h <<EOF
4841 #define ${ac_tr_func} 1
4848 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
4849 echo "configure:4850: checking for __builtin_fabsl declaration" >&5
4850 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
4851 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
4852 echo $ac_n "(cached) $ac_c" 1>&6
4853 else
4856 ac_ext=C
4857 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4858 ac_cpp='$CXXCPP $CPPFLAGS'
4859 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4860 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4861 cross_compiling=$ac_cv_prog_cxx_cross
4863 cat > conftest.$ac_ext <<EOF
4864 #line 4865 "configure"
4865 #include "confdefs.h"
4866 #include <math.h>
4867 int main() {
4868 __builtin_fabsl(0);
4869 ; return 0; }
4871 if { (eval echo configure:4872: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4872 rm -rf conftest*
4873 glibcpp_cv_func___builtin_fabsl_use=yes
4874 else
4875 echo "configure: failed program was:" >&5
4876 cat conftest.$ac_ext >&5
4877 rm -rf conftest*
4878 glibcpp_cv_func___builtin_fabsl_use=no
4880 rm -f conftest*
4881 ac_ext=c
4882 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4883 ac_cpp='$CPP $CPPFLAGS'
4884 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4885 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4886 cross_compiling=$ac_cv_prog_cc_cross
4892 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
4893 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
4894 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
4895 echo "configure:4896: checking for __builtin_fabsl linkage" >&5
4896 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
4897 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
4898 echo $ac_n "(cached) $ac_c" 1>&6
4899 else
4901 cat > conftest.$ac_ext <<EOF
4902 #line 4903 "configure"
4903 #include "confdefs.h"
4904 #include <math.h>
4905 int main() {
4906 __builtin_fabsl(0);
4907 ; return 0; }
4909 if { (eval echo configure:4910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4910 rm -rf conftest*
4911 glibcpp_cv_func___builtin_fabsl_link=yes
4912 else
4913 echo "configure: failed program was:" >&5
4914 cat conftest.$ac_ext >&5
4915 rm -rf conftest*
4916 glibcpp_cv_func___builtin_fabsl_link=no
4918 rm -f conftest*
4923 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
4924 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
4925 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4926 cat >> confdefs.h <<EOF
4927 #define ${ac_tr_func} 1
4934 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
4935 echo "configure:4936: checking for __builtin_labs declaration" >&5
4936 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
4937 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
4938 echo $ac_n "(cached) $ac_c" 1>&6
4939 else
4942 ac_ext=C
4943 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4944 ac_cpp='$CXXCPP $CPPFLAGS'
4945 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4946 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4947 cross_compiling=$ac_cv_prog_cxx_cross
4949 cat > conftest.$ac_ext <<EOF
4950 #line 4951 "configure"
4951 #include "confdefs.h"
4952 #include <math.h>
4953 int main() {
4954 __builtin_labs(0);
4955 ; return 0; }
4957 if { (eval echo configure:4958: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4958 rm -rf conftest*
4959 glibcpp_cv_func___builtin_labs_use=yes
4960 else
4961 echo "configure: failed program was:" >&5
4962 cat conftest.$ac_ext >&5
4963 rm -rf conftest*
4964 glibcpp_cv_func___builtin_labs_use=no
4966 rm -f conftest*
4967 ac_ext=c
4968 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4969 ac_cpp='$CPP $CPPFLAGS'
4970 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4971 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4972 cross_compiling=$ac_cv_prog_cc_cross
4978 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
4979 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
4980 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
4981 echo "configure:4982: checking for __builtin_labs linkage" >&5
4982 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
4983 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
4984 echo $ac_n "(cached) $ac_c" 1>&6
4985 else
4987 cat > conftest.$ac_ext <<EOF
4988 #line 4989 "configure"
4989 #include "confdefs.h"
4990 #include <math.h>
4991 int main() {
4992 __builtin_labs(0);
4993 ; return 0; }
4995 if { (eval echo configure:4996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4996 rm -rf conftest*
4997 glibcpp_cv_func___builtin_labs_link=yes
4998 else
4999 echo "configure: failed program was:" >&5
5000 cat conftest.$ac_ext >&5
5001 rm -rf conftest*
5002 glibcpp_cv_func___builtin_labs_link=no
5004 rm -f conftest*
5009 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
5010 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
5011 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5012 cat >> confdefs.h <<EOF
5013 #define ${ac_tr_func} 1
5021 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
5022 echo "configure:5023: checking for __builtin_sqrtf declaration" >&5
5023 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
5024 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
5025 echo $ac_n "(cached) $ac_c" 1>&6
5026 else
5029 ac_ext=C
5030 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5031 ac_cpp='$CXXCPP $CPPFLAGS'
5032 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5033 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5034 cross_compiling=$ac_cv_prog_cxx_cross
5036 cat > conftest.$ac_ext <<EOF
5037 #line 5038 "configure"
5038 #include "confdefs.h"
5039 #include <math.h>
5040 int main() {
5041 __builtin_sqrtf(0);
5042 ; return 0; }
5044 if { (eval echo configure:5045: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5045 rm -rf conftest*
5046 glibcpp_cv_func___builtin_sqrtf_use=yes
5047 else
5048 echo "configure: failed program was:" >&5
5049 cat conftest.$ac_ext >&5
5050 rm -rf conftest*
5051 glibcpp_cv_func___builtin_sqrtf_use=no
5053 rm -f conftest*
5054 ac_ext=c
5055 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5056 ac_cpp='$CPP $CPPFLAGS'
5057 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5058 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5059 cross_compiling=$ac_cv_prog_cc_cross
5065 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
5066 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
5067 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
5068 echo "configure:5069: checking for __builtin_sqrtf linkage" >&5
5069 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
5070 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
5071 echo $ac_n "(cached) $ac_c" 1>&6
5072 else
5074 cat > conftest.$ac_ext <<EOF
5075 #line 5076 "configure"
5076 #include "confdefs.h"
5077 #include <math.h>
5078 int main() {
5079 __builtin_sqrtf(0);
5080 ; return 0; }
5082 if { (eval echo configure:5083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5083 rm -rf conftest*
5084 glibcpp_cv_func___builtin_sqrtf_link=yes
5085 else
5086 echo "configure: failed program was:" >&5
5087 cat conftest.$ac_ext >&5
5088 rm -rf conftest*
5089 glibcpp_cv_func___builtin_sqrtf_link=no
5091 rm -f conftest*
5096 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
5097 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
5098 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5099 cat >> confdefs.h <<EOF
5100 #define ${ac_tr_func} 1
5107 echo $ac_n "checking for __builtin_fsqrt declaration""... $ac_c" 1>&6
5108 echo "configure:5109: checking for __builtin_fsqrt declaration" >&5
5109 if test x${glibcpp_cv_func___builtin_fsqrt_use+set} != xset; then
5110 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_use'+set}'`\" = set"; then
5111 echo $ac_n "(cached) $ac_c" 1>&6
5112 else
5115 ac_ext=C
5116 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5117 ac_cpp='$CXXCPP $CPPFLAGS'
5118 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5119 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5120 cross_compiling=$ac_cv_prog_cxx_cross
5122 cat > conftest.$ac_ext <<EOF
5123 #line 5124 "configure"
5124 #include "confdefs.h"
5125 #include <math.h>
5126 int main() {
5127 __builtin_fsqrt(0);
5128 ; return 0; }
5130 if { (eval echo configure:5131: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5131 rm -rf conftest*
5132 glibcpp_cv_func___builtin_fsqrt_use=yes
5133 else
5134 echo "configure: failed program was:" >&5
5135 cat conftest.$ac_ext >&5
5136 rm -rf conftest*
5137 glibcpp_cv_func___builtin_fsqrt_use=no
5139 rm -f conftest*
5140 ac_ext=c
5141 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5142 ac_cpp='$CPP $CPPFLAGS'
5143 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5144 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5145 cross_compiling=$ac_cv_prog_cc_cross
5151 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_use" 1>&6
5152 if test x$glibcpp_cv_func___builtin_fsqrt_use = x"yes"; then
5153 echo $ac_n "checking for __builtin_fsqrt linkage""... $ac_c" 1>&6
5154 echo "configure:5155: checking for __builtin_fsqrt linkage" >&5
5155 if test x${glibcpp_cv_func___builtin_fsqrt_link+set} != xset; then
5156 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_link'+set}'`\" = set"; then
5157 echo $ac_n "(cached) $ac_c" 1>&6
5158 else
5160 cat > conftest.$ac_ext <<EOF
5161 #line 5162 "configure"
5162 #include "confdefs.h"
5163 #include <math.h>
5164 int main() {
5165 __builtin_fsqrt(0);
5166 ; return 0; }
5168 if { (eval echo configure:5169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5169 rm -rf conftest*
5170 glibcpp_cv_func___builtin_fsqrt_link=yes
5171 else
5172 echo "configure: failed program was:" >&5
5173 cat conftest.$ac_ext >&5
5174 rm -rf conftest*
5175 glibcpp_cv_func___builtin_fsqrt_link=no
5177 rm -f conftest*
5182 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_link" 1>&6
5183 if test x$glibcpp_cv_func___builtin_fsqrt_link = x"yes"; then
5184 ac_tr_func=HAVE_`echo __builtin_fsqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5185 cat >> confdefs.h <<EOF
5186 #define ${ac_tr_func} 1
5193 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
5194 echo "configure:5195: checking for __builtin_sqrtl declaration" >&5
5195 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
5196 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
5197 echo $ac_n "(cached) $ac_c" 1>&6
5198 else
5201 ac_ext=C
5202 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5203 ac_cpp='$CXXCPP $CPPFLAGS'
5204 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5205 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5206 cross_compiling=$ac_cv_prog_cxx_cross
5208 cat > conftest.$ac_ext <<EOF
5209 #line 5210 "configure"
5210 #include "confdefs.h"
5211 #include <math.h>
5212 int main() {
5213 __builtin_sqrtl(0);
5214 ; return 0; }
5216 if { (eval echo configure:5217: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5217 rm -rf conftest*
5218 glibcpp_cv_func___builtin_sqrtl_use=yes
5219 else
5220 echo "configure: failed program was:" >&5
5221 cat conftest.$ac_ext >&5
5222 rm -rf conftest*
5223 glibcpp_cv_func___builtin_sqrtl_use=no
5225 rm -f conftest*
5226 ac_ext=c
5227 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5228 ac_cpp='$CPP $CPPFLAGS'
5229 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5230 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5231 cross_compiling=$ac_cv_prog_cc_cross
5237 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
5238 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
5239 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
5240 echo "configure:5241: checking for __builtin_sqrtl linkage" >&5
5241 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
5242 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
5243 echo $ac_n "(cached) $ac_c" 1>&6
5244 else
5246 cat > conftest.$ac_ext <<EOF
5247 #line 5248 "configure"
5248 #include "confdefs.h"
5249 #include <math.h>
5250 int main() {
5251 __builtin_sqrtl(0);
5252 ; return 0; }
5254 if { (eval echo configure:5255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5255 rm -rf conftest*
5256 glibcpp_cv_func___builtin_sqrtl_link=yes
5257 else
5258 echo "configure: failed program was:" >&5
5259 cat conftest.$ac_ext >&5
5260 rm -rf conftest*
5261 glibcpp_cv_func___builtin_sqrtl_link=no
5263 rm -f conftest*
5268 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
5269 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
5270 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5271 cat >> confdefs.h <<EOF
5272 #define ${ac_tr_func} 1
5280 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
5281 echo "configure:5282: checking for __builtin_sinf declaration" >&5
5282 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
5283 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
5284 echo $ac_n "(cached) $ac_c" 1>&6
5285 else
5288 ac_ext=C
5289 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5290 ac_cpp='$CXXCPP $CPPFLAGS'
5291 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5292 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5293 cross_compiling=$ac_cv_prog_cxx_cross
5295 cat > conftest.$ac_ext <<EOF
5296 #line 5297 "configure"
5297 #include "confdefs.h"
5298 #include <math.h>
5299 int main() {
5300 __builtin_sinf(0);
5301 ; return 0; }
5303 if { (eval echo configure:5304: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5304 rm -rf conftest*
5305 glibcpp_cv_func___builtin_sinf_use=yes
5306 else
5307 echo "configure: failed program was:" >&5
5308 cat conftest.$ac_ext >&5
5309 rm -rf conftest*
5310 glibcpp_cv_func___builtin_sinf_use=no
5312 rm -f conftest*
5313 ac_ext=c
5314 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5315 ac_cpp='$CPP $CPPFLAGS'
5316 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5317 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5318 cross_compiling=$ac_cv_prog_cc_cross
5324 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
5325 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
5326 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
5327 echo "configure:5328: checking for __builtin_sinf linkage" >&5
5328 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
5329 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
5330 echo $ac_n "(cached) $ac_c" 1>&6
5331 else
5333 cat > conftest.$ac_ext <<EOF
5334 #line 5335 "configure"
5335 #include "confdefs.h"
5336 #include <math.h>
5337 int main() {
5338 __builtin_sinf(0);
5339 ; return 0; }
5341 if { (eval echo configure:5342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5342 rm -rf conftest*
5343 glibcpp_cv_func___builtin_sinf_link=yes
5344 else
5345 echo "configure: failed program was:" >&5
5346 cat conftest.$ac_ext >&5
5347 rm -rf conftest*
5348 glibcpp_cv_func___builtin_sinf_link=no
5350 rm -f conftest*
5355 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
5356 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
5357 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5358 cat >> confdefs.h <<EOF
5359 #define ${ac_tr_func} 1
5366 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
5367 echo "configure:5368: checking for __builtin_sin declaration" >&5
5368 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
5369 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
5370 echo $ac_n "(cached) $ac_c" 1>&6
5371 else
5374 ac_ext=C
5375 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5376 ac_cpp='$CXXCPP $CPPFLAGS'
5377 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5378 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5379 cross_compiling=$ac_cv_prog_cxx_cross
5381 cat > conftest.$ac_ext <<EOF
5382 #line 5383 "configure"
5383 #include "confdefs.h"
5384 #include <math.h>
5385 int main() {
5386 __builtin_sin(0);
5387 ; return 0; }
5389 if { (eval echo configure:5390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5390 rm -rf conftest*
5391 glibcpp_cv_func___builtin_sin_use=yes
5392 else
5393 echo "configure: failed program was:" >&5
5394 cat conftest.$ac_ext >&5
5395 rm -rf conftest*
5396 glibcpp_cv_func___builtin_sin_use=no
5398 rm -f conftest*
5399 ac_ext=c
5400 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5401 ac_cpp='$CPP $CPPFLAGS'
5402 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5403 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5404 cross_compiling=$ac_cv_prog_cc_cross
5410 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
5411 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
5412 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
5413 echo "configure:5414: checking for __builtin_sin linkage" >&5
5414 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
5415 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
5416 echo $ac_n "(cached) $ac_c" 1>&6
5417 else
5419 cat > conftest.$ac_ext <<EOF
5420 #line 5421 "configure"
5421 #include "confdefs.h"
5422 #include <math.h>
5423 int main() {
5424 __builtin_sin(0);
5425 ; return 0; }
5427 if { (eval echo configure:5428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5428 rm -rf conftest*
5429 glibcpp_cv_func___builtin_sin_link=yes
5430 else
5431 echo "configure: failed program was:" >&5
5432 cat conftest.$ac_ext >&5
5433 rm -rf conftest*
5434 glibcpp_cv_func___builtin_sin_link=no
5436 rm -f conftest*
5441 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
5442 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
5443 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5444 cat >> confdefs.h <<EOF
5445 #define ${ac_tr_func} 1
5452 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
5453 echo "configure:5454: checking for __builtin_sinl declaration" >&5
5454 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
5455 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
5456 echo $ac_n "(cached) $ac_c" 1>&6
5457 else
5460 ac_ext=C
5461 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5462 ac_cpp='$CXXCPP $CPPFLAGS'
5463 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5464 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5465 cross_compiling=$ac_cv_prog_cxx_cross
5467 cat > conftest.$ac_ext <<EOF
5468 #line 5469 "configure"
5469 #include "confdefs.h"
5470 #include <math.h>
5471 int main() {
5472 __builtin_sinl(0);
5473 ; return 0; }
5475 if { (eval echo configure:5476: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5476 rm -rf conftest*
5477 glibcpp_cv_func___builtin_sinl_use=yes
5478 else
5479 echo "configure: failed program was:" >&5
5480 cat conftest.$ac_ext >&5
5481 rm -rf conftest*
5482 glibcpp_cv_func___builtin_sinl_use=no
5484 rm -f conftest*
5485 ac_ext=c
5486 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5487 ac_cpp='$CPP $CPPFLAGS'
5488 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5489 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5490 cross_compiling=$ac_cv_prog_cc_cross
5496 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
5497 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
5498 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
5499 echo "configure:5500: checking for __builtin_sinl linkage" >&5
5500 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
5501 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
5502 echo $ac_n "(cached) $ac_c" 1>&6
5503 else
5505 cat > conftest.$ac_ext <<EOF
5506 #line 5507 "configure"
5507 #include "confdefs.h"
5508 #include <math.h>
5509 int main() {
5510 __builtin_sinl(0);
5511 ; return 0; }
5513 if { (eval echo configure:5514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5514 rm -rf conftest*
5515 glibcpp_cv_func___builtin_sinl_link=yes
5516 else
5517 echo "configure: failed program was:" >&5
5518 cat conftest.$ac_ext >&5
5519 rm -rf conftest*
5520 glibcpp_cv_func___builtin_sinl_link=no
5522 rm -f conftest*
5527 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
5528 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
5529 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5530 cat >> confdefs.h <<EOF
5531 #define ${ac_tr_func} 1
5539 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
5540 echo "configure:5541: checking for __builtin_cosf declaration" >&5
5541 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
5542 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
5543 echo $ac_n "(cached) $ac_c" 1>&6
5544 else
5547 ac_ext=C
5548 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5549 ac_cpp='$CXXCPP $CPPFLAGS'
5550 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5551 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5552 cross_compiling=$ac_cv_prog_cxx_cross
5554 cat > conftest.$ac_ext <<EOF
5555 #line 5556 "configure"
5556 #include "confdefs.h"
5557 #include <math.h>
5558 int main() {
5559 __builtin_cosf(0);
5560 ; return 0; }
5562 if { (eval echo configure:5563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5563 rm -rf conftest*
5564 glibcpp_cv_func___builtin_cosf_use=yes
5565 else
5566 echo "configure: failed program was:" >&5
5567 cat conftest.$ac_ext >&5
5568 rm -rf conftest*
5569 glibcpp_cv_func___builtin_cosf_use=no
5571 rm -f conftest*
5572 ac_ext=c
5573 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5574 ac_cpp='$CPP $CPPFLAGS'
5575 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5576 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5577 cross_compiling=$ac_cv_prog_cc_cross
5583 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
5584 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
5585 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
5586 echo "configure:5587: checking for __builtin_cosf linkage" >&5
5587 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
5588 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
5589 echo $ac_n "(cached) $ac_c" 1>&6
5590 else
5592 cat > conftest.$ac_ext <<EOF
5593 #line 5594 "configure"
5594 #include "confdefs.h"
5595 #include <math.h>
5596 int main() {
5597 __builtin_cosf(0);
5598 ; return 0; }
5600 if { (eval echo configure:5601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5601 rm -rf conftest*
5602 glibcpp_cv_func___builtin_cosf_link=yes
5603 else
5604 echo "configure: failed program was:" >&5
5605 cat conftest.$ac_ext >&5
5606 rm -rf conftest*
5607 glibcpp_cv_func___builtin_cosf_link=no
5609 rm -f conftest*
5614 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
5615 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
5616 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5617 cat >> confdefs.h <<EOF
5618 #define ${ac_tr_func} 1
5625 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
5626 echo "configure:5627: checking for __builtin_cos declaration" >&5
5627 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
5628 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
5629 echo $ac_n "(cached) $ac_c" 1>&6
5630 else
5633 ac_ext=C
5634 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5635 ac_cpp='$CXXCPP $CPPFLAGS'
5636 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5637 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5638 cross_compiling=$ac_cv_prog_cxx_cross
5640 cat > conftest.$ac_ext <<EOF
5641 #line 5642 "configure"
5642 #include "confdefs.h"
5643 #include <math.h>
5644 int main() {
5645 __builtin_cos(0);
5646 ; return 0; }
5648 if { (eval echo configure:5649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5649 rm -rf conftest*
5650 glibcpp_cv_func___builtin_cos_use=yes
5651 else
5652 echo "configure: failed program was:" >&5
5653 cat conftest.$ac_ext >&5
5654 rm -rf conftest*
5655 glibcpp_cv_func___builtin_cos_use=no
5657 rm -f conftest*
5658 ac_ext=c
5659 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5660 ac_cpp='$CPP $CPPFLAGS'
5661 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5662 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5663 cross_compiling=$ac_cv_prog_cc_cross
5669 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
5670 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
5671 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
5672 echo "configure:5673: checking for __builtin_cos linkage" >&5
5673 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
5674 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
5675 echo $ac_n "(cached) $ac_c" 1>&6
5676 else
5678 cat > conftest.$ac_ext <<EOF
5679 #line 5680 "configure"
5680 #include "confdefs.h"
5681 #include <math.h>
5682 int main() {
5683 __builtin_cos(0);
5684 ; return 0; }
5686 if { (eval echo configure:5687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5687 rm -rf conftest*
5688 glibcpp_cv_func___builtin_cos_link=yes
5689 else
5690 echo "configure: failed program was:" >&5
5691 cat conftest.$ac_ext >&5
5692 rm -rf conftest*
5693 glibcpp_cv_func___builtin_cos_link=no
5695 rm -f conftest*
5700 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
5701 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
5702 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5703 cat >> confdefs.h <<EOF
5704 #define ${ac_tr_func} 1
5711 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
5712 echo "configure:5713: checking for __builtin_cosl declaration" >&5
5713 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
5714 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
5715 echo $ac_n "(cached) $ac_c" 1>&6
5716 else
5719 ac_ext=C
5720 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5721 ac_cpp='$CXXCPP $CPPFLAGS'
5722 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5723 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5724 cross_compiling=$ac_cv_prog_cxx_cross
5726 cat > conftest.$ac_ext <<EOF
5727 #line 5728 "configure"
5728 #include "confdefs.h"
5729 #include <math.h>
5730 int main() {
5731 __builtin_cosl(0);
5732 ; return 0; }
5734 if { (eval echo configure:5735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5735 rm -rf conftest*
5736 glibcpp_cv_func___builtin_cosl_use=yes
5737 else
5738 echo "configure: failed program was:" >&5
5739 cat conftest.$ac_ext >&5
5740 rm -rf conftest*
5741 glibcpp_cv_func___builtin_cosl_use=no
5743 rm -f conftest*
5744 ac_ext=c
5745 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5746 ac_cpp='$CPP $CPPFLAGS'
5747 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5748 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5749 cross_compiling=$ac_cv_prog_cc_cross
5755 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
5756 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
5757 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
5758 echo "configure:5759: checking for __builtin_cosl linkage" >&5
5759 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
5760 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
5761 echo $ac_n "(cached) $ac_c" 1>&6
5762 else
5764 cat > conftest.$ac_ext <<EOF
5765 #line 5766 "configure"
5766 #include "confdefs.h"
5767 #include <math.h>
5768 int main() {
5769 __builtin_cosl(0);
5770 ; return 0; }
5772 if { (eval echo configure:5773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5773 rm -rf conftest*
5774 glibcpp_cv_func___builtin_cosl_link=yes
5775 else
5776 echo "configure: failed program was:" >&5
5777 cat conftest.$ac_ext >&5
5778 rm -rf conftest*
5779 glibcpp_cv_func___builtin_cosl_link=no
5781 rm -f conftest*
5786 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
5787 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
5788 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5789 cat >> confdefs.h <<EOF
5790 #define ${ac_tr_func} 1
5797 dummyvar=no
5798 if test x$dummyvar = x"yes"; then
5799 cat >> confdefs.h <<\EOF
5800 #define HAVE___BUILTIN_ABS 1
5803 cat >> confdefs.h <<\EOF
5804 #define HAVE___BUILTIN_LABS 1
5807 cat >> confdefs.h <<\EOF
5808 #define HAVE___BUILTIN_COS 1
5811 cat >> confdefs.h <<\EOF
5812 #define HAVE___BUILTIN_COSF 1
5815 cat >> confdefs.h <<\EOF
5816 #define HAVE___BUILTIN_COSL 1
5819 cat >> confdefs.h <<\EOF
5820 #define HAVE___BUILTIN_FABS 1
5823 cat >> confdefs.h <<\EOF
5824 #define HAVE___BUILTIN_FABSF 1
5827 cat >> confdefs.h <<\EOF
5828 #define HAVE___BUILTIN_FABSL 1
5831 cat >> confdefs.h <<\EOF
5832 #define HAVE___BUILTIN_SIN 1
5835 cat >> confdefs.h <<\EOF
5836 #define HAVE___BUILTIN_SINF 1
5839 cat >> confdefs.h <<\EOF
5840 #define HAVE___BUILTIN_SINL 1
5843 cat >> confdefs.h <<\EOF
5844 #define HAVE___BUILTIN_FSQRT 1
5847 cat >> confdefs.h <<\EOF
5848 #define HAVE___BUILTIN_SQRTF 1
5851 cat >> confdefs.h <<\EOF
5852 #define HAVE___BUILTIN_SQRTL 1
5858 ac_test_CXXFLAGS="${CXXFLAGS+set}"
5859 ac_save_CXXFLAGS="$CXXFLAGS"
5860 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
5862 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
5863 echo "configure:5864: checking for sin in -lm" >&5
5864 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
5865 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5866 echo $ac_n "(cached) $ac_c" 1>&6
5867 else
5868 ac_save_LIBS="$LIBS"
5869 LIBS="-lm $LIBS"
5870 cat > conftest.$ac_ext <<EOF
5871 #line 5872 "configure"
5872 #include "confdefs.h"
5873 /* Override any gcc2 internal prototype to avoid an error. */
5874 /* We use char because int might match the return type of a gcc2
5875 builtin and then its argument prototype would still apply. */
5876 char sin();
5878 int main() {
5879 sin()
5880 ; return 0; }
5882 if { (eval echo configure:5883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5883 rm -rf conftest*
5884 eval "ac_cv_lib_$ac_lib_var=yes"
5885 else
5886 echo "configure: failed program was:" >&5
5887 cat conftest.$ac_ext >&5
5888 rm -rf conftest*
5889 eval "ac_cv_lib_$ac_lib_var=no"
5891 rm -f conftest*
5892 LIBS="$ac_save_LIBS"
5895 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5896 echo "$ac_t""yes" 1>&6
5897 libm="-lm"
5898 else
5899 echo "$ac_t""no" 1>&6
5902 ac_save_LIBS="$LIBS"
5903 LIBS="$LIBS $libm"
5906 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
5907 echo "configure:5908: checking for isinf declaration" >&5
5908 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
5909 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
5910 echo $ac_n "(cached) $ac_c" 1>&6
5911 else
5914 ac_ext=C
5915 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5916 ac_cpp='$CXXCPP $CPPFLAGS'
5917 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5918 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5919 cross_compiling=$ac_cv_prog_cxx_cross
5921 cat > conftest.$ac_ext <<EOF
5922 #line 5923 "configure"
5923 #include "confdefs.h"
5924 #include <math.h>
5925 int main() {
5926 isinf(0);
5927 ; return 0; }
5929 if { (eval echo configure:5930: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5930 rm -rf conftest*
5931 glibcpp_cv_func_isinf_use=yes
5932 else
5933 echo "configure: failed program was:" >&5
5934 cat conftest.$ac_ext >&5
5935 rm -rf conftest*
5936 glibcpp_cv_func_isinf_use=no
5938 rm -f conftest*
5939 ac_ext=c
5940 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5941 ac_cpp='$CPP $CPPFLAGS'
5942 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5943 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5944 cross_compiling=$ac_cv_prog_cc_cross
5950 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
5951 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
5952 for ac_func in isinf
5954 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5955 echo "configure:5956: checking for $ac_func" >&5
5956 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5957 echo $ac_n "(cached) $ac_c" 1>&6
5958 else
5959 cat > conftest.$ac_ext <<EOF
5960 #line 5961 "configure"
5961 #include "confdefs.h"
5962 /* System header to define __stub macros and hopefully few prototypes,
5963 which can conflict with char $ac_func(); below. */
5964 #include <assert.h>
5965 /* Override any gcc2 internal prototype to avoid an error. */
5966 /* We use char because int might match the return type of a gcc2
5967 builtin and then its argument prototype would still apply. */
5968 char $ac_func();
5970 int main() {
5972 /* The GNU C library defines this for functions which it implements
5973 to always fail with ENOSYS. Some functions are actually named
5974 something starting with __ and the normal name is an alias. */
5975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5976 choke me
5977 #else
5978 $ac_func();
5979 #endif
5981 ; return 0; }
5983 if { (eval echo configure:5984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5984 rm -rf conftest*
5985 eval "ac_cv_func_$ac_func=yes"
5986 else
5987 echo "configure: failed program was:" >&5
5988 cat conftest.$ac_ext >&5
5989 rm -rf conftest*
5990 eval "ac_cv_func_$ac_func=no"
5992 rm -f conftest*
5995 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5996 echo "$ac_t""yes" 1>&6
5997 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5998 cat >> confdefs.h <<EOF
5999 #define $ac_tr_func 1
6002 else
6003 echo "$ac_t""no" 1>&6
6005 done
6010 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
6011 echo "configure:6012: checking for isnan declaration" >&5
6012 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
6013 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
6014 echo $ac_n "(cached) $ac_c" 1>&6
6015 else
6018 ac_ext=C
6019 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6020 ac_cpp='$CXXCPP $CPPFLAGS'
6021 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6022 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6023 cross_compiling=$ac_cv_prog_cxx_cross
6025 cat > conftest.$ac_ext <<EOF
6026 #line 6027 "configure"
6027 #include "confdefs.h"
6028 #include <math.h>
6029 int main() {
6030 isnan(0);
6031 ; return 0; }
6033 if { (eval echo configure:6034: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6034 rm -rf conftest*
6035 glibcpp_cv_func_isnan_use=yes
6036 else
6037 echo "configure: failed program was:" >&5
6038 cat conftest.$ac_ext >&5
6039 rm -rf conftest*
6040 glibcpp_cv_func_isnan_use=no
6042 rm -f conftest*
6043 ac_ext=c
6044 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6045 ac_cpp='$CPP $CPPFLAGS'
6046 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6047 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6048 cross_compiling=$ac_cv_prog_cc_cross
6054 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
6055 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
6056 for ac_func in isnan
6058 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6059 echo "configure:6060: checking for $ac_func" >&5
6060 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6061 echo $ac_n "(cached) $ac_c" 1>&6
6062 else
6063 cat > conftest.$ac_ext <<EOF
6064 #line 6065 "configure"
6065 #include "confdefs.h"
6066 /* System header to define __stub macros and hopefully few prototypes,
6067 which can conflict with char $ac_func(); below. */
6068 #include <assert.h>
6069 /* Override any gcc2 internal prototype to avoid an error. */
6070 /* We use char because int might match the return type of a gcc2
6071 builtin and then its argument prototype would still apply. */
6072 char $ac_func();
6074 int main() {
6076 /* The GNU C library defines this for functions which it implements
6077 to always fail with ENOSYS. Some functions are actually named
6078 something starting with __ and the normal name is an alias. */
6079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6080 choke me
6081 #else
6082 $ac_func();
6083 #endif
6085 ; return 0; }
6087 if { (eval echo configure:6088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6088 rm -rf conftest*
6089 eval "ac_cv_func_$ac_func=yes"
6090 else
6091 echo "configure: failed program was:" >&5
6092 cat conftest.$ac_ext >&5
6093 rm -rf conftest*
6094 eval "ac_cv_func_$ac_func=no"
6096 rm -f conftest*
6099 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6100 echo "$ac_t""yes" 1>&6
6101 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6102 cat >> confdefs.h <<EOF
6103 #define $ac_tr_func 1
6106 else
6107 echo "$ac_t""no" 1>&6
6109 done
6114 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
6115 echo "configure:6116: checking for finite declaration" >&5
6116 if test x${glibcpp_cv_func_finite_use+set} != xset; then
6117 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
6118 echo $ac_n "(cached) $ac_c" 1>&6
6119 else
6122 ac_ext=C
6123 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6124 ac_cpp='$CXXCPP $CPPFLAGS'
6125 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6126 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6127 cross_compiling=$ac_cv_prog_cxx_cross
6129 cat > conftest.$ac_ext <<EOF
6130 #line 6131 "configure"
6131 #include "confdefs.h"
6132 #include <math.h>
6133 int main() {
6134 finite(0);
6135 ; return 0; }
6137 if { (eval echo configure:6138: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6138 rm -rf conftest*
6139 glibcpp_cv_func_finite_use=yes
6140 else
6141 echo "configure: failed program was:" >&5
6142 cat conftest.$ac_ext >&5
6143 rm -rf conftest*
6144 glibcpp_cv_func_finite_use=no
6146 rm -f conftest*
6147 ac_ext=c
6148 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6149 ac_cpp='$CPP $CPPFLAGS'
6150 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6151 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6152 cross_compiling=$ac_cv_prog_cc_cross
6158 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
6159 if test x$glibcpp_cv_func_finite_use = x"yes"; then
6160 for ac_func in finite
6162 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6163 echo "configure:6164: checking for $ac_func" >&5
6164 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6165 echo $ac_n "(cached) $ac_c" 1>&6
6166 else
6167 cat > conftest.$ac_ext <<EOF
6168 #line 6169 "configure"
6169 #include "confdefs.h"
6170 /* System header to define __stub macros and hopefully few prototypes,
6171 which can conflict with char $ac_func(); below. */
6172 #include <assert.h>
6173 /* Override any gcc2 internal prototype to avoid an error. */
6174 /* We use char because int might match the return type of a gcc2
6175 builtin and then its argument prototype would still apply. */
6176 char $ac_func();
6178 int main() {
6180 /* The GNU C library defines this for functions which it implements
6181 to always fail with ENOSYS. Some functions are actually named
6182 something starting with __ and the normal name is an alias. */
6183 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6184 choke me
6185 #else
6186 $ac_func();
6187 #endif
6189 ; return 0; }
6191 if { (eval echo configure:6192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6192 rm -rf conftest*
6193 eval "ac_cv_func_$ac_func=yes"
6194 else
6195 echo "configure: failed program was:" >&5
6196 cat conftest.$ac_ext >&5
6197 rm -rf conftest*
6198 eval "ac_cv_func_$ac_func=no"
6200 rm -f conftest*
6203 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6204 echo "$ac_t""yes" 1>&6
6205 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6206 cat >> confdefs.h <<EOF
6207 #define $ac_tr_func 1
6210 else
6211 echo "$ac_t""no" 1>&6
6213 done
6218 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
6219 echo "configure:6220: checking for copysign declaration" >&5
6220 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
6221 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
6222 echo $ac_n "(cached) $ac_c" 1>&6
6223 else
6226 ac_ext=C
6227 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6228 ac_cpp='$CXXCPP $CPPFLAGS'
6229 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6230 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6231 cross_compiling=$ac_cv_prog_cxx_cross
6233 cat > conftest.$ac_ext <<EOF
6234 #line 6235 "configure"
6235 #include "confdefs.h"
6236 #include <math.h>
6237 int main() {
6238 copysign(0, 0);
6239 ; return 0; }
6241 if { (eval echo configure:6242: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6242 rm -rf conftest*
6243 glibcpp_cv_func_copysign_use=yes
6244 else
6245 echo "configure: failed program was:" >&5
6246 cat conftest.$ac_ext >&5
6247 rm -rf conftest*
6248 glibcpp_cv_func_copysign_use=no
6250 rm -f conftest*
6251 ac_ext=c
6252 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6253 ac_cpp='$CPP $CPPFLAGS'
6254 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6255 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6256 cross_compiling=$ac_cv_prog_cc_cross
6262 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
6263 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
6264 for ac_func in copysign
6266 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6267 echo "configure:6268: checking for $ac_func" >&5
6268 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6269 echo $ac_n "(cached) $ac_c" 1>&6
6270 else
6271 cat > conftest.$ac_ext <<EOF
6272 #line 6273 "configure"
6273 #include "confdefs.h"
6274 /* System header to define __stub macros and hopefully few prototypes,
6275 which can conflict with char $ac_func(); below. */
6276 #include <assert.h>
6277 /* Override any gcc2 internal prototype to avoid an error. */
6278 /* We use char because int might match the return type of a gcc2
6279 builtin and then its argument prototype would still apply. */
6280 char $ac_func();
6282 int main() {
6284 /* The GNU C library defines this for functions which it implements
6285 to always fail with ENOSYS. Some functions are actually named
6286 something starting with __ and the normal name is an alias. */
6287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6288 choke me
6289 #else
6290 $ac_func();
6291 #endif
6293 ; return 0; }
6295 if { (eval echo configure:6296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6296 rm -rf conftest*
6297 eval "ac_cv_func_$ac_func=yes"
6298 else
6299 echo "configure: failed program was:" >&5
6300 cat conftest.$ac_ext >&5
6301 rm -rf conftest*
6302 eval "ac_cv_func_$ac_func=no"
6304 rm -f conftest*
6307 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6308 echo "$ac_t""yes" 1>&6
6309 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6310 cat >> confdefs.h <<EOF
6311 #define $ac_tr_func 1
6314 else
6315 echo "$ac_t""no" 1>&6
6317 done
6322 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
6323 echo "configure:6324: checking for sincos declaration" >&5
6324 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
6325 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
6326 echo $ac_n "(cached) $ac_c" 1>&6
6327 else
6330 ac_ext=C
6331 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6332 ac_cpp='$CXXCPP $CPPFLAGS'
6333 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6334 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6335 cross_compiling=$ac_cv_prog_cxx_cross
6337 cat > conftest.$ac_ext <<EOF
6338 #line 6339 "configure"
6339 #include "confdefs.h"
6340 #include <math.h>
6341 int main() {
6342 sincos(0, 0, 0);
6343 ; return 0; }
6345 if { (eval echo configure:6346: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6346 rm -rf conftest*
6347 glibcpp_cv_func_sincos_use=yes
6348 else
6349 echo "configure: failed program was:" >&5
6350 cat conftest.$ac_ext >&5
6351 rm -rf conftest*
6352 glibcpp_cv_func_sincos_use=no
6354 rm -f conftest*
6355 ac_ext=c
6356 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6357 ac_cpp='$CPP $CPPFLAGS'
6358 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6359 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6360 cross_compiling=$ac_cv_prog_cc_cross
6366 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
6367 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
6368 for ac_func in sincos
6370 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6371 echo "configure:6372: checking for $ac_func" >&5
6372 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6373 echo $ac_n "(cached) $ac_c" 1>&6
6374 else
6375 cat > conftest.$ac_ext <<EOF
6376 #line 6377 "configure"
6377 #include "confdefs.h"
6378 /* System header to define __stub macros and hopefully few prototypes,
6379 which can conflict with char $ac_func(); below. */
6380 #include <assert.h>
6381 /* Override any gcc2 internal prototype to avoid an error. */
6382 /* We use char because int might match the return type of a gcc2
6383 builtin and then its argument prototype would still apply. */
6384 char $ac_func();
6386 int main() {
6388 /* The GNU C library defines this for functions which it implements
6389 to always fail with ENOSYS. Some functions are actually named
6390 something starting with __ and the normal name is an alias. */
6391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6392 choke me
6393 #else
6394 $ac_func();
6395 #endif
6397 ; return 0; }
6399 if { (eval echo configure:6400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6400 rm -rf conftest*
6401 eval "ac_cv_func_$ac_func=yes"
6402 else
6403 echo "configure: failed program was:" >&5
6404 cat conftest.$ac_ext >&5
6405 rm -rf conftest*
6406 eval "ac_cv_func_$ac_func=no"
6408 rm -f conftest*
6411 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6412 echo "$ac_t""yes" 1>&6
6413 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6414 cat >> confdefs.h <<EOF
6415 #define $ac_tr_func 1
6418 else
6419 echo "$ac_t""no" 1>&6
6421 done
6426 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
6427 echo "configure:6428: checking for fpclass declaration" >&5
6428 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
6429 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
6430 echo $ac_n "(cached) $ac_c" 1>&6
6431 else
6434 ac_ext=C
6435 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6436 ac_cpp='$CXXCPP $CPPFLAGS'
6437 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6438 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6439 cross_compiling=$ac_cv_prog_cxx_cross
6441 cat > conftest.$ac_ext <<EOF
6442 #line 6443 "configure"
6443 #include "confdefs.h"
6444 #include <math.h>
6445 int main() {
6446 fpclass(0);
6447 ; return 0; }
6449 if { (eval echo configure:6450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6450 rm -rf conftest*
6451 glibcpp_cv_func_fpclass_use=yes
6452 else
6453 echo "configure: failed program was:" >&5
6454 cat conftest.$ac_ext >&5
6455 rm -rf conftest*
6456 glibcpp_cv_func_fpclass_use=no
6458 rm -f conftest*
6459 ac_ext=c
6460 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6461 ac_cpp='$CPP $CPPFLAGS'
6462 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6463 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6464 cross_compiling=$ac_cv_prog_cc_cross
6470 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
6471 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
6472 for ac_func in fpclass
6474 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6475 echo "configure:6476: checking for $ac_func" >&5
6476 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6477 echo $ac_n "(cached) $ac_c" 1>&6
6478 else
6479 cat > conftest.$ac_ext <<EOF
6480 #line 6481 "configure"
6481 #include "confdefs.h"
6482 /* System header to define __stub macros and hopefully few prototypes,
6483 which can conflict with char $ac_func(); below. */
6484 #include <assert.h>
6485 /* Override any gcc2 internal prototype to avoid an error. */
6486 /* We use char because int might match the return type of a gcc2
6487 builtin and then its argument prototype would still apply. */
6488 char $ac_func();
6490 int main() {
6492 /* The GNU C library defines this for functions which it implements
6493 to always fail with ENOSYS. Some functions are actually named
6494 something starting with __ and the normal name is an alias. */
6495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6496 choke me
6497 #else
6498 $ac_func();
6499 #endif
6501 ; return 0; }
6503 if { (eval echo configure:6504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6504 rm -rf conftest*
6505 eval "ac_cv_func_$ac_func=yes"
6506 else
6507 echo "configure: failed program was:" >&5
6508 cat conftest.$ac_ext >&5
6509 rm -rf conftest*
6510 eval "ac_cv_func_$ac_func=no"
6512 rm -f conftest*
6515 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6516 echo "$ac_t""yes" 1>&6
6517 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6518 cat >> confdefs.h <<EOF
6519 #define $ac_tr_func 1
6522 else
6523 echo "$ac_t""no" 1>&6
6525 done
6530 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
6531 echo "configure:6532: checking for qfpclass declaration" >&5
6532 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
6533 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
6534 echo $ac_n "(cached) $ac_c" 1>&6
6535 else
6538 ac_ext=C
6539 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6540 ac_cpp='$CXXCPP $CPPFLAGS'
6541 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6542 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6543 cross_compiling=$ac_cv_prog_cxx_cross
6545 cat > conftest.$ac_ext <<EOF
6546 #line 6547 "configure"
6547 #include "confdefs.h"
6548 #include <math.h>
6549 int main() {
6550 qfpclass(0);
6551 ; return 0; }
6553 if { (eval echo configure:6554: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6554 rm -rf conftest*
6555 glibcpp_cv_func_qfpclass_use=yes
6556 else
6557 echo "configure: failed program was:" >&5
6558 cat conftest.$ac_ext >&5
6559 rm -rf conftest*
6560 glibcpp_cv_func_qfpclass_use=no
6562 rm -f conftest*
6563 ac_ext=c
6564 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6565 ac_cpp='$CPP $CPPFLAGS'
6566 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6567 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6568 cross_compiling=$ac_cv_prog_cc_cross
6574 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
6575 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
6576 for ac_func in qfpclass
6578 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6579 echo "configure:6580: checking for $ac_func" >&5
6580 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6581 echo $ac_n "(cached) $ac_c" 1>&6
6582 else
6583 cat > conftest.$ac_ext <<EOF
6584 #line 6585 "configure"
6585 #include "confdefs.h"
6586 /* System header to define __stub macros and hopefully few prototypes,
6587 which can conflict with char $ac_func(); below. */
6588 #include <assert.h>
6589 /* Override any gcc2 internal prototype to avoid an error. */
6590 /* We use char because int might match the return type of a gcc2
6591 builtin and then its argument prototype would still apply. */
6592 char $ac_func();
6594 int main() {
6596 /* The GNU C library defines this for functions which it implements
6597 to always fail with ENOSYS. Some functions are actually named
6598 something starting with __ and the normal name is an alias. */
6599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6600 choke me
6601 #else
6602 $ac_func();
6603 #endif
6605 ; return 0; }
6607 if { (eval echo configure:6608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6608 rm -rf conftest*
6609 eval "ac_cv_func_$ac_func=yes"
6610 else
6611 echo "configure: failed program was:" >&5
6612 cat conftest.$ac_ext >&5
6613 rm -rf conftest*
6614 eval "ac_cv_func_$ac_func=no"
6616 rm -f conftest*
6619 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6620 echo "$ac_t""yes" 1>&6
6621 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6622 cat >> confdefs.h <<EOF
6623 #define $ac_tr_func 1
6626 else
6627 echo "$ac_t""no" 1>&6
6629 done
6635 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
6636 echo "configure:6637: checking for float trig functions" >&5
6637 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
6638 echo $ac_n "(cached) $ac_c" 1>&6
6639 else
6642 ac_ext=C
6643 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6644 ac_cpp='$CXXCPP $CPPFLAGS'
6645 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6646 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6647 cross_compiling=$ac_cv_prog_cxx_cross
6649 cat > conftest.$ac_ext <<EOF
6650 #line 6651 "configure"
6651 #include "confdefs.h"
6652 #include <math.h>
6653 int main() {
6654 `for x in acosf asinf atanf \
6655 cosf sinf tanf \
6656 coshf sinhf tanhf; do echo "$x (0);"; done`
6657 ; return 0; }
6659 if { (eval echo configure:6660: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6660 rm -rf conftest*
6661 glibcpp_cv_func_float_trig_use=yes
6662 else
6663 echo "configure: failed program was:" >&5
6664 cat conftest.$ac_ext >&5
6665 rm -rf conftest*
6666 glibcpp_cv_func_float_trig_use=no
6668 rm -f conftest*
6669 ac_ext=c
6670 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6671 ac_cpp='$CPP $CPPFLAGS'
6672 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6673 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6674 cross_compiling=$ac_cv_prog_cc_cross
6678 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
6679 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
6680 for ac_func in acosf asinf atanf \
6681 cosf sinf tanf \
6682 coshf sinhf tanhf
6684 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6685 echo "configure:6686: checking for $ac_func" >&5
6686 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6687 echo $ac_n "(cached) $ac_c" 1>&6
6688 else
6689 cat > conftest.$ac_ext <<EOF
6690 #line 6691 "configure"
6691 #include "confdefs.h"
6692 /* System header to define __stub macros and hopefully few prototypes,
6693 which can conflict with char $ac_func(); below. */
6694 #include <assert.h>
6695 /* Override any gcc2 internal prototype to avoid an error. */
6696 /* We use char because int might match the return type of a gcc2
6697 builtin and then its argument prototype would still apply. */
6698 char $ac_func();
6700 int main() {
6702 /* The GNU C library defines this for functions which it implements
6703 to always fail with ENOSYS. Some functions are actually named
6704 something starting with __ and the normal name is an alias. */
6705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6706 choke me
6707 #else
6708 $ac_func();
6709 #endif
6711 ; return 0; }
6713 if { (eval echo configure:6714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6714 rm -rf conftest*
6715 eval "ac_cv_func_$ac_func=yes"
6716 else
6717 echo "configure: failed program was:" >&5
6718 cat conftest.$ac_ext >&5
6719 rm -rf conftest*
6720 eval "ac_cv_func_$ac_func=no"
6722 rm -f conftest*
6725 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6726 echo "$ac_t""yes" 1>&6
6727 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6728 cat >> confdefs.h <<EOF
6729 #define $ac_tr_func 1
6732 else
6733 echo "$ac_t""no" 1>&6
6735 done
6740 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
6741 echo "configure:6742: checking for float round functions" >&5
6742 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
6743 echo $ac_n "(cached) $ac_c" 1>&6
6744 else
6747 ac_ext=C
6748 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6749 ac_cpp='$CXXCPP $CPPFLAGS'
6750 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6751 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6752 cross_compiling=$ac_cv_prog_cxx_cross
6754 cat > conftest.$ac_ext <<EOF
6755 #line 6756 "configure"
6756 #include "confdefs.h"
6757 #include <math.h>
6758 int main() {
6759 `for x in ceilf floorf; do echo "$x (0);"; done`
6760 ; return 0; }
6762 if { (eval echo configure:6763: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6763 rm -rf conftest*
6764 glibcpp_cv_func_float_round_use=yes
6765 else
6766 echo "configure: failed program was:" >&5
6767 cat conftest.$ac_ext >&5
6768 rm -rf conftest*
6769 glibcpp_cv_func_float_round_use=no
6771 rm -f conftest*
6772 ac_ext=c
6773 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6774 ac_cpp='$CPP $CPPFLAGS'
6775 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6776 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6777 cross_compiling=$ac_cv_prog_cc_cross
6781 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
6782 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
6783 for ac_func in ceilf floorf
6785 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6786 echo "configure:6787: checking for $ac_func" >&5
6787 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6788 echo $ac_n "(cached) $ac_c" 1>&6
6789 else
6790 cat > conftest.$ac_ext <<EOF
6791 #line 6792 "configure"
6792 #include "confdefs.h"
6793 /* System header to define __stub macros and hopefully few prototypes,
6794 which can conflict with char $ac_func(); below. */
6795 #include <assert.h>
6796 /* Override any gcc2 internal prototype to avoid an error. */
6797 /* We use char because int might match the return type of a gcc2
6798 builtin and then its argument prototype would still apply. */
6799 char $ac_func();
6801 int main() {
6803 /* The GNU C library defines this for functions which it implements
6804 to always fail with ENOSYS. Some functions are actually named
6805 something starting with __ and the normal name is an alias. */
6806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6807 choke me
6808 #else
6809 $ac_func();
6810 #endif
6812 ; return 0; }
6814 if { (eval echo configure:6815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6815 rm -rf conftest*
6816 eval "ac_cv_func_$ac_func=yes"
6817 else
6818 echo "configure: failed program was:" >&5
6819 cat conftest.$ac_ext >&5
6820 rm -rf conftest*
6821 eval "ac_cv_func_$ac_func=no"
6823 rm -f conftest*
6826 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6827 echo "$ac_t""yes" 1>&6
6828 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6829 cat >> confdefs.h <<EOF
6830 #define $ac_tr_func 1
6833 else
6834 echo "$ac_t""no" 1>&6
6836 done
6841 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
6842 echo "configure:6843: checking for isnanf declaration" >&5
6843 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
6844 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
6845 echo $ac_n "(cached) $ac_c" 1>&6
6846 else
6849 ac_ext=C
6850 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6851 ac_cpp='$CXXCPP $CPPFLAGS'
6852 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6853 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6854 cross_compiling=$ac_cv_prog_cxx_cross
6856 cat > conftest.$ac_ext <<EOF
6857 #line 6858 "configure"
6858 #include "confdefs.h"
6859 #include <math.h>
6860 int main() {
6861 isnanf(0);
6862 ; return 0; }
6864 if { (eval echo configure:6865: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6865 rm -rf conftest*
6866 glibcpp_cv_func_isnanf_use=yes
6867 else
6868 echo "configure: failed program was:" >&5
6869 cat conftest.$ac_ext >&5
6870 rm -rf conftest*
6871 glibcpp_cv_func_isnanf_use=no
6873 rm -f conftest*
6874 ac_ext=c
6875 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6876 ac_cpp='$CPP $CPPFLAGS'
6877 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6878 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6879 cross_compiling=$ac_cv_prog_cc_cross
6885 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
6886 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
6887 for ac_func in isnanf
6889 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6890 echo "configure:6891: checking for $ac_func" >&5
6891 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6892 echo $ac_n "(cached) $ac_c" 1>&6
6893 else
6894 cat > conftest.$ac_ext <<EOF
6895 #line 6896 "configure"
6896 #include "confdefs.h"
6897 /* System header to define __stub macros and hopefully few prototypes,
6898 which can conflict with char $ac_func(); below. */
6899 #include <assert.h>
6900 /* Override any gcc2 internal prototype to avoid an error. */
6901 /* We use char because int might match the return type of a gcc2
6902 builtin and then its argument prototype would still apply. */
6903 char $ac_func();
6905 int main() {
6907 /* The GNU C library defines this for functions which it implements
6908 to always fail with ENOSYS. Some functions are actually named
6909 something starting with __ and the normal name is an alias. */
6910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6911 choke me
6912 #else
6913 $ac_func();
6914 #endif
6916 ; return 0; }
6918 if { (eval echo configure:6919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6919 rm -rf conftest*
6920 eval "ac_cv_func_$ac_func=yes"
6921 else
6922 echo "configure: failed program was:" >&5
6923 cat conftest.$ac_ext >&5
6924 rm -rf conftest*
6925 eval "ac_cv_func_$ac_func=no"
6927 rm -f conftest*
6930 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6931 echo "$ac_t""yes" 1>&6
6932 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6933 cat >> confdefs.h <<EOF
6934 #define $ac_tr_func 1
6937 else
6938 echo "$ac_t""no" 1>&6
6940 done
6945 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
6946 echo "configure:6947: checking for isinff declaration" >&5
6947 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
6948 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
6949 echo $ac_n "(cached) $ac_c" 1>&6
6950 else
6953 ac_ext=C
6954 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6955 ac_cpp='$CXXCPP $CPPFLAGS'
6956 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6957 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6958 cross_compiling=$ac_cv_prog_cxx_cross
6960 cat > conftest.$ac_ext <<EOF
6961 #line 6962 "configure"
6962 #include "confdefs.h"
6963 #include <math.h>
6964 int main() {
6965 isinff(0);
6966 ; return 0; }
6968 if { (eval echo configure:6969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6969 rm -rf conftest*
6970 glibcpp_cv_func_isinff_use=yes
6971 else
6972 echo "configure: failed program was:" >&5
6973 cat conftest.$ac_ext >&5
6974 rm -rf conftest*
6975 glibcpp_cv_func_isinff_use=no
6977 rm -f conftest*
6978 ac_ext=c
6979 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6980 ac_cpp='$CPP $CPPFLAGS'
6981 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6982 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6983 cross_compiling=$ac_cv_prog_cc_cross
6989 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
6990 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
6991 for ac_func in isinff
6993 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6994 echo "configure:6995: checking for $ac_func" >&5
6995 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6996 echo $ac_n "(cached) $ac_c" 1>&6
6997 else
6998 cat > conftest.$ac_ext <<EOF
6999 #line 7000 "configure"
7000 #include "confdefs.h"
7001 /* System header to define __stub macros and hopefully few prototypes,
7002 which can conflict with char $ac_func(); below. */
7003 #include <assert.h>
7004 /* Override any gcc2 internal prototype to avoid an error. */
7005 /* We use char because int might match the return type of a gcc2
7006 builtin and then its argument prototype would still apply. */
7007 char $ac_func();
7009 int main() {
7011 /* The GNU C library defines this for functions which it implements
7012 to always fail with ENOSYS. Some functions are actually named
7013 something starting with __ and the normal name is an alias. */
7014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7015 choke me
7016 #else
7017 $ac_func();
7018 #endif
7020 ; return 0; }
7022 if { (eval echo configure:7023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7023 rm -rf conftest*
7024 eval "ac_cv_func_$ac_func=yes"
7025 else
7026 echo "configure: failed program was:" >&5
7027 cat conftest.$ac_ext >&5
7028 rm -rf conftest*
7029 eval "ac_cv_func_$ac_func=no"
7031 rm -f conftest*
7034 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7035 echo "$ac_t""yes" 1>&6
7036 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7037 cat >> confdefs.h <<EOF
7038 #define $ac_tr_func 1
7041 else
7042 echo "$ac_t""no" 1>&6
7044 done
7049 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
7050 echo "configure:7051: checking for fabsf declaration" >&5
7051 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
7052 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
7053 echo $ac_n "(cached) $ac_c" 1>&6
7054 else
7057 ac_ext=C
7058 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7059 ac_cpp='$CXXCPP $CPPFLAGS'
7060 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7061 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7062 cross_compiling=$ac_cv_prog_cxx_cross
7064 cat > conftest.$ac_ext <<EOF
7065 #line 7066 "configure"
7066 #include "confdefs.h"
7067 #include <math.h>
7068 int main() {
7069 fabsf(0);
7070 ; return 0; }
7072 if { (eval echo configure:7073: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7073 rm -rf conftest*
7074 glibcpp_cv_func_fabsf_use=yes
7075 else
7076 echo "configure: failed program was:" >&5
7077 cat conftest.$ac_ext >&5
7078 rm -rf conftest*
7079 glibcpp_cv_func_fabsf_use=no
7081 rm -f conftest*
7082 ac_ext=c
7083 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7084 ac_cpp='$CPP $CPPFLAGS'
7085 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7086 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7087 cross_compiling=$ac_cv_prog_cc_cross
7093 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
7094 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
7095 for ac_func in fabsf
7097 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7098 echo "configure:7099: checking for $ac_func" >&5
7099 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7100 echo $ac_n "(cached) $ac_c" 1>&6
7101 else
7102 cat > conftest.$ac_ext <<EOF
7103 #line 7104 "configure"
7104 #include "confdefs.h"
7105 /* System header to define __stub macros and hopefully few prototypes,
7106 which can conflict with char $ac_func(); below. */
7107 #include <assert.h>
7108 /* Override any gcc2 internal prototype to avoid an error. */
7109 /* We use char because int might match the return type of a gcc2
7110 builtin and then its argument prototype would still apply. */
7111 char $ac_func();
7113 int main() {
7115 /* The GNU C library defines this for functions which it implements
7116 to always fail with ENOSYS. Some functions are actually named
7117 something starting with __ and the normal name is an alias. */
7118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7119 choke me
7120 #else
7121 $ac_func();
7122 #endif
7124 ; return 0; }
7126 if { (eval echo configure:7127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7127 rm -rf conftest*
7128 eval "ac_cv_func_$ac_func=yes"
7129 else
7130 echo "configure: failed program was:" >&5
7131 cat conftest.$ac_ext >&5
7132 rm -rf conftest*
7133 eval "ac_cv_func_$ac_func=no"
7135 rm -f conftest*
7138 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7139 echo "$ac_t""yes" 1>&6
7140 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7141 cat >> confdefs.h <<EOF
7142 #define $ac_tr_func 1
7145 else
7146 echo "$ac_t""no" 1>&6
7148 done
7153 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
7154 echo "configure:7155: checking for fmodf declaration" >&5
7155 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
7156 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
7157 echo $ac_n "(cached) $ac_c" 1>&6
7158 else
7161 ac_ext=C
7162 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7163 ac_cpp='$CXXCPP $CPPFLAGS'
7164 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7165 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7166 cross_compiling=$ac_cv_prog_cxx_cross
7168 cat > conftest.$ac_ext <<EOF
7169 #line 7170 "configure"
7170 #include "confdefs.h"
7171 #include <math.h>
7172 int main() {
7173 fmodf(0, 0);
7174 ; return 0; }
7176 if { (eval echo configure:7177: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7177 rm -rf conftest*
7178 glibcpp_cv_func_fmodf_use=yes
7179 else
7180 echo "configure: failed program was:" >&5
7181 cat conftest.$ac_ext >&5
7182 rm -rf conftest*
7183 glibcpp_cv_func_fmodf_use=no
7185 rm -f conftest*
7186 ac_ext=c
7187 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7188 ac_cpp='$CPP $CPPFLAGS'
7189 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7190 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7191 cross_compiling=$ac_cv_prog_cc_cross
7197 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
7198 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
7199 for ac_func in fmodf
7201 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7202 echo "configure:7203: checking for $ac_func" >&5
7203 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7204 echo $ac_n "(cached) $ac_c" 1>&6
7205 else
7206 cat > conftest.$ac_ext <<EOF
7207 #line 7208 "configure"
7208 #include "confdefs.h"
7209 /* System header to define __stub macros and hopefully few prototypes,
7210 which can conflict with char $ac_func(); below. */
7211 #include <assert.h>
7212 /* Override any gcc2 internal prototype to avoid an error. */
7213 /* We use char because int might match the return type of a gcc2
7214 builtin and then its argument prototype would still apply. */
7215 char $ac_func();
7217 int main() {
7219 /* The GNU C library defines this for functions which it implements
7220 to always fail with ENOSYS. Some functions are actually named
7221 something starting with __ and the normal name is an alias. */
7222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7223 choke me
7224 #else
7225 $ac_func();
7226 #endif
7228 ; return 0; }
7230 if { (eval echo configure:7231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7231 rm -rf conftest*
7232 eval "ac_cv_func_$ac_func=yes"
7233 else
7234 echo "configure: failed program was:" >&5
7235 cat conftest.$ac_ext >&5
7236 rm -rf conftest*
7237 eval "ac_cv_func_$ac_func=no"
7239 rm -f conftest*
7242 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7243 echo "$ac_t""yes" 1>&6
7244 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7245 cat >> confdefs.h <<EOF
7246 #define $ac_tr_func 1
7249 else
7250 echo "$ac_t""no" 1>&6
7252 done
7257 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
7258 echo "configure:7259: checking for frexpf declaration" >&5
7259 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
7260 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
7261 echo $ac_n "(cached) $ac_c" 1>&6
7262 else
7265 ac_ext=C
7266 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7267 ac_cpp='$CXXCPP $CPPFLAGS'
7268 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7269 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7270 cross_compiling=$ac_cv_prog_cxx_cross
7272 cat > conftest.$ac_ext <<EOF
7273 #line 7274 "configure"
7274 #include "confdefs.h"
7275 #include <math.h>
7276 int main() {
7277 frexpf(0, 0);
7278 ; return 0; }
7280 if { (eval echo configure:7281: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7281 rm -rf conftest*
7282 glibcpp_cv_func_frexpf_use=yes
7283 else
7284 echo "configure: failed program was:" >&5
7285 cat conftest.$ac_ext >&5
7286 rm -rf conftest*
7287 glibcpp_cv_func_frexpf_use=no
7289 rm -f conftest*
7290 ac_ext=c
7291 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7292 ac_cpp='$CPP $CPPFLAGS'
7293 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7294 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7295 cross_compiling=$ac_cv_prog_cc_cross
7301 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
7302 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
7303 for ac_func in frexpf
7305 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7306 echo "configure:7307: checking for $ac_func" >&5
7307 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7308 echo $ac_n "(cached) $ac_c" 1>&6
7309 else
7310 cat > conftest.$ac_ext <<EOF
7311 #line 7312 "configure"
7312 #include "confdefs.h"
7313 /* System header to define __stub macros and hopefully few prototypes,
7314 which can conflict with char $ac_func(); below. */
7315 #include <assert.h>
7316 /* Override any gcc2 internal prototype to avoid an error. */
7317 /* We use char because int might match the return type of a gcc2
7318 builtin and then its argument prototype would still apply. */
7319 char $ac_func();
7321 int main() {
7323 /* The GNU C library defines this for functions which it implements
7324 to always fail with ENOSYS. Some functions are actually named
7325 something starting with __ and the normal name is an alias. */
7326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7327 choke me
7328 #else
7329 $ac_func();
7330 #endif
7332 ; return 0; }
7334 if { (eval echo configure:7335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7335 rm -rf conftest*
7336 eval "ac_cv_func_$ac_func=yes"
7337 else
7338 echo "configure: failed program was:" >&5
7339 cat conftest.$ac_ext >&5
7340 rm -rf conftest*
7341 eval "ac_cv_func_$ac_func=no"
7343 rm -f conftest*
7346 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7347 echo "$ac_t""yes" 1>&6
7348 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7349 cat >> confdefs.h <<EOF
7350 #define $ac_tr_func 1
7353 else
7354 echo "$ac_t""no" 1>&6
7356 done
7361 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
7362 echo "configure:7363: checking for ldexpf declaration" >&5
7363 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
7364 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
7365 echo $ac_n "(cached) $ac_c" 1>&6
7366 else
7369 ac_ext=C
7370 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7371 ac_cpp='$CXXCPP $CPPFLAGS'
7372 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7373 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7374 cross_compiling=$ac_cv_prog_cxx_cross
7376 cat > conftest.$ac_ext <<EOF
7377 #line 7378 "configure"
7378 #include "confdefs.h"
7379 #include <math.h>
7380 int main() {
7381 ldexpf(0, 0);
7382 ; return 0; }
7384 if { (eval echo configure:7385: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7385 rm -rf conftest*
7386 glibcpp_cv_func_ldexpf_use=yes
7387 else
7388 echo "configure: failed program was:" >&5
7389 cat conftest.$ac_ext >&5
7390 rm -rf conftest*
7391 glibcpp_cv_func_ldexpf_use=no
7393 rm -f conftest*
7394 ac_ext=c
7395 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7396 ac_cpp='$CPP $CPPFLAGS'
7397 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7398 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7399 cross_compiling=$ac_cv_prog_cc_cross
7405 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
7406 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
7407 for ac_func in ldexpf
7409 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7410 echo "configure:7411: checking for $ac_func" >&5
7411 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7412 echo $ac_n "(cached) $ac_c" 1>&6
7413 else
7414 cat > conftest.$ac_ext <<EOF
7415 #line 7416 "configure"
7416 #include "confdefs.h"
7417 /* System header to define __stub macros and hopefully few prototypes,
7418 which can conflict with char $ac_func(); below. */
7419 #include <assert.h>
7420 /* Override any gcc2 internal prototype to avoid an error. */
7421 /* We use char because int might match the return type of a gcc2
7422 builtin and then its argument prototype would still apply. */
7423 char $ac_func();
7425 int main() {
7427 /* The GNU C library defines this for functions which it implements
7428 to always fail with ENOSYS. Some functions are actually named
7429 something starting with __ and the normal name is an alias. */
7430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7431 choke me
7432 #else
7433 $ac_func();
7434 #endif
7436 ; return 0; }
7438 if { (eval echo configure:7439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7439 rm -rf conftest*
7440 eval "ac_cv_func_$ac_func=yes"
7441 else
7442 echo "configure: failed program was:" >&5
7443 cat conftest.$ac_ext >&5
7444 rm -rf conftest*
7445 eval "ac_cv_func_$ac_func=no"
7447 rm -f conftest*
7450 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7451 echo "$ac_t""yes" 1>&6
7452 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7453 cat >> confdefs.h <<EOF
7454 #define $ac_tr_func 1
7457 else
7458 echo "$ac_t""no" 1>&6
7460 done
7465 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
7466 echo "configure:7467: checking for logf declaration" >&5
7467 if test x${glibcpp_cv_func_logf_use+set} != xset; then
7468 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
7469 echo $ac_n "(cached) $ac_c" 1>&6
7470 else
7473 ac_ext=C
7474 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7475 ac_cpp='$CXXCPP $CPPFLAGS'
7476 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7477 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7478 cross_compiling=$ac_cv_prog_cxx_cross
7480 cat > conftest.$ac_ext <<EOF
7481 #line 7482 "configure"
7482 #include "confdefs.h"
7483 #include <math.h>
7484 int main() {
7485 logf(0);
7486 ; return 0; }
7488 if { (eval echo configure:7489: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7489 rm -rf conftest*
7490 glibcpp_cv_func_logf_use=yes
7491 else
7492 echo "configure: failed program was:" >&5
7493 cat conftest.$ac_ext >&5
7494 rm -rf conftest*
7495 glibcpp_cv_func_logf_use=no
7497 rm -f conftest*
7498 ac_ext=c
7499 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7500 ac_cpp='$CPP $CPPFLAGS'
7501 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7502 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7503 cross_compiling=$ac_cv_prog_cc_cross
7509 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
7510 if test x$glibcpp_cv_func_logf_use = x"yes"; then
7511 for ac_func in logf
7513 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7514 echo "configure:7515: checking for $ac_func" >&5
7515 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7516 echo $ac_n "(cached) $ac_c" 1>&6
7517 else
7518 cat > conftest.$ac_ext <<EOF
7519 #line 7520 "configure"
7520 #include "confdefs.h"
7521 /* System header to define __stub macros and hopefully few prototypes,
7522 which can conflict with char $ac_func(); below. */
7523 #include <assert.h>
7524 /* Override any gcc2 internal prototype to avoid an error. */
7525 /* We use char because int might match the return type of a gcc2
7526 builtin and then its argument prototype would still apply. */
7527 char $ac_func();
7529 int main() {
7531 /* The GNU C library defines this for functions which it implements
7532 to always fail with ENOSYS. Some functions are actually named
7533 something starting with __ and the normal name is an alias. */
7534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7535 choke me
7536 #else
7537 $ac_func();
7538 #endif
7540 ; return 0; }
7542 if { (eval echo configure:7543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7543 rm -rf conftest*
7544 eval "ac_cv_func_$ac_func=yes"
7545 else
7546 echo "configure: failed program was:" >&5
7547 cat conftest.$ac_ext >&5
7548 rm -rf conftest*
7549 eval "ac_cv_func_$ac_func=no"
7551 rm -f conftest*
7554 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7555 echo "$ac_t""yes" 1>&6
7556 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7557 cat >> confdefs.h <<EOF
7558 #define $ac_tr_func 1
7561 else
7562 echo "$ac_t""no" 1>&6
7564 done
7569 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
7570 echo "configure:7571: checking for log10f declaration" >&5
7571 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
7572 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
7573 echo $ac_n "(cached) $ac_c" 1>&6
7574 else
7577 ac_ext=C
7578 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7579 ac_cpp='$CXXCPP $CPPFLAGS'
7580 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7581 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7582 cross_compiling=$ac_cv_prog_cxx_cross
7584 cat > conftest.$ac_ext <<EOF
7585 #line 7586 "configure"
7586 #include "confdefs.h"
7587 #include <math.h>
7588 int main() {
7589 log10f(0);
7590 ; return 0; }
7592 if { (eval echo configure:7593: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7593 rm -rf conftest*
7594 glibcpp_cv_func_log10f_use=yes
7595 else
7596 echo "configure: failed program was:" >&5
7597 cat conftest.$ac_ext >&5
7598 rm -rf conftest*
7599 glibcpp_cv_func_log10f_use=no
7601 rm -f conftest*
7602 ac_ext=c
7603 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7604 ac_cpp='$CPP $CPPFLAGS'
7605 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7606 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7607 cross_compiling=$ac_cv_prog_cc_cross
7613 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
7614 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
7615 for ac_func in log10f
7617 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7618 echo "configure:7619: checking for $ac_func" >&5
7619 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7620 echo $ac_n "(cached) $ac_c" 1>&6
7621 else
7622 cat > conftest.$ac_ext <<EOF
7623 #line 7624 "configure"
7624 #include "confdefs.h"
7625 /* System header to define __stub macros and hopefully few prototypes,
7626 which can conflict with char $ac_func(); below. */
7627 #include <assert.h>
7628 /* Override any gcc2 internal prototype to avoid an error. */
7629 /* We use char because int might match the return type of a gcc2
7630 builtin and then its argument prototype would still apply. */
7631 char $ac_func();
7633 int main() {
7635 /* The GNU C library defines this for functions which it implements
7636 to always fail with ENOSYS. Some functions are actually named
7637 something starting with __ and the normal name is an alias. */
7638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7639 choke me
7640 #else
7641 $ac_func();
7642 #endif
7644 ; return 0; }
7646 if { (eval echo configure:7647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7647 rm -rf conftest*
7648 eval "ac_cv_func_$ac_func=yes"
7649 else
7650 echo "configure: failed program was:" >&5
7651 cat conftest.$ac_ext >&5
7652 rm -rf conftest*
7653 eval "ac_cv_func_$ac_func=no"
7655 rm -f conftest*
7658 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7659 echo "$ac_t""yes" 1>&6
7660 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7661 cat >> confdefs.h <<EOF
7662 #define $ac_tr_func 1
7665 else
7666 echo "$ac_t""no" 1>&6
7668 done
7673 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
7674 echo "configure:7675: checking for modff declaration" >&5
7675 if test x${glibcpp_cv_func_modff_use+set} != xset; then
7676 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
7677 echo $ac_n "(cached) $ac_c" 1>&6
7678 else
7681 ac_ext=C
7682 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7683 ac_cpp='$CXXCPP $CPPFLAGS'
7684 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7685 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7686 cross_compiling=$ac_cv_prog_cxx_cross
7688 cat > conftest.$ac_ext <<EOF
7689 #line 7690 "configure"
7690 #include "confdefs.h"
7691 #include <math.h>
7692 int main() {
7693 modff(0, 0);
7694 ; return 0; }
7696 if { (eval echo configure:7697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7697 rm -rf conftest*
7698 glibcpp_cv_func_modff_use=yes
7699 else
7700 echo "configure: failed program was:" >&5
7701 cat conftest.$ac_ext >&5
7702 rm -rf conftest*
7703 glibcpp_cv_func_modff_use=no
7705 rm -f conftest*
7706 ac_ext=c
7707 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7708 ac_cpp='$CPP $CPPFLAGS'
7709 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7710 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7711 cross_compiling=$ac_cv_prog_cc_cross
7717 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
7718 if test x$glibcpp_cv_func_modff_use = x"yes"; then
7719 for ac_func in modff
7721 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7722 echo "configure:7723: checking for $ac_func" >&5
7723 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7724 echo $ac_n "(cached) $ac_c" 1>&6
7725 else
7726 cat > conftest.$ac_ext <<EOF
7727 #line 7728 "configure"
7728 #include "confdefs.h"
7729 /* System header to define __stub macros and hopefully few prototypes,
7730 which can conflict with char $ac_func(); below. */
7731 #include <assert.h>
7732 /* Override any gcc2 internal prototype to avoid an error. */
7733 /* We use char because int might match the return type of a gcc2
7734 builtin and then its argument prototype would still apply. */
7735 char $ac_func();
7737 int main() {
7739 /* The GNU C library defines this for functions which it implements
7740 to always fail with ENOSYS. Some functions are actually named
7741 something starting with __ and the normal name is an alias. */
7742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7743 choke me
7744 #else
7745 $ac_func();
7746 #endif
7748 ; return 0; }
7750 if { (eval echo configure:7751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7751 rm -rf conftest*
7752 eval "ac_cv_func_$ac_func=yes"
7753 else
7754 echo "configure: failed program was:" >&5
7755 cat conftest.$ac_ext >&5
7756 rm -rf conftest*
7757 eval "ac_cv_func_$ac_func=no"
7759 rm -f conftest*
7762 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7763 echo "$ac_t""yes" 1>&6
7764 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7765 cat >> confdefs.h <<EOF
7766 #define $ac_tr_func 1
7769 else
7770 echo "$ac_t""no" 1>&6
7772 done
7777 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
7778 echo "configure:7779: checking for powf declaration" >&5
7779 if test x${glibcpp_cv_func_powf_use+set} != xset; then
7780 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
7781 echo $ac_n "(cached) $ac_c" 1>&6
7782 else
7785 ac_ext=C
7786 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7787 ac_cpp='$CXXCPP $CPPFLAGS'
7788 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7789 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7790 cross_compiling=$ac_cv_prog_cxx_cross
7792 cat > conftest.$ac_ext <<EOF
7793 #line 7794 "configure"
7794 #include "confdefs.h"
7795 #include <math.h>
7796 int main() {
7797 powf(0, 0);
7798 ; return 0; }
7800 if { (eval echo configure:7801: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7801 rm -rf conftest*
7802 glibcpp_cv_func_powf_use=yes
7803 else
7804 echo "configure: failed program was:" >&5
7805 cat conftest.$ac_ext >&5
7806 rm -rf conftest*
7807 glibcpp_cv_func_powf_use=no
7809 rm -f conftest*
7810 ac_ext=c
7811 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7812 ac_cpp='$CPP $CPPFLAGS'
7813 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7814 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7815 cross_compiling=$ac_cv_prog_cc_cross
7821 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
7822 if test x$glibcpp_cv_func_powf_use = x"yes"; then
7823 for ac_func in powf
7825 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7826 echo "configure:7827: checking for $ac_func" >&5
7827 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7828 echo $ac_n "(cached) $ac_c" 1>&6
7829 else
7830 cat > conftest.$ac_ext <<EOF
7831 #line 7832 "configure"
7832 #include "confdefs.h"
7833 /* System header to define __stub macros and hopefully few prototypes,
7834 which can conflict with char $ac_func(); below. */
7835 #include <assert.h>
7836 /* Override any gcc2 internal prototype to avoid an error. */
7837 /* We use char because int might match the return type of a gcc2
7838 builtin and then its argument prototype would still apply. */
7839 char $ac_func();
7841 int main() {
7843 /* The GNU C library defines this for functions which it implements
7844 to always fail with ENOSYS. Some functions are actually named
7845 something starting with __ and the normal name is an alias. */
7846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7847 choke me
7848 #else
7849 $ac_func();
7850 #endif
7852 ; return 0; }
7854 if { (eval echo configure:7855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7855 rm -rf conftest*
7856 eval "ac_cv_func_$ac_func=yes"
7857 else
7858 echo "configure: failed program was:" >&5
7859 cat conftest.$ac_ext >&5
7860 rm -rf conftest*
7861 eval "ac_cv_func_$ac_func=no"
7863 rm -f conftest*
7866 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7867 echo "$ac_t""yes" 1>&6
7868 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7869 cat >> confdefs.h <<EOF
7870 #define $ac_tr_func 1
7873 else
7874 echo "$ac_t""no" 1>&6
7876 done
7881 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
7882 echo "configure:7883: checking for sqrtf declaration" >&5
7883 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
7884 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
7885 echo $ac_n "(cached) $ac_c" 1>&6
7886 else
7889 ac_ext=C
7890 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7891 ac_cpp='$CXXCPP $CPPFLAGS'
7892 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7893 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7894 cross_compiling=$ac_cv_prog_cxx_cross
7896 cat > conftest.$ac_ext <<EOF
7897 #line 7898 "configure"
7898 #include "confdefs.h"
7899 #include <math.h>
7900 int main() {
7901 sqrtf(0);
7902 ; return 0; }
7904 if { (eval echo configure:7905: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7905 rm -rf conftest*
7906 glibcpp_cv_func_sqrtf_use=yes
7907 else
7908 echo "configure: failed program was:" >&5
7909 cat conftest.$ac_ext >&5
7910 rm -rf conftest*
7911 glibcpp_cv_func_sqrtf_use=no
7913 rm -f conftest*
7914 ac_ext=c
7915 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7916 ac_cpp='$CPP $CPPFLAGS'
7917 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7918 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7919 cross_compiling=$ac_cv_prog_cc_cross
7925 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
7926 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
7927 for ac_func in sqrtf
7929 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7930 echo "configure:7931: checking for $ac_func" >&5
7931 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7932 echo $ac_n "(cached) $ac_c" 1>&6
7933 else
7934 cat > conftest.$ac_ext <<EOF
7935 #line 7936 "configure"
7936 #include "confdefs.h"
7937 /* System header to define __stub macros and hopefully few prototypes,
7938 which can conflict with char $ac_func(); below. */
7939 #include <assert.h>
7940 /* Override any gcc2 internal prototype to avoid an error. */
7941 /* We use char because int might match the return type of a gcc2
7942 builtin and then its argument prototype would still apply. */
7943 char $ac_func();
7945 int main() {
7947 /* The GNU C library defines this for functions which it implements
7948 to always fail with ENOSYS. Some functions are actually named
7949 something starting with __ and the normal name is an alias. */
7950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7951 choke me
7952 #else
7953 $ac_func();
7954 #endif
7956 ; return 0; }
7958 if { (eval echo configure:7959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7959 rm -rf conftest*
7960 eval "ac_cv_func_$ac_func=yes"
7961 else
7962 echo "configure: failed program was:" >&5
7963 cat conftest.$ac_ext >&5
7964 rm -rf conftest*
7965 eval "ac_cv_func_$ac_func=no"
7967 rm -f conftest*
7970 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7971 echo "$ac_t""yes" 1>&6
7972 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7973 cat >> confdefs.h <<EOF
7974 #define $ac_tr_func 1
7977 else
7978 echo "$ac_t""no" 1>&6
7980 done
7985 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
7986 echo "configure:7987: checking for sincosf declaration" >&5
7987 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
7988 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
7989 echo $ac_n "(cached) $ac_c" 1>&6
7990 else
7993 ac_ext=C
7994 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7995 ac_cpp='$CXXCPP $CPPFLAGS'
7996 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7997 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7998 cross_compiling=$ac_cv_prog_cxx_cross
8000 cat > conftest.$ac_ext <<EOF
8001 #line 8002 "configure"
8002 #include "confdefs.h"
8003 #include <math.h>
8004 int main() {
8005 sincosf(0, 0, 0);
8006 ; return 0; }
8008 if { (eval echo configure:8009: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8009 rm -rf conftest*
8010 glibcpp_cv_func_sincosf_use=yes
8011 else
8012 echo "configure: failed program was:" >&5
8013 cat conftest.$ac_ext >&5
8014 rm -rf conftest*
8015 glibcpp_cv_func_sincosf_use=no
8017 rm -f conftest*
8018 ac_ext=c
8019 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8020 ac_cpp='$CPP $CPPFLAGS'
8021 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8022 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8023 cross_compiling=$ac_cv_prog_cc_cross
8029 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
8030 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
8031 for ac_func in sincosf
8033 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8034 echo "configure:8035: checking for $ac_func" >&5
8035 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8036 echo $ac_n "(cached) $ac_c" 1>&6
8037 else
8038 cat > conftest.$ac_ext <<EOF
8039 #line 8040 "configure"
8040 #include "confdefs.h"
8041 /* System header to define __stub macros and hopefully few prototypes,
8042 which can conflict with char $ac_func(); below. */
8043 #include <assert.h>
8044 /* Override any gcc2 internal prototype to avoid an error. */
8045 /* We use char because int might match the return type of a gcc2
8046 builtin and then its argument prototype would still apply. */
8047 char $ac_func();
8049 int main() {
8051 /* The GNU C library defines this for functions which it implements
8052 to always fail with ENOSYS. Some functions are actually named
8053 something starting with __ and the normal name is an alias. */
8054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8055 choke me
8056 #else
8057 $ac_func();
8058 #endif
8060 ; return 0; }
8062 if { (eval echo configure:8063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8063 rm -rf conftest*
8064 eval "ac_cv_func_$ac_func=yes"
8065 else
8066 echo "configure: failed program was:" >&5
8067 cat conftest.$ac_ext >&5
8068 rm -rf conftest*
8069 eval "ac_cv_func_$ac_func=no"
8071 rm -f conftest*
8074 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8075 echo "$ac_t""yes" 1>&6
8076 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8077 cat >> confdefs.h <<EOF
8078 #define $ac_tr_func 1
8081 else
8082 echo "$ac_t""no" 1>&6
8084 done
8089 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
8090 echo "configure:8091: checking for finitef declaration" >&5
8091 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
8092 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
8093 echo $ac_n "(cached) $ac_c" 1>&6
8094 else
8097 ac_ext=C
8098 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8099 ac_cpp='$CXXCPP $CPPFLAGS'
8100 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8101 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8102 cross_compiling=$ac_cv_prog_cxx_cross
8104 cat > conftest.$ac_ext <<EOF
8105 #line 8106 "configure"
8106 #include "confdefs.h"
8107 #include <math.h>
8108 int main() {
8109 finitef(0);
8110 ; return 0; }
8112 if { (eval echo configure:8113: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8113 rm -rf conftest*
8114 glibcpp_cv_func_finitef_use=yes
8115 else
8116 echo "configure: failed program was:" >&5
8117 cat conftest.$ac_ext >&5
8118 rm -rf conftest*
8119 glibcpp_cv_func_finitef_use=no
8121 rm -f conftest*
8122 ac_ext=c
8123 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8124 ac_cpp='$CPP $CPPFLAGS'
8125 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8126 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8127 cross_compiling=$ac_cv_prog_cc_cross
8133 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
8134 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
8135 for ac_func in finitef
8137 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8138 echo "configure:8139: checking for $ac_func" >&5
8139 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8140 echo $ac_n "(cached) $ac_c" 1>&6
8141 else
8142 cat > conftest.$ac_ext <<EOF
8143 #line 8144 "configure"
8144 #include "confdefs.h"
8145 /* System header to define __stub macros and hopefully few prototypes,
8146 which can conflict with char $ac_func(); below. */
8147 #include <assert.h>
8148 /* Override any gcc2 internal prototype to avoid an error. */
8149 /* We use char because int might match the return type of a gcc2
8150 builtin and then its argument prototype would still apply. */
8151 char $ac_func();
8153 int main() {
8155 /* The GNU C library defines this for functions which it implements
8156 to always fail with ENOSYS. Some functions are actually named
8157 something starting with __ and the normal name is an alias. */
8158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8159 choke me
8160 #else
8161 $ac_func();
8162 #endif
8164 ; return 0; }
8166 if { (eval echo configure:8167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8167 rm -rf conftest*
8168 eval "ac_cv_func_$ac_func=yes"
8169 else
8170 echo "configure: failed program was:" >&5
8171 cat conftest.$ac_ext >&5
8172 rm -rf conftest*
8173 eval "ac_cv_func_$ac_func=no"
8175 rm -f conftest*
8178 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8179 echo "$ac_t""yes" 1>&6
8180 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8181 cat >> confdefs.h <<EOF
8182 #define $ac_tr_func 1
8185 else
8186 echo "$ac_t""no" 1>&6
8188 done
8194 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
8195 echo "configure:8196: checking for long double trig functions" >&5
8196 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
8197 echo $ac_n "(cached) $ac_c" 1>&6
8198 else
8201 ac_ext=C
8202 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8203 ac_cpp='$CXXCPP $CPPFLAGS'
8204 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8205 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8206 cross_compiling=$ac_cv_prog_cxx_cross
8208 cat > conftest.$ac_ext <<EOF
8209 #line 8210 "configure"
8210 #include "confdefs.h"
8211 #include <math.h>
8212 int main() {
8213 `for x in acosl asinl atanl \
8214 cosl sinl tanl \
8215 coshl sinhl tanhl; do echo "$x (0);"; done`
8216 ; return 0; }
8218 if { (eval echo configure:8219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8219 rm -rf conftest*
8220 glibcpp_cv_func_long_double_trig_use=yes
8221 else
8222 echo "configure: failed program was:" >&5
8223 cat conftest.$ac_ext >&5
8224 rm -rf conftest*
8225 glibcpp_cv_func_long_double_trig_use=no
8227 rm -f conftest*
8228 ac_ext=c
8229 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8230 ac_cpp='$CPP $CPPFLAGS'
8231 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8232 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8233 cross_compiling=$ac_cv_prog_cc_cross
8237 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
8238 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
8239 for ac_func in acosl asinl atanl \
8240 cosl sinl tanl \
8241 coshl sinhl tanhl
8243 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8244 echo "configure:8245: checking for $ac_func" >&5
8245 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8246 echo $ac_n "(cached) $ac_c" 1>&6
8247 else
8248 cat > conftest.$ac_ext <<EOF
8249 #line 8250 "configure"
8250 #include "confdefs.h"
8251 /* System header to define __stub macros and hopefully few prototypes,
8252 which can conflict with char $ac_func(); below. */
8253 #include <assert.h>
8254 /* Override any gcc2 internal prototype to avoid an error. */
8255 /* We use char because int might match the return type of a gcc2
8256 builtin and then its argument prototype would still apply. */
8257 char $ac_func();
8259 int main() {
8261 /* The GNU C library defines this for functions which it implements
8262 to always fail with ENOSYS. Some functions are actually named
8263 something starting with __ and the normal name is an alias. */
8264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8265 choke me
8266 #else
8267 $ac_func();
8268 #endif
8270 ; return 0; }
8272 if { (eval echo configure:8273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8273 rm -rf conftest*
8274 eval "ac_cv_func_$ac_func=yes"
8275 else
8276 echo "configure: failed program was:" >&5
8277 cat conftest.$ac_ext >&5
8278 rm -rf conftest*
8279 eval "ac_cv_func_$ac_func=no"
8281 rm -f conftest*
8284 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8285 echo "$ac_t""yes" 1>&6
8286 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8287 cat >> confdefs.h <<EOF
8288 #define $ac_tr_func 1
8291 else
8292 echo "$ac_t""no" 1>&6
8294 done
8299 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
8300 echo "configure:8301: checking for long double round functions" >&5
8301 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
8302 echo $ac_n "(cached) $ac_c" 1>&6
8303 else
8306 ac_ext=C
8307 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8308 ac_cpp='$CXXCPP $CPPFLAGS'
8309 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8310 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8311 cross_compiling=$ac_cv_prog_cxx_cross
8313 cat > conftest.$ac_ext <<EOF
8314 #line 8315 "configure"
8315 #include "confdefs.h"
8316 #include <math.h>
8317 int main() {
8318 `for x in ceill floorl; do echo "$x (0);"; done`
8319 ; return 0; }
8321 if { (eval echo configure:8322: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8322 rm -rf conftest*
8323 glibcpp_cv_func_long_double_round_use=yes
8324 else
8325 echo "configure: failed program was:" >&5
8326 cat conftest.$ac_ext >&5
8327 rm -rf conftest*
8328 glibcpp_cv_func_long_double_round_use=no
8330 rm -f conftest*
8331 ac_ext=c
8332 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8333 ac_cpp='$CPP $CPPFLAGS'
8334 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8335 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8336 cross_compiling=$ac_cv_prog_cc_cross
8340 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
8341 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
8342 for ac_func in ceill floorl
8344 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8345 echo "configure:8346: checking for $ac_func" >&5
8346 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8347 echo $ac_n "(cached) $ac_c" 1>&6
8348 else
8349 cat > conftest.$ac_ext <<EOF
8350 #line 8351 "configure"
8351 #include "confdefs.h"
8352 /* System header to define __stub macros and hopefully few prototypes,
8353 which can conflict with char $ac_func(); below. */
8354 #include <assert.h>
8355 /* Override any gcc2 internal prototype to avoid an error. */
8356 /* We use char because int might match the return type of a gcc2
8357 builtin and then its argument prototype would still apply. */
8358 char $ac_func();
8360 int main() {
8362 /* The GNU C library defines this for functions which it implements
8363 to always fail with ENOSYS. Some functions are actually named
8364 something starting with __ and the normal name is an alias. */
8365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8366 choke me
8367 #else
8368 $ac_func();
8369 #endif
8371 ; return 0; }
8373 if { (eval echo configure:8374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8374 rm -rf conftest*
8375 eval "ac_cv_func_$ac_func=yes"
8376 else
8377 echo "configure: failed program was:" >&5
8378 cat conftest.$ac_ext >&5
8379 rm -rf conftest*
8380 eval "ac_cv_func_$ac_func=no"
8382 rm -f conftest*
8385 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8386 echo "$ac_t""yes" 1>&6
8387 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8388 cat >> confdefs.h <<EOF
8389 #define $ac_tr_func 1
8392 else
8393 echo "$ac_t""no" 1>&6
8395 done
8400 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
8401 echo "configure:8402: checking for isnanl declaration" >&5
8402 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
8403 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
8404 echo $ac_n "(cached) $ac_c" 1>&6
8405 else
8408 ac_ext=C
8409 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8410 ac_cpp='$CXXCPP $CPPFLAGS'
8411 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8412 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8413 cross_compiling=$ac_cv_prog_cxx_cross
8415 cat > conftest.$ac_ext <<EOF
8416 #line 8417 "configure"
8417 #include "confdefs.h"
8418 #include <math.h>
8419 int main() {
8420 isnanl(0);
8421 ; return 0; }
8423 if { (eval echo configure:8424: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8424 rm -rf conftest*
8425 glibcpp_cv_func_isnanl_use=yes
8426 else
8427 echo "configure: failed program was:" >&5
8428 cat conftest.$ac_ext >&5
8429 rm -rf conftest*
8430 glibcpp_cv_func_isnanl_use=no
8432 rm -f conftest*
8433 ac_ext=c
8434 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8435 ac_cpp='$CPP $CPPFLAGS'
8436 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8437 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8438 cross_compiling=$ac_cv_prog_cc_cross
8444 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
8445 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
8446 for ac_func in isnanl
8448 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8449 echo "configure:8450: checking for $ac_func" >&5
8450 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8451 echo $ac_n "(cached) $ac_c" 1>&6
8452 else
8453 cat > conftest.$ac_ext <<EOF
8454 #line 8455 "configure"
8455 #include "confdefs.h"
8456 /* System header to define __stub macros and hopefully few prototypes,
8457 which can conflict with char $ac_func(); below. */
8458 #include <assert.h>
8459 /* Override any gcc2 internal prototype to avoid an error. */
8460 /* We use char because int might match the return type of a gcc2
8461 builtin and then its argument prototype would still apply. */
8462 char $ac_func();
8464 int main() {
8466 /* The GNU C library defines this for functions which it implements
8467 to always fail with ENOSYS. Some functions are actually named
8468 something starting with __ and the normal name is an alias. */
8469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8470 choke me
8471 #else
8472 $ac_func();
8473 #endif
8475 ; return 0; }
8477 if { (eval echo configure:8478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8478 rm -rf conftest*
8479 eval "ac_cv_func_$ac_func=yes"
8480 else
8481 echo "configure: failed program was:" >&5
8482 cat conftest.$ac_ext >&5
8483 rm -rf conftest*
8484 eval "ac_cv_func_$ac_func=no"
8486 rm -f conftest*
8489 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8490 echo "$ac_t""yes" 1>&6
8491 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8492 cat >> confdefs.h <<EOF
8493 #define $ac_tr_func 1
8496 else
8497 echo "$ac_t""no" 1>&6
8499 done
8504 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
8505 echo "configure:8506: checking for isinfl declaration" >&5
8506 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
8507 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
8508 echo $ac_n "(cached) $ac_c" 1>&6
8509 else
8512 ac_ext=C
8513 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8514 ac_cpp='$CXXCPP $CPPFLAGS'
8515 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8516 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8517 cross_compiling=$ac_cv_prog_cxx_cross
8519 cat > conftest.$ac_ext <<EOF
8520 #line 8521 "configure"
8521 #include "confdefs.h"
8522 #include <math.h>
8523 int main() {
8524 isinfl(0);
8525 ; return 0; }
8527 if { (eval echo configure:8528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8528 rm -rf conftest*
8529 glibcpp_cv_func_isinfl_use=yes
8530 else
8531 echo "configure: failed program was:" >&5
8532 cat conftest.$ac_ext >&5
8533 rm -rf conftest*
8534 glibcpp_cv_func_isinfl_use=no
8536 rm -f conftest*
8537 ac_ext=c
8538 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8539 ac_cpp='$CPP $CPPFLAGS'
8540 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8541 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8542 cross_compiling=$ac_cv_prog_cc_cross
8548 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
8549 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
8550 for ac_func in isinfl
8552 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8553 echo "configure:8554: checking for $ac_func" >&5
8554 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8555 echo $ac_n "(cached) $ac_c" 1>&6
8556 else
8557 cat > conftest.$ac_ext <<EOF
8558 #line 8559 "configure"
8559 #include "confdefs.h"
8560 /* System header to define __stub macros and hopefully few prototypes,
8561 which can conflict with char $ac_func(); below. */
8562 #include <assert.h>
8563 /* Override any gcc2 internal prototype to avoid an error. */
8564 /* We use char because int might match the return type of a gcc2
8565 builtin and then its argument prototype would still apply. */
8566 char $ac_func();
8568 int main() {
8570 /* The GNU C library defines this for functions which it implements
8571 to always fail with ENOSYS. Some functions are actually named
8572 something starting with __ and the normal name is an alias. */
8573 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8574 choke me
8575 #else
8576 $ac_func();
8577 #endif
8579 ; return 0; }
8581 if { (eval echo configure:8582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8582 rm -rf conftest*
8583 eval "ac_cv_func_$ac_func=yes"
8584 else
8585 echo "configure: failed program was:" >&5
8586 cat conftest.$ac_ext >&5
8587 rm -rf conftest*
8588 eval "ac_cv_func_$ac_func=no"
8590 rm -f conftest*
8593 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8594 echo "$ac_t""yes" 1>&6
8595 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8596 cat >> confdefs.h <<EOF
8597 #define $ac_tr_func 1
8600 else
8601 echo "$ac_t""no" 1>&6
8603 done
8608 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
8609 echo "configure:8610: checking for copysignl declaration" >&5
8610 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
8611 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
8612 echo $ac_n "(cached) $ac_c" 1>&6
8613 else
8616 ac_ext=C
8617 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8618 ac_cpp='$CXXCPP $CPPFLAGS'
8619 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8620 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8621 cross_compiling=$ac_cv_prog_cxx_cross
8623 cat > conftest.$ac_ext <<EOF
8624 #line 8625 "configure"
8625 #include "confdefs.h"
8626 #include <math.h>
8627 int main() {
8628 copysignl(0, 0);
8629 ; return 0; }
8631 if { (eval echo configure:8632: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8632 rm -rf conftest*
8633 glibcpp_cv_func_copysignl_use=yes
8634 else
8635 echo "configure: failed program was:" >&5
8636 cat conftest.$ac_ext >&5
8637 rm -rf conftest*
8638 glibcpp_cv_func_copysignl_use=no
8640 rm -f conftest*
8641 ac_ext=c
8642 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8643 ac_cpp='$CPP $CPPFLAGS'
8644 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8645 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8646 cross_compiling=$ac_cv_prog_cc_cross
8652 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
8653 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
8654 for ac_func in copysignl
8656 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8657 echo "configure:8658: checking for $ac_func" >&5
8658 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8659 echo $ac_n "(cached) $ac_c" 1>&6
8660 else
8661 cat > conftest.$ac_ext <<EOF
8662 #line 8663 "configure"
8663 #include "confdefs.h"
8664 /* System header to define __stub macros and hopefully few prototypes,
8665 which can conflict with char $ac_func(); below. */
8666 #include <assert.h>
8667 /* Override any gcc2 internal prototype to avoid an error. */
8668 /* We use char because int might match the return type of a gcc2
8669 builtin and then its argument prototype would still apply. */
8670 char $ac_func();
8672 int main() {
8674 /* The GNU C library defines this for functions which it implements
8675 to always fail with ENOSYS. Some functions are actually named
8676 something starting with __ and the normal name is an alias. */
8677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8678 choke me
8679 #else
8680 $ac_func();
8681 #endif
8683 ; return 0; }
8685 if { (eval echo configure:8686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8686 rm -rf conftest*
8687 eval "ac_cv_func_$ac_func=yes"
8688 else
8689 echo "configure: failed program was:" >&5
8690 cat conftest.$ac_ext >&5
8691 rm -rf conftest*
8692 eval "ac_cv_func_$ac_func=no"
8694 rm -f conftest*
8697 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8698 echo "$ac_t""yes" 1>&6
8699 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8700 cat >> confdefs.h <<EOF
8701 #define $ac_tr_func 1
8704 else
8705 echo "$ac_t""no" 1>&6
8707 done
8712 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
8713 echo "configure:8714: checking for atan2l declaration" >&5
8714 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
8715 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
8716 echo $ac_n "(cached) $ac_c" 1>&6
8717 else
8720 ac_ext=C
8721 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8722 ac_cpp='$CXXCPP $CPPFLAGS'
8723 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8724 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8725 cross_compiling=$ac_cv_prog_cxx_cross
8727 cat > conftest.$ac_ext <<EOF
8728 #line 8729 "configure"
8729 #include "confdefs.h"
8730 #include <math.h>
8731 int main() {
8732 atan2l(0, 0);
8733 ; return 0; }
8735 if { (eval echo configure:8736: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8736 rm -rf conftest*
8737 glibcpp_cv_func_atan2l_use=yes
8738 else
8739 echo "configure: failed program was:" >&5
8740 cat conftest.$ac_ext >&5
8741 rm -rf conftest*
8742 glibcpp_cv_func_atan2l_use=no
8744 rm -f conftest*
8745 ac_ext=c
8746 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8747 ac_cpp='$CPP $CPPFLAGS'
8748 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8749 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8750 cross_compiling=$ac_cv_prog_cc_cross
8756 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
8757 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
8758 for ac_func in atan2l
8760 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8761 echo "configure:8762: checking for $ac_func" >&5
8762 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8763 echo $ac_n "(cached) $ac_c" 1>&6
8764 else
8765 cat > conftest.$ac_ext <<EOF
8766 #line 8767 "configure"
8767 #include "confdefs.h"
8768 /* System header to define __stub macros and hopefully few prototypes,
8769 which can conflict with char $ac_func(); below. */
8770 #include <assert.h>
8771 /* Override any gcc2 internal prototype to avoid an error. */
8772 /* We use char because int might match the return type of a gcc2
8773 builtin and then its argument prototype would still apply. */
8774 char $ac_func();
8776 int main() {
8778 /* The GNU C library defines this for functions which it implements
8779 to always fail with ENOSYS. Some functions are actually named
8780 something starting with __ and the normal name is an alias. */
8781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8782 choke me
8783 #else
8784 $ac_func();
8785 #endif
8787 ; return 0; }
8789 if { (eval echo configure:8790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8790 rm -rf conftest*
8791 eval "ac_cv_func_$ac_func=yes"
8792 else
8793 echo "configure: failed program was:" >&5
8794 cat conftest.$ac_ext >&5
8795 rm -rf conftest*
8796 eval "ac_cv_func_$ac_func=no"
8798 rm -f conftest*
8801 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8802 echo "$ac_t""yes" 1>&6
8803 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8804 cat >> confdefs.h <<EOF
8805 #define $ac_tr_func 1
8808 else
8809 echo "$ac_t""no" 1>&6
8811 done
8816 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
8817 echo "configure:8818: checking for expl declaration" >&5
8818 if test x${glibcpp_cv_func_expl_use+set} != xset; then
8819 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
8820 echo $ac_n "(cached) $ac_c" 1>&6
8821 else
8824 ac_ext=C
8825 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8826 ac_cpp='$CXXCPP $CPPFLAGS'
8827 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8828 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8829 cross_compiling=$ac_cv_prog_cxx_cross
8831 cat > conftest.$ac_ext <<EOF
8832 #line 8833 "configure"
8833 #include "confdefs.h"
8834 #include <math.h>
8835 int main() {
8836 expl(0);
8837 ; return 0; }
8839 if { (eval echo configure:8840: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8840 rm -rf conftest*
8841 glibcpp_cv_func_expl_use=yes
8842 else
8843 echo "configure: failed program was:" >&5
8844 cat conftest.$ac_ext >&5
8845 rm -rf conftest*
8846 glibcpp_cv_func_expl_use=no
8848 rm -f conftest*
8849 ac_ext=c
8850 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8851 ac_cpp='$CPP $CPPFLAGS'
8852 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8853 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8854 cross_compiling=$ac_cv_prog_cc_cross
8860 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
8861 if test x$glibcpp_cv_func_expl_use = x"yes"; then
8862 for ac_func in expl
8864 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8865 echo "configure:8866: checking for $ac_func" >&5
8866 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8867 echo $ac_n "(cached) $ac_c" 1>&6
8868 else
8869 cat > conftest.$ac_ext <<EOF
8870 #line 8871 "configure"
8871 #include "confdefs.h"
8872 /* System header to define __stub macros and hopefully few prototypes,
8873 which can conflict with char $ac_func(); below. */
8874 #include <assert.h>
8875 /* Override any gcc2 internal prototype to avoid an error. */
8876 /* We use char because int might match the return type of a gcc2
8877 builtin and then its argument prototype would still apply. */
8878 char $ac_func();
8880 int main() {
8882 /* The GNU C library defines this for functions which it implements
8883 to always fail with ENOSYS. Some functions are actually named
8884 something starting with __ and the normal name is an alias. */
8885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8886 choke me
8887 #else
8888 $ac_func();
8889 #endif
8891 ; return 0; }
8893 if { (eval echo configure:8894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8894 rm -rf conftest*
8895 eval "ac_cv_func_$ac_func=yes"
8896 else
8897 echo "configure: failed program was:" >&5
8898 cat conftest.$ac_ext >&5
8899 rm -rf conftest*
8900 eval "ac_cv_func_$ac_func=no"
8902 rm -f conftest*
8905 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8906 echo "$ac_t""yes" 1>&6
8907 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8908 cat >> confdefs.h <<EOF
8909 #define $ac_tr_func 1
8912 else
8913 echo "$ac_t""no" 1>&6
8915 done
8920 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
8921 echo "configure:8922: checking for fabsl declaration" >&5
8922 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
8923 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
8924 echo $ac_n "(cached) $ac_c" 1>&6
8925 else
8928 ac_ext=C
8929 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8930 ac_cpp='$CXXCPP $CPPFLAGS'
8931 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8932 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8933 cross_compiling=$ac_cv_prog_cxx_cross
8935 cat > conftest.$ac_ext <<EOF
8936 #line 8937 "configure"
8937 #include "confdefs.h"
8938 #include <math.h>
8939 int main() {
8940 fabsl(0);
8941 ; return 0; }
8943 if { (eval echo configure:8944: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8944 rm -rf conftest*
8945 glibcpp_cv_func_fabsl_use=yes
8946 else
8947 echo "configure: failed program was:" >&5
8948 cat conftest.$ac_ext >&5
8949 rm -rf conftest*
8950 glibcpp_cv_func_fabsl_use=no
8952 rm -f conftest*
8953 ac_ext=c
8954 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8955 ac_cpp='$CPP $CPPFLAGS'
8956 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8957 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8958 cross_compiling=$ac_cv_prog_cc_cross
8964 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
8965 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
8966 for ac_func in fabsl
8968 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8969 echo "configure:8970: checking for $ac_func" >&5
8970 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8971 echo $ac_n "(cached) $ac_c" 1>&6
8972 else
8973 cat > conftest.$ac_ext <<EOF
8974 #line 8975 "configure"
8975 #include "confdefs.h"
8976 /* System header to define __stub macros and hopefully few prototypes,
8977 which can conflict with char $ac_func(); below. */
8978 #include <assert.h>
8979 /* Override any gcc2 internal prototype to avoid an error. */
8980 /* We use char because int might match the return type of a gcc2
8981 builtin and then its argument prototype would still apply. */
8982 char $ac_func();
8984 int main() {
8986 /* The GNU C library defines this for functions which it implements
8987 to always fail with ENOSYS. Some functions are actually named
8988 something starting with __ and the normal name is an alias. */
8989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8990 choke me
8991 #else
8992 $ac_func();
8993 #endif
8995 ; return 0; }
8997 if { (eval echo configure:8998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8998 rm -rf conftest*
8999 eval "ac_cv_func_$ac_func=yes"
9000 else
9001 echo "configure: failed program was:" >&5
9002 cat conftest.$ac_ext >&5
9003 rm -rf conftest*
9004 eval "ac_cv_func_$ac_func=no"
9006 rm -f conftest*
9009 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9010 echo "$ac_t""yes" 1>&6
9011 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9012 cat >> confdefs.h <<EOF
9013 #define $ac_tr_func 1
9016 else
9017 echo "$ac_t""no" 1>&6
9019 done
9024 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
9025 echo "configure:9026: checking for fmodl declaration" >&5
9026 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
9027 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
9028 echo $ac_n "(cached) $ac_c" 1>&6
9029 else
9032 ac_ext=C
9033 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9034 ac_cpp='$CXXCPP $CPPFLAGS'
9035 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9036 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9037 cross_compiling=$ac_cv_prog_cxx_cross
9039 cat > conftest.$ac_ext <<EOF
9040 #line 9041 "configure"
9041 #include "confdefs.h"
9042 #include <math.h>
9043 int main() {
9044 fmodl(0, 0);
9045 ; return 0; }
9047 if { (eval echo configure:9048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9048 rm -rf conftest*
9049 glibcpp_cv_func_fmodl_use=yes
9050 else
9051 echo "configure: failed program was:" >&5
9052 cat conftest.$ac_ext >&5
9053 rm -rf conftest*
9054 glibcpp_cv_func_fmodl_use=no
9056 rm -f conftest*
9057 ac_ext=c
9058 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9059 ac_cpp='$CPP $CPPFLAGS'
9060 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9061 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9062 cross_compiling=$ac_cv_prog_cc_cross
9068 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
9069 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
9070 for ac_func in fmodl
9072 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9073 echo "configure:9074: checking for $ac_func" >&5
9074 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9075 echo $ac_n "(cached) $ac_c" 1>&6
9076 else
9077 cat > conftest.$ac_ext <<EOF
9078 #line 9079 "configure"
9079 #include "confdefs.h"
9080 /* System header to define __stub macros and hopefully few prototypes,
9081 which can conflict with char $ac_func(); below. */
9082 #include <assert.h>
9083 /* Override any gcc2 internal prototype to avoid an error. */
9084 /* We use char because int might match the return type of a gcc2
9085 builtin and then its argument prototype would still apply. */
9086 char $ac_func();
9088 int main() {
9090 /* The GNU C library defines this for functions which it implements
9091 to always fail with ENOSYS. Some functions are actually named
9092 something starting with __ and the normal name is an alias. */
9093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9094 choke me
9095 #else
9096 $ac_func();
9097 #endif
9099 ; return 0; }
9101 if { (eval echo configure:9102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9102 rm -rf conftest*
9103 eval "ac_cv_func_$ac_func=yes"
9104 else
9105 echo "configure: failed program was:" >&5
9106 cat conftest.$ac_ext >&5
9107 rm -rf conftest*
9108 eval "ac_cv_func_$ac_func=no"
9110 rm -f conftest*
9113 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9114 echo "$ac_t""yes" 1>&6
9115 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9116 cat >> confdefs.h <<EOF
9117 #define $ac_tr_func 1
9120 else
9121 echo "$ac_t""no" 1>&6
9123 done
9128 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
9129 echo "configure:9130: checking for frexpl declaration" >&5
9130 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
9131 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
9132 echo $ac_n "(cached) $ac_c" 1>&6
9133 else
9136 ac_ext=C
9137 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9138 ac_cpp='$CXXCPP $CPPFLAGS'
9139 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9140 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9141 cross_compiling=$ac_cv_prog_cxx_cross
9143 cat > conftest.$ac_ext <<EOF
9144 #line 9145 "configure"
9145 #include "confdefs.h"
9146 #include <math.h>
9147 int main() {
9148 frexpl(0, 0);
9149 ; return 0; }
9151 if { (eval echo configure:9152: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9152 rm -rf conftest*
9153 glibcpp_cv_func_frexpl_use=yes
9154 else
9155 echo "configure: failed program was:" >&5
9156 cat conftest.$ac_ext >&5
9157 rm -rf conftest*
9158 glibcpp_cv_func_frexpl_use=no
9160 rm -f conftest*
9161 ac_ext=c
9162 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9163 ac_cpp='$CPP $CPPFLAGS'
9164 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9165 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9166 cross_compiling=$ac_cv_prog_cc_cross
9172 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
9173 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
9174 for ac_func in frexpl
9176 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9177 echo "configure:9178: checking for $ac_func" >&5
9178 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9179 echo $ac_n "(cached) $ac_c" 1>&6
9180 else
9181 cat > conftest.$ac_ext <<EOF
9182 #line 9183 "configure"
9183 #include "confdefs.h"
9184 /* System header to define __stub macros and hopefully few prototypes,
9185 which can conflict with char $ac_func(); below. */
9186 #include <assert.h>
9187 /* Override any gcc2 internal prototype to avoid an error. */
9188 /* We use char because int might match the return type of a gcc2
9189 builtin and then its argument prototype would still apply. */
9190 char $ac_func();
9192 int main() {
9194 /* The GNU C library defines this for functions which it implements
9195 to always fail with ENOSYS. Some functions are actually named
9196 something starting with __ and the normal name is an alias. */
9197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9198 choke me
9199 #else
9200 $ac_func();
9201 #endif
9203 ; return 0; }
9205 if { (eval echo configure:9206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9206 rm -rf conftest*
9207 eval "ac_cv_func_$ac_func=yes"
9208 else
9209 echo "configure: failed program was:" >&5
9210 cat conftest.$ac_ext >&5
9211 rm -rf conftest*
9212 eval "ac_cv_func_$ac_func=no"
9214 rm -f conftest*
9217 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9218 echo "$ac_t""yes" 1>&6
9219 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9220 cat >> confdefs.h <<EOF
9221 #define $ac_tr_func 1
9224 else
9225 echo "$ac_t""no" 1>&6
9227 done
9232 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
9233 echo "configure:9234: checking for ldexpl declaration" >&5
9234 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
9235 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
9236 echo $ac_n "(cached) $ac_c" 1>&6
9237 else
9240 ac_ext=C
9241 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9242 ac_cpp='$CXXCPP $CPPFLAGS'
9243 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9244 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9245 cross_compiling=$ac_cv_prog_cxx_cross
9247 cat > conftest.$ac_ext <<EOF
9248 #line 9249 "configure"
9249 #include "confdefs.h"
9250 #include <math.h>
9251 int main() {
9252 ldexpl(0, 0);
9253 ; return 0; }
9255 if { (eval echo configure:9256: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9256 rm -rf conftest*
9257 glibcpp_cv_func_ldexpl_use=yes
9258 else
9259 echo "configure: failed program was:" >&5
9260 cat conftest.$ac_ext >&5
9261 rm -rf conftest*
9262 glibcpp_cv_func_ldexpl_use=no
9264 rm -f conftest*
9265 ac_ext=c
9266 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9267 ac_cpp='$CPP $CPPFLAGS'
9268 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9269 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9270 cross_compiling=$ac_cv_prog_cc_cross
9276 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
9277 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
9278 for ac_func in ldexpl
9280 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9281 echo "configure:9282: checking for $ac_func" >&5
9282 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9283 echo $ac_n "(cached) $ac_c" 1>&6
9284 else
9285 cat > conftest.$ac_ext <<EOF
9286 #line 9287 "configure"
9287 #include "confdefs.h"
9288 /* System header to define __stub macros and hopefully few prototypes,
9289 which can conflict with char $ac_func(); below. */
9290 #include <assert.h>
9291 /* Override any gcc2 internal prototype to avoid an error. */
9292 /* We use char because int might match the return type of a gcc2
9293 builtin and then its argument prototype would still apply. */
9294 char $ac_func();
9296 int main() {
9298 /* The GNU C library defines this for functions which it implements
9299 to always fail with ENOSYS. Some functions are actually named
9300 something starting with __ and the normal name is an alias. */
9301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9302 choke me
9303 #else
9304 $ac_func();
9305 #endif
9307 ; return 0; }
9309 if { (eval echo configure:9310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9310 rm -rf conftest*
9311 eval "ac_cv_func_$ac_func=yes"
9312 else
9313 echo "configure: failed program was:" >&5
9314 cat conftest.$ac_ext >&5
9315 rm -rf conftest*
9316 eval "ac_cv_func_$ac_func=no"
9318 rm -f conftest*
9321 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9322 echo "$ac_t""yes" 1>&6
9323 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9324 cat >> confdefs.h <<EOF
9325 #define $ac_tr_func 1
9328 else
9329 echo "$ac_t""no" 1>&6
9331 done
9336 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
9337 echo "configure:9338: checking for logl declaration" >&5
9338 if test x${glibcpp_cv_func_logl_use+set} != xset; then
9339 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
9340 echo $ac_n "(cached) $ac_c" 1>&6
9341 else
9344 ac_ext=C
9345 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9346 ac_cpp='$CXXCPP $CPPFLAGS'
9347 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9348 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9349 cross_compiling=$ac_cv_prog_cxx_cross
9351 cat > conftest.$ac_ext <<EOF
9352 #line 9353 "configure"
9353 #include "confdefs.h"
9354 #include <math.h>
9355 int main() {
9356 logl(0);
9357 ; return 0; }
9359 if { (eval echo configure:9360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9360 rm -rf conftest*
9361 glibcpp_cv_func_logl_use=yes
9362 else
9363 echo "configure: failed program was:" >&5
9364 cat conftest.$ac_ext >&5
9365 rm -rf conftest*
9366 glibcpp_cv_func_logl_use=no
9368 rm -f conftest*
9369 ac_ext=c
9370 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9371 ac_cpp='$CPP $CPPFLAGS'
9372 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9373 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9374 cross_compiling=$ac_cv_prog_cc_cross
9380 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
9381 if test x$glibcpp_cv_func_logl_use = x"yes"; then
9382 for ac_func in logl
9384 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9385 echo "configure:9386: checking for $ac_func" >&5
9386 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9387 echo $ac_n "(cached) $ac_c" 1>&6
9388 else
9389 cat > conftest.$ac_ext <<EOF
9390 #line 9391 "configure"
9391 #include "confdefs.h"
9392 /* System header to define __stub macros and hopefully few prototypes,
9393 which can conflict with char $ac_func(); below. */
9394 #include <assert.h>
9395 /* Override any gcc2 internal prototype to avoid an error. */
9396 /* We use char because int might match the return type of a gcc2
9397 builtin and then its argument prototype would still apply. */
9398 char $ac_func();
9400 int main() {
9402 /* The GNU C library defines this for functions which it implements
9403 to always fail with ENOSYS. Some functions are actually named
9404 something starting with __ and the normal name is an alias. */
9405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9406 choke me
9407 #else
9408 $ac_func();
9409 #endif
9411 ; return 0; }
9413 if { (eval echo configure:9414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9414 rm -rf conftest*
9415 eval "ac_cv_func_$ac_func=yes"
9416 else
9417 echo "configure: failed program was:" >&5
9418 cat conftest.$ac_ext >&5
9419 rm -rf conftest*
9420 eval "ac_cv_func_$ac_func=no"
9422 rm -f conftest*
9425 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9426 echo "$ac_t""yes" 1>&6
9427 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9428 cat >> confdefs.h <<EOF
9429 #define $ac_tr_func 1
9432 else
9433 echo "$ac_t""no" 1>&6
9435 done
9440 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
9441 echo "configure:9442: checking for log10l declaration" >&5
9442 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
9443 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
9444 echo $ac_n "(cached) $ac_c" 1>&6
9445 else
9448 ac_ext=C
9449 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9450 ac_cpp='$CXXCPP $CPPFLAGS'
9451 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9452 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9453 cross_compiling=$ac_cv_prog_cxx_cross
9455 cat > conftest.$ac_ext <<EOF
9456 #line 9457 "configure"
9457 #include "confdefs.h"
9458 #include <math.h>
9459 int main() {
9460 log10l(0);
9461 ; return 0; }
9463 if { (eval echo configure:9464: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9464 rm -rf conftest*
9465 glibcpp_cv_func_log10l_use=yes
9466 else
9467 echo "configure: failed program was:" >&5
9468 cat conftest.$ac_ext >&5
9469 rm -rf conftest*
9470 glibcpp_cv_func_log10l_use=no
9472 rm -f conftest*
9473 ac_ext=c
9474 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9475 ac_cpp='$CPP $CPPFLAGS'
9476 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9477 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9478 cross_compiling=$ac_cv_prog_cc_cross
9484 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
9485 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
9486 for ac_func in log10l
9488 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9489 echo "configure:9490: checking for $ac_func" >&5
9490 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9491 echo $ac_n "(cached) $ac_c" 1>&6
9492 else
9493 cat > conftest.$ac_ext <<EOF
9494 #line 9495 "configure"
9495 #include "confdefs.h"
9496 /* System header to define __stub macros and hopefully few prototypes,
9497 which can conflict with char $ac_func(); below. */
9498 #include <assert.h>
9499 /* Override any gcc2 internal prototype to avoid an error. */
9500 /* We use char because int might match the return type of a gcc2
9501 builtin and then its argument prototype would still apply. */
9502 char $ac_func();
9504 int main() {
9506 /* The GNU C library defines this for functions which it implements
9507 to always fail with ENOSYS. Some functions are actually named
9508 something starting with __ and the normal name is an alias. */
9509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9510 choke me
9511 #else
9512 $ac_func();
9513 #endif
9515 ; return 0; }
9517 if { (eval echo configure:9518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9518 rm -rf conftest*
9519 eval "ac_cv_func_$ac_func=yes"
9520 else
9521 echo "configure: failed program was:" >&5
9522 cat conftest.$ac_ext >&5
9523 rm -rf conftest*
9524 eval "ac_cv_func_$ac_func=no"
9526 rm -f conftest*
9529 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9530 echo "$ac_t""yes" 1>&6
9531 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9532 cat >> confdefs.h <<EOF
9533 #define $ac_tr_func 1
9536 else
9537 echo "$ac_t""no" 1>&6
9539 done
9544 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
9545 echo "configure:9546: checking for modfl declaration" >&5
9546 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
9547 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
9548 echo $ac_n "(cached) $ac_c" 1>&6
9549 else
9552 ac_ext=C
9553 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9554 ac_cpp='$CXXCPP $CPPFLAGS'
9555 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9556 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9557 cross_compiling=$ac_cv_prog_cxx_cross
9559 cat > conftest.$ac_ext <<EOF
9560 #line 9561 "configure"
9561 #include "confdefs.h"
9562 #include <math.h>
9563 int main() {
9564 modfl(0, 0);
9565 ; return 0; }
9567 if { (eval echo configure:9568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9568 rm -rf conftest*
9569 glibcpp_cv_func_modfl_use=yes
9570 else
9571 echo "configure: failed program was:" >&5
9572 cat conftest.$ac_ext >&5
9573 rm -rf conftest*
9574 glibcpp_cv_func_modfl_use=no
9576 rm -f conftest*
9577 ac_ext=c
9578 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9579 ac_cpp='$CPP $CPPFLAGS'
9580 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9581 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9582 cross_compiling=$ac_cv_prog_cc_cross
9588 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
9589 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
9590 for ac_func in modfl
9592 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9593 echo "configure:9594: checking for $ac_func" >&5
9594 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9595 echo $ac_n "(cached) $ac_c" 1>&6
9596 else
9597 cat > conftest.$ac_ext <<EOF
9598 #line 9599 "configure"
9599 #include "confdefs.h"
9600 /* System header to define __stub macros and hopefully few prototypes,
9601 which can conflict with char $ac_func(); below. */
9602 #include <assert.h>
9603 /* Override any gcc2 internal prototype to avoid an error. */
9604 /* We use char because int might match the return type of a gcc2
9605 builtin and then its argument prototype would still apply. */
9606 char $ac_func();
9608 int main() {
9610 /* The GNU C library defines this for functions which it implements
9611 to always fail with ENOSYS. Some functions are actually named
9612 something starting with __ and the normal name is an alias. */
9613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9614 choke me
9615 #else
9616 $ac_func();
9617 #endif
9619 ; return 0; }
9621 if { (eval echo configure:9622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9622 rm -rf conftest*
9623 eval "ac_cv_func_$ac_func=yes"
9624 else
9625 echo "configure: failed program was:" >&5
9626 cat conftest.$ac_ext >&5
9627 rm -rf conftest*
9628 eval "ac_cv_func_$ac_func=no"
9630 rm -f conftest*
9633 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9634 echo "$ac_t""yes" 1>&6
9635 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9636 cat >> confdefs.h <<EOF
9637 #define $ac_tr_func 1
9640 else
9641 echo "$ac_t""no" 1>&6
9643 done
9648 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
9649 echo "configure:9650: checking for powl declaration" >&5
9650 if test x${glibcpp_cv_func_powl_use+set} != xset; then
9651 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
9652 echo $ac_n "(cached) $ac_c" 1>&6
9653 else
9656 ac_ext=C
9657 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9658 ac_cpp='$CXXCPP $CPPFLAGS'
9659 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9660 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9661 cross_compiling=$ac_cv_prog_cxx_cross
9663 cat > conftest.$ac_ext <<EOF
9664 #line 9665 "configure"
9665 #include "confdefs.h"
9666 #include <math.h>
9667 int main() {
9668 powl(0, 0);
9669 ; return 0; }
9671 if { (eval echo configure:9672: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9672 rm -rf conftest*
9673 glibcpp_cv_func_powl_use=yes
9674 else
9675 echo "configure: failed program was:" >&5
9676 cat conftest.$ac_ext >&5
9677 rm -rf conftest*
9678 glibcpp_cv_func_powl_use=no
9680 rm -f conftest*
9681 ac_ext=c
9682 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9683 ac_cpp='$CPP $CPPFLAGS'
9684 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9685 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9686 cross_compiling=$ac_cv_prog_cc_cross
9692 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
9693 if test x$glibcpp_cv_func_powl_use = x"yes"; then
9694 for ac_func in powl
9696 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9697 echo "configure:9698: checking for $ac_func" >&5
9698 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9699 echo $ac_n "(cached) $ac_c" 1>&6
9700 else
9701 cat > conftest.$ac_ext <<EOF
9702 #line 9703 "configure"
9703 #include "confdefs.h"
9704 /* System header to define __stub macros and hopefully few prototypes,
9705 which can conflict with char $ac_func(); below. */
9706 #include <assert.h>
9707 /* Override any gcc2 internal prototype to avoid an error. */
9708 /* We use char because int might match the return type of a gcc2
9709 builtin and then its argument prototype would still apply. */
9710 char $ac_func();
9712 int main() {
9714 /* The GNU C library defines this for functions which it implements
9715 to always fail with ENOSYS. Some functions are actually named
9716 something starting with __ and the normal name is an alias. */
9717 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9718 choke me
9719 #else
9720 $ac_func();
9721 #endif
9723 ; return 0; }
9725 if { (eval echo configure:9726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9726 rm -rf conftest*
9727 eval "ac_cv_func_$ac_func=yes"
9728 else
9729 echo "configure: failed program was:" >&5
9730 cat conftest.$ac_ext >&5
9731 rm -rf conftest*
9732 eval "ac_cv_func_$ac_func=no"
9734 rm -f conftest*
9737 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9738 echo "$ac_t""yes" 1>&6
9739 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9740 cat >> confdefs.h <<EOF
9741 #define $ac_tr_func 1
9744 else
9745 echo "$ac_t""no" 1>&6
9747 done
9752 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
9753 echo "configure:9754: checking for sqrtl declaration" >&5
9754 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
9755 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
9756 echo $ac_n "(cached) $ac_c" 1>&6
9757 else
9760 ac_ext=C
9761 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9762 ac_cpp='$CXXCPP $CPPFLAGS'
9763 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9764 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9765 cross_compiling=$ac_cv_prog_cxx_cross
9767 cat > conftest.$ac_ext <<EOF
9768 #line 9769 "configure"
9769 #include "confdefs.h"
9770 #include <math.h>
9771 int main() {
9772 sqrtl(0);
9773 ; return 0; }
9775 if { (eval echo configure:9776: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9776 rm -rf conftest*
9777 glibcpp_cv_func_sqrtl_use=yes
9778 else
9779 echo "configure: failed program was:" >&5
9780 cat conftest.$ac_ext >&5
9781 rm -rf conftest*
9782 glibcpp_cv_func_sqrtl_use=no
9784 rm -f conftest*
9785 ac_ext=c
9786 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9787 ac_cpp='$CPP $CPPFLAGS'
9788 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9789 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9790 cross_compiling=$ac_cv_prog_cc_cross
9796 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
9797 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
9798 for ac_func in sqrtl
9800 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9801 echo "configure:9802: checking for $ac_func" >&5
9802 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9803 echo $ac_n "(cached) $ac_c" 1>&6
9804 else
9805 cat > conftest.$ac_ext <<EOF
9806 #line 9807 "configure"
9807 #include "confdefs.h"
9808 /* System header to define __stub macros and hopefully few prototypes,
9809 which can conflict with char $ac_func(); below. */
9810 #include <assert.h>
9811 /* Override any gcc2 internal prototype to avoid an error. */
9812 /* We use char because int might match the return type of a gcc2
9813 builtin and then its argument prototype would still apply. */
9814 char $ac_func();
9816 int main() {
9818 /* The GNU C library defines this for functions which it implements
9819 to always fail with ENOSYS. Some functions are actually named
9820 something starting with __ and the normal name is an alias. */
9821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9822 choke me
9823 #else
9824 $ac_func();
9825 #endif
9827 ; return 0; }
9829 if { (eval echo configure:9830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9830 rm -rf conftest*
9831 eval "ac_cv_func_$ac_func=yes"
9832 else
9833 echo "configure: failed program was:" >&5
9834 cat conftest.$ac_ext >&5
9835 rm -rf conftest*
9836 eval "ac_cv_func_$ac_func=no"
9838 rm -f conftest*
9841 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9842 echo "$ac_t""yes" 1>&6
9843 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9844 cat >> confdefs.h <<EOF
9845 #define $ac_tr_func 1
9848 else
9849 echo "$ac_t""no" 1>&6
9851 done
9856 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
9857 echo "configure:9858: checking for sincosl declaration" >&5
9858 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
9859 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
9860 echo $ac_n "(cached) $ac_c" 1>&6
9861 else
9864 ac_ext=C
9865 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9866 ac_cpp='$CXXCPP $CPPFLAGS'
9867 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9868 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9869 cross_compiling=$ac_cv_prog_cxx_cross
9871 cat > conftest.$ac_ext <<EOF
9872 #line 9873 "configure"
9873 #include "confdefs.h"
9874 #include <math.h>
9875 int main() {
9876 sincosl(0, 0, 0);
9877 ; return 0; }
9879 if { (eval echo configure:9880: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9880 rm -rf conftest*
9881 glibcpp_cv_func_sincosl_use=yes
9882 else
9883 echo "configure: failed program was:" >&5
9884 cat conftest.$ac_ext >&5
9885 rm -rf conftest*
9886 glibcpp_cv_func_sincosl_use=no
9888 rm -f conftest*
9889 ac_ext=c
9890 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9891 ac_cpp='$CPP $CPPFLAGS'
9892 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9893 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9894 cross_compiling=$ac_cv_prog_cc_cross
9900 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
9901 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
9902 for ac_func in sincosl
9904 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9905 echo "configure:9906: checking for $ac_func" >&5
9906 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9907 echo $ac_n "(cached) $ac_c" 1>&6
9908 else
9909 cat > conftest.$ac_ext <<EOF
9910 #line 9911 "configure"
9911 #include "confdefs.h"
9912 /* System header to define __stub macros and hopefully few prototypes,
9913 which can conflict with char $ac_func(); below. */
9914 #include <assert.h>
9915 /* Override any gcc2 internal prototype to avoid an error. */
9916 /* We use char because int might match the return type of a gcc2
9917 builtin and then its argument prototype would still apply. */
9918 char $ac_func();
9920 int main() {
9922 /* The GNU C library defines this for functions which it implements
9923 to always fail with ENOSYS. Some functions are actually named
9924 something starting with __ and the normal name is an alias. */
9925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9926 choke me
9927 #else
9928 $ac_func();
9929 #endif
9931 ; return 0; }
9933 if { (eval echo configure:9934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9934 rm -rf conftest*
9935 eval "ac_cv_func_$ac_func=yes"
9936 else
9937 echo "configure: failed program was:" >&5
9938 cat conftest.$ac_ext >&5
9939 rm -rf conftest*
9940 eval "ac_cv_func_$ac_func=no"
9942 rm -f conftest*
9945 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9946 echo "$ac_t""yes" 1>&6
9947 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9948 cat >> confdefs.h <<EOF
9949 #define $ac_tr_func 1
9952 else
9953 echo "$ac_t""no" 1>&6
9955 done
9960 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
9961 echo "configure:9962: checking for finitel declaration" >&5
9962 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
9963 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
9964 echo $ac_n "(cached) $ac_c" 1>&6
9965 else
9968 ac_ext=C
9969 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9970 ac_cpp='$CXXCPP $CPPFLAGS'
9971 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9972 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9973 cross_compiling=$ac_cv_prog_cxx_cross
9975 cat > conftest.$ac_ext <<EOF
9976 #line 9977 "configure"
9977 #include "confdefs.h"
9978 #include <math.h>
9979 int main() {
9980 finitel(0);
9981 ; return 0; }
9983 if { (eval echo configure:9984: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9984 rm -rf conftest*
9985 glibcpp_cv_func_finitel_use=yes
9986 else
9987 echo "configure: failed program was:" >&5
9988 cat conftest.$ac_ext >&5
9989 rm -rf conftest*
9990 glibcpp_cv_func_finitel_use=no
9992 rm -f conftest*
9993 ac_ext=c
9994 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9995 ac_cpp='$CPP $CPPFLAGS'
9996 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9997 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9998 cross_compiling=$ac_cv_prog_cc_cross
10004 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
10005 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
10006 for ac_func in finitel
10008 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10009 echo "configure:10010: checking for $ac_func" >&5
10010 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10011 echo $ac_n "(cached) $ac_c" 1>&6
10012 else
10013 cat > conftest.$ac_ext <<EOF
10014 #line 10015 "configure"
10015 #include "confdefs.h"
10016 /* System header to define __stub macros and hopefully few prototypes,
10017 which can conflict with char $ac_func(); below. */
10018 #include <assert.h>
10019 /* Override any gcc2 internal prototype to avoid an error. */
10020 /* We use char because int might match the return type of a gcc2
10021 builtin and then its argument prototype would still apply. */
10022 char $ac_func();
10024 int main() {
10026 /* The GNU C library defines this for functions which it implements
10027 to always fail with ENOSYS. Some functions are actually named
10028 something starting with __ and the normal name is an alias. */
10029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10030 choke me
10031 #else
10032 $ac_func();
10033 #endif
10035 ; return 0; }
10037 if { (eval echo configure:10038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10038 rm -rf conftest*
10039 eval "ac_cv_func_$ac_func=yes"
10040 else
10041 echo "configure: failed program was:" >&5
10042 cat conftest.$ac_ext >&5
10043 rm -rf conftest*
10044 eval "ac_cv_func_$ac_func=no"
10046 rm -f conftest*
10049 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10050 echo "$ac_t""yes" 1>&6
10051 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10052 cat >> confdefs.h <<EOF
10053 #define $ac_tr_func 1
10056 else
10057 echo "$ac_t""no" 1>&6
10059 done
10065 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
10066 echo "configure:10067: checking for _isinf declaration" >&5
10067 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
10068 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
10069 echo $ac_n "(cached) $ac_c" 1>&6
10070 else
10073 ac_ext=C
10074 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10075 ac_cpp='$CXXCPP $CPPFLAGS'
10076 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10077 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10078 cross_compiling=$ac_cv_prog_cxx_cross
10080 cat > conftest.$ac_ext <<EOF
10081 #line 10082 "configure"
10082 #include "confdefs.h"
10083 #include <math.h>
10084 int main() {
10085 _isinf(0);
10086 ; return 0; }
10088 if { (eval echo configure:10089: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10089 rm -rf conftest*
10090 glibcpp_cv_func__isinf_use=yes
10091 else
10092 echo "configure: failed program was:" >&5
10093 cat conftest.$ac_ext >&5
10094 rm -rf conftest*
10095 glibcpp_cv_func__isinf_use=no
10097 rm -f conftest*
10098 ac_ext=c
10099 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10100 ac_cpp='$CPP $CPPFLAGS'
10101 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10102 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10103 cross_compiling=$ac_cv_prog_cc_cross
10109 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
10110 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
10111 for ac_func in _isinf
10113 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10114 echo "configure:10115: checking for $ac_func" >&5
10115 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10116 echo $ac_n "(cached) $ac_c" 1>&6
10117 else
10118 cat > conftest.$ac_ext <<EOF
10119 #line 10120 "configure"
10120 #include "confdefs.h"
10121 /* System header to define __stub macros and hopefully few prototypes,
10122 which can conflict with char $ac_func(); below. */
10123 #include <assert.h>
10124 /* Override any gcc2 internal prototype to avoid an error. */
10125 /* We use char because int might match the return type of a gcc2
10126 builtin and then its argument prototype would still apply. */
10127 char $ac_func();
10129 int main() {
10131 /* The GNU C library defines this for functions which it implements
10132 to always fail with ENOSYS. Some functions are actually named
10133 something starting with __ and the normal name is an alias. */
10134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10135 choke me
10136 #else
10137 $ac_func();
10138 #endif
10140 ; return 0; }
10142 if { (eval echo configure:10143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10143 rm -rf conftest*
10144 eval "ac_cv_func_$ac_func=yes"
10145 else
10146 echo "configure: failed program was:" >&5
10147 cat conftest.$ac_ext >&5
10148 rm -rf conftest*
10149 eval "ac_cv_func_$ac_func=no"
10151 rm -f conftest*
10154 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10155 echo "$ac_t""yes" 1>&6
10156 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10157 cat >> confdefs.h <<EOF
10158 #define $ac_tr_func 1
10161 else
10162 echo "$ac_t""no" 1>&6
10164 done
10169 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
10170 echo "configure:10171: checking for _isnan declaration" >&5
10171 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
10172 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_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 _isnan(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__isnan_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__isnan_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
10213 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
10214 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
10215 for ac_func in _isnan
10217 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10218 echo "configure:10219: checking for $ac_func" >&5
10219 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10220 echo $ac_n "(cached) $ac_c" 1>&6
10221 else
10222 cat > conftest.$ac_ext <<EOF
10223 #line 10224 "configure"
10224 #include "confdefs.h"
10225 /* System header to define __stub macros and hopefully few prototypes,
10226 which can conflict with char $ac_func(); below. */
10227 #include <assert.h>
10228 /* Override any gcc2 internal prototype to avoid an error. */
10229 /* We use char because int might match the return type of a gcc2
10230 builtin and then its argument prototype would still apply. */
10231 char $ac_func();
10233 int main() {
10235 /* The GNU C library defines this for functions which it implements
10236 to always fail with ENOSYS. Some functions are actually named
10237 something starting with __ and the normal name is an alias. */
10238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10239 choke me
10240 #else
10241 $ac_func();
10242 #endif
10244 ; return 0; }
10246 if { (eval echo configure:10247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10247 rm -rf conftest*
10248 eval "ac_cv_func_$ac_func=yes"
10249 else
10250 echo "configure: failed program was:" >&5
10251 cat conftest.$ac_ext >&5
10252 rm -rf conftest*
10253 eval "ac_cv_func_$ac_func=no"
10255 rm -f conftest*
10258 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10259 echo "$ac_t""yes" 1>&6
10260 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10261 cat >> confdefs.h <<EOF
10262 #define $ac_tr_func 1
10265 else
10266 echo "$ac_t""no" 1>&6
10268 done
10273 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
10274 echo "configure:10275: checking for _finite declaration" >&5
10275 if test x${glibcpp_cv_func__finite_use+set} != xset; then
10276 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
10277 echo $ac_n "(cached) $ac_c" 1>&6
10278 else
10281 ac_ext=C
10282 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10283 ac_cpp='$CXXCPP $CPPFLAGS'
10284 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10285 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10286 cross_compiling=$ac_cv_prog_cxx_cross
10288 cat > conftest.$ac_ext <<EOF
10289 #line 10290 "configure"
10290 #include "confdefs.h"
10291 #include <math.h>
10292 int main() {
10293 _finite(0);
10294 ; return 0; }
10296 if { (eval echo configure:10297: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10297 rm -rf conftest*
10298 glibcpp_cv_func__finite_use=yes
10299 else
10300 echo "configure: failed program was:" >&5
10301 cat conftest.$ac_ext >&5
10302 rm -rf conftest*
10303 glibcpp_cv_func__finite_use=no
10305 rm -f conftest*
10306 ac_ext=c
10307 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10308 ac_cpp='$CPP $CPPFLAGS'
10309 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10310 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10311 cross_compiling=$ac_cv_prog_cc_cross
10317 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
10318 if test x$glibcpp_cv_func__finite_use = x"yes"; then
10319 for ac_func in _finite
10321 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10322 echo "configure:10323: checking for $ac_func" >&5
10323 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10324 echo $ac_n "(cached) $ac_c" 1>&6
10325 else
10326 cat > conftest.$ac_ext <<EOF
10327 #line 10328 "configure"
10328 #include "confdefs.h"
10329 /* System header to define __stub macros and hopefully few prototypes,
10330 which can conflict with char $ac_func(); below. */
10331 #include <assert.h>
10332 /* Override any gcc2 internal prototype to avoid an error. */
10333 /* We use char because int might match the return type of a gcc2
10334 builtin and then its argument prototype would still apply. */
10335 char $ac_func();
10337 int main() {
10339 /* The GNU C library defines this for functions which it implements
10340 to always fail with ENOSYS. Some functions are actually named
10341 something starting with __ and the normal name is an alias. */
10342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10343 choke me
10344 #else
10345 $ac_func();
10346 #endif
10348 ; return 0; }
10350 if { (eval echo configure:10351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10351 rm -rf conftest*
10352 eval "ac_cv_func_$ac_func=yes"
10353 else
10354 echo "configure: failed program was:" >&5
10355 cat conftest.$ac_ext >&5
10356 rm -rf conftest*
10357 eval "ac_cv_func_$ac_func=no"
10359 rm -f conftest*
10362 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10363 echo "$ac_t""yes" 1>&6
10364 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10365 cat >> confdefs.h <<EOF
10366 #define $ac_tr_func 1
10369 else
10370 echo "$ac_t""no" 1>&6
10372 done
10377 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
10378 echo "configure:10379: checking for _copysign declaration" >&5
10379 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
10380 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
10381 echo $ac_n "(cached) $ac_c" 1>&6
10382 else
10385 ac_ext=C
10386 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10387 ac_cpp='$CXXCPP $CPPFLAGS'
10388 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10389 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10390 cross_compiling=$ac_cv_prog_cxx_cross
10392 cat > conftest.$ac_ext <<EOF
10393 #line 10394 "configure"
10394 #include "confdefs.h"
10395 #include <math.h>
10396 int main() {
10397 _copysign(0, 0);
10398 ; return 0; }
10400 if { (eval echo configure:10401: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10401 rm -rf conftest*
10402 glibcpp_cv_func__copysign_use=yes
10403 else
10404 echo "configure: failed program was:" >&5
10405 cat conftest.$ac_ext >&5
10406 rm -rf conftest*
10407 glibcpp_cv_func__copysign_use=no
10409 rm -f conftest*
10410 ac_ext=c
10411 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10412 ac_cpp='$CPP $CPPFLAGS'
10413 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10414 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10415 cross_compiling=$ac_cv_prog_cc_cross
10421 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
10422 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
10423 for ac_func in _copysign
10425 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10426 echo "configure:10427: checking for $ac_func" >&5
10427 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10428 echo $ac_n "(cached) $ac_c" 1>&6
10429 else
10430 cat > conftest.$ac_ext <<EOF
10431 #line 10432 "configure"
10432 #include "confdefs.h"
10433 /* System header to define __stub macros and hopefully few prototypes,
10434 which can conflict with char $ac_func(); below. */
10435 #include <assert.h>
10436 /* Override any gcc2 internal prototype to avoid an error. */
10437 /* We use char because int might match the return type of a gcc2
10438 builtin and then its argument prototype would still apply. */
10439 char $ac_func();
10441 int main() {
10443 /* The GNU C library defines this for functions which it implements
10444 to always fail with ENOSYS. Some functions are actually named
10445 something starting with __ and the normal name is an alias. */
10446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10447 choke me
10448 #else
10449 $ac_func();
10450 #endif
10452 ; return 0; }
10454 if { (eval echo configure:10455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10455 rm -rf conftest*
10456 eval "ac_cv_func_$ac_func=yes"
10457 else
10458 echo "configure: failed program was:" >&5
10459 cat conftest.$ac_ext >&5
10460 rm -rf conftest*
10461 eval "ac_cv_func_$ac_func=no"
10463 rm -f conftest*
10466 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10467 echo "$ac_t""yes" 1>&6
10468 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10469 cat >> confdefs.h <<EOF
10470 #define $ac_tr_func 1
10473 else
10474 echo "$ac_t""no" 1>&6
10476 done
10481 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
10482 echo "configure:10483: checking for _sincos declaration" >&5
10483 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
10484 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
10485 echo $ac_n "(cached) $ac_c" 1>&6
10486 else
10489 ac_ext=C
10490 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10491 ac_cpp='$CXXCPP $CPPFLAGS'
10492 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10493 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10494 cross_compiling=$ac_cv_prog_cxx_cross
10496 cat > conftest.$ac_ext <<EOF
10497 #line 10498 "configure"
10498 #include "confdefs.h"
10499 #include <math.h>
10500 int main() {
10501 _sincos(0, 0, 0);
10502 ; return 0; }
10504 if { (eval echo configure:10505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10505 rm -rf conftest*
10506 glibcpp_cv_func__sincos_use=yes
10507 else
10508 echo "configure: failed program was:" >&5
10509 cat conftest.$ac_ext >&5
10510 rm -rf conftest*
10511 glibcpp_cv_func__sincos_use=no
10513 rm -f conftest*
10514 ac_ext=c
10515 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10516 ac_cpp='$CPP $CPPFLAGS'
10517 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10518 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10519 cross_compiling=$ac_cv_prog_cc_cross
10525 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
10526 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
10527 for ac_func in _sincos
10529 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10530 echo "configure:10531: checking for $ac_func" >&5
10531 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10532 echo $ac_n "(cached) $ac_c" 1>&6
10533 else
10534 cat > conftest.$ac_ext <<EOF
10535 #line 10536 "configure"
10536 #include "confdefs.h"
10537 /* System header to define __stub macros and hopefully few prototypes,
10538 which can conflict with char $ac_func(); below. */
10539 #include <assert.h>
10540 /* Override any gcc2 internal prototype to avoid an error. */
10541 /* We use char because int might match the return type of a gcc2
10542 builtin and then its argument prototype would still apply. */
10543 char $ac_func();
10545 int main() {
10547 /* The GNU C library defines this for functions which it implements
10548 to always fail with ENOSYS. Some functions are actually named
10549 something starting with __ and the normal name is an alias. */
10550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10551 choke me
10552 #else
10553 $ac_func();
10554 #endif
10556 ; return 0; }
10558 if { (eval echo configure:10559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10559 rm -rf conftest*
10560 eval "ac_cv_func_$ac_func=yes"
10561 else
10562 echo "configure: failed program was:" >&5
10563 cat conftest.$ac_ext >&5
10564 rm -rf conftest*
10565 eval "ac_cv_func_$ac_func=no"
10567 rm -f conftest*
10570 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10571 echo "$ac_t""yes" 1>&6
10572 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10573 cat >> confdefs.h <<EOF
10574 #define $ac_tr_func 1
10577 else
10578 echo "$ac_t""no" 1>&6
10580 done
10585 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
10586 echo "configure:10587: checking for _fpclass declaration" >&5
10587 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
10588 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
10589 echo $ac_n "(cached) $ac_c" 1>&6
10590 else
10593 ac_ext=C
10594 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10595 ac_cpp='$CXXCPP $CPPFLAGS'
10596 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10597 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10598 cross_compiling=$ac_cv_prog_cxx_cross
10600 cat > conftest.$ac_ext <<EOF
10601 #line 10602 "configure"
10602 #include "confdefs.h"
10603 #include <math.h>
10604 int main() {
10605 _fpclass(0);
10606 ; return 0; }
10608 if { (eval echo configure:10609: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10609 rm -rf conftest*
10610 glibcpp_cv_func__fpclass_use=yes
10611 else
10612 echo "configure: failed program was:" >&5
10613 cat conftest.$ac_ext >&5
10614 rm -rf conftest*
10615 glibcpp_cv_func__fpclass_use=no
10617 rm -f conftest*
10618 ac_ext=c
10619 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10620 ac_cpp='$CPP $CPPFLAGS'
10621 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10622 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10623 cross_compiling=$ac_cv_prog_cc_cross
10629 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
10630 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
10631 for ac_func in _fpclass
10633 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10634 echo "configure:10635: checking for $ac_func" >&5
10635 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10636 echo $ac_n "(cached) $ac_c" 1>&6
10637 else
10638 cat > conftest.$ac_ext <<EOF
10639 #line 10640 "configure"
10640 #include "confdefs.h"
10641 /* System header to define __stub macros and hopefully few prototypes,
10642 which can conflict with char $ac_func(); below. */
10643 #include <assert.h>
10644 /* Override any gcc2 internal prototype to avoid an error. */
10645 /* We use char because int might match the return type of a gcc2
10646 builtin and then its argument prototype would still apply. */
10647 char $ac_func();
10649 int main() {
10651 /* The GNU C library defines this for functions which it implements
10652 to always fail with ENOSYS. Some functions are actually named
10653 something starting with __ and the normal name is an alias. */
10654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10655 choke me
10656 #else
10657 $ac_func();
10658 #endif
10660 ; return 0; }
10662 if { (eval echo configure:10663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10663 rm -rf conftest*
10664 eval "ac_cv_func_$ac_func=yes"
10665 else
10666 echo "configure: failed program was:" >&5
10667 cat conftest.$ac_ext >&5
10668 rm -rf conftest*
10669 eval "ac_cv_func_$ac_func=no"
10671 rm -f conftest*
10674 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10675 echo "$ac_t""yes" 1>&6
10676 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10677 cat >> confdefs.h <<EOF
10678 #define $ac_tr_func 1
10681 else
10682 echo "$ac_t""no" 1>&6
10684 done
10689 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
10690 echo "configure:10691: checking for _qfpclass declaration" >&5
10691 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
10692 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
10693 echo $ac_n "(cached) $ac_c" 1>&6
10694 else
10697 ac_ext=C
10698 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10699 ac_cpp='$CXXCPP $CPPFLAGS'
10700 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10701 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10702 cross_compiling=$ac_cv_prog_cxx_cross
10704 cat > conftest.$ac_ext <<EOF
10705 #line 10706 "configure"
10706 #include "confdefs.h"
10707 #include <math.h>
10708 int main() {
10709 _qfpclass(0);
10710 ; return 0; }
10712 if { (eval echo configure:10713: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10713 rm -rf conftest*
10714 glibcpp_cv_func__qfpclass_use=yes
10715 else
10716 echo "configure: failed program was:" >&5
10717 cat conftest.$ac_ext >&5
10718 rm -rf conftest*
10719 glibcpp_cv_func__qfpclass_use=no
10721 rm -f conftest*
10722 ac_ext=c
10723 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10724 ac_cpp='$CPP $CPPFLAGS'
10725 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10726 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10727 cross_compiling=$ac_cv_prog_cc_cross
10733 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
10734 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
10735 for ac_func in _qfpclass
10737 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10738 echo "configure:10739: checking for $ac_func" >&5
10739 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10740 echo $ac_n "(cached) $ac_c" 1>&6
10741 else
10742 cat > conftest.$ac_ext <<EOF
10743 #line 10744 "configure"
10744 #include "confdefs.h"
10745 /* System header to define __stub macros and hopefully few prototypes,
10746 which can conflict with char $ac_func(); below. */
10747 #include <assert.h>
10748 /* Override any gcc2 internal prototype to avoid an error. */
10749 /* We use char because int might match the return type of a gcc2
10750 builtin and then its argument prototype would still apply. */
10751 char $ac_func();
10753 int main() {
10755 /* The GNU C library defines this for functions which it implements
10756 to always fail with ENOSYS. Some functions are actually named
10757 something starting with __ and the normal name is an alias. */
10758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10759 choke me
10760 #else
10761 $ac_func();
10762 #endif
10764 ; return 0; }
10766 if { (eval echo configure:10767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10767 rm -rf conftest*
10768 eval "ac_cv_func_$ac_func=yes"
10769 else
10770 echo "configure: failed program was:" >&5
10771 cat conftest.$ac_ext >&5
10772 rm -rf conftest*
10773 eval "ac_cv_func_$ac_func=no"
10775 rm -f conftest*
10778 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10779 echo "$ac_t""yes" 1>&6
10780 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10781 cat >> confdefs.h <<EOF
10782 #define $ac_tr_func 1
10785 else
10786 echo "$ac_t""no" 1>&6
10788 done
10794 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
10795 echo "configure:10796: checking for _float trig functions" >&5
10796 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
10797 echo $ac_n "(cached) $ac_c" 1>&6
10798 else
10801 ac_ext=C
10802 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10803 ac_cpp='$CXXCPP $CPPFLAGS'
10804 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10805 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10806 cross_compiling=$ac_cv_prog_cxx_cross
10808 cat > conftest.$ac_ext <<EOF
10809 #line 10810 "configure"
10810 #include "confdefs.h"
10811 #include <math.h>
10812 int main() {
10813 `for x in _acosf _asinf _atanf \
10814 _cosf _sinf _tanf \
10815 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
10816 ; return 0; }
10818 if { (eval echo configure:10819: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10819 rm -rf conftest*
10820 glibcpp_cv_func__float_trig_use=yes
10821 else
10822 echo "configure: failed program was:" >&5
10823 cat conftest.$ac_ext >&5
10824 rm -rf conftest*
10825 glibcpp_cv_func__float_trig_use=no
10827 rm -f conftest*
10828 ac_ext=c
10829 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10830 ac_cpp='$CPP $CPPFLAGS'
10831 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10832 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10833 cross_compiling=$ac_cv_prog_cc_cross
10837 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
10838 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
10839 for ac_func in _acosf _asinf _atanf \
10840 _cosf _sinf _tanf \
10841 _coshf _sinhf _tanhf
10843 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10844 echo "configure:10845: checking for $ac_func" >&5
10845 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10846 echo $ac_n "(cached) $ac_c" 1>&6
10847 else
10848 cat > conftest.$ac_ext <<EOF
10849 #line 10850 "configure"
10850 #include "confdefs.h"
10851 /* System header to define __stub macros and hopefully few prototypes,
10852 which can conflict with char $ac_func(); below. */
10853 #include <assert.h>
10854 /* Override any gcc2 internal prototype to avoid an error. */
10855 /* We use char because int might match the return type of a gcc2
10856 builtin and then its argument prototype would still apply. */
10857 char $ac_func();
10859 int main() {
10861 /* The GNU C library defines this for functions which it implements
10862 to always fail with ENOSYS. Some functions are actually named
10863 something starting with __ and the normal name is an alias. */
10864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10865 choke me
10866 #else
10867 $ac_func();
10868 #endif
10870 ; return 0; }
10872 if { (eval echo configure:10873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10873 rm -rf conftest*
10874 eval "ac_cv_func_$ac_func=yes"
10875 else
10876 echo "configure: failed program was:" >&5
10877 cat conftest.$ac_ext >&5
10878 rm -rf conftest*
10879 eval "ac_cv_func_$ac_func=no"
10881 rm -f conftest*
10884 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10885 echo "$ac_t""yes" 1>&6
10886 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10887 cat >> confdefs.h <<EOF
10888 #define $ac_tr_func 1
10891 else
10892 echo "$ac_t""no" 1>&6
10894 done
10899 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
10900 echo "configure:10901: checking for _float round functions" >&5
10901 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
10902 echo $ac_n "(cached) $ac_c" 1>&6
10903 else
10906 ac_ext=C
10907 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10908 ac_cpp='$CXXCPP $CPPFLAGS'
10909 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10910 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10911 cross_compiling=$ac_cv_prog_cxx_cross
10913 cat > conftest.$ac_ext <<EOF
10914 #line 10915 "configure"
10915 #include "confdefs.h"
10916 #include <math.h>
10917 int main() {
10918 `for x in _ceilf _floorf; do echo "$x (0);"; done`
10919 ; return 0; }
10921 if { (eval echo configure:10922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10922 rm -rf conftest*
10923 glibcpp_cv_func__float_round_use=yes
10924 else
10925 echo "configure: failed program was:" >&5
10926 cat conftest.$ac_ext >&5
10927 rm -rf conftest*
10928 glibcpp_cv_func__float_round_use=no
10930 rm -f conftest*
10931 ac_ext=c
10932 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10933 ac_cpp='$CPP $CPPFLAGS'
10934 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10935 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10936 cross_compiling=$ac_cv_prog_cc_cross
10940 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
10941 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
10942 for ac_func in _ceilf _floorf
10944 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10945 echo "configure:10946: checking for $ac_func" >&5
10946 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10947 echo $ac_n "(cached) $ac_c" 1>&6
10948 else
10949 cat > conftest.$ac_ext <<EOF
10950 #line 10951 "configure"
10951 #include "confdefs.h"
10952 /* System header to define __stub macros and hopefully few prototypes,
10953 which can conflict with char $ac_func(); below. */
10954 #include <assert.h>
10955 /* Override any gcc2 internal prototype to avoid an error. */
10956 /* We use char because int might match the return type of a gcc2
10957 builtin and then its argument prototype would still apply. */
10958 char $ac_func();
10960 int main() {
10962 /* The GNU C library defines this for functions which it implements
10963 to always fail with ENOSYS. Some functions are actually named
10964 something starting with __ and the normal name is an alias. */
10965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10966 choke me
10967 #else
10968 $ac_func();
10969 #endif
10971 ; return 0; }
10973 if { (eval echo configure:10974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10974 rm -rf conftest*
10975 eval "ac_cv_func_$ac_func=yes"
10976 else
10977 echo "configure: failed program was:" >&5
10978 cat conftest.$ac_ext >&5
10979 rm -rf conftest*
10980 eval "ac_cv_func_$ac_func=no"
10982 rm -f conftest*
10985 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10986 echo "$ac_t""yes" 1>&6
10987 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10988 cat >> confdefs.h <<EOF
10989 #define $ac_tr_func 1
10992 else
10993 echo "$ac_t""no" 1>&6
10995 done
11000 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
11001 echo "configure:11002: checking for _isnanf declaration" >&5
11002 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
11003 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
11004 echo $ac_n "(cached) $ac_c" 1>&6
11005 else
11008 ac_ext=C
11009 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11010 ac_cpp='$CXXCPP $CPPFLAGS'
11011 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11012 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11013 cross_compiling=$ac_cv_prog_cxx_cross
11015 cat > conftest.$ac_ext <<EOF
11016 #line 11017 "configure"
11017 #include "confdefs.h"
11018 #include <math.h>
11019 int main() {
11020 _isnanf(0);
11021 ; return 0; }
11023 if { (eval echo configure:11024: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11024 rm -rf conftest*
11025 glibcpp_cv_func__isnanf_use=yes
11026 else
11027 echo "configure: failed program was:" >&5
11028 cat conftest.$ac_ext >&5
11029 rm -rf conftest*
11030 glibcpp_cv_func__isnanf_use=no
11032 rm -f conftest*
11033 ac_ext=c
11034 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11035 ac_cpp='$CPP $CPPFLAGS'
11036 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11037 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11038 cross_compiling=$ac_cv_prog_cc_cross
11044 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
11045 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
11046 for ac_func in _isnanf
11048 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11049 echo "configure:11050: checking for $ac_func" >&5
11050 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11051 echo $ac_n "(cached) $ac_c" 1>&6
11052 else
11053 cat > conftest.$ac_ext <<EOF
11054 #line 11055 "configure"
11055 #include "confdefs.h"
11056 /* System header to define __stub macros and hopefully few prototypes,
11057 which can conflict with char $ac_func(); below. */
11058 #include <assert.h>
11059 /* Override any gcc2 internal prototype to avoid an error. */
11060 /* We use char because int might match the return type of a gcc2
11061 builtin and then its argument prototype would still apply. */
11062 char $ac_func();
11064 int main() {
11066 /* The GNU C library defines this for functions which it implements
11067 to always fail with ENOSYS. Some functions are actually named
11068 something starting with __ and the normal name is an alias. */
11069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11070 choke me
11071 #else
11072 $ac_func();
11073 #endif
11075 ; return 0; }
11077 if { (eval echo configure:11078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11078 rm -rf conftest*
11079 eval "ac_cv_func_$ac_func=yes"
11080 else
11081 echo "configure: failed program was:" >&5
11082 cat conftest.$ac_ext >&5
11083 rm -rf conftest*
11084 eval "ac_cv_func_$ac_func=no"
11086 rm -f conftest*
11089 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11090 echo "$ac_t""yes" 1>&6
11091 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11092 cat >> confdefs.h <<EOF
11093 #define $ac_tr_func 1
11096 else
11097 echo "$ac_t""no" 1>&6
11099 done
11104 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
11105 echo "configure:11106: checking for _isinff declaration" >&5
11106 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
11107 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
11108 echo $ac_n "(cached) $ac_c" 1>&6
11109 else
11112 ac_ext=C
11113 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11114 ac_cpp='$CXXCPP $CPPFLAGS'
11115 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11116 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11117 cross_compiling=$ac_cv_prog_cxx_cross
11119 cat > conftest.$ac_ext <<EOF
11120 #line 11121 "configure"
11121 #include "confdefs.h"
11122 #include <math.h>
11123 int main() {
11124 _isinff(0);
11125 ; return 0; }
11127 if { (eval echo configure:11128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11128 rm -rf conftest*
11129 glibcpp_cv_func__isinff_use=yes
11130 else
11131 echo "configure: failed program was:" >&5
11132 cat conftest.$ac_ext >&5
11133 rm -rf conftest*
11134 glibcpp_cv_func__isinff_use=no
11136 rm -f conftest*
11137 ac_ext=c
11138 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11139 ac_cpp='$CPP $CPPFLAGS'
11140 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11141 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11142 cross_compiling=$ac_cv_prog_cc_cross
11148 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
11149 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
11150 for ac_func in _isinff
11152 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11153 echo "configure:11154: checking for $ac_func" >&5
11154 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11155 echo $ac_n "(cached) $ac_c" 1>&6
11156 else
11157 cat > conftest.$ac_ext <<EOF
11158 #line 11159 "configure"
11159 #include "confdefs.h"
11160 /* System header to define __stub macros and hopefully few prototypes,
11161 which can conflict with char $ac_func(); below. */
11162 #include <assert.h>
11163 /* Override any gcc2 internal prototype to avoid an error. */
11164 /* We use char because int might match the return type of a gcc2
11165 builtin and then its argument prototype would still apply. */
11166 char $ac_func();
11168 int main() {
11170 /* The GNU C library defines this for functions which it implements
11171 to always fail with ENOSYS. Some functions are actually named
11172 something starting with __ and the normal name is an alias. */
11173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11174 choke me
11175 #else
11176 $ac_func();
11177 #endif
11179 ; return 0; }
11181 if { (eval echo configure:11182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11182 rm -rf conftest*
11183 eval "ac_cv_func_$ac_func=yes"
11184 else
11185 echo "configure: failed program was:" >&5
11186 cat conftest.$ac_ext >&5
11187 rm -rf conftest*
11188 eval "ac_cv_func_$ac_func=no"
11190 rm -f conftest*
11193 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11194 echo "$ac_t""yes" 1>&6
11195 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11196 cat >> confdefs.h <<EOF
11197 #define $ac_tr_func 1
11200 else
11201 echo "$ac_t""no" 1>&6
11203 done
11208 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
11209 echo "configure:11210: checking for _fabsf declaration" >&5
11210 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
11211 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
11212 echo $ac_n "(cached) $ac_c" 1>&6
11213 else
11216 ac_ext=C
11217 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11218 ac_cpp='$CXXCPP $CPPFLAGS'
11219 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11220 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11221 cross_compiling=$ac_cv_prog_cxx_cross
11223 cat > conftest.$ac_ext <<EOF
11224 #line 11225 "configure"
11225 #include "confdefs.h"
11226 #include <math.h>
11227 int main() {
11228 _fabsf(0);
11229 ; return 0; }
11231 if { (eval echo configure:11232: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11232 rm -rf conftest*
11233 glibcpp_cv_func__fabsf_use=yes
11234 else
11235 echo "configure: failed program was:" >&5
11236 cat conftest.$ac_ext >&5
11237 rm -rf conftest*
11238 glibcpp_cv_func__fabsf_use=no
11240 rm -f conftest*
11241 ac_ext=c
11242 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11243 ac_cpp='$CPP $CPPFLAGS'
11244 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11245 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11246 cross_compiling=$ac_cv_prog_cc_cross
11252 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
11253 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
11254 for ac_func in _fabsf
11256 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11257 echo "configure:11258: checking for $ac_func" >&5
11258 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11259 echo $ac_n "(cached) $ac_c" 1>&6
11260 else
11261 cat > conftest.$ac_ext <<EOF
11262 #line 11263 "configure"
11263 #include "confdefs.h"
11264 /* System header to define __stub macros and hopefully few prototypes,
11265 which can conflict with char $ac_func(); below. */
11266 #include <assert.h>
11267 /* Override any gcc2 internal prototype to avoid an error. */
11268 /* We use char because int might match the return type of a gcc2
11269 builtin and then its argument prototype would still apply. */
11270 char $ac_func();
11272 int main() {
11274 /* The GNU C library defines this for functions which it implements
11275 to always fail with ENOSYS. Some functions are actually named
11276 something starting with __ and the normal name is an alias. */
11277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11278 choke me
11279 #else
11280 $ac_func();
11281 #endif
11283 ; return 0; }
11285 if { (eval echo configure:11286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11286 rm -rf conftest*
11287 eval "ac_cv_func_$ac_func=yes"
11288 else
11289 echo "configure: failed program was:" >&5
11290 cat conftest.$ac_ext >&5
11291 rm -rf conftest*
11292 eval "ac_cv_func_$ac_func=no"
11294 rm -f conftest*
11297 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11298 echo "$ac_t""yes" 1>&6
11299 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11300 cat >> confdefs.h <<EOF
11301 #define $ac_tr_func 1
11304 else
11305 echo "$ac_t""no" 1>&6
11307 done
11312 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
11313 echo "configure:11314: checking for _fmodf declaration" >&5
11314 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
11315 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
11316 echo $ac_n "(cached) $ac_c" 1>&6
11317 else
11320 ac_ext=C
11321 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11322 ac_cpp='$CXXCPP $CPPFLAGS'
11323 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11324 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11325 cross_compiling=$ac_cv_prog_cxx_cross
11327 cat > conftest.$ac_ext <<EOF
11328 #line 11329 "configure"
11329 #include "confdefs.h"
11330 #include <math.h>
11331 int main() {
11332 _fmodf(0, 0);
11333 ; return 0; }
11335 if { (eval echo configure:11336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11336 rm -rf conftest*
11337 glibcpp_cv_func__fmodf_use=yes
11338 else
11339 echo "configure: failed program was:" >&5
11340 cat conftest.$ac_ext >&5
11341 rm -rf conftest*
11342 glibcpp_cv_func__fmodf_use=no
11344 rm -f conftest*
11345 ac_ext=c
11346 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11347 ac_cpp='$CPP $CPPFLAGS'
11348 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11349 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11350 cross_compiling=$ac_cv_prog_cc_cross
11356 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
11357 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
11358 for ac_func in _fmodf
11360 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11361 echo "configure:11362: checking for $ac_func" >&5
11362 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11363 echo $ac_n "(cached) $ac_c" 1>&6
11364 else
11365 cat > conftest.$ac_ext <<EOF
11366 #line 11367 "configure"
11367 #include "confdefs.h"
11368 /* System header to define __stub macros and hopefully few prototypes,
11369 which can conflict with char $ac_func(); below. */
11370 #include <assert.h>
11371 /* Override any gcc2 internal prototype to avoid an error. */
11372 /* We use char because int might match the return type of a gcc2
11373 builtin and then its argument prototype would still apply. */
11374 char $ac_func();
11376 int main() {
11378 /* The GNU C library defines this for functions which it implements
11379 to always fail with ENOSYS. Some functions are actually named
11380 something starting with __ and the normal name is an alias. */
11381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11382 choke me
11383 #else
11384 $ac_func();
11385 #endif
11387 ; return 0; }
11389 if { (eval echo configure:11390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11390 rm -rf conftest*
11391 eval "ac_cv_func_$ac_func=yes"
11392 else
11393 echo "configure: failed program was:" >&5
11394 cat conftest.$ac_ext >&5
11395 rm -rf conftest*
11396 eval "ac_cv_func_$ac_func=no"
11398 rm -f conftest*
11401 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11402 echo "$ac_t""yes" 1>&6
11403 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11404 cat >> confdefs.h <<EOF
11405 #define $ac_tr_func 1
11408 else
11409 echo "$ac_t""no" 1>&6
11411 done
11416 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
11417 echo "configure:11418: checking for _frexpf declaration" >&5
11418 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
11419 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
11420 echo $ac_n "(cached) $ac_c" 1>&6
11421 else
11424 ac_ext=C
11425 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11426 ac_cpp='$CXXCPP $CPPFLAGS'
11427 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11428 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11429 cross_compiling=$ac_cv_prog_cxx_cross
11431 cat > conftest.$ac_ext <<EOF
11432 #line 11433 "configure"
11433 #include "confdefs.h"
11434 #include <math.h>
11435 int main() {
11436 _frexpf(0, 0);
11437 ; return 0; }
11439 if { (eval echo configure:11440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11440 rm -rf conftest*
11441 glibcpp_cv_func__frexpf_use=yes
11442 else
11443 echo "configure: failed program was:" >&5
11444 cat conftest.$ac_ext >&5
11445 rm -rf conftest*
11446 glibcpp_cv_func__frexpf_use=no
11448 rm -f conftest*
11449 ac_ext=c
11450 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11451 ac_cpp='$CPP $CPPFLAGS'
11452 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11453 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11454 cross_compiling=$ac_cv_prog_cc_cross
11460 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
11461 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
11462 for ac_func in _frexpf
11464 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11465 echo "configure:11466: checking for $ac_func" >&5
11466 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11467 echo $ac_n "(cached) $ac_c" 1>&6
11468 else
11469 cat > conftest.$ac_ext <<EOF
11470 #line 11471 "configure"
11471 #include "confdefs.h"
11472 /* System header to define __stub macros and hopefully few prototypes,
11473 which can conflict with char $ac_func(); below. */
11474 #include <assert.h>
11475 /* Override any gcc2 internal prototype to avoid an error. */
11476 /* We use char because int might match the return type of a gcc2
11477 builtin and then its argument prototype would still apply. */
11478 char $ac_func();
11480 int main() {
11482 /* The GNU C library defines this for functions which it implements
11483 to always fail with ENOSYS. Some functions are actually named
11484 something starting with __ and the normal name is an alias. */
11485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11486 choke me
11487 #else
11488 $ac_func();
11489 #endif
11491 ; return 0; }
11493 if { (eval echo configure:11494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11494 rm -rf conftest*
11495 eval "ac_cv_func_$ac_func=yes"
11496 else
11497 echo "configure: failed program was:" >&5
11498 cat conftest.$ac_ext >&5
11499 rm -rf conftest*
11500 eval "ac_cv_func_$ac_func=no"
11502 rm -f conftest*
11505 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11506 echo "$ac_t""yes" 1>&6
11507 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11508 cat >> confdefs.h <<EOF
11509 #define $ac_tr_func 1
11512 else
11513 echo "$ac_t""no" 1>&6
11515 done
11520 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
11521 echo "configure:11522: checking for _ldexpf declaration" >&5
11522 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
11523 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
11524 echo $ac_n "(cached) $ac_c" 1>&6
11525 else
11528 ac_ext=C
11529 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11530 ac_cpp='$CXXCPP $CPPFLAGS'
11531 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11532 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11533 cross_compiling=$ac_cv_prog_cxx_cross
11535 cat > conftest.$ac_ext <<EOF
11536 #line 11537 "configure"
11537 #include "confdefs.h"
11538 #include <math.h>
11539 int main() {
11540 _ldexpf(0, 0);
11541 ; return 0; }
11543 if { (eval echo configure:11544: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11544 rm -rf conftest*
11545 glibcpp_cv_func__ldexpf_use=yes
11546 else
11547 echo "configure: failed program was:" >&5
11548 cat conftest.$ac_ext >&5
11549 rm -rf conftest*
11550 glibcpp_cv_func__ldexpf_use=no
11552 rm -f conftest*
11553 ac_ext=c
11554 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11555 ac_cpp='$CPP $CPPFLAGS'
11556 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11557 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11558 cross_compiling=$ac_cv_prog_cc_cross
11564 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
11565 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
11566 for ac_func in _ldexpf
11568 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11569 echo "configure:11570: checking for $ac_func" >&5
11570 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11571 echo $ac_n "(cached) $ac_c" 1>&6
11572 else
11573 cat > conftest.$ac_ext <<EOF
11574 #line 11575 "configure"
11575 #include "confdefs.h"
11576 /* System header to define __stub macros and hopefully few prototypes,
11577 which can conflict with char $ac_func(); below. */
11578 #include <assert.h>
11579 /* Override any gcc2 internal prototype to avoid an error. */
11580 /* We use char because int might match the return type of a gcc2
11581 builtin and then its argument prototype would still apply. */
11582 char $ac_func();
11584 int main() {
11586 /* The GNU C library defines this for functions which it implements
11587 to always fail with ENOSYS. Some functions are actually named
11588 something starting with __ and the normal name is an alias. */
11589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11590 choke me
11591 #else
11592 $ac_func();
11593 #endif
11595 ; return 0; }
11597 if { (eval echo configure:11598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11598 rm -rf conftest*
11599 eval "ac_cv_func_$ac_func=yes"
11600 else
11601 echo "configure: failed program was:" >&5
11602 cat conftest.$ac_ext >&5
11603 rm -rf conftest*
11604 eval "ac_cv_func_$ac_func=no"
11606 rm -f conftest*
11609 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11610 echo "$ac_t""yes" 1>&6
11611 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11612 cat >> confdefs.h <<EOF
11613 #define $ac_tr_func 1
11616 else
11617 echo "$ac_t""no" 1>&6
11619 done
11624 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
11625 echo "configure:11626: checking for _logf declaration" >&5
11626 if test x${glibcpp_cv_func__logf_use+set} != xset; then
11627 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
11628 echo $ac_n "(cached) $ac_c" 1>&6
11629 else
11632 ac_ext=C
11633 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11634 ac_cpp='$CXXCPP $CPPFLAGS'
11635 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11636 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11637 cross_compiling=$ac_cv_prog_cxx_cross
11639 cat > conftest.$ac_ext <<EOF
11640 #line 11641 "configure"
11641 #include "confdefs.h"
11642 #include <math.h>
11643 int main() {
11644 _logf(0);
11645 ; return 0; }
11647 if { (eval echo configure:11648: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11648 rm -rf conftest*
11649 glibcpp_cv_func__logf_use=yes
11650 else
11651 echo "configure: failed program was:" >&5
11652 cat conftest.$ac_ext >&5
11653 rm -rf conftest*
11654 glibcpp_cv_func__logf_use=no
11656 rm -f conftest*
11657 ac_ext=c
11658 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11659 ac_cpp='$CPP $CPPFLAGS'
11660 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11661 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11662 cross_compiling=$ac_cv_prog_cc_cross
11668 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
11669 if test x$glibcpp_cv_func__logf_use = x"yes"; then
11670 for ac_func in _logf
11672 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11673 echo "configure:11674: checking for $ac_func" >&5
11674 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11675 echo $ac_n "(cached) $ac_c" 1>&6
11676 else
11677 cat > conftest.$ac_ext <<EOF
11678 #line 11679 "configure"
11679 #include "confdefs.h"
11680 /* System header to define __stub macros and hopefully few prototypes,
11681 which can conflict with char $ac_func(); below. */
11682 #include <assert.h>
11683 /* Override any gcc2 internal prototype to avoid an error. */
11684 /* We use char because int might match the return type of a gcc2
11685 builtin and then its argument prototype would still apply. */
11686 char $ac_func();
11688 int main() {
11690 /* The GNU C library defines this for functions which it implements
11691 to always fail with ENOSYS. Some functions are actually named
11692 something starting with __ and the normal name is an alias. */
11693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11694 choke me
11695 #else
11696 $ac_func();
11697 #endif
11699 ; return 0; }
11701 if { (eval echo configure:11702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11702 rm -rf conftest*
11703 eval "ac_cv_func_$ac_func=yes"
11704 else
11705 echo "configure: failed program was:" >&5
11706 cat conftest.$ac_ext >&5
11707 rm -rf conftest*
11708 eval "ac_cv_func_$ac_func=no"
11710 rm -f conftest*
11713 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11714 echo "$ac_t""yes" 1>&6
11715 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11716 cat >> confdefs.h <<EOF
11717 #define $ac_tr_func 1
11720 else
11721 echo "$ac_t""no" 1>&6
11723 done
11728 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
11729 echo "configure:11730: checking for _log10f declaration" >&5
11730 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
11731 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
11732 echo $ac_n "(cached) $ac_c" 1>&6
11733 else
11736 ac_ext=C
11737 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11738 ac_cpp='$CXXCPP $CPPFLAGS'
11739 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11740 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11741 cross_compiling=$ac_cv_prog_cxx_cross
11743 cat > conftest.$ac_ext <<EOF
11744 #line 11745 "configure"
11745 #include "confdefs.h"
11746 #include <math.h>
11747 int main() {
11748 _log10f(0);
11749 ; return 0; }
11751 if { (eval echo configure:11752: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11752 rm -rf conftest*
11753 glibcpp_cv_func__log10f_use=yes
11754 else
11755 echo "configure: failed program was:" >&5
11756 cat conftest.$ac_ext >&5
11757 rm -rf conftest*
11758 glibcpp_cv_func__log10f_use=no
11760 rm -f conftest*
11761 ac_ext=c
11762 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11763 ac_cpp='$CPP $CPPFLAGS'
11764 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11765 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11766 cross_compiling=$ac_cv_prog_cc_cross
11772 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
11773 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
11774 for ac_func in _log10f
11776 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11777 echo "configure:11778: checking for $ac_func" >&5
11778 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11779 echo $ac_n "(cached) $ac_c" 1>&6
11780 else
11781 cat > conftest.$ac_ext <<EOF
11782 #line 11783 "configure"
11783 #include "confdefs.h"
11784 /* System header to define __stub macros and hopefully few prototypes,
11785 which can conflict with char $ac_func(); below. */
11786 #include <assert.h>
11787 /* Override any gcc2 internal prototype to avoid an error. */
11788 /* We use char because int might match the return type of a gcc2
11789 builtin and then its argument prototype would still apply. */
11790 char $ac_func();
11792 int main() {
11794 /* The GNU C library defines this for functions which it implements
11795 to always fail with ENOSYS. Some functions are actually named
11796 something starting with __ and the normal name is an alias. */
11797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11798 choke me
11799 #else
11800 $ac_func();
11801 #endif
11803 ; return 0; }
11805 if { (eval echo configure:11806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11806 rm -rf conftest*
11807 eval "ac_cv_func_$ac_func=yes"
11808 else
11809 echo "configure: failed program was:" >&5
11810 cat conftest.$ac_ext >&5
11811 rm -rf conftest*
11812 eval "ac_cv_func_$ac_func=no"
11814 rm -f conftest*
11817 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11818 echo "$ac_t""yes" 1>&6
11819 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11820 cat >> confdefs.h <<EOF
11821 #define $ac_tr_func 1
11824 else
11825 echo "$ac_t""no" 1>&6
11827 done
11832 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
11833 echo "configure:11834: checking for _modff declaration" >&5
11834 if test x${glibcpp_cv_func__modff_use+set} != xset; then
11835 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
11836 echo $ac_n "(cached) $ac_c" 1>&6
11837 else
11840 ac_ext=C
11841 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11842 ac_cpp='$CXXCPP $CPPFLAGS'
11843 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11844 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11845 cross_compiling=$ac_cv_prog_cxx_cross
11847 cat > conftest.$ac_ext <<EOF
11848 #line 11849 "configure"
11849 #include "confdefs.h"
11850 #include <math.h>
11851 int main() {
11852 _modff(0, 0);
11853 ; return 0; }
11855 if { (eval echo configure:11856: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11856 rm -rf conftest*
11857 glibcpp_cv_func__modff_use=yes
11858 else
11859 echo "configure: failed program was:" >&5
11860 cat conftest.$ac_ext >&5
11861 rm -rf conftest*
11862 glibcpp_cv_func__modff_use=no
11864 rm -f conftest*
11865 ac_ext=c
11866 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11867 ac_cpp='$CPP $CPPFLAGS'
11868 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11869 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11870 cross_compiling=$ac_cv_prog_cc_cross
11876 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
11877 if test x$glibcpp_cv_func__modff_use = x"yes"; then
11878 for ac_func in _modff
11880 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11881 echo "configure:11882: checking for $ac_func" >&5
11882 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11883 echo $ac_n "(cached) $ac_c" 1>&6
11884 else
11885 cat > conftest.$ac_ext <<EOF
11886 #line 11887 "configure"
11887 #include "confdefs.h"
11888 /* System header to define __stub macros and hopefully few prototypes,
11889 which can conflict with char $ac_func(); below. */
11890 #include <assert.h>
11891 /* Override any gcc2 internal prototype to avoid an error. */
11892 /* We use char because int might match the return type of a gcc2
11893 builtin and then its argument prototype would still apply. */
11894 char $ac_func();
11896 int main() {
11898 /* The GNU C library defines this for functions which it implements
11899 to always fail with ENOSYS. Some functions are actually named
11900 something starting with __ and the normal name is an alias. */
11901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11902 choke me
11903 #else
11904 $ac_func();
11905 #endif
11907 ; return 0; }
11909 if { (eval echo configure:11910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11910 rm -rf conftest*
11911 eval "ac_cv_func_$ac_func=yes"
11912 else
11913 echo "configure: failed program was:" >&5
11914 cat conftest.$ac_ext >&5
11915 rm -rf conftest*
11916 eval "ac_cv_func_$ac_func=no"
11918 rm -f conftest*
11921 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11922 echo "$ac_t""yes" 1>&6
11923 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11924 cat >> confdefs.h <<EOF
11925 #define $ac_tr_func 1
11928 else
11929 echo "$ac_t""no" 1>&6
11931 done
11936 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
11937 echo "configure:11938: checking for _powf declaration" >&5
11938 if test x${glibcpp_cv_func__powf_use+set} != xset; then
11939 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
11940 echo $ac_n "(cached) $ac_c" 1>&6
11941 else
11944 ac_ext=C
11945 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11946 ac_cpp='$CXXCPP $CPPFLAGS'
11947 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11948 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11949 cross_compiling=$ac_cv_prog_cxx_cross
11951 cat > conftest.$ac_ext <<EOF
11952 #line 11953 "configure"
11953 #include "confdefs.h"
11954 #include <math.h>
11955 int main() {
11956 _powf(0, 0);
11957 ; return 0; }
11959 if { (eval echo configure:11960: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11960 rm -rf conftest*
11961 glibcpp_cv_func__powf_use=yes
11962 else
11963 echo "configure: failed program was:" >&5
11964 cat conftest.$ac_ext >&5
11965 rm -rf conftest*
11966 glibcpp_cv_func__powf_use=no
11968 rm -f conftest*
11969 ac_ext=c
11970 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11971 ac_cpp='$CPP $CPPFLAGS'
11972 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11973 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11974 cross_compiling=$ac_cv_prog_cc_cross
11980 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
11981 if test x$glibcpp_cv_func__powf_use = x"yes"; then
11982 for ac_func in _powf
11984 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11985 echo "configure:11986: checking for $ac_func" >&5
11986 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11987 echo $ac_n "(cached) $ac_c" 1>&6
11988 else
11989 cat > conftest.$ac_ext <<EOF
11990 #line 11991 "configure"
11991 #include "confdefs.h"
11992 /* System header to define __stub macros and hopefully few prototypes,
11993 which can conflict with char $ac_func(); below. */
11994 #include <assert.h>
11995 /* Override any gcc2 internal prototype to avoid an error. */
11996 /* We use char because int might match the return type of a gcc2
11997 builtin and then its argument prototype would still apply. */
11998 char $ac_func();
12000 int main() {
12002 /* The GNU C library defines this for functions which it implements
12003 to always fail with ENOSYS. Some functions are actually named
12004 something starting with __ and the normal name is an alias. */
12005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12006 choke me
12007 #else
12008 $ac_func();
12009 #endif
12011 ; return 0; }
12013 if { (eval echo configure:12014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12014 rm -rf conftest*
12015 eval "ac_cv_func_$ac_func=yes"
12016 else
12017 echo "configure: failed program was:" >&5
12018 cat conftest.$ac_ext >&5
12019 rm -rf conftest*
12020 eval "ac_cv_func_$ac_func=no"
12022 rm -f conftest*
12025 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12026 echo "$ac_t""yes" 1>&6
12027 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12028 cat >> confdefs.h <<EOF
12029 #define $ac_tr_func 1
12032 else
12033 echo "$ac_t""no" 1>&6
12035 done
12040 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
12041 echo "configure:12042: checking for _sqrtf declaration" >&5
12042 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
12043 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
12044 echo $ac_n "(cached) $ac_c" 1>&6
12045 else
12048 ac_ext=C
12049 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12050 ac_cpp='$CXXCPP $CPPFLAGS'
12051 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12052 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12053 cross_compiling=$ac_cv_prog_cxx_cross
12055 cat > conftest.$ac_ext <<EOF
12056 #line 12057 "configure"
12057 #include "confdefs.h"
12058 #include <math.h>
12059 int main() {
12060 _sqrtf(0);
12061 ; return 0; }
12063 if { (eval echo configure:12064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12064 rm -rf conftest*
12065 glibcpp_cv_func__sqrtf_use=yes
12066 else
12067 echo "configure: failed program was:" >&5
12068 cat conftest.$ac_ext >&5
12069 rm -rf conftest*
12070 glibcpp_cv_func__sqrtf_use=no
12072 rm -f conftest*
12073 ac_ext=c
12074 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12075 ac_cpp='$CPP $CPPFLAGS'
12076 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12077 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12078 cross_compiling=$ac_cv_prog_cc_cross
12084 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
12085 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
12086 for ac_func in _sqrtf
12088 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12089 echo "configure:12090: checking for $ac_func" >&5
12090 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12091 echo $ac_n "(cached) $ac_c" 1>&6
12092 else
12093 cat > conftest.$ac_ext <<EOF
12094 #line 12095 "configure"
12095 #include "confdefs.h"
12096 /* System header to define __stub macros and hopefully few prototypes,
12097 which can conflict with char $ac_func(); below. */
12098 #include <assert.h>
12099 /* Override any gcc2 internal prototype to avoid an error. */
12100 /* We use char because int might match the return type of a gcc2
12101 builtin and then its argument prototype would still apply. */
12102 char $ac_func();
12104 int main() {
12106 /* The GNU C library defines this for functions which it implements
12107 to always fail with ENOSYS. Some functions are actually named
12108 something starting with __ and the normal name is an alias. */
12109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12110 choke me
12111 #else
12112 $ac_func();
12113 #endif
12115 ; return 0; }
12117 if { (eval echo configure:12118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12118 rm -rf conftest*
12119 eval "ac_cv_func_$ac_func=yes"
12120 else
12121 echo "configure: failed program was:" >&5
12122 cat conftest.$ac_ext >&5
12123 rm -rf conftest*
12124 eval "ac_cv_func_$ac_func=no"
12126 rm -f conftest*
12129 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12130 echo "$ac_t""yes" 1>&6
12131 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12132 cat >> confdefs.h <<EOF
12133 #define $ac_tr_func 1
12136 else
12137 echo "$ac_t""no" 1>&6
12139 done
12144 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
12145 echo "configure:12146: checking for _sincosf declaration" >&5
12146 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
12147 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
12148 echo $ac_n "(cached) $ac_c" 1>&6
12149 else
12152 ac_ext=C
12153 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12154 ac_cpp='$CXXCPP $CPPFLAGS'
12155 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12156 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12157 cross_compiling=$ac_cv_prog_cxx_cross
12159 cat > conftest.$ac_ext <<EOF
12160 #line 12161 "configure"
12161 #include "confdefs.h"
12162 #include <math.h>
12163 int main() {
12164 _sincosf(0, 0, 0);
12165 ; return 0; }
12167 if { (eval echo configure:12168: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12168 rm -rf conftest*
12169 glibcpp_cv_func__sincosf_use=yes
12170 else
12171 echo "configure: failed program was:" >&5
12172 cat conftest.$ac_ext >&5
12173 rm -rf conftest*
12174 glibcpp_cv_func__sincosf_use=no
12176 rm -f conftest*
12177 ac_ext=c
12178 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12179 ac_cpp='$CPP $CPPFLAGS'
12180 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12181 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12182 cross_compiling=$ac_cv_prog_cc_cross
12188 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
12189 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
12190 for ac_func in _sincosf
12192 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12193 echo "configure:12194: checking for $ac_func" >&5
12194 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12195 echo $ac_n "(cached) $ac_c" 1>&6
12196 else
12197 cat > conftest.$ac_ext <<EOF
12198 #line 12199 "configure"
12199 #include "confdefs.h"
12200 /* System header to define __stub macros and hopefully few prototypes,
12201 which can conflict with char $ac_func(); below. */
12202 #include <assert.h>
12203 /* Override any gcc2 internal prototype to avoid an error. */
12204 /* We use char because int might match the return type of a gcc2
12205 builtin and then its argument prototype would still apply. */
12206 char $ac_func();
12208 int main() {
12210 /* The GNU C library defines this for functions which it implements
12211 to always fail with ENOSYS. Some functions are actually named
12212 something starting with __ and the normal name is an alias. */
12213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12214 choke me
12215 #else
12216 $ac_func();
12217 #endif
12219 ; return 0; }
12221 if { (eval echo configure:12222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12222 rm -rf conftest*
12223 eval "ac_cv_func_$ac_func=yes"
12224 else
12225 echo "configure: failed program was:" >&5
12226 cat conftest.$ac_ext >&5
12227 rm -rf conftest*
12228 eval "ac_cv_func_$ac_func=no"
12230 rm -f conftest*
12233 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12234 echo "$ac_t""yes" 1>&6
12235 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12236 cat >> confdefs.h <<EOF
12237 #define $ac_tr_func 1
12240 else
12241 echo "$ac_t""no" 1>&6
12243 done
12248 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
12249 echo "configure:12250: checking for _finitef declaration" >&5
12250 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
12251 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
12252 echo $ac_n "(cached) $ac_c" 1>&6
12253 else
12256 ac_ext=C
12257 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12258 ac_cpp='$CXXCPP $CPPFLAGS'
12259 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12260 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12261 cross_compiling=$ac_cv_prog_cxx_cross
12263 cat > conftest.$ac_ext <<EOF
12264 #line 12265 "configure"
12265 #include "confdefs.h"
12266 #include <math.h>
12267 int main() {
12268 _finitef(0);
12269 ; return 0; }
12271 if { (eval echo configure:12272: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12272 rm -rf conftest*
12273 glibcpp_cv_func__finitef_use=yes
12274 else
12275 echo "configure: failed program was:" >&5
12276 cat conftest.$ac_ext >&5
12277 rm -rf conftest*
12278 glibcpp_cv_func__finitef_use=no
12280 rm -f conftest*
12281 ac_ext=c
12282 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12283 ac_cpp='$CPP $CPPFLAGS'
12284 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12285 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12286 cross_compiling=$ac_cv_prog_cc_cross
12292 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
12293 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
12294 for ac_func in _finitef
12296 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12297 echo "configure:12298: checking for $ac_func" >&5
12298 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12299 echo $ac_n "(cached) $ac_c" 1>&6
12300 else
12301 cat > conftest.$ac_ext <<EOF
12302 #line 12303 "configure"
12303 #include "confdefs.h"
12304 /* System header to define __stub macros and hopefully few prototypes,
12305 which can conflict with char $ac_func(); below. */
12306 #include <assert.h>
12307 /* Override any gcc2 internal prototype to avoid an error. */
12308 /* We use char because int might match the return type of a gcc2
12309 builtin and then its argument prototype would still apply. */
12310 char $ac_func();
12312 int main() {
12314 /* The GNU C library defines this for functions which it implements
12315 to always fail with ENOSYS. Some functions are actually named
12316 something starting with __ and the normal name is an alias. */
12317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12318 choke me
12319 #else
12320 $ac_func();
12321 #endif
12323 ; return 0; }
12325 if { (eval echo configure:12326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12326 rm -rf conftest*
12327 eval "ac_cv_func_$ac_func=yes"
12328 else
12329 echo "configure: failed program was:" >&5
12330 cat conftest.$ac_ext >&5
12331 rm -rf conftest*
12332 eval "ac_cv_func_$ac_func=no"
12334 rm -f conftest*
12337 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12338 echo "$ac_t""yes" 1>&6
12339 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12340 cat >> confdefs.h <<EOF
12341 #define $ac_tr_func 1
12344 else
12345 echo "$ac_t""no" 1>&6
12347 done
12353 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
12354 echo "configure:12355: checking for _long double trig functions" >&5
12355 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
12356 echo $ac_n "(cached) $ac_c" 1>&6
12357 else
12360 ac_ext=C
12361 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12362 ac_cpp='$CXXCPP $CPPFLAGS'
12363 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12364 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12365 cross_compiling=$ac_cv_prog_cxx_cross
12367 cat > conftest.$ac_ext <<EOF
12368 #line 12369 "configure"
12369 #include "confdefs.h"
12370 #include <math.h>
12371 int main() {
12372 `for x in _acosl _asinl _atanl \
12373 _cosl _sinl _tanl \
12374 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
12375 ; return 0; }
12377 if { (eval echo configure:12378: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12378 rm -rf conftest*
12379 glibcpp_cv_func__long_double_trig_use=yes
12380 else
12381 echo "configure: failed program was:" >&5
12382 cat conftest.$ac_ext >&5
12383 rm -rf conftest*
12384 glibcpp_cv_func__long_double_trig_use=no
12386 rm -f conftest*
12387 ac_ext=c
12388 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12389 ac_cpp='$CPP $CPPFLAGS'
12390 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12391 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12392 cross_compiling=$ac_cv_prog_cc_cross
12396 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
12397 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
12398 for ac_func in _acosl _asinl _atanl \
12399 _cosl _sinl _tanl \
12400 _coshl _sinhl _tanhl
12402 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12403 echo "configure:12404: checking for $ac_func" >&5
12404 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12405 echo $ac_n "(cached) $ac_c" 1>&6
12406 else
12407 cat > conftest.$ac_ext <<EOF
12408 #line 12409 "configure"
12409 #include "confdefs.h"
12410 /* System header to define __stub macros and hopefully few prototypes,
12411 which can conflict with char $ac_func(); below. */
12412 #include <assert.h>
12413 /* Override any gcc2 internal prototype to avoid an error. */
12414 /* We use char because int might match the return type of a gcc2
12415 builtin and then its argument prototype would still apply. */
12416 char $ac_func();
12418 int main() {
12420 /* The GNU C library defines this for functions which it implements
12421 to always fail with ENOSYS. Some functions are actually named
12422 something starting with __ and the normal name is an alias. */
12423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12424 choke me
12425 #else
12426 $ac_func();
12427 #endif
12429 ; return 0; }
12431 if { (eval echo configure:12432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12432 rm -rf conftest*
12433 eval "ac_cv_func_$ac_func=yes"
12434 else
12435 echo "configure: failed program was:" >&5
12436 cat conftest.$ac_ext >&5
12437 rm -rf conftest*
12438 eval "ac_cv_func_$ac_func=no"
12440 rm -f conftest*
12443 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12444 echo "$ac_t""yes" 1>&6
12445 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12446 cat >> confdefs.h <<EOF
12447 #define $ac_tr_func 1
12450 else
12451 echo "$ac_t""no" 1>&6
12453 done
12458 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
12459 echo "configure:12460: checking for _long double round functions" >&5
12460 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
12461 echo $ac_n "(cached) $ac_c" 1>&6
12462 else
12465 ac_ext=C
12466 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12467 ac_cpp='$CXXCPP $CPPFLAGS'
12468 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12469 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12470 cross_compiling=$ac_cv_prog_cxx_cross
12472 cat > conftest.$ac_ext <<EOF
12473 #line 12474 "configure"
12474 #include "confdefs.h"
12475 #include <math.h>
12476 int main() {
12477 `for x in _ceill _floorl; do echo "$x (0);"; done`
12478 ; return 0; }
12480 if { (eval echo configure:12481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12481 rm -rf conftest*
12482 glibcpp_cv_func__long_double_round_use=yes
12483 else
12484 echo "configure: failed program was:" >&5
12485 cat conftest.$ac_ext >&5
12486 rm -rf conftest*
12487 glibcpp_cv_func__long_double_round_use=no
12489 rm -f conftest*
12490 ac_ext=c
12491 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12492 ac_cpp='$CPP $CPPFLAGS'
12493 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12494 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12495 cross_compiling=$ac_cv_prog_cc_cross
12499 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
12500 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
12501 for ac_func in _ceill _floorl
12503 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12504 echo "configure:12505: checking for $ac_func" >&5
12505 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12506 echo $ac_n "(cached) $ac_c" 1>&6
12507 else
12508 cat > conftest.$ac_ext <<EOF
12509 #line 12510 "configure"
12510 #include "confdefs.h"
12511 /* System header to define __stub macros and hopefully few prototypes,
12512 which can conflict with char $ac_func(); below. */
12513 #include <assert.h>
12514 /* Override any gcc2 internal prototype to avoid an error. */
12515 /* We use char because int might match the return type of a gcc2
12516 builtin and then its argument prototype would still apply. */
12517 char $ac_func();
12519 int main() {
12521 /* The GNU C library defines this for functions which it implements
12522 to always fail with ENOSYS. Some functions are actually named
12523 something starting with __ and the normal name is an alias. */
12524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12525 choke me
12526 #else
12527 $ac_func();
12528 #endif
12530 ; return 0; }
12532 if { (eval echo configure:12533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12533 rm -rf conftest*
12534 eval "ac_cv_func_$ac_func=yes"
12535 else
12536 echo "configure: failed program was:" >&5
12537 cat conftest.$ac_ext >&5
12538 rm -rf conftest*
12539 eval "ac_cv_func_$ac_func=no"
12541 rm -f conftest*
12544 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12545 echo "$ac_t""yes" 1>&6
12546 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12547 cat >> confdefs.h <<EOF
12548 #define $ac_tr_func 1
12551 else
12552 echo "$ac_t""no" 1>&6
12554 done
12559 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
12560 echo "configure:12561: checking for _isnanl declaration" >&5
12561 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
12562 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
12563 echo $ac_n "(cached) $ac_c" 1>&6
12564 else
12567 ac_ext=C
12568 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12569 ac_cpp='$CXXCPP $CPPFLAGS'
12570 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12571 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12572 cross_compiling=$ac_cv_prog_cxx_cross
12574 cat > conftest.$ac_ext <<EOF
12575 #line 12576 "configure"
12576 #include "confdefs.h"
12577 #include <math.h>
12578 int main() {
12579 _isnanl(0);
12580 ; return 0; }
12582 if { (eval echo configure:12583: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12583 rm -rf conftest*
12584 glibcpp_cv_func__isnanl_use=yes
12585 else
12586 echo "configure: failed program was:" >&5
12587 cat conftest.$ac_ext >&5
12588 rm -rf conftest*
12589 glibcpp_cv_func__isnanl_use=no
12591 rm -f conftest*
12592 ac_ext=c
12593 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12594 ac_cpp='$CPP $CPPFLAGS'
12595 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12596 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12597 cross_compiling=$ac_cv_prog_cc_cross
12603 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
12604 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
12605 for ac_func in _isnanl
12607 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12608 echo "configure:12609: checking for $ac_func" >&5
12609 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12610 echo $ac_n "(cached) $ac_c" 1>&6
12611 else
12612 cat > conftest.$ac_ext <<EOF
12613 #line 12614 "configure"
12614 #include "confdefs.h"
12615 /* System header to define __stub macros and hopefully few prototypes,
12616 which can conflict with char $ac_func(); below. */
12617 #include <assert.h>
12618 /* Override any gcc2 internal prototype to avoid an error. */
12619 /* We use char because int might match the return type of a gcc2
12620 builtin and then its argument prototype would still apply. */
12621 char $ac_func();
12623 int main() {
12625 /* The GNU C library defines this for functions which it implements
12626 to always fail with ENOSYS. Some functions are actually named
12627 something starting with __ and the normal name is an alias. */
12628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12629 choke me
12630 #else
12631 $ac_func();
12632 #endif
12634 ; return 0; }
12636 if { (eval echo configure:12637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12637 rm -rf conftest*
12638 eval "ac_cv_func_$ac_func=yes"
12639 else
12640 echo "configure: failed program was:" >&5
12641 cat conftest.$ac_ext >&5
12642 rm -rf conftest*
12643 eval "ac_cv_func_$ac_func=no"
12645 rm -f conftest*
12648 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12649 echo "$ac_t""yes" 1>&6
12650 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12651 cat >> confdefs.h <<EOF
12652 #define $ac_tr_func 1
12655 else
12656 echo "$ac_t""no" 1>&6
12658 done
12663 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
12664 echo "configure:12665: checking for _isinfl declaration" >&5
12665 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
12666 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
12667 echo $ac_n "(cached) $ac_c" 1>&6
12668 else
12671 ac_ext=C
12672 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12673 ac_cpp='$CXXCPP $CPPFLAGS'
12674 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12675 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12676 cross_compiling=$ac_cv_prog_cxx_cross
12678 cat > conftest.$ac_ext <<EOF
12679 #line 12680 "configure"
12680 #include "confdefs.h"
12681 #include <math.h>
12682 int main() {
12683 _isinfl(0);
12684 ; return 0; }
12686 if { (eval echo configure:12687: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12687 rm -rf conftest*
12688 glibcpp_cv_func__isinfl_use=yes
12689 else
12690 echo "configure: failed program was:" >&5
12691 cat conftest.$ac_ext >&5
12692 rm -rf conftest*
12693 glibcpp_cv_func__isinfl_use=no
12695 rm -f conftest*
12696 ac_ext=c
12697 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12698 ac_cpp='$CPP $CPPFLAGS'
12699 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12700 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12701 cross_compiling=$ac_cv_prog_cc_cross
12707 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
12708 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
12709 for ac_func in _isinfl
12711 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12712 echo "configure:12713: checking for $ac_func" >&5
12713 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12714 echo $ac_n "(cached) $ac_c" 1>&6
12715 else
12716 cat > conftest.$ac_ext <<EOF
12717 #line 12718 "configure"
12718 #include "confdefs.h"
12719 /* System header to define __stub macros and hopefully few prototypes,
12720 which can conflict with char $ac_func(); below. */
12721 #include <assert.h>
12722 /* Override any gcc2 internal prototype to avoid an error. */
12723 /* We use char because int might match the return type of a gcc2
12724 builtin and then its argument prototype would still apply. */
12725 char $ac_func();
12727 int main() {
12729 /* The GNU C library defines this for functions which it implements
12730 to always fail with ENOSYS. Some functions are actually named
12731 something starting with __ and the normal name is an alias. */
12732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12733 choke me
12734 #else
12735 $ac_func();
12736 #endif
12738 ; return 0; }
12740 if { (eval echo configure:12741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12741 rm -rf conftest*
12742 eval "ac_cv_func_$ac_func=yes"
12743 else
12744 echo "configure: failed program was:" >&5
12745 cat conftest.$ac_ext >&5
12746 rm -rf conftest*
12747 eval "ac_cv_func_$ac_func=no"
12749 rm -f conftest*
12752 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12753 echo "$ac_t""yes" 1>&6
12754 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12755 cat >> confdefs.h <<EOF
12756 #define $ac_tr_func 1
12759 else
12760 echo "$ac_t""no" 1>&6
12762 done
12767 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
12768 echo "configure:12769: checking for _copysignl declaration" >&5
12769 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
12770 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
12771 echo $ac_n "(cached) $ac_c" 1>&6
12772 else
12775 ac_ext=C
12776 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12777 ac_cpp='$CXXCPP $CPPFLAGS'
12778 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12779 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12780 cross_compiling=$ac_cv_prog_cxx_cross
12782 cat > conftest.$ac_ext <<EOF
12783 #line 12784 "configure"
12784 #include "confdefs.h"
12785 #include <math.h>
12786 int main() {
12787 _copysignl(0, 0);
12788 ; return 0; }
12790 if { (eval echo configure:12791: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12791 rm -rf conftest*
12792 glibcpp_cv_func__copysignl_use=yes
12793 else
12794 echo "configure: failed program was:" >&5
12795 cat conftest.$ac_ext >&5
12796 rm -rf conftest*
12797 glibcpp_cv_func__copysignl_use=no
12799 rm -f conftest*
12800 ac_ext=c
12801 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12802 ac_cpp='$CPP $CPPFLAGS'
12803 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12804 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12805 cross_compiling=$ac_cv_prog_cc_cross
12811 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
12812 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
12813 for ac_func in _copysignl
12815 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12816 echo "configure:12817: checking for $ac_func" >&5
12817 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12818 echo $ac_n "(cached) $ac_c" 1>&6
12819 else
12820 cat > conftest.$ac_ext <<EOF
12821 #line 12822 "configure"
12822 #include "confdefs.h"
12823 /* System header to define __stub macros and hopefully few prototypes,
12824 which can conflict with char $ac_func(); below. */
12825 #include <assert.h>
12826 /* Override any gcc2 internal prototype to avoid an error. */
12827 /* We use char because int might match the return type of a gcc2
12828 builtin and then its argument prototype would still apply. */
12829 char $ac_func();
12831 int main() {
12833 /* The GNU C library defines this for functions which it implements
12834 to always fail with ENOSYS. Some functions are actually named
12835 something starting with __ and the normal name is an alias. */
12836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12837 choke me
12838 #else
12839 $ac_func();
12840 #endif
12842 ; return 0; }
12844 if { (eval echo configure:12845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12845 rm -rf conftest*
12846 eval "ac_cv_func_$ac_func=yes"
12847 else
12848 echo "configure: failed program was:" >&5
12849 cat conftest.$ac_ext >&5
12850 rm -rf conftest*
12851 eval "ac_cv_func_$ac_func=no"
12853 rm -f conftest*
12856 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12857 echo "$ac_t""yes" 1>&6
12858 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12859 cat >> confdefs.h <<EOF
12860 #define $ac_tr_func 1
12863 else
12864 echo "$ac_t""no" 1>&6
12866 done
12871 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
12872 echo "configure:12873: checking for _atan2l declaration" >&5
12873 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
12874 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
12875 echo $ac_n "(cached) $ac_c" 1>&6
12876 else
12879 ac_ext=C
12880 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12881 ac_cpp='$CXXCPP $CPPFLAGS'
12882 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12883 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12884 cross_compiling=$ac_cv_prog_cxx_cross
12886 cat > conftest.$ac_ext <<EOF
12887 #line 12888 "configure"
12888 #include "confdefs.h"
12889 #include <math.h>
12890 int main() {
12891 _atan2l(0, 0);
12892 ; return 0; }
12894 if { (eval echo configure:12895: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12895 rm -rf conftest*
12896 glibcpp_cv_func__atan2l_use=yes
12897 else
12898 echo "configure: failed program was:" >&5
12899 cat conftest.$ac_ext >&5
12900 rm -rf conftest*
12901 glibcpp_cv_func__atan2l_use=no
12903 rm -f conftest*
12904 ac_ext=c
12905 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12906 ac_cpp='$CPP $CPPFLAGS'
12907 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12908 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12909 cross_compiling=$ac_cv_prog_cc_cross
12915 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
12916 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
12917 for ac_func in _atan2l
12919 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12920 echo "configure:12921: checking for $ac_func" >&5
12921 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12922 echo $ac_n "(cached) $ac_c" 1>&6
12923 else
12924 cat > conftest.$ac_ext <<EOF
12925 #line 12926 "configure"
12926 #include "confdefs.h"
12927 /* System header to define __stub macros and hopefully few prototypes,
12928 which can conflict with char $ac_func(); below. */
12929 #include <assert.h>
12930 /* Override any gcc2 internal prototype to avoid an error. */
12931 /* We use char because int might match the return type of a gcc2
12932 builtin and then its argument prototype would still apply. */
12933 char $ac_func();
12935 int main() {
12937 /* The GNU C library defines this for functions which it implements
12938 to always fail with ENOSYS. Some functions are actually named
12939 something starting with __ and the normal name is an alias. */
12940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12941 choke me
12942 #else
12943 $ac_func();
12944 #endif
12946 ; return 0; }
12948 if { (eval echo configure:12949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12949 rm -rf conftest*
12950 eval "ac_cv_func_$ac_func=yes"
12951 else
12952 echo "configure: failed program was:" >&5
12953 cat conftest.$ac_ext >&5
12954 rm -rf conftest*
12955 eval "ac_cv_func_$ac_func=no"
12957 rm -f conftest*
12960 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12961 echo "$ac_t""yes" 1>&6
12962 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12963 cat >> confdefs.h <<EOF
12964 #define $ac_tr_func 1
12967 else
12968 echo "$ac_t""no" 1>&6
12970 done
12975 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
12976 echo "configure:12977: checking for _expl declaration" >&5
12977 if test x${glibcpp_cv_func__expl_use+set} != xset; then
12978 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
12979 echo $ac_n "(cached) $ac_c" 1>&6
12980 else
12983 ac_ext=C
12984 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12985 ac_cpp='$CXXCPP $CPPFLAGS'
12986 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12987 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12988 cross_compiling=$ac_cv_prog_cxx_cross
12990 cat > conftest.$ac_ext <<EOF
12991 #line 12992 "configure"
12992 #include "confdefs.h"
12993 #include <math.h>
12994 int main() {
12995 _expl(0);
12996 ; return 0; }
12998 if { (eval echo configure:12999: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12999 rm -rf conftest*
13000 glibcpp_cv_func__expl_use=yes
13001 else
13002 echo "configure: failed program was:" >&5
13003 cat conftest.$ac_ext >&5
13004 rm -rf conftest*
13005 glibcpp_cv_func__expl_use=no
13007 rm -f conftest*
13008 ac_ext=c
13009 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13010 ac_cpp='$CPP $CPPFLAGS'
13011 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13012 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13013 cross_compiling=$ac_cv_prog_cc_cross
13019 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
13020 if test x$glibcpp_cv_func__expl_use = x"yes"; then
13021 for ac_func in _expl
13023 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13024 echo "configure:13025: checking for $ac_func" >&5
13025 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13026 echo $ac_n "(cached) $ac_c" 1>&6
13027 else
13028 cat > conftest.$ac_ext <<EOF
13029 #line 13030 "configure"
13030 #include "confdefs.h"
13031 /* System header to define __stub macros and hopefully few prototypes,
13032 which can conflict with char $ac_func(); below. */
13033 #include <assert.h>
13034 /* Override any gcc2 internal prototype to avoid an error. */
13035 /* We use char because int might match the return type of a gcc2
13036 builtin and then its argument prototype would still apply. */
13037 char $ac_func();
13039 int main() {
13041 /* The GNU C library defines this for functions which it implements
13042 to always fail with ENOSYS. Some functions are actually named
13043 something starting with __ and the normal name is an alias. */
13044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13045 choke me
13046 #else
13047 $ac_func();
13048 #endif
13050 ; return 0; }
13052 if { (eval echo configure:13053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13053 rm -rf conftest*
13054 eval "ac_cv_func_$ac_func=yes"
13055 else
13056 echo "configure: failed program was:" >&5
13057 cat conftest.$ac_ext >&5
13058 rm -rf conftest*
13059 eval "ac_cv_func_$ac_func=no"
13061 rm -f conftest*
13064 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13065 echo "$ac_t""yes" 1>&6
13066 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13067 cat >> confdefs.h <<EOF
13068 #define $ac_tr_func 1
13071 else
13072 echo "$ac_t""no" 1>&6
13074 done
13079 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
13080 echo "configure:13081: checking for _fabsl declaration" >&5
13081 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
13082 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
13083 echo $ac_n "(cached) $ac_c" 1>&6
13084 else
13087 ac_ext=C
13088 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13089 ac_cpp='$CXXCPP $CPPFLAGS'
13090 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13091 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13092 cross_compiling=$ac_cv_prog_cxx_cross
13094 cat > conftest.$ac_ext <<EOF
13095 #line 13096 "configure"
13096 #include "confdefs.h"
13097 #include <math.h>
13098 int main() {
13099 _fabsl(0);
13100 ; return 0; }
13102 if { (eval echo configure:13103: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13103 rm -rf conftest*
13104 glibcpp_cv_func__fabsl_use=yes
13105 else
13106 echo "configure: failed program was:" >&5
13107 cat conftest.$ac_ext >&5
13108 rm -rf conftest*
13109 glibcpp_cv_func__fabsl_use=no
13111 rm -f conftest*
13112 ac_ext=c
13113 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13114 ac_cpp='$CPP $CPPFLAGS'
13115 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13116 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13117 cross_compiling=$ac_cv_prog_cc_cross
13123 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
13124 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
13125 for ac_func in _fabsl
13127 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13128 echo "configure:13129: checking for $ac_func" >&5
13129 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13130 echo $ac_n "(cached) $ac_c" 1>&6
13131 else
13132 cat > conftest.$ac_ext <<EOF
13133 #line 13134 "configure"
13134 #include "confdefs.h"
13135 /* System header to define __stub macros and hopefully few prototypes,
13136 which can conflict with char $ac_func(); below. */
13137 #include <assert.h>
13138 /* Override any gcc2 internal prototype to avoid an error. */
13139 /* We use char because int might match the return type of a gcc2
13140 builtin and then its argument prototype would still apply. */
13141 char $ac_func();
13143 int main() {
13145 /* The GNU C library defines this for functions which it implements
13146 to always fail with ENOSYS. Some functions are actually named
13147 something starting with __ and the normal name is an alias. */
13148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13149 choke me
13150 #else
13151 $ac_func();
13152 #endif
13154 ; return 0; }
13156 if { (eval echo configure:13157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13157 rm -rf conftest*
13158 eval "ac_cv_func_$ac_func=yes"
13159 else
13160 echo "configure: failed program was:" >&5
13161 cat conftest.$ac_ext >&5
13162 rm -rf conftest*
13163 eval "ac_cv_func_$ac_func=no"
13165 rm -f conftest*
13168 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13169 echo "$ac_t""yes" 1>&6
13170 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13171 cat >> confdefs.h <<EOF
13172 #define $ac_tr_func 1
13175 else
13176 echo "$ac_t""no" 1>&6
13178 done
13183 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
13184 echo "configure:13185: checking for _fmodl declaration" >&5
13185 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
13186 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
13187 echo $ac_n "(cached) $ac_c" 1>&6
13188 else
13191 ac_ext=C
13192 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13193 ac_cpp='$CXXCPP $CPPFLAGS'
13194 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13195 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13196 cross_compiling=$ac_cv_prog_cxx_cross
13198 cat > conftest.$ac_ext <<EOF
13199 #line 13200 "configure"
13200 #include "confdefs.h"
13201 #include <math.h>
13202 int main() {
13203 _fmodl(0, 0);
13204 ; return 0; }
13206 if { (eval echo configure:13207: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13207 rm -rf conftest*
13208 glibcpp_cv_func__fmodl_use=yes
13209 else
13210 echo "configure: failed program was:" >&5
13211 cat conftest.$ac_ext >&5
13212 rm -rf conftest*
13213 glibcpp_cv_func__fmodl_use=no
13215 rm -f conftest*
13216 ac_ext=c
13217 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13218 ac_cpp='$CPP $CPPFLAGS'
13219 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13220 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13221 cross_compiling=$ac_cv_prog_cc_cross
13227 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
13228 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
13229 for ac_func in _fmodl
13231 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13232 echo "configure:13233: checking for $ac_func" >&5
13233 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13234 echo $ac_n "(cached) $ac_c" 1>&6
13235 else
13236 cat > conftest.$ac_ext <<EOF
13237 #line 13238 "configure"
13238 #include "confdefs.h"
13239 /* System header to define __stub macros and hopefully few prototypes,
13240 which can conflict with char $ac_func(); below. */
13241 #include <assert.h>
13242 /* Override any gcc2 internal prototype to avoid an error. */
13243 /* We use char because int might match the return type of a gcc2
13244 builtin and then its argument prototype would still apply. */
13245 char $ac_func();
13247 int main() {
13249 /* The GNU C library defines this for functions which it implements
13250 to always fail with ENOSYS. Some functions are actually named
13251 something starting with __ and the normal name is an alias. */
13252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13253 choke me
13254 #else
13255 $ac_func();
13256 #endif
13258 ; return 0; }
13260 if { (eval echo configure:13261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13261 rm -rf conftest*
13262 eval "ac_cv_func_$ac_func=yes"
13263 else
13264 echo "configure: failed program was:" >&5
13265 cat conftest.$ac_ext >&5
13266 rm -rf conftest*
13267 eval "ac_cv_func_$ac_func=no"
13269 rm -f conftest*
13272 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13273 echo "$ac_t""yes" 1>&6
13274 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13275 cat >> confdefs.h <<EOF
13276 #define $ac_tr_func 1
13279 else
13280 echo "$ac_t""no" 1>&6
13282 done
13287 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
13288 echo "configure:13289: checking for _frexpl declaration" >&5
13289 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
13290 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
13291 echo $ac_n "(cached) $ac_c" 1>&6
13292 else
13295 ac_ext=C
13296 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13297 ac_cpp='$CXXCPP $CPPFLAGS'
13298 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13299 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13300 cross_compiling=$ac_cv_prog_cxx_cross
13302 cat > conftest.$ac_ext <<EOF
13303 #line 13304 "configure"
13304 #include "confdefs.h"
13305 #include <math.h>
13306 int main() {
13307 _frexpl(0, 0);
13308 ; return 0; }
13310 if { (eval echo configure:13311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13311 rm -rf conftest*
13312 glibcpp_cv_func__frexpl_use=yes
13313 else
13314 echo "configure: failed program was:" >&5
13315 cat conftest.$ac_ext >&5
13316 rm -rf conftest*
13317 glibcpp_cv_func__frexpl_use=no
13319 rm -f conftest*
13320 ac_ext=c
13321 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13322 ac_cpp='$CPP $CPPFLAGS'
13323 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13324 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13325 cross_compiling=$ac_cv_prog_cc_cross
13331 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
13332 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
13333 for ac_func in _frexpl
13335 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13336 echo "configure:13337: checking for $ac_func" >&5
13337 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13338 echo $ac_n "(cached) $ac_c" 1>&6
13339 else
13340 cat > conftest.$ac_ext <<EOF
13341 #line 13342 "configure"
13342 #include "confdefs.h"
13343 /* System header to define __stub macros and hopefully few prototypes,
13344 which can conflict with char $ac_func(); below. */
13345 #include <assert.h>
13346 /* Override any gcc2 internal prototype to avoid an error. */
13347 /* We use char because int might match the return type of a gcc2
13348 builtin and then its argument prototype would still apply. */
13349 char $ac_func();
13351 int main() {
13353 /* The GNU C library defines this for functions which it implements
13354 to always fail with ENOSYS. Some functions are actually named
13355 something starting with __ and the normal name is an alias. */
13356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13357 choke me
13358 #else
13359 $ac_func();
13360 #endif
13362 ; return 0; }
13364 if { (eval echo configure:13365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13365 rm -rf conftest*
13366 eval "ac_cv_func_$ac_func=yes"
13367 else
13368 echo "configure: failed program was:" >&5
13369 cat conftest.$ac_ext >&5
13370 rm -rf conftest*
13371 eval "ac_cv_func_$ac_func=no"
13373 rm -f conftest*
13376 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13377 echo "$ac_t""yes" 1>&6
13378 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13379 cat >> confdefs.h <<EOF
13380 #define $ac_tr_func 1
13383 else
13384 echo "$ac_t""no" 1>&6
13386 done
13391 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
13392 echo "configure:13393: checking for _ldexpl declaration" >&5
13393 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
13394 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
13395 echo $ac_n "(cached) $ac_c" 1>&6
13396 else
13399 ac_ext=C
13400 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13401 ac_cpp='$CXXCPP $CPPFLAGS'
13402 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13403 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13404 cross_compiling=$ac_cv_prog_cxx_cross
13406 cat > conftest.$ac_ext <<EOF
13407 #line 13408 "configure"
13408 #include "confdefs.h"
13409 #include <math.h>
13410 int main() {
13411 _ldexpl(0, 0);
13412 ; return 0; }
13414 if { (eval echo configure:13415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13415 rm -rf conftest*
13416 glibcpp_cv_func__ldexpl_use=yes
13417 else
13418 echo "configure: failed program was:" >&5
13419 cat conftest.$ac_ext >&5
13420 rm -rf conftest*
13421 glibcpp_cv_func__ldexpl_use=no
13423 rm -f conftest*
13424 ac_ext=c
13425 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13426 ac_cpp='$CPP $CPPFLAGS'
13427 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13428 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13429 cross_compiling=$ac_cv_prog_cc_cross
13435 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
13436 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
13437 for ac_func in _ldexpl
13439 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13440 echo "configure:13441: checking for $ac_func" >&5
13441 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13442 echo $ac_n "(cached) $ac_c" 1>&6
13443 else
13444 cat > conftest.$ac_ext <<EOF
13445 #line 13446 "configure"
13446 #include "confdefs.h"
13447 /* System header to define __stub macros and hopefully few prototypes,
13448 which can conflict with char $ac_func(); below. */
13449 #include <assert.h>
13450 /* Override any gcc2 internal prototype to avoid an error. */
13451 /* We use char because int might match the return type of a gcc2
13452 builtin and then its argument prototype would still apply. */
13453 char $ac_func();
13455 int main() {
13457 /* The GNU C library defines this for functions which it implements
13458 to always fail with ENOSYS. Some functions are actually named
13459 something starting with __ and the normal name is an alias. */
13460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13461 choke me
13462 #else
13463 $ac_func();
13464 #endif
13466 ; return 0; }
13468 if { (eval echo configure:13469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13469 rm -rf conftest*
13470 eval "ac_cv_func_$ac_func=yes"
13471 else
13472 echo "configure: failed program was:" >&5
13473 cat conftest.$ac_ext >&5
13474 rm -rf conftest*
13475 eval "ac_cv_func_$ac_func=no"
13477 rm -f conftest*
13480 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13481 echo "$ac_t""yes" 1>&6
13482 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13483 cat >> confdefs.h <<EOF
13484 #define $ac_tr_func 1
13487 else
13488 echo "$ac_t""no" 1>&6
13490 done
13495 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
13496 echo "configure:13497: checking for _logl declaration" >&5
13497 if test x${glibcpp_cv_func__logl_use+set} != xset; then
13498 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
13499 echo $ac_n "(cached) $ac_c" 1>&6
13500 else
13503 ac_ext=C
13504 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13505 ac_cpp='$CXXCPP $CPPFLAGS'
13506 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13507 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13508 cross_compiling=$ac_cv_prog_cxx_cross
13510 cat > conftest.$ac_ext <<EOF
13511 #line 13512 "configure"
13512 #include "confdefs.h"
13513 #include <math.h>
13514 int main() {
13515 _logl(0);
13516 ; return 0; }
13518 if { (eval echo configure:13519: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13519 rm -rf conftest*
13520 glibcpp_cv_func__logl_use=yes
13521 else
13522 echo "configure: failed program was:" >&5
13523 cat conftest.$ac_ext >&5
13524 rm -rf conftest*
13525 glibcpp_cv_func__logl_use=no
13527 rm -f conftest*
13528 ac_ext=c
13529 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13530 ac_cpp='$CPP $CPPFLAGS'
13531 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13532 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13533 cross_compiling=$ac_cv_prog_cc_cross
13539 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
13540 if test x$glibcpp_cv_func__logl_use = x"yes"; then
13541 for ac_func in _logl
13543 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13544 echo "configure:13545: checking for $ac_func" >&5
13545 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13546 echo $ac_n "(cached) $ac_c" 1>&6
13547 else
13548 cat > conftest.$ac_ext <<EOF
13549 #line 13550 "configure"
13550 #include "confdefs.h"
13551 /* System header to define __stub macros and hopefully few prototypes,
13552 which can conflict with char $ac_func(); below. */
13553 #include <assert.h>
13554 /* Override any gcc2 internal prototype to avoid an error. */
13555 /* We use char because int might match the return type of a gcc2
13556 builtin and then its argument prototype would still apply. */
13557 char $ac_func();
13559 int main() {
13561 /* The GNU C library defines this for functions which it implements
13562 to always fail with ENOSYS. Some functions are actually named
13563 something starting with __ and the normal name is an alias. */
13564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13565 choke me
13566 #else
13567 $ac_func();
13568 #endif
13570 ; return 0; }
13572 if { (eval echo configure:13573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13573 rm -rf conftest*
13574 eval "ac_cv_func_$ac_func=yes"
13575 else
13576 echo "configure: failed program was:" >&5
13577 cat conftest.$ac_ext >&5
13578 rm -rf conftest*
13579 eval "ac_cv_func_$ac_func=no"
13581 rm -f conftest*
13584 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13585 echo "$ac_t""yes" 1>&6
13586 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13587 cat >> confdefs.h <<EOF
13588 #define $ac_tr_func 1
13591 else
13592 echo "$ac_t""no" 1>&6
13594 done
13599 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
13600 echo "configure:13601: checking for _log10l declaration" >&5
13601 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
13602 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
13603 echo $ac_n "(cached) $ac_c" 1>&6
13604 else
13607 ac_ext=C
13608 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13609 ac_cpp='$CXXCPP $CPPFLAGS'
13610 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13611 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13612 cross_compiling=$ac_cv_prog_cxx_cross
13614 cat > conftest.$ac_ext <<EOF
13615 #line 13616 "configure"
13616 #include "confdefs.h"
13617 #include <math.h>
13618 int main() {
13619 _log10l(0);
13620 ; return 0; }
13622 if { (eval echo configure:13623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13623 rm -rf conftest*
13624 glibcpp_cv_func__log10l_use=yes
13625 else
13626 echo "configure: failed program was:" >&5
13627 cat conftest.$ac_ext >&5
13628 rm -rf conftest*
13629 glibcpp_cv_func__log10l_use=no
13631 rm -f conftest*
13632 ac_ext=c
13633 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13634 ac_cpp='$CPP $CPPFLAGS'
13635 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13636 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13637 cross_compiling=$ac_cv_prog_cc_cross
13643 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
13644 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
13645 for ac_func in _log10l
13647 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13648 echo "configure:13649: checking for $ac_func" >&5
13649 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13650 echo $ac_n "(cached) $ac_c" 1>&6
13651 else
13652 cat > conftest.$ac_ext <<EOF
13653 #line 13654 "configure"
13654 #include "confdefs.h"
13655 /* System header to define __stub macros and hopefully few prototypes,
13656 which can conflict with char $ac_func(); below. */
13657 #include <assert.h>
13658 /* Override any gcc2 internal prototype to avoid an error. */
13659 /* We use char because int might match the return type of a gcc2
13660 builtin and then its argument prototype would still apply. */
13661 char $ac_func();
13663 int main() {
13665 /* The GNU C library defines this for functions which it implements
13666 to always fail with ENOSYS. Some functions are actually named
13667 something starting with __ and the normal name is an alias. */
13668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13669 choke me
13670 #else
13671 $ac_func();
13672 #endif
13674 ; return 0; }
13676 if { (eval echo configure:13677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13677 rm -rf conftest*
13678 eval "ac_cv_func_$ac_func=yes"
13679 else
13680 echo "configure: failed program was:" >&5
13681 cat conftest.$ac_ext >&5
13682 rm -rf conftest*
13683 eval "ac_cv_func_$ac_func=no"
13685 rm -f conftest*
13688 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13689 echo "$ac_t""yes" 1>&6
13690 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13691 cat >> confdefs.h <<EOF
13692 #define $ac_tr_func 1
13695 else
13696 echo "$ac_t""no" 1>&6
13698 done
13703 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
13704 echo "configure:13705: checking for _modfl declaration" >&5
13705 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
13706 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
13707 echo $ac_n "(cached) $ac_c" 1>&6
13708 else
13711 ac_ext=C
13712 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13713 ac_cpp='$CXXCPP $CPPFLAGS'
13714 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13715 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13716 cross_compiling=$ac_cv_prog_cxx_cross
13718 cat > conftest.$ac_ext <<EOF
13719 #line 13720 "configure"
13720 #include "confdefs.h"
13721 #include <math.h>
13722 int main() {
13723 _modfl(0, 0);
13724 ; return 0; }
13726 if { (eval echo configure:13727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13727 rm -rf conftest*
13728 glibcpp_cv_func__modfl_use=yes
13729 else
13730 echo "configure: failed program was:" >&5
13731 cat conftest.$ac_ext >&5
13732 rm -rf conftest*
13733 glibcpp_cv_func__modfl_use=no
13735 rm -f conftest*
13736 ac_ext=c
13737 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13738 ac_cpp='$CPP $CPPFLAGS'
13739 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13740 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13741 cross_compiling=$ac_cv_prog_cc_cross
13747 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
13748 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
13749 for ac_func in _modfl
13751 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13752 echo "configure:13753: checking for $ac_func" >&5
13753 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13754 echo $ac_n "(cached) $ac_c" 1>&6
13755 else
13756 cat > conftest.$ac_ext <<EOF
13757 #line 13758 "configure"
13758 #include "confdefs.h"
13759 /* System header to define __stub macros and hopefully few prototypes,
13760 which can conflict with char $ac_func(); below. */
13761 #include <assert.h>
13762 /* Override any gcc2 internal prototype to avoid an error. */
13763 /* We use char because int might match the return type of a gcc2
13764 builtin and then its argument prototype would still apply. */
13765 char $ac_func();
13767 int main() {
13769 /* The GNU C library defines this for functions which it implements
13770 to always fail with ENOSYS. Some functions are actually named
13771 something starting with __ and the normal name is an alias. */
13772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13773 choke me
13774 #else
13775 $ac_func();
13776 #endif
13778 ; return 0; }
13780 if { (eval echo configure:13781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13781 rm -rf conftest*
13782 eval "ac_cv_func_$ac_func=yes"
13783 else
13784 echo "configure: failed program was:" >&5
13785 cat conftest.$ac_ext >&5
13786 rm -rf conftest*
13787 eval "ac_cv_func_$ac_func=no"
13789 rm -f conftest*
13792 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13793 echo "$ac_t""yes" 1>&6
13794 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13795 cat >> confdefs.h <<EOF
13796 #define $ac_tr_func 1
13799 else
13800 echo "$ac_t""no" 1>&6
13802 done
13807 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
13808 echo "configure:13809: checking for _powl declaration" >&5
13809 if test x${glibcpp_cv_func__powl_use+set} != xset; then
13810 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
13811 echo $ac_n "(cached) $ac_c" 1>&6
13812 else
13815 ac_ext=C
13816 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13817 ac_cpp='$CXXCPP $CPPFLAGS'
13818 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13819 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13820 cross_compiling=$ac_cv_prog_cxx_cross
13822 cat > conftest.$ac_ext <<EOF
13823 #line 13824 "configure"
13824 #include "confdefs.h"
13825 #include <math.h>
13826 int main() {
13827 _powl(0, 0);
13828 ; return 0; }
13830 if { (eval echo configure:13831: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13831 rm -rf conftest*
13832 glibcpp_cv_func__powl_use=yes
13833 else
13834 echo "configure: failed program was:" >&5
13835 cat conftest.$ac_ext >&5
13836 rm -rf conftest*
13837 glibcpp_cv_func__powl_use=no
13839 rm -f conftest*
13840 ac_ext=c
13841 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13842 ac_cpp='$CPP $CPPFLAGS'
13843 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13844 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13845 cross_compiling=$ac_cv_prog_cc_cross
13851 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
13852 if test x$glibcpp_cv_func__powl_use = x"yes"; then
13853 for ac_func in _powl
13855 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13856 echo "configure:13857: checking for $ac_func" >&5
13857 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13858 echo $ac_n "(cached) $ac_c" 1>&6
13859 else
13860 cat > conftest.$ac_ext <<EOF
13861 #line 13862 "configure"
13862 #include "confdefs.h"
13863 /* System header to define __stub macros and hopefully few prototypes,
13864 which can conflict with char $ac_func(); below. */
13865 #include <assert.h>
13866 /* Override any gcc2 internal prototype to avoid an error. */
13867 /* We use char because int might match the return type of a gcc2
13868 builtin and then its argument prototype would still apply. */
13869 char $ac_func();
13871 int main() {
13873 /* The GNU C library defines this for functions which it implements
13874 to always fail with ENOSYS. Some functions are actually named
13875 something starting with __ and the normal name is an alias. */
13876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13877 choke me
13878 #else
13879 $ac_func();
13880 #endif
13882 ; return 0; }
13884 if { (eval echo configure:13885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13885 rm -rf conftest*
13886 eval "ac_cv_func_$ac_func=yes"
13887 else
13888 echo "configure: failed program was:" >&5
13889 cat conftest.$ac_ext >&5
13890 rm -rf conftest*
13891 eval "ac_cv_func_$ac_func=no"
13893 rm -f conftest*
13896 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13897 echo "$ac_t""yes" 1>&6
13898 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13899 cat >> confdefs.h <<EOF
13900 #define $ac_tr_func 1
13903 else
13904 echo "$ac_t""no" 1>&6
13906 done
13911 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
13912 echo "configure:13913: checking for _sqrtl declaration" >&5
13913 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
13914 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
13915 echo $ac_n "(cached) $ac_c" 1>&6
13916 else
13919 ac_ext=C
13920 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13921 ac_cpp='$CXXCPP $CPPFLAGS'
13922 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13923 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13924 cross_compiling=$ac_cv_prog_cxx_cross
13926 cat > conftest.$ac_ext <<EOF
13927 #line 13928 "configure"
13928 #include "confdefs.h"
13929 #include <math.h>
13930 int main() {
13931 _sqrtl(0);
13932 ; return 0; }
13934 if { (eval echo configure:13935: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13935 rm -rf conftest*
13936 glibcpp_cv_func__sqrtl_use=yes
13937 else
13938 echo "configure: failed program was:" >&5
13939 cat conftest.$ac_ext >&5
13940 rm -rf conftest*
13941 glibcpp_cv_func__sqrtl_use=no
13943 rm -f conftest*
13944 ac_ext=c
13945 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13946 ac_cpp='$CPP $CPPFLAGS'
13947 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13948 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13949 cross_compiling=$ac_cv_prog_cc_cross
13955 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
13956 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
13957 for ac_func in _sqrtl
13959 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13960 echo "configure:13961: checking for $ac_func" >&5
13961 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13962 echo $ac_n "(cached) $ac_c" 1>&6
13963 else
13964 cat > conftest.$ac_ext <<EOF
13965 #line 13966 "configure"
13966 #include "confdefs.h"
13967 /* System header to define __stub macros and hopefully few prototypes,
13968 which can conflict with char $ac_func(); below. */
13969 #include <assert.h>
13970 /* Override any gcc2 internal prototype to avoid an error. */
13971 /* We use char because int might match the return type of a gcc2
13972 builtin and then its argument prototype would still apply. */
13973 char $ac_func();
13975 int main() {
13977 /* The GNU C library defines this for functions which it implements
13978 to always fail with ENOSYS. Some functions are actually named
13979 something starting with __ and the normal name is an alias. */
13980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13981 choke me
13982 #else
13983 $ac_func();
13984 #endif
13986 ; return 0; }
13988 if { (eval echo configure:13989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13989 rm -rf conftest*
13990 eval "ac_cv_func_$ac_func=yes"
13991 else
13992 echo "configure: failed program was:" >&5
13993 cat conftest.$ac_ext >&5
13994 rm -rf conftest*
13995 eval "ac_cv_func_$ac_func=no"
13997 rm -f conftest*
14000 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14001 echo "$ac_t""yes" 1>&6
14002 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14003 cat >> confdefs.h <<EOF
14004 #define $ac_tr_func 1
14007 else
14008 echo "$ac_t""no" 1>&6
14010 done
14015 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
14016 echo "configure:14017: checking for _sincosl declaration" >&5
14017 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
14018 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
14019 echo $ac_n "(cached) $ac_c" 1>&6
14020 else
14023 ac_ext=C
14024 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14025 ac_cpp='$CXXCPP $CPPFLAGS'
14026 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14027 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14028 cross_compiling=$ac_cv_prog_cxx_cross
14030 cat > conftest.$ac_ext <<EOF
14031 #line 14032 "configure"
14032 #include "confdefs.h"
14033 #include <math.h>
14034 int main() {
14035 _sincosl(0, 0, 0);
14036 ; return 0; }
14038 if { (eval echo configure:14039: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14039 rm -rf conftest*
14040 glibcpp_cv_func__sincosl_use=yes
14041 else
14042 echo "configure: failed program was:" >&5
14043 cat conftest.$ac_ext >&5
14044 rm -rf conftest*
14045 glibcpp_cv_func__sincosl_use=no
14047 rm -f conftest*
14048 ac_ext=c
14049 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14050 ac_cpp='$CPP $CPPFLAGS'
14051 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14052 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14053 cross_compiling=$ac_cv_prog_cc_cross
14059 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
14060 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
14061 for ac_func in _sincosl
14063 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14064 echo "configure:14065: checking for $ac_func" >&5
14065 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14066 echo $ac_n "(cached) $ac_c" 1>&6
14067 else
14068 cat > conftest.$ac_ext <<EOF
14069 #line 14070 "configure"
14070 #include "confdefs.h"
14071 /* System header to define __stub macros and hopefully few prototypes,
14072 which can conflict with char $ac_func(); below. */
14073 #include <assert.h>
14074 /* Override any gcc2 internal prototype to avoid an error. */
14075 /* We use char because int might match the return type of a gcc2
14076 builtin and then its argument prototype would still apply. */
14077 char $ac_func();
14079 int main() {
14081 /* The GNU C library defines this for functions which it implements
14082 to always fail with ENOSYS. Some functions are actually named
14083 something starting with __ and the normal name is an alias. */
14084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14085 choke me
14086 #else
14087 $ac_func();
14088 #endif
14090 ; return 0; }
14092 if { (eval echo configure:14093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14093 rm -rf conftest*
14094 eval "ac_cv_func_$ac_func=yes"
14095 else
14096 echo "configure: failed program was:" >&5
14097 cat conftest.$ac_ext >&5
14098 rm -rf conftest*
14099 eval "ac_cv_func_$ac_func=no"
14101 rm -f conftest*
14104 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14105 echo "$ac_t""yes" 1>&6
14106 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14107 cat >> confdefs.h <<EOF
14108 #define $ac_tr_func 1
14111 else
14112 echo "$ac_t""no" 1>&6
14114 done
14119 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
14120 echo "configure:14121: checking for _finitel declaration" >&5
14121 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
14122 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
14123 echo $ac_n "(cached) $ac_c" 1>&6
14124 else
14127 ac_ext=C
14128 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14129 ac_cpp='$CXXCPP $CPPFLAGS'
14130 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14131 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14132 cross_compiling=$ac_cv_prog_cxx_cross
14134 cat > conftest.$ac_ext <<EOF
14135 #line 14136 "configure"
14136 #include "confdefs.h"
14137 #include <math.h>
14138 int main() {
14139 _finitel(0);
14140 ; return 0; }
14142 if { (eval echo configure:14143: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14143 rm -rf conftest*
14144 glibcpp_cv_func__finitel_use=yes
14145 else
14146 echo "configure: failed program was:" >&5
14147 cat conftest.$ac_ext >&5
14148 rm -rf conftest*
14149 glibcpp_cv_func__finitel_use=no
14151 rm -f conftest*
14152 ac_ext=c
14153 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14154 ac_cpp='$CPP $CPPFLAGS'
14155 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14156 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14157 cross_compiling=$ac_cv_prog_cc_cross
14163 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
14164 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
14165 for ac_func in _finitel
14167 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14168 echo "configure:14169: checking for $ac_func" >&5
14169 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14170 echo $ac_n "(cached) $ac_c" 1>&6
14171 else
14172 cat > conftest.$ac_ext <<EOF
14173 #line 14174 "configure"
14174 #include "confdefs.h"
14175 /* System header to define __stub macros and hopefully few prototypes,
14176 which can conflict with char $ac_func(); below. */
14177 #include <assert.h>
14178 /* Override any gcc2 internal prototype to avoid an error. */
14179 /* We use char because int might match the return type of a gcc2
14180 builtin and then its argument prototype would still apply. */
14181 char $ac_func();
14183 int main() {
14185 /* The GNU C library defines this for functions which it implements
14186 to always fail with ENOSYS. Some functions are actually named
14187 something starting with __ and the normal name is an alias. */
14188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14189 choke me
14190 #else
14191 $ac_func();
14192 #endif
14194 ; return 0; }
14196 if { (eval echo configure:14197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14197 rm -rf conftest*
14198 eval "ac_cv_func_$ac_func=yes"
14199 else
14200 echo "configure: failed program was:" >&5
14201 cat conftest.$ac_ext >&5
14202 rm -rf conftest*
14203 eval "ac_cv_func_$ac_func=no"
14205 rm -f conftest*
14208 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14209 echo "$ac_t""yes" 1>&6
14210 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14211 cat >> confdefs.h <<EOF
14212 #define $ac_tr_func 1
14215 else
14216 echo "$ac_t""no" 1>&6
14218 done
14223 LIBS="$ac_save_LIBS"
14224 CXXFLAGS="$ac_save_CXXFLAGS"
14227 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
14228 echo "configure:14229: checking for main in -lm" >&5
14229 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
14230 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14231 echo $ac_n "(cached) $ac_c" 1>&6
14232 else
14233 ac_save_LIBS="$LIBS"
14234 LIBS="-lm $LIBS"
14235 cat > conftest.$ac_ext <<EOF
14236 #line 14237 "configure"
14237 #include "confdefs.h"
14239 int main() {
14240 main()
14241 ; return 0; }
14243 if { (eval echo configure:14244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14244 rm -rf conftest*
14245 eval "ac_cv_lib_$ac_lib_var=yes"
14246 else
14247 echo "configure: failed program was:" >&5
14248 cat conftest.$ac_ext >&5
14249 rm -rf conftest*
14250 eval "ac_cv_lib_$ac_lib_var=no"
14252 rm -f conftest*
14253 LIBS="$ac_save_LIBS"
14256 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14257 echo "$ac_t""yes" 1>&6
14258 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
14259 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
14260 cat >> confdefs.h <<EOF
14261 #define $ac_tr_lib 1
14264 LIBS="-lm $LIBS"
14266 else
14267 echo "$ac_t""no" 1>&6
14270 for ac_func in nan hypot hypotf atan2f expf copysignf
14272 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14273 echo "configure:14274: checking for $ac_func" >&5
14274 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14275 echo $ac_n "(cached) $ac_c" 1>&6
14276 else
14277 cat > conftest.$ac_ext <<EOF
14278 #line 14279 "configure"
14279 #include "confdefs.h"
14280 /* System header to define __stub macros and hopefully few prototypes,
14281 which can conflict with char $ac_func(); below. */
14282 #include <assert.h>
14283 /* Override any gcc2 internal prototype to avoid an error. */
14284 /* We use char because int might match the return type of a gcc2
14285 builtin and then its argument prototype would still apply. */
14286 char $ac_func();
14288 int main() {
14290 /* The GNU C library defines this for functions which it implements
14291 to always fail with ENOSYS. Some functions are actually named
14292 something starting with __ and the normal name is an alias. */
14293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14294 choke me
14295 #else
14296 $ac_func();
14297 #endif
14299 ; return 0; }
14301 if { (eval echo configure:14302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14302 rm -rf conftest*
14303 eval "ac_cv_func_$ac_func=yes"
14304 else
14305 echo "configure: failed program was:" >&5
14306 cat conftest.$ac_ext >&5
14307 rm -rf conftest*
14308 eval "ac_cv_func_$ac_func=no"
14310 rm -f conftest*
14313 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14314 echo "$ac_t""yes" 1>&6
14315 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14316 cat >> confdefs.h <<EOF
14317 #define $ac_tr_func 1
14320 else
14321 echo "$ac_t""no" 1>&6
14322 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
14324 done
14328 USE_COMPLEX_LONG_DOUBLE=no
14329 if test x$ac_cv_func_atan2l = x"yes" \
14330 && test x$ac_cv_func_copysignl = x"yes"; then
14331 USE_COMPLEX_LONG_DOUBLE=yes
14332 for ac_func in hypotl signbitl
14334 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14335 echo "configure:14336: checking for $ac_func" >&5
14336 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14337 echo $ac_n "(cached) $ac_c" 1>&6
14338 else
14339 cat > conftest.$ac_ext <<EOF
14340 #line 14341 "configure"
14341 #include "confdefs.h"
14342 /* System header to define __stub macros and hopefully few prototypes,
14343 which can conflict with char $ac_func(); below. */
14344 #include <assert.h>
14345 /* Override any gcc2 internal prototype to avoid an error. */
14346 /* We use char because int might match the return type of a gcc2
14347 builtin and then its argument prototype would still apply. */
14348 char $ac_func();
14350 int main() {
14352 /* The GNU C library defines this for functions which it implements
14353 to always fail with ENOSYS. Some functions are actually named
14354 something starting with __ and the normal name is an alias. */
14355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14356 choke me
14357 #else
14358 $ac_func();
14359 #endif
14361 ; return 0; }
14363 if { (eval echo configure:14364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14364 rm -rf conftest*
14365 eval "ac_cv_func_$ac_func=yes"
14366 else
14367 echo "configure: failed program was:" >&5
14368 cat conftest.$ac_ext >&5
14369 rm -rf conftest*
14370 eval "ac_cv_func_$ac_func=no"
14372 rm -f conftest*
14375 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14376 echo "$ac_t""yes" 1>&6
14377 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14378 cat >> confdefs.h <<EOF
14379 #define $ac_tr_func 1
14382 else
14383 echo "$ac_t""no" 1>&6
14384 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
14386 done
14396 echo $ac_n "checking for GNU C++ __complex__ support""... $ac_c" 1>&6
14397 echo "configure:14398: checking for GNU C++ __complex__ support" >&5
14398 if eval "test \"`echo '$''{'glibcpp_cv_complex'+set}'`\" = set"; then
14399 echo $ac_n "(cached) $ac_c" 1>&6
14400 else
14403 ac_ext=C
14404 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14405 ac_cpp='$CXXCPP $CPPFLAGS'
14406 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14407 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14408 cross_compiling=$ac_cv_prog_cxx_cross
14410 cat > conftest.$ac_ext <<EOF
14411 #line 14412 "configure"
14412 #include "confdefs.h"
14413 struct dcomplex { __complex__ double x; }; \
14414 dcomplex f(const dcomplex& x) { return dcomplex(x); }
14415 int main() {
14417 dcomplex x; f(x);
14418 ; return 0; }
14420 if { (eval echo configure:14421: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14421 rm -rf conftest*
14422 glibcpp_cv_complex=ok
14423 else
14424 echo "configure: failed program was:" >&5
14425 cat conftest.$ac_ext >&5
14426 rm -rf conftest*
14427 glibcpp_cv_complex=buggy
14430 rm -f conftest*
14431 ac_ext=c
14432 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14433 ac_cpp='$CPP $CPPFLAGS'
14434 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14435 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14436 cross_compiling=$ac_cv_prog_cc_cross
14441 echo "$ac_t""$glibcpp_cv_complex" 1>&6
14442 if test $glibcpp_cv_complex = buggy; then
14443 cat >> confdefs.h <<\EOF
14444 #define _GLIBCPP_BUGGY_COMPLEX 1
14449 echo $ac_n "checking for GNU C++ __complex__ float support""... $ac_c" 1>&6
14450 echo "configure:14451: checking for GNU C++ __complex__ float support" >&5
14451 if eval "test \"`echo '$''{'glibcpp_cv_float_complex'+set}'`\" = set"; then
14452 echo $ac_n "(cached) $ac_c" 1>&6
14453 else
14456 ac_ext=C
14457 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14458 ac_cpp='$CXXCPP $CPPFLAGS'
14459 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14460 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14461 cross_compiling=$ac_cv_prog_cxx_cross
14463 rm -f conftest.h
14464 cat > conftest.h <<EOB
14466 // Check for buggy __complex__ that causes ICE in most versions of egcs
14467 // and gcc-2.95.x on certain platforms (eg., x86-win32).
14469 // See http://gcc.gnu.org/ml/gcc-bugs/1999-07n/msg00845.html for
14470 // more info on the bug itself.
14472 struct
14473 float_complex
14475 __complex__ float m_value;
14476 float_complex (float = 0.0f, float = 0.0f);
14477 float_complex (__complex__ float val) : m_value (val) {}
14478 float_complex foo (const float_complex &val)
14479 { return float_complex (~val.m_value); }
14482 cat > conftest.$ac_ext <<EOF
14483 #line 14484 "configure"
14484 #include "confdefs.h"
14485 #include "conftest.h"
14486 int main() {
14488 ; return 0; }
14490 if { (eval echo configure:14491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14491 rm -rf conftest*
14492 glibcpp_cv_float_complex=ok
14493 else
14494 echo "configure: failed program was:" >&5
14495 cat conftest.$ac_ext >&5
14496 rm -rf conftest*
14497 glibcpp_cv_float_complex=buggy
14500 rm -f conftest*
14501 ac_ext=c
14502 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14503 ac_cpp='$CPP $CPPFLAGS'
14504 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14505 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14506 cross_compiling=$ac_cv_prog_cc_cross
14511 echo "$ac_t""$glibcpp_cv_float_complex" 1>&6
14512 if test $glibcpp_cv_float_complex = buggy; then
14513 cat >> confdefs.h <<\EOF
14514 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
14521 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
14522 echo "configure:14523: checking for mbstate_t" >&5
14523 cat > conftest.$ac_ext <<EOF
14524 #line 14525 "configure"
14525 #include "confdefs.h"
14526 #include <wchar.h>
14527 int main() {
14528 mbstate_t teststate;
14529 ; return 0; }
14531 if { (eval echo configure:14532: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14532 rm -rf conftest*
14533 have_mbstate_t=yes
14534 else
14535 echo "configure: failed program was:" >&5
14536 cat conftest.$ac_ext >&5
14537 rm -rf conftest*
14538 have_mbstate_t=no
14540 rm -f conftest*
14541 echo "$ac_t""$have_mbstate_t" 1>&6
14542 if test x"$have_mbstate_t" = xyes; then
14543 cat >> confdefs.h <<\EOF
14544 #define HAVE_MBSTATE_T 1
14549 for ac_hdr in wchar.h
14551 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14552 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14553 echo "configure:14554: checking for $ac_hdr" >&5
14554 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14555 echo $ac_n "(cached) $ac_c" 1>&6
14556 else
14557 cat > conftest.$ac_ext <<EOF
14558 #line 14559 "configure"
14559 #include "confdefs.h"
14560 #include <$ac_hdr>
14562 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14563 { (eval echo configure:14564: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14564 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14565 if test -z "$ac_err"; then
14566 rm -rf conftest*
14567 eval "ac_cv_header_$ac_safe=yes"
14568 else
14569 echo "$ac_err" >&5
14570 echo "configure: failed program was:" >&5
14571 cat conftest.$ac_ext >&5
14572 rm -rf conftest*
14573 eval "ac_cv_header_$ac_safe=no"
14575 rm -f conftest*
14577 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14578 echo "$ac_t""yes" 1>&6
14579 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14580 cat >> confdefs.h <<EOF
14581 #define $ac_tr_hdr 1
14583 ac_has_wchar_h=yes
14584 else
14585 echo "$ac_t""no" 1>&6
14586 ac_has_wchar_h=no
14588 done
14590 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
14591 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
14592 echo "configure:14593: checking for wctype.h" >&5
14593 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14594 echo $ac_n "(cached) $ac_c" 1>&6
14595 else
14596 cat > conftest.$ac_ext <<EOF
14597 #line 14598 "configure"
14598 #include "confdefs.h"
14599 #include <wctype.h>
14601 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14602 { (eval echo configure:14603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14603 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14604 if test -z "$ac_err"; then
14605 rm -rf conftest*
14606 eval "ac_cv_header_$ac_safe=yes"
14607 else
14608 echo "$ac_err" >&5
14609 echo "configure: failed program was:" >&5
14610 cat conftest.$ac_ext >&5
14611 rm -rf conftest*
14612 eval "ac_cv_header_$ac_safe=no"
14614 rm -f conftest*
14616 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14617 echo "$ac_t""yes" 1>&6
14618 ac_has_wctype_h=yes
14619 else
14620 echo "$ac_t""no" 1>&6
14621 ac_has_wctype_h=no
14625 if test x"$ac_has_wchar_h" = xyes && test x"$ac_has_wctype_h" = xyes \
14626 && test x"$enable_c_mbchar" != xno; then
14628 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
14629 echo "configure:14630: checking for WCHAR_MIN and WCHAR_MAX" >&5
14630 cat > conftest.$ac_ext <<EOF
14631 #line 14632 "configure"
14632 #include "confdefs.h"
14633 #include <wchar.h>
14634 int main() {
14635 int i = WCHAR_MIN; int j = WCHAR_MAX;
14636 ; return 0; }
14638 if { (eval echo configure:14639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14639 rm -rf conftest*
14640 has_wchar_minmax=yes
14641 else
14642 echo "configure: failed program was:" >&5
14643 cat conftest.$ac_ext >&5
14644 rm -rf conftest*
14645 has_wchar_minmax=no
14647 rm -f conftest*
14648 echo "$ac_t""$has_wchar_minmax" 1>&6
14650 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
14651 echo "configure:14652: checking for WEOF" >&5
14652 cat > conftest.$ac_ext <<EOF
14653 #line 14654 "configure"
14654 #include "confdefs.h"
14656 #include <wchar.h>
14657 #include <stddef.h>
14658 int main() {
14659 wint_t i = WEOF;
14660 ; return 0; }
14662 if { (eval echo configure:14663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14663 rm -rf conftest*
14664 has_weof=yes
14665 else
14666 echo "configure: failed program was:" >&5
14667 cat conftest.$ac_ext >&5
14668 rm -rf conftest*
14669 has_weof=no
14671 rm -f conftest*
14672 echo "$ac_t""$has_weof" 1>&6
14674 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset \
14675 wcsrtombs mbsrtowcs
14677 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14678 echo "configure:14679: checking for $ac_func" >&5
14679 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14680 echo $ac_n "(cached) $ac_c" 1>&6
14681 else
14682 cat > conftest.$ac_ext <<EOF
14683 #line 14684 "configure"
14684 #include "confdefs.h"
14685 /* System header to define __stub macros and hopefully few prototypes,
14686 which can conflict with char $ac_func(); below. */
14687 #include <assert.h>
14688 /* Override any gcc2 internal prototype to avoid an error. */
14689 /* We use char because int might match the return type of a gcc2
14690 builtin and then its argument prototype would still apply. */
14691 char $ac_func();
14693 int main() {
14695 /* The GNU C library defines this for functions which it implements
14696 to always fail with ENOSYS. Some functions are actually named
14697 something starting with __ and the normal name is an alias. */
14698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14699 choke me
14700 #else
14701 $ac_func();
14702 #endif
14704 ; return 0; }
14706 if { (eval echo configure:14707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14707 rm -rf conftest*
14708 eval "ac_cv_func_$ac_func=yes"
14709 else
14710 echo "configure: failed program was:" >&5
14711 cat conftest.$ac_ext >&5
14712 rm -rf conftest*
14713 eval "ac_cv_func_$ac_func=no"
14715 rm -f conftest*
14718 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14719 echo "$ac_t""yes" 1>&6
14720 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14721 cat >> confdefs.h <<EOF
14722 #define $ac_tr_func 1
14724 ac_wfuncs=yes
14725 else
14726 echo "$ac_t""no" 1>&6
14727 ac_wfuncs=no
14729 done
14732 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
14733 echo "configure:14734: checking for ISO C99 wchar_t support" >&5
14734 if test x"$has_weof" = xyes && test x"$has_wchar_minmax" = xyes \
14735 && test x"$ac_wfuncs" = xyes; then
14736 ac_isoC99_wchar_t=yes
14737 else
14738 ac_isoC99_wchar_t=no
14740 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
14742 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
14743 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
14744 echo "configure:14745: checking for iconv.h" >&5
14745 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14746 echo $ac_n "(cached) $ac_c" 1>&6
14747 else
14748 cat > conftest.$ac_ext <<EOF
14749 #line 14750 "configure"
14750 #include "confdefs.h"
14751 #include <iconv.h>
14753 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14754 { (eval echo configure:14755: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14755 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14756 if test -z "$ac_err"; then
14757 rm -rf conftest*
14758 eval "ac_cv_header_$ac_safe=yes"
14759 else
14760 echo "$ac_err" >&5
14761 echo "configure: failed program was:" >&5
14762 cat conftest.$ac_ext >&5
14763 rm -rf conftest*
14764 eval "ac_cv_header_$ac_safe=no"
14766 rm -f conftest*
14768 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14769 echo "$ac_t""yes" 1>&6
14770 ac_has_iconv_h=yes
14771 else
14772 echo "$ac_t""no" 1>&6
14773 ac_has_iconv_h=no
14776 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
14777 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
14778 echo "configure:14779: checking for langinfo.h" >&5
14779 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14780 echo $ac_n "(cached) $ac_c" 1>&6
14781 else
14782 cat > conftest.$ac_ext <<EOF
14783 #line 14784 "configure"
14784 #include "confdefs.h"
14785 #include <langinfo.h>
14787 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14788 { (eval echo configure:14789: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14789 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14790 if test -z "$ac_err"; then
14791 rm -rf conftest*
14792 eval "ac_cv_header_$ac_safe=yes"
14793 else
14794 echo "$ac_err" >&5
14795 echo "configure: failed program was:" >&5
14796 cat conftest.$ac_ext >&5
14797 rm -rf conftest*
14798 eval "ac_cv_header_$ac_safe=no"
14800 rm -f conftest*
14802 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14803 echo "$ac_t""yes" 1>&6
14804 ac_has_langinfo_h=yes
14805 else
14806 echo "$ac_t""no" 1>&6
14807 ac_has_langinfo_h=no
14811 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
14812 echo "configure:14813: checking for iconv in -liconv" >&5
14813 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
14814 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14815 echo $ac_n "(cached) $ac_c" 1>&6
14816 else
14817 ac_save_LIBS="$LIBS"
14818 LIBS="-liconv $LIBS"
14819 cat > conftest.$ac_ext <<EOF
14820 #line 14821 "configure"
14821 #include "confdefs.h"
14822 /* Override any gcc2 internal prototype to avoid an error. */
14823 /* We use char because int might match the return type of a gcc2
14824 builtin and then its argument prototype would still apply. */
14825 char iconv();
14827 int main() {
14828 iconv()
14829 ; return 0; }
14831 if { (eval echo configure:14832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14832 rm -rf conftest*
14833 eval "ac_cv_lib_$ac_lib_var=yes"
14834 else
14835 echo "configure: failed program was:" >&5
14836 cat conftest.$ac_ext >&5
14837 rm -rf conftest*
14838 eval "ac_cv_lib_$ac_lib_var=no"
14840 rm -f conftest*
14841 LIBS="$ac_save_LIBS"
14844 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14845 echo "$ac_t""yes" 1>&6
14846 libiconv="-liconv"
14847 else
14848 echo "$ac_t""no" 1>&6
14851 ac_save_LIBS="$LIBS"
14852 LIBS="$LIBS $libiconv"
14854 for ac_func in iconv_open iconv_close iconv nl_langinfo
14856 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14857 echo "configure:14858: checking for $ac_func" >&5
14858 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14859 echo $ac_n "(cached) $ac_c" 1>&6
14860 else
14861 cat > conftest.$ac_ext <<EOF
14862 #line 14863 "configure"
14863 #include "confdefs.h"
14864 /* System header to define __stub macros and hopefully few prototypes,
14865 which can conflict with char $ac_func(); below. */
14866 #include <assert.h>
14867 /* Override any gcc2 internal prototype to avoid an error. */
14868 /* We use char because int might match the return type of a gcc2
14869 builtin and then its argument prototype would still apply. */
14870 char $ac_func();
14872 int main() {
14874 /* The GNU C library defines this for functions which it implements
14875 to always fail with ENOSYS. Some functions are actually named
14876 something starting with __ and the normal name is an alias. */
14877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14878 choke me
14879 #else
14880 $ac_func();
14881 #endif
14883 ; return 0; }
14885 if { (eval echo configure:14886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14886 rm -rf conftest*
14887 eval "ac_cv_func_$ac_func=yes"
14888 else
14889 echo "configure: failed program was:" >&5
14890 cat conftest.$ac_ext >&5
14891 rm -rf conftest*
14892 eval "ac_cv_func_$ac_func=no"
14894 rm -f conftest*
14897 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14898 echo "$ac_t""yes" 1>&6
14899 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14900 cat >> confdefs.h <<EOF
14901 #define $ac_tr_func 1
14904 ac_XPG2funcs=yes
14905 else
14906 echo "$ac_t""no" 1>&6
14907 ac_XPG2funcs=no
14909 done
14912 LIBS="$ac_save_LIBS"
14914 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
14915 echo "configure:14916: checking for XPG2 wchar_t support" >&5
14916 if test x"$ac_has_iconv_h" = xyes && test x"$ac_has_langinfo_h" = xyes \
14917 && test x"$ac_XPG2funcs" = xyes; then
14918 ac_XPG2_wchar_t=yes
14919 else
14920 ac_XPG2_wchar_t=no
14922 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
14924 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
14925 echo "configure:14926: checking for enabled wchar_t specializations" >&5
14926 if test x"$ac_isoC99_wchar_t" = xyes \
14927 && test x"$ac_XPG2_wchar_t" = xyes; then
14928 libinst_wstring_la="libinst-wstring.la"
14929 cat >> confdefs.h <<\EOF
14930 #define _GLIBCPP_USE_WCHAR_T 1
14933 echo "$ac_t"""yes"" 1>&6
14934 else
14935 libinst_wstring_la=""
14936 echo "$ac_t"""no"" 1>&6
14940 else
14941 echo "configure: warning: wchar_t support disabled." 1>&2
14945 ac_test_CXXFLAGS="${CXXFLAGS+set}"
14946 ac_save_CXXFLAGS="$CXXFLAGS"
14947 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
14949 for ac_func in strtof
14951 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14952 echo "configure:14953: checking for $ac_func" >&5
14953 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14954 echo $ac_n "(cached) $ac_c" 1>&6
14955 else
14956 cat > conftest.$ac_ext <<EOF
14957 #line 14958 "configure"
14958 #include "confdefs.h"
14959 /* System header to define __stub macros and hopefully few prototypes,
14960 which can conflict with char $ac_func(); below. */
14961 #include <assert.h>
14962 /* Override any gcc2 internal prototype to avoid an error. */
14963 /* We use char because int might match the return type of a gcc2
14964 builtin and then its argument prototype would still apply. */
14965 char $ac_func();
14967 int main() {
14969 /* The GNU C library defines this for functions which it implements
14970 to always fail with ENOSYS. Some functions are actually named
14971 something starting with __ and the normal name is an alias. */
14972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14973 choke me
14974 #else
14975 $ac_func();
14976 #endif
14978 ; return 0; }
14980 if { (eval echo configure:14981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14981 rm -rf conftest*
14982 eval "ac_cv_func_$ac_func=yes"
14983 else
14984 echo "configure: failed program was:" >&5
14985 cat conftest.$ac_ext >&5
14986 rm -rf conftest*
14987 eval "ac_cv_func_$ac_func=no"
14989 rm -f conftest*
14992 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14993 echo "$ac_t""yes" 1>&6
14994 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14995 cat >> confdefs.h <<EOF
14996 #define $ac_tr_func 1
14999 else
15000 echo "$ac_t""no" 1>&6
15002 done
15005 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
15006 echo "configure:15007: checking for strtold declaration" >&5
15007 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
15008 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
15009 echo $ac_n "(cached) $ac_c" 1>&6
15010 else
15013 ac_ext=C
15014 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15015 ac_cpp='$CXXCPP $CPPFLAGS'
15016 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15017 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15018 cross_compiling=$ac_cv_prog_cxx_cross
15020 cat > conftest.$ac_ext <<EOF
15021 #line 15022 "configure"
15022 #include "confdefs.h"
15023 #include <stdlib.h>
15024 int main() {
15025 strtold(0, 0);
15026 ; return 0; }
15028 if { (eval echo configure:15029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15029 rm -rf conftest*
15030 glibcpp_cv_func_strtold_use=yes
15031 else
15032 echo "configure: failed program was:" >&5
15033 cat conftest.$ac_ext >&5
15034 rm -rf conftest*
15035 glibcpp_cv_func_strtold_use=no
15037 rm -f conftest*
15038 ac_ext=c
15039 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15040 ac_cpp='$CPP $CPPFLAGS'
15041 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15042 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15043 cross_compiling=$ac_cv_prog_cc_cross
15049 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
15050 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
15051 for ac_func in strtold
15053 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15054 echo "configure:15055: checking for $ac_func" >&5
15055 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15056 echo $ac_n "(cached) $ac_c" 1>&6
15057 else
15058 cat > conftest.$ac_ext <<EOF
15059 #line 15060 "configure"
15060 #include "confdefs.h"
15061 /* System header to define __stub macros and hopefully few prototypes,
15062 which can conflict with char $ac_func(); below. */
15063 #include <assert.h>
15064 /* Override any gcc2 internal prototype to avoid an error. */
15065 /* We use char because int might match the return type of a gcc2
15066 builtin and then its argument prototype would still apply. */
15067 char $ac_func();
15069 int main() {
15071 /* The GNU C library defines this for functions which it implements
15072 to always fail with ENOSYS. Some functions are actually named
15073 something starting with __ and the normal name is an alias. */
15074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15075 choke me
15076 #else
15077 $ac_func();
15078 #endif
15080 ; return 0; }
15082 if { (eval echo configure:15083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15083 rm -rf conftest*
15084 eval "ac_cv_func_$ac_func=yes"
15085 else
15086 echo "configure: failed program was:" >&5
15087 cat conftest.$ac_ext >&5
15088 rm -rf conftest*
15089 eval "ac_cv_func_$ac_func=no"
15091 rm -f conftest*
15094 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15095 echo "$ac_t""yes" 1>&6
15096 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15097 cat >> confdefs.h <<EOF
15098 #define $ac_tr_func 1
15101 else
15102 echo "$ac_t""no" 1>&6
15104 done
15109 CXXFLAGS="$ac_save_CXXFLAGS"
15112 for ac_hdr in unistd.h
15114 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15115 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15116 echo "configure:15117: checking for $ac_hdr" >&5
15117 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+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 #include <$ac_hdr>
15125 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15126 { (eval echo configure:15127: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15127 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15128 if test -z "$ac_err"; then
15129 rm -rf conftest*
15130 eval "ac_cv_header_$ac_safe=yes"
15131 else
15132 echo "$ac_err" >&5
15133 echo "configure: failed program was:" >&5
15134 cat conftest.$ac_ext >&5
15135 rm -rf conftest*
15136 eval "ac_cv_header_$ac_safe=no"
15138 rm -f conftest*
15140 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15141 echo "$ac_t""yes" 1>&6
15142 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15143 cat >> confdefs.h <<EOF
15144 #define $ac_tr_hdr 1
15147 else
15148 echo "$ac_t""no" 1>&6
15150 done
15152 for ac_func in getpagesize
15154 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15155 echo "configure:15156: checking for $ac_func" >&5
15156 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15157 echo $ac_n "(cached) $ac_c" 1>&6
15158 else
15159 cat > conftest.$ac_ext <<EOF
15160 #line 15161 "configure"
15161 #include "confdefs.h"
15162 /* System header to define __stub macros and hopefully few prototypes,
15163 which can conflict with char $ac_func(); below. */
15164 #include <assert.h>
15165 /* Override any gcc2 internal prototype to avoid an error. */
15166 /* We use char because int might match the return type of a gcc2
15167 builtin and then its argument prototype would still apply. */
15168 char $ac_func();
15170 int main() {
15172 /* The GNU C library defines this for functions which it implements
15173 to always fail with ENOSYS. Some functions are actually named
15174 something starting with __ and the normal name is an alias. */
15175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15176 choke me
15177 #else
15178 $ac_func();
15179 #endif
15181 ; return 0; }
15183 if { (eval echo configure:15184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15184 rm -rf conftest*
15185 eval "ac_cv_func_$ac_func=yes"
15186 else
15187 echo "configure: failed program was:" >&5
15188 cat conftest.$ac_ext >&5
15189 rm -rf conftest*
15190 eval "ac_cv_func_$ac_func=no"
15192 rm -f conftest*
15195 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15196 echo "$ac_t""yes" 1>&6
15197 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15198 cat >> confdefs.h <<EOF
15199 #define $ac_tr_func 1
15202 else
15203 echo "$ac_t""no" 1>&6
15205 done
15207 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
15208 echo "configure:15209: checking for working mmap" >&5
15209 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
15210 echo $ac_n "(cached) $ac_c" 1>&6
15211 else
15212 if test "$cross_compiling" = yes; then
15213 ac_cv_func_mmap_fixed_mapped=no
15214 else
15215 cat > conftest.$ac_ext <<EOF
15216 #line 15217 "configure"
15217 #include "confdefs.h"
15219 /* Thanks to Mike Haertel and Jim Avera for this test.
15220 Here is a matrix of mmap possibilities:
15221 mmap private not fixed
15222 mmap private fixed at somewhere currently unmapped
15223 mmap private fixed at somewhere already mapped
15224 mmap shared not fixed
15225 mmap shared fixed at somewhere currently unmapped
15226 mmap shared fixed at somewhere already mapped
15227 For private mappings, we should verify that changes cannot be read()
15228 back from the file, nor mmap's back from the file at a different
15229 address. (There have been systems where private was not correctly
15230 implemented like the infamous i386 svr4.0, and systems where the
15231 VM page cache was not coherent with the filesystem buffer cache
15232 like early versions of FreeBSD and possibly contemporary NetBSD.)
15233 For shared mappings, we should conversely verify that changes get
15234 propogated back to all the places they're supposed to be.
15236 Grep wants private fixed already mapped.
15237 The main things grep needs to know about mmap are:
15238 * does it exist and is it safe to write into the mmap'd area
15239 * how to use it (BSD variants) */
15240 #include <sys/types.h>
15241 #include <fcntl.h>
15242 #include <sys/mman.h>
15244 /* This mess was copied from the GNU getpagesize.h. */
15245 #ifndef HAVE_GETPAGESIZE
15246 # ifdef HAVE_UNISTD_H
15247 # include <unistd.h>
15248 # endif
15250 /* Assume that all systems that can run configure have sys/param.h. */
15251 # ifndef HAVE_SYS_PARAM_H
15252 # define HAVE_SYS_PARAM_H 1
15253 # endif
15255 # ifdef _SC_PAGESIZE
15256 # define getpagesize() sysconf(_SC_PAGESIZE)
15257 # else /* no _SC_PAGESIZE */
15258 # ifdef HAVE_SYS_PARAM_H
15259 # include <sys/param.h>
15260 # ifdef EXEC_PAGESIZE
15261 # define getpagesize() EXEC_PAGESIZE
15262 # else /* no EXEC_PAGESIZE */
15263 # ifdef NBPG
15264 # define getpagesize() NBPG * CLSIZE
15265 # ifndef CLSIZE
15266 # define CLSIZE 1
15267 # endif /* no CLSIZE */
15268 # else /* no NBPG */
15269 # ifdef NBPC
15270 # define getpagesize() NBPC
15271 # else /* no NBPC */
15272 # ifdef PAGESIZE
15273 # define getpagesize() PAGESIZE
15274 # endif /* PAGESIZE */
15275 # endif /* no NBPC */
15276 # endif /* no NBPG */
15277 # endif /* no EXEC_PAGESIZE */
15278 # else /* no HAVE_SYS_PARAM_H */
15279 # define getpagesize() 8192 /* punt totally */
15280 # endif /* no HAVE_SYS_PARAM_H */
15281 # endif /* no _SC_PAGESIZE */
15283 #endif /* no HAVE_GETPAGESIZE */
15285 #ifdef __cplusplus
15286 extern "C" { void *malloc(unsigned); }
15287 #else
15288 char *malloc();
15289 #endif
15292 main()
15294 char *data, *data2, *data3;
15295 int i, pagesize;
15296 int fd;
15298 pagesize = getpagesize();
15301 * First, make a file with some known garbage in it.
15303 data = malloc(pagesize);
15304 if (!data)
15305 exit(1);
15306 for (i = 0; i < pagesize; ++i)
15307 *(data + i) = rand();
15308 umask(0);
15309 fd = creat("conftestmmap", 0600);
15310 if (fd < 0)
15311 exit(1);
15312 if (write(fd, data, pagesize) != pagesize)
15313 exit(1);
15314 close(fd);
15317 * Next, try to mmap the file at a fixed address which
15318 * already has something else allocated at it. If we can,
15319 * also make sure that we see the same garbage.
15321 fd = open("conftestmmap", O_RDWR);
15322 if (fd < 0)
15323 exit(1);
15324 data2 = malloc(2 * pagesize);
15325 if (!data2)
15326 exit(1);
15327 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
15328 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
15329 MAP_PRIVATE | MAP_FIXED, fd, 0L))
15330 exit(1);
15331 for (i = 0; i < pagesize; ++i)
15332 if (*(data + i) != *(data2 + i))
15333 exit(1);
15336 * Finally, make sure that changes to the mapped area
15337 * do not percolate back to the file as seen by read().
15338 * (This is a bug on some variants of i386 svr4.0.)
15340 for (i = 0; i < pagesize; ++i)
15341 *(data2 + i) = *(data2 + i) + 1;
15342 data3 = malloc(pagesize);
15343 if (!data3)
15344 exit(1);
15345 if (read(fd, data3, pagesize) != pagesize)
15346 exit(1);
15347 for (i = 0; i < pagesize; ++i)
15348 if (*(data + i) != *(data3 + i))
15349 exit(1);
15350 close(fd);
15351 unlink("conftestmmap");
15352 exit(0);
15356 if { (eval echo configure:15357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
15357 then
15358 ac_cv_func_mmap_fixed_mapped=yes
15359 else
15360 echo "configure: failed program was:" >&5
15361 cat conftest.$ac_ext >&5
15362 rm -fr conftest*
15363 ac_cv_func_mmap_fixed_mapped=no
15365 rm -fr conftest*
15370 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
15371 if test $ac_cv_func_mmap_fixed_mapped = yes; then
15372 cat >> confdefs.h <<\EOF
15373 #define HAVE_MMAP 1
15380 # Now that ctype is determined for all possible targets, we can do this...
15388 if test "$NULL_TARGET" = yes; then
15389 NULL_TARGET_TRUE=
15390 NULL_TARGET_FALSE='#'
15391 else
15392 NULL_TARGET_TRUE='#'
15393 NULL_TARGET_FALSE=
15397 if test "$NATIVE" = yes || test "$NULL_TARGET" = yes; then
15398 NATIVE_TRUE=
15399 NATIVE_FALSE='#'
15400 else
15401 NATIVE_TRUE='#'
15402 NATIVE_FALSE=
15406 if test -z "$with_cross_host"; then
15407 USE_LIBDIR_TRUE=
15408 USE_LIBDIR_FALSE='#'
15409 else
15410 USE_LIBDIR_TRUE='#'
15411 USE_LIBDIR_FALSE=
15415 if test "$CANADIAN" = yes; then
15416 CANADIAN_TRUE=
15417 CANADIAN_FALSE='#'
15418 else
15419 CANADIAN_TRUE='#'
15420 CANADIAN_FALSE=
15423 cat > confcache <<\EOF
15424 # This file is a shell script that caches the results of configure
15425 # tests run on this system so they can be shared between configure
15426 # scripts and configure runs. It is not useful on other systems.
15427 # If it contains results you don't want to keep, you may remove or edit it.
15429 # By default, configure uses ./config.cache as the cache file,
15430 # creating it if it does not exist already. You can give configure
15431 # the --cache-file=FILE option to use a different cache file; that is
15432 # what configure does when it calls configure scripts in
15433 # subdirectories, so they share the cache.
15434 # Giving --cache-file=/dev/null disables caching, for debugging configure.
15435 # config.status only pays attention to the cache file if you give it the
15436 # --recheck option to rerun configure.
15439 # The following way of writing the cache mishandles newlines in values,
15440 # but we know of no workaround that is simple, portable, and efficient.
15441 # So, don't put newlines in cache variables' values.
15442 # Ultrix sh set writes to stderr and can't be redirected directly,
15443 # and sets the high bit in the cache file unless we assign to the vars.
15444 (set) 2>&1 |
15445 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15446 *ac_space=\ *)
15447 # `set' does not quote correctly, so add quotes (double-quote substitution
15448 # turns \\\\ into \\, and sed turns \\ into \).
15449 sed -n \
15450 -e "s/'/'\\\\''/g" \
15451 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
15454 # `set' quotes correctly as required by POSIX, so do not add quotes.
15455 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
15457 esac >> confcache
15458 if cmp -s $cache_file confcache; then
15460 else
15461 if test -w $cache_file; then
15462 echo "updating cache $cache_file"
15463 cat confcache > $cache_file
15464 else
15465 echo "not updating unwritable cache $cache_file"
15468 rm -f confcache
15471 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
15472 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
15473 echo "configure:15474: checking for locale.h" >&5
15474 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15475 echo $ac_n "(cached) $ac_c" 1>&6
15476 else
15477 cat > conftest.$ac_ext <<EOF
15478 #line 15479 "configure"
15479 #include "confdefs.h"
15480 #include <locale.h>
15482 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15483 { (eval echo configure:15484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15484 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15485 if test -z "$ac_err"; then
15486 rm -rf conftest*
15487 eval "ac_cv_header_$ac_safe=yes"
15488 else
15489 echo "$ac_err" >&5
15490 echo "configure: failed program was:" >&5
15491 cat conftest.$ac_ext >&5
15492 rm -rf conftest*
15493 eval "ac_cv_header_$ac_safe=no"
15495 rm -f conftest*
15497 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15498 echo "$ac_t""yes" 1>&6
15500 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
15501 echo "configure:15502: checking for LC_MESSAGES" >&5
15502 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
15503 echo $ac_n "(cached) $ac_c" 1>&6
15504 else
15505 cat > conftest.$ac_ext <<EOF
15506 #line 15507 "configure"
15507 #include "confdefs.h"
15508 #include <locale.h>
15509 int main() {
15510 return LC_MESSAGES
15511 ; return 0; }
15513 if { (eval echo configure:15514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15514 rm -rf conftest*
15515 ac_cv_val_LC_MESSAGES=yes
15516 else
15517 echo "configure: failed program was:" >&5
15518 cat conftest.$ac_ext >&5
15519 rm -rf conftest*
15520 ac_cv_val_LC_MESSAGES=no
15522 rm -f conftest*
15525 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
15526 if test $ac_cv_val_LC_MESSAGES = yes; then
15527 cat >> confdefs.h <<\EOF
15528 #define HAVE_LC_MESSAGES 1
15533 else
15534 echo "$ac_t""no" 1>&6
15539 if test "${multilib}" = "yes"; then
15540 multilib_arg="--enable-multilib"
15541 else
15542 multilib_arg=
15546 # Generate the various Makefiles, include files, and scripts.
15548 # This helps subvert libstdcxx_interface, as calculated by devo/config.if
15549 # Needed so that g++ can find the correct include subdir automatically.
15550 INTERFACE=v3
15552 # Check for the interface version number for specifying where header
15553 # files are installed, if a version number is provided.
15554 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
15555 echo "configure:15556: checking for interface version number" >&5
15556 libstdcxx_interface=$INTERFACE
15557 echo "$ac_t""$libstdcxx_interface" 1>&6
15560 # Process the option --with-gxx-include-dir=<path to include-files directory>
15561 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
15562 echo "configure:15563: checking for --with-gxx-include-dir" >&5
15563 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
15564 if test "${with_gxx_include_dir+set}" = set; then
15565 withval="$with_gxx_include_dir"
15566 case "${withval}" in
15567 yes)
15568 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
15569 gxx_include_dir=no
15572 gxx_include_dir=no
15575 gxx_include_dir=${withval}
15577 esac
15578 else
15579 gxx_include_dir=no
15582 echo "$ac_t""$gxx_include_dir" 1>&6
15586 if test x${gxx_include_dir} != xno; then
15587 GXX_INCLUDE_DIR_TRUE=
15588 GXX_INCLUDE_DIR_FALSE='#'
15589 else
15590 GXX_INCLUDE_DIR_TRUE='#'
15591 GXX_INCLUDE_DIR_FALSE=
15594 # Process the option "--enable-version-specific-runtime-libs"
15595 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
15596 echo "configure:15597: checking for --enable-version-specific-runtime-libs" >&5
15597 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
15598 if test "${enable_version_specific_runtime_libs+set}" = set; then
15599 enableval="$enable_version_specific_runtime_libs"
15600 version_specific_libs=yes
15601 # Need the gcc compiler version to know where to install libraries
15602 # and header files if --enable-version-specific-runtime-libs option
15603 # is selected.
15604 gcc_tmp=`grep version_string ${srcdir}/../gcc/version.c | awk '{print $6}'`
15605 gcc_num=`echo ${gcc_tmp} | sed 's/\"//g'`
15606 #gcc_date=`grep version_string ${srcdir}/../gcc/version.c | awk '{print $7}'`
15607 #gcc_version=$gcc_num-$gcc_date
15608 gcc_version=$gcc_num
15611 else
15612 version_specific_libs=no
15615 echo "$ac_t""$version_specific_libs" 1>&6
15616 if test x${version_specific_libs} = xyes; then
15619 if test x${version_specific_libs} = xyes; then
15620 VERSION_SPECIFIC_LIBS_TRUE=
15621 VERSION_SPECIFIC_LIBS_FALSE='#'
15622 else
15623 VERSION_SPECIFIC_LIBS_TRUE='#'
15624 VERSION_SPECIFIC_LIBS_FALSE=
15626 echo "configure: warning: version specific directory is: $gcc_version" 1>&2
15629 # We have to install all the generated or linked includes files
15630 # specified as build_headers in src/Makefile.am in a target-dependent
15631 # place, or else multiple installs for different compilers will
15632 # overwrite these files.
15633 # NB: Keep this and gcc/Makefile.in's -DGPLUSPLUS_TOOL_INCLUDE_DIR in sync.
15634 gxx_target_include_dir='$(exec_prefix)/$(target_alias)/include/g++-$(libstdcxx_interface)'
15638 # Export all the include and flag information to makefiles.
15640 # Root level of the include sources.
15641 GLIBCPP_INCLUDE_DIR='$(top_srcdir)/include'
15643 # Can either use include/c or include/c_std to grab "C" headers. This
15644 # variable is set to the include directory currently in use.
15645 # set with C_INCLUDE_DIR in GLIBCPP_ENABLE_CHEADERS
15647 # Passed down for canadian crosses.
15648 if test x"$CANADIAN" = xyes; then
15649 TOPLEVEL_INCLUDES='-I$(includedir)'
15652 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
15654 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
15656 #if GLIBCPP_NEED_LIBIO
15657 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
15658 #else
15659 #LIBIO_INCLUDES='-I$(top_srcdir)/libio'
15660 #endif
15662 #if GLIBCPP_USE_CSHADOW
15663 # CSHADOW_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR) \
15664 # -I$(top_blddir)/cshadow'
15665 #else
15666 CSTD_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR)'
15667 #endif
15669 # Now, export this to all the little Makefiles....
15678 # Optimization flags that are probably a good idea for thrill-seekers. Just
15679 # uncomment the lines below and make, everything else is ready to go...
15680 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
15681 OPTIMIZE_CXXFLAGS=
15684 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
15688 # This should be done by mkincludedir, but hack around it now.
15689 blddir=`pwd`
15690 echo "checking for $blddir/include"
15692 if test ! -d "$blddir/include"; then
15693 mkdir "$blddir/include"
15696 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
15697 # and libsupc++/Makefile.am so that multilib installs will end up
15698 # installed in the correct place. To work around this not being passed
15699 # down from config-ml.in -> top_srcdir/Makefile.am ->
15700 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
15701 trap '' 1 2 15
15702 cat > confcache <<\EOF
15703 # This file is a shell script that caches the results of configure
15704 # tests run on this system so they can be shared between configure
15705 # scripts and configure runs. It is not useful on other systems.
15706 # If it contains results you don't want to keep, you may remove or edit it.
15708 # By default, configure uses ./config.cache as the cache file,
15709 # creating it if it does not exist already. You can give configure
15710 # the --cache-file=FILE option to use a different cache file; that is
15711 # what configure does when it calls configure scripts in
15712 # subdirectories, so they share the cache.
15713 # Giving --cache-file=/dev/null disables caching, for debugging configure.
15714 # config.status only pays attention to the cache file if you give it the
15715 # --recheck option to rerun configure.
15718 # The following way of writing the cache mishandles newlines in values,
15719 # but we know of no workaround that is simple, portable, and efficient.
15720 # So, don't put newlines in cache variables' values.
15721 # Ultrix sh set writes to stderr and can't be redirected directly,
15722 # and sets the high bit in the cache file unless we assign to the vars.
15723 (set) 2>&1 |
15724 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15725 *ac_space=\ *)
15726 # `set' does not quote correctly, so add quotes (double-quote substitution
15727 # turns \\\\ into \\, and sed turns \\ into \).
15728 sed -n \
15729 -e "s/'/'\\\\''/g" \
15730 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
15733 # `set' quotes correctly as required by POSIX, so do not add quotes.
15734 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
15736 esac >> confcache
15737 if cmp -s $cache_file confcache; then
15739 else
15740 if test -w $cache_file; then
15741 echo "updating cache $cache_file"
15742 cat confcache > $cache_file
15743 else
15744 echo "not updating unwritable cache $cache_file"
15747 rm -f confcache
15749 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
15751 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15752 # Let make expand exec_prefix.
15753 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15755 # Any assignment to VPATH causes Sun make to only execute
15756 # the first set of double-colon rules, so remove it if not needed.
15757 # If there is a colon in the path, we need to keep it.
15758 if test "x$srcdir" = x.; then
15759 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
15762 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
15764 DEFS=-DHAVE_CONFIG_H
15766 # Without the "./", some shells look in PATH for config.status.
15767 : ${CONFIG_STATUS=./config.status}
15769 echo creating $CONFIG_STATUS
15770 rm -f $CONFIG_STATUS
15771 cat > $CONFIG_STATUS <<EOF
15772 #! /bin/sh
15773 # Generated automatically by configure.
15774 # Run this file to recreate the current configuration.
15775 # This directory was configured as follows,
15776 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15778 # $0 $ac_configure_args
15780 # Compiler output produced by configure, useful for debugging
15781 # configure, is in ./config.log if it exists.
15783 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
15784 for ac_option
15786 case "\$ac_option" in
15787 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15788 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
15789 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
15790 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
15791 echo "$CONFIG_STATUS generated by autoconf version 2.13"
15792 exit 0 ;;
15793 -help | --help | --hel | --he | --h)
15794 echo "\$ac_cs_usage"; exit 0 ;;
15795 *) echo "\$ac_cs_usage"; exit 1 ;;
15796 esac
15797 done
15799 ac_given_srcdir=$srcdir
15800 ac_given_INSTALL="$INSTALL"
15802 trap 'rm -fr `echo "tests_flags mkcheck Makefile src/Makefile libmath/Makefile libio/Makefile libsupc++/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
15804 cat >> $CONFIG_STATUS <<EOF
15806 # Protect against being on the right side of a sed subst in config.status.
15807 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
15808 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
15809 $ac_vpsub
15810 $extrasub
15811 s%@SHELL@%$SHELL%g
15812 s%@CFLAGS@%$CFLAGS%g
15813 s%@CPPFLAGS@%$CPPFLAGS%g
15814 s%@CXXFLAGS@%$CXXFLAGS%g
15815 s%@FFLAGS@%$FFLAGS%g
15816 s%@DEFS@%$DEFS%g
15817 s%@LDFLAGS@%$LDFLAGS%g
15818 s%@LIBS@%$LIBS%g
15819 s%@exec_prefix@%$exec_prefix%g
15820 s%@prefix@%$prefix%g
15821 s%@program_transform_name@%$program_transform_name%g
15822 s%@bindir@%$bindir%g
15823 s%@sbindir@%$sbindir%g
15824 s%@libexecdir@%$libexecdir%g
15825 s%@datadir@%$datadir%g
15826 s%@sysconfdir@%$sysconfdir%g
15827 s%@sharedstatedir@%$sharedstatedir%g
15828 s%@localstatedir@%$localstatedir%g
15829 s%@libdir@%$libdir%g
15830 s%@includedir@%$includedir%g
15831 s%@oldincludedir@%$oldincludedir%g
15832 s%@infodir@%$infodir%g
15833 s%@mandir@%$mandir%g
15834 s%@host@%$host%g
15835 s%@host_alias@%$host_alias%g
15836 s%@host_cpu@%$host_cpu%g
15837 s%@host_vendor@%$host_vendor%g
15838 s%@host_os@%$host_os%g
15839 s%@target@%$target%g
15840 s%@target_alias@%$target_alias%g
15841 s%@target_cpu@%$target_cpu%g
15842 s%@target_vendor@%$target_vendor%g
15843 s%@target_os@%$target_os%g
15844 s%@build@%$build%g
15845 s%@build_alias@%$build_alias%g
15846 s%@build_cpu@%$build_cpu%g
15847 s%@build_vendor@%$build_vendor%g
15848 s%@build_os@%$build_os%g
15849 s%@glibcpp_basedir@%$glibcpp_basedir%g
15850 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
15851 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
15852 s%@INSTALL_DATA@%$INSTALL_DATA%g
15853 s%@PACKAGE@%$PACKAGE%g
15854 s%@VERSION@%$VERSION%g
15855 s%@ACLOCAL@%$ACLOCAL%g
15856 s%@AUTOCONF@%$AUTOCONF%g
15857 s%@AUTOMAKE@%$AUTOMAKE%g
15858 s%@AUTOHEADER@%$AUTOHEADER%g
15859 s%@MAKEINFO@%$MAKEINFO%g
15860 s%@SET_MAKE@%$SET_MAKE%g
15861 s%@CC@%$CC%g
15862 s%@CXX_libstdcxx@%$CXX_libstdcxx%g
15863 s%@CXX@%$CXX%g
15864 s%@AS@%$AS%g
15865 s%@AR@%$AR%g
15866 s%@RANLIB@%$RANLIB%g
15867 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
15868 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
15869 s%@MAINT@%$MAINT%g
15870 s%@EXEEXT@%$EXEEXT%g
15871 s%@GLIBCPP_CFLAGS@%$GLIBCPP_CFLAGS%g
15872 s%@GLIBCPP_CXXFLAGS@%$GLIBCPP_CXXFLAGS%g
15873 s%@LN_S@%$LN_S%g
15874 s%@OBJEXT@%$OBJEXT%g
15875 s%@STRIP@%$STRIP%g
15876 s%@LIBTOOL@%$LIBTOOL%g
15877 s%@CXXCPP@%$CXXCPP%g
15878 s%@enable_shared@%$enable_shared%g
15879 s%@enable_static@%$enable_static%g
15880 s%@ifGNUmake@%$ifGNUmake%g
15881 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
15882 s%@CPP@%$CPP%g
15883 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
15884 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
15885 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
15886 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
15887 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
15888 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
15889 s%@libio_la@%$libio_la%g
15890 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
15891 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
15892 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
15893 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
15894 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
15895 s%@WFMT_FLAGS@%$WFMT_FLAGS%g
15896 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
15897 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
15898 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
15899 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
15900 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
15901 s%@libinst_wstring_la@%$libinst_wstring_la%g
15902 s%@WERROR@%$WERROR%g
15903 s%@NULL_TARGET_TRUE@%$NULL_TARGET_TRUE%g
15904 s%@NULL_TARGET_FALSE@%$NULL_TARGET_FALSE%g
15905 s%@NATIVE_TRUE@%$NATIVE_TRUE%g
15906 s%@NATIVE_FALSE@%$NATIVE_FALSE%g
15907 s%@USE_LIBDIR_TRUE@%$USE_LIBDIR_TRUE%g
15908 s%@USE_LIBDIR_FALSE@%$USE_LIBDIR_FALSE%g
15909 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
15910 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
15911 s%@libstdcxx_interface@%$libstdcxx_interface%g
15912 s%@gxx_include_dir@%$gxx_include_dir%g
15913 s%@GXX_INCLUDE_DIR_TRUE@%$GXX_INCLUDE_DIR_TRUE%g
15914 s%@GXX_INCLUDE_DIR_FALSE@%$GXX_INCLUDE_DIR_FALSE%g
15915 s%@gcc_version@%$gcc_version%g
15916 s%@VERSION_SPECIFIC_LIBS_TRUE@%$VERSION_SPECIFIC_LIBS_TRUE%g
15917 s%@VERSION_SPECIFIC_LIBS_FALSE@%$VERSION_SPECIFIC_LIBS_FALSE%g
15918 s%@gxx_target_include_dir@%$gxx_target_include_dir%g
15919 s%@GLIBCPP_INCLUDE_DIR@%$GLIBCPP_INCLUDE_DIR%g
15920 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
15921 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
15922 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
15923 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
15924 s%@CSTD_INCLUDES@%$CSTD_INCLUDES%g
15925 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
15926 s%@WARN_FLAGS@%$WARN_FLAGS%g
15928 CEOF
15931 cat >> $CONFIG_STATUS <<\EOF
15933 # Split the substitutions into bite-sized pieces for seds with
15934 # small command number limits, like on Digital OSF/1 and HP-UX.
15935 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
15936 ac_file=1 # Number of current file.
15937 ac_beg=1 # First line for current file.
15938 ac_end=$ac_max_sed_cmds # Line after last line for current file.
15939 ac_more_lines=:
15940 ac_sed_cmds=""
15941 while $ac_more_lines; do
15942 if test $ac_beg -gt 1; then
15943 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
15944 else
15945 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
15947 if test ! -s conftest.s$ac_file; then
15948 ac_more_lines=false
15949 rm -f conftest.s$ac_file
15950 else
15951 if test -z "$ac_sed_cmds"; then
15952 ac_sed_cmds="sed -f conftest.s$ac_file"
15953 else
15954 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
15956 ac_file=`expr $ac_file + 1`
15957 ac_beg=$ac_end
15958 ac_end=`expr $ac_end + $ac_max_sed_cmds`
15960 done
15961 if test -z "$ac_sed_cmds"; then
15962 ac_sed_cmds=cat
15966 cat >> $CONFIG_STATUS <<EOF
15968 CONFIG_FILES=\${CONFIG_FILES-"tests_flags mkcheck Makefile src/Makefile libmath/Makefile libio/Makefile libsupc++/Makefile"}
15970 cat >> $CONFIG_STATUS <<\EOF
15971 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
15972 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15973 case "$ac_file" in
15974 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
15975 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
15976 *) ac_file_in="${ac_file}.in" ;;
15977 esac
15979 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
15981 # Remove last slash and all that follows it. Not all systems have dirname.
15982 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
15983 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
15984 # The file is in a subdirectory.
15985 test ! -d "$ac_dir" && mkdir "$ac_dir"
15986 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
15987 # A "../" for each directory in $ac_dir_suffix.
15988 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
15989 else
15990 ac_dir_suffix= ac_dots=
15993 case "$ac_given_srcdir" in
15994 .) srcdir=.
15995 if test -z "$ac_dots"; then top_srcdir=.
15996 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
15997 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
15998 *) # Relative path.
15999 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
16000 top_srcdir="$ac_dots$ac_given_srcdir" ;;
16001 esac
16003 case "$ac_given_INSTALL" in
16004 [/$]*) INSTALL="$ac_given_INSTALL" ;;
16005 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
16006 esac
16008 echo creating "$ac_file"
16009 rm -f "$ac_file"
16010 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
16011 case "$ac_file" in
16012 *Makefile*) ac_comsub="1i\\
16013 # $configure_input" ;;
16014 *) ac_comsub= ;;
16015 esac
16017 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
16018 sed -e "$ac_comsub
16019 s%@configure_input@%$configure_input%g
16020 s%@srcdir@%$srcdir%g
16021 s%@top_srcdir@%$top_srcdir%g
16022 s%@INSTALL@%$INSTALL%g
16023 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
16024 fi; done
16025 rm -f conftest.s*
16027 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
16028 # NAME is the cpp macro being defined and VALUE is the value it is being given.
16030 # ac_d sets the value in "#define NAME VALUE" lines.
16031 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
16032 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
16033 ac_dC='\3'
16034 ac_dD='%g'
16035 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
16036 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16037 ac_uB='\([ ]\)%\1#\2define\3'
16038 ac_uC=' '
16039 ac_uD='\4%g'
16040 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
16041 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16042 ac_eB='$%\1#\2define\3'
16043 ac_eC=' '
16044 ac_eD='%g'
16046 if test "${CONFIG_HEADERS+set}" != set; then
16048 cat >> $CONFIG_STATUS <<EOF
16049 CONFIG_HEADERS="config.h"
16051 cat >> $CONFIG_STATUS <<\EOF
16053 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
16054 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16055 case "$ac_file" in
16056 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
16057 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
16058 *) ac_file_in="${ac_file}.in" ;;
16059 esac
16061 echo creating $ac_file
16063 rm -f conftest.frag conftest.in conftest.out
16064 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
16065 cat $ac_file_inputs > conftest.in
16069 # Transform confdefs.h into a sed script conftest.vals that substitutes
16070 # the proper values into config.h.in to produce config.h. And first:
16071 # Protect against being on the right side of a sed subst in config.status.
16072 # Protect against being in an unquoted here document in config.status.
16073 rm -f conftest.vals
16074 cat > conftest.hdr <<\EOF
16075 s/[\\&%]/\\&/g
16076 s%[\\$`]%\\&%g
16077 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
16078 s%ac_d%ac_u%gp
16079 s%ac_u%ac_e%gp
16081 sed -n -f conftest.hdr confdefs.h > conftest.vals
16082 rm -f conftest.hdr
16084 # This sed command replaces #undef with comments. This is necessary, for
16085 # example, in the case of _POSIX_SOURCE, which is predefined and required
16086 # on some systems where configure will not decide to define it.
16087 cat >> conftest.vals <<\EOF
16088 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
16091 # Break up conftest.vals because some shells have a limit on
16092 # the size of here documents, and old seds have small limits too.
16094 rm -f conftest.tail
16095 while :
16097 ac_lines=`grep -c . conftest.vals`
16098 # grep -c gives empty output for an empty file on some AIX systems.
16099 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
16100 # Write a limited-size here document to conftest.frag.
16101 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
16102 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
16103 echo 'CEOF
16104 sed -f conftest.frag conftest.in > conftest.out
16105 rm -f conftest.in
16106 mv conftest.out conftest.in
16107 ' >> $CONFIG_STATUS
16108 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
16109 rm -f conftest.vals
16110 mv conftest.tail conftest.vals
16111 done
16112 rm -f conftest.vals
16114 cat >> $CONFIG_STATUS <<\EOF
16115 rm -f conftest.frag conftest.h
16116 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
16117 cat conftest.in >> conftest.h
16118 rm -f conftest.in
16119 if cmp -s $ac_file conftest.h 2>/dev/null; then
16120 echo "$ac_file is unchanged"
16121 rm -f conftest.h
16122 else
16123 # Remove last slash and all that follows it. Not all systems have dirname.
16124 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
16125 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
16126 # The file is in a subdirectory.
16127 test ! -d "$ac_dir" && mkdir "$ac_dir"
16129 rm -f $ac_file
16130 mv conftest.h $ac_file
16132 fi; done
16136 cat >> $CONFIG_STATUS <<EOF
16137 ac_sources="$os_include_dir/bits/os_defines.h $CSTDIO_H $CSTDIO_CC $CCODECVT_C config/$THREADH $os_include_dir/bits/ctype_base.h $os_include_dir/bits/ctype_inline.h $os_include_dir/bits/ctype_noninline.h $ATOMICITYH/bits/atomicity.h"
16138 ac_dests="include/bits/os_defines.h include/bits/c++io.h src/c++io.cc libio/c_codecvt.c include/bits/c++threads.h \
16139 include/bits/ctype_base.h \
16140 include/bits/ctype_inline.h \
16141 include/bits/ctype_noninline.h include/bits/atomicity.h"
16144 cat >> $CONFIG_STATUS <<\EOF
16145 srcdir=$ac_given_srcdir
16146 while test -n "$ac_sources"; do
16147 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
16148 set $ac_sources; ac_source=$1; shift; ac_sources=$*
16150 echo "linking $srcdir/$ac_source to $ac_dest"
16152 if test ! -r $srcdir/$ac_source; then
16153 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
16155 rm -f $ac_dest
16157 # Make relative symlinks.
16158 # Remove last slash and all that follows it. Not all systems have dirname.
16159 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
16160 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
16161 # The dest file is in a subdirectory.
16162 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
16163 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
16164 # A "../" for each directory in $ac_dest_dir_suffix.
16165 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
16166 else
16167 ac_dest_dir_suffix= ac_dots=
16170 case "$srcdir" in
16171 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
16172 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
16173 esac
16175 # Make a symlink if possible; otherwise try a hard link.
16176 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
16177 ln $srcdir/$ac_source $ac_dest; then :
16178 else
16179 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
16181 done
16183 cat >> $CONFIG_STATUS <<EOF
16185 srcdir=${srcdir}
16186 host=${host}
16187 target=${target}
16188 with_multisubdir=${with_multisubdir}
16189 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16190 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16191 glibcpp_basedir=${glibcpp_basedir}
16192 CC="${CC}"
16193 CXX="${CXX}"
16196 cat >> $CONFIG_STATUS <<\EOF
16197 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
16198 if test -n "$CONFIG_FILES"; then
16199 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
16200 grep '^MULTISUBDIR =' Makefile >> src/Makefile
16201 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
16203 chmod +x tests_flags
16204 chmod +x mkcheck
16206 exit 0
16208 chmod +x $CONFIG_STATUS
16209 rm -fr confdefs* $ac_clean_files
16210 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
16214 # Generate bits/c++config.h
16215 # NB: This must be the first generated file as others include it. . .
16216 $srcdir/mkc++config $blddir $srcdir
16218 # Generate bits/std_limits.h and src/limitsMEMBERS.cc
16219 if test ! -f stamp-limits; then
16220 $srcdir/mknumeric_limits $blddir $srcdir $xcompiling
16221 if test ! -f include/bits/std_limits.h; then
16222 echo "mknumeric_limits failed to execute properly: exiting"
16223 exit 1
16224 else
16225 touch stamp-limits
16230 # Sanity checking & User-visible messages.
16231 # Checks down here, otherwise they get scrolled off before
16232 # the user will notice.
16234 # Trying to get more people to read documentation. Possibly remove
16235 # check and warn all the time. There is no "informational" AC_MSG_
16236 # macro, so these are going to be printed even when --quiet/--silent
16237 # is given.
16238 if test ! -f stamp-sanity-warned; then
16239 touch stamp-sanity-warned
16240 echo ""
16241 echo "Please make certain that you read the installation information here:"
16242 echo " faster => ${srcdir}/docs/install.html"
16243 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
16244 echo ""
16245 echo "and the configuration information here:"
16246 echo " faster => ${srcdir}/docs/configopts.html"
16247 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
16248 echo ""
16249 echo "before proceeding with ${_cv_gnu_make_command}."
16250 echo ""