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.
12 ac_default_prefix=/usr/local
13 # Any additions from configure.in:
15 --enable-multilib build hella library versions (default)"
17 --with-target-subdir=SUBDIR
18 configuring in a subdirectory"
20 --with-cross-host=HOST configuring with a cross compiler"
22 --enable-maintainer-mode enable make rules and dependencies not useful
23 (and sometimes confusing) to the casual installer"
25 --enable-shared[=PKGS] build shared libraries [default=yes]"
27 --enable-static[=PKGS] build static libraries [default=yes]"
29 --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
31 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
33 --disable-libtool-lock avoid locking (might break parallel builds)"
35 --with-pic try to use only PIC/non-PIC objects [default=use both]"
37 --enable-debug extra debugging, turn off optimization [default=no]"
39 --enable-cstdio enable stdio for target io package.
40 --enable-cstdio=LIB use LIB target-speific io package. [default=stdio]
43 --enable-clocale enable model for target locale package.
44 --enable-clocale=MODEL use MODEL target-speific locale package. [default=generic]
47 --enable-c-mbchar enable multibyte (wide) characters [default=yes]"
49 --enable-c99 turns on 'ISO/IEC 9899:1999 support' [default=yes]"
51 --enable-long-long turns on 'long long' [default=yes]"
53 --enable-cheaders construct "C" header files for g++ [default=c_std]"
55 --enable-cxx-flags=FLAGS pass compiler FLAGS when building library;
58 --enable-sjlj-exceptions force use of builtin_setjmp for exceptions"
60 --with-gxx-include-dir the installation directory for include files"
62 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
64 # Initialize some variables set by options.
65 # The variables have the same names as the options, with
66 # dashes changed to underlines.
68 cache_file=./config.cache
77 program_transform_name=s,x,x,
86 bindir='${exec_prefix}/bin'
87 sbindir='${exec_prefix}/sbin'
88 libexecdir='${exec_prefix}/libexec'
89 datadir='${prefix}/share'
90 sysconfdir='${prefix}/etc'
91 sharedstatedir='${prefix}/com'
92 localstatedir='${prefix}/var'
93 libdir='${exec_prefix}/lib'
94 includedir='${prefix}/include'
95 oldincludedir='/usr/include'
96 infodir='${prefix}/info'
97 mandir='${prefix}/man'
99 # Initialize some other variables.
102 SHELL=${CONFIG_SHELL-/bin/sh}
103 # Maximum number of lines to put in a shell here document.
110 # If the previous option needs an argument, assign it.
111 if test -n "$ac_prev"; then
112 eval "$ac_prev=\$ac_option"
118 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
122 # Accept the important Cygnus configure options, so we can diagnose typos.
126 -bindir | --bindir | --bindi | --bind | --bin | --bi)
128 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
129 bindir="$ac_optarg" ;;
131 -build | --build | --buil | --bui | --bu)
133 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
134 build="$ac_optarg" ;;
136 -cache-file | --cache-file | --cache-fil | --cache-fi \
137 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
138 ac_prev=cache_file ;;
139 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
140 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
141 cache_file="$ac_optarg" ;;
143 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
145 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
147 datadir="$ac_optarg" ;;
149 -disable-* | --disable-*)
150 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
151 # Reject names that are not valid shell variable names.
152 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
153 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
155 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
156 eval "enable_${ac_feature}=no" ;;
158 -enable-* | --enable-*)
159 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
160 # Reject names that are not valid shell variable names.
161 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
162 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
164 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
169 eval "enable_${ac_feature}='$ac_optarg'" ;;
171 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
172 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
173 | --exec | --exe | --ex)
174 ac_prev=exec_prefix ;;
175 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
176 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
177 | --exec=* | --exe=* | --ex=*)
178 exec_prefix="$ac_optarg" ;;
180 -gas | --gas | --ga | --g)
181 # Obsolete; use --with-gas.
184 -help | --help | --hel | --he)
185 # Omit some internal or obsolete options to make the list less imposing.
186 # This message is too long to be a string in the A/UX 3.1 sh.
188 Usage: configure [options] [host]
189 Options: [defaults in brackets after descriptions]
191 --cache-file=FILE cache test results in FILE
192 --help print this message
193 --no-create do not create output files
194 --quiet, --silent do not print \`checking...' messages
195 --site-file=FILE use FILE as the site file
196 --version print the version of autoconf that created configure
197 Directory and file names:
198 --prefix=PREFIX install architecture-independent files in PREFIX
200 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
202 --bindir=DIR user executables in DIR [EPREFIX/bin]
203 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
204 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
205 --datadir=DIR read-only architecture-independent data in DIR
207 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
208 --sharedstatedir=DIR modifiable architecture-independent data in DIR
210 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
211 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
212 --includedir=DIR C header files in DIR [PREFIX/include]
213 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
214 --infodir=DIR info documentation in DIR [PREFIX/info]
215 --mandir=DIR man documentation in DIR [PREFIX/man]
216 --srcdir=DIR find the sources in DIR [configure dir or ..]
217 --program-prefix=PREFIX prepend PREFIX to installed program names
218 --program-suffix=SUFFIX append SUFFIX to installed program names
219 --program-transform-name=PROGRAM
220 run sed PROGRAM on installed program names
224 --build=BUILD configure for building on BUILD [BUILD=HOST]
225 --host=HOST configure for HOST [guessed]
226 --target=TARGET configure for TARGET [TARGET=HOST]
227 Features and packages:
228 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
229 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
230 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
231 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
232 --x-includes=DIR X include files are in DIR
233 --x-libraries=DIR X library files are in DIR
235 if test -n "$ac_help"; then
236 echo "--enable and --with options recognized:$ac_help"
240 -host | --host | --hos | --ho)
242 -host=* | --host=* | --hos=* | --ho=*)
245 -includedir | --includedir | --includedi | --included | --include \
246 | --includ | --inclu | --incl | --inc)
247 ac_prev=includedir ;;
248 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
249 | --includ=* | --inclu=* | --incl=* | --inc=*)
250 includedir="$ac_optarg" ;;
252 -infodir | --infodir | --infodi | --infod | --info | --inf)
254 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
255 infodir="$ac_optarg" ;;
257 -libdir | --libdir | --libdi | --libd)
259 -libdir=* | --libdir=* | --libdi=* | --libd=*)
260 libdir="$ac_optarg" ;;
262 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
263 | --libexe | --libex | --libe)
264 ac_prev=libexecdir ;;
265 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
266 | --libexe=* | --libex=* | --libe=*)
267 libexecdir="$ac_optarg" ;;
269 -localstatedir | --localstatedir | --localstatedi | --localstated \
270 | --localstate | --localstat | --localsta | --localst \
271 | --locals | --local | --loca | --loc | --lo)
272 ac_prev=localstatedir ;;
273 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
274 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
275 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
276 localstatedir="$ac_optarg" ;;
278 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
280 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
281 mandir="$ac_optarg" ;;
284 # Obsolete; use --without-fp.
287 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
291 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
292 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
295 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
296 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
297 | --oldin | --oldi | --old | --ol | --o)
298 ac_prev=oldincludedir ;;
299 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
300 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
301 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
302 oldincludedir="$ac_optarg" ;;
304 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
306 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
307 prefix="$ac_optarg" ;;
309 -program-prefix | --program-prefix | --program-prefi | --program-pref \
310 | --program-pre | --program-pr | --program-p)
311 ac_prev=program_prefix ;;
312 -program-prefix=* | --program-prefix=* | --program-prefi=* \
313 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
314 program_prefix="$ac_optarg" ;;
316 -program-suffix | --program-suffix | --program-suffi | --program-suff \
317 | --program-suf | --program-su | --program-s)
318 ac_prev=program_suffix ;;
319 -program-suffix=* | --program-suffix=* | --program-suffi=* \
320 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
321 program_suffix="$ac_optarg" ;;
323 -program-transform-name | --program-transform-name \
324 | --program-transform-nam | --program-transform-na \
325 | --program-transform-n | --program-transform- \
326 | --program-transform | --program-transfor \
327 | --program-transfo | --program-transf \
328 | --program-trans | --program-tran \
329 | --progr-tra | --program-tr | --program-t)
330 ac_prev=program_transform_name ;;
331 -program-transform-name=* | --program-transform-name=* \
332 | --program-transform-nam=* | --program-transform-na=* \
333 | --program-transform-n=* | --program-transform-=* \
334 | --program-transform=* | --program-transfor=* \
335 | --program-transfo=* | --program-transf=* \
336 | --program-trans=* | --program-tran=* \
337 | --progr-tra=* | --program-tr=* | --program-t=*)
338 program_transform_name="$ac_optarg" ;;
340 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
341 | -silent | --silent | --silen | --sile | --sil)
344 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
346 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
348 sbindir="$ac_optarg" ;;
350 -sharedstatedir | --sharedstatedir | --sharedstatedi \
351 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
352 | --sharedst | --shareds | --shared | --share | --shar \
354 ac_prev=sharedstatedir ;;
355 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
356 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
357 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
359 sharedstatedir="$ac_optarg" ;;
361 -site | --site | --sit)
363 -site=* | --site=* | --sit=*)
366 -site-file | --site-file | --site-fil | --site-fi | --site-f)
368 -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*)
369 sitefile="$ac_optarg" ;;
371 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
373 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
374 srcdir="$ac_optarg" ;;
376 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
377 | --syscon | --sysco | --sysc | --sys | --sy)
378 ac_prev=sysconfdir ;;
379 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
380 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
381 sysconfdir="$ac_optarg" ;;
383 -target | --target | --targe | --targ | --tar | --ta | --t)
385 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
386 target="$ac_optarg" ;;
388 -v | -verbose | --verbose | --verbos | --verbo | --verb)
391 -version | --version | --versio | --versi | --vers)
392 echo "configure generated by autoconf version 2.13"
396 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
397 # Reject names that are not valid shell variable names.
398 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
399 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
401 ac_package=`echo $ac_package| sed 's/-/_/g'`
406 eval "with_${ac_package}='$ac_optarg'" ;;
408 -without-* | --without-*)
409 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
410 # Reject names that are not valid shell variable names.
411 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
412 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
414 ac_package=`echo $ac_package| sed 's/-/_/g'`
415 eval "with_${ac_package}=no" ;;
418 # Obsolete; use --with-x.
421 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
422 | --x-incl | --x-inc | --x-in | --x-i)
423 ac_prev=x_includes ;;
424 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
425 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
426 x_includes="$ac_optarg" ;;
428 -x-libraries | --x-libraries | --x-librarie | --x-librari \
429 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
430 ac_prev=x_libraries ;;
431 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
432 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
433 x_libraries="$ac_optarg" ;;
435 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
439 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
440 echo "configure: warning: $ac_option: invalid host type" 1>&2
442 if test "x$nonopt" != xNONE; then
443 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
451 if test -n "$ac_prev"; then
452 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
455 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
457 # File descriptor usage:
460 # 2 errors and warnings
461 # 3 some systems may open it to /dev/tty
462 # 4 used on the Kubota Titan
463 # 6 checking for... messages and results
464 # 5 compiler messages saved in config.log
465 if test "$silent" = yes; then
473 This file contains any messages produced by compilers while
474 running configure, to aid debugging if configure makes a mistake.
477 # Strip out --no-create and --no-recursion so they do not pile up.
478 # Also quote any args containing shell metacharacters.
483 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484 | --no-cr | --no-c) ;;
485 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
486 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
487 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
488 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
489 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
494 # Only set these to C if already set. These must not be set unconditionally
495 # because not all systems understand e.g. LANG=C (notably SCO).
496 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
497 # Non-C LC_CTYPE values break the ctype check.
498 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
499 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
500 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
501 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
503 # confdefs.h avoids OS command line length limits that DEFS can exceed.
504 rm -rf conftest* confdefs.h
505 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
508 # A filename unique to this package, relative to the directory that
509 # configure is in, which we can look for to find out if srcdir is correct.
510 ac_unique_file=src/ios.cc
512 # Find the source files, if location was not specified.
513 if test -z "$srcdir"; then
514 ac_srcdir_defaulted=yes
515 # Try the directory containing this script, then its parent.
517 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
518 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
520 if test ! -r $srcdir/$ac_unique_file; then
524 ac_srcdir_defaulted=no
526 if test ! -r $srcdir/$ac_unique_file; then
527 if test "$ac_srcdir_defaulted" = yes; then
528 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
530 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
533 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
535 # Prefer explicitly selected file to automatically selected ones.
536 if test -z "$sitefile"; then
537 if test -z "$CONFIG_SITE"; then
538 if test "x$prefix" != xNONE; then
539 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
541 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
545 CONFIG_SITE="$sitefile"
547 for ac_site_file in $CONFIG_SITE; do
548 if test -r "$ac_site_file"; then
549 echo "loading site script $ac_site_file"
554 if test -r "$cache_file"; then
555 echo "loading cache $cache_file"
558 echo "creating cache $cache_file"
563 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
564 ac_cpp='$CPP $CPPFLAGS'
565 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
566 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
567 cross_compiling=$ac_cv_prog_cc_cross
571 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
572 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
573 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
580 ac_n= ac_c='\c' ac_t=
587 # For typical GNU versioning info, format is MAJOR.MINOR.MICRO
588 release_VERSION=3.1.0
590 # For libtool versioning info, format is CURRENT:REVISION:AGE
591 libtool_VERSION=4:0:0
594 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
595 # AC 2.50 sets target_alias iff the user specified --target, but we use it
596 # everywhere, so we set it here just to be sure.
598 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
599 if test -f $ac_dir/install-sh; then
601 ac_install_sh="$ac_aux_dir/install-sh -c"
603 elif test -f $ac_dir/install.sh; then
605 ac_install_sh="$ac_aux_dir/install.sh -c"
609 if test -z "$ac_aux_dir"; then
610 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
612 ac_config_guess=$ac_aux_dir/config.guess
613 ac_config_sub=$ac_aux_dir/config.sub
614 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
617 # Do some error checking and defaulting for the host and target type.
619 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
622 # 1. You are not allowed to specify --host, --target, and nonopt at the
624 # 2. Host defaults to nonopt.
625 # 3. If nonopt is not specified, then host defaults to the current host,
626 # as determined by config.guess.
627 # 4. Target and build default to nonopt.
628 # 5. If nonopt is not specified, then target and build default to host.
630 # The aliases save the names the user supplied, while $host etc.
631 # will get canonicalized.
632 case $host---$target---$nonopt in
633 NONE---*---* | *---NONE---* | *---*---NONE) ;;
634 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
638 # Make sure we can run config.sub.
639 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
640 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
643 echo $ac_n "checking host system type""... $ac_c" 1>&6
644 echo "configure:645: checking host system type" >&5
647 case "$host_alias" in
651 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
652 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
654 *) host_alias=$nonopt ;;
658 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
659 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
660 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
661 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
662 echo "$ac_t""$host" 1>&6
664 echo $ac_n "checking target system type""... $ac_c" 1>&6
665 echo "configure:666: checking target system type" >&5
668 case "$target_alias" in
671 NONE) target_alias=$host_alias ;;
672 *) target_alias=$nonopt ;;
676 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
677 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
678 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
679 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
680 echo "$ac_t""$target" 1>&6
682 echo $ac_n "checking build system type""... $ac_c" 1>&6
683 echo "configure:684: checking build system type" >&5
686 case "$build_alias" in
689 NONE) build_alias=$host_alias ;;
690 *) build_alias=$nonopt ;;
694 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
695 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
696 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
697 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
698 echo "$ac_t""$build" 1>&6
700 test "$host_alias" != "$target_alias" &&
701 test "$program_prefix$program_suffix$program_transform_name" = \
703 program_prefix=${target_alias}-
705 target_alias=${target_alias-$target}
708 # Find a good install program. We prefer a C program (faster),
709 # so one script is as good as another. But avoid the broken or
710 # incompatible versions:
711 # SysV /etc/install, /usr/sbin/install
712 # SunOS /usr/etc/install
715 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
716 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
717 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
718 # ./install, which can be erroneously created by make from ./install.sh.
719 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
720 echo "configure:721: checking for a BSD compatible install" >&5
721 if test -z "$INSTALL"; then
722 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
723 echo $ac_n "(cached) $ac_c" 1>&6
725 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
726 for ac_dir in $PATH; do
727 # Account for people who put trailing slashes in PATH elements.
729 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
731 # OSF1 and SCO ODT 3.0 have their own names for install.
732 # Don't use installbsd from OSF since it installs stuff as root
734 for ac_prog in ginstall scoinst install; do
735 if test -f $ac_dir/$ac_prog; then
736 if test $ac_prog = install &&
737 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
738 # AIX install. It has an incompatible calling convention.
741 ac_cv_path_install="$ac_dir/$ac_prog -c"
752 if test "${ac_cv_path_install+set}" = set; then
753 INSTALL="$ac_cv_path_install"
755 # As a last resort, use the slow shell script. We don't cache a
756 # path for INSTALL within a source directory, because that will
757 # break other packages using the cache if that directory is
758 # removed, or if the path is relative.
759 INSTALL="$ac_install_sh"
762 echo "$ac_t""$INSTALL" 1>&6
764 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
765 # It thinks the first close brace ends the variable substitution.
766 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
768 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
770 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
772 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
773 echo "configure:774: checking whether build environment is sane" >&5
776 echo timestamp > conftestfile
777 # Do `set' in a subshell so we don't clobber the current shell's
778 # arguments. Must try -L first in case configure is actually a
779 # symlink; some systems play weird games with the mod time of symlinks
780 # (eg FreeBSD returns the mod time of the symlink's containing
783 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
784 if test "$*" = "X"; then
786 set X `ls -t $srcdir/configure conftestfile`
788 if test "$*" != "X $srcdir/configure conftestfile" \
789 && test "$*" != "X conftestfile $srcdir/configure"; then
791 # If neither matched, then we have a broken ls. This can happen
792 # if, for instance, CONFIG_SHELL is bash and it inherits a
793 # broken ls alias from the environment. This has actually
794 # happened. Such a system could not be considered "sane".
795 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
796 alias in your environment" 1>&2; exit 1; }
799 test "$2" = conftestfile
805 { echo "configure: error: newly created file is older than distributed files!
806 Check your system clock" 1>&2; exit 1; }
809 echo "$ac_t""yes" 1>&6
810 if test "$program_transform_name" = s,x,x,; then
811 program_transform_name=
813 # Double any \ or $. echo might interpret backslashes.
814 cat <<\EOF_SED > conftestsed
815 s,\\,\\\\,g; s,\$,$$,g
817 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
820 test "$program_prefix" != NONE &&
821 program_transform_name="s,^,${program_prefix},; $program_transform_name"
822 # Use a double $ so make ignores it.
823 test "$program_suffix" != NONE &&
824 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
826 # sed with no file args requires a program.
827 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
829 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
830 echo "configure:831: checking whether ${MAKE-make} sets \${MAKE}" >&5
831 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
832 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
833 echo $ac_n "(cached) $ac_c" 1>&6
835 cat > conftestmake <<\EOF
837 @echo 'ac_maketemp="${MAKE}"'
839 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
840 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
841 if test -n "$ac_maketemp"; then
842 eval ac_cv_prog_make_${ac_make}_set=yes
844 eval ac_cv_prog_make_${ac_make}_set=no
848 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
849 echo "$ac_t""yes" 1>&6
852 echo "$ac_t""no" 1>&6
853 SET_MAKE="MAKE=${MAKE-make}"
859 VERSION=$release_VERSION
861 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
862 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
864 cat >> confdefs.h <<EOF
865 #define PACKAGE "$PACKAGE"
868 cat >> confdefs.h <<EOF
869 #define VERSION "$VERSION"
874 missing_dir=`cd $ac_aux_dir && pwd`
875 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
876 echo "configure:877: checking for working aclocal" >&5
877 # Run test in a subshell; some versions of sh will print an error if
878 # an executable is not found, even if stderr is redirected.
879 # Redirect stdin to placate older versions of autoconf. Sigh.
880 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
882 echo "$ac_t""found" 1>&6
884 ACLOCAL="$missing_dir/missing aclocal"
885 echo "$ac_t""missing" 1>&6
888 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
889 echo "configure:890: checking for working autoconf" >&5
890 # Run test in a subshell; some versions of sh will print an error if
891 # an executable is not found, even if stderr is redirected.
892 # Redirect stdin to placate older versions of autoconf. Sigh.
893 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
895 echo "$ac_t""found" 1>&6
897 AUTOCONF="$missing_dir/missing autoconf"
898 echo "$ac_t""missing" 1>&6
901 echo $ac_n "checking for working automake""... $ac_c" 1>&6
902 echo "configure:903: checking for working automake" >&5
903 # Run test in a subshell; some versions of sh will print an error if
904 # an executable is not found, even if stderr is redirected.
905 # Redirect stdin to placate older versions of autoconf. Sigh.
906 if (automake --version) < /dev/null > /dev/null 2>&1; then
908 echo "$ac_t""found" 1>&6
910 AUTOMAKE="$missing_dir/missing automake"
911 echo "$ac_t""missing" 1>&6
914 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
915 echo "configure:916: checking for working autoheader" >&5
916 # Run test in a subshell; some versions of sh will print an error if
917 # an executable is not found, even if stderr is redirected.
918 # Redirect stdin to placate older versions of autoconf. Sigh.
919 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
920 AUTOHEADER=autoheader
921 echo "$ac_t""found" 1>&6
923 AUTOHEADER="$missing_dir/missing autoheader"
924 echo "$ac_t""missing" 1>&6
927 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
928 echo "configure:929: checking for working makeinfo" >&5
929 # Run test in a subshell; some versions of sh will print an error if
930 # an executable is not found, even if stderr is redirected.
931 # Redirect stdin to placate older versions of autoconf. Sigh.
932 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
934 echo "$ac_t""found" 1>&6
936 MAKEINFO="$missing_dir/missing makeinfo"
937 echo "$ac_t""missing" 1>&6
945 # Runs configure.host and configure.target, as well as finds CC, CXX
946 # and assorted other critical bits. Have to run this before the
947 # GLIBCPP_ENABLE_* macros below.
948 if test $host != $build; then
949 ac_tool_prefix=${host_alias}-
954 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
955 echo "configure:956: checking for Cygwin environment" >&5
956 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
957 echo $ac_n "(cached) $ac_c" 1>&6
959 cat > conftest.$ac_ext <<EOF
960 #line 961 "configure"
961 #include "confdefs.h"
966 #define __CYGWIN__ __CYGWIN32__
971 if { (eval echo configure:972: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
975 echo "configure: failed program was:" >&5
976 cat conftest.$ac_ext >&5
984 echo "$ac_t""$ac_cv_cygwin" 1>&6
986 test "$ac_cv_cygwin" = yes && CYGWIN=yes
987 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
988 echo "configure:989: checking for mingw32 environment" >&5
989 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
990 echo $ac_n "(cached) $ac_c" 1>&6
992 cat > conftest.$ac_ext <<EOF
993 #line 994 "configure"
994 #include "confdefs.h"
1000 if { (eval echo configure:1001: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1004 echo "configure: failed program was:" >&5
1005 cat conftest.$ac_ext >&5
1013 echo "$ac_t""$ac_cv_mingw32" 1>&6
1015 test "$ac_cv_mingw32" = yes && MINGW32=yes
1017 # Check whether --enable-multilib or --disable-multilib was given.
1018 if test "${enable_multilib+set}" = set; then
1019 enableval="$enable_multilib"
1020 case "${enableval}" in
1021 yes) multilib=yes ;;
1023 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
1029 # When building with srcdir == objdir, links to the source files will
1030 # be created in directories within the target_subdir. We have to
1031 # adjust toplevel_srcdir accordingly, so that configure finds
1032 # install-sh and other auxiliary files that live in the top-level
1034 if test "${srcdir}" = "."; then
1035 if test -z "${with_target_subdir}"; then
1038 if test "${with_target_subdir}" != "."; then
1039 toprel="${with_multisrctop}../.."
1041 toprel="${with_multisrctop}.."
1048 for ac_dir in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
1049 if test -f $ac_dir/install-sh; then
1051 ac_install_sh="$ac_aux_dir/install-sh -c"
1053 elif test -f $ac_dir/install.sh; then
1055 ac_install_sh="$ac_aux_dir/install.sh -c"
1059 if test -z "$ac_aux_dir"; then
1060 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
1062 ac_config_guess=$ac_aux_dir/config.guess
1063 ac_config_sub=$ac_aux_dir/config.sub
1064 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
1066 toplevel_srcdir=\${top_srcdir}/$toprel
1069 # Export build and source directories.
1070 # These need to be absolute paths, yet at the same time need to
1071 # canonicalize only relative paths, because then amd will not unmount
1072 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1073 glibcpp_builddir=`pwd`
1075 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
1076 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1083 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.50+, can also
1084 # be 'cp -p' if linking isn't available.
1085 #ac_cv_prog_LN_S='cp -p'
1086 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1087 echo "configure:1088: checking whether ln -s works" >&5
1088 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1089 echo $ac_n "(cached) $ac_c" 1>&6
1092 if ln -s X conftestdata 2>/dev/null
1095 ac_cv_prog_LN_S="ln -s"
1100 LN_S="$ac_cv_prog_LN_S"
1101 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1102 echo "$ac_t""yes" 1>&6
1104 echo "$ac_t""no" 1>&6
1108 # We use these options to decide which functions to include.
1109 # Check whether --with-target-subdir or --without-target-subdir was given.
1110 if test "${with_target_subdir+set}" = set; then
1111 withval="$with_target_subdir"
1115 # Check whether --with-cross-host or --without-cross-host was given.
1116 if test "${with_cross_host+set}" = set; then
1117 withval="$with_cross_host"
1122 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
1125 # Never versions of autoconf add an underscore to these functions.
1126 # Prevent future problems ...
1134 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1135 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1136 # are probably using a cross compiler, which will not be able to fully
1137 # link an executable. This should really be fixed in autoconf
1143 # Extract the first word of "gcc", so it can be a program name with args.
1144 set dummy gcc; ac_word=$2
1145 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1146 echo "configure:1147: checking for $ac_word" >&5
1147 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1148 echo $ac_n "(cached) $ac_c" 1>&6
1150 if test -n "$CC"; then
1151 ac_cv_prog_CC="$CC" # Let the user override the test.
1153 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1155 for ac_dir in $ac_dummy; do
1156 test -z "$ac_dir" && ac_dir=.
1157 if test -f $ac_dir/$ac_word; then
1166 if test -n "$CC"; then
1167 echo "$ac_t""$CC" 1>&6
1169 echo "$ac_t""no" 1>&6
1172 if test -z "$CC"; then
1173 # Extract the first word of "cc", so it can be a program name with args.
1174 set dummy cc; ac_word=$2
1175 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1176 echo "configure:1177: checking for $ac_word" >&5
1177 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1178 echo $ac_n "(cached) $ac_c" 1>&6
1180 if test -n "$CC"; then
1181 ac_cv_prog_CC="$CC" # Let the user override the test.
1183 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1186 for ac_dir in $ac_dummy; do
1187 test -z "$ac_dir" && ac_dir=.
1188 if test -f $ac_dir/$ac_word; then
1189 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1190 ac_prog_rejected=yes
1198 if test $ac_prog_rejected = yes; then
1199 # We found a bogon in the path, so make sure we never use it.
1200 set dummy $ac_cv_prog_CC
1202 if test $# -gt 0; then
1203 # We chose a different compiler from the bogus one.
1204 # However, it has the same basename, so the bogon will be chosen
1205 # first if we set CC to just the basename; use the full file name.
1207 set dummy "$ac_dir/$ac_word" "$@"
1215 if test -n "$CC"; then
1216 echo "$ac_t""$CC" 1>&6
1218 echo "$ac_t""no" 1>&6
1221 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1224 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1225 echo "configure:1226: checking whether we are using GNU C" >&5
1226 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1227 echo $ac_n "(cached) $ac_c" 1>&6
1229 cat > conftest.c <<EOF
1234 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1235: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1241 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1243 if test $ac_cv_prog_gcc = yes; then
1245 ac_test_CFLAGS="${CFLAGS+set}"
1246 ac_save_CFLAGS="$CFLAGS"
1248 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1249 echo "configure:1250: checking whether ${CC-cc} accepts -g" >&5
1250 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1251 echo $ac_n "(cached) $ac_c" 1>&6
1253 echo 'void f(){}' > conftest.c
1254 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1263 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1264 if test "$ac_test_CFLAGS" = set; then
1265 CFLAGS="$ac_save_CFLAGS"
1266 elif test $ac_cv_prog_cc_g = yes; then
1273 test "${CFLAGS+set}" = set || CFLAGS="-g"
1277 # Can't just call these here as g++ requires libstc++ to be built....
1280 # Likewise for AC_PROG_CXX.
1284 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1285 # flags that come in CXX while configuring libstdc++. They're different
1286 # from those used for all other target libraries. If CXX is set in
1287 # the environment, respect that here.
1289 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1291 # Extract the first word of "$ac_prog", so it can be a program name with args.
1292 set dummy $ac_prog; ac_word=$2
1293 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1294 echo "configure:1295: checking for $ac_word" >&5
1295 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1296 echo $ac_n "(cached) $ac_c" 1>&6
1298 if test -n "$glibcpp_CXX"; then
1299 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1301 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1303 for ac_dir in $ac_dummy; do
1304 test -z "$ac_dir" && ac_dir=.
1305 if test -f $ac_dir/$ac_word; then
1306 ac_cv_prog_glibcpp_CXX="$ac_prog"
1313 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1314 if test -n "$glibcpp_CXX"; then
1315 echo "$ac_t""$glibcpp_CXX" 1>&6
1317 echo "$ac_t""no" 1>&6
1320 test -n "$glibcpp_CXX" && break
1322 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc"
1326 test -z "$glibcpp_CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1328 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1329 echo "configure:1330: checking whether we are using GNU C++" >&5
1330 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1331 echo $ac_n "(cached) $ac_c" 1>&6
1333 cat > conftest.C <<EOF
1338 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1339: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1345 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1347 if test $ac_cv_prog_gxx = yes; then
1349 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1350 ac_save_CXXFLAGS="$CXXFLAGS"
1352 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1353 echo "configure:1354: checking whether ${CXX-g++} accepts -g" >&5
1354 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1355 echo $ac_n "(cached) $ac_c" 1>&6
1357 echo 'void f(){}' > conftest.cc
1358 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1359 ac_cv_prog_cxx_g=yes
1367 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1368 if test "$ac_test_CXXFLAGS" = set; then
1369 CXXFLAGS="$ac_save_CXXFLAGS"
1370 elif test $ac_cv_prog_cxx_g = yes; then
1377 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1381 # For some reason, gettext needs this.
1382 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
1383 echo "configure:1384: checking for POSIXized ISC" >&5
1384 if test -d /etc/conf/kconfig.d &&
1385 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
1387 echo "$ac_t""yes" 1>&6
1388 ISC=yes # If later tests want to check for ISC.
1389 cat >> confdefs.h <<\EOF
1390 #define _POSIX_SOURCE 1
1393 if test "$GCC" = yes; then
1399 echo "$ac_t""no" 1>&6
1404 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1405 set dummy ${ac_tool_prefix}as; ac_word=$2
1406 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1407 echo "configure:1408: checking for $ac_word" >&5
1408 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1409 echo $ac_n "(cached) $ac_c" 1>&6
1411 if test -n "$AS"; then
1412 ac_cv_prog_AS="$AS" # Let the user override the test.
1414 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1416 for ac_dir in $ac_dummy; do
1417 test -z "$ac_dir" && ac_dir=.
1418 if test -f $ac_dir/$ac_word; then
1419 ac_cv_prog_AS="${ac_tool_prefix}as"
1424 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1428 if test -n "$AS"; then
1429 echo "$ac_t""$AS" 1>&6
1431 echo "$ac_t""no" 1>&6
1436 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1437 set dummy ${ac_tool_prefix}ar; ac_word=$2
1438 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1439 echo "configure:1440: checking for $ac_word" >&5
1440 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1441 echo $ac_n "(cached) $ac_c" 1>&6
1443 if test -n "$AR"; then
1444 ac_cv_prog_AR="$AR" # Let the user override the test.
1446 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1448 for ac_dir in $ac_dummy; do
1449 test -z "$ac_dir" && ac_dir=.
1450 if test -f $ac_dir/$ac_word; then
1451 ac_cv_prog_AR="${ac_tool_prefix}ar"
1456 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1460 if test -n "$AR"; then
1461 echo "$ac_t""$AR" 1>&6
1463 echo "$ac_t""no" 1>&6
1468 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1469 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1470 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1471 echo "configure:1472: checking for $ac_word" >&5
1472 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1473 echo $ac_n "(cached) $ac_c" 1>&6
1475 if test -n "$RANLIB"; then
1476 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1478 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1480 for ac_dir in $ac_dummy; do
1481 test -z "$ac_dir" && ac_dir=.
1482 if test -f $ac_dir/$ac_word; then
1483 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1490 RANLIB="$ac_cv_prog_RANLIB"
1491 if test -n "$RANLIB"; then
1492 echo "$ac_t""$RANLIB" 1>&6
1494 echo "$ac_t""no" 1>&6
1498 if test -z "$ac_cv_prog_RANLIB"; then
1499 if test -n "$ac_tool_prefix"; then
1500 # Extract the first word of "ranlib", so it can be a program name with args.
1501 set dummy ranlib; ac_word=$2
1502 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1503 echo "configure:1504: checking for $ac_word" >&5
1504 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1505 echo $ac_n "(cached) $ac_c" 1>&6
1507 if test -n "$RANLIB"; then
1508 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1510 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1512 for ac_dir in $ac_dummy; do
1513 test -z "$ac_dir" && ac_dir=.
1514 if test -f $ac_dir/$ac_word; then
1515 ac_cv_prog_RANLIB="ranlib"
1520 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
1523 RANLIB="$ac_cv_prog_RANLIB"
1524 if test -n "$RANLIB"; then
1525 echo "$ac_t""$RANLIB" 1>&6
1527 echo "$ac_t""no" 1>&6
1531 RANLIB="ranlib-not-found-in-path-error"
1535 # Find a good install program. We prefer a C program (faster),
1536 # so one script is as good as another. But avoid the broken or
1537 # incompatible versions:
1538 # SysV /etc/install, /usr/sbin/install
1539 # SunOS /usr/etc/install
1540 # IRIX /sbin/install
1542 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1543 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1544 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1545 # ./install, which can be erroneously created by make from ./install.sh.
1546 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1547 echo "configure:1548: checking for a BSD compatible install" >&5
1548 if test -z "$INSTALL"; then
1549 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1550 echo $ac_n "(cached) $ac_c" 1>&6
1552 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1553 for ac_dir in $PATH; do
1554 # Account for people who put trailing slashes in PATH elements.
1556 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1558 # OSF1 and SCO ODT 3.0 have their own names for install.
1559 # Don't use installbsd from OSF since it installs stuff as root
1561 for ac_prog in ginstall scoinst install; do
1562 if test -f $ac_dir/$ac_prog; then
1563 if test $ac_prog = install &&
1564 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1565 # AIX install. It has an incompatible calling convention.
1568 ac_cv_path_install="$ac_dir/$ac_prog -c"
1579 if test "${ac_cv_path_install+set}" = set; then
1580 INSTALL="$ac_cv_path_install"
1582 # As a last resort, use the slow shell script. We don't cache a
1583 # path for INSTALL within a source directory, because that will
1584 # break other packages using the cache if that directory is
1585 # removed, or if the path is relative.
1586 INSTALL="$ac_install_sh"
1589 echo "$ac_t""$INSTALL" 1>&6
1591 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1592 # It thinks the first close brace ends the variable substitution.
1593 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1595 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1597 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1600 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1601 echo "configure:1602: checking whether to enable maintainer-specific portions of Makefiles" >&5
1602 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1603 if test "${enable_maintainer_mode+set}" = set; then
1604 enableval="$enable_maintainer_mode"
1605 USE_MAINTAINER_MODE=$enableval
1607 USE_MAINTAINER_MODE=no
1610 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1613 if test $USE_MAINTAINER_MODE = yes; then
1614 MAINTAINER_MODE_TRUE=
1615 MAINTAINER_MODE_FALSE='#'
1617 MAINTAINER_MODE_TRUE='#'
1618 MAINTAINER_MODE_FALSE=
1620 MAINT=$MAINTAINER_MODE_TRUE
1624 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1625 # at least currently, we never actually build a program, so we never
1626 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1627 # fails, because we are probably configuring with a cross compiler
1628 # which cant create executables. So we include AC_EXEEXT to keep
1629 # automake happy, but we dont execute it, since we dont care about
1632 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1633 # to nothing, so nothing would remain between `then' and `fi' if it
1634 # were not for the `:' below.
1638 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1639 echo "configure:1640: checking for executable suffix" >&5
1640 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1641 echo $ac_n "(cached) $ac_c" 1>&6
1643 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1647 echo 'int main () { return 0; }' > conftest.$ac_ext
1649 if { (eval echo configure:1650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1650 for file in conftest.*; do
1652 *.c | *.o | *.obj | *.ilk | *.pdb) ;;
1653 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1657 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1660 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1665 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1666 echo "$ac_t""${ac_cv_exeext}" 1>&6
1671 . ${glibcpp_basedir}/configure.host
1673 case ${glibcpp_basedir} in
1674 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1675 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1678 # This does for the target what configure.host does for the host. In
1679 # addition to possibly modifying the same flags, it also sets up symlinks.
1681 . ${glibcpp_basedir}/configure.target
1682 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1683 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1690 # Check whether --enable-shared or --disable-shared was given.
1691 if test "${enable_shared+set}" = set; then
1692 enableval="$enable_shared"
1693 p=${PACKAGE-default}
1695 yes) enable_shared=yes ;;
1696 no) enable_shared=no ;;
1699 # Look at the argument we got. We use all the common list separators.
1700 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1701 for pkg in $enableval; do
1702 if test "X$pkg" = "X$p"; then
1713 # Check whether --enable-static or --disable-static was given.
1714 if test "${enable_static+set}" = set; then
1715 enableval="$enable_static"
1716 p=${PACKAGE-default}
1718 yes) enable_static=yes ;;
1719 no) enable_static=no ;;
1722 # Look at the argument we got. We use all the common list separators.
1723 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1724 for pkg in $enableval; do
1725 if test "X$pkg" = "X$p"; then
1736 # Check whether --enable-fast-install or --disable-fast-install was given.
1737 if test "${enable_fast_install+set}" = set; then
1738 enableval="$enable_fast_install"
1739 p=${PACKAGE-default}
1741 yes) enable_fast_install=yes ;;
1742 no) enable_fast_install=no ;;
1744 enable_fast_install=no
1745 # Look at the argument we got. We use all the common list separators.
1746 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1747 for pkg in $enableval; do
1748 if test "X$pkg" = "X$p"; then
1749 enable_fast_install=yes
1756 enable_fast_install=yes
1759 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1760 if test "${with_gnu_ld+set}" = set; then
1761 withval="$with_gnu_ld"
1762 test "$withval" = no || with_gnu_ld=yes
1768 if test "$GCC" = yes; then
1769 # Check if gcc -print-prog-name=ld gives a path.
1770 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1771 echo "configure:1772: checking for ld used by GCC" >&5
1774 # gcc leaves a trailing carriage return which upsets mingw
1775 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1777 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1780 # Accept absolute paths.
1781 [\\/]* | [A-Za-z]:[\\/]*)
1782 re_direlt='/[^/][^/]*/\.\./'
1783 # Canonicalize the path of ld
1784 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1785 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1786 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1788 test -z "$LD" && LD="$ac_prog"
1791 # If it fails, then pretend we aren't using GCC.
1795 # If it is relative, then search for the first ld in PATH.
1799 elif test "$with_gnu_ld" = yes; then
1800 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1801 echo "configure:1802: checking for GNU ld" >&5
1803 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1804 echo "configure:1805: checking for non-GNU ld" >&5
1806 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1807 echo $ac_n "(cached) $ac_c" 1>&6
1809 if test -z "$LD"; then
1810 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1811 for ac_dir in $PATH; do
1812 test -z "$ac_dir" && ac_dir=.
1813 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1814 lt_cv_path_LD="$ac_dir/$ac_prog"
1815 # Check to see if the program is GNU ld. I'd rather use --version,
1816 # but apparently some GNU ld's only accept -v.
1817 # Break only if it was the GNU/non-GNU ld that we prefer.
1818 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1819 test "$with_gnu_ld" != no && break
1821 test "$with_gnu_ld" != yes && break
1827 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1832 if test -n "$LD"; then
1833 echo "$ac_t""$LD" 1>&6
1835 echo "$ac_t""no" 1>&6
1837 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1838 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1839 echo "configure:1840: checking if the linker ($LD) is GNU ld" >&5
1840 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1841 echo $ac_n "(cached) $ac_c" 1>&6
1843 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1844 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1845 lt_cv_prog_gnu_ld=yes
1847 lt_cv_prog_gnu_ld=no
1851 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1852 with_gnu_ld=$lt_cv_prog_gnu_ld
1855 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1856 echo "configure:1857: checking for $LD option to reload object files" >&5
1857 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1858 echo $ac_n "(cached) $ac_c" 1>&6
1860 lt_cv_ld_reload_flag='-r'
1863 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1864 reload_flag=$lt_cv_ld_reload_flag
1865 test -n "$reload_flag" && reload_flag=" $reload_flag"
1867 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1868 echo "configure:1869: checking for BSD-compatible nm" >&5
1869 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1870 echo $ac_n "(cached) $ac_c" 1>&6
1872 if test -n "$NM"; then
1873 # Let the user override the test.
1876 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1877 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1878 test -z "$ac_dir" && ac_dir=.
1879 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1880 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1881 # Check to see if the nm accepts a BSD-compat flag.
1882 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1883 # nm: unknown option "B" ignored
1884 # Tru64's nm complains that /dev/null is an invalid object file
1885 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1886 lt_cv_path_NM="$tmp_nm -B"
1888 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1889 lt_cv_path_NM="$tmp_nm -p"
1892 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1893 continue # so that we can try to find one that supports BSD flags
1898 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1903 echo "$ac_t""$NM" 1>&6
1905 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1906 echo "configure:1907: checking how to recognise dependant libraries" >&5
1907 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1908 echo $ac_n "(cached) $ac_c" 1>&6
1910 lt_cv_file_magic_cmd='$MAGIC_CMD'
1911 lt_cv_file_magic_test_file=
1912 lt_cv_deplibs_check_method='unknown'
1913 # Need to set the preceding variable on all platforms that support
1914 # interlibrary dependencies.
1915 # 'none' -- dependencies not supported.
1916 # `unknown' -- same as none, but documents that we really don't know.
1917 # 'pass_all' -- all dependencies passed with no checks.
1918 # 'test_compile' -- check by making test program.
1919 # 'file_magic [regex]' -- check by looking for files in library path
1920 # which responds to the $file_magic_cmd with a given egrep regex.
1921 # If you have `file' or equivalent on your system and you're not sure
1922 # whether `pass_all' will *always* work, you probably want this one.
1926 lt_cv_deplibs_check_method=pass_all
1930 lt_cv_deplibs_check_method=pass_all
1934 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1935 lt_cv_file_magic_cmd='/usr/bin/file -L'
1936 lt_cv_file_magic_test_file=/shlib/libc.so
1939 cygwin* | mingw* |pw32*)
1940 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1941 lt_cv_file_magic_cmd='$OBJDUMP -f'
1944 darwin* | rhapsody*)
1945 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1946 lt_cv_file_magic_cmd='/usr/bin/file -L'
1948 rhapsody* | darwin1.012)
1949 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1952 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1958 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1961 # Not sure whether the presence of OpenBSD here was a mistake.
1962 # Let's accept both of them until this is cleared up.
1963 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1964 lt_cv_file_magic_cmd=/usr/bin/file
1965 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1969 lt_cv_deplibs_check_method=pass_all
1974 lt_cv_deplibs_check_method=pass_all
1978 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1979 lt_cv_file_magic_cmd=/usr/bin/file
1980 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1986 # this will be overridden with pass_all, but let us keep it just in case
1987 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1991 *-32|*"-32 ") libmagic=32-bit;;
1992 *-n32|*"-n32 ") libmagic=N32;;
1993 *-64|*"-64 ") libmagic=64-bit;;
1994 *) libmagic=never-match;;
1996 # this will be overridden with pass_all, but let us keep it just in case
1997 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
2000 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
2001 lt_cv_deplibs_check_method=pass_all
2004 # This must be Linux ELF.
2007 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2008 lt_cv_deplibs_check_method=pass_all ;;
2010 # glibc up to 2.1.1 does not perform some relocations on ARM
2011 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2013 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2017 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2018 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2020 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2025 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2026 lt_cv_file_magic_cmd=/usr/bin/file
2027 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2030 osf3* | osf4* | osf5*)
2031 # this will be overridden with pass_all, but let us keep it just in case
2032 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2033 lt_cv_file_magic_test_file=/shlib/libc.so
2034 lt_cv_deplibs_check_method=pass_all
2038 lt_cv_deplibs_check_method=pass_all
2042 lt_cv_deplibs_check_method=pass_all
2043 lt_cv_file_magic_test_file=/lib/libc.so
2046 sysv5uw[78]* | sysv4*uw2*)
2047 lt_cv_deplibs_check_method=pass_all
2050 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2051 case $host_vendor in
2053 lt_cv_deplibs_check_method=pass_all
2056 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]'
2057 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2065 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2066 file_magic_cmd=$lt_cv_file_magic_cmd
2067 deplibs_check_method=$lt_cv_deplibs_check_method
2069 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2070 echo "configure:2071: checking for object suffix" >&5
2071 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2072 echo $ac_n "(cached) $ac_c" 1>&6
2075 echo 'int i = 1;' > conftest.$ac_ext
2076 if { (eval echo configure:2077: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2077 for ac_file in conftest.*; do
2080 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2084 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2089 echo "$ac_t""$ac_cv_objext" 1>&6
2090 OBJEXT=$ac_cv_objext
2091 ac_objext=$ac_cv_objext
2093 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2095 # Only perform the check for file, if the check method requires it
2096 case $deplibs_check_method in
2098 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2099 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2100 echo "configure:2101: checking for ${ac_tool_prefix}file" >&5
2101 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2102 echo $ac_n "(cached) $ac_c" 1>&6
2106 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2109 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2112 ac_save_MAGIC_CMD="$MAGIC_CMD"
2113 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2114 ac_dummy="/usr/bin:$PATH"
2115 for ac_dir in $ac_dummy; do
2116 test -z "$ac_dir" && ac_dir=.
2117 if test -f $ac_dir/${ac_tool_prefix}file; then
2118 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2119 if test -n "$file_magic_test_file"; then
2120 case $deplibs_check_method in
2122 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2123 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2124 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2125 egrep "$file_magic_regex" > /dev/null; then
2130 *** Warning: the command libtool uses to detect shared libraries,
2131 *** $file_magic_cmd, produces output that libtool cannot recognize.
2132 *** The result is that libtool may fail to recognize shared libraries
2133 *** as such. This will affect the creation of libtool libraries that
2134 *** depend on shared libraries, but programs linked with such libtool
2135 *** libraries will work regardless of this problem. Nevertheless, you
2136 *** may want to report the problem to your system manager and/or to
2137 *** bug-libtool@gnu.org
2147 MAGIC_CMD="$ac_save_MAGIC_CMD"
2152 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2153 if test -n "$MAGIC_CMD"; then
2154 echo "$ac_t""$MAGIC_CMD" 1>&6
2156 echo "$ac_t""no" 1>&6
2159 if test -z "$lt_cv_path_MAGIC_CMD"; then
2160 if test -n "$ac_tool_prefix"; then
2161 echo $ac_n "checking for file""... $ac_c" 1>&6
2162 echo "configure:2163: checking for file" >&5
2163 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2164 echo $ac_n "(cached) $ac_c" 1>&6
2168 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2171 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2174 ac_save_MAGIC_CMD="$MAGIC_CMD"
2175 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2176 ac_dummy="/usr/bin:$PATH"
2177 for ac_dir in $ac_dummy; do
2178 test -z "$ac_dir" && ac_dir=.
2179 if test -f $ac_dir/file; then
2180 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2181 if test -n "$file_magic_test_file"; then
2182 case $deplibs_check_method in
2184 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2185 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2186 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2187 egrep "$file_magic_regex" > /dev/null; then
2192 *** Warning: the command libtool uses to detect shared libraries,
2193 *** $file_magic_cmd, produces output that libtool cannot recognize.
2194 *** The result is that libtool may fail to recognize shared libraries
2195 *** as such. This will affect the creation of libtool libraries that
2196 *** depend on shared libraries, but programs linked with such libtool
2197 *** libraries will work regardless of this problem. Nevertheless, you
2198 *** may want to report the problem to your system manager and/or to
2199 *** bug-libtool@gnu.org
2209 MAGIC_CMD="$ac_save_MAGIC_CMD"
2214 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2215 if test -n "$MAGIC_CMD"; then
2216 echo "$ac_t""$MAGIC_CMD" 1>&6
2218 echo "$ac_t""no" 1>&6
2230 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2231 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2232 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2233 echo "configure:2234: checking for $ac_word" >&5
2234 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2235 echo $ac_n "(cached) $ac_c" 1>&6
2237 if test -n "$RANLIB"; then
2238 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2240 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2242 for ac_dir in $ac_dummy; do
2243 test -z "$ac_dir" && ac_dir=.
2244 if test -f $ac_dir/$ac_word; then
2245 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2252 RANLIB="$ac_cv_prog_RANLIB"
2253 if test -n "$RANLIB"; then
2254 echo "$ac_t""$RANLIB" 1>&6
2256 echo "$ac_t""no" 1>&6
2260 if test -z "$ac_cv_prog_RANLIB"; then
2261 if test -n "$ac_tool_prefix"; then
2262 # Extract the first word of "ranlib", so it can be a program name with args.
2263 set dummy ranlib; ac_word=$2
2264 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2265 echo "configure:2266: checking for $ac_word" >&5
2266 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2267 echo $ac_n "(cached) $ac_c" 1>&6
2269 if test -n "$RANLIB"; then
2270 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2272 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2274 for ac_dir in $ac_dummy; do
2275 test -z "$ac_dir" && ac_dir=.
2276 if test -f $ac_dir/$ac_word; then
2277 ac_cv_prog_RANLIB="ranlib"
2282 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2285 RANLIB="$ac_cv_prog_RANLIB"
2286 if test -n "$RANLIB"; then
2287 echo "$ac_t""$RANLIB" 1>&6
2289 echo "$ac_t""no" 1>&6
2297 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2298 set dummy ${ac_tool_prefix}strip; ac_word=$2
2299 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2300 echo "configure:2301: checking for $ac_word" >&5
2301 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2302 echo $ac_n "(cached) $ac_c" 1>&6
2304 if test -n "$STRIP"; then
2305 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2307 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2309 for ac_dir in $ac_dummy; do
2310 test -z "$ac_dir" && ac_dir=.
2311 if test -f $ac_dir/$ac_word; then
2312 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2319 STRIP="$ac_cv_prog_STRIP"
2320 if test -n "$STRIP"; then
2321 echo "$ac_t""$STRIP" 1>&6
2323 echo "$ac_t""no" 1>&6
2327 if test -z "$ac_cv_prog_STRIP"; then
2328 if test -n "$ac_tool_prefix"; then
2329 # Extract the first word of "strip", so it can be a program name with args.
2330 set dummy strip; ac_word=$2
2331 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2332 echo "configure:2333: checking for $ac_word" >&5
2333 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2334 echo $ac_n "(cached) $ac_c" 1>&6
2336 if test -n "$STRIP"; then
2337 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2339 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2341 for ac_dir in $ac_dummy; do
2342 test -z "$ac_dir" && ac_dir=.
2343 if test -f $ac_dir/$ac_word; then
2344 ac_cv_prog_STRIP="strip"
2349 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2352 STRIP="$ac_cv_prog_STRIP"
2353 if test -n "$STRIP"; then
2354 echo "$ac_t""$STRIP" 1>&6
2356 echo "$ac_t""no" 1>&6
2365 # Check for any special flags to pass to ltconfig.
2366 libtool_flags="--cache-file=$cache_file"
2367 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2368 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2369 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2370 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2371 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2372 libtool_flags="$libtool_flags --enable-dlopen"
2374 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2375 if test "${enable_libtool_lock+set}" = set; then
2376 enableval="$enable_libtool_lock"
2380 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2381 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2383 # Check whether --with-pic or --without-pic was given.
2384 if test "${with_pic+set}" = set; then
2391 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2392 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2394 # Some flags need to be propagated to the compiler or linker for good
2398 # Find out which ABI we are using.
2399 echo '#line 2400 "configure"' > conftest.$ac_ext
2400 if { (eval echo configure:2401: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2401 case `/usr/bin/file conftest.$ac_objext` in
2417 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2418 SAVE_CFLAGS="$CFLAGS"
2419 CFLAGS="$CFLAGS -belf"
2420 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2421 echo "configure:2422: checking whether the C compiler needs -belf" >&5
2422 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2423 echo $ac_n "(cached) $ac_c" 1>&6
2427 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2428 ac_cpp='$CPP $CPPFLAGS'
2429 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2430 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2431 cross_compiling=$ac_cv_prog_cc_cross
2433 cat > conftest.$ac_ext <<EOF
2434 #line 2435 "configure"
2435 #include "confdefs.h"
2441 if { (eval echo configure:2442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2443 lt_cv_cc_needs_belf=yes
2445 echo "configure: failed program was:" >&5
2446 cat conftest.$ac_ext >&5
2448 lt_cv_cc_needs_belf=no
2452 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2453 ac_cpp='$CPP $CPPFLAGS'
2454 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2455 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2456 cross_compiling=$ac_cv_prog_cc_cross
2460 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2461 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2462 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2463 CFLAGS="$SAVE_CFLAGS"
2470 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2471 echo "configure:2472: checking how to run the C++ preprocessor" >&5
2472 if test -z "$CXXCPP"; then
2473 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2474 echo $ac_n "(cached) $ac_c" 1>&6
2477 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2478 ac_cpp='$CXXCPP $CPPFLAGS'
2479 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2480 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2481 cross_compiling=$ac_cv_prog_cxx_cross
2482 CXXCPP="${CXX-g++} -E"
2483 cat > conftest.$ac_ext <<EOF
2484 #line 2485 "configure"
2485 #include "confdefs.h"
2488 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2489 { (eval echo configure:2490: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2490 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2491 if test -z "$ac_err"; then
2495 echo "configure: failed program was:" >&5
2496 cat conftest.$ac_ext >&5
2501 ac_cv_prog_CXXCPP="$CXXCPP"
2503 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2504 ac_cpp='$CPP $CPPFLAGS'
2505 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2506 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2507 cross_compiling=$ac_cv_prog_cc_cross
2510 CXXCPP="$ac_cv_prog_CXXCPP"
2511 echo "$ac_t""$CXXCPP" 1>&6
2514 # Save cache, so that ltconfig can load it
2515 cat > confcache <<\EOF
2516 # This file is a shell script that caches the results of configure
2517 # tests run on this system so they can be shared between configure
2518 # scripts and configure runs. It is not useful on other systems.
2519 # If it contains results you don't want to keep, you may remove or edit it.
2521 # By default, configure uses ./config.cache as the cache file,
2522 # creating it if it does not exist already. You can give configure
2523 # the --cache-file=FILE option to use a different cache file; that is
2524 # what configure does when it calls configure scripts in
2525 # subdirectories, so they share the cache.
2526 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2527 # config.status only pays attention to the cache file if you give it the
2528 # --recheck option to rerun configure.
2531 # The following way of writing the cache mishandles newlines in values,
2532 # but we know of no workaround that is simple, portable, and efficient.
2533 # So, don't put newlines in cache variables' values.
2534 # Ultrix sh set writes to stderr and can't be redirected directly,
2535 # and sets the high bit in the cache file unless we assign to the vars.
2537 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2539 # `set' does not quote correctly, so add quotes (double-quote substitution
2540 # turns \\\\ into \\, and sed turns \\ into \).
2542 -e "s/'/'\\\\''/g" \
2543 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2546 # `set' quotes correctly as required by POSIX, so do not add quotes.
2547 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2550 if cmp -s $cache_file confcache; then
2553 if test -w $cache_file; then
2554 echo "updating cache $cache_file"
2555 cat confcache > $cache_file
2557 echo "not updating unwritable cache $cache_file"
2563 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2564 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2565 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2566 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2567 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2568 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2569 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2570 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2571 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2572 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2574 # Reload cache, that may have been modified by ltconfig
2575 if test -r "$cache_file"; then
2576 echo "loading cache $cache_file"
2579 echo "creating cache $cache_file"
2584 # This can be used to rebuild libtool when needed
2585 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2587 # Always use our own libtool.
2588 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2590 # Redirect the config.log output again, so that the ltconfig log is not
2591 # clobbered by the next message.
2592 exec 5>>./config.log
2596 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2598 lt_save_CFLAGS="$CFLAGS"
2599 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2600 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2601 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2602 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2603 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2604 deplibs_check_method="$deplibs_check_method" \
2605 file_magic_cmd="$file_magic_cmd" \
2606 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2607 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2608 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2610 CFLAGS="$lt_save_CFLAGS"
2612 # Redirect the config.log output again, so that the ltconfig log is not
2613 # clobbered by the next message.
2614 exec 5>>./config.log
2624 # Check for c++ or library specific bits that don't require linking.
2625 #GLIBCPP_CHECK_COMPILER_VERSION
2626 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2627 echo "configure:2628: checking for GNU make" >&5
2628 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2629 echo $ac_n "(cached) $ac_c" 1>&6
2631 _cv_gnu_make_command='' ;
2632 for a in "${MAKE-make}" make gmake gnumake ; do
2633 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2635 _cv_gnu_make_command=$a ;
2642 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2643 if test "x$_cv_gnu_make_command" != "x" ; then
2651 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2652 # Check whether --enable-debug or --disable-debug was given.
2653 if test "${enable_debug+set}" = set; then
2654 enableval="$enable_debug"
2655 case "${enableval}" in
2656 yes) enable_debug=yes ;;
2657 no) enable_debug=no ;;
2658 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2664 case "${enable_debug}" in
2666 DEBUG_FLAGS='-O0 -ggdb3'
2674 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2675 echo "configure:2676: checking how to run the C preprocessor" >&5
2676 # On Suns, sometimes $CPP names a directory.
2677 if test -n "$CPP" && test -d "$CPP"; then
2680 if test -z "$CPP"; then
2681 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2682 echo $ac_n "(cached) $ac_c" 1>&6
2684 # This must be in double quotes, not single quotes, because CPP may get
2685 # substituted into the Makefile and "${CC-cc}" will confuse make.
2687 # On the NeXT, cc -E runs the code through the compiler's parser,
2688 # not just through cpp.
2689 cat > conftest.$ac_ext <<EOF
2690 #line 2691 "configure"
2691 #include "confdefs.h"
2695 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2696 { (eval echo configure:2697: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2697 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2698 if test -z "$ac_err"; then
2702 echo "configure: failed program was:" >&5
2703 cat conftest.$ac_ext >&5
2705 CPP="${CC-cc} -E -traditional-cpp"
2706 cat > conftest.$ac_ext <<EOF
2707 #line 2708 "configure"
2708 #include "confdefs.h"
2712 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2713 { (eval echo configure:2714: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2714 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2715 if test -z "$ac_err"; then
2719 echo "configure: failed program was:" >&5
2720 cat conftest.$ac_ext >&5
2722 CPP="${CC-cc} -nologo -E"
2723 cat > conftest.$ac_ext <<EOF
2724 #line 2725 "configure"
2725 #include "confdefs.h"
2729 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2730 { (eval echo configure:2731: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2731 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2732 if test -z "$ac_err"; then
2736 echo "configure: failed program was:" >&5
2737 cat conftest.$ac_ext >&5
2746 ac_cv_prog_CPP="$CPP"
2748 CPP="$ac_cv_prog_CPP"
2750 ac_cv_prog_CPP="$CPP"
2752 echo "$ac_t""$CPP" 1>&6
2755 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2756 echo "configure:2757: checking for cstdio to use" >&5
2757 # Check whether --enable-cstdio or --disable-cstdio was given.
2758 if test "${enable_cstdio+set}" = set; then
2759 enableval="$enable_cstdio"
2760 if test x$enable_cstdio = xno; then
2768 enable_cstdio_flag=$enable_cstdio
2770 case x${enable_cstdio_flag} in
2772 CSTDIO_H=config/io/c_io_libio.h
2773 BASIC_FILE_H=config/io/basic_file_libio.h
2774 BASIC_FILE_CC=config/io/basic_file_libio.cc
2775 echo "$ac_t""libio" 1>&6
2777 # see if we are on a system with libio native (ie, linux)
2778 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2779 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2780 echo "configure:2781: checking for libio.h" >&5
2781 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2782 echo $ac_n "(cached) $ac_c" 1>&6
2784 cat > conftest.$ac_ext <<EOF
2785 #line 2786 "configure"
2786 #include "confdefs.h"
2789 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2790 { (eval echo configure:2791: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2791 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2792 if test -z "$ac_err"; then
2794 eval "ac_cv_header_$ac_safe=yes"
2797 echo "configure: failed program was:" >&5
2798 cat conftest.$ac_ext >&5
2800 eval "ac_cv_header_$ac_safe=no"
2804 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2805 echo "$ac_t""yes" 1>&6
2808 echo "$ac_t""no" 1>&6
2813 # Need to check and see what version of glibc is being used. If
2814 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2815 # compile most of libio for linux systems.
2816 if test x$has_libio = x"yes"; then
2819 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2820 echo "configure:2821: checking for glibc version >= 2.2" >&5
2821 cat > conftest.$ac_ext <<EOF
2822 #line 2823 "configure"
2823 #include "confdefs.h"
2825 #include <features.h>
2826 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2831 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2832 egrep "ok" >/dev/null 2>&1; then
2834 glibc_satisfactory=yes
2837 glibc_satisfactory=no
2841 echo "$ac_t""$glibc_satisfactory" 1>&6
2845 # XXX at the moment, admit defeat and force the recompilation
2846 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2847 glibc_satisfactory=no
2849 if test x$glibc_satisfactory = x"yes"; then
2854 # bkoz XXX need to add checks to enable this
2855 # pme XXX here's a first pass at such a check
2856 if test x$enable_c_mbchar != xno; then
2864 # Using libio, but <libio.h> doesn't exist on the target system. . .
2866 # bkoz XXX need to add checks to enable this
2867 # pme XXX here's a first pass at such a check
2868 if test x$enable_c_mbchar != xno; then
2875 xstdio | x | xno | xnone | xyes)
2877 CSTDIO_H=config/io/c_io_stdio.h
2878 BASIC_FILE_H=config/io/basic_file_stdio.h
2879 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2880 echo "$ac_t""stdio" 1>&6
2882 # We're not using stdio.
2887 echo "$enable_cstdio is an unknown io package" 1>&2
2895 # 2000-08-04 bkoz hack
2896 CCODECVT_C=config/io/c_io_libio_codecvt.c
2898 # 2000-08-04 bkoz hack
2902 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2903 GLIBCPP_BUILD_LIBIO_TRUE=
2904 GLIBCPP_BUILD_LIBIO_FALSE='#'
2906 GLIBCPP_BUILD_LIBIO_TRUE='#'
2907 GLIBCPP_BUILD_LIBIO_FALSE=
2911 if test "$need_libio" = yes; then
2912 GLIBCPP_NEED_LIBIO_TRUE=
2913 GLIBCPP_NEED_LIBIO_FALSE='#'
2915 GLIBCPP_NEED_LIBIO_TRUE='#'
2916 GLIBCPP_NEED_LIBIO_FALSE=
2920 if test "$need_wlibio" = yes; then
2921 GLIBCPP_NEED_WLIBIO_TRUE=
2922 GLIBCPP_NEED_WLIBIO_FALSE='#'
2924 GLIBCPP_NEED_WLIBIO_TRUE='#'
2925 GLIBCPP_NEED_WLIBIO_FALSE=
2927 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2928 libio_la=../libio/libio.la
2935 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
2936 echo "configure:2937: checking for clocale to use" >&5
2937 # Check whether --enable-clocale or --disable-clocale was given.
2938 if test "${enable_clocale+set}" = set; then
2939 enableval="$enable_clocale"
2940 if test x$enable_clocale = xno; then
2941 enable_clocale=generic
2944 enable_clocale=generic
2948 enable_clocale_flag=$enable_clocale
2950 case x${enable_clocale_flag} in
2952 echo "$ac_t""generic" 1>&6
2954 # Don't use gettext.
2957 CLOCALE_H=config/locale/c_locale_generic.h
2958 CLOCALE_CC=config/locale/c_locale_generic.cc
2959 CCODECVT_H=config/locale/codecvt_specializations_generic.h
2960 CMESSAGES_H=config/locale/messages_members_generic.h
2961 CMESSAGES_CC=config/locale/messages_members_generic.cc
2962 CCOLLATE_CC=config/locale/collate_specializations_generic.cc
2965 echo "$ac_t""gnu" 1>&6
2967 # Declare intention to use gettext, and add support for specific
2969 # For some reason, ALL_LINGUAS has to be before AM_GNU_GETTEXT
2971 # Don't call AM_GNU_GETTEXT here. Instead, assume glibc.
2972 # Need to deal with MSGFMT, USE_NLS, and glibcpp_[P,M]OFILES
2975 # Export the build objects.
2976 for ling in $ALL_LINGUAS; do \
2977 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo"; \
2978 glibcpp_POFILES="$glibcpp_POFILES $ling.po"; \
2983 CLOCALE_H=config/locale/c_locale_gnu.h
2984 CLOCALE_CC=config/locale/c_locale_gnu.cc
2985 CCODECVT_H=config/locale/codecvt_specializations_ieee_1003.1-200x.h
2986 CMESSAGES_H=config/locale/messages_members_gnu.h
2987 CMESSAGES_CC=config/locale/messages_members_gnu.cc
2988 CCOLLATE_CC=config/locale/collate_specializations_gnu.cc
2991 echo "$ac_t""generic" 1>&6
2993 # Don't use gettext.
2996 CLOCALE_H=config/locale/c_locale_ieee_1003.1-200x.h
2997 CLOCALE_CC=config/locale/c_locale_ieee_1003.1-200x.cc
2998 CCODECVT_H=config/locale/codecvt_specializations_ieee_1003.1-200x.h
2999 CMESSAGES_H=config/locale/messages_members_ieee_1003.1-200x.h
3000 CMESSAGES_CC=config/locale/messages_members_ieee_1003.1-200x.cc
3001 CCOLLATE_CC=config/locale/collate_specializations_generic.cc
3004 echo "$enable_clocale is an unknown locale package" 1>&2
3009 # This is where the testsuite looks for locale catalogs, using the
3010 # -DLOCALEDIR define during testsuite compilation.
3011 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3022 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3023 if test "${enable_c_mbchar+set}" = set; then
3024 enableval="$enable_c_mbchar"
3025 case "$enableval" in
3026 yes) enable_c_mbchar=yes ;;
3027 no) enable_c_mbchar=no ;;
3028 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
3035 # Check whether --enable-c99 or --disable-c99 was given.
3036 if test "${enable_c99+set}" = set; then
3037 enableval="$enable_c99"
3038 case "$enableval" in
3039 yes) enable_c99=yes ;;
3040 no) enable_c99=no ;;
3041 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
3049 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3050 ac_cpp='$CXXCPP $CPPFLAGS'
3051 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3052 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3053 cross_compiling=$ac_cv_prog_cxx_cross
3056 # Check for the existence of <math.h> functions used if C99 is enabled.
3058 echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
3059 echo "configure:3060: checking for ISO C99 support in <math.h>" >&5
3060 cat > conftest.$ac_ext <<EOF
3061 #line 3062 "configure"
3062 #include "confdefs.h"
3068 if { (eval echo configure:3069: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3071 echo "configure: failed program was:" >&5
3072 cat conftest.$ac_ext >&5
3077 cat > conftest.$ac_ext <<EOF
3078 #line 3079 "configure"
3079 #include "confdefs.h"
3085 if { (eval echo configure:3086: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3088 echo "configure: failed program was:" >&5
3089 cat conftest.$ac_ext >&5
3094 cat > conftest.$ac_ext <<EOF
3095 #line 3096 "configure"
3096 #include "confdefs.h"
3102 if { (eval echo configure:3103: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3105 echo "configure: failed program was:" >&5
3106 cat conftest.$ac_ext >&5
3111 cat > conftest.$ac_ext <<EOF
3112 #line 3113 "configure"
3113 #include "confdefs.h"
3119 if { (eval echo configure:3120: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3122 echo "configure: failed program was:" >&5
3123 cat conftest.$ac_ext >&5
3128 cat > conftest.$ac_ext <<EOF
3129 #line 3130 "configure"
3130 #include "confdefs.h"
3136 if { (eval echo configure:3137: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3139 echo "configure: failed program was:" >&5
3140 cat conftest.$ac_ext >&5
3145 cat > conftest.$ac_ext <<EOF
3146 #line 3147 "configure"
3147 #include "confdefs.h"
3153 if { (eval echo configure:3154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3156 echo "configure: failed program was:" >&5
3157 cat conftest.$ac_ext >&5
3162 cat > conftest.$ac_ext <<EOF
3163 #line 3164 "configure"
3164 #include "confdefs.h"
3170 if { (eval echo configure:3171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3173 echo "configure: failed program was:" >&5
3174 cat conftest.$ac_ext >&5
3179 cat > conftest.$ac_ext <<EOF
3180 #line 3181 "configure"
3181 #include "confdefs.h"
3184 isgreaterequal(0.0,0.0);
3187 if { (eval echo configure:3188: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3190 echo "configure: failed program was:" >&5
3191 cat conftest.$ac_ext >&5
3196 cat > conftest.$ac_ext <<EOF
3197 #line 3198 "configure"
3198 #include "confdefs.h"
3204 if { (eval echo configure:3205: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3207 echo "configure: failed program was:" >&5
3208 cat conftest.$ac_ext >&5
3213 cat > conftest.$ac_ext <<EOF
3214 #line 3215 "configure"
3215 #include "confdefs.h"
3218 islessequal(0.0,0.0);
3221 if { (eval echo configure:3222: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3224 echo "configure: failed program was:" >&5
3225 cat conftest.$ac_ext >&5
3230 cat > conftest.$ac_ext <<EOF
3231 #line 3232 "configure"
3232 #include "confdefs.h"
3235 islessgreater(0.0,0.0);
3238 if { (eval echo configure:3239: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3241 echo "configure: failed program was:" >&5
3242 cat conftest.$ac_ext >&5
3247 cat > conftest.$ac_ext <<EOF
3248 #line 3249 "configure"
3249 #include "confdefs.h"
3252 isunordered(0.0,0.0);
3255 if { (eval echo configure:3256: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3258 echo "configure: failed program was:" >&5
3259 cat conftest.$ac_ext >&5
3264 echo "$ac_t""$ac_c99_math" 1>&6
3266 # Check for the existence in <stdio.h> of vscanf, et. al.
3268 echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
3269 echo "configure:3270: checking for ISO C99 support in <stdio.h>" >&5
3270 cat > conftest.$ac_ext <<EOF
3271 #line 3272 "configure"
3272 #include "confdefs.h"
3275 snprintf("12", 0, "%i");
3278 if { (eval echo configure:3279: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3281 echo "configure: failed program was:" >&5
3282 cat conftest.$ac_ext >&5
3287 cat > conftest.$ac_ext <<EOF
3288 #line 3289 "configure"
3289 #include "confdefs.h"
3292 void foo(char* fmt, ...)
3293 {va_list args; va_start(args, fmt);
3294 vfscanf(stderr, "%i", args);}
3299 if { (eval echo configure:3300: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3302 echo "configure: failed program was:" >&5
3303 cat conftest.$ac_ext >&5
3308 cat > conftest.$ac_ext <<EOF
3309 #line 3310 "configure"
3310 #include "confdefs.h"
3313 void foo(char* fmt, ...)
3314 {va_list args; va_start(args, fmt);
3315 vscanf("%i", args);}
3320 if { (eval echo configure:3321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3323 echo "configure: failed program was:" >&5
3324 cat conftest.$ac_ext >&5
3329 cat > conftest.$ac_ext <<EOF
3330 #line 3331 "configure"
3331 #include "confdefs.h"
3334 void foo(char* fmt, ...)
3335 {va_list args; va_start(args, fmt);
3336 vsnprintf(fmt, 0, "%i", args);}
3341 if { (eval echo configure:3342: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3344 echo "configure: failed program was:" >&5
3345 cat conftest.$ac_ext >&5
3350 cat > conftest.$ac_ext <<EOF
3351 #line 3352 "configure"
3352 #include "confdefs.h"
3355 void foo(char* fmt, ...)
3356 {va_list args; va_start(args, fmt);
3357 vsscanf(fmt, "%i", args);}
3362 if { (eval echo configure:3363: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3365 echo "configure: failed program was:" >&5
3366 cat conftest.$ac_ext >&5
3371 echo "$ac_t""$ac_c99_stdio" 1>&6
3373 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3375 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3376 echo "configure:3377: checking for lldiv_t declaration" >&5
3377 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3378 echo $ac_n "(cached) $ac_c" 1>&6
3381 cat > conftest.$ac_ext <<EOF
3382 #line 3383 "configure"
3383 #include "confdefs.h"
3389 if { (eval echo configure:3390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3393 echo "configure: failed program was:" >&5
3394 cat conftest.$ac_ext >&5
3402 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3404 echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
3405 echo "configure:3406: checking for ISO C99 support in <stdlib.h>" >&5
3406 cat > conftest.$ac_ext <<EOF
3407 #line 3408 "configure"
3408 #include "confdefs.h"
3411 char* tmp; strtof("gnu", &tmp);
3414 if { (eval echo configure:3415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3417 echo "configure: failed program was:" >&5
3418 cat conftest.$ac_ext >&5
3423 cat > conftest.$ac_ext <<EOF
3424 #line 3425 "configure"
3425 #include "confdefs.h"
3428 char* tmp; strtold("gnu", &tmp);
3431 if { (eval echo configure:3432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3434 echo "configure: failed program was:" >&5
3435 cat conftest.$ac_ext >&5
3440 cat > conftest.$ac_ext <<EOF
3441 #line 3442 "configure"
3442 #include "confdefs.h"
3445 char* tmp; strtoll("gnu", &tmp, 10);
3448 if { (eval echo configure:3449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3451 echo "configure: failed program was:" >&5
3452 cat conftest.$ac_ext >&5
3457 cat > conftest.$ac_ext <<EOF
3458 #line 3459 "configure"
3459 #include "confdefs.h"
3462 char* tmp; strtoull("gnu", &tmp, 10);
3465 if { (eval echo configure:3466: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3468 echo "configure: failed program was:" >&5
3469 cat conftest.$ac_ext >&5
3474 cat > conftest.$ac_ext <<EOF
3475 #line 3476 "configure"
3476 #include "confdefs.h"
3482 if { (eval echo configure:3483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3485 echo "configure: failed program was:" >&5
3486 cat conftest.$ac_ext >&5
3491 cat > conftest.$ac_ext <<EOF
3492 #line 3493 "configure"
3493 #include "confdefs.h"
3499 if { (eval echo configure:3500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3502 echo "configure: failed program was:" >&5
3503 cat conftest.$ac_ext >&5
3508 cat > conftest.$ac_ext <<EOF
3509 #line 3510 "configure"
3510 #include "confdefs.h"
3516 if { (eval echo configure:3517: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3519 echo "configure: failed program was:" >&5
3520 cat conftest.$ac_ext >&5
3525 cat > conftest.$ac_ext <<EOF
3526 #line 3527 "configure"
3527 #include "confdefs.h"
3533 if { (eval echo configure:3534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3536 echo "configure: failed program was:" >&5
3537 cat conftest.$ac_ext >&5
3542 if test x"$ac_c99_lldiv_t" = x"no"; then
3545 echo "$ac_t""$ac_c99_stdlib" 1>&6
3547 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3548 # XXX the wchar.h checks should be rolled into the general C99 bits.
3550 echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
3551 echo "configure:3552: checking for additional ISO C99 support in <wchar.h>" >&5
3552 cat > conftest.$ac_ext <<EOF
3553 #line 3554 "configure"
3554 #include "confdefs.h"
3557 wcstold(L"10.0", NULL);
3560 if { (eval echo configure:3561: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3563 echo "configure: failed program was:" >&5
3564 cat conftest.$ac_ext >&5
3569 cat > conftest.$ac_ext <<EOF
3570 #line 3571 "configure"
3571 #include "confdefs.h"
3574 wcstoll(L"10", NULL, 10);
3577 if { (eval echo configure:3578: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3580 echo "configure: failed program was:" >&5
3581 cat conftest.$ac_ext >&5
3586 cat > conftest.$ac_ext <<EOF
3587 #line 3588 "configure"
3588 #include "confdefs.h"
3591 wcstoull(L"10", NULL, 10);
3594 if { (eval echo configure:3595: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3597 echo "configure: failed program was:" >&5
3598 cat conftest.$ac_ext >&5
3603 echo "$ac_t""$ac_c99_wchar" 1>&6
3605 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3606 echo "configure:3607: checking for enabled ISO C99 support" >&5
3607 if test x"$ac_c99_math" = x"no" ||
3608 test x"$ac_c99_stdio" = x"no" ||
3609 test x"$ac_c99_stdlib" = x"no" ||
3610 test x"$ac_c99_wchar" = x"no"; then
3613 echo "$ac_t""$enable_c99" 1>&6
3615 # Option parsed, now set things appropriately
3616 if test x"$enable_c99" = x"yes"; then
3617 cat >> confdefs.h <<\EOF
3618 #define _GLIBCPP_USE_C99 1
3624 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3625 ac_cpp='$CPP $CPPFLAGS'
3626 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3627 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3628 cross_compiling=$ac_cv_prog_cc_cross
3632 # Check whether --enable-long-long or --disable-long-long was given.
3633 if test "${enable_long_long+set}" = set; then
3634 enableval="$enable_long_long"
3635 case "$enableval" in
3636 yes) enable_long_long=yes ;;
3637 no) enable_long_long=no ;;
3638 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3641 enable_long_long=yes
3644 # iostreams require strtoll, strtoull to compile. If the
3645 # GLIBCPP_ENABLE_C99 tests found these, and if C99 support is enabled,
3646 # go ahead and allow long long to be used.
3647 if test x"$enable_c99" = x"no"; then
3648 enable_long_long=no;
3651 # Option parsed, now set things appropriately
3652 echo $ac_n "checking for enabled long long support""... $ac_c" 1>&6
3653 echo "configure:3654: checking for enabled long long support" >&5
3654 if test x"$enable_long_long" = xyes; then
3655 cat >> confdefs.h <<\EOF
3656 #define _GLIBCPP_USE_LONG_LONG 1
3660 echo "$ac_t""$enable_long_long" 1>&6
3662 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3663 echo "configure:3664: checking for c header strategy to use" >&5
3664 # Check whether --enable-cheaders or --disable-cheaders was given.
3665 if test "${enable_cheaders+set}" = set; then
3666 enableval="$enable_cheaders"
3668 case "$enableval" in
3673 enable_cheaders=c_std
3676 enable_cheaders=c_shadow
3678 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3682 enable_cheaders=c_std
3685 echo "$ac_t""$enable_cheaders" 1>&6
3687 case "$enable_cheaders" in
3689 CSHADOW_FLAGS="-fno-builtin"
3690 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow'
3691 cat >> confdefs.h <<\EOF
3692 #define _GLIBCPP_USE_SHADOW_HEADERS 1
3698 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3702 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3710 if test "$enable_cheaders" = c_shadow; then
3711 GLIBCPP_USE_CSHADOW_TRUE=
3712 GLIBCPP_USE_CSHADOW_FALSE='#'
3714 GLIBCPP_USE_CSHADOW_TRUE='#'
3715 GLIBCPP_USE_CSHADOW_FALSE=
3719 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3720 echo "configure:3721: checking for thread model used by GCC" >&5
3721 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3722 echo "$ac_t""$target_thread_file" 1>&6
3724 if test $target_thread_file != single; then
3725 cat >> confdefs.h <<\EOF
3726 #define HAVE_GTHR_DEFAULT 1
3729 cat >> confdefs.h <<\EOF
3730 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3735 glibcpp_thread_h=gthr-$target_thread_file.h
3738 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3739 if test "${enable_cxx_flags+set}" = set; then
3740 enableval="$enable_cxx_flags"
3741 case "x$enableval" in
3743 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3745 enable_cxx_flags='' ;;
3747 enable_cxx_flags="$enableval" ;;
3750 enable_cxx_flags='none'
3754 if test "$enable_cxx_flags" = "none"; then
3755 enable_cxx_flags='';
3758 if test -n "$enable_cxx_flags"; then
3759 for f in $enable_cxx_flags; do
3763 *) # and we're trying to pass /what/ exactly?
3764 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3768 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3772 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3773 echo "configure:3774: checking for exception model to use" >&5
3776 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3777 ac_cpp='$CXXCPP $CPPFLAGS'
3778 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3779 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3780 cross_compiling=$ac_cv_prog_cxx_cross
3782 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3783 if test "${enable_sjlj_exceptions+set}" = set; then
3784 enableval="$enable_sjlj_exceptions"
3787 cat > conftest.$ac_ext << EOF
3788 #line 3789 "configure"
3797 old_CXXFLAGS="$CXXFLAGS"
3799 if { (eval echo configure:3800: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3800 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3801 enable_sjlj_exceptions=yes
3802 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3803 enable_sjlj_exceptions=no
3806 CXXFLAGS="$old_CXXFLAGS"
3810 if test x$enable_sjlj_exceptions = xyes; then
3811 cat >> confdefs.h <<\EOF
3812 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3815 ac_exception_model_name=sjlj
3816 elif test x$enable_sjlj_exceptions = xno; then
3817 ac_exception_model_name="call frame"
3819 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
3822 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3823 ac_cpp='$CPP $CPPFLAGS'
3824 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3825 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3826 cross_compiling=$ac_cv_prog_cc_cross
3828 echo "$ac_t""$ac_exception_model_name" 1>&6
3832 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
3834 # We are being configured with some form of cross compiler.
3835 # mknumeric_limits may not work correctly, either because the
3836 # compiler may not run on this machine, may not be able to link
3837 # executables, or may produce executables we can't run on this
3838 # machine. Thus, just use the pre-generated include/bits/limits_generic.h
3839 GLIBCPP_IS_CROSS_COMPILING=1
3841 # If Canadian cross, then don't pick up tools from the build
3843 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
3849 case "$target_alias" in
3851 # Construct linux crosses by hand, eliminating bits that need ld...
3852 # Check for available headers.
3853 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
3854 machine/endian.h machine/param.h sys/machine.h sys/types.h \
3855 fp.h locale.h float.h inttypes.h
3857 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3858 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3859 echo "configure:3860: checking for $ac_hdr" >&5
3860 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3861 echo $ac_n "(cached) $ac_c" 1>&6
3863 cat > conftest.$ac_ext <<EOF
3864 #line 3865 "configure"
3865 #include "confdefs.h"
3868 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3869 { (eval echo configure:3870: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3870 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3871 if test -z "$ac_err"; then
3873 eval "ac_cv_header_$ac_safe=yes"
3876 echo "configure: failed program was:" >&5
3877 cat conftest.$ac_ext >&5
3879 eval "ac_cv_header_$ac_safe=no"
3883 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3884 echo "$ac_t""yes" 1>&6
3885 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3886 cat >> confdefs.h <<EOF
3887 #define $ac_tr_hdr 1
3891 echo "$ac_t""no" 1>&6
3896 # GLIBCPP_CHECK_COMPILER_FEATURES
3897 SECTION_FLAGS='-ffunction-sections -fdata-sections'
3900 # If we're not using GNU ld, then there's no point in even trying these
3901 # tests. Check for that first. We should have already tested for gld
3902 # by now (in libtool), but require it now just to be safe...
3907 # Set --gc-sections.
3908 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
3909 # GNU ld it is! Joy and bunny rabbits!
3911 # All these tests are for C++; save the language and the compiler flags.
3912 # Need to do this so that g++ won't try to link in libstdc++
3913 ac_test_CFLAGS="${CFLAGS+set}"
3914 ac_save_CFLAGS="$CFLAGS"
3915 CFLAGS='-x c++ -Wl,--gc-sections'
3917 # Check for -Wl,--gc-sections
3918 # XXX This test is broken at the moment, as symbols required for
3919 # linking are now in libsupc++ (not built yet.....). In addition,
3920 # this test has cored on solaris in the past. In addition,
3921 # --gc-sections doesn't really work at the moment (keeps on discarding
3922 # used sections, first .eh_frame and now some of the glibc sections for
3923 # iconv). Bzzzzt. Thanks for playing, maybe next time.
3924 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
3925 echo "configure:3926: checking for ld that supports -Wl,--gc-sections" >&5
3926 if test "$cross_compiling" = yes; then
3927 ac_sectionLDflags=yes
3929 cat > conftest.$ac_ext <<EOF
3930 #line 3931 "configure"
3931 #include "confdefs.h"
3941 if { (eval echo configure:3942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3943 ac_sectionLDflags=yes
3945 echo "configure: failed program was:" >&5
3946 cat conftest.$ac_ext >&5
3948 ac_sectionLFflags=no
3953 if test "$ac_test_CFLAGS" = set; then
3954 CFLAGS="$ac_save_CFLAGS"
3956 # this is the suspicious part
3959 if test "$ac_sectionLDflags" = "yes"; then
3960 SECTION_LDFLAGS='-Wl,--gc-sections'
3962 echo "$ac_t""$ac_sectionLDflags" 1>&6
3965 # Set linker optimization flags.
3966 if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
3967 test x"$enable_debug" = x"no"; then
3968 OPT_LDFLAGS='-Wl,-O1'
3974 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
3975 # GLIBCPP_CHECK_MATH_SUPPORT
3976 cat >> confdefs.h <<\EOF
3977 #define HAVE_ACOSF 1
3980 cat >> confdefs.h <<\EOF
3981 #define HAVE_ASINF 1
3984 cat >> confdefs.h <<\EOF
3985 #define HAVE_ATAN2F 1
3988 cat >> confdefs.h <<\EOF
3989 #define HAVE_ATANF 1
3992 cat >> confdefs.h <<\EOF
3993 #define HAVE_CEILF 1
3996 cat >> confdefs.h <<\EOF
3997 #define HAVE_COPYSIGN 1
4000 cat >> confdefs.h <<\EOF
4001 #define HAVE_COPYSIGNF 1
4004 cat >> confdefs.h <<\EOF
4008 cat >> confdefs.h <<\EOF
4009 #define HAVE_COSHF 1
4012 cat >> confdefs.h <<\EOF
4016 cat >> confdefs.h <<\EOF
4017 #define HAVE_FABSF 1
4020 cat >> confdefs.h <<\EOF
4021 #define HAVE_FINITE 1
4024 cat >> confdefs.h <<\EOF
4025 #define HAVE_FINITEF 1
4028 cat >> confdefs.h <<\EOF
4029 #define HAVE_FLOORF 1
4032 cat >> confdefs.h <<\EOF
4033 #define HAVE_FMODF 1
4036 cat >> confdefs.h <<\EOF
4037 #define HAVE_FREXPF 1
4040 cat >> confdefs.h <<\EOF
4041 #define HAVE_ISINF 1
4044 cat >> confdefs.h <<\EOF
4045 #define HAVE_ISINFF 1
4048 cat >> confdefs.h <<\EOF
4049 #define HAVE_ISNAN 1
4052 cat >> confdefs.h <<\EOF
4053 #define HAVE_ISNANF 1
4056 cat >> confdefs.h <<\EOF
4057 #define HAVE_LDEXPF 1
4060 cat >> confdefs.h <<\EOF
4061 #define HAVE_LOG10F 1
4064 cat >> confdefs.h <<\EOF
4068 cat >> confdefs.h <<\EOF
4069 #define HAVE_MODFF 1
4072 cat >> confdefs.h <<\EOF
4076 cat >> confdefs.h <<\EOF
4077 #define HAVE_SINCOS 1
4080 cat >> confdefs.h <<\EOF
4081 #define HAVE_SINCOSF 1
4084 cat >> confdefs.h <<\EOF
4088 cat >> confdefs.h <<\EOF
4089 #define HAVE_SINHF 1
4092 cat >> confdefs.h <<\EOF
4093 #define HAVE_SQRTF 1
4096 cat >> confdefs.h <<\EOF
4100 cat >> confdefs.h <<\EOF
4101 #define HAVE_TANHF 1
4105 # At some point, we should differentiate between architectures
4106 # like x86, which have long double versions, and alpha/powerpc/etc.,
4107 # which don't. For the time being, punt.
4108 if test x"long_double_math_on_this_cpu" = x"yes"; then
4109 cat >> confdefs.h <<\EOF
4110 #define HAVE_ACOSL 1
4113 cat >> confdefs.h <<\EOF
4114 #define HAVE_ASINL 1
4117 cat >> confdefs.h <<\EOF
4118 #define HAVE_ATAN2L 1
4121 cat >> confdefs.h <<\EOF
4122 #define HAVE_ATANL 1
4125 cat >> confdefs.h <<\EOF
4126 #define HAVE_CEILL 1
4129 cat >> confdefs.h <<\EOF
4130 #define HAVE_COPYSIGNL 1
4133 cat >> confdefs.h <<\EOF
4137 cat >> confdefs.h <<\EOF
4138 #define HAVE_COSHL 1
4141 cat >> confdefs.h <<\EOF
4145 cat >> confdefs.h <<\EOF
4146 #define HAVE_FABSL 1
4149 cat >> confdefs.h <<\EOF
4150 #define HAVE_FINITEL 1
4153 cat >> confdefs.h <<\EOF
4154 #define HAVE_FLOORL 1
4157 cat >> confdefs.h <<\EOF
4158 #define HAVE_FMODL 1
4161 cat >> confdefs.h <<\EOF
4162 #define HAVE_FREXPL 1
4165 cat >> confdefs.h <<\EOF
4166 #define HAVE_ISINFL 1
4169 cat >> confdefs.h <<\EOF
4170 #define HAVE_ISNANL 1
4173 cat >> confdefs.h <<\EOF
4174 #define HAVE_LDEXPL 1
4177 cat >> confdefs.h <<\EOF
4178 #define HAVE_LOG10L 1
4181 cat >> confdefs.h <<\EOF
4185 cat >> confdefs.h <<\EOF
4186 #define HAVE_MODFL 1
4189 cat >> confdefs.h <<\EOF
4193 cat >> confdefs.h <<\EOF
4194 #define HAVE_SINCOSL 1
4197 cat >> confdefs.h <<\EOF
4201 cat >> confdefs.h <<\EOF
4202 #define HAVE_SINHL 1
4205 cat >> confdefs.h <<\EOF
4206 #define HAVE_SQRTL 1
4209 cat >> confdefs.h <<\EOF
4213 cat >> confdefs.h <<\EOF
4214 #define HAVE_TANHL 1
4219 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4220 echo "configure:4221: checking for main in -lm" >&5
4221 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4222 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4223 echo $ac_n "(cached) $ac_c" 1>&6
4225 ac_save_LIBS="$LIBS"
4227 cat > conftest.$ac_ext <<EOF
4228 #line 4229 "configure"
4229 #include "confdefs.h"
4235 if { (eval echo configure:4236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4237 eval "ac_cv_lib_$ac_lib_var=yes"
4239 echo "configure: failed program was:" >&5
4240 cat conftest.$ac_ext >&5
4242 eval "ac_cv_lib_$ac_lib_var=no"
4245 LIBS="$ac_save_LIBS"
4248 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4249 echo "$ac_t""yes" 1>&6
4250 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4251 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4252 cat >> confdefs.h <<EOF
4253 #define $ac_tr_lib 1
4259 echo "$ac_t""no" 1>&6
4262 for ac_func in nan copysignf
4264 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4265 echo "configure:4266: checking for $ac_func" >&5
4266 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4267 echo $ac_n "(cached) $ac_c" 1>&6
4269 cat > conftest.$ac_ext <<EOF
4270 #line 4271 "configure"
4271 #include "confdefs.h"
4272 /* System header to define __stub macros and hopefully few prototypes,
4273 which can conflict with char $ac_func(); below. */
4275 /* Override any gcc2 internal prototype to avoid an error. */
4276 /* We use char because int might match the return type of a gcc2
4277 builtin and then its argument prototype would still apply. */
4282 /* The GNU C library defines this for functions which it implements
4283 to always fail with ENOSYS. Some functions are actually named
4284 something starting with __ and the normal name is an alias. */
4285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4293 if { (eval echo configure:4294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4295 eval "ac_cv_func_$ac_func=yes"
4297 echo "configure: failed program was:" >&5
4298 cat conftest.$ac_ext >&5
4300 eval "ac_cv_func_$ac_func=no"
4305 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4306 echo "$ac_t""yes" 1>&6
4307 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4308 cat >> confdefs.h <<EOF
4309 #define $ac_tr_func 1
4313 echo "$ac_t""no" 1>&6
4314 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4320 USE_COMPLEX_LONG_DOUBLE=no
4321 if test x$ac_cv_func_copysignl = x"yes"; then
4322 USE_COMPLEX_LONG_DOUBLE=yes
4323 for ac_func in signbitl
4325 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4326 echo "configure:4327: checking for $ac_func" >&5
4327 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4328 echo $ac_n "(cached) $ac_c" 1>&6
4330 cat > conftest.$ac_ext <<EOF
4331 #line 4332 "configure"
4332 #include "confdefs.h"
4333 /* System header to define __stub macros and hopefully few prototypes,
4334 which can conflict with char $ac_func(); below. */
4336 /* Override any gcc2 internal prototype to avoid an error. */
4337 /* We use char because int might match the return type of a gcc2
4338 builtin and then its argument prototype would still apply. */
4343 /* The GNU C library defines this for functions which it implements
4344 to always fail with ENOSYS. Some functions are actually named
4345 something starting with __ and the normal name is an alias. */
4346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4354 if { (eval echo configure:4355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4356 eval "ac_cv_func_$ac_func=yes"
4358 echo "configure: failed program was:" >&5
4359 cat conftest.$ac_ext >&5
4361 eval "ac_cv_func_$ac_func=no"
4366 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4367 echo "$ac_t""yes" 1>&6
4368 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4369 cat >> confdefs.h <<EOF
4370 #define $ac_tr_func 1
4374 echo "$ac_t""no" 1>&6
4375 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4386 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4387 echo "configure:4388: checking for mbstate_t" >&5
4388 cat > conftest.$ac_ext <<EOF
4389 #line 4390 "configure"
4390 #include "confdefs.h"
4393 mbstate_t teststate;
4396 if { (eval echo configure:4397: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4400 echo "configure: failed program was:" >&5
4401 cat conftest.$ac_ext >&5
4406 echo "$ac_t""$have_mbstate_t" 1>&6
4407 if test x"$have_mbstate_t" = xyes; then
4408 cat >> confdefs.h <<\EOF
4409 #define HAVE_MBSTATE_T 1
4414 for ac_hdr in wchar.h
4416 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4417 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4418 echo "configure:4419: checking for $ac_hdr" >&5
4419 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4420 echo $ac_n "(cached) $ac_c" 1>&6
4422 cat > conftest.$ac_ext <<EOF
4423 #line 4424 "configure"
4424 #include "confdefs.h"
4427 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4428 { (eval echo configure:4429: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4429 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4430 if test -z "$ac_err"; then
4432 eval "ac_cv_header_$ac_safe=yes"
4435 echo "configure: failed program was:" >&5
4436 cat conftest.$ac_ext >&5
4438 eval "ac_cv_header_$ac_safe=no"
4442 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4443 echo "$ac_t""yes" 1>&6
4444 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4445 cat >> confdefs.h <<EOF
4446 #define $ac_tr_hdr 1
4450 echo "$ac_t""no" 1>&6
4455 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
4456 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
4457 echo "configure:4458: checking for wctype.h" >&5
4458 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4459 echo $ac_n "(cached) $ac_c" 1>&6
4461 cat > conftest.$ac_ext <<EOF
4462 #line 4463 "configure"
4463 #include "confdefs.h"
4466 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4467 { (eval echo configure:4468: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4468 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4469 if test -z "$ac_err"; then
4471 eval "ac_cv_header_$ac_safe=yes"
4474 echo "configure: failed program was:" >&5
4475 cat conftest.$ac_ext >&5
4477 eval "ac_cv_header_$ac_safe=no"
4481 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4482 echo "$ac_t""yes" 1>&6
4485 echo "$ac_t""no" 1>&6
4490 if test x"$ac_has_wchar_h" = xyes &&
4491 test x"$ac_has_wctype_h" = xyes &&
4492 test x"$enable_c_mbchar" != xno; then
4494 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4495 echo "configure:4496: checking for WCHAR_MIN and WCHAR_MAX" >&5
4496 cat > conftest.$ac_ext <<EOF
4497 #line 4498 "configure"
4498 #include "confdefs.h"
4501 int i = WCHAR_MIN; int j = WCHAR_MAX;
4504 if { (eval echo configure:4505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4506 has_wchar_minmax=yes
4508 echo "configure: failed program was:" >&5
4509 cat conftest.$ac_ext >&5
4514 echo "$ac_t""$has_wchar_minmax" 1>&6
4516 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4517 echo "configure:4518: checking for WEOF" >&5
4518 cat > conftest.$ac_ext <<EOF
4519 #line 4520 "configure"
4520 #include "confdefs.h"
4528 if { (eval echo configure:4529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4532 echo "configure: failed program was:" >&5
4533 cat conftest.$ac_ext >&5
4538 echo "$ac_t""$has_weof" 1>&6
4541 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4543 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4544 echo "configure:4545: checking for $ac_func" >&5
4545 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4546 echo $ac_n "(cached) $ac_c" 1>&6
4548 cat > conftest.$ac_ext <<EOF
4549 #line 4550 "configure"
4550 #include "confdefs.h"
4551 /* System header to define __stub macros and hopefully few prototypes,
4552 which can conflict with char $ac_func(); below. */
4554 /* Override any gcc2 internal prototype to avoid an error. */
4555 /* We use char because int might match the return type of a gcc2
4556 builtin and then its argument prototype would still apply. */
4561 /* The GNU C library defines this for functions which it implements
4562 to always fail with ENOSYS. Some functions are actually named
4563 something starting with __ and the normal name is an alias. */
4564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4572 if { (eval echo configure:4573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4574 eval "ac_cv_func_$ac_func=yes"
4576 echo "configure: failed program was:" >&5
4577 cat conftest.$ac_ext >&5
4579 eval "ac_cv_func_$ac_func=no"
4584 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4585 echo "$ac_t""yes" 1>&6
4586 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4587 cat >> confdefs.h <<EOF
4588 #define $ac_tr_func 1
4592 echo "$ac_t""no" 1>&6
4599 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4600 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4601 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4602 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4603 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4604 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4606 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4607 echo "configure:4608: checking for $ac_func" >&5
4608 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4609 echo $ac_n "(cached) $ac_c" 1>&6
4611 cat > conftest.$ac_ext <<EOF
4612 #line 4613 "configure"
4613 #include "confdefs.h"
4614 /* System header to define __stub macros and hopefully few prototypes,
4615 which can conflict with char $ac_func(); below. */
4617 /* Override any gcc2 internal prototype to avoid an error. */
4618 /* We use char because int might match the return type of a gcc2
4619 builtin and then its argument prototype would still apply. */
4624 /* The GNU C library defines this for functions which it implements
4625 to always fail with ENOSYS. Some functions are actually named
4626 something starting with __ and the normal name is an alias. */
4627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4635 if { (eval echo configure:4636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4637 eval "ac_cv_func_$ac_func=yes"
4639 echo "configure: failed program was:" >&5
4640 cat conftest.$ac_ext >&5
4642 eval "ac_cv_func_$ac_func=no"
4647 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4648 echo "$ac_t""yes" 1>&6
4649 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4650 cat >> confdefs.h <<EOF
4651 #define $ac_tr_func 1
4655 echo "$ac_t""no" 1>&6
4662 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4663 echo "configure:4664: checking for ISO C99 wchar_t support" >&5
4664 if test x"$has_weof" = xyes &&
4665 test x"$has_wchar_minmax" = xyes &&
4666 test x"$ac_wfuncs" = xyes; then
4667 ac_isoC99_wchar_t=yes
4669 ac_isoC99_wchar_t=no
4671 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4673 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4674 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4675 echo "configure:4676: checking for iconv.h" >&5
4676 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4677 echo $ac_n "(cached) $ac_c" 1>&6
4679 cat > conftest.$ac_ext <<EOF
4680 #line 4681 "configure"
4681 #include "confdefs.h"
4684 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4685 { (eval echo configure:4686: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4686 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4687 if test -z "$ac_err"; then
4689 eval "ac_cv_header_$ac_safe=yes"
4692 echo "configure: failed program was:" >&5
4693 cat conftest.$ac_ext >&5
4695 eval "ac_cv_header_$ac_safe=no"
4699 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4700 echo "$ac_t""yes" 1>&6
4703 echo "$ac_t""no" 1>&6
4707 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4708 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4709 echo "configure:4710: checking for langinfo.h" >&5
4710 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4711 echo $ac_n "(cached) $ac_c" 1>&6
4713 cat > conftest.$ac_ext <<EOF
4714 #line 4715 "configure"
4715 #include "confdefs.h"
4716 #include <langinfo.h>
4718 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4719 { (eval echo configure:4720: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4720 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4721 if test -z "$ac_err"; then
4723 eval "ac_cv_header_$ac_safe=yes"
4726 echo "configure: failed program was:" >&5
4727 cat conftest.$ac_ext >&5
4729 eval "ac_cv_header_$ac_safe=no"
4733 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4734 echo "$ac_t""yes" 1>&6
4735 ac_has_langinfo_h=yes
4737 echo "$ac_t""no" 1>&6
4738 ac_has_langinfo_h=no
4742 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4743 echo "configure:4744: checking for iconv in -liconv" >&5
4744 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4745 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4746 echo $ac_n "(cached) $ac_c" 1>&6
4748 ac_save_LIBS="$LIBS"
4749 LIBS="-liconv $LIBS"
4750 cat > conftest.$ac_ext <<EOF
4751 #line 4752 "configure"
4752 #include "confdefs.h"
4753 /* Override any gcc2 internal prototype to avoid an error. */
4754 /* We use char because int might match the return type of a gcc2
4755 builtin and then its argument prototype would still apply. */
4762 if { (eval echo configure:4763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4764 eval "ac_cv_lib_$ac_lib_var=yes"
4766 echo "configure: failed program was:" >&5
4767 cat conftest.$ac_ext >&5
4769 eval "ac_cv_lib_$ac_lib_var=no"
4772 LIBS="$ac_save_LIBS"
4775 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4776 echo "$ac_t""yes" 1>&6
4779 echo "$ac_t""no" 1>&6
4782 ac_save_LIBS="$LIBS"
4783 LIBS="$LIBS $libiconv"
4785 for ac_func in iconv_open iconv_close iconv nl_langinfo
4787 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4788 echo "configure:4789: checking for $ac_func" >&5
4789 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4790 echo $ac_n "(cached) $ac_c" 1>&6
4792 cat > conftest.$ac_ext <<EOF
4793 #line 4794 "configure"
4794 #include "confdefs.h"
4795 /* System header to define __stub macros and hopefully few prototypes,
4796 which can conflict with char $ac_func(); below. */
4798 /* Override any gcc2 internal prototype to avoid an error. */
4799 /* We use char because int might match the return type of a gcc2
4800 builtin and then its argument prototype would still apply. */
4805 /* The GNU C library defines this for functions which it implements
4806 to always fail with ENOSYS. Some functions are actually named
4807 something starting with __ and the normal name is an alias. */
4808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4816 if { (eval echo configure:4817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4818 eval "ac_cv_func_$ac_func=yes"
4820 echo "configure: failed program was:" >&5
4821 cat conftest.$ac_ext >&5
4823 eval "ac_cv_func_$ac_func=no"
4828 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4829 echo "$ac_t""yes" 1>&6
4830 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4831 cat >> confdefs.h <<EOF
4832 #define $ac_tr_func 1
4837 echo "$ac_t""no" 1>&6
4843 LIBS="$ac_save_LIBS"
4845 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
4846 echo "configure:4847: checking for XPG2 wchar_t support" >&5
4847 if test x"$ac_has_iconv_h" = xyes &&
4848 test x"$ac_has_langinfo_h" = xyes &&
4849 test x"$ac_XPG2funcs" = xyes; then
4854 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
4856 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
4857 echo "configure:4858: checking for enabled wchar_t specializations" >&5
4858 if test x"$ac_isoC99_wchar_t" = xyes &&
4859 test x"$ac_XPG2_wchar_t" = xyes; then
4860 cat >> confdefs.h <<\EOF
4861 #define _GLIBCPP_USE_WCHAR_T 1
4864 echo "$ac_t"""yes"" 1>&6
4866 echo "$ac_t"""no"" 1>&6
4869 echo "configure: warning: wchar_t support disabled." 1>&2
4872 os_include_dir="config/os/gnu-linux"
4873 # GLIBCPP_CHECK_STDLIB_SUPPORT
4874 cat >> confdefs.h <<\EOF
4875 #define HAVE_STRTOF 1
4878 cat >> confdefs.h <<\EOF
4879 #define HAVE_STRTOLD 1
4883 cat >> confdefs.h <<\EOF
4889 # We assume newlib. This lets us hard-code the functions we know
4891 cat >> confdefs.h <<\EOF
4892 #define HAVE_FINITE 1
4895 cat >> confdefs.h <<\EOF
4896 #define HAVE_ISNAN 1
4899 cat >> confdefs.h <<\EOF
4900 #define HAVE_ISNANF 1
4903 cat >> confdefs.h <<\EOF
4904 #define HAVE_ISINF 1
4907 cat >> confdefs.h <<\EOF
4908 #define HAVE_ISINFF 1
4912 os_include_dir="config/os/newlib"
4914 # need to check for faster f versions of math functions, ie sinf?
4919 # We are being configured natively. We can do more elaborate tests
4920 # that include AC_TRY_COMPILE now, as the linker is assumed to be
4922 GLIBCPP_IS_CROSS_COMPILING=0
4925 # Check for available headers.
4926 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
4927 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h
4929 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4930 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4931 echo "configure:4932: checking for $ac_hdr" >&5
4932 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4933 echo $ac_n "(cached) $ac_c" 1>&6
4935 cat > conftest.$ac_ext <<EOF
4936 #line 4937 "configure"
4937 #include "confdefs.h"
4940 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4941 { (eval echo configure:4942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4942 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4943 if test -z "$ac_err"; then
4945 eval "ac_cv_header_$ac_safe=yes"
4948 echo "configure: failed program was:" >&5
4949 cat conftest.$ac_ext >&5
4951 eval "ac_cv_header_$ac_safe=no"
4955 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4956 echo "$ac_t""yes" 1>&6
4957 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4958 cat >> confdefs.h <<EOF
4959 #define $ac_tr_hdr 1
4963 echo "$ac_t""no" 1>&6
4969 # All these tests are for C++; save the language and the compiler flags.
4970 # The CXXFLAGS thing is suspicious, but based on similar bits previously
4971 # found in GLIBCPP_CONFIGURE.
4974 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4975 ac_cpp='$CXXCPP $CPPFLAGS'
4976 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4977 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4978 cross_compiling=$ac_cv_prog_cxx_cross
4980 ac_test_CXXFLAGS="${CXXFLAGS+set}"
4981 ac_save_CXXFLAGS="$CXXFLAGS"
4983 # Check for maintainer-mode bits.
4984 if test x"$USE_MAINTAINER_MODE" = xno; then
4990 # Check for -ffunction-sections -fdata-sections
4991 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
4992 echo "configure:4993: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
4993 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
4994 cat > conftest.$ac_ext <<EOF
4995 #line 4996 "configure"
4996 #include "confdefs.h"
5003 if { (eval echo configure:5004: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5007 echo "configure: failed program was:" >&5
5008 cat conftest.$ac_ext >&5
5013 if test "$ac_test_CXXFLAGS" = set; then
5014 CXXFLAGS="$ac_save_CXXFLAGS"
5016 # this is the suspicious part
5019 if test x"$ac_fdsections" = x"yes" &&
5020 test x"$enable_debug" = x"no"; then
5021 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5023 echo "$ac_t""$ac_fdsections" 1>&6
5026 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5027 ac_cpp='$CPP $CPPFLAGS'
5028 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5029 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5030 cross_compiling=$ac_cv_prog_cc_cross
5036 # If we're not using GNU ld, then there's no point in even trying these
5037 # tests. Check for that first. We should have already tested for gld
5038 # by now (in libtool), but require it now just to be safe...
5043 # Set --gc-sections.
5044 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
5045 # GNU ld it is! Joy and bunny rabbits!
5047 # All these tests are for C++; save the language and the compiler flags.
5048 # Need to do this so that g++ won't try to link in libstdc++
5049 ac_test_CFLAGS="${CFLAGS+set}"
5050 ac_save_CFLAGS="$CFLAGS"
5051 CFLAGS='-x c++ -Wl,--gc-sections'
5053 # Check for -Wl,--gc-sections
5054 # XXX This test is broken at the moment, as symbols required for
5055 # linking are now in libsupc++ (not built yet.....). In addition,
5056 # this test has cored on solaris in the past. In addition,
5057 # --gc-sections doesn't really work at the moment (keeps on discarding
5058 # used sections, first .eh_frame and now some of the glibc sections for
5059 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5060 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5061 echo "configure:5062: checking for ld that supports -Wl,--gc-sections" >&5
5062 if test "$cross_compiling" = yes; then
5063 ac_sectionLDflags=yes
5065 cat > conftest.$ac_ext <<EOF
5066 #line 5067 "configure"
5067 #include "confdefs.h"
5077 if { (eval echo configure:5078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5079 ac_sectionLDflags=yes
5081 echo "configure: failed program was:" >&5
5082 cat conftest.$ac_ext >&5
5084 ac_sectionLFflags=no
5089 if test "$ac_test_CFLAGS" = set; then
5090 CFLAGS="$ac_save_CFLAGS"
5092 # this is the suspicious part
5095 if test "$ac_sectionLDflags" = "yes"; then
5096 SECTION_LDFLAGS='-Wl,--gc-sections'
5098 echo "$ac_t""$ac_sectionLDflags" 1>&6
5101 # Set linker optimization flags.
5102 if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
5103 test x"$enable_debug" = x"no"; then
5104 OPT_LDFLAGS='-Wl,-O1'
5112 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
5113 echo "configure:5114: checking for __builtin_abs declaration" >&5
5114 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
5115 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
5116 echo $ac_n "(cached) $ac_c" 1>&6
5121 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5122 ac_cpp='$CXXCPP $CPPFLAGS'
5123 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5124 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5125 cross_compiling=$ac_cv_prog_cxx_cross
5127 cat > conftest.$ac_ext <<EOF
5128 #line 5129 "configure"
5129 #include "confdefs.h"
5135 if { (eval echo configure:5136: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5137 glibcpp_cv_func___builtin_abs_use=yes
5139 echo "configure: failed program was:" >&5
5140 cat conftest.$ac_ext >&5
5142 glibcpp_cv_func___builtin_abs_use=no
5146 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5147 ac_cpp='$CPP $CPPFLAGS'
5148 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5149 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5150 cross_compiling=$ac_cv_prog_cc_cross
5156 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
5157 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
5158 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
5159 echo "configure:5160: checking for __builtin_abs linkage" >&5
5160 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
5161 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
5162 echo $ac_n "(cached) $ac_c" 1>&6
5165 cat > conftest.$ac_ext <<EOF
5166 #line 5167 "configure"
5167 #include "confdefs.h"
5173 if { (eval echo configure:5174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5175 glibcpp_cv_func___builtin_abs_link=yes
5177 echo "configure: failed program was:" >&5
5178 cat conftest.$ac_ext >&5
5180 glibcpp_cv_func___builtin_abs_link=no
5187 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
5188 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
5189 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5190 cat >> confdefs.h <<EOF
5191 #define ${ac_tr_func} 1
5198 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
5199 echo "configure:5200: checking for __builtin_fabsf declaration" >&5
5200 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
5201 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
5202 echo $ac_n "(cached) $ac_c" 1>&6
5207 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5208 ac_cpp='$CXXCPP $CPPFLAGS'
5209 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5210 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5211 cross_compiling=$ac_cv_prog_cxx_cross
5213 cat > conftest.$ac_ext <<EOF
5214 #line 5215 "configure"
5215 #include "confdefs.h"
5221 if { (eval echo configure:5222: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5223 glibcpp_cv_func___builtin_fabsf_use=yes
5225 echo "configure: failed program was:" >&5
5226 cat conftest.$ac_ext >&5
5228 glibcpp_cv_func___builtin_fabsf_use=no
5232 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5233 ac_cpp='$CPP $CPPFLAGS'
5234 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5235 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5236 cross_compiling=$ac_cv_prog_cc_cross
5242 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
5243 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
5244 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
5245 echo "configure:5246: checking for __builtin_fabsf linkage" >&5
5246 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
5247 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
5248 echo $ac_n "(cached) $ac_c" 1>&6
5251 cat > conftest.$ac_ext <<EOF
5252 #line 5253 "configure"
5253 #include "confdefs.h"
5259 if { (eval echo configure:5260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5261 glibcpp_cv_func___builtin_fabsf_link=yes
5263 echo "configure: failed program was:" >&5
5264 cat conftest.$ac_ext >&5
5266 glibcpp_cv_func___builtin_fabsf_link=no
5273 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
5274 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
5275 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5276 cat >> confdefs.h <<EOF
5277 #define ${ac_tr_func} 1
5284 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
5285 echo "configure:5286: checking for __builtin_fabs declaration" >&5
5286 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
5287 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
5288 echo $ac_n "(cached) $ac_c" 1>&6
5293 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5294 ac_cpp='$CXXCPP $CPPFLAGS'
5295 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5296 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5297 cross_compiling=$ac_cv_prog_cxx_cross
5299 cat > conftest.$ac_ext <<EOF
5300 #line 5301 "configure"
5301 #include "confdefs.h"
5307 if { (eval echo configure:5308: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5309 glibcpp_cv_func___builtin_fabs_use=yes
5311 echo "configure: failed program was:" >&5
5312 cat conftest.$ac_ext >&5
5314 glibcpp_cv_func___builtin_fabs_use=no
5318 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5319 ac_cpp='$CPP $CPPFLAGS'
5320 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5321 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5322 cross_compiling=$ac_cv_prog_cc_cross
5328 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
5329 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
5330 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
5331 echo "configure:5332: checking for __builtin_fabs linkage" >&5
5332 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
5333 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
5334 echo $ac_n "(cached) $ac_c" 1>&6
5337 cat > conftest.$ac_ext <<EOF
5338 #line 5339 "configure"
5339 #include "confdefs.h"
5345 if { (eval echo configure:5346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5347 glibcpp_cv_func___builtin_fabs_link=yes
5349 echo "configure: failed program was:" >&5
5350 cat conftest.$ac_ext >&5
5352 glibcpp_cv_func___builtin_fabs_link=no
5359 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
5360 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
5361 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5362 cat >> confdefs.h <<EOF
5363 #define ${ac_tr_func} 1
5370 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
5371 echo "configure:5372: checking for __builtin_fabsl declaration" >&5
5372 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
5373 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
5374 echo $ac_n "(cached) $ac_c" 1>&6
5379 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5380 ac_cpp='$CXXCPP $CPPFLAGS'
5381 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5382 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5383 cross_compiling=$ac_cv_prog_cxx_cross
5385 cat > conftest.$ac_ext <<EOF
5386 #line 5387 "configure"
5387 #include "confdefs.h"
5393 if { (eval echo configure:5394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5395 glibcpp_cv_func___builtin_fabsl_use=yes
5397 echo "configure: failed program was:" >&5
5398 cat conftest.$ac_ext >&5
5400 glibcpp_cv_func___builtin_fabsl_use=no
5404 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5405 ac_cpp='$CPP $CPPFLAGS'
5406 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5407 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5408 cross_compiling=$ac_cv_prog_cc_cross
5414 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
5415 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
5416 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
5417 echo "configure:5418: checking for __builtin_fabsl linkage" >&5
5418 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
5419 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
5420 echo $ac_n "(cached) $ac_c" 1>&6
5423 cat > conftest.$ac_ext <<EOF
5424 #line 5425 "configure"
5425 #include "confdefs.h"
5431 if { (eval echo configure:5432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5433 glibcpp_cv_func___builtin_fabsl_link=yes
5435 echo "configure: failed program was:" >&5
5436 cat conftest.$ac_ext >&5
5438 glibcpp_cv_func___builtin_fabsl_link=no
5445 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
5446 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
5447 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5448 cat >> confdefs.h <<EOF
5449 #define ${ac_tr_func} 1
5456 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
5457 echo "configure:5458: checking for __builtin_labs declaration" >&5
5458 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
5459 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
5460 echo $ac_n "(cached) $ac_c" 1>&6
5465 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5466 ac_cpp='$CXXCPP $CPPFLAGS'
5467 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5468 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5469 cross_compiling=$ac_cv_prog_cxx_cross
5471 cat > conftest.$ac_ext <<EOF
5472 #line 5473 "configure"
5473 #include "confdefs.h"
5479 if { (eval echo configure:5480: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5481 glibcpp_cv_func___builtin_labs_use=yes
5483 echo "configure: failed program was:" >&5
5484 cat conftest.$ac_ext >&5
5486 glibcpp_cv_func___builtin_labs_use=no
5490 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5491 ac_cpp='$CPP $CPPFLAGS'
5492 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5493 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5494 cross_compiling=$ac_cv_prog_cc_cross
5500 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
5501 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
5502 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
5503 echo "configure:5504: checking for __builtin_labs linkage" >&5
5504 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
5505 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
5506 echo $ac_n "(cached) $ac_c" 1>&6
5509 cat > conftest.$ac_ext <<EOF
5510 #line 5511 "configure"
5511 #include "confdefs.h"
5517 if { (eval echo configure:5518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5519 glibcpp_cv_func___builtin_labs_link=yes
5521 echo "configure: failed program was:" >&5
5522 cat conftest.$ac_ext >&5
5524 glibcpp_cv_func___builtin_labs_link=no
5531 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
5532 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
5533 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5534 cat >> confdefs.h <<EOF
5535 #define ${ac_tr_func} 1
5543 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
5544 echo "configure:5545: checking for __builtin_sqrtf declaration" >&5
5545 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
5546 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
5547 echo $ac_n "(cached) $ac_c" 1>&6
5552 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5553 ac_cpp='$CXXCPP $CPPFLAGS'
5554 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5555 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5556 cross_compiling=$ac_cv_prog_cxx_cross
5558 cat > conftest.$ac_ext <<EOF
5559 #line 5560 "configure"
5560 #include "confdefs.h"
5566 if { (eval echo configure:5567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5568 glibcpp_cv_func___builtin_sqrtf_use=yes
5570 echo "configure: failed program was:" >&5
5571 cat conftest.$ac_ext >&5
5573 glibcpp_cv_func___builtin_sqrtf_use=no
5577 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5578 ac_cpp='$CPP $CPPFLAGS'
5579 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5580 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5581 cross_compiling=$ac_cv_prog_cc_cross
5587 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
5588 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
5589 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
5590 echo "configure:5591: checking for __builtin_sqrtf linkage" >&5
5591 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
5592 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
5593 echo $ac_n "(cached) $ac_c" 1>&6
5596 cat > conftest.$ac_ext <<EOF
5597 #line 5598 "configure"
5598 #include "confdefs.h"
5604 if { (eval echo configure:5605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5606 glibcpp_cv_func___builtin_sqrtf_link=yes
5608 echo "configure: failed program was:" >&5
5609 cat conftest.$ac_ext >&5
5611 glibcpp_cv_func___builtin_sqrtf_link=no
5618 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
5619 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
5620 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5621 cat >> confdefs.h <<EOF
5622 #define ${ac_tr_func} 1
5629 echo $ac_n "checking for __builtin_fsqrt declaration""... $ac_c" 1>&6
5630 echo "configure:5631: checking for __builtin_fsqrt declaration" >&5
5631 if test x${glibcpp_cv_func___builtin_fsqrt_use+set} != xset; then
5632 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_use'+set}'`\" = set"; then
5633 echo $ac_n "(cached) $ac_c" 1>&6
5638 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5639 ac_cpp='$CXXCPP $CPPFLAGS'
5640 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5641 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5642 cross_compiling=$ac_cv_prog_cxx_cross
5644 cat > conftest.$ac_ext <<EOF
5645 #line 5646 "configure"
5646 #include "confdefs.h"
5652 if { (eval echo configure:5653: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5654 glibcpp_cv_func___builtin_fsqrt_use=yes
5656 echo "configure: failed program was:" >&5
5657 cat conftest.$ac_ext >&5
5659 glibcpp_cv_func___builtin_fsqrt_use=no
5663 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5664 ac_cpp='$CPP $CPPFLAGS'
5665 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5666 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5667 cross_compiling=$ac_cv_prog_cc_cross
5673 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_use" 1>&6
5674 if test x$glibcpp_cv_func___builtin_fsqrt_use = x"yes"; then
5675 echo $ac_n "checking for __builtin_fsqrt linkage""... $ac_c" 1>&6
5676 echo "configure:5677: checking for __builtin_fsqrt linkage" >&5
5677 if test x${glibcpp_cv_func___builtin_fsqrt_link+set} != xset; then
5678 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_link'+set}'`\" = set"; then
5679 echo $ac_n "(cached) $ac_c" 1>&6
5682 cat > conftest.$ac_ext <<EOF
5683 #line 5684 "configure"
5684 #include "confdefs.h"
5690 if { (eval echo configure:5691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5692 glibcpp_cv_func___builtin_fsqrt_link=yes
5694 echo "configure: failed program was:" >&5
5695 cat conftest.$ac_ext >&5
5697 glibcpp_cv_func___builtin_fsqrt_link=no
5704 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_link" 1>&6
5705 if test x$glibcpp_cv_func___builtin_fsqrt_link = x"yes"; then
5706 ac_tr_func=HAVE_`echo __builtin_fsqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5707 cat >> confdefs.h <<EOF
5708 #define ${ac_tr_func} 1
5715 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
5716 echo "configure:5717: checking for __builtin_sqrtl declaration" >&5
5717 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
5718 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
5719 echo $ac_n "(cached) $ac_c" 1>&6
5724 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5725 ac_cpp='$CXXCPP $CPPFLAGS'
5726 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5727 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5728 cross_compiling=$ac_cv_prog_cxx_cross
5730 cat > conftest.$ac_ext <<EOF
5731 #line 5732 "configure"
5732 #include "confdefs.h"
5738 if { (eval echo configure:5739: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5740 glibcpp_cv_func___builtin_sqrtl_use=yes
5742 echo "configure: failed program was:" >&5
5743 cat conftest.$ac_ext >&5
5745 glibcpp_cv_func___builtin_sqrtl_use=no
5749 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5750 ac_cpp='$CPP $CPPFLAGS'
5751 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5752 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5753 cross_compiling=$ac_cv_prog_cc_cross
5759 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
5760 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
5761 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
5762 echo "configure:5763: checking for __builtin_sqrtl linkage" >&5
5763 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
5764 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
5765 echo $ac_n "(cached) $ac_c" 1>&6
5768 cat > conftest.$ac_ext <<EOF
5769 #line 5770 "configure"
5770 #include "confdefs.h"
5776 if { (eval echo configure:5777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5778 glibcpp_cv_func___builtin_sqrtl_link=yes
5780 echo "configure: failed program was:" >&5
5781 cat conftest.$ac_ext >&5
5783 glibcpp_cv_func___builtin_sqrtl_link=no
5790 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
5791 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
5792 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5793 cat >> confdefs.h <<EOF
5794 #define ${ac_tr_func} 1
5802 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
5803 echo "configure:5804: checking for __builtin_sinf declaration" >&5
5804 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
5805 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
5806 echo $ac_n "(cached) $ac_c" 1>&6
5811 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5812 ac_cpp='$CXXCPP $CPPFLAGS'
5813 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5814 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5815 cross_compiling=$ac_cv_prog_cxx_cross
5817 cat > conftest.$ac_ext <<EOF
5818 #line 5819 "configure"
5819 #include "confdefs.h"
5825 if { (eval echo configure:5826: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5827 glibcpp_cv_func___builtin_sinf_use=yes
5829 echo "configure: failed program was:" >&5
5830 cat conftest.$ac_ext >&5
5832 glibcpp_cv_func___builtin_sinf_use=no
5836 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5837 ac_cpp='$CPP $CPPFLAGS'
5838 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5839 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5840 cross_compiling=$ac_cv_prog_cc_cross
5846 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
5847 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
5848 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
5849 echo "configure:5850: checking for __builtin_sinf linkage" >&5
5850 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
5851 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
5852 echo $ac_n "(cached) $ac_c" 1>&6
5855 cat > conftest.$ac_ext <<EOF
5856 #line 5857 "configure"
5857 #include "confdefs.h"
5863 if { (eval echo configure:5864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5865 glibcpp_cv_func___builtin_sinf_link=yes
5867 echo "configure: failed program was:" >&5
5868 cat conftest.$ac_ext >&5
5870 glibcpp_cv_func___builtin_sinf_link=no
5877 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
5878 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
5879 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5880 cat >> confdefs.h <<EOF
5881 #define ${ac_tr_func} 1
5888 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
5889 echo "configure:5890: checking for __builtin_sin declaration" >&5
5890 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
5891 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
5892 echo $ac_n "(cached) $ac_c" 1>&6
5897 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5898 ac_cpp='$CXXCPP $CPPFLAGS'
5899 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5900 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5901 cross_compiling=$ac_cv_prog_cxx_cross
5903 cat > conftest.$ac_ext <<EOF
5904 #line 5905 "configure"
5905 #include "confdefs.h"
5911 if { (eval echo configure:5912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5913 glibcpp_cv_func___builtin_sin_use=yes
5915 echo "configure: failed program was:" >&5
5916 cat conftest.$ac_ext >&5
5918 glibcpp_cv_func___builtin_sin_use=no
5922 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5923 ac_cpp='$CPP $CPPFLAGS'
5924 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5925 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5926 cross_compiling=$ac_cv_prog_cc_cross
5932 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
5933 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
5934 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
5935 echo "configure:5936: checking for __builtin_sin linkage" >&5
5936 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
5937 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
5938 echo $ac_n "(cached) $ac_c" 1>&6
5941 cat > conftest.$ac_ext <<EOF
5942 #line 5943 "configure"
5943 #include "confdefs.h"
5949 if { (eval echo configure:5950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5951 glibcpp_cv_func___builtin_sin_link=yes
5953 echo "configure: failed program was:" >&5
5954 cat conftest.$ac_ext >&5
5956 glibcpp_cv_func___builtin_sin_link=no
5963 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
5964 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
5965 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5966 cat >> confdefs.h <<EOF
5967 #define ${ac_tr_func} 1
5974 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
5975 echo "configure:5976: checking for __builtin_sinl declaration" >&5
5976 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
5977 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
5978 echo $ac_n "(cached) $ac_c" 1>&6
5983 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5984 ac_cpp='$CXXCPP $CPPFLAGS'
5985 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5986 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5987 cross_compiling=$ac_cv_prog_cxx_cross
5989 cat > conftest.$ac_ext <<EOF
5990 #line 5991 "configure"
5991 #include "confdefs.h"
5997 if { (eval echo configure:5998: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5999 glibcpp_cv_func___builtin_sinl_use=yes
6001 echo "configure: failed program was:" >&5
6002 cat conftest.$ac_ext >&5
6004 glibcpp_cv_func___builtin_sinl_use=no
6008 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6009 ac_cpp='$CPP $CPPFLAGS'
6010 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6011 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6012 cross_compiling=$ac_cv_prog_cc_cross
6018 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
6019 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
6020 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
6021 echo "configure:6022: checking for __builtin_sinl linkage" >&5
6022 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
6023 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
6024 echo $ac_n "(cached) $ac_c" 1>&6
6027 cat > conftest.$ac_ext <<EOF
6028 #line 6029 "configure"
6029 #include "confdefs.h"
6035 if { (eval echo configure:6036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6037 glibcpp_cv_func___builtin_sinl_link=yes
6039 echo "configure: failed program was:" >&5
6040 cat conftest.$ac_ext >&5
6042 glibcpp_cv_func___builtin_sinl_link=no
6049 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
6050 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
6051 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6052 cat >> confdefs.h <<EOF
6053 #define ${ac_tr_func} 1
6061 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
6062 echo "configure:6063: checking for __builtin_cosf declaration" >&5
6063 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
6064 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
6065 echo $ac_n "(cached) $ac_c" 1>&6
6070 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6071 ac_cpp='$CXXCPP $CPPFLAGS'
6072 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6073 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6074 cross_compiling=$ac_cv_prog_cxx_cross
6076 cat > conftest.$ac_ext <<EOF
6077 #line 6078 "configure"
6078 #include "confdefs.h"
6084 if { (eval echo configure:6085: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6086 glibcpp_cv_func___builtin_cosf_use=yes
6088 echo "configure: failed program was:" >&5
6089 cat conftest.$ac_ext >&5
6091 glibcpp_cv_func___builtin_cosf_use=no
6095 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6096 ac_cpp='$CPP $CPPFLAGS'
6097 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6098 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6099 cross_compiling=$ac_cv_prog_cc_cross
6105 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
6106 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
6107 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
6108 echo "configure:6109: checking for __builtin_cosf linkage" >&5
6109 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
6110 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
6111 echo $ac_n "(cached) $ac_c" 1>&6
6114 cat > conftest.$ac_ext <<EOF
6115 #line 6116 "configure"
6116 #include "confdefs.h"
6122 if { (eval echo configure:6123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6124 glibcpp_cv_func___builtin_cosf_link=yes
6126 echo "configure: failed program was:" >&5
6127 cat conftest.$ac_ext >&5
6129 glibcpp_cv_func___builtin_cosf_link=no
6136 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
6137 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
6138 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6139 cat >> confdefs.h <<EOF
6140 #define ${ac_tr_func} 1
6147 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
6148 echo "configure:6149: checking for __builtin_cos declaration" >&5
6149 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
6150 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
6151 echo $ac_n "(cached) $ac_c" 1>&6
6156 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6157 ac_cpp='$CXXCPP $CPPFLAGS'
6158 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6159 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6160 cross_compiling=$ac_cv_prog_cxx_cross
6162 cat > conftest.$ac_ext <<EOF
6163 #line 6164 "configure"
6164 #include "confdefs.h"
6170 if { (eval echo configure:6171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6172 glibcpp_cv_func___builtin_cos_use=yes
6174 echo "configure: failed program was:" >&5
6175 cat conftest.$ac_ext >&5
6177 glibcpp_cv_func___builtin_cos_use=no
6181 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6182 ac_cpp='$CPP $CPPFLAGS'
6183 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6184 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6185 cross_compiling=$ac_cv_prog_cc_cross
6191 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
6192 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
6193 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
6194 echo "configure:6195: checking for __builtin_cos linkage" >&5
6195 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
6196 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
6197 echo $ac_n "(cached) $ac_c" 1>&6
6200 cat > conftest.$ac_ext <<EOF
6201 #line 6202 "configure"
6202 #include "confdefs.h"
6208 if { (eval echo configure:6209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6210 glibcpp_cv_func___builtin_cos_link=yes
6212 echo "configure: failed program was:" >&5
6213 cat conftest.$ac_ext >&5
6215 glibcpp_cv_func___builtin_cos_link=no
6222 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
6223 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
6224 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6225 cat >> confdefs.h <<EOF
6226 #define ${ac_tr_func} 1
6233 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
6234 echo "configure:6235: checking for __builtin_cosl declaration" >&5
6235 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
6236 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
6237 echo $ac_n "(cached) $ac_c" 1>&6
6242 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6243 ac_cpp='$CXXCPP $CPPFLAGS'
6244 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6245 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6246 cross_compiling=$ac_cv_prog_cxx_cross
6248 cat > conftest.$ac_ext <<EOF
6249 #line 6250 "configure"
6250 #include "confdefs.h"
6256 if { (eval echo configure:6257: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6258 glibcpp_cv_func___builtin_cosl_use=yes
6260 echo "configure: failed program was:" >&5
6261 cat conftest.$ac_ext >&5
6263 glibcpp_cv_func___builtin_cosl_use=no
6267 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6268 ac_cpp='$CPP $CPPFLAGS'
6269 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6270 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6271 cross_compiling=$ac_cv_prog_cc_cross
6277 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
6278 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
6279 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
6280 echo "configure:6281: checking for __builtin_cosl linkage" >&5
6281 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
6282 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
6283 echo $ac_n "(cached) $ac_c" 1>&6
6286 cat > conftest.$ac_ext <<EOF
6287 #line 6288 "configure"
6288 #include "confdefs.h"
6294 if { (eval echo configure:6295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6296 glibcpp_cv_func___builtin_cosl_link=yes
6298 echo "configure: failed program was:" >&5
6299 cat conftest.$ac_ext >&5
6301 glibcpp_cv_func___builtin_cosl_link=no
6308 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
6309 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
6310 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6311 cat >> confdefs.h <<EOF
6312 #define ${ac_tr_func} 1
6320 if test x$dummyvar = x"yes"; then
6321 cat >> confdefs.h <<\EOF
6322 #define HAVE___BUILTIN_ABS 1
6325 cat >> confdefs.h <<\EOF
6326 #define HAVE___BUILTIN_LABS 1
6329 cat >> confdefs.h <<\EOF
6330 #define HAVE___BUILTIN_COS 1
6333 cat >> confdefs.h <<\EOF
6334 #define HAVE___BUILTIN_COSF 1
6337 cat >> confdefs.h <<\EOF
6338 #define HAVE___BUILTIN_COSL 1
6341 cat >> confdefs.h <<\EOF
6342 #define HAVE___BUILTIN_FABS 1
6345 cat >> confdefs.h <<\EOF
6346 #define HAVE___BUILTIN_FABSF 1
6349 cat >> confdefs.h <<\EOF
6350 #define HAVE___BUILTIN_FABSL 1
6353 cat >> confdefs.h <<\EOF
6354 #define HAVE___BUILTIN_SIN 1
6357 cat >> confdefs.h <<\EOF
6358 #define HAVE___BUILTIN_SINF 1
6361 cat >> confdefs.h <<\EOF
6362 #define HAVE___BUILTIN_SINL 1
6365 cat >> confdefs.h <<\EOF
6366 #define HAVE___BUILTIN_FSQRT 1
6369 cat >> confdefs.h <<\EOF
6370 #define HAVE___BUILTIN_SQRTF 1
6373 cat >> confdefs.h <<\EOF
6374 #define HAVE___BUILTIN_SQRTL 1
6380 ac_test_CXXFLAGS="${CXXFLAGS+set}"
6381 ac_save_CXXFLAGS="$CXXFLAGS"
6382 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
6384 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
6385 echo "configure:6386: checking for sin in -lm" >&5
6386 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
6387 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6388 echo $ac_n "(cached) $ac_c" 1>&6
6390 ac_save_LIBS="$LIBS"
6392 cat > conftest.$ac_ext <<EOF
6393 #line 6394 "configure"
6394 #include "confdefs.h"
6395 /* Override any gcc2 internal prototype to avoid an error. */
6396 /* We use char because int might match the return type of a gcc2
6397 builtin and then its argument prototype would still apply. */
6404 if { (eval echo configure:6405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6406 eval "ac_cv_lib_$ac_lib_var=yes"
6408 echo "configure: failed program was:" >&5
6409 cat conftest.$ac_ext >&5
6411 eval "ac_cv_lib_$ac_lib_var=no"
6414 LIBS="$ac_save_LIBS"
6417 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6418 echo "$ac_t""yes" 1>&6
6421 echo "$ac_t""no" 1>&6
6424 ac_save_LIBS="$LIBS"
6429 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
6430 echo "configure:6431: checking for isinf declaration" >&5
6431 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
6432 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
6433 echo $ac_n "(cached) $ac_c" 1>&6
6438 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6439 ac_cpp='$CXXCPP $CPPFLAGS'
6440 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6441 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6442 cross_compiling=$ac_cv_prog_cxx_cross
6444 cat > conftest.$ac_ext <<EOF
6445 #line 6446 "configure"
6446 #include "confdefs.h"
6448 #ifdef HAVE_IEEEFP_H
6456 if { (eval echo configure:6457: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6458 glibcpp_cv_func_isinf_use=yes
6460 echo "configure: failed program was:" >&5
6461 cat conftest.$ac_ext >&5
6463 glibcpp_cv_func_isinf_use=no
6467 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6468 ac_cpp='$CPP $CPPFLAGS'
6469 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6470 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6471 cross_compiling=$ac_cv_prog_cc_cross
6477 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
6479 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
6480 for ac_func in isinf
6482 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6483 echo "configure:6484: checking for $ac_func" >&5
6484 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6485 echo $ac_n "(cached) $ac_c" 1>&6
6487 cat > conftest.$ac_ext <<EOF
6488 #line 6489 "configure"
6489 #include "confdefs.h"
6490 /* System header to define __stub macros and hopefully few prototypes,
6491 which can conflict with char $ac_func(); below. */
6493 /* Override any gcc2 internal prototype to avoid an error. */
6494 /* We use char because int might match the return type of a gcc2
6495 builtin and then its argument prototype would still apply. */
6500 /* The GNU C library defines this for functions which it implements
6501 to always fail with ENOSYS. Some functions are actually named
6502 something starting with __ and the normal name is an alias. */
6503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6511 if { (eval echo configure:6512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6513 eval "ac_cv_func_$ac_func=yes"
6515 echo "configure: failed program was:" >&5
6516 cat conftest.$ac_ext >&5
6518 eval "ac_cv_func_$ac_func=no"
6523 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6524 echo "$ac_t""yes" 1>&6
6525 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6526 cat >> confdefs.h <<EOF
6527 #define $ac_tr_func 1
6531 echo "$ac_t""no" 1>&6
6537 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
6538 echo "configure:6539: checking for _isinf declaration" >&5
6539 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
6540 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
6541 echo $ac_n "(cached) $ac_c" 1>&6
6546 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6547 ac_cpp='$CXXCPP $CPPFLAGS'
6548 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6549 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6550 cross_compiling=$ac_cv_prog_cxx_cross
6552 cat > conftest.$ac_ext <<EOF
6553 #line 6554 "configure"
6554 #include "confdefs.h"
6556 #ifdef HAVE_IEEEFP_H
6564 if { (eval echo configure:6565: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6566 glibcpp_cv_func__isinf_use=yes
6568 echo "configure: failed program was:" >&5
6569 cat conftest.$ac_ext >&5
6571 glibcpp_cv_func__isinf_use=no
6575 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6576 ac_cpp='$CPP $CPPFLAGS'
6577 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6578 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6579 cross_compiling=$ac_cv_prog_cc_cross
6585 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
6587 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
6588 for ac_func in _isinf
6590 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6591 echo "configure:6592: checking for $ac_func" >&5
6592 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6593 echo $ac_n "(cached) $ac_c" 1>&6
6595 cat > conftest.$ac_ext <<EOF
6596 #line 6597 "configure"
6597 #include "confdefs.h"
6598 /* System header to define __stub macros and hopefully few prototypes,
6599 which can conflict with char $ac_func(); below. */
6601 /* Override any gcc2 internal prototype to avoid an error. */
6602 /* We use char because int might match the return type of a gcc2
6603 builtin and then its argument prototype would still apply. */
6608 /* The GNU C library defines this for functions which it implements
6609 to always fail with ENOSYS. Some functions are actually named
6610 something starting with __ and the normal name is an alias. */
6611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6619 if { (eval echo configure:6620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6621 eval "ac_cv_func_$ac_func=yes"
6623 echo "configure: failed program was:" >&5
6624 cat conftest.$ac_ext >&5
6626 eval "ac_cv_func_$ac_func=no"
6631 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6632 echo "$ac_t""yes" 1>&6
6633 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6634 cat >> confdefs.h <<EOF
6635 #define $ac_tr_func 1
6639 echo "$ac_t""no" 1>&6
6648 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
6649 echo "configure:6650: checking for isnan declaration" >&5
6650 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
6651 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
6652 echo $ac_n "(cached) $ac_c" 1>&6
6657 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6658 ac_cpp='$CXXCPP $CPPFLAGS'
6659 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6660 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6661 cross_compiling=$ac_cv_prog_cxx_cross
6663 cat > conftest.$ac_ext <<EOF
6664 #line 6665 "configure"
6665 #include "confdefs.h"
6667 #ifdef HAVE_IEEEFP_H
6675 if { (eval echo configure:6676: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6677 glibcpp_cv_func_isnan_use=yes
6679 echo "configure: failed program was:" >&5
6680 cat conftest.$ac_ext >&5
6682 glibcpp_cv_func_isnan_use=no
6686 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6687 ac_cpp='$CPP $CPPFLAGS'
6688 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6689 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6690 cross_compiling=$ac_cv_prog_cc_cross
6696 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
6698 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
6699 for ac_func in isnan
6701 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6702 echo "configure:6703: checking for $ac_func" >&5
6703 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6704 echo $ac_n "(cached) $ac_c" 1>&6
6706 cat > conftest.$ac_ext <<EOF
6707 #line 6708 "configure"
6708 #include "confdefs.h"
6709 /* System header to define __stub macros and hopefully few prototypes,
6710 which can conflict with char $ac_func(); below. */
6712 /* Override any gcc2 internal prototype to avoid an error. */
6713 /* We use char because int might match the return type of a gcc2
6714 builtin and then its argument prototype would still apply. */
6719 /* The GNU C library defines this for functions which it implements
6720 to always fail with ENOSYS. Some functions are actually named
6721 something starting with __ and the normal name is an alias. */
6722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6730 if { (eval echo configure:6731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6732 eval "ac_cv_func_$ac_func=yes"
6734 echo "configure: failed program was:" >&5
6735 cat conftest.$ac_ext >&5
6737 eval "ac_cv_func_$ac_func=no"
6742 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6743 echo "$ac_t""yes" 1>&6
6744 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6745 cat >> confdefs.h <<EOF
6746 #define $ac_tr_func 1
6750 echo "$ac_t""no" 1>&6
6756 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
6757 echo "configure:6758: checking for _isnan declaration" >&5
6758 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
6759 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
6760 echo $ac_n "(cached) $ac_c" 1>&6
6765 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6766 ac_cpp='$CXXCPP $CPPFLAGS'
6767 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6768 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6769 cross_compiling=$ac_cv_prog_cxx_cross
6771 cat > conftest.$ac_ext <<EOF
6772 #line 6773 "configure"
6773 #include "confdefs.h"
6775 #ifdef HAVE_IEEEFP_H
6783 if { (eval echo configure:6784: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6785 glibcpp_cv_func__isnan_use=yes
6787 echo "configure: failed program was:" >&5
6788 cat conftest.$ac_ext >&5
6790 glibcpp_cv_func__isnan_use=no
6794 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6795 ac_cpp='$CPP $CPPFLAGS'
6796 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6797 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6798 cross_compiling=$ac_cv_prog_cc_cross
6804 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
6806 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
6807 for ac_func in _isnan
6809 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6810 echo "configure:6811: checking for $ac_func" >&5
6811 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6812 echo $ac_n "(cached) $ac_c" 1>&6
6814 cat > conftest.$ac_ext <<EOF
6815 #line 6816 "configure"
6816 #include "confdefs.h"
6817 /* System header to define __stub macros and hopefully few prototypes,
6818 which can conflict with char $ac_func(); below. */
6820 /* Override any gcc2 internal prototype to avoid an error. */
6821 /* We use char because int might match the return type of a gcc2
6822 builtin and then its argument prototype would still apply. */
6827 /* The GNU C library defines this for functions which it implements
6828 to always fail with ENOSYS. Some functions are actually named
6829 something starting with __ and the normal name is an alias. */
6830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6838 if { (eval echo configure:6839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6840 eval "ac_cv_func_$ac_func=yes"
6842 echo "configure: failed program was:" >&5
6843 cat conftest.$ac_ext >&5
6845 eval "ac_cv_func_$ac_func=no"
6850 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6851 echo "$ac_t""yes" 1>&6
6852 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6853 cat >> confdefs.h <<EOF
6854 #define $ac_tr_func 1
6858 echo "$ac_t""no" 1>&6
6867 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
6868 echo "configure:6869: checking for finite declaration" >&5
6869 if test x${glibcpp_cv_func_finite_use+set} != xset; then
6870 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
6871 echo $ac_n "(cached) $ac_c" 1>&6
6876 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6877 ac_cpp='$CXXCPP $CPPFLAGS'
6878 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6879 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6880 cross_compiling=$ac_cv_prog_cxx_cross
6882 cat > conftest.$ac_ext <<EOF
6883 #line 6884 "configure"
6884 #include "confdefs.h"
6886 #ifdef HAVE_IEEEFP_H
6894 if { (eval echo configure:6895: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6896 glibcpp_cv_func_finite_use=yes
6898 echo "configure: failed program was:" >&5
6899 cat conftest.$ac_ext >&5
6901 glibcpp_cv_func_finite_use=no
6905 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6906 ac_cpp='$CPP $CPPFLAGS'
6907 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6908 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6909 cross_compiling=$ac_cv_prog_cc_cross
6915 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
6917 if test x$glibcpp_cv_func_finite_use = x"yes"; then
6918 for ac_func in finite
6920 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6921 echo "configure:6922: checking for $ac_func" >&5
6922 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6923 echo $ac_n "(cached) $ac_c" 1>&6
6925 cat > conftest.$ac_ext <<EOF
6926 #line 6927 "configure"
6927 #include "confdefs.h"
6928 /* System header to define __stub macros and hopefully few prototypes,
6929 which can conflict with char $ac_func(); below. */
6931 /* Override any gcc2 internal prototype to avoid an error. */
6932 /* We use char because int might match the return type of a gcc2
6933 builtin and then its argument prototype would still apply. */
6938 /* The GNU C library defines this for functions which it implements
6939 to always fail with ENOSYS. Some functions are actually named
6940 something starting with __ and the normal name is an alias. */
6941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6949 if { (eval echo configure:6950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6951 eval "ac_cv_func_$ac_func=yes"
6953 echo "configure: failed program was:" >&5
6954 cat conftest.$ac_ext >&5
6956 eval "ac_cv_func_$ac_func=no"
6961 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6962 echo "$ac_t""yes" 1>&6
6963 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6964 cat >> confdefs.h <<EOF
6965 #define $ac_tr_func 1
6969 echo "$ac_t""no" 1>&6
6975 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
6976 echo "configure:6977: checking for _finite declaration" >&5
6977 if test x${glibcpp_cv_func__finite_use+set} != xset; then
6978 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
6979 echo $ac_n "(cached) $ac_c" 1>&6
6984 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6985 ac_cpp='$CXXCPP $CPPFLAGS'
6986 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6987 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6988 cross_compiling=$ac_cv_prog_cxx_cross
6990 cat > conftest.$ac_ext <<EOF
6991 #line 6992 "configure"
6992 #include "confdefs.h"
6994 #ifdef HAVE_IEEEFP_H
7002 if { (eval echo configure:7003: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7004 glibcpp_cv_func__finite_use=yes
7006 echo "configure: failed program was:" >&5
7007 cat conftest.$ac_ext >&5
7009 glibcpp_cv_func__finite_use=no
7013 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7014 ac_cpp='$CPP $CPPFLAGS'
7015 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7016 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7017 cross_compiling=$ac_cv_prog_cc_cross
7023 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
7025 if test x$glibcpp_cv_func__finite_use = x"yes"; then
7026 for ac_func in _finite
7028 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7029 echo "configure:7030: checking for $ac_func" >&5
7030 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7031 echo $ac_n "(cached) $ac_c" 1>&6
7033 cat > conftest.$ac_ext <<EOF
7034 #line 7035 "configure"
7035 #include "confdefs.h"
7036 /* System header to define __stub macros and hopefully few prototypes,
7037 which can conflict with char $ac_func(); below. */
7039 /* Override any gcc2 internal prototype to avoid an error. */
7040 /* We use char because int might match the return type of a gcc2
7041 builtin and then its argument prototype would still apply. */
7046 /* The GNU C library defines this for functions which it implements
7047 to always fail with ENOSYS. Some functions are actually named
7048 something starting with __ and the normal name is an alias. */
7049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7057 if { (eval echo configure:7058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7059 eval "ac_cv_func_$ac_func=yes"
7061 echo "configure: failed program was:" >&5
7062 cat conftest.$ac_ext >&5
7064 eval "ac_cv_func_$ac_func=no"
7069 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7070 echo "$ac_t""yes" 1>&6
7071 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7072 cat >> confdefs.h <<EOF
7073 #define $ac_tr_func 1
7077 echo "$ac_t""no" 1>&6
7086 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
7087 echo "configure:7088: checking for copysign declaration" >&5
7088 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
7089 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
7090 echo $ac_n "(cached) $ac_c" 1>&6
7095 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7096 ac_cpp='$CXXCPP $CPPFLAGS'
7097 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7098 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7099 cross_compiling=$ac_cv_prog_cxx_cross
7101 cat > conftest.$ac_ext <<EOF
7102 #line 7103 "configure"
7103 #include "confdefs.h"
7109 if { (eval echo configure:7110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7111 glibcpp_cv_func_copysign_use=yes
7113 echo "configure: failed program was:" >&5
7114 cat conftest.$ac_ext >&5
7116 glibcpp_cv_func_copysign_use=no
7120 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7121 ac_cpp='$CPP $CPPFLAGS'
7122 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7123 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7124 cross_compiling=$ac_cv_prog_cc_cross
7130 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
7132 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
7133 for ac_func in copysign
7135 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7136 echo "configure:7137: checking for $ac_func" >&5
7137 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7138 echo $ac_n "(cached) $ac_c" 1>&6
7140 cat > conftest.$ac_ext <<EOF
7141 #line 7142 "configure"
7142 #include "confdefs.h"
7143 /* System header to define __stub macros and hopefully few prototypes,
7144 which can conflict with char $ac_func(); below. */
7146 /* Override any gcc2 internal prototype to avoid an error. */
7147 /* We use char because int might match the return type of a gcc2
7148 builtin and then its argument prototype would still apply. */
7153 /* The GNU C library defines this for functions which it implements
7154 to always fail with ENOSYS. Some functions are actually named
7155 something starting with __ and the normal name is an alias. */
7156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7164 if { (eval echo configure:7165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7166 eval "ac_cv_func_$ac_func=yes"
7168 echo "configure: failed program was:" >&5
7169 cat conftest.$ac_ext >&5
7171 eval "ac_cv_func_$ac_func=no"
7176 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7177 echo "$ac_t""yes" 1>&6
7178 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7179 cat >> confdefs.h <<EOF
7180 #define $ac_tr_func 1
7184 echo "$ac_t""no" 1>&6
7190 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
7191 echo "configure:7192: checking for _copysign declaration" >&5
7192 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
7193 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
7194 echo $ac_n "(cached) $ac_c" 1>&6
7199 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7200 ac_cpp='$CXXCPP $CPPFLAGS'
7201 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7202 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7203 cross_compiling=$ac_cv_prog_cxx_cross
7205 cat > conftest.$ac_ext <<EOF
7206 #line 7207 "configure"
7207 #include "confdefs.h"
7213 if { (eval echo configure:7214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7215 glibcpp_cv_func__copysign_use=yes
7217 echo "configure: failed program was:" >&5
7218 cat conftest.$ac_ext >&5
7220 glibcpp_cv_func__copysign_use=no
7224 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7225 ac_cpp='$CPP $CPPFLAGS'
7226 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7227 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7228 cross_compiling=$ac_cv_prog_cc_cross
7234 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
7236 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
7237 for ac_func in _copysign
7239 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7240 echo "configure:7241: checking for $ac_func" >&5
7241 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7242 echo $ac_n "(cached) $ac_c" 1>&6
7244 cat > conftest.$ac_ext <<EOF
7245 #line 7246 "configure"
7246 #include "confdefs.h"
7247 /* System header to define __stub macros and hopefully few prototypes,
7248 which can conflict with char $ac_func(); below. */
7250 /* Override any gcc2 internal prototype to avoid an error. */
7251 /* We use char because int might match the return type of a gcc2
7252 builtin and then its argument prototype would still apply. */
7257 /* The GNU C library defines this for functions which it implements
7258 to always fail with ENOSYS. Some functions are actually named
7259 something starting with __ and the normal name is an alias. */
7260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7268 if { (eval echo configure:7269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7270 eval "ac_cv_func_$ac_func=yes"
7272 echo "configure: failed program was:" >&5
7273 cat conftest.$ac_ext >&5
7275 eval "ac_cv_func_$ac_func=no"
7280 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7281 echo "$ac_t""yes" 1>&6
7282 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7283 cat >> confdefs.h <<EOF
7284 #define $ac_tr_func 1
7288 echo "$ac_t""no" 1>&6
7297 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
7298 echo "configure:7299: checking for sincos declaration" >&5
7299 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
7300 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
7301 echo $ac_n "(cached) $ac_c" 1>&6
7306 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7307 ac_cpp='$CXXCPP $CPPFLAGS'
7308 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7309 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7310 cross_compiling=$ac_cv_prog_cxx_cross
7312 cat > conftest.$ac_ext <<EOF
7313 #line 7314 "configure"
7314 #include "confdefs.h"
7320 if { (eval echo configure:7321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7322 glibcpp_cv_func_sincos_use=yes
7324 echo "configure: failed program was:" >&5
7325 cat conftest.$ac_ext >&5
7327 glibcpp_cv_func_sincos_use=no
7331 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7332 ac_cpp='$CPP $CPPFLAGS'
7333 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7334 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7335 cross_compiling=$ac_cv_prog_cc_cross
7341 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
7343 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
7344 for ac_func in sincos
7346 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7347 echo "configure:7348: checking for $ac_func" >&5
7348 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7349 echo $ac_n "(cached) $ac_c" 1>&6
7351 cat > conftest.$ac_ext <<EOF
7352 #line 7353 "configure"
7353 #include "confdefs.h"
7354 /* System header to define __stub macros and hopefully few prototypes,
7355 which can conflict with char $ac_func(); below. */
7357 /* Override any gcc2 internal prototype to avoid an error. */
7358 /* We use char because int might match the return type of a gcc2
7359 builtin and then its argument prototype would still apply. */
7364 /* The GNU C library defines this for functions which it implements
7365 to always fail with ENOSYS. Some functions are actually named
7366 something starting with __ and the normal name is an alias. */
7367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7375 if { (eval echo configure:7376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7377 eval "ac_cv_func_$ac_func=yes"
7379 echo "configure: failed program was:" >&5
7380 cat conftest.$ac_ext >&5
7382 eval "ac_cv_func_$ac_func=no"
7387 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7388 echo "$ac_t""yes" 1>&6
7389 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7390 cat >> confdefs.h <<EOF
7391 #define $ac_tr_func 1
7395 echo "$ac_t""no" 1>&6
7401 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
7402 echo "configure:7403: checking for _sincos declaration" >&5
7403 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
7404 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
7405 echo $ac_n "(cached) $ac_c" 1>&6
7410 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7411 ac_cpp='$CXXCPP $CPPFLAGS'
7412 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7413 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7414 cross_compiling=$ac_cv_prog_cxx_cross
7416 cat > conftest.$ac_ext <<EOF
7417 #line 7418 "configure"
7418 #include "confdefs.h"
7424 if { (eval echo configure:7425: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7426 glibcpp_cv_func__sincos_use=yes
7428 echo "configure: failed program was:" >&5
7429 cat conftest.$ac_ext >&5
7431 glibcpp_cv_func__sincos_use=no
7435 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7436 ac_cpp='$CPP $CPPFLAGS'
7437 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7438 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7439 cross_compiling=$ac_cv_prog_cc_cross
7445 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
7447 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
7448 for ac_func in _sincos
7450 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7451 echo "configure:7452: checking for $ac_func" >&5
7452 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7453 echo $ac_n "(cached) $ac_c" 1>&6
7455 cat > conftest.$ac_ext <<EOF
7456 #line 7457 "configure"
7457 #include "confdefs.h"
7458 /* System header to define __stub macros and hopefully few prototypes,
7459 which can conflict with char $ac_func(); below. */
7461 /* Override any gcc2 internal prototype to avoid an error. */
7462 /* We use char because int might match the return type of a gcc2
7463 builtin and then its argument prototype would still apply. */
7468 /* The GNU C library defines this for functions which it implements
7469 to always fail with ENOSYS. Some functions are actually named
7470 something starting with __ and the normal name is an alias. */
7471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7479 if { (eval echo configure:7480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7481 eval "ac_cv_func_$ac_func=yes"
7483 echo "configure: failed program was:" >&5
7484 cat conftest.$ac_ext >&5
7486 eval "ac_cv_func_$ac_func=no"
7491 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7492 echo "$ac_t""yes" 1>&6
7493 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7494 cat >> confdefs.h <<EOF
7495 #define $ac_tr_func 1
7499 echo "$ac_t""no" 1>&6
7508 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
7509 echo "configure:7510: checking for fpclass declaration" >&5
7510 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
7511 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
7512 echo $ac_n "(cached) $ac_c" 1>&6
7517 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7518 ac_cpp='$CXXCPP $CPPFLAGS'
7519 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7520 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7521 cross_compiling=$ac_cv_prog_cxx_cross
7523 cat > conftest.$ac_ext <<EOF
7524 #line 7525 "configure"
7525 #include "confdefs.h"
7527 #ifdef HAVE_IEEEFP_H
7535 if { (eval echo configure:7536: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7537 glibcpp_cv_func_fpclass_use=yes
7539 echo "configure: failed program was:" >&5
7540 cat conftest.$ac_ext >&5
7542 glibcpp_cv_func_fpclass_use=no
7546 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7547 ac_cpp='$CPP $CPPFLAGS'
7548 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7549 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7550 cross_compiling=$ac_cv_prog_cc_cross
7556 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
7558 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
7559 for ac_func in fpclass
7561 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7562 echo "configure:7563: checking for $ac_func" >&5
7563 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7564 echo $ac_n "(cached) $ac_c" 1>&6
7566 cat > conftest.$ac_ext <<EOF
7567 #line 7568 "configure"
7568 #include "confdefs.h"
7569 /* System header to define __stub macros and hopefully few prototypes,
7570 which can conflict with char $ac_func(); below. */
7572 /* Override any gcc2 internal prototype to avoid an error. */
7573 /* We use char because int might match the return type of a gcc2
7574 builtin and then its argument prototype would still apply. */
7579 /* The GNU C library defines this for functions which it implements
7580 to always fail with ENOSYS. Some functions are actually named
7581 something starting with __ and the normal name is an alias. */
7582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7590 if { (eval echo configure:7591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7592 eval "ac_cv_func_$ac_func=yes"
7594 echo "configure: failed program was:" >&5
7595 cat conftest.$ac_ext >&5
7597 eval "ac_cv_func_$ac_func=no"
7602 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7603 echo "$ac_t""yes" 1>&6
7604 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7605 cat >> confdefs.h <<EOF
7606 #define $ac_tr_func 1
7610 echo "$ac_t""no" 1>&6
7616 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
7617 echo "configure:7618: checking for _fpclass declaration" >&5
7618 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
7619 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
7620 echo $ac_n "(cached) $ac_c" 1>&6
7625 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7626 ac_cpp='$CXXCPP $CPPFLAGS'
7627 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7628 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7629 cross_compiling=$ac_cv_prog_cxx_cross
7631 cat > conftest.$ac_ext <<EOF
7632 #line 7633 "configure"
7633 #include "confdefs.h"
7635 #ifdef HAVE_IEEEFP_H
7643 if { (eval echo configure:7644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7645 glibcpp_cv_func__fpclass_use=yes
7647 echo "configure: failed program was:" >&5
7648 cat conftest.$ac_ext >&5
7650 glibcpp_cv_func__fpclass_use=no
7654 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7655 ac_cpp='$CPP $CPPFLAGS'
7656 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7657 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7658 cross_compiling=$ac_cv_prog_cc_cross
7664 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
7666 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
7667 for ac_func in _fpclass
7669 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7670 echo "configure:7671: checking for $ac_func" >&5
7671 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7672 echo $ac_n "(cached) $ac_c" 1>&6
7674 cat > conftest.$ac_ext <<EOF
7675 #line 7676 "configure"
7676 #include "confdefs.h"
7677 /* System header to define __stub macros and hopefully few prototypes,
7678 which can conflict with char $ac_func(); below. */
7680 /* Override any gcc2 internal prototype to avoid an error. */
7681 /* We use char because int might match the return type of a gcc2
7682 builtin and then its argument prototype would still apply. */
7687 /* The GNU C library defines this for functions which it implements
7688 to always fail with ENOSYS. Some functions are actually named
7689 something starting with __ and the normal name is an alias. */
7690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7698 if { (eval echo configure:7699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7700 eval "ac_cv_func_$ac_func=yes"
7702 echo "configure: failed program was:" >&5
7703 cat conftest.$ac_ext >&5
7705 eval "ac_cv_func_$ac_func=no"
7710 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7711 echo "$ac_t""yes" 1>&6
7712 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7713 cat >> confdefs.h <<EOF
7714 #define $ac_tr_func 1
7718 echo "$ac_t""no" 1>&6
7727 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
7728 echo "configure:7729: checking for qfpclass declaration" >&5
7729 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
7730 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
7731 echo $ac_n "(cached) $ac_c" 1>&6
7736 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7737 ac_cpp='$CXXCPP $CPPFLAGS'
7738 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7739 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7740 cross_compiling=$ac_cv_prog_cxx_cross
7742 cat > conftest.$ac_ext <<EOF
7743 #line 7744 "configure"
7744 #include "confdefs.h"
7746 #ifdef HAVE_IEEEFP_H
7754 if { (eval echo configure:7755: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7756 glibcpp_cv_func_qfpclass_use=yes
7758 echo "configure: failed program was:" >&5
7759 cat conftest.$ac_ext >&5
7761 glibcpp_cv_func_qfpclass_use=no
7765 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7766 ac_cpp='$CPP $CPPFLAGS'
7767 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7768 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7769 cross_compiling=$ac_cv_prog_cc_cross
7775 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
7777 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
7778 for ac_func in qfpclass
7780 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7781 echo "configure:7782: checking for $ac_func" >&5
7782 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7783 echo $ac_n "(cached) $ac_c" 1>&6
7785 cat > conftest.$ac_ext <<EOF
7786 #line 7787 "configure"
7787 #include "confdefs.h"
7788 /* System header to define __stub macros and hopefully few prototypes,
7789 which can conflict with char $ac_func(); below. */
7791 /* Override any gcc2 internal prototype to avoid an error. */
7792 /* We use char because int might match the return type of a gcc2
7793 builtin and then its argument prototype would still apply. */
7798 /* The GNU C library defines this for functions which it implements
7799 to always fail with ENOSYS. Some functions are actually named
7800 something starting with __ and the normal name is an alias. */
7801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7809 if { (eval echo configure:7810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7811 eval "ac_cv_func_$ac_func=yes"
7813 echo "configure: failed program was:" >&5
7814 cat conftest.$ac_ext >&5
7816 eval "ac_cv_func_$ac_func=no"
7821 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7822 echo "$ac_t""yes" 1>&6
7823 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7824 cat >> confdefs.h <<EOF
7825 #define $ac_tr_func 1
7829 echo "$ac_t""no" 1>&6
7835 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
7836 echo "configure:7837: checking for _qfpclass declaration" >&5
7837 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
7838 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
7839 echo $ac_n "(cached) $ac_c" 1>&6
7844 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7845 ac_cpp='$CXXCPP $CPPFLAGS'
7846 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7847 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7848 cross_compiling=$ac_cv_prog_cxx_cross
7850 cat > conftest.$ac_ext <<EOF
7851 #line 7852 "configure"
7852 #include "confdefs.h"
7854 #ifdef HAVE_IEEEFP_H
7862 if { (eval echo configure:7863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7864 glibcpp_cv_func__qfpclass_use=yes
7866 echo "configure: failed program was:" >&5
7867 cat conftest.$ac_ext >&5
7869 glibcpp_cv_func__qfpclass_use=no
7873 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7874 ac_cpp='$CPP $CPPFLAGS'
7875 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7876 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7877 cross_compiling=$ac_cv_prog_cc_cross
7883 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
7885 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
7886 for ac_func in _qfpclass
7888 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7889 echo "configure:7890: checking for $ac_func" >&5
7890 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7891 echo $ac_n "(cached) $ac_c" 1>&6
7893 cat > conftest.$ac_ext <<EOF
7894 #line 7895 "configure"
7895 #include "confdefs.h"
7896 /* System header to define __stub macros and hopefully few prototypes,
7897 which can conflict with char $ac_func(); below. */
7899 /* Override any gcc2 internal prototype to avoid an error. */
7900 /* We use char because int might match the return type of a gcc2
7901 builtin and then its argument prototype would still apply. */
7906 /* The GNU C library defines this for functions which it implements
7907 to always fail with ENOSYS. Some functions are actually named
7908 something starting with __ and the normal name is an alias. */
7909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7917 if { (eval echo configure:7918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7919 eval "ac_cv_func_$ac_func=yes"
7921 echo "configure: failed program was:" >&5
7922 cat conftest.$ac_ext >&5
7924 eval "ac_cv_func_$ac_func=no"
7929 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7930 echo "$ac_t""yes" 1>&6
7931 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7932 cat >> confdefs.h <<EOF
7933 #define $ac_tr_func 1
7937 echo "$ac_t""no" 1>&6
7946 echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
7947 echo "configure:7948: checking for hypot declaration" >&5
7948 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
7949 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
7950 echo $ac_n "(cached) $ac_c" 1>&6
7955 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7956 ac_cpp='$CXXCPP $CPPFLAGS'
7957 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7958 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7959 cross_compiling=$ac_cv_prog_cxx_cross
7961 cat > conftest.$ac_ext <<EOF
7962 #line 7963 "configure"
7963 #include "confdefs.h"
7969 if { (eval echo configure:7970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7971 glibcpp_cv_func_hypot_use=yes
7973 echo "configure: failed program was:" >&5
7974 cat conftest.$ac_ext >&5
7976 glibcpp_cv_func_hypot_use=no
7980 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7981 ac_cpp='$CPP $CPPFLAGS'
7982 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7983 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7984 cross_compiling=$ac_cv_prog_cc_cross
7990 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
7992 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
7993 for ac_func in hypot
7995 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7996 echo "configure:7997: checking for $ac_func" >&5
7997 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7998 echo $ac_n "(cached) $ac_c" 1>&6
8000 cat > conftest.$ac_ext <<EOF
8001 #line 8002 "configure"
8002 #include "confdefs.h"
8003 /* System header to define __stub macros and hopefully few prototypes,
8004 which can conflict with char $ac_func(); below. */
8006 /* Override any gcc2 internal prototype to avoid an error. */
8007 /* We use char because int might match the return type of a gcc2
8008 builtin and then its argument prototype would still apply. */
8013 /* The GNU C library defines this for functions which it implements
8014 to always fail with ENOSYS. Some functions are actually named
8015 something starting with __ and the normal name is an alias. */
8016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8024 if { (eval echo configure:8025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8026 eval "ac_cv_func_$ac_func=yes"
8028 echo "configure: failed program was:" >&5
8029 cat conftest.$ac_ext >&5
8031 eval "ac_cv_func_$ac_func=no"
8036 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8037 echo "$ac_t""yes" 1>&6
8038 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8039 cat >> confdefs.h <<EOF
8040 #define $ac_tr_func 1
8044 echo "$ac_t""no" 1>&6
8050 echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
8051 echo "configure:8052: checking for _hypot declaration" >&5
8052 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
8053 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
8054 echo $ac_n "(cached) $ac_c" 1>&6
8059 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8060 ac_cpp='$CXXCPP $CPPFLAGS'
8061 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8062 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8063 cross_compiling=$ac_cv_prog_cxx_cross
8065 cat > conftest.$ac_ext <<EOF
8066 #line 8067 "configure"
8067 #include "confdefs.h"
8073 if { (eval echo configure:8074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8075 glibcpp_cv_func__hypot_use=yes
8077 echo "configure: failed program was:" >&5
8078 cat conftest.$ac_ext >&5
8080 glibcpp_cv_func__hypot_use=no
8084 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8085 ac_cpp='$CPP $CPPFLAGS'
8086 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8087 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8088 cross_compiling=$ac_cv_prog_cc_cross
8094 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
8096 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
8097 for ac_func in _hypot
8099 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8100 echo "configure:8101: checking for $ac_func" >&5
8101 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8102 echo $ac_n "(cached) $ac_c" 1>&6
8104 cat > conftest.$ac_ext <<EOF
8105 #line 8106 "configure"
8106 #include "confdefs.h"
8107 /* System header to define __stub macros and hopefully few prototypes,
8108 which can conflict with char $ac_func(); below. */
8110 /* Override any gcc2 internal prototype to avoid an error. */
8111 /* We use char because int might match the return type of a gcc2
8112 builtin and then its argument prototype would still apply. */
8117 /* The GNU C library defines this for functions which it implements
8118 to always fail with ENOSYS. Some functions are actually named
8119 something starting with __ and the normal name is an alias. */
8120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8128 if { (eval echo configure:8129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8130 eval "ac_cv_func_$ac_func=yes"
8132 echo "configure: failed program was:" >&5
8133 cat conftest.$ac_ext >&5
8135 eval "ac_cv_func_$ac_func=no"
8140 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8141 echo "$ac_t""yes" 1>&6
8142 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8143 cat >> confdefs.h <<EOF
8144 #define $ac_tr_func 1
8148 echo "$ac_t""no" 1>&6
8157 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
8158 echo "configure:8159: checking for float trig functions" >&5
8159 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
8160 echo $ac_n "(cached) $ac_c" 1>&6
8165 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8166 ac_cpp='$CXXCPP $CPPFLAGS'
8167 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8168 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8169 cross_compiling=$ac_cv_prog_cxx_cross
8171 cat > conftest.$ac_ext <<EOF
8172 #line 8173 "configure"
8173 #include "confdefs.h"
8176 `for x in acosf asinf atanf \
8178 coshf sinhf tanhf; do echo "$x (0);"; done`
8181 if { (eval echo configure:8182: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8183 glibcpp_cv_func_float_trig_use=yes
8185 echo "configure: failed program was:" >&5
8186 cat conftest.$ac_ext >&5
8188 glibcpp_cv_func_float_trig_use=no
8192 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8193 ac_cpp='$CPP $CPPFLAGS'
8194 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8195 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8196 cross_compiling=$ac_cv_prog_cc_cross
8200 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
8201 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
8202 for ac_func in acosf asinf atanf \
8206 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8207 echo "configure:8208: checking for $ac_func" >&5
8208 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8209 echo $ac_n "(cached) $ac_c" 1>&6
8211 cat > conftest.$ac_ext <<EOF
8212 #line 8213 "configure"
8213 #include "confdefs.h"
8214 /* System header to define __stub macros and hopefully few prototypes,
8215 which can conflict with char $ac_func(); below. */
8217 /* Override any gcc2 internal prototype to avoid an error. */
8218 /* We use char because int might match the return type of a gcc2
8219 builtin and then its argument prototype would still apply. */
8224 /* The GNU C library defines this for functions which it implements
8225 to always fail with ENOSYS. Some functions are actually named
8226 something starting with __ and the normal name is an alias. */
8227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8235 if { (eval echo configure:8236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8237 eval "ac_cv_func_$ac_func=yes"
8239 echo "configure: failed program was:" >&5
8240 cat conftest.$ac_ext >&5
8242 eval "ac_cv_func_$ac_func=no"
8247 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8248 echo "$ac_t""yes" 1>&6
8249 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8250 cat >> confdefs.h <<EOF
8251 #define $ac_tr_func 1
8255 echo "$ac_t""no" 1>&6
8262 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
8263 echo "configure:8264: checking for float round functions" >&5
8264 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
8265 echo $ac_n "(cached) $ac_c" 1>&6
8270 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8271 ac_cpp='$CXXCPP $CPPFLAGS'
8272 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8273 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8274 cross_compiling=$ac_cv_prog_cxx_cross
8276 cat > conftest.$ac_ext <<EOF
8277 #line 8278 "configure"
8278 #include "confdefs.h"
8281 `for x in ceilf floorf; do echo "$x (0);"; done`
8284 if { (eval echo configure:8285: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8286 glibcpp_cv_func_float_round_use=yes
8288 echo "configure: failed program was:" >&5
8289 cat conftest.$ac_ext >&5
8291 glibcpp_cv_func_float_round_use=no
8295 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8296 ac_cpp='$CPP $CPPFLAGS'
8297 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8298 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8299 cross_compiling=$ac_cv_prog_cc_cross
8303 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
8304 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
8305 for ac_func in ceilf floorf
8307 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8308 echo "configure:8309: checking for $ac_func" >&5
8309 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8310 echo $ac_n "(cached) $ac_c" 1>&6
8312 cat > conftest.$ac_ext <<EOF
8313 #line 8314 "configure"
8314 #include "confdefs.h"
8315 /* System header to define __stub macros and hopefully few prototypes,
8316 which can conflict with char $ac_func(); below. */
8318 /* Override any gcc2 internal prototype to avoid an error. */
8319 /* We use char because int might match the return type of a gcc2
8320 builtin and then its argument prototype would still apply. */
8325 /* The GNU C library defines this for functions which it implements
8326 to always fail with ENOSYS. Some functions are actually named
8327 something starting with __ and the normal name is an alias. */
8328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8336 if { (eval echo configure:8337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8338 eval "ac_cv_func_$ac_func=yes"
8340 echo "configure: failed program was:" >&5
8341 cat conftest.$ac_ext >&5
8343 eval "ac_cv_func_$ac_func=no"
8348 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8349 echo "$ac_t""yes" 1>&6
8350 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8351 cat >> confdefs.h <<EOF
8352 #define $ac_tr_func 1
8356 echo "$ac_t""no" 1>&6
8364 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
8365 echo "configure:8366: checking for isnanf declaration" >&5
8366 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
8367 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
8368 echo $ac_n "(cached) $ac_c" 1>&6
8373 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8374 ac_cpp='$CXXCPP $CPPFLAGS'
8375 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8376 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8377 cross_compiling=$ac_cv_prog_cxx_cross
8379 cat > conftest.$ac_ext <<EOF
8380 #line 8381 "configure"
8381 #include "confdefs.h"
8383 #ifdef HAVE_IEEEFP_H
8391 if { (eval echo configure:8392: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8393 glibcpp_cv_func_isnanf_use=yes
8395 echo "configure: failed program was:" >&5
8396 cat conftest.$ac_ext >&5
8398 glibcpp_cv_func_isnanf_use=no
8402 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8403 ac_cpp='$CPP $CPPFLAGS'
8404 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8405 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8406 cross_compiling=$ac_cv_prog_cc_cross
8412 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
8414 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
8415 for ac_func in isnanf
8417 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8418 echo "configure:8419: checking for $ac_func" >&5
8419 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8420 echo $ac_n "(cached) $ac_c" 1>&6
8422 cat > conftest.$ac_ext <<EOF
8423 #line 8424 "configure"
8424 #include "confdefs.h"
8425 /* System header to define __stub macros and hopefully few prototypes,
8426 which can conflict with char $ac_func(); below. */
8428 /* Override any gcc2 internal prototype to avoid an error. */
8429 /* We use char because int might match the return type of a gcc2
8430 builtin and then its argument prototype would still apply. */
8435 /* The GNU C library defines this for functions which it implements
8436 to always fail with ENOSYS. Some functions are actually named
8437 something starting with __ and the normal name is an alias. */
8438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8446 if { (eval echo configure:8447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8448 eval "ac_cv_func_$ac_func=yes"
8450 echo "configure: failed program was:" >&5
8451 cat conftest.$ac_ext >&5
8453 eval "ac_cv_func_$ac_func=no"
8458 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8459 echo "$ac_t""yes" 1>&6
8460 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8461 cat >> confdefs.h <<EOF
8462 #define $ac_tr_func 1
8466 echo "$ac_t""no" 1>&6
8472 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
8473 echo "configure:8474: checking for _isnanf declaration" >&5
8474 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
8475 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
8476 echo $ac_n "(cached) $ac_c" 1>&6
8481 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8482 ac_cpp='$CXXCPP $CPPFLAGS'
8483 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8484 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8485 cross_compiling=$ac_cv_prog_cxx_cross
8487 cat > conftest.$ac_ext <<EOF
8488 #line 8489 "configure"
8489 #include "confdefs.h"
8491 #ifdef HAVE_IEEEFP_H
8499 if { (eval echo configure:8500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8501 glibcpp_cv_func__isnanf_use=yes
8503 echo "configure: failed program was:" >&5
8504 cat conftest.$ac_ext >&5
8506 glibcpp_cv_func__isnanf_use=no
8510 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8511 ac_cpp='$CPP $CPPFLAGS'
8512 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8513 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8514 cross_compiling=$ac_cv_prog_cc_cross
8520 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
8522 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
8523 for ac_func in _isnanf
8525 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8526 echo "configure:8527: checking for $ac_func" >&5
8527 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8528 echo $ac_n "(cached) $ac_c" 1>&6
8530 cat > conftest.$ac_ext <<EOF
8531 #line 8532 "configure"
8532 #include "confdefs.h"
8533 /* System header to define __stub macros and hopefully few prototypes,
8534 which can conflict with char $ac_func(); below. */
8536 /* Override any gcc2 internal prototype to avoid an error. */
8537 /* We use char because int might match the return type of a gcc2
8538 builtin and then its argument prototype would still apply. */
8543 /* The GNU C library defines this for functions which it implements
8544 to always fail with ENOSYS. Some functions are actually named
8545 something starting with __ and the normal name is an alias. */
8546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8554 if { (eval echo configure:8555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8556 eval "ac_cv_func_$ac_func=yes"
8558 echo "configure: failed program was:" >&5
8559 cat conftest.$ac_ext >&5
8561 eval "ac_cv_func_$ac_func=no"
8566 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8567 echo "$ac_t""yes" 1>&6
8568 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8569 cat >> confdefs.h <<EOF
8570 #define $ac_tr_func 1
8574 echo "$ac_t""no" 1>&6
8583 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
8584 echo "configure:8585: checking for isinff declaration" >&5
8585 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
8586 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
8587 echo $ac_n "(cached) $ac_c" 1>&6
8592 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8593 ac_cpp='$CXXCPP $CPPFLAGS'
8594 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8595 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8596 cross_compiling=$ac_cv_prog_cxx_cross
8598 cat > conftest.$ac_ext <<EOF
8599 #line 8600 "configure"
8600 #include "confdefs.h"
8602 #ifdef HAVE_IEEEFP_H
8610 if { (eval echo configure:8611: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8612 glibcpp_cv_func_isinff_use=yes
8614 echo "configure: failed program was:" >&5
8615 cat conftest.$ac_ext >&5
8617 glibcpp_cv_func_isinff_use=no
8621 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8622 ac_cpp='$CPP $CPPFLAGS'
8623 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8624 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8625 cross_compiling=$ac_cv_prog_cc_cross
8631 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
8633 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
8634 for ac_func in isinff
8636 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8637 echo "configure:8638: checking for $ac_func" >&5
8638 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8639 echo $ac_n "(cached) $ac_c" 1>&6
8641 cat > conftest.$ac_ext <<EOF
8642 #line 8643 "configure"
8643 #include "confdefs.h"
8644 /* System header to define __stub macros and hopefully few prototypes,
8645 which can conflict with char $ac_func(); below. */
8647 /* Override any gcc2 internal prototype to avoid an error. */
8648 /* We use char because int might match the return type of a gcc2
8649 builtin and then its argument prototype would still apply. */
8654 /* The GNU C library defines this for functions which it implements
8655 to always fail with ENOSYS. Some functions are actually named
8656 something starting with __ and the normal name is an alias. */
8657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8665 if { (eval echo configure:8666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8667 eval "ac_cv_func_$ac_func=yes"
8669 echo "configure: failed program was:" >&5
8670 cat conftest.$ac_ext >&5
8672 eval "ac_cv_func_$ac_func=no"
8677 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8678 echo "$ac_t""yes" 1>&6
8679 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8680 cat >> confdefs.h <<EOF
8681 #define $ac_tr_func 1
8685 echo "$ac_t""no" 1>&6
8691 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
8692 echo "configure:8693: checking for _isinff declaration" >&5
8693 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
8694 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
8695 echo $ac_n "(cached) $ac_c" 1>&6
8700 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8701 ac_cpp='$CXXCPP $CPPFLAGS'
8702 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8703 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8704 cross_compiling=$ac_cv_prog_cxx_cross
8706 cat > conftest.$ac_ext <<EOF
8707 #line 8708 "configure"
8708 #include "confdefs.h"
8710 #ifdef HAVE_IEEEFP_H
8718 if { (eval echo configure:8719: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8720 glibcpp_cv_func__isinff_use=yes
8722 echo "configure: failed program was:" >&5
8723 cat conftest.$ac_ext >&5
8725 glibcpp_cv_func__isinff_use=no
8729 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8730 ac_cpp='$CPP $CPPFLAGS'
8731 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8732 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8733 cross_compiling=$ac_cv_prog_cc_cross
8739 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
8741 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
8742 for ac_func in _isinff
8744 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8745 echo "configure:8746: checking for $ac_func" >&5
8746 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8747 echo $ac_n "(cached) $ac_c" 1>&6
8749 cat > conftest.$ac_ext <<EOF
8750 #line 8751 "configure"
8751 #include "confdefs.h"
8752 /* System header to define __stub macros and hopefully few prototypes,
8753 which can conflict with char $ac_func(); below. */
8755 /* Override any gcc2 internal prototype to avoid an error. */
8756 /* We use char because int might match the return type of a gcc2
8757 builtin and then its argument prototype would still apply. */
8762 /* The GNU C library defines this for functions which it implements
8763 to always fail with ENOSYS. Some functions are actually named
8764 something starting with __ and the normal name is an alias. */
8765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8773 if { (eval echo configure:8774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8775 eval "ac_cv_func_$ac_func=yes"
8777 echo "configure: failed program was:" >&5
8778 cat conftest.$ac_ext >&5
8780 eval "ac_cv_func_$ac_func=no"
8785 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8786 echo "$ac_t""yes" 1>&6
8787 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8788 cat >> confdefs.h <<EOF
8789 #define $ac_tr_func 1
8793 echo "$ac_t""no" 1>&6
8802 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
8803 echo "configure:8804: checking for atan2f declaration" >&5
8804 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
8805 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
8806 echo $ac_n "(cached) $ac_c" 1>&6
8811 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8812 ac_cpp='$CXXCPP $CPPFLAGS'
8813 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8814 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8815 cross_compiling=$ac_cv_prog_cxx_cross
8817 cat > conftest.$ac_ext <<EOF
8818 #line 8819 "configure"
8819 #include "confdefs.h"
8825 if { (eval echo configure:8826: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8827 glibcpp_cv_func_atan2f_use=yes
8829 echo "configure: failed program was:" >&5
8830 cat conftest.$ac_ext >&5
8832 glibcpp_cv_func_atan2f_use=no
8836 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8837 ac_cpp='$CPP $CPPFLAGS'
8838 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8839 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8840 cross_compiling=$ac_cv_prog_cc_cross
8846 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
8848 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
8849 for ac_func in atan2f
8851 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8852 echo "configure:8853: checking for $ac_func" >&5
8853 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8854 echo $ac_n "(cached) $ac_c" 1>&6
8856 cat > conftest.$ac_ext <<EOF
8857 #line 8858 "configure"
8858 #include "confdefs.h"
8859 /* System header to define __stub macros and hopefully few prototypes,
8860 which can conflict with char $ac_func(); below. */
8862 /* Override any gcc2 internal prototype to avoid an error. */
8863 /* We use char because int might match the return type of a gcc2
8864 builtin and then its argument prototype would still apply. */
8869 /* The GNU C library defines this for functions which it implements
8870 to always fail with ENOSYS. Some functions are actually named
8871 something starting with __ and the normal name is an alias. */
8872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8880 if { (eval echo configure:8881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8882 eval "ac_cv_func_$ac_func=yes"
8884 echo "configure: failed program was:" >&5
8885 cat conftest.$ac_ext >&5
8887 eval "ac_cv_func_$ac_func=no"
8892 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8893 echo "$ac_t""yes" 1>&6
8894 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8895 cat >> confdefs.h <<EOF
8896 #define $ac_tr_func 1
8900 echo "$ac_t""no" 1>&6
8906 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
8907 echo "configure:8908: checking for _atan2f declaration" >&5
8908 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
8909 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
8910 echo $ac_n "(cached) $ac_c" 1>&6
8915 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8916 ac_cpp='$CXXCPP $CPPFLAGS'
8917 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8918 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8919 cross_compiling=$ac_cv_prog_cxx_cross
8921 cat > conftest.$ac_ext <<EOF
8922 #line 8923 "configure"
8923 #include "confdefs.h"
8929 if { (eval echo configure:8930: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8931 glibcpp_cv_func__atan2f_use=yes
8933 echo "configure: failed program was:" >&5
8934 cat conftest.$ac_ext >&5
8936 glibcpp_cv_func__atan2f_use=no
8940 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8941 ac_cpp='$CPP $CPPFLAGS'
8942 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8943 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8944 cross_compiling=$ac_cv_prog_cc_cross
8950 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
8952 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
8953 for ac_func in _atan2f
8955 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8956 echo "configure:8957: checking for $ac_func" >&5
8957 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8958 echo $ac_n "(cached) $ac_c" 1>&6
8960 cat > conftest.$ac_ext <<EOF
8961 #line 8962 "configure"
8962 #include "confdefs.h"
8963 /* System header to define __stub macros and hopefully few prototypes,
8964 which can conflict with char $ac_func(); below. */
8966 /* Override any gcc2 internal prototype to avoid an error. */
8967 /* We use char because int might match the return type of a gcc2
8968 builtin and then its argument prototype would still apply. */
8973 /* The GNU C library defines this for functions which it implements
8974 to always fail with ENOSYS. Some functions are actually named
8975 something starting with __ and the normal name is an alias. */
8976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8984 if { (eval echo configure:8985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8986 eval "ac_cv_func_$ac_func=yes"
8988 echo "configure: failed program was:" >&5
8989 cat conftest.$ac_ext >&5
8991 eval "ac_cv_func_$ac_func=no"
8996 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8997 echo "$ac_t""yes" 1>&6
8998 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8999 cat >> confdefs.h <<EOF
9000 #define $ac_tr_func 1
9004 echo "$ac_t""no" 1>&6
9013 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
9014 echo "configure:9015: checking for fabsf declaration" >&5
9015 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
9016 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
9017 echo $ac_n "(cached) $ac_c" 1>&6
9022 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9023 ac_cpp='$CXXCPP $CPPFLAGS'
9024 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9025 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9026 cross_compiling=$ac_cv_prog_cxx_cross
9028 cat > conftest.$ac_ext <<EOF
9029 #line 9030 "configure"
9030 #include "confdefs.h"
9032 #ifdef HAVE_IEEEFP_H
9040 if { (eval echo configure:9041: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9042 glibcpp_cv_func_fabsf_use=yes
9044 echo "configure: failed program was:" >&5
9045 cat conftest.$ac_ext >&5
9047 glibcpp_cv_func_fabsf_use=no
9051 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9052 ac_cpp='$CPP $CPPFLAGS'
9053 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9054 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9055 cross_compiling=$ac_cv_prog_cc_cross
9061 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
9063 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
9064 for ac_func in fabsf
9066 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9067 echo "configure:9068: checking for $ac_func" >&5
9068 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9069 echo $ac_n "(cached) $ac_c" 1>&6
9071 cat > conftest.$ac_ext <<EOF
9072 #line 9073 "configure"
9073 #include "confdefs.h"
9074 /* System header to define __stub macros and hopefully few prototypes,
9075 which can conflict with char $ac_func(); below. */
9077 /* Override any gcc2 internal prototype to avoid an error. */
9078 /* We use char because int might match the return type of a gcc2
9079 builtin and then its argument prototype would still apply. */
9084 /* The GNU C library defines this for functions which it implements
9085 to always fail with ENOSYS. Some functions are actually named
9086 something starting with __ and the normal name is an alias. */
9087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9095 if { (eval echo configure:9096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9097 eval "ac_cv_func_$ac_func=yes"
9099 echo "configure: failed program was:" >&5
9100 cat conftest.$ac_ext >&5
9102 eval "ac_cv_func_$ac_func=no"
9107 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9108 echo "$ac_t""yes" 1>&6
9109 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9110 cat >> confdefs.h <<EOF
9111 #define $ac_tr_func 1
9115 echo "$ac_t""no" 1>&6
9121 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
9122 echo "configure:9123: checking for _fabsf declaration" >&5
9123 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
9124 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
9125 echo $ac_n "(cached) $ac_c" 1>&6
9130 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9131 ac_cpp='$CXXCPP $CPPFLAGS'
9132 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9133 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9134 cross_compiling=$ac_cv_prog_cxx_cross
9136 cat > conftest.$ac_ext <<EOF
9137 #line 9138 "configure"
9138 #include "confdefs.h"
9140 #ifdef HAVE_IEEEFP_H
9148 if { (eval echo configure:9149: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9150 glibcpp_cv_func__fabsf_use=yes
9152 echo "configure: failed program was:" >&5
9153 cat conftest.$ac_ext >&5
9155 glibcpp_cv_func__fabsf_use=no
9159 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9160 ac_cpp='$CPP $CPPFLAGS'
9161 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9162 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9163 cross_compiling=$ac_cv_prog_cc_cross
9169 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
9171 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
9172 for ac_func in _fabsf
9174 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9175 echo "configure:9176: checking for $ac_func" >&5
9176 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9177 echo $ac_n "(cached) $ac_c" 1>&6
9179 cat > conftest.$ac_ext <<EOF
9180 #line 9181 "configure"
9181 #include "confdefs.h"
9182 /* System header to define __stub macros and hopefully few prototypes,
9183 which can conflict with char $ac_func(); below. */
9185 /* Override any gcc2 internal prototype to avoid an error. */
9186 /* We use char because int might match the return type of a gcc2
9187 builtin and then its argument prototype would still apply. */
9192 /* The GNU C library defines this for functions which it implements
9193 to always fail with ENOSYS. Some functions are actually named
9194 something starting with __ and the normal name is an alias. */
9195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9203 if { (eval echo configure:9204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9205 eval "ac_cv_func_$ac_func=yes"
9207 echo "configure: failed program was:" >&5
9208 cat conftest.$ac_ext >&5
9210 eval "ac_cv_func_$ac_func=no"
9215 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9216 echo "$ac_t""yes" 1>&6
9217 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9218 cat >> confdefs.h <<EOF
9219 #define $ac_tr_func 1
9223 echo "$ac_t""no" 1>&6
9232 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
9233 echo "configure:9234: checking for fmodf declaration" >&5
9234 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
9235 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
9236 echo $ac_n "(cached) $ac_c" 1>&6
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"
9255 if { (eval echo configure:9256: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9257 glibcpp_cv_func_fmodf_use=yes
9259 echo "configure: failed program was:" >&5
9260 cat conftest.$ac_ext >&5
9262 glibcpp_cv_func_fmodf_use=no
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_fmodf_use" 1>&6
9278 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
9279 for ac_func in fmodf
9281 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9282 echo "configure:9283: checking for $ac_func" >&5
9283 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9284 echo $ac_n "(cached) $ac_c" 1>&6
9286 cat > conftest.$ac_ext <<EOF
9287 #line 9288 "configure"
9288 #include "confdefs.h"
9289 /* System header to define __stub macros and hopefully few prototypes,
9290 which can conflict with char $ac_func(); below. */
9292 /* Override any gcc2 internal prototype to avoid an error. */
9293 /* We use char because int might match the return type of a gcc2
9294 builtin and then its argument prototype would still apply. */
9299 /* The GNU C library defines this for functions which it implements
9300 to always fail with ENOSYS. Some functions are actually named
9301 something starting with __ and the normal name is an alias. */
9302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9310 if { (eval echo configure:9311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9312 eval "ac_cv_func_$ac_func=yes"
9314 echo "configure: failed program was:" >&5
9315 cat conftest.$ac_ext >&5
9317 eval "ac_cv_func_$ac_func=no"
9322 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9323 echo "$ac_t""yes" 1>&6
9324 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9325 cat >> confdefs.h <<EOF
9326 #define $ac_tr_func 1
9330 echo "$ac_t""no" 1>&6
9336 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
9337 echo "configure:9338: checking for _fmodf declaration" >&5
9338 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
9339 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
9340 echo $ac_n "(cached) $ac_c" 1>&6
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"
9359 if { (eval echo configure:9360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9361 glibcpp_cv_func__fmodf_use=yes
9363 echo "configure: failed program was:" >&5
9364 cat conftest.$ac_ext >&5
9366 glibcpp_cv_func__fmodf_use=no
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__fmodf_use" 1>&6
9382 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
9383 for ac_func in _fmodf
9385 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9386 echo "configure:9387: checking for $ac_func" >&5
9387 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9388 echo $ac_n "(cached) $ac_c" 1>&6
9390 cat > conftest.$ac_ext <<EOF
9391 #line 9392 "configure"
9392 #include "confdefs.h"
9393 /* System header to define __stub macros and hopefully few prototypes,
9394 which can conflict with char $ac_func(); below. */
9396 /* Override any gcc2 internal prototype to avoid an error. */
9397 /* We use char because int might match the return type of a gcc2
9398 builtin and then its argument prototype would still apply. */
9403 /* The GNU C library defines this for functions which it implements
9404 to always fail with ENOSYS. Some functions are actually named
9405 something starting with __ and the normal name is an alias. */
9406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9414 if { (eval echo configure:9415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9416 eval "ac_cv_func_$ac_func=yes"
9418 echo "configure: failed program was:" >&5
9419 cat conftest.$ac_ext >&5
9421 eval "ac_cv_func_$ac_func=no"
9426 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9427 echo "$ac_t""yes" 1>&6
9428 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9429 cat >> confdefs.h <<EOF
9430 #define $ac_tr_func 1
9434 echo "$ac_t""no" 1>&6
9443 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
9444 echo "configure:9445: checking for frexpf declaration" >&5
9445 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
9446 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
9447 echo $ac_n "(cached) $ac_c" 1>&6
9452 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9453 ac_cpp='$CXXCPP $CPPFLAGS'
9454 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9455 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9456 cross_compiling=$ac_cv_prog_cxx_cross
9458 cat > conftest.$ac_ext <<EOF
9459 #line 9460 "configure"
9460 #include "confdefs.h"
9466 if { (eval echo configure:9467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9468 glibcpp_cv_func_frexpf_use=yes
9470 echo "configure: failed program was:" >&5
9471 cat conftest.$ac_ext >&5
9473 glibcpp_cv_func_frexpf_use=no
9477 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9478 ac_cpp='$CPP $CPPFLAGS'
9479 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9480 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9481 cross_compiling=$ac_cv_prog_cc_cross
9487 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
9489 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
9490 for ac_func in frexpf
9492 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9493 echo "configure:9494: checking for $ac_func" >&5
9494 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9495 echo $ac_n "(cached) $ac_c" 1>&6
9497 cat > conftest.$ac_ext <<EOF
9498 #line 9499 "configure"
9499 #include "confdefs.h"
9500 /* System header to define __stub macros and hopefully few prototypes,
9501 which can conflict with char $ac_func(); below. */
9503 /* Override any gcc2 internal prototype to avoid an error. */
9504 /* We use char because int might match the return type of a gcc2
9505 builtin and then its argument prototype would still apply. */
9510 /* The GNU C library defines this for functions which it implements
9511 to always fail with ENOSYS. Some functions are actually named
9512 something starting with __ and the normal name is an alias. */
9513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9521 if { (eval echo configure:9522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9523 eval "ac_cv_func_$ac_func=yes"
9525 echo "configure: failed program was:" >&5
9526 cat conftest.$ac_ext >&5
9528 eval "ac_cv_func_$ac_func=no"
9533 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9534 echo "$ac_t""yes" 1>&6
9535 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9536 cat >> confdefs.h <<EOF
9537 #define $ac_tr_func 1
9541 echo "$ac_t""no" 1>&6
9547 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
9548 echo "configure:9549: checking for _frexpf declaration" >&5
9549 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
9550 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
9551 echo $ac_n "(cached) $ac_c" 1>&6
9556 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9557 ac_cpp='$CXXCPP $CPPFLAGS'
9558 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9559 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9560 cross_compiling=$ac_cv_prog_cxx_cross
9562 cat > conftest.$ac_ext <<EOF
9563 #line 9564 "configure"
9564 #include "confdefs.h"
9570 if { (eval echo configure:9571: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9572 glibcpp_cv_func__frexpf_use=yes
9574 echo "configure: failed program was:" >&5
9575 cat conftest.$ac_ext >&5
9577 glibcpp_cv_func__frexpf_use=no
9581 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9582 ac_cpp='$CPP $CPPFLAGS'
9583 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9584 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9585 cross_compiling=$ac_cv_prog_cc_cross
9591 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
9593 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
9594 for ac_func in _frexpf
9596 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9597 echo "configure:9598: checking for $ac_func" >&5
9598 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9599 echo $ac_n "(cached) $ac_c" 1>&6
9601 cat > conftest.$ac_ext <<EOF
9602 #line 9603 "configure"
9603 #include "confdefs.h"
9604 /* System header to define __stub macros and hopefully few prototypes,
9605 which can conflict with char $ac_func(); below. */
9607 /* Override any gcc2 internal prototype to avoid an error. */
9608 /* We use char because int might match the return type of a gcc2
9609 builtin and then its argument prototype would still apply. */
9614 /* The GNU C library defines this for functions which it implements
9615 to always fail with ENOSYS. Some functions are actually named
9616 something starting with __ and the normal name is an alias. */
9617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9625 if { (eval echo configure:9626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9627 eval "ac_cv_func_$ac_func=yes"
9629 echo "configure: failed program was:" >&5
9630 cat conftest.$ac_ext >&5
9632 eval "ac_cv_func_$ac_func=no"
9637 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9638 echo "$ac_t""yes" 1>&6
9639 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9640 cat >> confdefs.h <<EOF
9641 #define $ac_tr_func 1
9645 echo "$ac_t""no" 1>&6
9654 echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
9655 echo "configure:9656: checking for hypotf declaration" >&5
9656 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
9657 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
9658 echo $ac_n "(cached) $ac_c" 1>&6
9663 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9664 ac_cpp='$CXXCPP $CPPFLAGS'
9665 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9666 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9667 cross_compiling=$ac_cv_prog_cxx_cross
9669 cat > conftest.$ac_ext <<EOF
9670 #line 9671 "configure"
9671 #include "confdefs.h"
9677 if { (eval echo configure:9678: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9679 glibcpp_cv_func_hypotf_use=yes
9681 echo "configure: failed program was:" >&5
9682 cat conftest.$ac_ext >&5
9684 glibcpp_cv_func_hypotf_use=no
9688 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9689 ac_cpp='$CPP $CPPFLAGS'
9690 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9691 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9692 cross_compiling=$ac_cv_prog_cc_cross
9698 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
9700 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
9701 for ac_func in hypotf
9703 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9704 echo "configure:9705: checking for $ac_func" >&5
9705 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9706 echo $ac_n "(cached) $ac_c" 1>&6
9708 cat > conftest.$ac_ext <<EOF
9709 #line 9710 "configure"
9710 #include "confdefs.h"
9711 /* System header to define __stub macros and hopefully few prototypes,
9712 which can conflict with char $ac_func(); below. */
9714 /* Override any gcc2 internal prototype to avoid an error. */
9715 /* We use char because int might match the return type of a gcc2
9716 builtin and then its argument prototype would still apply. */
9721 /* The GNU C library defines this for functions which it implements
9722 to always fail with ENOSYS. Some functions are actually named
9723 something starting with __ and the normal name is an alias. */
9724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9732 if { (eval echo configure:9733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9734 eval "ac_cv_func_$ac_func=yes"
9736 echo "configure: failed program was:" >&5
9737 cat conftest.$ac_ext >&5
9739 eval "ac_cv_func_$ac_func=no"
9744 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9745 echo "$ac_t""yes" 1>&6
9746 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9747 cat >> confdefs.h <<EOF
9748 #define $ac_tr_func 1
9752 echo "$ac_t""no" 1>&6
9758 echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
9759 echo "configure:9760: checking for _hypotf declaration" >&5
9760 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
9761 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
9762 echo $ac_n "(cached) $ac_c" 1>&6
9767 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9768 ac_cpp='$CXXCPP $CPPFLAGS'
9769 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9770 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9771 cross_compiling=$ac_cv_prog_cxx_cross
9773 cat > conftest.$ac_ext <<EOF
9774 #line 9775 "configure"
9775 #include "confdefs.h"
9781 if { (eval echo configure:9782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9783 glibcpp_cv_func__hypotf_use=yes
9785 echo "configure: failed program was:" >&5
9786 cat conftest.$ac_ext >&5
9788 glibcpp_cv_func__hypotf_use=no
9792 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9793 ac_cpp='$CPP $CPPFLAGS'
9794 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9795 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9796 cross_compiling=$ac_cv_prog_cc_cross
9802 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
9804 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
9805 for ac_func in _hypotf
9807 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9808 echo "configure:9809: checking for $ac_func" >&5
9809 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9810 echo $ac_n "(cached) $ac_c" 1>&6
9812 cat > conftest.$ac_ext <<EOF
9813 #line 9814 "configure"
9814 #include "confdefs.h"
9815 /* System header to define __stub macros and hopefully few prototypes,
9816 which can conflict with char $ac_func(); below. */
9818 /* Override any gcc2 internal prototype to avoid an error. */
9819 /* We use char because int might match the return type of a gcc2
9820 builtin and then its argument prototype would still apply. */
9825 /* The GNU C library defines this for functions which it implements
9826 to always fail with ENOSYS. Some functions are actually named
9827 something starting with __ and the normal name is an alias. */
9828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9836 if { (eval echo configure:9837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9838 eval "ac_cv_func_$ac_func=yes"
9840 echo "configure: failed program was:" >&5
9841 cat conftest.$ac_ext >&5
9843 eval "ac_cv_func_$ac_func=no"
9848 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9849 echo "$ac_t""yes" 1>&6
9850 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9851 cat >> confdefs.h <<EOF
9852 #define $ac_tr_func 1
9856 echo "$ac_t""no" 1>&6
9865 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
9866 echo "configure:9867: checking for ldexpf declaration" >&5
9867 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
9868 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
9869 echo $ac_n "(cached) $ac_c" 1>&6
9874 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9875 ac_cpp='$CXXCPP $CPPFLAGS'
9876 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9877 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9878 cross_compiling=$ac_cv_prog_cxx_cross
9880 cat > conftest.$ac_ext <<EOF
9881 #line 9882 "configure"
9882 #include "confdefs.h"
9888 if { (eval echo configure:9889: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9890 glibcpp_cv_func_ldexpf_use=yes
9892 echo "configure: failed program was:" >&5
9893 cat conftest.$ac_ext >&5
9895 glibcpp_cv_func_ldexpf_use=no
9899 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9900 ac_cpp='$CPP $CPPFLAGS'
9901 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9902 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9903 cross_compiling=$ac_cv_prog_cc_cross
9909 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
9911 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
9912 for ac_func in ldexpf
9914 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9915 echo "configure:9916: checking for $ac_func" >&5
9916 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9917 echo $ac_n "(cached) $ac_c" 1>&6
9919 cat > conftest.$ac_ext <<EOF
9920 #line 9921 "configure"
9921 #include "confdefs.h"
9922 /* System header to define __stub macros and hopefully few prototypes,
9923 which can conflict with char $ac_func(); below. */
9925 /* Override any gcc2 internal prototype to avoid an error. */
9926 /* We use char because int might match the return type of a gcc2
9927 builtin and then its argument prototype would still apply. */
9932 /* The GNU C library defines this for functions which it implements
9933 to always fail with ENOSYS. Some functions are actually named
9934 something starting with __ and the normal name is an alias. */
9935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9943 if { (eval echo configure:9944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9945 eval "ac_cv_func_$ac_func=yes"
9947 echo "configure: failed program was:" >&5
9948 cat conftest.$ac_ext >&5
9950 eval "ac_cv_func_$ac_func=no"
9955 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9956 echo "$ac_t""yes" 1>&6
9957 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9958 cat >> confdefs.h <<EOF
9959 #define $ac_tr_func 1
9963 echo "$ac_t""no" 1>&6
9969 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
9970 echo "configure:9971: checking for _ldexpf declaration" >&5
9971 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
9972 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
9973 echo $ac_n "(cached) $ac_c" 1>&6
9978 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9979 ac_cpp='$CXXCPP $CPPFLAGS'
9980 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9981 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9982 cross_compiling=$ac_cv_prog_cxx_cross
9984 cat > conftest.$ac_ext <<EOF
9985 #line 9986 "configure"
9986 #include "confdefs.h"
9992 if { (eval echo configure:9993: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9994 glibcpp_cv_func__ldexpf_use=yes
9996 echo "configure: failed program was:" >&5
9997 cat conftest.$ac_ext >&5
9999 glibcpp_cv_func__ldexpf_use=no
10003 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10004 ac_cpp='$CPP $CPPFLAGS'
10005 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10006 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10007 cross_compiling=$ac_cv_prog_cc_cross
10013 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
10015 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
10016 for ac_func in _ldexpf
10018 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10019 echo "configure:10020: checking for $ac_func" >&5
10020 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10021 echo $ac_n "(cached) $ac_c" 1>&6
10023 cat > conftest.$ac_ext <<EOF
10024 #line 10025 "configure"
10025 #include "confdefs.h"
10026 /* System header to define __stub macros and hopefully few prototypes,
10027 which can conflict with char $ac_func(); below. */
10028 #include <assert.h>
10029 /* Override any gcc2 internal prototype to avoid an error. */
10030 /* We use char because int might match the return type of a gcc2
10031 builtin and then its argument prototype would still apply. */
10036 /* The GNU C library defines this for functions which it implements
10037 to always fail with ENOSYS. Some functions are actually named
10038 something starting with __ and the normal name is an alias. */
10039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10047 if { (eval echo configure:10048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10049 eval "ac_cv_func_$ac_func=yes"
10051 echo "configure: failed program was:" >&5
10052 cat conftest.$ac_ext >&5
10054 eval "ac_cv_func_$ac_func=no"
10059 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10060 echo "$ac_t""yes" 1>&6
10061 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10062 cat >> confdefs.h <<EOF
10063 #define $ac_tr_func 1
10067 echo "$ac_t""no" 1>&6
10076 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
10077 echo "configure:10078: checking for logf declaration" >&5
10078 if test x${glibcpp_cv_func_logf_use+set} != xset; then
10079 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
10080 echo $ac_n "(cached) $ac_c" 1>&6
10085 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10086 ac_cpp='$CXXCPP $CPPFLAGS'
10087 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10088 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10089 cross_compiling=$ac_cv_prog_cxx_cross
10091 cat > conftest.$ac_ext <<EOF
10092 #line 10093 "configure"
10093 #include "confdefs.h"
10095 #ifdef HAVE_IEEEFP_H
10096 #include <ieeefp.h>
10103 if { (eval echo configure:10104: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10105 glibcpp_cv_func_logf_use=yes
10107 echo "configure: failed program was:" >&5
10108 cat conftest.$ac_ext >&5
10110 glibcpp_cv_func_logf_use=no
10114 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10115 ac_cpp='$CPP $CPPFLAGS'
10116 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10117 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10118 cross_compiling=$ac_cv_prog_cc_cross
10124 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
10126 if test x$glibcpp_cv_func_logf_use = x"yes"; then
10127 for ac_func in logf
10129 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10130 echo "configure:10131: checking for $ac_func" >&5
10131 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10132 echo $ac_n "(cached) $ac_c" 1>&6
10134 cat > conftest.$ac_ext <<EOF
10135 #line 10136 "configure"
10136 #include "confdefs.h"
10137 /* System header to define __stub macros and hopefully few prototypes,
10138 which can conflict with char $ac_func(); below. */
10139 #include <assert.h>
10140 /* Override any gcc2 internal prototype to avoid an error. */
10141 /* We use char because int might match the return type of a gcc2
10142 builtin and then its argument prototype would still apply. */
10147 /* The GNU C library defines this for functions which it implements
10148 to always fail with ENOSYS. Some functions are actually named
10149 something starting with __ and the normal name is an alias. */
10150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10158 if { (eval echo configure:10159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10160 eval "ac_cv_func_$ac_func=yes"
10162 echo "configure: failed program was:" >&5
10163 cat conftest.$ac_ext >&5
10165 eval "ac_cv_func_$ac_func=no"
10170 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10171 echo "$ac_t""yes" 1>&6
10172 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10173 cat >> confdefs.h <<EOF
10174 #define $ac_tr_func 1
10178 echo "$ac_t""no" 1>&6
10184 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
10185 echo "configure:10186: checking for _logf declaration" >&5
10186 if test x${glibcpp_cv_func__logf_use+set} != xset; then
10187 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
10188 echo $ac_n "(cached) $ac_c" 1>&6
10193 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10194 ac_cpp='$CXXCPP $CPPFLAGS'
10195 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10196 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10197 cross_compiling=$ac_cv_prog_cxx_cross
10199 cat > conftest.$ac_ext <<EOF
10200 #line 10201 "configure"
10201 #include "confdefs.h"
10203 #ifdef HAVE_IEEEFP_H
10204 #include <ieeefp.h>
10211 if { (eval echo configure:10212: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10213 glibcpp_cv_func__logf_use=yes
10215 echo "configure: failed program was:" >&5
10216 cat conftest.$ac_ext >&5
10218 glibcpp_cv_func__logf_use=no
10222 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10223 ac_cpp='$CPP $CPPFLAGS'
10224 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10225 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10226 cross_compiling=$ac_cv_prog_cc_cross
10232 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
10234 if test x$glibcpp_cv_func__logf_use = x"yes"; then
10235 for ac_func in _logf
10237 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10238 echo "configure:10239: checking for $ac_func" >&5
10239 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10240 echo $ac_n "(cached) $ac_c" 1>&6
10242 cat > conftest.$ac_ext <<EOF
10243 #line 10244 "configure"
10244 #include "confdefs.h"
10245 /* System header to define __stub macros and hopefully few prototypes,
10246 which can conflict with char $ac_func(); below. */
10247 #include <assert.h>
10248 /* Override any gcc2 internal prototype to avoid an error. */
10249 /* We use char because int might match the return type of a gcc2
10250 builtin and then its argument prototype would still apply. */
10255 /* The GNU C library defines this for functions which it implements
10256 to always fail with ENOSYS. Some functions are actually named
10257 something starting with __ and the normal name is an alias. */
10258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10266 if { (eval echo configure:10267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10268 eval "ac_cv_func_$ac_func=yes"
10270 echo "configure: failed program was:" >&5
10271 cat conftest.$ac_ext >&5
10273 eval "ac_cv_func_$ac_func=no"
10278 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10279 echo "$ac_t""yes" 1>&6
10280 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10281 cat >> confdefs.h <<EOF
10282 #define $ac_tr_func 1
10286 echo "$ac_t""no" 1>&6
10295 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
10296 echo "configure:10297: checking for log10f declaration" >&5
10297 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
10298 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
10299 echo $ac_n "(cached) $ac_c" 1>&6
10304 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10305 ac_cpp='$CXXCPP $CPPFLAGS'
10306 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10307 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10308 cross_compiling=$ac_cv_prog_cxx_cross
10310 cat > conftest.$ac_ext <<EOF
10311 #line 10312 "configure"
10312 #include "confdefs.h"
10314 #ifdef HAVE_IEEEFP_H
10315 #include <ieeefp.h>
10322 if { (eval echo configure:10323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10324 glibcpp_cv_func_log10f_use=yes
10326 echo "configure: failed program was:" >&5
10327 cat conftest.$ac_ext >&5
10329 glibcpp_cv_func_log10f_use=no
10333 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10334 ac_cpp='$CPP $CPPFLAGS'
10335 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10336 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10337 cross_compiling=$ac_cv_prog_cc_cross
10343 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
10345 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
10346 for ac_func in log10f
10348 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10349 echo "configure:10350: checking for $ac_func" >&5
10350 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10351 echo $ac_n "(cached) $ac_c" 1>&6
10353 cat > conftest.$ac_ext <<EOF
10354 #line 10355 "configure"
10355 #include "confdefs.h"
10356 /* System header to define __stub macros and hopefully few prototypes,
10357 which can conflict with char $ac_func(); below. */
10358 #include <assert.h>
10359 /* Override any gcc2 internal prototype to avoid an error. */
10360 /* We use char because int might match the return type of a gcc2
10361 builtin and then its argument prototype would still apply. */
10366 /* The GNU C library defines this for functions which it implements
10367 to always fail with ENOSYS. Some functions are actually named
10368 something starting with __ and the normal name is an alias. */
10369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10377 if { (eval echo configure:10378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10379 eval "ac_cv_func_$ac_func=yes"
10381 echo "configure: failed program was:" >&5
10382 cat conftest.$ac_ext >&5
10384 eval "ac_cv_func_$ac_func=no"
10389 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10390 echo "$ac_t""yes" 1>&6
10391 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10392 cat >> confdefs.h <<EOF
10393 #define $ac_tr_func 1
10397 echo "$ac_t""no" 1>&6
10403 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
10404 echo "configure:10405: checking for _log10f declaration" >&5
10405 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
10406 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
10407 echo $ac_n "(cached) $ac_c" 1>&6
10412 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10413 ac_cpp='$CXXCPP $CPPFLAGS'
10414 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10415 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10416 cross_compiling=$ac_cv_prog_cxx_cross
10418 cat > conftest.$ac_ext <<EOF
10419 #line 10420 "configure"
10420 #include "confdefs.h"
10422 #ifdef HAVE_IEEEFP_H
10423 #include <ieeefp.h>
10430 if { (eval echo configure:10431: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10432 glibcpp_cv_func__log10f_use=yes
10434 echo "configure: failed program was:" >&5
10435 cat conftest.$ac_ext >&5
10437 glibcpp_cv_func__log10f_use=no
10441 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10442 ac_cpp='$CPP $CPPFLAGS'
10443 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10444 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10445 cross_compiling=$ac_cv_prog_cc_cross
10451 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
10453 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
10454 for ac_func in _log10f
10456 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10457 echo "configure:10458: checking for $ac_func" >&5
10458 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10459 echo $ac_n "(cached) $ac_c" 1>&6
10461 cat > conftest.$ac_ext <<EOF
10462 #line 10463 "configure"
10463 #include "confdefs.h"
10464 /* System header to define __stub macros and hopefully few prototypes,
10465 which can conflict with char $ac_func(); below. */
10466 #include <assert.h>
10467 /* Override any gcc2 internal prototype to avoid an error. */
10468 /* We use char because int might match the return type of a gcc2
10469 builtin and then its argument prototype would still apply. */
10474 /* The GNU C library defines this for functions which it implements
10475 to always fail with ENOSYS. Some functions are actually named
10476 something starting with __ and the normal name is an alias. */
10477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10485 if { (eval echo configure:10486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10487 eval "ac_cv_func_$ac_func=yes"
10489 echo "configure: failed program was:" >&5
10490 cat conftest.$ac_ext >&5
10492 eval "ac_cv_func_$ac_func=no"
10497 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10498 echo "$ac_t""yes" 1>&6
10499 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10500 cat >> confdefs.h <<EOF
10501 #define $ac_tr_func 1
10505 echo "$ac_t""no" 1>&6
10514 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
10515 echo "configure:10516: checking for modff declaration" >&5
10516 if test x${glibcpp_cv_func_modff_use+set} != xset; then
10517 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
10518 echo $ac_n "(cached) $ac_c" 1>&6
10523 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10524 ac_cpp='$CXXCPP $CPPFLAGS'
10525 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10526 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10527 cross_compiling=$ac_cv_prog_cxx_cross
10529 cat > conftest.$ac_ext <<EOF
10530 #line 10531 "configure"
10531 #include "confdefs.h"
10537 if { (eval echo configure:10538: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10539 glibcpp_cv_func_modff_use=yes
10541 echo "configure: failed program was:" >&5
10542 cat conftest.$ac_ext >&5
10544 glibcpp_cv_func_modff_use=no
10548 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10549 ac_cpp='$CPP $CPPFLAGS'
10550 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10551 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10552 cross_compiling=$ac_cv_prog_cc_cross
10558 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
10560 if test x$glibcpp_cv_func_modff_use = x"yes"; then
10561 for ac_func in modff
10563 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10564 echo "configure:10565: checking for $ac_func" >&5
10565 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10566 echo $ac_n "(cached) $ac_c" 1>&6
10568 cat > conftest.$ac_ext <<EOF
10569 #line 10570 "configure"
10570 #include "confdefs.h"
10571 /* System header to define __stub macros and hopefully few prototypes,
10572 which can conflict with char $ac_func(); below. */
10573 #include <assert.h>
10574 /* Override any gcc2 internal prototype to avoid an error. */
10575 /* We use char because int might match the return type of a gcc2
10576 builtin and then its argument prototype would still apply. */
10581 /* The GNU C library defines this for functions which it implements
10582 to always fail with ENOSYS. Some functions are actually named
10583 something starting with __ and the normal name is an alias. */
10584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10592 if { (eval echo configure:10593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10594 eval "ac_cv_func_$ac_func=yes"
10596 echo "configure: failed program was:" >&5
10597 cat conftest.$ac_ext >&5
10599 eval "ac_cv_func_$ac_func=no"
10604 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10605 echo "$ac_t""yes" 1>&6
10606 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10607 cat >> confdefs.h <<EOF
10608 #define $ac_tr_func 1
10612 echo "$ac_t""no" 1>&6
10618 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
10619 echo "configure:10620: checking for _modff declaration" >&5
10620 if test x${glibcpp_cv_func__modff_use+set} != xset; then
10621 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
10622 echo $ac_n "(cached) $ac_c" 1>&6
10627 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10628 ac_cpp='$CXXCPP $CPPFLAGS'
10629 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10630 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10631 cross_compiling=$ac_cv_prog_cxx_cross
10633 cat > conftest.$ac_ext <<EOF
10634 #line 10635 "configure"
10635 #include "confdefs.h"
10641 if { (eval echo configure:10642: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10643 glibcpp_cv_func__modff_use=yes
10645 echo "configure: failed program was:" >&5
10646 cat conftest.$ac_ext >&5
10648 glibcpp_cv_func__modff_use=no
10652 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10653 ac_cpp='$CPP $CPPFLAGS'
10654 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10655 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10656 cross_compiling=$ac_cv_prog_cc_cross
10662 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
10664 if test x$glibcpp_cv_func__modff_use = x"yes"; then
10665 for ac_func in _modff
10667 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10668 echo "configure:10669: checking for $ac_func" >&5
10669 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10670 echo $ac_n "(cached) $ac_c" 1>&6
10672 cat > conftest.$ac_ext <<EOF
10673 #line 10674 "configure"
10674 #include "confdefs.h"
10675 /* System header to define __stub macros and hopefully few prototypes,
10676 which can conflict with char $ac_func(); below. */
10677 #include <assert.h>
10678 /* Override any gcc2 internal prototype to avoid an error. */
10679 /* We use char because int might match the return type of a gcc2
10680 builtin and then its argument prototype would still apply. */
10685 /* The GNU C library defines this for functions which it implements
10686 to always fail with ENOSYS. Some functions are actually named
10687 something starting with __ and the normal name is an alias. */
10688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10696 if { (eval echo configure:10697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10698 eval "ac_cv_func_$ac_func=yes"
10700 echo "configure: failed program was:" >&5
10701 cat conftest.$ac_ext >&5
10703 eval "ac_cv_func_$ac_func=no"
10708 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10709 echo "$ac_t""yes" 1>&6
10710 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10711 cat >> confdefs.h <<EOF
10712 #define $ac_tr_func 1
10716 echo "$ac_t""no" 1>&6
10725 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
10726 echo "configure:10727: checking for powf declaration" >&5
10727 if test x${glibcpp_cv_func_powf_use+set} != xset; then
10728 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
10729 echo $ac_n "(cached) $ac_c" 1>&6
10734 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10735 ac_cpp='$CXXCPP $CPPFLAGS'
10736 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10737 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10738 cross_compiling=$ac_cv_prog_cxx_cross
10740 cat > conftest.$ac_ext <<EOF
10741 #line 10742 "configure"
10742 #include "confdefs.h"
10748 if { (eval echo configure:10749: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10750 glibcpp_cv_func_powf_use=yes
10752 echo "configure: failed program was:" >&5
10753 cat conftest.$ac_ext >&5
10755 glibcpp_cv_func_powf_use=no
10759 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10760 ac_cpp='$CPP $CPPFLAGS'
10761 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10762 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10763 cross_compiling=$ac_cv_prog_cc_cross
10769 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
10771 if test x$glibcpp_cv_func_powf_use = x"yes"; then
10772 for ac_func in powf
10774 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10775 echo "configure:10776: checking for $ac_func" >&5
10776 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10777 echo $ac_n "(cached) $ac_c" 1>&6
10779 cat > conftest.$ac_ext <<EOF
10780 #line 10781 "configure"
10781 #include "confdefs.h"
10782 /* System header to define __stub macros and hopefully few prototypes,
10783 which can conflict with char $ac_func(); below. */
10784 #include <assert.h>
10785 /* Override any gcc2 internal prototype to avoid an error. */
10786 /* We use char because int might match the return type of a gcc2
10787 builtin and then its argument prototype would still apply. */
10792 /* The GNU C library defines this for functions which it implements
10793 to always fail with ENOSYS. Some functions are actually named
10794 something starting with __ and the normal name is an alias. */
10795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10803 if { (eval echo configure:10804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10805 eval "ac_cv_func_$ac_func=yes"
10807 echo "configure: failed program was:" >&5
10808 cat conftest.$ac_ext >&5
10810 eval "ac_cv_func_$ac_func=no"
10815 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10816 echo "$ac_t""yes" 1>&6
10817 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10818 cat >> confdefs.h <<EOF
10819 #define $ac_tr_func 1
10823 echo "$ac_t""no" 1>&6
10829 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
10830 echo "configure:10831: checking for _powf declaration" >&5
10831 if test x${glibcpp_cv_func__powf_use+set} != xset; then
10832 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
10833 echo $ac_n "(cached) $ac_c" 1>&6
10838 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10839 ac_cpp='$CXXCPP $CPPFLAGS'
10840 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10841 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10842 cross_compiling=$ac_cv_prog_cxx_cross
10844 cat > conftest.$ac_ext <<EOF
10845 #line 10846 "configure"
10846 #include "confdefs.h"
10852 if { (eval echo configure:10853: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10854 glibcpp_cv_func__powf_use=yes
10856 echo "configure: failed program was:" >&5
10857 cat conftest.$ac_ext >&5
10859 glibcpp_cv_func__powf_use=no
10863 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10864 ac_cpp='$CPP $CPPFLAGS'
10865 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10866 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10867 cross_compiling=$ac_cv_prog_cc_cross
10873 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
10875 if test x$glibcpp_cv_func__powf_use = x"yes"; then
10876 for ac_func in _powf
10878 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10879 echo "configure:10880: checking for $ac_func" >&5
10880 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10881 echo $ac_n "(cached) $ac_c" 1>&6
10883 cat > conftest.$ac_ext <<EOF
10884 #line 10885 "configure"
10885 #include "confdefs.h"
10886 /* System header to define __stub macros and hopefully few prototypes,
10887 which can conflict with char $ac_func(); below. */
10888 #include <assert.h>
10889 /* Override any gcc2 internal prototype to avoid an error. */
10890 /* We use char because int might match the return type of a gcc2
10891 builtin and then its argument prototype would still apply. */
10896 /* The GNU C library defines this for functions which it implements
10897 to always fail with ENOSYS. Some functions are actually named
10898 something starting with __ and the normal name is an alias. */
10899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10907 if { (eval echo configure:10908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10909 eval "ac_cv_func_$ac_func=yes"
10911 echo "configure: failed program was:" >&5
10912 cat conftest.$ac_ext >&5
10914 eval "ac_cv_func_$ac_func=no"
10919 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10920 echo "$ac_t""yes" 1>&6
10921 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10922 cat >> confdefs.h <<EOF
10923 #define $ac_tr_func 1
10927 echo "$ac_t""no" 1>&6
10936 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
10937 echo "configure:10938: checking for sqrtf declaration" >&5
10938 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
10939 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
10940 echo $ac_n "(cached) $ac_c" 1>&6
10945 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10946 ac_cpp='$CXXCPP $CPPFLAGS'
10947 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10948 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10949 cross_compiling=$ac_cv_prog_cxx_cross
10951 cat > conftest.$ac_ext <<EOF
10952 #line 10953 "configure"
10953 #include "confdefs.h"
10955 #ifdef HAVE_IEEEFP_H
10956 #include <ieeefp.h>
10963 if { (eval echo configure:10964: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10965 glibcpp_cv_func_sqrtf_use=yes
10967 echo "configure: failed program was:" >&5
10968 cat conftest.$ac_ext >&5
10970 glibcpp_cv_func_sqrtf_use=no
10974 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10975 ac_cpp='$CPP $CPPFLAGS'
10976 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10977 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10978 cross_compiling=$ac_cv_prog_cc_cross
10984 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
10986 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
10987 for ac_func in sqrtf
10989 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10990 echo "configure:10991: checking for $ac_func" >&5
10991 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10992 echo $ac_n "(cached) $ac_c" 1>&6
10994 cat > conftest.$ac_ext <<EOF
10995 #line 10996 "configure"
10996 #include "confdefs.h"
10997 /* System header to define __stub macros and hopefully few prototypes,
10998 which can conflict with char $ac_func(); below. */
10999 #include <assert.h>
11000 /* Override any gcc2 internal prototype to avoid an error. */
11001 /* We use char because int might match the return type of a gcc2
11002 builtin and then its argument prototype would still apply. */
11007 /* The GNU C library defines this for functions which it implements
11008 to always fail with ENOSYS. Some functions are actually named
11009 something starting with __ and the normal name is an alias. */
11010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11018 if { (eval echo configure:11019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11020 eval "ac_cv_func_$ac_func=yes"
11022 echo "configure: failed program was:" >&5
11023 cat conftest.$ac_ext >&5
11025 eval "ac_cv_func_$ac_func=no"
11030 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11031 echo "$ac_t""yes" 1>&6
11032 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11033 cat >> confdefs.h <<EOF
11034 #define $ac_tr_func 1
11038 echo "$ac_t""no" 1>&6
11044 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
11045 echo "configure:11046: checking for _sqrtf declaration" >&5
11046 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
11047 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
11048 echo $ac_n "(cached) $ac_c" 1>&6
11053 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11054 ac_cpp='$CXXCPP $CPPFLAGS'
11055 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11056 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11057 cross_compiling=$ac_cv_prog_cxx_cross
11059 cat > conftest.$ac_ext <<EOF
11060 #line 11061 "configure"
11061 #include "confdefs.h"
11063 #ifdef HAVE_IEEEFP_H
11064 #include <ieeefp.h>
11071 if { (eval echo configure:11072: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11073 glibcpp_cv_func__sqrtf_use=yes
11075 echo "configure: failed program was:" >&5
11076 cat conftest.$ac_ext >&5
11078 glibcpp_cv_func__sqrtf_use=no
11082 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11083 ac_cpp='$CPP $CPPFLAGS'
11084 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11085 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11086 cross_compiling=$ac_cv_prog_cc_cross
11092 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
11094 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
11095 for ac_func in _sqrtf
11097 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11098 echo "configure:11099: checking for $ac_func" >&5
11099 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11100 echo $ac_n "(cached) $ac_c" 1>&6
11102 cat > conftest.$ac_ext <<EOF
11103 #line 11104 "configure"
11104 #include "confdefs.h"
11105 /* System header to define __stub macros and hopefully few prototypes,
11106 which can conflict with char $ac_func(); below. */
11107 #include <assert.h>
11108 /* Override any gcc2 internal prototype to avoid an error. */
11109 /* We use char because int might match the return type of a gcc2
11110 builtin and then its argument prototype would still apply. */
11115 /* The GNU C library defines this for functions which it implements
11116 to always fail with ENOSYS. Some functions are actually named
11117 something starting with __ and the normal name is an alias. */
11118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11126 if { (eval echo configure:11127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11128 eval "ac_cv_func_$ac_func=yes"
11130 echo "configure: failed program was:" >&5
11131 cat conftest.$ac_ext >&5
11133 eval "ac_cv_func_$ac_func=no"
11138 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11139 echo "$ac_t""yes" 1>&6
11140 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11141 cat >> confdefs.h <<EOF
11142 #define $ac_tr_func 1
11146 echo "$ac_t""no" 1>&6
11155 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
11156 echo "configure:11157: checking for sincosf declaration" >&5
11157 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
11158 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
11159 echo $ac_n "(cached) $ac_c" 1>&6
11164 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11165 ac_cpp='$CXXCPP $CPPFLAGS'
11166 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11167 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11168 cross_compiling=$ac_cv_prog_cxx_cross
11170 cat > conftest.$ac_ext <<EOF
11171 #line 11172 "configure"
11172 #include "confdefs.h"
11178 if { (eval echo configure:11179: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11180 glibcpp_cv_func_sincosf_use=yes
11182 echo "configure: failed program was:" >&5
11183 cat conftest.$ac_ext >&5
11185 glibcpp_cv_func_sincosf_use=no
11189 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11190 ac_cpp='$CPP $CPPFLAGS'
11191 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11192 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11193 cross_compiling=$ac_cv_prog_cc_cross
11199 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
11201 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
11202 for ac_func in sincosf
11204 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11205 echo "configure:11206: checking for $ac_func" >&5
11206 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11207 echo $ac_n "(cached) $ac_c" 1>&6
11209 cat > conftest.$ac_ext <<EOF
11210 #line 11211 "configure"
11211 #include "confdefs.h"
11212 /* System header to define __stub macros and hopefully few prototypes,
11213 which can conflict with char $ac_func(); below. */
11214 #include <assert.h>
11215 /* Override any gcc2 internal prototype to avoid an error. */
11216 /* We use char because int might match the return type of a gcc2
11217 builtin and then its argument prototype would still apply. */
11222 /* The GNU C library defines this for functions which it implements
11223 to always fail with ENOSYS. Some functions are actually named
11224 something starting with __ and the normal name is an alias. */
11225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11233 if { (eval echo configure:11234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11235 eval "ac_cv_func_$ac_func=yes"
11237 echo "configure: failed program was:" >&5
11238 cat conftest.$ac_ext >&5
11240 eval "ac_cv_func_$ac_func=no"
11245 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11246 echo "$ac_t""yes" 1>&6
11247 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11248 cat >> confdefs.h <<EOF
11249 #define $ac_tr_func 1
11253 echo "$ac_t""no" 1>&6
11259 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
11260 echo "configure:11261: checking for _sincosf declaration" >&5
11261 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
11262 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
11263 echo $ac_n "(cached) $ac_c" 1>&6
11268 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11269 ac_cpp='$CXXCPP $CPPFLAGS'
11270 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11271 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11272 cross_compiling=$ac_cv_prog_cxx_cross
11274 cat > conftest.$ac_ext <<EOF
11275 #line 11276 "configure"
11276 #include "confdefs.h"
11282 if { (eval echo configure:11283: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11284 glibcpp_cv_func__sincosf_use=yes
11286 echo "configure: failed program was:" >&5
11287 cat conftest.$ac_ext >&5
11289 glibcpp_cv_func__sincosf_use=no
11293 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11294 ac_cpp='$CPP $CPPFLAGS'
11295 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11296 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11297 cross_compiling=$ac_cv_prog_cc_cross
11303 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
11305 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
11306 for ac_func in _sincosf
11308 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11309 echo "configure:11310: checking for $ac_func" >&5
11310 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11311 echo $ac_n "(cached) $ac_c" 1>&6
11313 cat > conftest.$ac_ext <<EOF
11314 #line 11315 "configure"
11315 #include "confdefs.h"
11316 /* System header to define __stub macros and hopefully few prototypes,
11317 which can conflict with char $ac_func(); below. */
11318 #include <assert.h>
11319 /* Override any gcc2 internal prototype to avoid an error. */
11320 /* We use char because int might match the return type of a gcc2
11321 builtin and then its argument prototype would still apply. */
11326 /* The GNU C library defines this for functions which it implements
11327 to always fail with ENOSYS. Some functions are actually named
11328 something starting with __ and the normal name is an alias. */
11329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11337 if { (eval echo configure:11338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11339 eval "ac_cv_func_$ac_func=yes"
11341 echo "configure: failed program was:" >&5
11342 cat conftest.$ac_ext >&5
11344 eval "ac_cv_func_$ac_func=no"
11349 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11350 echo "$ac_t""yes" 1>&6
11351 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11352 cat >> confdefs.h <<EOF
11353 #define $ac_tr_func 1
11357 echo "$ac_t""no" 1>&6
11366 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
11367 echo "configure:11368: checking for finitef declaration" >&5
11368 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
11369 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
11370 echo $ac_n "(cached) $ac_c" 1>&6
11375 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11376 ac_cpp='$CXXCPP $CPPFLAGS'
11377 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11378 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11379 cross_compiling=$ac_cv_prog_cxx_cross
11381 cat > conftest.$ac_ext <<EOF
11382 #line 11383 "configure"
11383 #include "confdefs.h"
11385 #ifdef HAVE_IEEEFP_H
11386 #include <ieeefp.h>
11393 if { (eval echo configure:11394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11395 glibcpp_cv_func_finitef_use=yes
11397 echo "configure: failed program was:" >&5
11398 cat conftest.$ac_ext >&5
11400 glibcpp_cv_func_finitef_use=no
11404 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11405 ac_cpp='$CPP $CPPFLAGS'
11406 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11407 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11408 cross_compiling=$ac_cv_prog_cc_cross
11414 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
11416 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
11417 for ac_func in finitef
11419 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11420 echo "configure:11421: checking for $ac_func" >&5
11421 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11422 echo $ac_n "(cached) $ac_c" 1>&6
11424 cat > conftest.$ac_ext <<EOF
11425 #line 11426 "configure"
11426 #include "confdefs.h"
11427 /* System header to define __stub macros and hopefully few prototypes,
11428 which can conflict with char $ac_func(); below. */
11429 #include <assert.h>
11430 /* Override any gcc2 internal prototype to avoid an error. */
11431 /* We use char because int might match the return type of a gcc2
11432 builtin and then its argument prototype would still apply. */
11437 /* The GNU C library defines this for functions which it implements
11438 to always fail with ENOSYS. Some functions are actually named
11439 something starting with __ and the normal name is an alias. */
11440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11448 if { (eval echo configure:11449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11450 eval "ac_cv_func_$ac_func=yes"
11452 echo "configure: failed program was:" >&5
11453 cat conftest.$ac_ext >&5
11455 eval "ac_cv_func_$ac_func=no"
11460 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11461 echo "$ac_t""yes" 1>&6
11462 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11463 cat >> confdefs.h <<EOF
11464 #define $ac_tr_func 1
11468 echo "$ac_t""no" 1>&6
11474 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
11475 echo "configure:11476: checking for _finitef declaration" >&5
11476 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
11477 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
11478 echo $ac_n "(cached) $ac_c" 1>&6
11483 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11484 ac_cpp='$CXXCPP $CPPFLAGS'
11485 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11486 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11487 cross_compiling=$ac_cv_prog_cxx_cross
11489 cat > conftest.$ac_ext <<EOF
11490 #line 11491 "configure"
11491 #include "confdefs.h"
11493 #ifdef HAVE_IEEEFP_H
11494 #include <ieeefp.h>
11501 if { (eval echo configure:11502: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11503 glibcpp_cv_func__finitef_use=yes
11505 echo "configure: failed program was:" >&5
11506 cat conftest.$ac_ext >&5
11508 glibcpp_cv_func__finitef_use=no
11512 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11513 ac_cpp='$CPP $CPPFLAGS'
11514 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11515 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11516 cross_compiling=$ac_cv_prog_cc_cross
11522 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
11524 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
11525 for ac_func in _finitef
11527 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11528 echo "configure:11529: checking for $ac_func" >&5
11529 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11530 echo $ac_n "(cached) $ac_c" 1>&6
11532 cat > conftest.$ac_ext <<EOF
11533 #line 11534 "configure"
11534 #include "confdefs.h"
11535 /* System header to define __stub macros and hopefully few prototypes,
11536 which can conflict with char $ac_func(); below. */
11537 #include <assert.h>
11538 /* Override any gcc2 internal prototype to avoid an error. */
11539 /* We use char because int might match the return type of a gcc2
11540 builtin and then its argument prototype would still apply. */
11545 /* The GNU C library defines this for functions which it implements
11546 to always fail with ENOSYS. Some functions are actually named
11547 something starting with __ and the normal name is an alias. */
11548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11556 if { (eval echo configure:11557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11558 eval "ac_cv_func_$ac_func=yes"
11560 echo "configure: failed program was:" >&5
11561 cat conftest.$ac_ext >&5
11563 eval "ac_cv_func_$ac_func=no"
11568 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11569 echo "$ac_t""yes" 1>&6
11570 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11571 cat >> confdefs.h <<EOF
11572 #define $ac_tr_func 1
11576 echo "$ac_t""no" 1>&6
11585 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
11586 echo "configure:11587: checking for long double trig functions" >&5
11587 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
11588 echo $ac_n "(cached) $ac_c" 1>&6
11593 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11594 ac_cpp='$CXXCPP $CPPFLAGS'
11595 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11596 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11597 cross_compiling=$ac_cv_prog_cxx_cross
11599 cat > conftest.$ac_ext <<EOF
11600 #line 11601 "configure"
11601 #include "confdefs.h"
11604 `for x in acosl asinl atanl \
11606 coshl sinhl tanhl; do echo "$x (0);"; done`
11609 if { (eval echo configure:11610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11611 glibcpp_cv_func_long_double_trig_use=yes
11613 echo "configure: failed program was:" >&5
11614 cat conftest.$ac_ext >&5
11616 glibcpp_cv_func_long_double_trig_use=no
11620 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11621 ac_cpp='$CPP $CPPFLAGS'
11622 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11623 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11624 cross_compiling=$ac_cv_prog_cc_cross
11628 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
11629 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
11630 for ac_func in acosl asinl atanl \
11634 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11635 echo "configure:11636: checking for $ac_func" >&5
11636 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11637 echo $ac_n "(cached) $ac_c" 1>&6
11639 cat > conftest.$ac_ext <<EOF
11640 #line 11641 "configure"
11641 #include "confdefs.h"
11642 /* System header to define __stub macros and hopefully few prototypes,
11643 which can conflict with char $ac_func(); below. */
11644 #include <assert.h>
11645 /* Override any gcc2 internal prototype to avoid an error. */
11646 /* We use char because int might match the return type of a gcc2
11647 builtin and then its argument prototype would still apply. */
11652 /* The GNU C library defines this for functions which it implements
11653 to always fail with ENOSYS. Some functions are actually named
11654 something starting with __ and the normal name is an alias. */
11655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11663 if { (eval echo configure:11664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11665 eval "ac_cv_func_$ac_func=yes"
11667 echo "configure: failed program was:" >&5
11668 cat conftest.$ac_ext >&5
11670 eval "ac_cv_func_$ac_func=no"
11675 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11676 echo "$ac_t""yes" 1>&6
11677 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11678 cat >> confdefs.h <<EOF
11679 #define $ac_tr_func 1
11683 echo "$ac_t""no" 1>&6
11690 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
11691 echo "configure:11692: checking for long double round functions" >&5
11692 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
11693 echo $ac_n "(cached) $ac_c" 1>&6
11698 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11699 ac_cpp='$CXXCPP $CPPFLAGS'
11700 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11701 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11702 cross_compiling=$ac_cv_prog_cxx_cross
11704 cat > conftest.$ac_ext <<EOF
11705 #line 11706 "configure"
11706 #include "confdefs.h"
11709 `for x in ceill floorl; do echo "$x (0);"; done`
11712 if { (eval echo configure:11713: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11714 glibcpp_cv_func_long_double_round_use=yes
11716 echo "configure: failed program was:" >&5
11717 cat conftest.$ac_ext >&5
11719 glibcpp_cv_func_long_double_round_use=no
11723 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11724 ac_cpp='$CPP $CPPFLAGS'
11725 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11726 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11727 cross_compiling=$ac_cv_prog_cc_cross
11731 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
11732 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
11733 for ac_func in ceill floorl
11735 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11736 echo "configure:11737: checking for $ac_func" >&5
11737 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11738 echo $ac_n "(cached) $ac_c" 1>&6
11740 cat > conftest.$ac_ext <<EOF
11741 #line 11742 "configure"
11742 #include "confdefs.h"
11743 /* System header to define __stub macros and hopefully few prototypes,
11744 which can conflict with char $ac_func(); below. */
11745 #include <assert.h>
11746 /* Override any gcc2 internal prototype to avoid an error. */
11747 /* We use char because int might match the return type of a gcc2
11748 builtin and then its argument prototype would still apply. */
11753 /* The GNU C library defines this for functions which it implements
11754 to always fail with ENOSYS. Some functions are actually named
11755 something starting with __ and the normal name is an alias. */
11756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11764 if { (eval echo configure:11765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11766 eval "ac_cv_func_$ac_func=yes"
11768 echo "configure: failed program was:" >&5
11769 cat conftest.$ac_ext >&5
11771 eval "ac_cv_func_$ac_func=no"
11776 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11777 echo "$ac_t""yes" 1>&6
11778 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11779 cat >> confdefs.h <<EOF
11780 #define $ac_tr_func 1
11784 echo "$ac_t""no" 1>&6
11792 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
11793 echo "configure:11794: checking for isnanl declaration" >&5
11794 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
11795 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
11796 echo $ac_n "(cached) $ac_c" 1>&6
11801 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11802 ac_cpp='$CXXCPP $CPPFLAGS'
11803 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11804 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11805 cross_compiling=$ac_cv_prog_cxx_cross
11807 cat > conftest.$ac_ext <<EOF
11808 #line 11809 "configure"
11809 #include "confdefs.h"
11811 #ifdef HAVE_IEEEFP_H
11812 #include <ieeefp.h>
11819 if { (eval echo configure:11820: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11821 glibcpp_cv_func_isnanl_use=yes
11823 echo "configure: failed program was:" >&5
11824 cat conftest.$ac_ext >&5
11826 glibcpp_cv_func_isnanl_use=no
11830 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11831 ac_cpp='$CPP $CPPFLAGS'
11832 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11833 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11834 cross_compiling=$ac_cv_prog_cc_cross
11840 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
11842 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
11843 for ac_func in isnanl
11845 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11846 echo "configure:11847: checking for $ac_func" >&5
11847 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11848 echo $ac_n "(cached) $ac_c" 1>&6
11850 cat > conftest.$ac_ext <<EOF
11851 #line 11852 "configure"
11852 #include "confdefs.h"
11853 /* System header to define __stub macros and hopefully few prototypes,
11854 which can conflict with char $ac_func(); below. */
11855 #include <assert.h>
11856 /* Override any gcc2 internal prototype to avoid an error. */
11857 /* We use char because int might match the return type of a gcc2
11858 builtin and then its argument prototype would still apply. */
11863 /* The GNU C library defines this for functions which it implements
11864 to always fail with ENOSYS. Some functions are actually named
11865 something starting with __ and the normal name is an alias. */
11866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11874 if { (eval echo configure:11875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11876 eval "ac_cv_func_$ac_func=yes"
11878 echo "configure: failed program was:" >&5
11879 cat conftest.$ac_ext >&5
11881 eval "ac_cv_func_$ac_func=no"
11886 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11887 echo "$ac_t""yes" 1>&6
11888 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11889 cat >> confdefs.h <<EOF
11890 #define $ac_tr_func 1
11894 echo "$ac_t""no" 1>&6
11900 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
11901 echo "configure:11902: checking for _isnanl declaration" >&5
11902 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
11903 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
11904 echo $ac_n "(cached) $ac_c" 1>&6
11909 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11910 ac_cpp='$CXXCPP $CPPFLAGS'
11911 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11912 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11913 cross_compiling=$ac_cv_prog_cxx_cross
11915 cat > conftest.$ac_ext <<EOF
11916 #line 11917 "configure"
11917 #include "confdefs.h"
11919 #ifdef HAVE_IEEEFP_H
11920 #include <ieeefp.h>
11927 if { (eval echo configure:11928: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11929 glibcpp_cv_func__isnanl_use=yes
11931 echo "configure: failed program was:" >&5
11932 cat conftest.$ac_ext >&5
11934 glibcpp_cv_func__isnanl_use=no
11938 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11939 ac_cpp='$CPP $CPPFLAGS'
11940 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11941 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11942 cross_compiling=$ac_cv_prog_cc_cross
11948 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
11950 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
11951 for ac_func in _isnanl
11953 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11954 echo "configure:11955: checking for $ac_func" >&5
11955 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11956 echo $ac_n "(cached) $ac_c" 1>&6
11958 cat > conftest.$ac_ext <<EOF
11959 #line 11960 "configure"
11960 #include "confdefs.h"
11961 /* System header to define __stub macros and hopefully few prototypes,
11962 which can conflict with char $ac_func(); below. */
11963 #include <assert.h>
11964 /* Override any gcc2 internal prototype to avoid an error. */
11965 /* We use char because int might match the return type of a gcc2
11966 builtin and then its argument prototype would still apply. */
11971 /* The GNU C library defines this for functions which it implements
11972 to always fail with ENOSYS. Some functions are actually named
11973 something starting with __ and the normal name is an alias. */
11974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11982 if { (eval echo configure:11983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11984 eval "ac_cv_func_$ac_func=yes"
11986 echo "configure: failed program was:" >&5
11987 cat conftest.$ac_ext >&5
11989 eval "ac_cv_func_$ac_func=no"
11994 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11995 echo "$ac_t""yes" 1>&6
11996 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11997 cat >> confdefs.h <<EOF
11998 #define $ac_tr_func 1
12002 echo "$ac_t""no" 1>&6
12011 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
12012 echo "configure:12013: checking for isinfl declaration" >&5
12013 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
12014 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
12015 echo $ac_n "(cached) $ac_c" 1>&6
12020 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12021 ac_cpp='$CXXCPP $CPPFLAGS'
12022 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12023 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12024 cross_compiling=$ac_cv_prog_cxx_cross
12026 cat > conftest.$ac_ext <<EOF
12027 #line 12028 "configure"
12028 #include "confdefs.h"
12030 #ifdef HAVE_IEEEFP_H
12031 #include <ieeefp.h>
12038 if { (eval echo configure:12039: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12040 glibcpp_cv_func_isinfl_use=yes
12042 echo "configure: failed program was:" >&5
12043 cat conftest.$ac_ext >&5
12045 glibcpp_cv_func_isinfl_use=no
12049 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12050 ac_cpp='$CPP $CPPFLAGS'
12051 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12052 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12053 cross_compiling=$ac_cv_prog_cc_cross
12059 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
12061 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
12062 for ac_func in isinfl
12064 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12065 echo "configure:12066: checking for $ac_func" >&5
12066 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12067 echo $ac_n "(cached) $ac_c" 1>&6
12069 cat > conftest.$ac_ext <<EOF
12070 #line 12071 "configure"
12071 #include "confdefs.h"
12072 /* System header to define __stub macros and hopefully few prototypes,
12073 which can conflict with char $ac_func(); below. */
12074 #include <assert.h>
12075 /* Override any gcc2 internal prototype to avoid an error. */
12076 /* We use char because int might match the return type of a gcc2
12077 builtin and then its argument prototype would still apply. */
12082 /* The GNU C library defines this for functions which it implements
12083 to always fail with ENOSYS. Some functions are actually named
12084 something starting with __ and the normal name is an alias. */
12085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12093 if { (eval echo configure:12094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12095 eval "ac_cv_func_$ac_func=yes"
12097 echo "configure: failed program was:" >&5
12098 cat conftest.$ac_ext >&5
12100 eval "ac_cv_func_$ac_func=no"
12105 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12106 echo "$ac_t""yes" 1>&6
12107 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12108 cat >> confdefs.h <<EOF
12109 #define $ac_tr_func 1
12113 echo "$ac_t""no" 1>&6
12119 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
12120 echo "configure:12121: checking for _isinfl declaration" >&5
12121 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
12122 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
12123 echo $ac_n "(cached) $ac_c" 1>&6
12128 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12129 ac_cpp='$CXXCPP $CPPFLAGS'
12130 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12131 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12132 cross_compiling=$ac_cv_prog_cxx_cross
12134 cat > conftest.$ac_ext <<EOF
12135 #line 12136 "configure"
12136 #include "confdefs.h"
12138 #ifdef HAVE_IEEEFP_H
12139 #include <ieeefp.h>
12146 if { (eval echo configure:12147: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12148 glibcpp_cv_func__isinfl_use=yes
12150 echo "configure: failed program was:" >&5
12151 cat conftest.$ac_ext >&5
12153 glibcpp_cv_func__isinfl_use=no
12157 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12158 ac_cpp='$CPP $CPPFLAGS'
12159 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12160 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12161 cross_compiling=$ac_cv_prog_cc_cross
12167 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
12169 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
12170 for ac_func in _isinfl
12172 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12173 echo "configure:12174: checking for $ac_func" >&5
12174 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12175 echo $ac_n "(cached) $ac_c" 1>&6
12177 cat > conftest.$ac_ext <<EOF
12178 #line 12179 "configure"
12179 #include "confdefs.h"
12180 /* System header to define __stub macros and hopefully few prototypes,
12181 which can conflict with char $ac_func(); below. */
12182 #include <assert.h>
12183 /* Override any gcc2 internal prototype to avoid an error. */
12184 /* We use char because int might match the return type of a gcc2
12185 builtin and then its argument prototype would still apply. */
12190 /* The GNU C library defines this for functions which it implements
12191 to always fail with ENOSYS. Some functions are actually named
12192 something starting with __ and the normal name is an alias. */
12193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12201 if { (eval echo configure:12202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12203 eval "ac_cv_func_$ac_func=yes"
12205 echo "configure: failed program was:" >&5
12206 cat conftest.$ac_ext >&5
12208 eval "ac_cv_func_$ac_func=no"
12213 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12214 echo "$ac_t""yes" 1>&6
12215 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12216 cat >> confdefs.h <<EOF
12217 #define $ac_tr_func 1
12221 echo "$ac_t""no" 1>&6
12230 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
12231 echo "configure:12232: checking for copysignl declaration" >&5
12232 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
12233 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
12234 echo $ac_n "(cached) $ac_c" 1>&6
12239 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12240 ac_cpp='$CXXCPP $CPPFLAGS'
12241 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12242 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12243 cross_compiling=$ac_cv_prog_cxx_cross
12245 cat > conftest.$ac_ext <<EOF
12246 #line 12247 "configure"
12247 #include "confdefs.h"
12253 if { (eval echo configure:12254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12255 glibcpp_cv_func_copysignl_use=yes
12257 echo "configure: failed program was:" >&5
12258 cat conftest.$ac_ext >&5
12260 glibcpp_cv_func_copysignl_use=no
12264 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12265 ac_cpp='$CPP $CPPFLAGS'
12266 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12267 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12268 cross_compiling=$ac_cv_prog_cc_cross
12274 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
12276 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
12277 for ac_func in copysignl
12279 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12280 echo "configure:12281: checking for $ac_func" >&5
12281 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12282 echo $ac_n "(cached) $ac_c" 1>&6
12284 cat > conftest.$ac_ext <<EOF
12285 #line 12286 "configure"
12286 #include "confdefs.h"
12287 /* System header to define __stub macros and hopefully few prototypes,
12288 which can conflict with char $ac_func(); below. */
12289 #include <assert.h>
12290 /* Override any gcc2 internal prototype to avoid an error. */
12291 /* We use char because int might match the return type of a gcc2
12292 builtin and then its argument prototype would still apply. */
12297 /* The GNU C library defines this for functions which it implements
12298 to always fail with ENOSYS. Some functions are actually named
12299 something starting with __ and the normal name is an alias. */
12300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12308 if { (eval echo configure:12309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12310 eval "ac_cv_func_$ac_func=yes"
12312 echo "configure: failed program was:" >&5
12313 cat conftest.$ac_ext >&5
12315 eval "ac_cv_func_$ac_func=no"
12320 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12321 echo "$ac_t""yes" 1>&6
12322 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12323 cat >> confdefs.h <<EOF
12324 #define $ac_tr_func 1
12328 echo "$ac_t""no" 1>&6
12334 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
12335 echo "configure:12336: checking for _copysignl declaration" >&5
12336 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
12337 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
12338 echo $ac_n "(cached) $ac_c" 1>&6
12343 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12344 ac_cpp='$CXXCPP $CPPFLAGS'
12345 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12346 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12347 cross_compiling=$ac_cv_prog_cxx_cross
12349 cat > conftest.$ac_ext <<EOF
12350 #line 12351 "configure"
12351 #include "confdefs.h"
12357 if { (eval echo configure:12358: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12359 glibcpp_cv_func__copysignl_use=yes
12361 echo "configure: failed program was:" >&5
12362 cat conftest.$ac_ext >&5
12364 glibcpp_cv_func__copysignl_use=no
12368 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12369 ac_cpp='$CPP $CPPFLAGS'
12370 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12371 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12372 cross_compiling=$ac_cv_prog_cc_cross
12378 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
12380 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
12381 for ac_func in _copysignl
12383 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12384 echo "configure:12385: checking for $ac_func" >&5
12385 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12386 echo $ac_n "(cached) $ac_c" 1>&6
12388 cat > conftest.$ac_ext <<EOF
12389 #line 12390 "configure"
12390 #include "confdefs.h"
12391 /* System header to define __stub macros and hopefully few prototypes,
12392 which can conflict with char $ac_func(); below. */
12393 #include <assert.h>
12394 /* Override any gcc2 internal prototype to avoid an error. */
12395 /* We use char because int might match the return type of a gcc2
12396 builtin and then its argument prototype would still apply. */
12401 /* The GNU C library defines this for functions which it implements
12402 to always fail with ENOSYS. Some functions are actually named
12403 something starting with __ and the normal name is an alias. */
12404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12412 if { (eval echo configure:12413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12414 eval "ac_cv_func_$ac_func=yes"
12416 echo "configure: failed program was:" >&5
12417 cat conftest.$ac_ext >&5
12419 eval "ac_cv_func_$ac_func=no"
12424 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12425 echo "$ac_t""yes" 1>&6
12426 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12427 cat >> confdefs.h <<EOF
12428 #define $ac_tr_func 1
12432 echo "$ac_t""no" 1>&6
12441 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
12442 echo "configure:12443: checking for atan2l declaration" >&5
12443 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
12444 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
12445 echo $ac_n "(cached) $ac_c" 1>&6
12450 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12451 ac_cpp='$CXXCPP $CPPFLAGS'
12452 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12453 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12454 cross_compiling=$ac_cv_prog_cxx_cross
12456 cat > conftest.$ac_ext <<EOF
12457 #line 12458 "configure"
12458 #include "confdefs.h"
12464 if { (eval echo configure:12465: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12466 glibcpp_cv_func_atan2l_use=yes
12468 echo "configure: failed program was:" >&5
12469 cat conftest.$ac_ext >&5
12471 glibcpp_cv_func_atan2l_use=no
12475 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12476 ac_cpp='$CPP $CPPFLAGS'
12477 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12478 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12479 cross_compiling=$ac_cv_prog_cc_cross
12485 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
12487 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
12488 for ac_func in atan2l
12490 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12491 echo "configure:12492: checking for $ac_func" >&5
12492 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12493 echo $ac_n "(cached) $ac_c" 1>&6
12495 cat > conftest.$ac_ext <<EOF
12496 #line 12497 "configure"
12497 #include "confdefs.h"
12498 /* System header to define __stub macros and hopefully few prototypes,
12499 which can conflict with char $ac_func(); below. */
12500 #include <assert.h>
12501 /* Override any gcc2 internal prototype to avoid an error. */
12502 /* We use char because int might match the return type of a gcc2
12503 builtin and then its argument prototype would still apply. */
12508 /* The GNU C library defines this for functions which it implements
12509 to always fail with ENOSYS. Some functions are actually named
12510 something starting with __ and the normal name is an alias. */
12511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12519 if { (eval echo configure:12520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12521 eval "ac_cv_func_$ac_func=yes"
12523 echo "configure: failed program was:" >&5
12524 cat conftest.$ac_ext >&5
12526 eval "ac_cv_func_$ac_func=no"
12531 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12532 echo "$ac_t""yes" 1>&6
12533 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12534 cat >> confdefs.h <<EOF
12535 #define $ac_tr_func 1
12539 echo "$ac_t""no" 1>&6
12545 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
12546 echo "configure:12547: checking for _atan2l declaration" >&5
12547 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
12548 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
12549 echo $ac_n "(cached) $ac_c" 1>&6
12554 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12555 ac_cpp='$CXXCPP $CPPFLAGS'
12556 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12557 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12558 cross_compiling=$ac_cv_prog_cxx_cross
12560 cat > conftest.$ac_ext <<EOF
12561 #line 12562 "configure"
12562 #include "confdefs.h"
12568 if { (eval echo configure:12569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12570 glibcpp_cv_func__atan2l_use=yes
12572 echo "configure: failed program was:" >&5
12573 cat conftest.$ac_ext >&5
12575 glibcpp_cv_func__atan2l_use=no
12579 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12580 ac_cpp='$CPP $CPPFLAGS'
12581 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12582 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12583 cross_compiling=$ac_cv_prog_cc_cross
12589 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
12591 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
12592 for ac_func in _atan2l
12594 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12595 echo "configure:12596: checking for $ac_func" >&5
12596 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12597 echo $ac_n "(cached) $ac_c" 1>&6
12599 cat > conftest.$ac_ext <<EOF
12600 #line 12601 "configure"
12601 #include "confdefs.h"
12602 /* System header to define __stub macros and hopefully few prototypes,
12603 which can conflict with char $ac_func(); below. */
12604 #include <assert.h>
12605 /* Override any gcc2 internal prototype to avoid an error. */
12606 /* We use char because int might match the return type of a gcc2
12607 builtin and then its argument prototype would still apply. */
12612 /* The GNU C library defines this for functions which it implements
12613 to always fail with ENOSYS. Some functions are actually named
12614 something starting with __ and the normal name is an alias. */
12615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12623 if { (eval echo configure:12624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12625 eval "ac_cv_func_$ac_func=yes"
12627 echo "configure: failed program was:" >&5
12628 cat conftest.$ac_ext >&5
12630 eval "ac_cv_func_$ac_func=no"
12635 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12636 echo "$ac_t""yes" 1>&6
12637 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12638 cat >> confdefs.h <<EOF
12639 #define $ac_tr_func 1
12643 echo "$ac_t""no" 1>&6
12652 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
12653 echo "configure:12654: checking for expl declaration" >&5
12654 if test x${glibcpp_cv_func_expl_use+set} != xset; then
12655 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
12656 echo $ac_n "(cached) $ac_c" 1>&6
12661 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12662 ac_cpp='$CXXCPP $CPPFLAGS'
12663 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12664 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12665 cross_compiling=$ac_cv_prog_cxx_cross
12667 cat > conftest.$ac_ext <<EOF
12668 #line 12669 "configure"
12669 #include "confdefs.h"
12671 #ifdef HAVE_IEEEFP_H
12672 #include <ieeefp.h>
12679 if { (eval echo configure:12680: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12681 glibcpp_cv_func_expl_use=yes
12683 echo "configure: failed program was:" >&5
12684 cat conftest.$ac_ext >&5
12686 glibcpp_cv_func_expl_use=no
12690 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12691 ac_cpp='$CPP $CPPFLAGS'
12692 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12693 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12694 cross_compiling=$ac_cv_prog_cc_cross
12700 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
12702 if test x$glibcpp_cv_func_expl_use = x"yes"; then
12703 for ac_func in expl
12705 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12706 echo "configure:12707: checking for $ac_func" >&5
12707 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12708 echo $ac_n "(cached) $ac_c" 1>&6
12710 cat > conftest.$ac_ext <<EOF
12711 #line 12712 "configure"
12712 #include "confdefs.h"
12713 /* System header to define __stub macros and hopefully few prototypes,
12714 which can conflict with char $ac_func(); below. */
12715 #include <assert.h>
12716 /* Override any gcc2 internal prototype to avoid an error. */
12717 /* We use char because int might match the return type of a gcc2
12718 builtin and then its argument prototype would still apply. */
12723 /* The GNU C library defines this for functions which it implements
12724 to always fail with ENOSYS. Some functions are actually named
12725 something starting with __ and the normal name is an alias. */
12726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12734 if { (eval echo configure:12735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12736 eval "ac_cv_func_$ac_func=yes"
12738 echo "configure: failed program was:" >&5
12739 cat conftest.$ac_ext >&5
12741 eval "ac_cv_func_$ac_func=no"
12746 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12747 echo "$ac_t""yes" 1>&6
12748 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12749 cat >> confdefs.h <<EOF
12750 #define $ac_tr_func 1
12754 echo "$ac_t""no" 1>&6
12760 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
12761 echo "configure:12762: checking for _expl declaration" >&5
12762 if test x${glibcpp_cv_func__expl_use+set} != xset; then
12763 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
12764 echo $ac_n "(cached) $ac_c" 1>&6
12769 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12770 ac_cpp='$CXXCPP $CPPFLAGS'
12771 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12772 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12773 cross_compiling=$ac_cv_prog_cxx_cross
12775 cat > conftest.$ac_ext <<EOF
12776 #line 12777 "configure"
12777 #include "confdefs.h"
12779 #ifdef HAVE_IEEEFP_H
12780 #include <ieeefp.h>
12787 if { (eval echo configure:12788: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12789 glibcpp_cv_func__expl_use=yes
12791 echo "configure: failed program was:" >&5
12792 cat conftest.$ac_ext >&5
12794 glibcpp_cv_func__expl_use=no
12798 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12799 ac_cpp='$CPP $CPPFLAGS'
12800 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12801 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12802 cross_compiling=$ac_cv_prog_cc_cross
12808 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
12810 if test x$glibcpp_cv_func__expl_use = x"yes"; then
12811 for ac_func in _expl
12813 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12814 echo "configure:12815: checking for $ac_func" >&5
12815 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12816 echo $ac_n "(cached) $ac_c" 1>&6
12818 cat > conftest.$ac_ext <<EOF
12819 #line 12820 "configure"
12820 #include "confdefs.h"
12821 /* System header to define __stub macros and hopefully few prototypes,
12822 which can conflict with char $ac_func(); below. */
12823 #include <assert.h>
12824 /* Override any gcc2 internal prototype to avoid an error. */
12825 /* We use char because int might match the return type of a gcc2
12826 builtin and then its argument prototype would still apply. */
12831 /* The GNU C library defines this for functions which it implements
12832 to always fail with ENOSYS. Some functions are actually named
12833 something starting with __ and the normal name is an alias. */
12834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12842 if { (eval echo configure:12843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12844 eval "ac_cv_func_$ac_func=yes"
12846 echo "configure: failed program was:" >&5
12847 cat conftest.$ac_ext >&5
12849 eval "ac_cv_func_$ac_func=no"
12854 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12855 echo "$ac_t""yes" 1>&6
12856 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12857 cat >> confdefs.h <<EOF
12858 #define $ac_tr_func 1
12862 echo "$ac_t""no" 1>&6
12871 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
12872 echo "configure:12873: checking for fabsl declaration" >&5
12873 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
12874 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
12875 echo $ac_n "(cached) $ac_c" 1>&6
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"
12890 #ifdef HAVE_IEEEFP_H
12891 #include <ieeefp.h>
12898 if { (eval echo configure:12899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12900 glibcpp_cv_func_fabsl_use=yes
12902 echo "configure: failed program was:" >&5
12903 cat conftest.$ac_ext >&5
12905 glibcpp_cv_func_fabsl_use=no
12909 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12910 ac_cpp='$CPP $CPPFLAGS'
12911 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12912 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12913 cross_compiling=$ac_cv_prog_cc_cross
12919 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
12921 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
12922 for ac_func in fabsl
12924 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12925 echo "configure:12926: checking for $ac_func" >&5
12926 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12927 echo $ac_n "(cached) $ac_c" 1>&6
12929 cat > conftest.$ac_ext <<EOF
12930 #line 12931 "configure"
12931 #include "confdefs.h"
12932 /* System header to define __stub macros and hopefully few prototypes,
12933 which can conflict with char $ac_func(); below. */
12934 #include <assert.h>
12935 /* Override any gcc2 internal prototype to avoid an error. */
12936 /* We use char because int might match the return type of a gcc2
12937 builtin and then its argument prototype would still apply. */
12942 /* The GNU C library defines this for functions which it implements
12943 to always fail with ENOSYS. Some functions are actually named
12944 something starting with __ and the normal name is an alias. */
12945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12953 if { (eval echo configure:12954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12955 eval "ac_cv_func_$ac_func=yes"
12957 echo "configure: failed program was:" >&5
12958 cat conftest.$ac_ext >&5
12960 eval "ac_cv_func_$ac_func=no"
12965 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12966 echo "$ac_t""yes" 1>&6
12967 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12968 cat >> confdefs.h <<EOF
12969 #define $ac_tr_func 1
12973 echo "$ac_t""no" 1>&6
12979 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
12980 echo "configure:12981: checking for _fabsl declaration" >&5
12981 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
12982 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
12983 echo $ac_n "(cached) $ac_c" 1>&6
12988 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12989 ac_cpp='$CXXCPP $CPPFLAGS'
12990 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12991 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12992 cross_compiling=$ac_cv_prog_cxx_cross
12994 cat > conftest.$ac_ext <<EOF
12995 #line 12996 "configure"
12996 #include "confdefs.h"
12998 #ifdef HAVE_IEEEFP_H
12999 #include <ieeefp.h>
13006 if { (eval echo configure:13007: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13008 glibcpp_cv_func__fabsl_use=yes
13010 echo "configure: failed program was:" >&5
13011 cat conftest.$ac_ext >&5
13013 glibcpp_cv_func__fabsl_use=no
13017 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13018 ac_cpp='$CPP $CPPFLAGS'
13019 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13020 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13021 cross_compiling=$ac_cv_prog_cc_cross
13027 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
13029 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
13030 for ac_func in _fabsl
13032 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13033 echo "configure:13034: checking for $ac_func" >&5
13034 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13035 echo $ac_n "(cached) $ac_c" 1>&6
13037 cat > conftest.$ac_ext <<EOF
13038 #line 13039 "configure"
13039 #include "confdefs.h"
13040 /* System header to define __stub macros and hopefully few prototypes,
13041 which can conflict with char $ac_func(); below. */
13042 #include <assert.h>
13043 /* Override any gcc2 internal prototype to avoid an error. */
13044 /* We use char because int might match the return type of a gcc2
13045 builtin and then its argument prototype would still apply. */
13050 /* The GNU C library defines this for functions which it implements
13051 to always fail with ENOSYS. Some functions are actually named
13052 something starting with __ and the normal name is an alias. */
13053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13061 if { (eval echo configure:13062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13063 eval "ac_cv_func_$ac_func=yes"
13065 echo "configure: failed program was:" >&5
13066 cat conftest.$ac_ext >&5
13068 eval "ac_cv_func_$ac_func=no"
13073 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13074 echo "$ac_t""yes" 1>&6
13075 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13076 cat >> confdefs.h <<EOF
13077 #define $ac_tr_func 1
13081 echo "$ac_t""no" 1>&6
13090 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
13091 echo "configure:13092: checking for fmodl declaration" >&5
13092 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
13093 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
13094 echo $ac_n "(cached) $ac_c" 1>&6
13099 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13100 ac_cpp='$CXXCPP $CPPFLAGS'
13101 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13102 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13103 cross_compiling=$ac_cv_prog_cxx_cross
13105 cat > conftest.$ac_ext <<EOF
13106 #line 13107 "configure"
13107 #include "confdefs.h"
13113 if { (eval echo configure:13114: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13115 glibcpp_cv_func_fmodl_use=yes
13117 echo "configure: failed program was:" >&5
13118 cat conftest.$ac_ext >&5
13120 glibcpp_cv_func_fmodl_use=no
13124 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13125 ac_cpp='$CPP $CPPFLAGS'
13126 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13127 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13128 cross_compiling=$ac_cv_prog_cc_cross
13134 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
13136 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
13137 for ac_func in fmodl
13139 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13140 echo "configure:13141: checking for $ac_func" >&5
13141 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13142 echo $ac_n "(cached) $ac_c" 1>&6
13144 cat > conftest.$ac_ext <<EOF
13145 #line 13146 "configure"
13146 #include "confdefs.h"
13147 /* System header to define __stub macros and hopefully few prototypes,
13148 which can conflict with char $ac_func(); below. */
13149 #include <assert.h>
13150 /* Override any gcc2 internal prototype to avoid an error. */
13151 /* We use char because int might match the return type of a gcc2
13152 builtin and then its argument prototype would still apply. */
13157 /* The GNU C library defines this for functions which it implements
13158 to always fail with ENOSYS. Some functions are actually named
13159 something starting with __ and the normal name is an alias. */
13160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13168 if { (eval echo configure:13169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13170 eval "ac_cv_func_$ac_func=yes"
13172 echo "configure: failed program was:" >&5
13173 cat conftest.$ac_ext >&5
13175 eval "ac_cv_func_$ac_func=no"
13180 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13181 echo "$ac_t""yes" 1>&6
13182 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13183 cat >> confdefs.h <<EOF
13184 #define $ac_tr_func 1
13188 echo "$ac_t""no" 1>&6
13194 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
13195 echo "configure:13196: checking for _fmodl declaration" >&5
13196 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
13197 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
13198 echo $ac_n "(cached) $ac_c" 1>&6
13203 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13204 ac_cpp='$CXXCPP $CPPFLAGS'
13205 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13206 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13207 cross_compiling=$ac_cv_prog_cxx_cross
13209 cat > conftest.$ac_ext <<EOF
13210 #line 13211 "configure"
13211 #include "confdefs.h"
13217 if { (eval echo configure:13218: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13219 glibcpp_cv_func__fmodl_use=yes
13221 echo "configure: failed program was:" >&5
13222 cat conftest.$ac_ext >&5
13224 glibcpp_cv_func__fmodl_use=no
13228 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13229 ac_cpp='$CPP $CPPFLAGS'
13230 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13231 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13232 cross_compiling=$ac_cv_prog_cc_cross
13238 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
13240 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
13241 for ac_func in _fmodl
13243 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13244 echo "configure:13245: checking for $ac_func" >&5
13245 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13246 echo $ac_n "(cached) $ac_c" 1>&6
13248 cat > conftest.$ac_ext <<EOF
13249 #line 13250 "configure"
13250 #include "confdefs.h"
13251 /* System header to define __stub macros and hopefully few prototypes,
13252 which can conflict with char $ac_func(); below. */
13253 #include <assert.h>
13254 /* Override any gcc2 internal prototype to avoid an error. */
13255 /* We use char because int might match the return type of a gcc2
13256 builtin and then its argument prototype would still apply. */
13261 /* The GNU C library defines this for functions which it implements
13262 to always fail with ENOSYS. Some functions are actually named
13263 something starting with __ and the normal name is an alias. */
13264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13272 if { (eval echo configure:13273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13274 eval "ac_cv_func_$ac_func=yes"
13276 echo "configure: failed program was:" >&5
13277 cat conftest.$ac_ext >&5
13279 eval "ac_cv_func_$ac_func=no"
13284 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13285 echo "$ac_t""yes" 1>&6
13286 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13287 cat >> confdefs.h <<EOF
13288 #define $ac_tr_func 1
13292 echo "$ac_t""no" 1>&6
13301 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
13302 echo "configure:13303: checking for frexpl declaration" >&5
13303 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
13304 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
13305 echo $ac_n "(cached) $ac_c" 1>&6
13310 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13311 ac_cpp='$CXXCPP $CPPFLAGS'
13312 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13313 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13314 cross_compiling=$ac_cv_prog_cxx_cross
13316 cat > conftest.$ac_ext <<EOF
13317 #line 13318 "configure"
13318 #include "confdefs.h"
13324 if { (eval echo configure:13325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13326 glibcpp_cv_func_frexpl_use=yes
13328 echo "configure: failed program was:" >&5
13329 cat conftest.$ac_ext >&5
13331 glibcpp_cv_func_frexpl_use=no
13335 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13336 ac_cpp='$CPP $CPPFLAGS'
13337 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13338 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13339 cross_compiling=$ac_cv_prog_cc_cross
13345 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
13347 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
13348 for ac_func in frexpl
13350 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13351 echo "configure:13352: checking for $ac_func" >&5
13352 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13353 echo $ac_n "(cached) $ac_c" 1>&6
13355 cat > conftest.$ac_ext <<EOF
13356 #line 13357 "configure"
13357 #include "confdefs.h"
13358 /* System header to define __stub macros and hopefully few prototypes,
13359 which can conflict with char $ac_func(); below. */
13360 #include <assert.h>
13361 /* Override any gcc2 internal prototype to avoid an error. */
13362 /* We use char because int might match the return type of a gcc2
13363 builtin and then its argument prototype would still apply. */
13368 /* The GNU C library defines this for functions which it implements
13369 to always fail with ENOSYS. Some functions are actually named
13370 something starting with __ and the normal name is an alias. */
13371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13379 if { (eval echo configure:13380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13381 eval "ac_cv_func_$ac_func=yes"
13383 echo "configure: failed program was:" >&5
13384 cat conftest.$ac_ext >&5
13386 eval "ac_cv_func_$ac_func=no"
13391 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13392 echo "$ac_t""yes" 1>&6
13393 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13394 cat >> confdefs.h <<EOF
13395 #define $ac_tr_func 1
13399 echo "$ac_t""no" 1>&6
13405 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
13406 echo "configure:13407: checking for _frexpl declaration" >&5
13407 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
13408 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
13409 echo $ac_n "(cached) $ac_c" 1>&6
13414 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13415 ac_cpp='$CXXCPP $CPPFLAGS'
13416 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13417 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13418 cross_compiling=$ac_cv_prog_cxx_cross
13420 cat > conftest.$ac_ext <<EOF
13421 #line 13422 "configure"
13422 #include "confdefs.h"
13428 if { (eval echo configure:13429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13430 glibcpp_cv_func__frexpl_use=yes
13432 echo "configure: failed program was:" >&5
13433 cat conftest.$ac_ext >&5
13435 glibcpp_cv_func__frexpl_use=no
13439 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13440 ac_cpp='$CPP $CPPFLAGS'
13441 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13442 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13443 cross_compiling=$ac_cv_prog_cc_cross
13449 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
13451 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
13452 for ac_func in _frexpl
13454 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13455 echo "configure:13456: checking for $ac_func" >&5
13456 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13457 echo $ac_n "(cached) $ac_c" 1>&6
13459 cat > conftest.$ac_ext <<EOF
13460 #line 13461 "configure"
13461 #include "confdefs.h"
13462 /* System header to define __stub macros and hopefully few prototypes,
13463 which can conflict with char $ac_func(); below. */
13464 #include <assert.h>
13465 /* Override any gcc2 internal prototype to avoid an error. */
13466 /* We use char because int might match the return type of a gcc2
13467 builtin and then its argument prototype would still apply. */
13472 /* The GNU C library defines this for functions which it implements
13473 to always fail with ENOSYS. Some functions are actually named
13474 something starting with __ and the normal name is an alias. */
13475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13483 if { (eval echo configure:13484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13485 eval "ac_cv_func_$ac_func=yes"
13487 echo "configure: failed program was:" >&5
13488 cat conftest.$ac_ext >&5
13490 eval "ac_cv_func_$ac_func=no"
13495 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13496 echo "$ac_t""yes" 1>&6
13497 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13498 cat >> confdefs.h <<EOF
13499 #define $ac_tr_func 1
13503 echo "$ac_t""no" 1>&6
13512 echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
13513 echo "configure:13514: checking for hypotl declaration" >&5
13514 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
13515 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
13516 echo $ac_n "(cached) $ac_c" 1>&6
13521 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13522 ac_cpp='$CXXCPP $CPPFLAGS'
13523 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13524 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13525 cross_compiling=$ac_cv_prog_cxx_cross
13527 cat > conftest.$ac_ext <<EOF
13528 #line 13529 "configure"
13529 #include "confdefs.h"
13535 if { (eval echo configure:13536: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13537 glibcpp_cv_func_hypotl_use=yes
13539 echo "configure: failed program was:" >&5
13540 cat conftest.$ac_ext >&5
13542 glibcpp_cv_func_hypotl_use=no
13546 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13547 ac_cpp='$CPP $CPPFLAGS'
13548 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13549 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13550 cross_compiling=$ac_cv_prog_cc_cross
13556 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
13558 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
13559 for ac_func in hypotl
13561 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13562 echo "configure:13563: checking for $ac_func" >&5
13563 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13564 echo $ac_n "(cached) $ac_c" 1>&6
13566 cat > conftest.$ac_ext <<EOF
13567 #line 13568 "configure"
13568 #include "confdefs.h"
13569 /* System header to define __stub macros and hopefully few prototypes,
13570 which can conflict with char $ac_func(); below. */
13571 #include <assert.h>
13572 /* Override any gcc2 internal prototype to avoid an error. */
13573 /* We use char because int might match the return type of a gcc2
13574 builtin and then its argument prototype would still apply. */
13579 /* The GNU C library defines this for functions which it implements
13580 to always fail with ENOSYS. Some functions are actually named
13581 something starting with __ and the normal name is an alias. */
13582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13590 if { (eval echo configure:13591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13592 eval "ac_cv_func_$ac_func=yes"
13594 echo "configure: failed program was:" >&5
13595 cat conftest.$ac_ext >&5
13597 eval "ac_cv_func_$ac_func=no"
13602 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13603 echo "$ac_t""yes" 1>&6
13604 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13605 cat >> confdefs.h <<EOF
13606 #define $ac_tr_func 1
13610 echo "$ac_t""no" 1>&6
13616 echo $ac_n "checking for _hypotl declaration""... $ac_c" 1>&6
13617 echo "configure:13618: checking for _hypotl declaration" >&5
13618 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
13619 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
13620 echo $ac_n "(cached) $ac_c" 1>&6
13625 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13626 ac_cpp='$CXXCPP $CPPFLAGS'
13627 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13628 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13629 cross_compiling=$ac_cv_prog_cxx_cross
13631 cat > conftest.$ac_ext <<EOF
13632 #line 13633 "configure"
13633 #include "confdefs.h"
13639 if { (eval echo configure:13640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13641 glibcpp_cv_func__hypotl_use=yes
13643 echo "configure: failed program was:" >&5
13644 cat conftest.$ac_ext >&5
13646 glibcpp_cv_func__hypotl_use=no
13650 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13651 ac_cpp='$CPP $CPPFLAGS'
13652 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13653 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13654 cross_compiling=$ac_cv_prog_cc_cross
13660 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
13662 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
13663 for ac_func in _hypotl
13665 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13666 echo "configure:13667: checking for $ac_func" >&5
13667 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13668 echo $ac_n "(cached) $ac_c" 1>&6
13670 cat > conftest.$ac_ext <<EOF
13671 #line 13672 "configure"
13672 #include "confdefs.h"
13673 /* System header to define __stub macros and hopefully few prototypes,
13674 which can conflict with char $ac_func(); below. */
13675 #include <assert.h>
13676 /* Override any gcc2 internal prototype to avoid an error. */
13677 /* We use char because int might match the return type of a gcc2
13678 builtin and then its argument prototype would still apply. */
13683 /* The GNU C library defines this for functions which it implements
13684 to always fail with ENOSYS. Some functions are actually named
13685 something starting with __ and the normal name is an alias. */
13686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13694 if { (eval echo configure:13695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13696 eval "ac_cv_func_$ac_func=yes"
13698 echo "configure: failed program was:" >&5
13699 cat conftest.$ac_ext >&5
13701 eval "ac_cv_func_$ac_func=no"
13706 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13707 echo "$ac_t""yes" 1>&6
13708 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13709 cat >> confdefs.h <<EOF
13710 #define $ac_tr_func 1
13714 echo "$ac_t""no" 1>&6
13723 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
13724 echo "configure:13725: checking for ldexpl declaration" >&5
13725 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
13726 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
13727 echo $ac_n "(cached) $ac_c" 1>&6
13732 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13733 ac_cpp='$CXXCPP $CPPFLAGS'
13734 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13735 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13736 cross_compiling=$ac_cv_prog_cxx_cross
13738 cat > conftest.$ac_ext <<EOF
13739 #line 13740 "configure"
13740 #include "confdefs.h"
13746 if { (eval echo configure:13747: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13748 glibcpp_cv_func_ldexpl_use=yes
13750 echo "configure: failed program was:" >&5
13751 cat conftest.$ac_ext >&5
13753 glibcpp_cv_func_ldexpl_use=no
13757 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13758 ac_cpp='$CPP $CPPFLAGS'
13759 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13760 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13761 cross_compiling=$ac_cv_prog_cc_cross
13767 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
13769 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
13770 for ac_func in ldexpl
13772 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13773 echo "configure:13774: checking for $ac_func" >&5
13774 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13775 echo $ac_n "(cached) $ac_c" 1>&6
13777 cat > conftest.$ac_ext <<EOF
13778 #line 13779 "configure"
13779 #include "confdefs.h"
13780 /* System header to define __stub macros and hopefully few prototypes,
13781 which can conflict with char $ac_func(); below. */
13782 #include <assert.h>
13783 /* Override any gcc2 internal prototype to avoid an error. */
13784 /* We use char because int might match the return type of a gcc2
13785 builtin and then its argument prototype would still apply. */
13790 /* The GNU C library defines this for functions which it implements
13791 to always fail with ENOSYS. Some functions are actually named
13792 something starting with __ and the normal name is an alias. */
13793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13801 if { (eval echo configure:13802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13803 eval "ac_cv_func_$ac_func=yes"
13805 echo "configure: failed program was:" >&5
13806 cat conftest.$ac_ext >&5
13808 eval "ac_cv_func_$ac_func=no"
13813 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13814 echo "$ac_t""yes" 1>&6
13815 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13816 cat >> confdefs.h <<EOF
13817 #define $ac_tr_func 1
13821 echo "$ac_t""no" 1>&6
13827 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
13828 echo "configure:13829: checking for _ldexpl declaration" >&5
13829 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
13830 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
13831 echo $ac_n "(cached) $ac_c" 1>&6
13836 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13837 ac_cpp='$CXXCPP $CPPFLAGS'
13838 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13839 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13840 cross_compiling=$ac_cv_prog_cxx_cross
13842 cat > conftest.$ac_ext <<EOF
13843 #line 13844 "configure"
13844 #include "confdefs.h"
13850 if { (eval echo configure:13851: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13852 glibcpp_cv_func__ldexpl_use=yes
13854 echo "configure: failed program was:" >&5
13855 cat conftest.$ac_ext >&5
13857 glibcpp_cv_func__ldexpl_use=no
13861 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13862 ac_cpp='$CPP $CPPFLAGS'
13863 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13864 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13865 cross_compiling=$ac_cv_prog_cc_cross
13871 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
13873 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
13874 for ac_func in _ldexpl
13876 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13877 echo "configure:13878: checking for $ac_func" >&5
13878 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13879 echo $ac_n "(cached) $ac_c" 1>&6
13881 cat > conftest.$ac_ext <<EOF
13882 #line 13883 "configure"
13883 #include "confdefs.h"
13884 /* System header to define __stub macros and hopefully few prototypes,
13885 which can conflict with char $ac_func(); below. */
13886 #include <assert.h>
13887 /* Override any gcc2 internal prototype to avoid an error. */
13888 /* We use char because int might match the return type of a gcc2
13889 builtin and then its argument prototype would still apply. */
13894 /* The GNU C library defines this for functions which it implements
13895 to always fail with ENOSYS. Some functions are actually named
13896 something starting with __ and the normal name is an alias. */
13897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13905 if { (eval echo configure:13906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13907 eval "ac_cv_func_$ac_func=yes"
13909 echo "configure: failed program was:" >&5
13910 cat conftest.$ac_ext >&5
13912 eval "ac_cv_func_$ac_func=no"
13917 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13918 echo "$ac_t""yes" 1>&6
13919 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13920 cat >> confdefs.h <<EOF
13921 #define $ac_tr_func 1
13925 echo "$ac_t""no" 1>&6
13934 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
13935 echo "configure:13936: checking for logl declaration" >&5
13936 if test x${glibcpp_cv_func_logl_use+set} != xset; then
13937 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
13938 echo $ac_n "(cached) $ac_c" 1>&6
13943 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13944 ac_cpp='$CXXCPP $CPPFLAGS'
13945 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13946 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13947 cross_compiling=$ac_cv_prog_cxx_cross
13949 cat > conftest.$ac_ext <<EOF
13950 #line 13951 "configure"
13951 #include "confdefs.h"
13953 #ifdef HAVE_IEEEFP_H
13954 #include <ieeefp.h>
13961 if { (eval echo configure:13962: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13963 glibcpp_cv_func_logl_use=yes
13965 echo "configure: failed program was:" >&5
13966 cat conftest.$ac_ext >&5
13968 glibcpp_cv_func_logl_use=no
13972 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13973 ac_cpp='$CPP $CPPFLAGS'
13974 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13975 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13976 cross_compiling=$ac_cv_prog_cc_cross
13982 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
13984 if test x$glibcpp_cv_func_logl_use = x"yes"; then
13985 for ac_func in logl
13987 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13988 echo "configure:13989: checking for $ac_func" >&5
13989 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13990 echo $ac_n "(cached) $ac_c" 1>&6
13992 cat > conftest.$ac_ext <<EOF
13993 #line 13994 "configure"
13994 #include "confdefs.h"
13995 /* System header to define __stub macros and hopefully few prototypes,
13996 which can conflict with char $ac_func(); below. */
13997 #include <assert.h>
13998 /* Override any gcc2 internal prototype to avoid an error. */
13999 /* We use char because int might match the return type of a gcc2
14000 builtin and then its argument prototype would still apply. */
14005 /* The GNU C library defines this for functions which it implements
14006 to always fail with ENOSYS. Some functions are actually named
14007 something starting with __ and the normal name is an alias. */
14008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14016 if { (eval echo configure:14017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14018 eval "ac_cv_func_$ac_func=yes"
14020 echo "configure: failed program was:" >&5
14021 cat conftest.$ac_ext >&5
14023 eval "ac_cv_func_$ac_func=no"
14028 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14029 echo "$ac_t""yes" 1>&6
14030 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14031 cat >> confdefs.h <<EOF
14032 #define $ac_tr_func 1
14036 echo "$ac_t""no" 1>&6
14042 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
14043 echo "configure:14044: checking for _logl declaration" >&5
14044 if test x${glibcpp_cv_func__logl_use+set} != xset; then
14045 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
14046 echo $ac_n "(cached) $ac_c" 1>&6
14051 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14052 ac_cpp='$CXXCPP $CPPFLAGS'
14053 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14054 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14055 cross_compiling=$ac_cv_prog_cxx_cross
14057 cat > conftest.$ac_ext <<EOF
14058 #line 14059 "configure"
14059 #include "confdefs.h"
14061 #ifdef HAVE_IEEEFP_H
14062 #include <ieeefp.h>
14069 if { (eval echo configure:14070: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14071 glibcpp_cv_func__logl_use=yes
14073 echo "configure: failed program was:" >&5
14074 cat conftest.$ac_ext >&5
14076 glibcpp_cv_func__logl_use=no
14080 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14081 ac_cpp='$CPP $CPPFLAGS'
14082 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14083 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14084 cross_compiling=$ac_cv_prog_cc_cross
14090 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
14092 if test x$glibcpp_cv_func__logl_use = x"yes"; then
14093 for ac_func in _logl
14095 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14096 echo "configure:14097: checking for $ac_func" >&5
14097 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14098 echo $ac_n "(cached) $ac_c" 1>&6
14100 cat > conftest.$ac_ext <<EOF
14101 #line 14102 "configure"
14102 #include "confdefs.h"
14103 /* System header to define __stub macros and hopefully few prototypes,
14104 which can conflict with char $ac_func(); below. */
14105 #include <assert.h>
14106 /* Override any gcc2 internal prototype to avoid an error. */
14107 /* We use char because int might match the return type of a gcc2
14108 builtin and then its argument prototype would still apply. */
14113 /* The GNU C library defines this for functions which it implements
14114 to always fail with ENOSYS. Some functions are actually named
14115 something starting with __ and the normal name is an alias. */
14116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14124 if { (eval echo configure:14125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14126 eval "ac_cv_func_$ac_func=yes"
14128 echo "configure: failed program was:" >&5
14129 cat conftest.$ac_ext >&5
14131 eval "ac_cv_func_$ac_func=no"
14136 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14137 echo "$ac_t""yes" 1>&6
14138 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14139 cat >> confdefs.h <<EOF
14140 #define $ac_tr_func 1
14144 echo "$ac_t""no" 1>&6
14153 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
14154 echo "configure:14155: checking for log10l declaration" >&5
14155 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
14156 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
14157 echo $ac_n "(cached) $ac_c" 1>&6
14162 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14163 ac_cpp='$CXXCPP $CPPFLAGS'
14164 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14165 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14166 cross_compiling=$ac_cv_prog_cxx_cross
14168 cat > conftest.$ac_ext <<EOF
14169 #line 14170 "configure"
14170 #include "confdefs.h"
14172 #ifdef HAVE_IEEEFP_H
14173 #include <ieeefp.h>
14180 if { (eval echo configure:14181: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14182 glibcpp_cv_func_log10l_use=yes
14184 echo "configure: failed program was:" >&5
14185 cat conftest.$ac_ext >&5
14187 glibcpp_cv_func_log10l_use=no
14191 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14192 ac_cpp='$CPP $CPPFLAGS'
14193 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14194 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14195 cross_compiling=$ac_cv_prog_cc_cross
14201 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
14203 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
14204 for ac_func in log10l
14206 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14207 echo "configure:14208: checking for $ac_func" >&5
14208 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14209 echo $ac_n "(cached) $ac_c" 1>&6
14211 cat > conftest.$ac_ext <<EOF
14212 #line 14213 "configure"
14213 #include "confdefs.h"
14214 /* System header to define __stub macros and hopefully few prototypes,
14215 which can conflict with char $ac_func(); below. */
14216 #include <assert.h>
14217 /* Override any gcc2 internal prototype to avoid an error. */
14218 /* We use char because int might match the return type of a gcc2
14219 builtin and then its argument prototype would still apply. */
14224 /* The GNU C library defines this for functions which it implements
14225 to always fail with ENOSYS. Some functions are actually named
14226 something starting with __ and the normal name is an alias. */
14227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14235 if { (eval echo configure:14236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14237 eval "ac_cv_func_$ac_func=yes"
14239 echo "configure: failed program was:" >&5
14240 cat conftest.$ac_ext >&5
14242 eval "ac_cv_func_$ac_func=no"
14247 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14248 echo "$ac_t""yes" 1>&6
14249 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14250 cat >> confdefs.h <<EOF
14251 #define $ac_tr_func 1
14255 echo "$ac_t""no" 1>&6
14261 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
14262 echo "configure:14263: checking for _log10l declaration" >&5
14263 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
14264 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
14265 echo $ac_n "(cached) $ac_c" 1>&6
14270 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14271 ac_cpp='$CXXCPP $CPPFLAGS'
14272 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14273 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14274 cross_compiling=$ac_cv_prog_cxx_cross
14276 cat > conftest.$ac_ext <<EOF
14277 #line 14278 "configure"
14278 #include "confdefs.h"
14280 #ifdef HAVE_IEEEFP_H
14281 #include <ieeefp.h>
14288 if { (eval echo configure:14289: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14290 glibcpp_cv_func__log10l_use=yes
14292 echo "configure: failed program was:" >&5
14293 cat conftest.$ac_ext >&5
14295 glibcpp_cv_func__log10l_use=no
14299 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14300 ac_cpp='$CPP $CPPFLAGS'
14301 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14302 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14303 cross_compiling=$ac_cv_prog_cc_cross
14309 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
14311 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
14312 for ac_func in _log10l
14314 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14315 echo "configure:14316: checking for $ac_func" >&5
14316 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14317 echo $ac_n "(cached) $ac_c" 1>&6
14319 cat > conftest.$ac_ext <<EOF
14320 #line 14321 "configure"
14321 #include "confdefs.h"
14322 /* System header to define __stub macros and hopefully few prototypes,
14323 which can conflict with char $ac_func(); below. */
14324 #include <assert.h>
14325 /* Override any gcc2 internal prototype to avoid an error. */
14326 /* We use char because int might match the return type of a gcc2
14327 builtin and then its argument prototype would still apply. */
14332 /* The GNU C library defines this for functions which it implements
14333 to always fail with ENOSYS. Some functions are actually named
14334 something starting with __ and the normal name is an alias. */
14335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14343 if { (eval echo configure:14344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14345 eval "ac_cv_func_$ac_func=yes"
14347 echo "configure: failed program was:" >&5
14348 cat conftest.$ac_ext >&5
14350 eval "ac_cv_func_$ac_func=no"
14355 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14356 echo "$ac_t""yes" 1>&6
14357 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14358 cat >> confdefs.h <<EOF
14359 #define $ac_tr_func 1
14363 echo "$ac_t""no" 1>&6
14372 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
14373 echo "configure:14374: checking for modfl declaration" >&5
14374 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
14375 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
14376 echo $ac_n "(cached) $ac_c" 1>&6
14381 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14382 ac_cpp='$CXXCPP $CPPFLAGS'
14383 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14384 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14385 cross_compiling=$ac_cv_prog_cxx_cross
14387 cat > conftest.$ac_ext <<EOF
14388 #line 14389 "configure"
14389 #include "confdefs.h"
14395 if { (eval echo configure:14396: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14397 glibcpp_cv_func_modfl_use=yes
14399 echo "configure: failed program was:" >&5
14400 cat conftest.$ac_ext >&5
14402 glibcpp_cv_func_modfl_use=no
14406 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14407 ac_cpp='$CPP $CPPFLAGS'
14408 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14409 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14410 cross_compiling=$ac_cv_prog_cc_cross
14416 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
14418 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
14419 for ac_func in modfl
14421 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14422 echo "configure:14423: checking for $ac_func" >&5
14423 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14424 echo $ac_n "(cached) $ac_c" 1>&6
14426 cat > conftest.$ac_ext <<EOF
14427 #line 14428 "configure"
14428 #include "confdefs.h"
14429 /* System header to define __stub macros and hopefully few prototypes,
14430 which can conflict with char $ac_func(); below. */
14431 #include <assert.h>
14432 /* Override any gcc2 internal prototype to avoid an error. */
14433 /* We use char because int might match the return type of a gcc2
14434 builtin and then its argument prototype would still apply. */
14439 /* The GNU C library defines this for functions which it implements
14440 to always fail with ENOSYS. Some functions are actually named
14441 something starting with __ and the normal name is an alias. */
14442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14450 if { (eval echo configure:14451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14452 eval "ac_cv_func_$ac_func=yes"
14454 echo "configure: failed program was:" >&5
14455 cat conftest.$ac_ext >&5
14457 eval "ac_cv_func_$ac_func=no"
14462 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14463 echo "$ac_t""yes" 1>&6
14464 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14465 cat >> confdefs.h <<EOF
14466 #define $ac_tr_func 1
14470 echo "$ac_t""no" 1>&6
14476 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
14477 echo "configure:14478: checking for _modfl declaration" >&5
14478 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
14479 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
14480 echo $ac_n "(cached) $ac_c" 1>&6
14485 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14486 ac_cpp='$CXXCPP $CPPFLAGS'
14487 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14488 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14489 cross_compiling=$ac_cv_prog_cxx_cross
14491 cat > conftest.$ac_ext <<EOF
14492 #line 14493 "configure"
14493 #include "confdefs.h"
14499 if { (eval echo configure:14500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14501 glibcpp_cv_func__modfl_use=yes
14503 echo "configure: failed program was:" >&5
14504 cat conftest.$ac_ext >&5
14506 glibcpp_cv_func__modfl_use=no
14510 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14511 ac_cpp='$CPP $CPPFLAGS'
14512 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14513 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14514 cross_compiling=$ac_cv_prog_cc_cross
14520 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
14522 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
14523 for ac_func in _modfl
14525 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14526 echo "configure:14527: checking for $ac_func" >&5
14527 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14528 echo $ac_n "(cached) $ac_c" 1>&6
14530 cat > conftest.$ac_ext <<EOF
14531 #line 14532 "configure"
14532 #include "confdefs.h"
14533 /* System header to define __stub macros and hopefully few prototypes,
14534 which can conflict with char $ac_func(); below. */
14535 #include <assert.h>
14536 /* Override any gcc2 internal prototype to avoid an error. */
14537 /* We use char because int might match the return type of a gcc2
14538 builtin and then its argument prototype would still apply. */
14543 /* The GNU C library defines this for functions which it implements
14544 to always fail with ENOSYS. Some functions are actually named
14545 something starting with __ and the normal name is an alias. */
14546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14554 if { (eval echo configure:14555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14556 eval "ac_cv_func_$ac_func=yes"
14558 echo "configure: failed program was:" >&5
14559 cat conftest.$ac_ext >&5
14561 eval "ac_cv_func_$ac_func=no"
14566 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14567 echo "$ac_t""yes" 1>&6
14568 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14569 cat >> confdefs.h <<EOF
14570 #define $ac_tr_func 1
14574 echo "$ac_t""no" 1>&6
14583 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
14584 echo "configure:14585: checking for powl declaration" >&5
14585 if test x${glibcpp_cv_func_powl_use+set} != xset; then
14586 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
14587 echo $ac_n "(cached) $ac_c" 1>&6
14592 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14593 ac_cpp='$CXXCPP $CPPFLAGS'
14594 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14595 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14596 cross_compiling=$ac_cv_prog_cxx_cross
14598 cat > conftest.$ac_ext <<EOF
14599 #line 14600 "configure"
14600 #include "confdefs.h"
14606 if { (eval echo configure:14607: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14608 glibcpp_cv_func_powl_use=yes
14610 echo "configure: failed program was:" >&5
14611 cat conftest.$ac_ext >&5
14613 glibcpp_cv_func_powl_use=no
14617 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14618 ac_cpp='$CPP $CPPFLAGS'
14619 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14620 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14621 cross_compiling=$ac_cv_prog_cc_cross
14627 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
14629 if test x$glibcpp_cv_func_powl_use = x"yes"; then
14630 for ac_func in powl
14632 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14633 echo "configure:14634: checking for $ac_func" >&5
14634 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14635 echo $ac_n "(cached) $ac_c" 1>&6
14637 cat > conftest.$ac_ext <<EOF
14638 #line 14639 "configure"
14639 #include "confdefs.h"
14640 /* System header to define __stub macros and hopefully few prototypes,
14641 which can conflict with char $ac_func(); below. */
14642 #include <assert.h>
14643 /* Override any gcc2 internal prototype to avoid an error. */
14644 /* We use char because int might match the return type of a gcc2
14645 builtin and then its argument prototype would still apply. */
14650 /* The GNU C library defines this for functions which it implements
14651 to always fail with ENOSYS. Some functions are actually named
14652 something starting with __ and the normal name is an alias. */
14653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14661 if { (eval echo configure:14662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14663 eval "ac_cv_func_$ac_func=yes"
14665 echo "configure: failed program was:" >&5
14666 cat conftest.$ac_ext >&5
14668 eval "ac_cv_func_$ac_func=no"
14673 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14674 echo "$ac_t""yes" 1>&6
14675 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14676 cat >> confdefs.h <<EOF
14677 #define $ac_tr_func 1
14681 echo "$ac_t""no" 1>&6
14687 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
14688 echo "configure:14689: checking for _powl declaration" >&5
14689 if test x${glibcpp_cv_func__powl_use+set} != xset; then
14690 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
14691 echo $ac_n "(cached) $ac_c" 1>&6
14696 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14697 ac_cpp='$CXXCPP $CPPFLAGS'
14698 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14699 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14700 cross_compiling=$ac_cv_prog_cxx_cross
14702 cat > conftest.$ac_ext <<EOF
14703 #line 14704 "configure"
14704 #include "confdefs.h"
14710 if { (eval echo configure:14711: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14712 glibcpp_cv_func__powl_use=yes
14714 echo "configure: failed program was:" >&5
14715 cat conftest.$ac_ext >&5
14717 glibcpp_cv_func__powl_use=no
14721 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14722 ac_cpp='$CPP $CPPFLAGS'
14723 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14724 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14725 cross_compiling=$ac_cv_prog_cc_cross
14731 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
14733 if test x$glibcpp_cv_func__powl_use = x"yes"; then
14734 for ac_func in _powl
14736 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14737 echo "configure:14738: checking for $ac_func" >&5
14738 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14739 echo $ac_n "(cached) $ac_c" 1>&6
14741 cat > conftest.$ac_ext <<EOF
14742 #line 14743 "configure"
14743 #include "confdefs.h"
14744 /* System header to define __stub macros and hopefully few prototypes,
14745 which can conflict with char $ac_func(); below. */
14746 #include <assert.h>
14747 /* Override any gcc2 internal prototype to avoid an error. */
14748 /* We use char because int might match the return type of a gcc2
14749 builtin and then its argument prototype would still apply. */
14754 /* The GNU C library defines this for functions which it implements
14755 to always fail with ENOSYS. Some functions are actually named
14756 something starting with __ and the normal name is an alias. */
14757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14765 if { (eval echo configure:14766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14767 eval "ac_cv_func_$ac_func=yes"
14769 echo "configure: failed program was:" >&5
14770 cat conftest.$ac_ext >&5
14772 eval "ac_cv_func_$ac_func=no"
14777 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14778 echo "$ac_t""yes" 1>&6
14779 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14780 cat >> confdefs.h <<EOF
14781 #define $ac_tr_func 1
14785 echo "$ac_t""no" 1>&6
14794 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
14795 echo "configure:14796: checking for sqrtl declaration" >&5
14796 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
14797 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
14798 echo $ac_n "(cached) $ac_c" 1>&6
14803 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14804 ac_cpp='$CXXCPP $CPPFLAGS'
14805 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14806 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14807 cross_compiling=$ac_cv_prog_cxx_cross
14809 cat > conftest.$ac_ext <<EOF
14810 #line 14811 "configure"
14811 #include "confdefs.h"
14813 #ifdef HAVE_IEEEFP_H
14814 #include <ieeefp.h>
14821 if { (eval echo configure:14822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14823 glibcpp_cv_func_sqrtl_use=yes
14825 echo "configure: failed program was:" >&5
14826 cat conftest.$ac_ext >&5
14828 glibcpp_cv_func_sqrtl_use=no
14832 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14833 ac_cpp='$CPP $CPPFLAGS'
14834 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14835 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14836 cross_compiling=$ac_cv_prog_cc_cross
14842 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
14844 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
14845 for ac_func in sqrtl
14847 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14848 echo "configure:14849: checking for $ac_func" >&5
14849 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14850 echo $ac_n "(cached) $ac_c" 1>&6
14852 cat > conftest.$ac_ext <<EOF
14853 #line 14854 "configure"
14854 #include "confdefs.h"
14855 /* System header to define __stub macros and hopefully few prototypes,
14856 which can conflict with char $ac_func(); below. */
14857 #include <assert.h>
14858 /* Override any gcc2 internal prototype to avoid an error. */
14859 /* We use char because int might match the return type of a gcc2
14860 builtin and then its argument prototype would still apply. */
14865 /* The GNU C library defines this for functions which it implements
14866 to always fail with ENOSYS. Some functions are actually named
14867 something starting with __ and the normal name is an alias. */
14868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14876 if { (eval echo configure:14877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14878 eval "ac_cv_func_$ac_func=yes"
14880 echo "configure: failed program was:" >&5
14881 cat conftest.$ac_ext >&5
14883 eval "ac_cv_func_$ac_func=no"
14888 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14889 echo "$ac_t""yes" 1>&6
14890 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14891 cat >> confdefs.h <<EOF
14892 #define $ac_tr_func 1
14896 echo "$ac_t""no" 1>&6
14902 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
14903 echo "configure:14904: checking for _sqrtl declaration" >&5
14904 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
14905 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
14906 echo $ac_n "(cached) $ac_c" 1>&6
14911 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14912 ac_cpp='$CXXCPP $CPPFLAGS'
14913 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14914 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14915 cross_compiling=$ac_cv_prog_cxx_cross
14917 cat > conftest.$ac_ext <<EOF
14918 #line 14919 "configure"
14919 #include "confdefs.h"
14921 #ifdef HAVE_IEEEFP_H
14922 #include <ieeefp.h>
14929 if { (eval echo configure:14930: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14931 glibcpp_cv_func__sqrtl_use=yes
14933 echo "configure: failed program was:" >&5
14934 cat conftest.$ac_ext >&5
14936 glibcpp_cv_func__sqrtl_use=no
14940 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14941 ac_cpp='$CPP $CPPFLAGS'
14942 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14943 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14944 cross_compiling=$ac_cv_prog_cc_cross
14950 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
14952 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
14953 for ac_func in _sqrtl
14955 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14956 echo "configure:14957: checking for $ac_func" >&5
14957 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14958 echo $ac_n "(cached) $ac_c" 1>&6
14960 cat > conftest.$ac_ext <<EOF
14961 #line 14962 "configure"
14962 #include "confdefs.h"
14963 /* System header to define __stub macros and hopefully few prototypes,
14964 which can conflict with char $ac_func(); below. */
14965 #include <assert.h>
14966 /* Override any gcc2 internal prototype to avoid an error. */
14967 /* We use char because int might match the return type of a gcc2
14968 builtin and then its argument prototype would still apply. */
14973 /* The GNU C library defines this for functions which it implements
14974 to always fail with ENOSYS. Some functions are actually named
14975 something starting with __ and the normal name is an alias. */
14976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14984 if { (eval echo configure:14985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14986 eval "ac_cv_func_$ac_func=yes"
14988 echo "configure: failed program was:" >&5
14989 cat conftest.$ac_ext >&5
14991 eval "ac_cv_func_$ac_func=no"
14996 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14997 echo "$ac_t""yes" 1>&6
14998 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14999 cat >> confdefs.h <<EOF
15000 #define $ac_tr_func 1
15004 echo "$ac_t""no" 1>&6
15013 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
15014 echo "configure:15015: checking for sincosl declaration" >&5
15015 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
15016 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
15017 echo $ac_n "(cached) $ac_c" 1>&6
15022 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15023 ac_cpp='$CXXCPP $CPPFLAGS'
15024 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15025 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15026 cross_compiling=$ac_cv_prog_cxx_cross
15028 cat > conftest.$ac_ext <<EOF
15029 #line 15030 "configure"
15030 #include "confdefs.h"
15036 if { (eval echo configure:15037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15038 glibcpp_cv_func_sincosl_use=yes
15040 echo "configure: failed program was:" >&5
15041 cat conftest.$ac_ext >&5
15043 glibcpp_cv_func_sincosl_use=no
15047 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15048 ac_cpp='$CPP $CPPFLAGS'
15049 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15050 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15051 cross_compiling=$ac_cv_prog_cc_cross
15057 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
15059 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
15060 for ac_func in sincosl
15062 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15063 echo "configure:15064: checking for $ac_func" >&5
15064 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15065 echo $ac_n "(cached) $ac_c" 1>&6
15067 cat > conftest.$ac_ext <<EOF
15068 #line 15069 "configure"
15069 #include "confdefs.h"
15070 /* System header to define __stub macros and hopefully few prototypes,
15071 which can conflict with char $ac_func(); below. */
15072 #include <assert.h>
15073 /* Override any gcc2 internal prototype to avoid an error. */
15074 /* We use char because int might match the return type of a gcc2
15075 builtin and then its argument prototype would still apply. */
15080 /* The GNU C library defines this for functions which it implements
15081 to always fail with ENOSYS. Some functions are actually named
15082 something starting with __ and the normal name is an alias. */
15083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15091 if { (eval echo configure:15092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15093 eval "ac_cv_func_$ac_func=yes"
15095 echo "configure: failed program was:" >&5
15096 cat conftest.$ac_ext >&5
15098 eval "ac_cv_func_$ac_func=no"
15103 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15104 echo "$ac_t""yes" 1>&6
15105 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15106 cat >> confdefs.h <<EOF
15107 #define $ac_tr_func 1
15111 echo "$ac_t""no" 1>&6
15117 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
15118 echo "configure:15119: checking for _sincosl declaration" >&5
15119 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
15120 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
15121 echo $ac_n "(cached) $ac_c" 1>&6
15126 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15127 ac_cpp='$CXXCPP $CPPFLAGS'
15128 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15129 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15130 cross_compiling=$ac_cv_prog_cxx_cross
15132 cat > conftest.$ac_ext <<EOF
15133 #line 15134 "configure"
15134 #include "confdefs.h"
15140 if { (eval echo configure:15141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15142 glibcpp_cv_func__sincosl_use=yes
15144 echo "configure: failed program was:" >&5
15145 cat conftest.$ac_ext >&5
15147 glibcpp_cv_func__sincosl_use=no
15151 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15152 ac_cpp='$CPP $CPPFLAGS'
15153 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15154 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15155 cross_compiling=$ac_cv_prog_cc_cross
15161 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
15163 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
15164 for ac_func in _sincosl
15166 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15167 echo "configure:15168: checking for $ac_func" >&5
15168 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15169 echo $ac_n "(cached) $ac_c" 1>&6
15171 cat > conftest.$ac_ext <<EOF
15172 #line 15173 "configure"
15173 #include "confdefs.h"
15174 /* System header to define __stub macros and hopefully few prototypes,
15175 which can conflict with char $ac_func(); below. */
15176 #include <assert.h>
15177 /* Override any gcc2 internal prototype to avoid an error. */
15178 /* We use char because int might match the return type of a gcc2
15179 builtin and then its argument prototype would still apply. */
15184 /* The GNU C library defines this for functions which it implements
15185 to always fail with ENOSYS. Some functions are actually named
15186 something starting with __ and the normal name is an alias. */
15187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15195 if { (eval echo configure:15196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15197 eval "ac_cv_func_$ac_func=yes"
15199 echo "configure: failed program was:" >&5
15200 cat conftest.$ac_ext >&5
15202 eval "ac_cv_func_$ac_func=no"
15207 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15208 echo "$ac_t""yes" 1>&6
15209 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15210 cat >> confdefs.h <<EOF
15211 #define $ac_tr_func 1
15215 echo "$ac_t""no" 1>&6
15224 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
15225 echo "configure:15226: checking for finitel declaration" >&5
15226 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
15227 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
15228 echo $ac_n "(cached) $ac_c" 1>&6
15233 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15234 ac_cpp='$CXXCPP $CPPFLAGS'
15235 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15236 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15237 cross_compiling=$ac_cv_prog_cxx_cross
15239 cat > conftest.$ac_ext <<EOF
15240 #line 15241 "configure"
15241 #include "confdefs.h"
15243 #ifdef HAVE_IEEEFP_H
15244 #include <ieeefp.h>
15251 if { (eval echo configure:15252: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15253 glibcpp_cv_func_finitel_use=yes
15255 echo "configure: failed program was:" >&5
15256 cat conftest.$ac_ext >&5
15258 glibcpp_cv_func_finitel_use=no
15262 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15263 ac_cpp='$CPP $CPPFLAGS'
15264 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15265 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15266 cross_compiling=$ac_cv_prog_cc_cross
15272 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
15274 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
15275 for ac_func in finitel
15277 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15278 echo "configure:15279: checking for $ac_func" >&5
15279 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15280 echo $ac_n "(cached) $ac_c" 1>&6
15282 cat > conftest.$ac_ext <<EOF
15283 #line 15284 "configure"
15284 #include "confdefs.h"
15285 /* System header to define __stub macros and hopefully few prototypes,
15286 which can conflict with char $ac_func(); below. */
15287 #include <assert.h>
15288 /* Override any gcc2 internal prototype to avoid an error. */
15289 /* We use char because int might match the return type of a gcc2
15290 builtin and then its argument prototype would still apply. */
15295 /* The GNU C library defines this for functions which it implements
15296 to always fail with ENOSYS. Some functions are actually named
15297 something starting with __ and the normal name is an alias. */
15298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15306 if { (eval echo configure:15307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15308 eval "ac_cv_func_$ac_func=yes"
15310 echo "configure: failed program was:" >&5
15311 cat conftest.$ac_ext >&5
15313 eval "ac_cv_func_$ac_func=no"
15318 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15319 echo "$ac_t""yes" 1>&6
15320 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15321 cat >> confdefs.h <<EOF
15322 #define $ac_tr_func 1
15326 echo "$ac_t""no" 1>&6
15332 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
15333 echo "configure:15334: checking for _finitel declaration" >&5
15334 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
15335 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
15336 echo $ac_n "(cached) $ac_c" 1>&6
15341 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15342 ac_cpp='$CXXCPP $CPPFLAGS'
15343 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15344 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15345 cross_compiling=$ac_cv_prog_cxx_cross
15347 cat > conftest.$ac_ext <<EOF
15348 #line 15349 "configure"
15349 #include "confdefs.h"
15351 #ifdef HAVE_IEEEFP_H
15352 #include <ieeefp.h>
15359 if { (eval echo configure:15360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15361 glibcpp_cv_func__finitel_use=yes
15363 echo "configure: failed program was:" >&5
15364 cat conftest.$ac_ext >&5
15366 glibcpp_cv_func__finitel_use=no
15370 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15371 ac_cpp='$CPP $CPPFLAGS'
15372 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15373 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15374 cross_compiling=$ac_cv_prog_cc_cross
15380 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
15382 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
15383 for ac_func in _finitel
15385 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15386 echo "configure:15387: checking for $ac_func" >&5
15387 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15388 echo $ac_n "(cached) $ac_c" 1>&6
15390 cat > conftest.$ac_ext <<EOF
15391 #line 15392 "configure"
15392 #include "confdefs.h"
15393 /* System header to define __stub macros and hopefully few prototypes,
15394 which can conflict with char $ac_func(); below. */
15395 #include <assert.h>
15396 /* Override any gcc2 internal prototype to avoid an error. */
15397 /* We use char because int might match the return type of a gcc2
15398 builtin and then its argument prototype would still apply. */
15403 /* The GNU C library defines this for functions which it implements
15404 to always fail with ENOSYS. Some functions are actually named
15405 something starting with __ and the normal name is an alias. */
15406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15414 if { (eval echo configure:15415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15416 eval "ac_cv_func_$ac_func=yes"
15418 echo "configure: failed program was:" >&5
15419 cat conftest.$ac_ext >&5
15421 eval "ac_cv_func_$ac_func=no"
15426 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15427 echo "$ac_t""yes" 1>&6
15428 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15429 cat >> confdefs.h <<EOF
15430 #define $ac_tr_func 1
15434 echo "$ac_t""no" 1>&6
15444 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
15445 echo "configure:15446: checking for _float trig functions" >&5
15446 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
15447 echo $ac_n "(cached) $ac_c" 1>&6
15452 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15453 ac_cpp='$CXXCPP $CPPFLAGS'
15454 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15455 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15456 cross_compiling=$ac_cv_prog_cxx_cross
15458 cat > conftest.$ac_ext <<EOF
15459 #line 15460 "configure"
15460 #include "confdefs.h"
15463 `for x in _acosf _asinf _atanf \
15464 _cosf _sinf _tanf \
15465 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
15468 if { (eval echo configure:15469: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15470 glibcpp_cv_func__float_trig_use=yes
15472 echo "configure: failed program was:" >&5
15473 cat conftest.$ac_ext >&5
15475 glibcpp_cv_func__float_trig_use=no
15479 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15480 ac_cpp='$CPP $CPPFLAGS'
15481 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15482 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15483 cross_compiling=$ac_cv_prog_cc_cross
15487 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
15488 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
15489 for ac_func in _acosf _asinf _atanf \
15490 _cosf _sinf _tanf \
15491 _coshf _sinhf _tanhf
15493 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15494 echo "configure:15495: checking for $ac_func" >&5
15495 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15496 echo $ac_n "(cached) $ac_c" 1>&6
15498 cat > conftest.$ac_ext <<EOF
15499 #line 15500 "configure"
15500 #include "confdefs.h"
15501 /* System header to define __stub macros and hopefully few prototypes,
15502 which can conflict with char $ac_func(); below. */
15503 #include <assert.h>
15504 /* Override any gcc2 internal prototype to avoid an error. */
15505 /* We use char because int might match the return type of a gcc2
15506 builtin and then its argument prototype would still apply. */
15511 /* The GNU C library defines this for functions which it implements
15512 to always fail with ENOSYS. Some functions are actually named
15513 something starting with __ and the normal name is an alias. */
15514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15522 if { (eval echo configure:15523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15524 eval "ac_cv_func_$ac_func=yes"
15526 echo "configure: failed program was:" >&5
15527 cat conftest.$ac_ext >&5
15529 eval "ac_cv_func_$ac_func=no"
15534 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15535 echo "$ac_t""yes" 1>&6
15536 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15537 cat >> confdefs.h <<EOF
15538 #define $ac_tr_func 1
15542 echo "$ac_t""no" 1>&6
15549 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
15550 echo "configure:15551: checking for _float round functions" >&5
15551 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
15552 echo $ac_n "(cached) $ac_c" 1>&6
15557 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15558 ac_cpp='$CXXCPP $CPPFLAGS'
15559 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15560 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15561 cross_compiling=$ac_cv_prog_cxx_cross
15563 cat > conftest.$ac_ext <<EOF
15564 #line 15565 "configure"
15565 #include "confdefs.h"
15568 `for x in _ceilf _floorf; do echo "$x (0);"; done`
15571 if { (eval echo configure:15572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15573 glibcpp_cv_func__float_round_use=yes
15575 echo "configure: failed program was:" >&5
15576 cat conftest.$ac_ext >&5
15578 glibcpp_cv_func__float_round_use=no
15582 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15583 ac_cpp='$CPP $CPPFLAGS'
15584 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15585 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15586 cross_compiling=$ac_cv_prog_cc_cross
15590 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
15591 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
15592 for ac_func in _ceilf _floorf
15594 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15595 echo "configure:15596: checking for $ac_func" >&5
15596 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15597 echo $ac_n "(cached) $ac_c" 1>&6
15599 cat > conftest.$ac_ext <<EOF
15600 #line 15601 "configure"
15601 #include "confdefs.h"
15602 /* System header to define __stub macros and hopefully few prototypes,
15603 which can conflict with char $ac_func(); below. */
15604 #include <assert.h>
15605 /* Override any gcc2 internal prototype to avoid an error. */
15606 /* We use char because int might match the return type of a gcc2
15607 builtin and then its argument prototype would still apply. */
15612 /* The GNU C library defines this for functions which it implements
15613 to always fail with ENOSYS. Some functions are actually named
15614 something starting with __ and the normal name is an alias. */
15615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15623 if { (eval echo configure:15624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15625 eval "ac_cv_func_$ac_func=yes"
15627 echo "configure: failed program was:" >&5
15628 cat conftest.$ac_ext >&5
15630 eval "ac_cv_func_$ac_func=no"
15635 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15636 echo "$ac_t""yes" 1>&6
15637 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15638 cat >> confdefs.h <<EOF
15639 #define $ac_tr_func 1
15643 echo "$ac_t""no" 1>&6
15651 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
15652 echo "configure:15653: checking for _long double trig functions" >&5
15653 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
15654 echo $ac_n "(cached) $ac_c" 1>&6
15659 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15660 ac_cpp='$CXXCPP $CPPFLAGS'
15661 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15662 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15663 cross_compiling=$ac_cv_prog_cxx_cross
15665 cat > conftest.$ac_ext <<EOF
15666 #line 15667 "configure"
15667 #include "confdefs.h"
15670 `for x in _acosl _asinl _atanl \
15671 _cosl _sinl _tanl \
15672 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
15675 if { (eval echo configure:15676: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15677 glibcpp_cv_func__long_double_trig_use=yes
15679 echo "configure: failed program was:" >&5
15680 cat conftest.$ac_ext >&5
15682 glibcpp_cv_func__long_double_trig_use=no
15686 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15687 ac_cpp='$CPP $CPPFLAGS'
15688 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15689 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15690 cross_compiling=$ac_cv_prog_cc_cross
15694 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
15695 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
15696 for ac_func in _acosl _asinl _atanl \
15697 _cosl _sinl _tanl \
15698 _coshl _sinhl _tanhl
15700 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15701 echo "configure:15702: checking for $ac_func" >&5
15702 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15703 echo $ac_n "(cached) $ac_c" 1>&6
15705 cat > conftest.$ac_ext <<EOF
15706 #line 15707 "configure"
15707 #include "confdefs.h"
15708 /* System header to define __stub macros and hopefully few prototypes,
15709 which can conflict with char $ac_func(); below. */
15710 #include <assert.h>
15711 /* Override any gcc2 internal prototype to avoid an error. */
15712 /* We use char because int might match the return type of a gcc2
15713 builtin and then its argument prototype would still apply. */
15718 /* The GNU C library defines this for functions which it implements
15719 to always fail with ENOSYS. Some functions are actually named
15720 something starting with __ and the normal name is an alias. */
15721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15729 if { (eval echo configure:15730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15731 eval "ac_cv_func_$ac_func=yes"
15733 echo "configure: failed program was:" >&5
15734 cat conftest.$ac_ext >&5
15736 eval "ac_cv_func_$ac_func=no"
15741 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15742 echo "$ac_t""yes" 1>&6
15743 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15744 cat >> confdefs.h <<EOF
15745 #define $ac_tr_func 1
15749 echo "$ac_t""no" 1>&6
15756 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
15757 echo "configure:15758: checking for _long double round functions" >&5
15758 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
15759 echo $ac_n "(cached) $ac_c" 1>&6
15764 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15765 ac_cpp='$CXXCPP $CPPFLAGS'
15766 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15767 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15768 cross_compiling=$ac_cv_prog_cxx_cross
15770 cat > conftest.$ac_ext <<EOF
15771 #line 15772 "configure"
15772 #include "confdefs.h"
15775 `for x in _ceill _floorl; do echo "$x (0);"; done`
15778 if { (eval echo configure:15779: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15780 glibcpp_cv_func__long_double_round_use=yes
15782 echo "configure: failed program was:" >&5
15783 cat conftest.$ac_ext >&5
15785 glibcpp_cv_func__long_double_round_use=no
15789 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15790 ac_cpp='$CPP $CPPFLAGS'
15791 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15792 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15793 cross_compiling=$ac_cv_prog_cc_cross
15797 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
15798 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
15799 for ac_func in _ceill _floorl
15801 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15802 echo "configure:15803: checking for $ac_func" >&5
15803 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15804 echo $ac_n "(cached) $ac_c" 1>&6
15806 cat > conftest.$ac_ext <<EOF
15807 #line 15808 "configure"
15808 #include "confdefs.h"
15809 /* System header to define __stub macros and hopefully few prototypes,
15810 which can conflict with char $ac_func(); below. */
15811 #include <assert.h>
15812 /* Override any gcc2 internal prototype to avoid an error. */
15813 /* We use char because int might match the return type of a gcc2
15814 builtin and then its argument prototype would still apply. */
15819 /* The GNU C library defines this for functions which it implements
15820 to always fail with ENOSYS. Some functions are actually named
15821 something starting with __ and the normal name is an alias. */
15822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15830 if { (eval echo configure:15831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15832 eval "ac_cv_func_$ac_func=yes"
15834 echo "configure: failed program was:" >&5
15835 cat conftest.$ac_ext >&5
15837 eval "ac_cv_func_$ac_func=no"
15842 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15843 echo "$ac_t""yes" 1>&6
15844 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15845 cat >> confdefs.h <<EOF
15846 #define $ac_tr_func 1
15850 echo "$ac_t""no" 1>&6
15857 LIBS="$ac_save_LIBS"
15858 CXXFLAGS="$ac_save_CXXFLAGS"
15861 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
15862 echo "configure:15863: checking for main in -lm" >&5
15863 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
15864 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15865 echo $ac_n "(cached) $ac_c" 1>&6
15867 ac_save_LIBS="$LIBS"
15869 cat > conftest.$ac_ext <<EOF
15870 #line 15871 "configure"
15871 #include "confdefs.h"
15877 if { (eval echo configure:15878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15879 eval "ac_cv_lib_$ac_lib_var=yes"
15881 echo "configure: failed program was:" >&5
15882 cat conftest.$ac_ext >&5
15884 eval "ac_cv_lib_$ac_lib_var=no"
15887 LIBS="$ac_save_LIBS"
15890 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15891 echo "$ac_t""yes" 1>&6
15892 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
15893 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
15894 cat >> confdefs.h <<EOF
15895 #define $ac_tr_lib 1
15901 echo "$ac_t""no" 1>&6
15904 for ac_func in nan copysignf
15906 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15907 echo "configure:15908: checking for $ac_func" >&5
15908 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15909 echo $ac_n "(cached) $ac_c" 1>&6
15911 cat > conftest.$ac_ext <<EOF
15912 #line 15913 "configure"
15913 #include "confdefs.h"
15914 /* System header to define __stub macros and hopefully few prototypes,
15915 which can conflict with char $ac_func(); below. */
15916 #include <assert.h>
15917 /* Override any gcc2 internal prototype to avoid an error. */
15918 /* We use char because int might match the return type of a gcc2
15919 builtin and then its argument prototype would still apply. */
15924 /* The GNU C library defines this for functions which it implements
15925 to always fail with ENOSYS. Some functions are actually named
15926 something starting with __ and the normal name is an alias. */
15927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15935 if { (eval echo configure:15936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15937 eval "ac_cv_func_$ac_func=yes"
15939 echo "configure: failed program was:" >&5
15940 cat conftest.$ac_ext >&5
15942 eval "ac_cv_func_$ac_func=no"
15947 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15948 echo "$ac_t""yes" 1>&6
15949 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15950 cat >> confdefs.h <<EOF
15951 #define $ac_tr_func 1
15955 echo "$ac_t""no" 1>&6
15956 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
15962 USE_COMPLEX_LONG_DOUBLE=no
15963 if test x$ac_cv_func_copysignl = x"yes"; then
15964 USE_COMPLEX_LONG_DOUBLE=yes
15965 for ac_func in signbitl
15967 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15968 echo "configure:15969: checking for $ac_func" >&5
15969 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15970 echo $ac_n "(cached) $ac_c" 1>&6
15972 cat > conftest.$ac_ext <<EOF
15973 #line 15974 "configure"
15974 #include "confdefs.h"
15975 /* System header to define __stub macros and hopefully few prototypes,
15976 which can conflict with char $ac_func(); below. */
15977 #include <assert.h>
15978 /* Override any gcc2 internal prototype to avoid an error. */
15979 /* We use char because int might match the return type of a gcc2
15980 builtin and then its argument prototype would still apply. */
15985 /* The GNU C library defines this for functions which it implements
15986 to always fail with ENOSYS. Some functions are actually named
15987 something starting with __ and the normal name is an alias. */
15988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15996 if { (eval echo configure:15997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15998 eval "ac_cv_func_$ac_func=yes"
16000 echo "configure: failed program was:" >&5
16001 cat conftest.$ac_ext >&5
16003 eval "ac_cv_func_$ac_func=no"
16008 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16009 echo "$ac_t""yes" 1>&6
16010 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16011 cat >> confdefs.h <<EOF
16012 #define $ac_tr_func 1
16016 echo "$ac_t""no" 1>&6
16017 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
16028 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
16029 echo "configure:16030: checking for mbstate_t" >&5
16030 cat > conftest.$ac_ext <<EOF
16031 #line 16032 "configure"
16032 #include "confdefs.h"
16035 mbstate_t teststate;
16038 if { (eval echo configure:16039: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16042 echo "configure: failed program was:" >&5
16043 cat conftest.$ac_ext >&5
16048 echo "$ac_t""$have_mbstate_t" 1>&6
16049 if test x"$have_mbstate_t" = xyes; then
16050 cat >> confdefs.h <<\EOF
16051 #define HAVE_MBSTATE_T 1
16056 for ac_hdr in wchar.h
16058 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16059 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16060 echo "configure:16061: checking for $ac_hdr" >&5
16061 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16062 echo $ac_n "(cached) $ac_c" 1>&6
16064 cat > conftest.$ac_ext <<EOF
16065 #line 16066 "configure"
16066 #include "confdefs.h"
16069 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16070 { (eval echo configure:16071: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16071 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16072 if test -z "$ac_err"; then
16074 eval "ac_cv_header_$ac_safe=yes"
16077 echo "configure: failed program was:" >&5
16078 cat conftest.$ac_ext >&5
16080 eval "ac_cv_header_$ac_safe=no"
16084 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16085 echo "$ac_t""yes" 1>&6
16086 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16087 cat >> confdefs.h <<EOF
16088 #define $ac_tr_hdr 1
16092 echo "$ac_t""no" 1>&6
16097 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
16098 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
16099 echo "configure:16100: checking for wctype.h" >&5
16100 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16101 echo $ac_n "(cached) $ac_c" 1>&6
16103 cat > conftest.$ac_ext <<EOF
16104 #line 16105 "configure"
16105 #include "confdefs.h"
16106 #include <wctype.h>
16108 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16109 { (eval echo configure:16110: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16110 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16111 if test -z "$ac_err"; then
16113 eval "ac_cv_header_$ac_safe=yes"
16116 echo "configure: failed program was:" >&5
16117 cat conftest.$ac_ext >&5
16119 eval "ac_cv_header_$ac_safe=no"
16123 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16124 echo "$ac_t""yes" 1>&6
16125 ac_has_wctype_h=yes
16127 echo "$ac_t""no" 1>&6
16132 if test x"$ac_has_wchar_h" = xyes &&
16133 test x"$ac_has_wctype_h" = xyes &&
16134 test x"$enable_c_mbchar" != xno; then
16136 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
16137 echo "configure:16138: checking for WCHAR_MIN and WCHAR_MAX" >&5
16138 cat > conftest.$ac_ext <<EOF
16139 #line 16140 "configure"
16140 #include "confdefs.h"
16143 int i = WCHAR_MIN; int j = WCHAR_MAX;
16146 if { (eval echo configure:16147: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16148 has_wchar_minmax=yes
16150 echo "configure: failed program was:" >&5
16151 cat conftest.$ac_ext >&5
16153 has_wchar_minmax=no
16156 echo "$ac_t""$has_wchar_minmax" 1>&6
16158 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
16159 echo "configure:16160: checking for WEOF" >&5
16160 cat > conftest.$ac_ext <<EOF
16161 #line 16162 "configure"
16162 #include "confdefs.h"
16165 #include <stddef.h>
16170 if { (eval echo configure:16171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16174 echo "configure: failed program was:" >&5
16175 cat conftest.$ac_ext >&5
16180 echo "$ac_t""$has_weof" 1>&6
16183 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
16185 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16186 echo "configure:16187: checking for $ac_func" >&5
16187 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16188 echo $ac_n "(cached) $ac_c" 1>&6
16190 cat > conftest.$ac_ext <<EOF
16191 #line 16192 "configure"
16192 #include "confdefs.h"
16193 /* System header to define __stub macros and hopefully few prototypes,
16194 which can conflict with char $ac_func(); below. */
16195 #include <assert.h>
16196 /* Override any gcc2 internal prototype to avoid an error. */
16197 /* We use char because int might match the return type of a gcc2
16198 builtin and then its argument prototype would still apply. */
16203 /* The GNU C library defines this for functions which it implements
16204 to always fail with ENOSYS. Some functions are actually named
16205 something starting with __ and the normal name is an alias. */
16206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16214 if { (eval echo configure:16215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16216 eval "ac_cv_func_$ac_func=yes"
16218 echo "configure: failed program was:" >&5
16219 cat conftest.$ac_ext >&5
16221 eval "ac_cv_func_$ac_func=no"
16226 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16227 echo "$ac_t""yes" 1>&6
16228 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16229 cat >> confdefs.h <<EOF
16230 #define $ac_tr_func 1
16234 echo "$ac_t""no" 1>&6
16241 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
16242 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
16243 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
16244 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
16245 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
16246 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
16248 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16249 echo "configure:16250: checking for $ac_func" >&5
16250 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16251 echo $ac_n "(cached) $ac_c" 1>&6
16253 cat > conftest.$ac_ext <<EOF
16254 #line 16255 "configure"
16255 #include "confdefs.h"
16256 /* System header to define __stub macros and hopefully few prototypes,
16257 which can conflict with char $ac_func(); below. */
16258 #include <assert.h>
16259 /* Override any gcc2 internal prototype to avoid an error. */
16260 /* We use char because int might match the return type of a gcc2
16261 builtin and then its argument prototype would still apply. */
16266 /* The GNU C library defines this for functions which it implements
16267 to always fail with ENOSYS. Some functions are actually named
16268 something starting with __ and the normal name is an alias. */
16269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16277 if { (eval echo configure:16278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16279 eval "ac_cv_func_$ac_func=yes"
16281 echo "configure: failed program was:" >&5
16282 cat conftest.$ac_ext >&5
16284 eval "ac_cv_func_$ac_func=no"
16289 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16290 echo "$ac_t""yes" 1>&6
16291 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16292 cat >> confdefs.h <<EOF
16293 #define $ac_tr_func 1
16297 echo "$ac_t""no" 1>&6
16304 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
16305 echo "configure:16306: checking for ISO C99 wchar_t support" >&5
16306 if test x"$has_weof" = xyes &&
16307 test x"$has_wchar_minmax" = xyes &&
16308 test x"$ac_wfuncs" = xyes; then
16309 ac_isoC99_wchar_t=yes
16311 ac_isoC99_wchar_t=no
16313 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
16315 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
16316 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
16317 echo "configure:16318: checking for iconv.h" >&5
16318 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16319 echo $ac_n "(cached) $ac_c" 1>&6
16321 cat > conftest.$ac_ext <<EOF
16322 #line 16323 "configure"
16323 #include "confdefs.h"
16326 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16327 { (eval echo configure:16328: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16328 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16329 if test -z "$ac_err"; then
16331 eval "ac_cv_header_$ac_safe=yes"
16334 echo "configure: failed program was:" >&5
16335 cat conftest.$ac_ext >&5
16337 eval "ac_cv_header_$ac_safe=no"
16341 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16342 echo "$ac_t""yes" 1>&6
16345 echo "$ac_t""no" 1>&6
16349 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
16350 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
16351 echo "configure:16352: checking for langinfo.h" >&5
16352 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16353 echo $ac_n "(cached) $ac_c" 1>&6
16355 cat > conftest.$ac_ext <<EOF
16356 #line 16357 "configure"
16357 #include "confdefs.h"
16358 #include <langinfo.h>
16360 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16361 { (eval echo configure:16362: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16362 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16363 if test -z "$ac_err"; then
16365 eval "ac_cv_header_$ac_safe=yes"
16368 echo "configure: failed program was:" >&5
16369 cat conftest.$ac_ext >&5
16371 eval "ac_cv_header_$ac_safe=no"
16375 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16376 echo "$ac_t""yes" 1>&6
16377 ac_has_langinfo_h=yes
16379 echo "$ac_t""no" 1>&6
16380 ac_has_langinfo_h=no
16384 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
16385 echo "configure:16386: checking for iconv in -liconv" >&5
16386 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
16387 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16388 echo $ac_n "(cached) $ac_c" 1>&6
16390 ac_save_LIBS="$LIBS"
16391 LIBS="-liconv $LIBS"
16392 cat > conftest.$ac_ext <<EOF
16393 #line 16394 "configure"
16394 #include "confdefs.h"
16395 /* Override any gcc2 internal prototype to avoid an error. */
16396 /* We use char because int might match the return type of a gcc2
16397 builtin and then its argument prototype would still apply. */
16404 if { (eval echo configure:16405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16406 eval "ac_cv_lib_$ac_lib_var=yes"
16408 echo "configure: failed program was:" >&5
16409 cat conftest.$ac_ext >&5
16411 eval "ac_cv_lib_$ac_lib_var=no"
16414 LIBS="$ac_save_LIBS"
16417 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16418 echo "$ac_t""yes" 1>&6
16421 echo "$ac_t""no" 1>&6
16424 ac_save_LIBS="$LIBS"
16425 LIBS="$LIBS $libiconv"
16427 for ac_func in iconv_open iconv_close iconv nl_langinfo
16429 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16430 echo "configure:16431: checking for $ac_func" >&5
16431 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16432 echo $ac_n "(cached) $ac_c" 1>&6
16434 cat > conftest.$ac_ext <<EOF
16435 #line 16436 "configure"
16436 #include "confdefs.h"
16437 /* System header to define __stub macros and hopefully few prototypes,
16438 which can conflict with char $ac_func(); below. */
16439 #include <assert.h>
16440 /* Override any gcc2 internal prototype to avoid an error. */
16441 /* We use char because int might match the return type of a gcc2
16442 builtin and then its argument prototype would still apply. */
16447 /* The GNU C library defines this for functions which it implements
16448 to always fail with ENOSYS. Some functions are actually named
16449 something starting with __ and the normal name is an alias. */
16450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16458 if { (eval echo configure:16459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16460 eval "ac_cv_func_$ac_func=yes"
16462 echo "configure: failed program was:" >&5
16463 cat conftest.$ac_ext >&5
16465 eval "ac_cv_func_$ac_func=no"
16470 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16471 echo "$ac_t""yes" 1>&6
16472 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16473 cat >> confdefs.h <<EOF
16474 #define $ac_tr_func 1
16479 echo "$ac_t""no" 1>&6
16485 LIBS="$ac_save_LIBS"
16487 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
16488 echo "configure:16489: checking for XPG2 wchar_t support" >&5
16489 if test x"$ac_has_iconv_h" = xyes &&
16490 test x"$ac_has_langinfo_h" = xyes &&
16491 test x"$ac_XPG2funcs" = xyes; then
16492 ac_XPG2_wchar_t=yes
16496 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
16498 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
16499 echo "configure:16500: checking for enabled wchar_t specializations" >&5
16500 if test x"$ac_isoC99_wchar_t" = xyes &&
16501 test x"$ac_XPG2_wchar_t" = xyes; then
16502 cat >> confdefs.h <<\EOF
16503 #define _GLIBCPP_USE_WCHAR_T 1
16506 echo "$ac_t"""yes"" 1>&6
16508 echo "$ac_t"""no"" 1>&6
16511 echo "configure: warning: wchar_t support disabled." 1>&2
16515 ac_test_CXXFLAGS="${CXXFLAGS+set}"
16516 ac_save_CXXFLAGS="$CXXFLAGS"
16517 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
16520 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
16521 echo "configure:16522: checking for strtold declaration" >&5
16522 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
16523 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
16524 echo $ac_n "(cached) $ac_c" 1>&6
16529 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16530 ac_cpp='$CXXCPP $CPPFLAGS'
16531 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16532 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16533 cross_compiling=$ac_cv_prog_cxx_cross
16535 cat > conftest.$ac_ext <<EOF
16536 #line 16537 "configure"
16537 #include "confdefs.h"
16538 #include <stdlib.h>
16543 if { (eval echo configure:16544: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16545 glibcpp_cv_func_strtold_use=yes
16547 echo "configure: failed program was:" >&5
16548 cat conftest.$ac_ext >&5
16550 glibcpp_cv_func_strtold_use=no
16554 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16555 ac_cpp='$CPP $CPPFLAGS'
16556 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16557 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16558 cross_compiling=$ac_cv_prog_cc_cross
16564 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
16565 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
16566 for ac_func in strtold
16568 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16569 echo "configure:16570: checking for $ac_func" >&5
16570 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16571 echo $ac_n "(cached) $ac_c" 1>&6
16573 cat > conftest.$ac_ext <<EOF
16574 #line 16575 "configure"
16575 #include "confdefs.h"
16576 /* System header to define __stub macros and hopefully few prototypes,
16577 which can conflict with char $ac_func(); below. */
16578 #include <assert.h>
16579 /* Override any gcc2 internal prototype to avoid an error. */
16580 /* We use char because int might match the return type of a gcc2
16581 builtin and then its argument prototype would still apply. */
16586 /* The GNU C library defines this for functions which it implements
16587 to always fail with ENOSYS. Some functions are actually named
16588 something starting with __ and the normal name is an alias. */
16589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16597 if { (eval echo configure:16598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16599 eval "ac_cv_func_$ac_func=yes"
16601 echo "configure: failed program was:" >&5
16602 cat conftest.$ac_ext >&5
16604 eval "ac_cv_func_$ac_func=no"
16609 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16610 echo "$ac_t""yes" 1>&6
16611 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16612 cat >> confdefs.h <<EOF
16613 #define $ac_tr_func 1
16617 echo "$ac_t""no" 1>&6
16623 for ac_func in drand48
16625 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16626 echo "configure:16627: checking for $ac_func" >&5
16627 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16628 echo $ac_n "(cached) $ac_c" 1>&6
16630 cat > conftest.$ac_ext <<EOF
16631 #line 16632 "configure"
16632 #include "confdefs.h"
16633 /* System header to define __stub macros and hopefully few prototypes,
16634 which can conflict with char $ac_func(); below. */
16635 #include <assert.h>
16636 /* Override any gcc2 internal prototype to avoid an error. */
16637 /* We use char because int might match the return type of a gcc2
16638 builtin and then its argument prototype would still apply. */
16643 /* The GNU C library defines this for functions which it implements
16644 to always fail with ENOSYS. Some functions are actually named
16645 something starting with __ and the normal name is an alias. */
16646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16654 if { (eval echo configure:16655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16656 eval "ac_cv_func_$ac_func=yes"
16658 echo "configure: failed program was:" >&5
16659 cat conftest.$ac_ext >&5
16661 eval "ac_cv_func_$ac_func=no"
16666 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16667 echo "$ac_t""yes" 1>&6
16668 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16669 cat >> confdefs.h <<EOF
16670 #define $ac_tr_func 1
16674 echo "$ac_t""no" 1>&6
16679 CXXFLAGS="$ac_save_CXXFLAGS"
16682 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
16683 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
16684 echo "configure:16685: checking for locale.h" >&5
16685 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16686 echo $ac_n "(cached) $ac_c" 1>&6
16688 cat > conftest.$ac_ext <<EOF
16689 #line 16690 "configure"
16690 #include "confdefs.h"
16691 #include <locale.h>
16693 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16694 { (eval echo configure:16695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16695 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16696 if test -z "$ac_err"; then
16698 eval "ac_cv_header_$ac_safe=yes"
16701 echo "configure: failed program was:" >&5
16702 cat conftest.$ac_ext >&5
16704 eval "ac_cv_header_$ac_safe=no"
16708 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16709 echo "$ac_t""yes" 1>&6
16711 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
16712 echo "configure:16713: checking for LC_MESSAGES" >&5
16713 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
16714 echo $ac_n "(cached) $ac_c" 1>&6
16716 cat > conftest.$ac_ext <<EOF
16717 #line 16718 "configure"
16718 #include "confdefs.h"
16719 #include <locale.h>
16724 if { (eval echo configure:16725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16726 ac_cv_val_LC_MESSAGES=yes
16728 echo "configure: failed program was:" >&5
16729 cat conftest.$ac_ext >&5
16731 ac_cv_val_LC_MESSAGES=no
16736 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
16737 if test $ac_cv_val_LC_MESSAGES = yes; then
16738 cat >> confdefs.h <<\EOF
16739 #define HAVE_LC_MESSAGES 1
16745 echo "$ac_t""no" 1>&6
16750 cat > conftest.$ac_ext <<EOF
16751 #line 16752 "configure"
16752 #include "confdefs.h"
16754 #include <setjmp.h>
16757 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
16760 if { (eval echo configure:16761: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16762 cat >> confdefs.h <<\EOF
16763 #define HAVE_SIGSETJMP 1
16767 echo "configure: failed program was:" >&5
16768 cat conftest.$ac_ext >&5
16772 for ac_hdr in unistd.h
16774 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16775 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16776 echo "configure:16777: checking for $ac_hdr" >&5
16777 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16778 echo $ac_n "(cached) $ac_c" 1>&6
16780 cat > conftest.$ac_ext <<EOF
16781 #line 16782 "configure"
16782 #include "confdefs.h"
16785 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16786 { (eval echo configure:16787: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16787 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16788 if test -z "$ac_err"; then
16790 eval "ac_cv_header_$ac_safe=yes"
16793 echo "configure: failed program was:" >&5
16794 cat conftest.$ac_ext >&5
16796 eval "ac_cv_header_$ac_safe=no"
16800 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16801 echo "$ac_t""yes" 1>&6
16802 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16803 cat >> confdefs.h <<EOF
16804 #define $ac_tr_hdr 1
16808 echo "$ac_t""no" 1>&6
16812 for ac_func in getpagesize
16814 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16815 echo "configure:16816: checking for $ac_func" >&5
16816 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16817 echo $ac_n "(cached) $ac_c" 1>&6
16819 cat > conftest.$ac_ext <<EOF
16820 #line 16821 "configure"
16821 #include "confdefs.h"
16822 /* System header to define __stub macros and hopefully few prototypes,
16823 which can conflict with char $ac_func(); below. */
16824 #include <assert.h>
16825 /* Override any gcc2 internal prototype to avoid an error. */
16826 /* We use char because int might match the return type of a gcc2
16827 builtin and then its argument prototype would still apply. */
16832 /* The GNU C library defines this for functions which it implements
16833 to always fail with ENOSYS. Some functions are actually named
16834 something starting with __ and the normal name is an alias. */
16835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16843 if { (eval echo configure:16844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16845 eval "ac_cv_func_$ac_func=yes"
16847 echo "configure: failed program was:" >&5
16848 cat conftest.$ac_ext >&5
16850 eval "ac_cv_func_$ac_func=no"
16855 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16856 echo "$ac_t""yes" 1>&6
16857 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16858 cat >> confdefs.h <<EOF
16859 #define $ac_tr_func 1
16863 echo "$ac_t""no" 1>&6
16867 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
16868 echo "configure:16869: checking for working mmap" >&5
16869 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
16870 echo $ac_n "(cached) $ac_c" 1>&6
16872 if test "$cross_compiling" = yes; then
16873 ac_cv_func_mmap_fixed_mapped=no
16875 cat > conftest.$ac_ext <<EOF
16876 #line 16877 "configure"
16877 #include "confdefs.h"
16879 /* Thanks to Mike Haertel and Jim Avera for this test.
16880 Here is a matrix of mmap possibilities:
16881 mmap private not fixed
16882 mmap private fixed at somewhere currently unmapped
16883 mmap private fixed at somewhere already mapped
16884 mmap shared not fixed
16885 mmap shared fixed at somewhere currently unmapped
16886 mmap shared fixed at somewhere already mapped
16887 For private mappings, we should verify that changes cannot be read()
16888 back from the file, nor mmap's back from the file at a different
16889 address. (There have been systems where private was not correctly
16890 implemented like the infamous i386 svr4.0, and systems where the
16891 VM page cache was not coherent with the filesystem buffer cache
16892 like early versions of FreeBSD and possibly contemporary NetBSD.)
16893 For shared mappings, we should conversely verify that changes get
16894 propogated back to all the places they're supposed to be.
16896 Grep wants private fixed already mapped.
16897 The main things grep needs to know about mmap are:
16898 * does it exist and is it safe to write into the mmap'd area
16899 * how to use it (BSD variants) */
16900 #include <sys/types.h>
16902 #include <sys/mman.h>
16904 /* This mess was copied from the GNU getpagesize.h. */
16905 #ifndef HAVE_GETPAGESIZE
16906 # ifdef HAVE_UNISTD_H
16907 # include <unistd.h>
16910 /* Assume that all systems that can run configure have sys/param.h. */
16911 # ifndef HAVE_SYS_PARAM_H
16912 # define HAVE_SYS_PARAM_H 1
16915 # ifdef _SC_PAGESIZE
16916 # define getpagesize() sysconf(_SC_PAGESIZE)
16917 # else /* no _SC_PAGESIZE */
16918 # ifdef HAVE_SYS_PARAM_H
16919 # include <sys/param.h>
16920 # ifdef EXEC_PAGESIZE
16921 # define getpagesize() EXEC_PAGESIZE
16922 # else /* no EXEC_PAGESIZE */
16924 # define getpagesize() NBPG * CLSIZE
16927 # endif /* no CLSIZE */
16928 # else /* no NBPG */
16930 # define getpagesize() NBPC
16931 # else /* no NBPC */
16933 # define getpagesize() PAGESIZE
16934 # endif /* PAGESIZE */
16935 # endif /* no NBPC */
16936 # endif /* no NBPG */
16937 # endif /* no EXEC_PAGESIZE */
16938 # else /* no HAVE_SYS_PARAM_H */
16939 # define getpagesize() 8192 /* punt totally */
16940 # endif /* no HAVE_SYS_PARAM_H */
16941 # endif /* no _SC_PAGESIZE */
16943 #endif /* no HAVE_GETPAGESIZE */
16946 extern "C" { void *malloc(unsigned); }
16954 char *data, *data2, *data3;
16958 pagesize = getpagesize();
16961 * First, make a file with some known garbage in it.
16963 data = malloc(pagesize);
16966 for (i = 0; i < pagesize; ++i)
16967 *(data + i) = rand();
16969 fd = creat("conftestmmap", 0600);
16972 if (write(fd, data, pagesize) != pagesize)
16977 * Next, try to mmap the file at a fixed address which
16978 * already has something else allocated at it. If we can,
16979 * also make sure that we see the same garbage.
16981 fd = open("conftestmmap", O_RDWR);
16984 data2 = malloc(2 * pagesize);
16987 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
16988 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
16989 MAP_PRIVATE | MAP_FIXED, fd, 0L))
16991 for (i = 0; i < pagesize; ++i)
16992 if (*(data + i) != *(data2 + i))
16996 * Finally, make sure that changes to the mapped area
16997 * do not percolate back to the file as seen by read().
16998 * (This is a bug on some variants of i386 svr4.0.)
17000 for (i = 0; i < pagesize; ++i)
17001 *(data2 + i) = *(data2 + i) + 1;
17002 data3 = malloc(pagesize);
17005 if (read(fd, data3, pagesize) != pagesize)
17007 for (i = 0; i < pagesize; ++i)
17008 if (*(data + i) != *(data3 + i))
17011 unlink("conftestmmap");
17016 if { (eval echo configure:17017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
17018 ac_cv_func_mmap_fixed_mapped=yes
17020 echo "configure: failed program was:" >&5
17021 cat conftest.$ac_ext >&5
17023 ac_cv_func_mmap_fixed_mapped=no
17030 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
17031 if test $ac_cv_func_mmap_fixed_mapped = yes; then
17032 cat >> confdefs.h <<\EOF
17033 #define HAVE_MMAP 1
17039 # Establish limits on memory usage during 'make check'
17042 setrlimit_have_headers=yes
17043 for ac_hdr in sys/resource.h unistd.h
17045 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17046 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17047 echo "configure:17048: checking for $ac_hdr" >&5
17048 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17049 echo $ac_n "(cached) $ac_c" 1>&6
17051 cat > conftest.$ac_ext <<EOF
17052 #line 17053 "configure"
17053 #include "confdefs.h"
17056 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17057 { (eval echo configure:17058: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17058 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17059 if test -z "$ac_err"; then
17061 eval "ac_cv_header_$ac_safe=yes"
17064 echo "configure: failed program was:" >&5
17065 cat conftest.$ac_ext >&5
17067 eval "ac_cv_header_$ac_safe=no"
17071 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17072 echo "$ac_t""yes" 1>&6
17073 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17074 cat >> confdefs.h <<EOF
17075 #define $ac_tr_hdr 1
17079 echo "$ac_t""no" 1>&6
17080 setrlimit_have_headers=no
17084 # If don't have the headers, then we can't run the tests now, and we
17085 # won't be seeing any of these during testsuite compilation.
17086 if test $setrlimit_have_headers = yes; then
17087 # Can't do these in a loop, else the resulting syntax is wrong.
17089 cat > conftest.$ac_ext <<EOF
17090 #line 17091 "configure"
17091 #include "confdefs.h"
17092 #include <sys/resource.h>
17093 #include <unistd.h>
17096 int f = RLIMIT_DATA ;
17099 if { (eval echo configure:17100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17103 echo "configure: failed program was:" >&5
17104 cat conftest.$ac_ext >&5
17109 cat >> confdefs.h <<EOF
17110 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
17115 cat > conftest.$ac_ext <<EOF
17116 #line 17117 "configure"
17117 #include "confdefs.h"
17118 #include <sys/resource.h>
17119 #include <unistd.h>
17122 int f = RLIMIT_RSS ;
17125 if { (eval echo configure:17126: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17129 echo "configure: failed program was:" >&5
17130 cat conftest.$ac_ext >&5
17135 cat >> confdefs.h <<EOF
17136 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
17141 cat > conftest.$ac_ext <<EOF
17142 #line 17143 "configure"
17143 #include "confdefs.h"
17144 #include <sys/resource.h>
17145 #include <unistd.h>
17148 int f = RLIMIT_VMEM ;
17151 if { (eval echo configure:17152: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17155 echo "configure: failed program was:" >&5
17156 cat conftest.$ac_ext >&5
17161 cat >> confdefs.h <<EOF
17162 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
17167 cat > conftest.$ac_ext <<EOF
17168 #line 17169 "configure"
17169 #include "confdefs.h"
17170 #include <sys/resource.h>
17171 #include <unistd.h>
17174 int f = RLIMIT_AS ;
17177 if { (eval echo configure:17178: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17181 echo "configure: failed program was:" >&5
17182 cat conftest.$ac_ext >&5
17187 cat >> confdefs.h <<EOF
17188 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
17193 # Check for rlimit, setrlimit.
17194 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
17195 echo $ac_n "(cached) $ac_c" 1>&6
17198 cat > conftest.$ac_ext <<EOF
17199 #line 17200 "configure"
17200 #include "confdefs.h"
17201 #include <sys/resource.h>
17202 #include <unistd.h>
17205 struct rlimit r; setrlimit(0, &r);
17208 if { (eval echo configure:17209: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17212 echo "configure: failed program was:" >&5
17213 cat conftest.$ac_ext >&5
17223 echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
17224 echo "configure:17225: checking for testsuite memory limit support" >&5
17225 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
17227 cat >> confdefs.h <<\EOF
17228 #define _GLIBCPP_MEM_LIMITS 1
17234 echo "$ac_t""$ac_mem_limits" 1>&6
17240 # Propagate the target-specific source directories through the build chain.
17241 OS_INC_SRCDIR=$os_include_dir/bits
17242 ATOMICITY_INC_SRCDIR=$ATOMICITYH/bits
17243 LIMITS_INC_SRCDIR=$LIMITSH/bits
17248 # Set up cross-compile flags
17252 if test "$CANADIAN" = yes; then
17260 cat > confcache <<\EOF
17261 # This file is a shell script that caches the results of configure
17262 # tests run on this system so they can be shared between configure
17263 # scripts and configure runs. It is not useful on other systems.
17264 # If it contains results you don't want to keep, you may remove or edit it.
17266 # By default, configure uses ./config.cache as the cache file,
17267 # creating it if it does not exist already. You can give configure
17268 # the --cache-file=FILE option to use a different cache file; that is
17269 # what configure does when it calls configure scripts in
17270 # subdirectories, so they share the cache.
17271 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17272 # config.status only pays attention to the cache file if you give it the
17273 # --recheck option to rerun configure.
17276 # The following way of writing the cache mishandles newlines in values,
17277 # but we know of no workaround that is simple, portable, and efficient.
17278 # So, don't put newlines in cache variables' values.
17279 # Ultrix sh set writes to stderr and can't be redirected directly,
17280 # and sets the high bit in the cache file unless we assign to the vars.
17282 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17284 # `set' does not quote correctly, so add quotes (double-quote substitution
17285 # turns \\\\ into \\, and sed turns \\ into \).
17287 -e "s/'/'\\\\''/g" \
17288 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17291 # `set' quotes correctly as required by POSIX, so do not add quotes.
17292 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17295 if cmp -s $cache_file confcache; then
17298 if test -w $cache_file; then
17299 echo "updating cache $cache_file"
17300 cat confcache > $cache_file
17302 echo "not updating unwritable cache $cache_file"
17308 if test "${multilib}" = "yes"; then
17309 multilib_arg="--enable-multilib"
17314 # Needed so that g++ can find the correct include subdir automatically.
17317 # Export all the install information
17319 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
17320 # exported correctly in GLIBCPP_CONFIGURE.
17321 glibcpp_toolexecdir=no
17322 glibcpp_toolexeclibdir=no
17323 glibcpp_prefixdir=${prefix}
17325 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
17326 echo "configure:17327: checking for interface version number" >&5
17327 libstdcxx_interface=$INTERFACE
17328 echo "$ac_t""$libstdcxx_interface" 1>&6
17330 # Process the option --with-gxx-include-dir=<path to include-files directory>
17331 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
17332 echo "configure:17333: checking for --with-gxx-include-dir" >&5
17333 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
17334 if test "${with_gxx_include_dir+set}" = set; then
17335 withval="$with_gxx_include_dir"
17336 case "${withval}" in
17338 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
17345 gxx_include_dir=${withval}
17352 echo "$ac_t""$gxx_include_dir" 1>&6
17354 # Process the option "--enable-version-specific-runtime-libs"
17355 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
17356 echo "configure:17357: checking for --enable-version-specific-runtime-libs" >&5
17357 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
17358 if test "${enable_version_specific_runtime_libs+set}" = set; then
17359 enableval="$enable_version_specific_runtime_libs"
17360 case "$enableval" in
17361 yes) version_specific_libs=yes ;;
17362 no) version_specific_libs=no ;;
17363 *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
17366 version_specific_libs=no
17368 # Option set, now we can test it.
17369 echo "$ac_t""$version_specific_libs" 1>&6
17371 if test $version_specific_libs = yes; then
17372 # Need the gcc compiler version to know where to install libraries
17373 # and header files if --enable-version-specific-runtime-libs option
17375 gcc_version_trigger=${srcdir}/../gcc/version.c
17376 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
17377 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
17378 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/g++
17379 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
17380 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
17383 # Default case for install directory for include files.
17384 if test $version_specific_libs = no &&
17385 test $gxx_include_dir = no; then
17386 gxx_include_dir='$(prefix)'/include/g++-${libstdcxx_interface}
17389 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
17390 # Install a library built with a cross compiler in tooldir, not libdir.
17391 if test x"$glibcpp_toolexecdir" = x"no"; then
17392 if test -n "$with_cross_host" &&
17393 test x"$with_cross_host" != x"no"; then
17394 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
17395 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
17397 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
17398 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
17402 echo $ac_n "checking for install location""... $ac_c" 1>&6
17403 echo "configure:17404: checking for install location" >&5
17404 echo "$ac_t""$gxx_include_dir" 1>&6
17412 # Export all the include and flag information to makefiles.
17414 # Root level of the build directory include sources.
17415 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
17417 # Passed down for canadian crosses.
17418 if test x"$CANADIAN" = xyes; then
17419 TOPLEVEL_INCLUDES='-I$(includedir)'
17422 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
17424 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
17426 if test x"$need_libio" = xyes; then
17427 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
17431 # Now, export this to all the little Makefiles....
17438 # Optimization flags that are probably a good idea for thrill-seekers. Just
17439 # uncomment the lines below and make, everything else is ready to go...
17440 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
17444 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
17448 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
17449 grep "enable shared" > /dev/null; then
17450 LIBSUPCXX_PICFLAGS=-prefer-pic
17452 LIBSUPCXX_PICFLAGS=
17456 # Generate the various Makefiles, include files, and scripts.
17457 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
17458 # and libsupc++/Makefile.am so that multilib installs will end up
17459 # installed in the correct place. To work around this not being passed
17460 # down from config-ml.in -> top_srcdir/Makefile.am ->
17461 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
17463 cat > confcache <<\EOF
17464 # This file is a shell script that caches the results of configure
17465 # tests run on this system so they can be shared between configure
17466 # scripts and configure runs. It is not useful on other systems.
17467 # If it contains results you don't want to keep, you may remove or edit it.
17469 # By default, configure uses ./config.cache as the cache file,
17470 # creating it if it does not exist already. You can give configure
17471 # the --cache-file=FILE option to use a different cache file; that is
17472 # what configure does when it calls configure scripts in
17473 # subdirectories, so they share the cache.
17474 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17475 # config.status only pays attention to the cache file if you give it the
17476 # --recheck option to rerun configure.
17479 # The following way of writing the cache mishandles newlines in values,
17480 # but we know of no workaround that is simple, portable, and efficient.
17481 # So, don't put newlines in cache variables' values.
17482 # Ultrix sh set writes to stderr and can't be redirected directly,
17483 # and sets the high bit in the cache file unless we assign to the vars.
17485 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17487 # `set' does not quote correctly, so add quotes (double-quote substitution
17488 # turns \\\\ into \\, and sed turns \\ into \).
17490 -e "s/'/'\\\\''/g" \
17491 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17494 # `set' quotes correctly as required by POSIX, so do not add quotes.
17495 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17498 if cmp -s $cache_file confcache; then
17501 if test -w $cache_file; then
17502 echo "updating cache $cache_file"
17503 cat confcache > $cache_file
17505 echo "not updating unwritable cache $cache_file"
17510 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
17512 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17513 # Let make expand exec_prefix.
17514 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17516 # Any assignment to VPATH causes Sun make to only execute
17517 # the first set of double-colon rules, so remove it if not needed.
17518 # If there is a colon in the path, we need to keep it.
17519 if test "x$srcdir" = x.; then
17520 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
17523 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
17525 DEFS=-DHAVE_CONFIG_H
17527 # Without the "./", some shells look in PATH for config.status.
17528 : ${CONFIG_STATUS=./config.status}
17530 echo creating $CONFIG_STATUS
17531 rm -f $CONFIG_STATUS
17532 cat > $CONFIG_STATUS <<EOF
17534 # Generated automatically by configure.
17535 # Run this file to recreate the current configuration.
17536 # This directory was configured as follows,
17537 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17539 # $0 $ac_configure_args
17541 # Compiler output produced by configure, useful for debugging
17542 # configure, is in ./config.log if it exists.
17544 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
17547 case "\$ac_option" in
17548 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17549 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
17550 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
17551 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
17552 echo "$CONFIG_STATUS generated by autoconf version 2.13"
17554 -help | --help | --hel | --he | --h)
17555 echo "\$ac_cs_usage"; exit 0 ;;
17556 *) echo "\$ac_cs_usage"; exit 1 ;;
17560 ac_given_srcdir=$srcdir
17561 ac_given_INSTALL="$INSTALL"
17563 trap 'rm -fr `echo "Makefile \
17564 include/Makefile src/Makefile \
17565 libmath/Makefile libio/Makefile libsupc++/Makefile \
17566 po/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
17568 cat >> $CONFIG_STATUS <<EOF
17570 # Protect against being on the right side of a sed subst in config.status.
17571 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
17572 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
17576 s%@CFLAGS@%$CFLAGS%g
17577 s%@CPPFLAGS@%$CPPFLAGS%g
17578 s%@CXXFLAGS@%$CXXFLAGS%g
17579 s%@FFLAGS@%$FFLAGS%g
17581 s%@LDFLAGS@%$LDFLAGS%g
17583 s%@exec_prefix@%$exec_prefix%g
17584 s%@prefix@%$prefix%g
17585 s%@program_transform_name@%$program_transform_name%g
17586 s%@bindir@%$bindir%g
17587 s%@sbindir@%$sbindir%g
17588 s%@libexecdir@%$libexecdir%g
17589 s%@datadir@%$datadir%g
17590 s%@sysconfdir@%$sysconfdir%g
17591 s%@sharedstatedir@%$sharedstatedir%g
17592 s%@localstatedir@%$localstatedir%g
17593 s%@libdir@%$libdir%g
17594 s%@includedir@%$includedir%g
17595 s%@oldincludedir@%$oldincludedir%g
17596 s%@infodir@%$infodir%g
17597 s%@mandir@%$mandir%g
17598 s%@PACKAGE@%$PACKAGE%g
17599 s%@release_VERSION@%$release_VERSION%g
17600 s%@libtool_VERSION@%$libtool_VERSION%g
17602 s%@host_alias@%$host_alias%g
17603 s%@host_cpu@%$host_cpu%g
17604 s%@host_vendor@%$host_vendor%g
17605 s%@host_os@%$host_os%g
17606 s%@target@%$target%g
17607 s%@target_alias@%$target_alias%g
17608 s%@target_cpu@%$target_cpu%g
17609 s%@target_vendor@%$target_vendor%g
17610 s%@target_os@%$target_os%g
17612 s%@build_alias@%$build_alias%g
17613 s%@build_cpu@%$build_cpu%g
17614 s%@build_vendor@%$build_vendor%g
17615 s%@build_os@%$build_os%g
17616 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
17617 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
17618 s%@INSTALL_DATA@%$INSTALL_DATA%g
17619 s%@VERSION@%$VERSION%g
17620 s%@ACLOCAL@%$ACLOCAL%g
17621 s%@AUTOCONF@%$AUTOCONF%g
17622 s%@AUTOMAKE@%$AUTOMAKE%g
17623 s%@AUTOHEADER@%$AUTOHEADER%g
17624 s%@MAKEINFO@%$MAKEINFO%g
17625 s%@SET_MAKE@%$SET_MAKE%g
17626 s%@toplevel_srcdir@%$toplevel_srcdir%g
17627 s%@glibcpp_builddir@%$glibcpp_builddir%g
17628 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
17630 s%@glibcpp_basedir@%$glibcpp_basedir%g
17632 s%@glibcpp_CXX@%$glibcpp_CXX%g
17635 s%@RANLIB@%$RANLIB%g
17636 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
17637 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
17639 s%@EXEEXT@%$EXEEXT%g
17640 s%@OBJEXT@%$OBJEXT%g
17642 s%@LIBTOOL@%$LIBTOOL%g
17643 s%@CXXCPP@%$CXXCPP%g
17644 s%@enable_shared@%$enable_shared%g
17645 s%@enable_static@%$enable_static%g
17646 s%@ifGNUmake@%$ifGNUmake%g
17647 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
17649 s%@CSTDIO_H@%$CSTDIO_H%g
17650 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
17651 s%@CCODECVT_C@%$CCODECVT_C%g
17652 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
17653 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
17654 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
17655 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
17656 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
17657 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
17658 s%@libio_la@%$libio_la%g
17659 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
17660 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
17661 s%@glibcpp_localedir@%$glibcpp_localedir%g
17662 s%@USE_NLS@%$USE_NLS%g
17663 s%@CLOCALE_H@%$CLOCALE_H%g
17664 s%@CCODECVT_H@%$CCODECVT_H%g
17665 s%@CMESSAGES_H@%$CMESSAGES_H%g
17666 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
17667 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
17668 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
17669 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
17670 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
17671 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
17672 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
17673 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
17674 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
17675 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
17676 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
17677 s%@WERROR@%$WERROR%g
17678 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
17679 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
17680 s%@LIMITS_INC_SRCDIR@%$LIMITS_INC_SRCDIR%g
17681 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
17682 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
17683 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
17684 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
17685 s%@gxx_include_dir@%$gxx_include_dir%g
17686 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
17687 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
17688 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
17689 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
17690 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
17691 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
17692 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
17693 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
17694 s%@WARN_FLAGS@%$WARN_FLAGS%g
17695 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
17700 cat >> $CONFIG_STATUS <<\EOF
17702 # Split the substitutions into bite-sized pieces for seds with
17703 # small command number limits, like on Digital OSF/1 and HP-UX.
17704 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
17705 ac_file=1 # Number of current file.
17706 ac_beg=1 # First line for current file.
17707 ac_end=$ac_max_sed_cmds # Line after last line for current file.
17710 while $ac_more_lines; do
17711 if test $ac_beg -gt 1; then
17712 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
17714 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
17716 if test ! -s conftest.s$ac_file; then
17717 ac_more_lines=false
17718 rm -f conftest.s$ac_file
17720 if test -z "$ac_sed_cmds"; then
17721 ac_sed_cmds="sed -f conftest.s$ac_file"
17723 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
17725 ac_file=`expr $ac_file + 1`
17727 ac_end=`expr $ac_end + $ac_max_sed_cmds`
17730 if test -z "$ac_sed_cmds"; then
17735 cat >> $CONFIG_STATUS <<EOF
17737 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
17738 include/Makefile src/Makefile \
17739 libmath/Makefile libio/Makefile libsupc++/Makefile \
17740 po/Makefile testsuite/Makefile mkcheck testsuite_flags"}
17742 cat >> $CONFIG_STATUS <<\EOF
17743 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
17744 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17746 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
17747 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
17748 *) ac_file_in="${ac_file}.in" ;;
17751 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
17753 # Remove last slash and all that follows it. Not all systems have dirname.
17754 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
17755 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
17756 # The file is in a subdirectory.
17757 test ! -d "$ac_dir" && mkdir "$ac_dir"
17758 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
17759 # A "../" for each directory in $ac_dir_suffix.
17760 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
17762 ac_dir_suffix= ac_dots=
17765 case "$ac_given_srcdir" in
17767 if test -z "$ac_dots"; then top_srcdir=.
17768 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
17769 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
17770 *) # Relative path.
17771 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
17772 top_srcdir="$ac_dots$ac_given_srcdir" ;;
17775 case "$ac_given_INSTALL" in
17776 [/$]*) INSTALL="$ac_given_INSTALL" ;;
17777 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
17780 echo creating "$ac_file"
17782 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
17784 *Makefile*) ac_comsub="1i\\
17785 # $configure_input" ;;
17789 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
17791 s%@configure_input@%$configure_input%g
17792 s%@srcdir@%$srcdir%g
17793 s%@top_srcdir@%$top_srcdir%g
17794 s%@INSTALL@%$INSTALL%g
17795 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
17799 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
17800 # NAME is the cpp macro being defined and VALUE is the value it is being given.
17802 # ac_d sets the value in "#define NAME VALUE" lines.
17803 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
17804 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
17807 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
17808 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17809 ac_uB='\([ ]\)%\1#\2define\3'
17812 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
17813 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17814 ac_eB='$%\1#\2define\3'
17818 if test "${CONFIG_HEADERS+set}" != set; then
17820 cat >> $CONFIG_STATUS <<EOF
17821 CONFIG_HEADERS="config.h"
17823 cat >> $CONFIG_STATUS <<\EOF
17825 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
17826 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17828 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
17829 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
17830 *) ac_file_in="${ac_file}.in" ;;
17833 echo creating $ac_file
17835 rm -f conftest.frag conftest.in conftest.out
17836 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
17837 cat $ac_file_inputs > conftest.in
17841 # Transform confdefs.h into a sed script conftest.vals that substitutes
17842 # the proper values into config.h.in to produce config.h. And first:
17843 # Protect against being on the right side of a sed subst in config.status.
17844 # Protect against being in an unquoted here document in config.status.
17845 rm -f conftest.vals
17846 cat > conftest.hdr <<\EOF
17849 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
17853 sed -n -f conftest.hdr confdefs.h > conftest.vals
17856 # This sed command replaces #undef with comments. This is necessary, for
17857 # example, in the case of _POSIX_SOURCE, which is predefined and required
17858 # on some systems where configure will not decide to define it.
17859 cat >> conftest.vals <<\EOF
17860 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
17863 # Break up conftest.vals because some shells have a limit on
17864 # the size of here documents, and old seds have small limits too.
17866 rm -f conftest.tail
17869 ac_lines=`grep -c . conftest.vals`
17870 # grep -c gives empty output for an empty file on some AIX systems.
17871 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
17872 # Write a limited-size here document to conftest.frag.
17873 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
17874 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
17876 sed -f conftest.frag conftest.in > conftest.out
17878 mv conftest.out conftest.in
17879 ' >> $CONFIG_STATUS
17880 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
17881 rm -f conftest.vals
17882 mv conftest.tail conftest.vals
17884 rm -f conftest.vals
17886 cat >> $CONFIG_STATUS <<\EOF
17887 rm -f conftest.frag conftest.h
17888 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
17889 cat conftest.in >> conftest.h
17891 if cmp -s $ac_file conftest.h 2>/dev/null; then
17892 echo "$ac_file is unchanged"
17895 # Remove last slash and all that follows it. Not all systems have dirname.
17896 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
17897 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
17898 # The file is in a subdirectory.
17899 test ! -d "$ac_dir" && mkdir "$ac_dir"
17902 mv conftest.h $ac_file
17908 cat >> $CONFIG_STATUS <<EOF
17909 ac_sources="$BASIC_FILE_CC $CLOCALE_CC $CMESSAGES_CC $CCOLLATE_CC"
17910 ac_dests="src/basic_file.cc src/c++locale.cc src/messages.cc src/collate.cc"
17913 cat >> $CONFIG_STATUS <<\EOF
17914 srcdir=$ac_given_srcdir
17915 while test -n "$ac_sources"; do
17916 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
17917 set $ac_sources; ac_source=$1; shift; ac_sources=$*
17919 echo "linking $srcdir/$ac_source to $ac_dest"
17921 if test ! -r $srcdir/$ac_source; then
17922 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
17926 # Make relative symlinks.
17927 # Remove last slash and all that follows it. Not all systems have dirname.
17928 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
17929 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
17930 # The dest file is in a subdirectory.
17931 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
17932 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
17933 # A "../" for each directory in $ac_dest_dir_suffix.
17934 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
17936 ac_dest_dir_suffix= ac_dots=
17940 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
17941 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
17944 # Make a symlink if possible; otherwise try a hard link.
17945 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
17946 ln $srcdir/$ac_source $ac_dest; then :
17948 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
17952 cat >> $CONFIG_STATUS <<EOF
17957 with_multisubdir=${with_multisubdir}
17958 ac_configure_args="${multilib_arg} ${ac_configure_args}"
17959 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
17960 glibcpp_basedir=${glibcpp_basedir}
17965 cat >> $CONFIG_STATUS <<\EOF
17966 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
17967 if test -n "$CONFIG_FILES"; then
17968 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
17969 grep '^MULTISUBDIR =' Makefile >> src/Makefile
17970 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
17973 chmod +x testsuite_flags
17977 chmod +x $CONFIG_STATUS
17978 rm -fr confdefs* $ac_clean_files
17979 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
17983 # Sanity checking & User-visible messages.
17984 # Checks down here, otherwise they get scrolled off before
17985 # the user will notice.
17987 # Trying to get more people to read documentation. Possibly remove
17988 # check and warn all the time. There is no "informational" AC_MSG_
17989 # macro, so these are going to be printed even when --quiet/--silent
17991 if test ! -f stamp-sanity-warned; then
17992 touch stamp-sanity-warned
17994 echo "Please make certain that you read the installation information here:"
17995 echo " faster => ${srcdir}/docs/install.html"
17996 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
17998 echo "and the configuration information here:"
17999 echo " faster => ${srcdir}/docs/configopts.html"
18000 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
18002 echo "before proceeding with ${_cv_gnu_make_command}."