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-nls use Native Language Support (default)"
49 --enable-c-mbchar enable multibyte (wide) characters [default=yes]"
51 --enable-c99 turns on 'ISO/IEC 9899:1999 support' [default=yes]"
53 --enable-long-long turns on 'long long' [default=yes]"
55 --enable-cheaders construct "C" header files for g++ [default=c_std]"
57 --enable-cxx-flags=FLAGS pass compiler FLAGS when building library;
60 --enable-sjlj-exceptions force use of builtin_setjmp for exceptions"
62 --enable-libunwind-exceptions force use of libunwind for exceptions"
64 --enable-concept-checks use Boost-derived template checks [default=no]"
66 --enable-symvers=style enables symbol versioning of the shared library [default=yes]"
68 --with-gxx-include-dir the installation directory for include files"
70 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
72 # Initialize some variables set by options.
73 # The variables have the same names as the options, with
74 # dashes changed to underlines.
76 cache_file=./config.cache
85 program_transform_name=s,x,x,
93 bindir='${exec_prefix}/bin'
94 sbindir='${exec_prefix}/sbin'
95 libexecdir='${exec_prefix}/libexec'
96 datadir='${prefix}/share'
97 sysconfdir='${prefix}/etc'
98 sharedstatedir='${prefix}/com'
99 localstatedir='${prefix}/var'
100 libdir='${exec_prefix}/lib'
101 includedir='${prefix}/include'
102 oldincludedir='/usr/include'
103 infodir='${prefix}/info'
104 mandir='${prefix}/man'
106 # Initialize some other variables.
109 SHELL=${CONFIG_SHELL-/bin/sh}
110 # Maximum number of lines to put in a shell here document.
117 # If the previous option needs an argument, assign it.
118 if test -n "$ac_prev"; then
119 eval "$ac_prev=\$ac_option"
125 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
129 # Accept the important Cygnus configure options, so we can diagnose typos.
133 -bindir | --bindir | --bindi | --bind | --bin | --bi)
135 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
136 bindir="$ac_optarg" ;;
138 -build | --build | --buil | --bui | --bu)
140 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
141 build="$ac_optarg" ;;
143 -cache-file | --cache-file | --cache-fil | --cache-fi \
144 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
145 ac_prev=cache_file ;;
146 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
147 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
148 cache_file="$ac_optarg" ;;
150 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
152 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
154 datadir="$ac_optarg" ;;
156 -disable-* | --disable-*)
157 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
158 # Reject names that are not valid shell variable names.
159 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
160 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
162 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
163 eval "enable_${ac_feature}=no" ;;
165 -enable-* | --enable-*)
166 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
167 # Reject names that are not valid shell variable names.
168 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
169 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
171 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
176 eval "enable_${ac_feature}='$ac_optarg'" ;;
178 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
179 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
180 | --exec | --exe | --ex)
181 ac_prev=exec_prefix ;;
182 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
183 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
184 | --exec=* | --exe=* | --ex=*)
185 exec_prefix="$ac_optarg" ;;
187 -gas | --gas | --ga | --g)
188 # Obsolete; use --with-gas.
191 -help | --help | --hel | --he)
192 # Omit some internal or obsolete options to make the list less imposing.
193 # This message is too long to be a string in the A/UX 3.1 sh.
195 Usage: configure [options] [host]
196 Options: [defaults in brackets after descriptions]
198 --cache-file=FILE cache test results in FILE
199 --help print this message
200 --no-create do not create output files
201 --quiet, --silent do not print \`checking...' messages
202 --version print the version of autoconf that created configure
203 Directory and file names:
204 --prefix=PREFIX install architecture-independent files in PREFIX
206 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
208 --bindir=DIR user executables in DIR [EPREFIX/bin]
209 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
210 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
211 --datadir=DIR read-only architecture-independent data in DIR
213 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
214 --sharedstatedir=DIR modifiable architecture-independent data in DIR
216 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
217 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
218 --includedir=DIR C header files in DIR [PREFIX/include]
219 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
220 --infodir=DIR info documentation in DIR [PREFIX/info]
221 --mandir=DIR man documentation in DIR [PREFIX/man]
222 --srcdir=DIR find the sources in DIR [configure dir or ..]
223 --program-prefix=PREFIX prepend PREFIX to installed program names
224 --program-suffix=SUFFIX append SUFFIX to installed program names
225 --program-transform-name=PROGRAM
226 run sed PROGRAM on installed program names
230 --build=BUILD configure for building on BUILD [BUILD=HOST]
231 --host=HOST configure for HOST [guessed]
232 --target=TARGET configure for TARGET [TARGET=HOST]
233 Features and packages:
234 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
235 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
236 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
237 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
238 --x-includes=DIR X include files are in DIR
239 --x-libraries=DIR X library files are in DIR
241 if test -n "$ac_help"; then
242 echo "--enable and --with options recognized:$ac_help"
246 -host | --host | --hos | --ho)
248 -host=* | --host=* | --hos=* | --ho=*)
251 -includedir | --includedir | --includedi | --included | --include \
252 | --includ | --inclu | --incl | --inc)
253 ac_prev=includedir ;;
254 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
255 | --includ=* | --inclu=* | --incl=* | --inc=*)
256 includedir="$ac_optarg" ;;
258 -infodir | --infodir | --infodi | --infod | --info | --inf)
260 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
261 infodir="$ac_optarg" ;;
263 -libdir | --libdir | --libdi | --libd)
265 -libdir=* | --libdir=* | --libdi=* | --libd=*)
266 libdir="$ac_optarg" ;;
268 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
269 | --libexe | --libex | --libe)
270 ac_prev=libexecdir ;;
271 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
272 | --libexe=* | --libex=* | --libe=*)
273 libexecdir="$ac_optarg" ;;
275 -localstatedir | --localstatedir | --localstatedi | --localstated \
276 | --localstate | --localstat | --localsta | --localst \
277 | --locals | --local | --loca | --loc | --lo)
278 ac_prev=localstatedir ;;
279 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
280 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
281 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
282 localstatedir="$ac_optarg" ;;
284 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
286 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
287 mandir="$ac_optarg" ;;
290 # Obsolete; use --without-fp.
293 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
297 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
298 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
301 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
302 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
303 | --oldin | --oldi | --old | --ol | --o)
304 ac_prev=oldincludedir ;;
305 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
306 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
307 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
308 oldincludedir="$ac_optarg" ;;
310 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
312 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
313 prefix="$ac_optarg" ;;
315 -program-prefix | --program-prefix | --program-prefi | --program-pref \
316 | --program-pre | --program-pr | --program-p)
317 ac_prev=program_prefix ;;
318 -program-prefix=* | --program-prefix=* | --program-prefi=* \
319 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
320 program_prefix="$ac_optarg" ;;
322 -program-suffix | --program-suffix | --program-suffi | --program-suff \
323 | --program-suf | --program-su | --program-s)
324 ac_prev=program_suffix ;;
325 -program-suffix=* | --program-suffix=* | --program-suffi=* \
326 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
327 program_suffix="$ac_optarg" ;;
329 -program-transform-name | --program-transform-name \
330 | --program-transform-nam | --program-transform-na \
331 | --program-transform-n | --program-transform- \
332 | --program-transform | --program-transfor \
333 | --program-transfo | --program-transf \
334 | --program-trans | --program-tran \
335 | --progr-tra | --program-tr | --program-t)
336 ac_prev=program_transform_name ;;
337 -program-transform-name=* | --program-transform-name=* \
338 | --program-transform-nam=* | --program-transform-na=* \
339 | --program-transform-n=* | --program-transform-=* \
340 | --program-transform=* | --program-transfor=* \
341 | --program-transfo=* | --program-transf=* \
342 | --program-trans=* | --program-tran=* \
343 | --progr-tra=* | --program-tr=* | --program-t=*)
344 program_transform_name="$ac_optarg" ;;
346 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
347 | -silent | --silent | --silen | --sile | --sil)
350 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
352 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
354 sbindir="$ac_optarg" ;;
356 -sharedstatedir | --sharedstatedir | --sharedstatedi \
357 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
358 | --sharedst | --shareds | --shared | --share | --shar \
360 ac_prev=sharedstatedir ;;
361 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
362 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
363 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
365 sharedstatedir="$ac_optarg" ;;
367 -site | --site | --sit)
369 -site=* | --site=* | --sit=*)
372 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
374 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
375 srcdir="$ac_optarg" ;;
377 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
378 | --syscon | --sysco | --sysc | --sys | --sy)
379 ac_prev=sysconfdir ;;
380 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
381 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
382 sysconfdir="$ac_optarg" ;;
384 -target | --target | --targe | --targ | --tar | --ta | --t)
386 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
387 target="$ac_optarg" ;;
389 -v | -verbose | --verbose | --verbos | --verbo | --verb)
392 -version | --version | --versio | --versi | --vers)
393 echo "configure generated by autoconf version 2.13"
397 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
398 # Reject names that are not valid shell variable names.
399 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
400 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
402 ac_package=`echo $ac_package| sed 's/-/_/g'`
407 eval "with_${ac_package}='$ac_optarg'" ;;
409 -without-* | --without-*)
410 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
411 # Reject names that are not valid shell variable names.
412 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
413 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
415 ac_package=`echo $ac_package| sed 's/-/_/g'`
416 eval "with_${ac_package}=no" ;;
419 # Obsolete; use --with-x.
422 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
423 | --x-incl | --x-inc | --x-in | --x-i)
424 ac_prev=x_includes ;;
425 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
426 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
427 x_includes="$ac_optarg" ;;
429 -x-libraries | --x-libraries | --x-librarie | --x-librari \
430 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
431 ac_prev=x_libraries ;;
432 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
433 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
434 x_libraries="$ac_optarg" ;;
436 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
440 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
441 echo "configure: warning: $ac_option: invalid host type" 1>&2
443 if test "x$nonopt" != xNONE; then
444 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
452 if test -n "$ac_prev"; then
453 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
456 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
458 # File descriptor usage:
461 # 2 errors and warnings
462 # 3 some systems may open it to /dev/tty
463 # 4 used on the Kubota Titan
464 # 6 checking for... messages and results
465 # 5 compiler messages saved in config.log
466 if test "$silent" = yes; then
474 This file contains any messages produced by compilers while
475 running configure, to aid debugging if configure makes a mistake.
478 # Strip out --no-create and --no-recursion so they do not pile up.
479 # Also quote any args containing shell metacharacters.
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c) ;;
486 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
487 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
488 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
489 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
490 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
495 # Only set these to C if already set. These must not be set unconditionally
496 # because not all systems understand e.g. LANG=C (notably SCO).
497 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
498 # Non-C LC_CTYPE values break the ctype check.
499 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
500 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
501 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
502 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
504 # confdefs.h avoids OS command line length limits that DEFS can exceed.
505 rm -rf conftest* confdefs.h
506 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
509 # A filename unique to this package, relative to the directory that
510 # configure is in, which we can look for to find out if srcdir is correct.
511 ac_unique_file=src/ios.cc
513 # Find the source files, if location was not specified.
514 if test -z "$srcdir"; then
515 ac_srcdir_defaulted=yes
516 # Try the directory containing this script, then its parent.
518 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
519 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
521 if test ! -r $srcdir/$ac_unique_file; then
525 ac_srcdir_defaulted=no
527 if test ! -r $srcdir/$ac_unique_file; then
528 if test "$ac_srcdir_defaulted" = yes; then
529 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
531 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
534 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
536 # Prefer explicitly selected file to automatically selected ones.
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"
544 for ac_site_file in $CONFIG_SITE; do
545 if test -r "$ac_site_file"; then
546 echo "loading site script $ac_site_file"
551 if test -r "$cache_file"; then
552 echo "loading cache $cache_file"
555 echo "creating cache $cache_file"
560 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
561 ac_cpp='$CPP $CPPFLAGS'
562 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
563 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
564 cross_compiling=$ac_cv_prog_cc_cross
568 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
569 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
570 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
577 ac_n= ac_c='\c' ac_t=
582 # This works around the fact that libtool configuration may change LD
583 # for this particular configuration, but some shells, instead of
584 # keeping the changes in LD private, export them just because LD is
586 ORIGINAL_LD_FOR_MULTILIBS=$LD
590 # For typical GNU versioning info, format is MAJOR.MINOR.MICRO
591 release_VERSION=3.1.1
593 # For libtool versioning info, format is CURRENT:REVISION:AGE
594 libtool_VERSION=4:1:0
597 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
598 # AC 2.5x sets target_alias iff the user specified --target, but we use it
599 # everywhere, so we set it here just to be sure. In AC 2.13
600 # AC_CANONICAL_TARGET was known as AC_CANONICAL_SYSTEM.
602 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
603 if test -f $ac_dir/install-sh; then
605 ac_install_sh="$ac_aux_dir/install-sh -c"
607 elif test -f $ac_dir/install.sh; then
609 ac_install_sh="$ac_aux_dir/install.sh -c"
613 if test -z "$ac_aux_dir"; then
614 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
616 ac_config_guess=$ac_aux_dir/config.guess
617 ac_config_sub=$ac_aux_dir/config.sub
618 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
621 # Do some error checking and defaulting for the host and target type.
623 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
626 # 1. You are not allowed to specify --host, --target, and nonopt at the
628 # 2. Host defaults to nonopt.
629 # 3. If nonopt is not specified, then host defaults to the current host,
630 # as determined by config.guess.
631 # 4. Target and build default to nonopt.
632 # 5. If nonopt is not specified, then target and build default to host.
634 # The aliases save the names the user supplied, while $host etc.
635 # will get canonicalized.
636 case $host---$target---$nonopt in
637 NONE---*---* | *---NONE---* | *---*---NONE) ;;
638 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
642 # Make sure we can run config.sub.
643 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
644 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
647 echo $ac_n "checking host system type""... $ac_c" 1>&6
648 echo "configure:649: checking host system type" >&5
651 case "$host_alias" in
655 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
656 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
658 *) host_alias=$nonopt ;;
662 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
663 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
664 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
665 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
666 echo "$ac_t""$host" 1>&6
668 echo $ac_n "checking target system type""... $ac_c" 1>&6
669 echo "configure:670: checking target system type" >&5
672 case "$target_alias" in
675 NONE) target_alias=$host_alias ;;
676 *) target_alias=$nonopt ;;
680 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
681 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
682 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
683 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
684 echo "$ac_t""$target" 1>&6
686 echo $ac_n "checking build system type""... $ac_c" 1>&6
687 echo "configure:688: checking build system type" >&5
690 case "$build_alias" in
693 NONE) build_alias=$host_alias ;;
694 *) build_alias=$nonopt ;;
698 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
699 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
700 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
701 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
702 echo "$ac_t""$build" 1>&6
704 test "$host_alias" != "$target_alias" &&
705 test "$program_prefix$program_suffix$program_transform_name" = \
707 program_prefix=${target_alias}-
709 target_alias=${target_alias-$target}
712 # Find a good install program. We prefer a C program (faster),
713 # so one script is as good as another. But avoid the broken or
714 # incompatible versions:
715 # SysV /etc/install, /usr/sbin/install
716 # SunOS /usr/etc/install
719 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
720 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
721 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
722 # ./install, which can be erroneously created by make from ./install.sh.
723 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
724 echo "configure:725: checking for a BSD compatible install" >&5
725 if test -z "$INSTALL"; then
726 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
727 echo $ac_n "(cached) $ac_c" 1>&6
729 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
730 for ac_dir in $PATH; do
731 # Account for people who put trailing slashes in PATH elements.
733 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
735 # OSF1 and SCO ODT 3.0 have their own names for install.
736 # Don't use installbsd from OSF since it installs stuff as root
738 for ac_prog in ginstall scoinst install; do
739 if test -f $ac_dir/$ac_prog; then
740 if test $ac_prog = install &&
741 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
742 # AIX install. It has an incompatible calling convention.
745 ac_cv_path_install="$ac_dir/$ac_prog -c"
756 if test "${ac_cv_path_install+set}" = set; then
757 INSTALL="$ac_cv_path_install"
759 # As a last resort, use the slow shell script. We don't cache a
760 # path for INSTALL within a source directory, because that will
761 # break other packages using the cache if that directory is
762 # removed, or if the path is relative.
763 INSTALL="$ac_install_sh"
766 echo "$ac_t""$INSTALL" 1>&6
768 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
769 # It thinks the first close brace ends the variable substitution.
770 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
772 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
774 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
776 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
777 echo "configure:778: checking whether build environment is sane" >&5
780 echo timestamp > conftestfile
781 # Do `set' in a subshell so we don't clobber the current shell's
782 # arguments. Must try -L first in case configure is actually a
783 # symlink; some systems play weird games with the mod time of symlinks
784 # (eg FreeBSD returns the mod time of the symlink's containing
787 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
788 if test "$*" = "X"; then
790 set X `ls -t $srcdir/configure conftestfile`
792 if test "$*" != "X $srcdir/configure conftestfile" \
793 && test "$*" != "X conftestfile $srcdir/configure"; then
795 # If neither matched, then we have a broken ls. This can happen
796 # if, for instance, CONFIG_SHELL is bash and it inherits a
797 # broken ls alias from the environment. This has actually
798 # happened. Such a system could not be considered "sane".
799 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
800 alias in your environment" 1>&2; exit 1; }
803 test "$2" = conftestfile
809 { echo "configure: error: newly created file is older than distributed files!
810 Check your system clock" 1>&2; exit 1; }
813 echo "$ac_t""yes" 1>&6
814 if test "$program_transform_name" = s,x,x,; then
815 program_transform_name=
817 # Double any \ or $. echo might interpret backslashes.
818 cat <<\EOF_SED > conftestsed
819 s,\\,\\\\,g; s,\$,$$,g
821 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
824 test "$program_prefix" != NONE &&
825 program_transform_name="s,^,${program_prefix},; $program_transform_name"
826 # Use a double $ so make ignores it.
827 test "$program_suffix" != NONE &&
828 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
830 # sed with no file args requires a program.
831 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
833 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
834 echo "configure:835: checking whether ${MAKE-make} sets \${MAKE}" >&5
835 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
836 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
837 echo $ac_n "(cached) $ac_c" 1>&6
839 cat > conftestmake <<\EOF
841 @echo 'ac_maketemp="${MAKE}"'
843 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
844 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
845 if test -n "$ac_maketemp"; then
846 eval ac_cv_prog_make_${ac_make}_set=yes
848 eval ac_cv_prog_make_${ac_make}_set=no
852 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
853 echo "$ac_t""yes" 1>&6
856 echo "$ac_t""no" 1>&6
857 SET_MAKE="MAKE=${MAKE-make}"
863 VERSION=$release_VERSION
865 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
866 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
868 cat >> confdefs.h <<EOF
869 #define PACKAGE "$PACKAGE"
872 cat >> confdefs.h <<EOF
873 #define VERSION "$VERSION"
878 missing_dir=`cd $ac_aux_dir && pwd`
879 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
880 echo "configure:881: checking for working aclocal" >&5
881 # Run test in a subshell; some versions of sh will print an error if
882 # an executable is not found, even if stderr is redirected.
883 # Redirect stdin to placate older versions of autoconf. Sigh.
884 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
886 echo "$ac_t""found" 1>&6
888 ACLOCAL="$missing_dir/missing aclocal"
889 echo "$ac_t""missing" 1>&6
892 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
893 echo "configure:894: checking for working autoconf" >&5
894 # Run test in a subshell; some versions of sh will print an error if
895 # an executable is not found, even if stderr is redirected.
896 # Redirect stdin to placate older versions of autoconf. Sigh.
897 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
899 echo "$ac_t""found" 1>&6
901 AUTOCONF="$missing_dir/missing autoconf"
902 echo "$ac_t""missing" 1>&6
905 echo $ac_n "checking for working automake""... $ac_c" 1>&6
906 echo "configure:907: checking for working automake" >&5
907 # Run test in a subshell; some versions of sh will print an error if
908 # an executable is not found, even if stderr is redirected.
909 # Redirect stdin to placate older versions of autoconf. Sigh.
910 if (automake --version) < /dev/null > /dev/null 2>&1; then
912 echo "$ac_t""found" 1>&6
914 AUTOMAKE="$missing_dir/missing automake"
915 echo "$ac_t""missing" 1>&6
918 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
919 echo "configure:920: checking for working autoheader" >&5
920 # Run test in a subshell; some versions of sh will print an error if
921 # an executable is not found, even if stderr is redirected.
922 # Redirect stdin to placate older versions of autoconf. Sigh.
923 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
924 AUTOHEADER=autoheader
925 echo "$ac_t""found" 1>&6
927 AUTOHEADER="$missing_dir/missing autoheader"
928 echo "$ac_t""missing" 1>&6
931 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
932 echo "configure:933: checking for working makeinfo" >&5
933 # Run test in a subshell; some versions of sh will print an error if
934 # an executable is not found, even if stderr is redirected.
935 # Redirect stdin to placate older versions of autoconf. Sigh.
936 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
938 echo "$ac_t""found" 1>&6
940 MAKEINFO="$missing_dir/missing makeinfo"
941 echo "$ac_t""missing" 1>&6
949 # Runs configure.host and configure.target, as well as finds CC, CXX
950 # and assorted other critical bits. Have to run this before the
951 # GLIBCPP_ENABLE_* macros below.
952 if test $host != $build; then
953 ac_tool_prefix=${host_alias}-
958 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
959 echo "configure:960: checking for Cygwin environment" >&5
960 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
961 echo $ac_n "(cached) $ac_c" 1>&6
963 cat > conftest.$ac_ext <<EOF
964 #line 965 "configure"
965 #include "confdefs.h"
970 #define __CYGWIN__ __CYGWIN32__
975 if { (eval echo configure:976: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
979 echo "configure: failed program was:" >&5
980 cat conftest.$ac_ext >&5
988 echo "$ac_t""$ac_cv_cygwin" 1>&6
990 test "$ac_cv_cygwin" = yes && CYGWIN=yes
991 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
992 echo "configure:993: checking for mingw32 environment" >&5
993 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
994 echo $ac_n "(cached) $ac_c" 1>&6
996 cat > conftest.$ac_ext <<EOF
997 #line 998 "configure"
998 #include "confdefs.h"
1004 if { (eval echo configure:1005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1008 echo "configure: failed program was:" >&5
1009 cat conftest.$ac_ext >&5
1017 echo "$ac_t""$ac_cv_mingw32" 1>&6
1019 test "$ac_cv_mingw32" = yes && MINGW32=yes
1021 # Check whether --enable-multilib or --disable-multilib was given.
1022 if test "${enable_multilib+set}" = set; then
1023 enableval="$enable_multilib"
1024 case "${enableval}" in
1025 yes) multilib=yes ;;
1027 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
1033 # When building with srcdir == objdir, links to the source files will
1034 # be created in directories within the target_subdir. We have to
1035 # adjust toplevel_srcdir accordingly, so that configure finds
1036 # install-sh and other auxiliary files that live in the top-level
1038 if test "${srcdir}" = "."; then
1039 if test -z "${with_target_subdir}"; then
1042 if test "${with_target_subdir}" != "."; then
1043 toprel="${with_multisrctop}../.."
1045 toprel="${with_multisrctop}.."
1052 for ac_dir in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
1053 if test -f $ac_dir/install-sh; then
1055 ac_install_sh="$ac_aux_dir/install-sh -c"
1057 elif test -f $ac_dir/install.sh; then
1059 ac_install_sh="$ac_aux_dir/install.sh -c"
1063 if test -z "$ac_aux_dir"; then
1064 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
1066 ac_config_guess=$ac_aux_dir/config.guess
1067 ac_config_sub=$ac_aux_dir/config.sub
1068 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
1070 toplevel_srcdir=\${top_srcdir}/$toprel
1073 # Export build and source directories.
1074 # These need to be absolute paths, yet at the same time need to
1075 # canonicalize only relative paths, because then amd will not unmount
1076 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1077 glibcpp_builddir=`${PWDCMD-pwd}`
1079 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
1080 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1087 for ac_prog in gawk mawk nawk awk
1089 # Extract the first word of "$ac_prog", so it can be a program name with args.
1090 set dummy $ac_prog; ac_word=$2
1091 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1092 echo "configure:1093: checking for $ac_word" >&5
1093 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
1094 echo $ac_n "(cached) $ac_c" 1>&6
1096 if test -n "$AWK"; then
1097 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1099 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1101 for ac_dir in $ac_dummy; do
1102 test -z "$ac_dir" && ac_dir=.
1103 if test -f $ac_dir/$ac_word; then
1104 ac_cv_prog_AWK="$ac_prog"
1111 AWK="$ac_cv_prog_AWK"
1112 if test -n "$AWK"; then
1113 echo "$ac_t""$AWK" 1>&6
1115 echo "$ac_t""no" 1>&6
1118 test -n "$AWK" && break
1121 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.5x, can also
1122 # be 'cp -p' if linking isn't available.
1123 #ac_cv_prog_LN_S='cp -p'
1124 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1125 echo "configure:1126: checking whether ln -s works" >&5
1126 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1127 echo $ac_n "(cached) $ac_c" 1>&6
1130 if ln -s X conftestdata 2>/dev/null
1133 ac_cv_prog_LN_S="ln -s"
1138 LN_S="$ac_cv_prog_LN_S"
1139 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1140 echo "$ac_t""yes" 1>&6
1142 echo "$ac_t""no" 1>&6
1146 # We use these options to decide which functions to include.
1147 # Check whether --with-target-subdir or --without-target-subdir was given.
1148 if test "${with_target_subdir+set}" = set; then
1149 withval="$with_target_subdir"
1153 # Check whether --with-cross-host or --without-cross-host was given.
1154 if test "${with_cross_host+set}" = set; then
1155 withval="$with_cross_host"
1160 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
1163 # Never versions of autoconf add an underscore to these functions.
1164 # Prevent future problems ...
1171 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1172 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1173 # are probably using a cross compiler, which will not be able to fully
1174 # link an executable. This is addressed in later versions of autoconf.
1179 # Extract the first word of "gcc", so it can be a program name with args.
1180 set dummy gcc; ac_word=$2
1181 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1182 echo "configure:1183: checking for $ac_word" >&5
1183 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1184 echo $ac_n "(cached) $ac_c" 1>&6
1186 if test -n "$CC"; then
1187 ac_cv_prog_CC="$CC" # Let the user override the test.
1189 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1191 for ac_dir in $ac_dummy; do
1192 test -z "$ac_dir" && ac_dir=.
1193 if test -f $ac_dir/$ac_word; then
1202 if test -n "$CC"; then
1203 echo "$ac_t""$CC" 1>&6
1205 echo "$ac_t""no" 1>&6
1208 if test -z "$CC"; then
1209 # Extract the first word of "cc", so it can be a program name with args.
1210 set dummy cc; ac_word=$2
1211 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1212 echo "configure:1213: checking for $ac_word" >&5
1213 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1214 echo $ac_n "(cached) $ac_c" 1>&6
1216 if test -n "$CC"; then
1217 ac_cv_prog_CC="$CC" # Let the user override the test.
1219 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1222 for ac_dir in $ac_dummy; do
1223 test -z "$ac_dir" && ac_dir=.
1224 if test -f $ac_dir/$ac_word; then
1225 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1226 ac_prog_rejected=yes
1234 if test $ac_prog_rejected = yes; then
1235 # We found a bogon in the path, so make sure we never use it.
1236 set dummy $ac_cv_prog_CC
1238 if test $# -gt 0; then
1239 # We chose a different compiler from the bogus one.
1240 # However, it has the same basename, so the bogon will be chosen
1241 # first if we set CC to just the basename; use the full file name.
1243 set dummy "$ac_dir/$ac_word" "$@"
1251 if test -n "$CC"; then
1252 echo "$ac_t""$CC" 1>&6
1254 echo "$ac_t""no" 1>&6
1257 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1260 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1261 echo "configure:1262: checking whether we are using GNU C" >&5
1262 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1263 echo $ac_n "(cached) $ac_c" 1>&6
1265 cat > conftest.c <<EOF
1270 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1271: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1277 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1279 if test $ac_cv_prog_gcc = yes; then
1281 ac_test_CFLAGS="${CFLAGS+set}"
1282 ac_save_CFLAGS="$CFLAGS"
1284 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1285 echo "configure:1286: checking whether ${CC-cc} accepts -g" >&5
1286 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1287 echo $ac_n "(cached) $ac_c" 1>&6
1289 echo 'void f(){}' > conftest.c
1290 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1299 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1300 if test "$ac_test_CFLAGS" = set; then
1301 CFLAGS="$ac_save_CFLAGS"
1302 elif test $ac_cv_prog_cc_g = yes; then
1309 test "${CFLAGS+set}" = set || CFLAGS="-g"
1313 # Likewise for AC_PROG_CXX. We can't just call it directly because g++
1314 # will try to link in libstdc++.
1318 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1319 # flags that come in CXX while configuring libstdc++. They're different
1320 # from those used for all other target libraries. If CXX is set in
1321 # the environment, respect that here.
1323 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1325 # Extract the first word of "$ac_prog", so it can be a program name with args.
1326 set dummy $ac_prog; ac_word=$2
1327 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1328 echo "configure:1329: checking for $ac_word" >&5
1329 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1330 echo $ac_n "(cached) $ac_c" 1>&6
1332 if test -n "$glibcpp_CXX"; then
1333 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1335 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1337 for ac_dir in $ac_dummy; do
1338 test -z "$ac_dir" && ac_dir=.
1339 if test -f $ac_dir/$ac_word; then
1340 ac_cv_prog_glibcpp_CXX="$ac_prog"
1347 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1348 if test -n "$glibcpp_CXX"; then
1349 echo "$ac_t""$glibcpp_CXX" 1>&6
1351 echo "$ac_t""no" 1>&6
1354 test -n "$glibcpp_CXX" && break
1356 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc"
1360 test -z "$glibcpp_CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1362 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1363 echo "configure:1364: checking whether we are using GNU C++" >&5
1364 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1365 echo $ac_n "(cached) $ac_c" 1>&6
1367 cat > conftest.C <<EOF
1372 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1373: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1379 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1381 if test $ac_cv_prog_gxx = yes; then
1383 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1384 ac_save_CXXFLAGS="$CXXFLAGS"
1386 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1387 echo "configure:1388: checking whether ${CXX-g++} accepts -g" >&5
1388 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1389 echo $ac_n "(cached) $ac_c" 1>&6
1391 echo 'void f(){}' > conftest.cc
1392 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1393 ac_cv_prog_cxx_g=yes
1401 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1402 if test "$ac_test_CXXFLAGS" = set; then
1403 CXXFLAGS="$ac_save_CXXFLAGS"
1404 elif test $ac_cv_prog_cxx_g = yes; then
1411 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1415 # For some reason, gettext needs this.
1417 echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
1418 echo "configure:1419: checking for strerror in -lcposix" >&5
1419 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
1420 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1421 echo $ac_n "(cached) $ac_c" 1>&6
1423 ac_save_LIBS="$LIBS"
1424 LIBS="-lcposix $LIBS"
1425 cat > conftest.$ac_ext <<EOF
1426 #line 1427 "configure"
1427 #include "confdefs.h"
1428 /* Override any gcc2 internal prototype to avoid an error. */
1429 /* We use char because int might match the return type of a gcc2
1430 builtin and then its argument prototype would still apply. */
1437 if { (eval echo configure:1438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1439 eval "ac_cv_lib_$ac_lib_var=yes"
1441 echo "configure: failed program was:" >&5
1442 cat conftest.$ac_ext >&5
1444 eval "ac_cv_lib_$ac_lib_var=no"
1447 LIBS="$ac_save_LIBS"
1450 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1451 echo "$ac_t""yes" 1>&6
1452 LIBS="$LIBS -lcposix"
1454 echo "$ac_t""no" 1>&6
1460 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1461 set dummy ${ac_tool_prefix}as; ac_word=$2
1462 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1463 echo "configure:1464: checking for $ac_word" >&5
1464 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1465 echo $ac_n "(cached) $ac_c" 1>&6
1467 if test -n "$AS"; then
1468 ac_cv_prog_AS="$AS" # Let the user override the test.
1470 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1472 for ac_dir in $ac_dummy; do
1473 test -z "$ac_dir" && ac_dir=.
1474 if test -f $ac_dir/$ac_word; then
1475 ac_cv_prog_AS="${ac_tool_prefix}as"
1480 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1484 if test -n "$AS"; then
1485 echo "$ac_t""$AS" 1>&6
1487 echo "$ac_t""no" 1>&6
1492 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1493 set dummy ${ac_tool_prefix}ar; ac_word=$2
1494 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1495 echo "configure:1496: checking for $ac_word" >&5
1496 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1497 echo $ac_n "(cached) $ac_c" 1>&6
1499 if test -n "$AR"; then
1500 ac_cv_prog_AR="$AR" # Let the user override the test.
1502 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1504 for ac_dir in $ac_dummy; do
1505 test -z "$ac_dir" && ac_dir=.
1506 if test -f $ac_dir/$ac_word; then
1507 ac_cv_prog_AR="${ac_tool_prefix}ar"
1512 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1516 if test -n "$AR"; then
1517 echo "$ac_t""$AR" 1>&6
1519 echo "$ac_t""no" 1>&6
1524 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1525 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1526 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1527 echo "configure:1528: checking for $ac_word" >&5
1528 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1529 echo $ac_n "(cached) $ac_c" 1>&6
1531 if test -n "$RANLIB"; then
1532 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1534 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1536 for ac_dir in $ac_dummy; do
1537 test -z "$ac_dir" && ac_dir=.
1538 if test -f $ac_dir/$ac_word; then
1539 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1546 RANLIB="$ac_cv_prog_RANLIB"
1547 if test -n "$RANLIB"; then
1548 echo "$ac_t""$RANLIB" 1>&6
1550 echo "$ac_t""no" 1>&6
1554 if test -z "$ac_cv_prog_RANLIB"; then
1555 if test -n "$ac_tool_prefix"; then
1556 # Extract the first word of "ranlib", so it can be a program name with args.
1557 set dummy ranlib; ac_word=$2
1558 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1559 echo "configure:1560: checking for $ac_word" >&5
1560 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1561 echo $ac_n "(cached) $ac_c" 1>&6
1563 if test -n "$RANLIB"; then
1564 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1566 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1568 for ac_dir in $ac_dummy; do
1569 test -z "$ac_dir" && ac_dir=.
1570 if test -f $ac_dir/$ac_word; then
1571 ac_cv_prog_RANLIB="ranlib"
1576 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
1579 RANLIB="$ac_cv_prog_RANLIB"
1580 if test -n "$RANLIB"; then
1581 echo "$ac_t""$RANLIB" 1>&6
1583 echo "$ac_t""no" 1>&6
1587 RANLIB="ranlib-not-found-in-path-error"
1591 # Find a good install program. We prefer a C program (faster),
1592 # so one script is as good as another. But avoid the broken or
1593 # incompatible versions:
1594 # SysV /etc/install, /usr/sbin/install
1595 # SunOS /usr/etc/install
1596 # IRIX /sbin/install
1598 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1599 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1600 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1601 # ./install, which can be erroneously created by make from ./install.sh.
1602 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1603 echo "configure:1604: checking for a BSD compatible install" >&5
1604 if test -z "$INSTALL"; then
1605 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1606 echo $ac_n "(cached) $ac_c" 1>&6
1608 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1609 for ac_dir in $PATH; do
1610 # Account for people who put trailing slashes in PATH elements.
1612 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1614 # OSF1 and SCO ODT 3.0 have their own names for install.
1615 # Don't use installbsd from OSF since it installs stuff as root
1617 for ac_prog in ginstall scoinst install; do
1618 if test -f $ac_dir/$ac_prog; then
1619 if test $ac_prog = install &&
1620 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1621 # AIX install. It has an incompatible calling convention.
1624 ac_cv_path_install="$ac_dir/$ac_prog -c"
1635 if test "${ac_cv_path_install+set}" = set; then
1636 INSTALL="$ac_cv_path_install"
1638 # As a last resort, use the slow shell script. We don't cache a
1639 # path for INSTALL within a source directory, because that will
1640 # break other packages using the cache if that directory is
1641 # removed, or if the path is relative.
1642 INSTALL="$ac_install_sh"
1645 echo "$ac_t""$INSTALL" 1>&6
1647 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1648 # It thinks the first close brace ends the variable substitution.
1649 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1651 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1653 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1656 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1657 echo "configure:1658: checking whether to enable maintainer-specific portions of Makefiles" >&5
1658 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1659 if test "${enable_maintainer_mode+set}" = set; then
1660 enableval="$enable_maintainer_mode"
1661 USE_MAINTAINER_MODE=$enableval
1663 USE_MAINTAINER_MODE=no
1666 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1669 if test $USE_MAINTAINER_MODE = yes; then
1670 MAINTAINER_MODE_TRUE=
1671 MAINTAINER_MODE_FALSE='#'
1673 MAINTAINER_MODE_TRUE='#'
1674 MAINTAINER_MODE_FALSE=
1676 MAINT=$MAINTAINER_MODE_TRUE
1680 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1681 # at least currently, we never actually build a program, so we never
1682 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1683 # fails, because we are probably configuring with a cross compiler
1684 # which can't create executables. So we include AC_EXEEXT to keep
1685 # automake happy, but we don't execute it, since we don't care about
1688 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1689 # to nothing, so nothing would remain between `then' and `fi' if it
1690 # were not for the `:' below.
1694 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1695 echo "configure:1696: checking for executable suffix" >&5
1696 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1697 echo $ac_n "(cached) $ac_c" 1>&6
1699 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1703 echo 'int main () { return 0; }' > conftest.$ac_ext
1705 if { (eval echo configure:1706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1706 for file in conftest.*; do
1708 *.c | *.o | *.obj) ;;
1709 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1713 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1716 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1721 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1722 echo "$ac_t""${ac_cv_exeext}" 1>&6
1727 . ${glibcpp_basedir}/configure.host
1729 case ${glibcpp_basedir} in
1730 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1731 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1734 # This does for the target what configure.host does for the host. In
1735 # addition to possibly modifying the same flags, it also sets up symlinks.
1737 . ${glibcpp_basedir}/configure.target
1738 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1739 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1745 # Check whether --enable-shared or --disable-shared was given.
1746 if test "${enable_shared+set}" = set; then
1747 enableval="$enable_shared"
1748 p=${PACKAGE-default}
1750 yes) enable_shared=yes ;;
1751 no) enable_shared=no ;;
1754 # Look at the argument we got. We use all the common list separators.
1755 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1756 for pkg in $enableval; do
1757 if test "X$pkg" = "X$p"; then
1768 # Check whether --enable-static or --disable-static was given.
1769 if test "${enable_static+set}" = set; then
1770 enableval="$enable_static"
1771 p=${PACKAGE-default}
1773 yes) enable_static=yes ;;
1774 no) enable_static=no ;;
1777 # Look at the argument we got. We use all the common list separators.
1778 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1779 for pkg in $enableval; do
1780 if test "X$pkg" = "X$p"; then
1791 # Check whether --enable-fast-install or --disable-fast-install was given.
1792 if test "${enable_fast_install+set}" = set; then
1793 enableval="$enable_fast_install"
1794 p=${PACKAGE-default}
1796 yes) enable_fast_install=yes ;;
1797 no) enable_fast_install=no ;;
1799 enable_fast_install=no
1800 # Look at the argument we got. We use all the common list separators.
1801 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1802 for pkg in $enableval; do
1803 if test "X$pkg" = "X$p"; then
1804 enable_fast_install=yes
1811 enable_fast_install=yes
1814 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1815 if test "${with_gnu_ld+set}" = set; then
1816 withval="$with_gnu_ld"
1817 test "$withval" = no || with_gnu_ld=yes
1823 if test "$GCC" = yes; then
1824 # Check if gcc -print-prog-name=ld gives a path.
1825 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1826 echo "configure:1827: checking for ld used by GCC" >&5
1829 # gcc leaves a trailing carriage return which upsets mingw
1830 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1832 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1835 # Accept absolute paths.
1836 [\\/]* | [A-Za-z]:[\\/]*)
1837 re_direlt='/[^/][^/]*/\.\./'
1838 # Canonicalize the path of ld
1839 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1840 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1841 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1843 test -z "$LD" && LD="$ac_prog"
1846 # If it fails, then pretend we aren't using GCC.
1850 # If it is relative, then search for the first ld in PATH.
1854 elif test "$with_gnu_ld" = yes; then
1855 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1856 echo "configure:1857: checking for GNU ld" >&5
1858 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1859 echo "configure:1860: checking for non-GNU ld" >&5
1861 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1862 echo $ac_n "(cached) $ac_c" 1>&6
1864 if test -z "$LD"; then
1865 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1866 for ac_dir in $PATH; do
1867 test -z "$ac_dir" && ac_dir=.
1868 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1869 lt_cv_path_LD="$ac_dir/$ac_prog"
1870 # Check to see if the program is GNU ld. I'd rather use --version,
1871 # but apparently some GNU ld's only accept -v.
1872 # Break only if it was the GNU/non-GNU ld that we prefer.
1873 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1874 test "$with_gnu_ld" != no && break
1876 test "$with_gnu_ld" != yes && break
1882 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1887 if test -n "$LD"; then
1888 echo "$ac_t""$LD" 1>&6
1890 echo "$ac_t""no" 1>&6
1892 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1893 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1894 echo "configure:1895: checking if the linker ($LD) is GNU ld" >&5
1895 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1896 echo $ac_n "(cached) $ac_c" 1>&6
1898 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1899 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1900 lt_cv_prog_gnu_ld=yes
1902 lt_cv_prog_gnu_ld=no
1906 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1907 with_gnu_ld=$lt_cv_prog_gnu_ld
1910 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1911 echo "configure:1912: checking for $LD option to reload object files" >&5
1912 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1913 echo $ac_n "(cached) $ac_c" 1>&6
1915 lt_cv_ld_reload_flag='-r'
1918 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1919 reload_flag=$lt_cv_ld_reload_flag
1920 test -n "$reload_flag" && reload_flag=" $reload_flag"
1922 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1923 echo "configure:1924: checking for BSD-compatible nm" >&5
1924 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1925 echo $ac_n "(cached) $ac_c" 1>&6
1927 if test -n "$NM"; then
1928 # Let the user override the test.
1931 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1932 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1933 test -z "$ac_dir" && ac_dir=.
1934 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1935 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1936 # Check to see if the nm accepts a BSD-compat flag.
1937 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1938 # nm: unknown option "B" ignored
1939 # Tru64's nm complains that /dev/null is an invalid object file
1940 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1941 lt_cv_path_NM="$tmp_nm -B"
1943 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1944 lt_cv_path_NM="$tmp_nm -p"
1947 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1948 continue # so that we can try to find one that supports BSD flags
1953 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1958 echo "$ac_t""$NM" 1>&6
1960 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1961 echo "configure:1962: checking how to recognise dependant libraries" >&5
1962 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1963 echo $ac_n "(cached) $ac_c" 1>&6
1965 lt_cv_file_magic_cmd='$MAGIC_CMD'
1966 lt_cv_file_magic_test_file=
1967 lt_cv_deplibs_check_method='unknown'
1968 # Need to set the preceding variable on all platforms that support
1969 # interlibrary dependencies.
1970 # 'none' -- dependencies not supported.
1971 # `unknown' -- same as none, but documents that we really don't know.
1972 # 'pass_all' -- all dependencies passed with no checks.
1973 # 'test_compile' -- check by making test program.
1974 # 'file_magic [regex]' -- check by looking for files in library path
1975 # which responds to the $file_magic_cmd with a given egrep regex.
1976 # If you have `file' or equivalent on your system and you're not sure
1977 # whether `pass_all' will *always* work, you probably want this one.
1981 lt_cv_deplibs_check_method=pass_all
1985 lt_cv_deplibs_check_method=pass_all
1989 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1990 lt_cv_file_magic_cmd='/usr/bin/file -L'
1991 lt_cv_file_magic_test_file=/shlib/libc.so
1994 cygwin* | mingw* |pw32*)
1995 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1996 lt_cv_file_magic_cmd='$OBJDUMP -f'
1999 darwin* | rhapsody*)
2000 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
2001 lt_cv_file_magic_cmd='/usr/bin/file -L'
2003 rhapsody* | darwin1.012)
2004 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
2007 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
2013 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2016 # Not sure whether the presence of OpenBSD here was a mistake.
2017 # Let's accept both of them until this is cleared up.
2018 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
2019 lt_cv_file_magic_cmd=/usr/bin/file
2020 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
2024 lt_cv_deplibs_check_method=pass_all
2029 lt_cv_deplibs_check_method=pass_all
2033 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
2034 lt_cv_file_magic_cmd=/usr/bin/file
2035 lt_cv_file_magic_test_file=/usr/lib/libc.sl
2041 # this will be overridden with pass_all, but let us keep it just in case
2042 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
2046 *-32|*"-32 ") libmagic=32-bit;;
2047 *-n32|*"-n32 ") libmagic=N32;;
2048 *-64|*"-64 ") libmagic=64-bit;;
2049 *) libmagic=never-match;;
2051 # this will be overridden with pass_all, but let us keep it just in case
2052 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
2055 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
2056 lt_cv_deplibs_check_method=pass_all
2059 # This must be Linux ELF.
2062 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2063 lt_cv_deplibs_check_method=pass_all ;;
2065 # glibc up to 2.1.1 does not perform some relocations on ARM
2066 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2068 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2072 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2073 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2075 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2080 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2081 lt_cv_file_magic_cmd=/usr/bin/file
2082 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2085 osf3* | osf4* | osf5*)
2086 # this will be overridden with pass_all, but let us keep it just in case
2087 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2088 lt_cv_file_magic_test_file=/shlib/libc.so
2089 lt_cv_deplibs_check_method=pass_all
2093 lt_cv_deplibs_check_method=pass_all
2097 lt_cv_deplibs_check_method=pass_all
2098 lt_cv_file_magic_test_file=/lib/libc.so
2101 sysv5uw[78]* | sysv4*uw2*)
2102 lt_cv_deplibs_check_method=pass_all
2105 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2106 case $host_vendor in
2108 lt_cv_deplibs_check_method=pass_all
2111 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]'
2112 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2120 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2121 file_magic_cmd=$lt_cv_file_magic_cmd
2122 deplibs_check_method=$lt_cv_deplibs_check_method
2124 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2125 echo "configure:2126: checking for object suffix" >&5
2126 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2127 echo $ac_n "(cached) $ac_c" 1>&6
2130 echo 'int i = 1;' > conftest.$ac_ext
2131 if { (eval echo configure:2132: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2132 for ac_file in conftest.*; do
2135 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2139 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2144 echo "$ac_t""$ac_cv_objext" 1>&6
2145 OBJEXT=$ac_cv_objext
2146 ac_objext=$ac_cv_objext
2148 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2150 # Only perform the check for file, if the check method requires it
2151 case $deplibs_check_method in
2153 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2154 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2155 echo "configure:2156: checking for ${ac_tool_prefix}file" >&5
2156 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2157 echo $ac_n "(cached) $ac_c" 1>&6
2161 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2164 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2167 ac_save_MAGIC_CMD="$MAGIC_CMD"
2168 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2169 ac_dummy="/usr/bin:$PATH"
2170 for ac_dir in $ac_dummy; do
2171 test -z "$ac_dir" && ac_dir=.
2172 if test -f $ac_dir/${ac_tool_prefix}file; then
2173 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2174 if test -n "$file_magic_test_file"; then
2175 case $deplibs_check_method in
2177 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2178 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2179 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2180 egrep "$file_magic_regex" > /dev/null; then
2185 *** Warning: the command libtool uses to detect shared libraries,
2186 *** $file_magic_cmd, produces output that libtool cannot recognize.
2187 *** The result is that libtool may fail to recognize shared libraries
2188 *** as such. This will affect the creation of libtool libraries that
2189 *** depend on shared libraries, but programs linked with such libtool
2190 *** libraries will work regardless of this problem. Nevertheless, you
2191 *** may want to report the problem to your system manager and/or to
2192 *** bug-libtool@gnu.org
2202 MAGIC_CMD="$ac_save_MAGIC_CMD"
2207 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2208 if test -n "$MAGIC_CMD"; then
2209 echo "$ac_t""$MAGIC_CMD" 1>&6
2211 echo "$ac_t""no" 1>&6
2214 if test -z "$lt_cv_path_MAGIC_CMD"; then
2215 if test -n "$ac_tool_prefix"; then
2216 echo $ac_n "checking for file""... $ac_c" 1>&6
2217 echo "configure:2218: checking for file" >&5
2218 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2219 echo $ac_n "(cached) $ac_c" 1>&6
2223 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2226 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2229 ac_save_MAGIC_CMD="$MAGIC_CMD"
2230 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2231 ac_dummy="/usr/bin:$PATH"
2232 for ac_dir in $ac_dummy; do
2233 test -z "$ac_dir" && ac_dir=.
2234 if test -f $ac_dir/file; then
2235 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2236 if test -n "$file_magic_test_file"; then
2237 case $deplibs_check_method in
2239 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2240 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2241 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2242 egrep "$file_magic_regex" > /dev/null; then
2247 *** Warning: the command libtool uses to detect shared libraries,
2248 *** $file_magic_cmd, produces output that libtool cannot recognize.
2249 *** The result is that libtool may fail to recognize shared libraries
2250 *** as such. This will affect the creation of libtool libraries that
2251 *** depend on shared libraries, but programs linked with such libtool
2252 *** libraries will work regardless of this problem. Nevertheless, you
2253 *** may want to report the problem to your system manager and/or to
2254 *** bug-libtool@gnu.org
2264 MAGIC_CMD="$ac_save_MAGIC_CMD"
2269 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2270 if test -n "$MAGIC_CMD"; then
2271 echo "$ac_t""$MAGIC_CMD" 1>&6
2273 echo "$ac_t""no" 1>&6
2285 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2286 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2287 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2288 echo "configure:2289: checking for $ac_word" >&5
2289 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2290 echo $ac_n "(cached) $ac_c" 1>&6
2292 if test -n "$RANLIB"; then
2293 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2295 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2297 for ac_dir in $ac_dummy; do
2298 test -z "$ac_dir" && ac_dir=.
2299 if test -f $ac_dir/$ac_word; then
2300 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2307 RANLIB="$ac_cv_prog_RANLIB"
2308 if test -n "$RANLIB"; then
2309 echo "$ac_t""$RANLIB" 1>&6
2311 echo "$ac_t""no" 1>&6
2315 if test -z "$ac_cv_prog_RANLIB"; then
2316 if test -n "$ac_tool_prefix"; then
2317 # Extract the first word of "ranlib", so it can be a program name with args.
2318 set dummy ranlib; ac_word=$2
2319 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2320 echo "configure:2321: checking for $ac_word" >&5
2321 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2322 echo $ac_n "(cached) $ac_c" 1>&6
2324 if test -n "$RANLIB"; then
2325 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2327 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2329 for ac_dir in $ac_dummy; do
2330 test -z "$ac_dir" && ac_dir=.
2331 if test -f $ac_dir/$ac_word; then
2332 ac_cv_prog_RANLIB="ranlib"
2337 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2340 RANLIB="$ac_cv_prog_RANLIB"
2341 if test -n "$RANLIB"; then
2342 echo "$ac_t""$RANLIB" 1>&6
2344 echo "$ac_t""no" 1>&6
2352 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2353 set dummy ${ac_tool_prefix}strip; ac_word=$2
2354 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2355 echo "configure:2356: checking for $ac_word" >&5
2356 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2357 echo $ac_n "(cached) $ac_c" 1>&6
2359 if test -n "$STRIP"; then
2360 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2362 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2364 for ac_dir in $ac_dummy; do
2365 test -z "$ac_dir" && ac_dir=.
2366 if test -f $ac_dir/$ac_word; then
2367 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2374 STRIP="$ac_cv_prog_STRIP"
2375 if test -n "$STRIP"; then
2376 echo "$ac_t""$STRIP" 1>&6
2378 echo "$ac_t""no" 1>&6
2382 if test -z "$ac_cv_prog_STRIP"; then
2383 if test -n "$ac_tool_prefix"; then
2384 # Extract the first word of "strip", so it can be a program name with args.
2385 set dummy strip; ac_word=$2
2386 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2387 echo "configure:2388: checking for $ac_word" >&5
2388 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2389 echo $ac_n "(cached) $ac_c" 1>&6
2391 if test -n "$STRIP"; then
2392 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2394 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2396 for ac_dir in $ac_dummy; do
2397 test -z "$ac_dir" && ac_dir=.
2398 if test -f $ac_dir/$ac_word; then
2399 ac_cv_prog_STRIP="strip"
2404 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2407 STRIP="$ac_cv_prog_STRIP"
2408 if test -n "$STRIP"; then
2409 echo "$ac_t""$STRIP" 1>&6
2411 echo "$ac_t""no" 1>&6
2420 # Check for any special flags to pass to ltconfig.
2421 libtool_flags="--cache-file=$cache_file"
2422 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2423 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2424 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2425 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2426 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2427 libtool_flags="$libtool_flags --enable-dlopen"
2429 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2430 if test "${enable_libtool_lock+set}" = set; then
2431 enableval="$enable_libtool_lock"
2435 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2436 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2438 # Check whether --with-pic or --without-pic was given.
2439 if test "${with_pic+set}" = set; then
2446 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2447 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2449 # Some flags need to be propagated to the compiler or linker for good
2453 # Find out which ABI we are using.
2454 echo '#line 2455 "configure"' > conftest.$ac_ext
2455 if { (eval echo configure:2456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2456 case `/usr/bin/file conftest.$ac_objext` in
2472 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2473 SAVE_CFLAGS="$CFLAGS"
2474 CFLAGS="$CFLAGS -belf"
2475 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2476 echo "configure:2477: checking whether the C compiler needs -belf" >&5
2477 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2478 echo $ac_n "(cached) $ac_c" 1>&6
2482 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2483 ac_cpp='$CPP $CPPFLAGS'
2484 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2485 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2486 cross_compiling=$ac_cv_prog_cc_cross
2488 cat > conftest.$ac_ext <<EOF
2489 #line 2490 "configure"
2490 #include "confdefs.h"
2496 if { (eval echo configure:2497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2498 lt_cv_cc_needs_belf=yes
2500 echo "configure: failed program was:" >&5
2501 cat conftest.$ac_ext >&5
2503 lt_cv_cc_needs_belf=no
2507 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2508 ac_cpp='$CPP $CPPFLAGS'
2509 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2510 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2511 cross_compiling=$ac_cv_prog_cc_cross
2515 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2516 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2517 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2518 CFLAGS="$SAVE_CFLAGS"
2525 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2526 echo "configure:2527: checking how to run the C++ preprocessor" >&5
2527 if test -z "$CXXCPP"; then
2528 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2529 echo $ac_n "(cached) $ac_c" 1>&6
2532 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2533 ac_cpp='$CXXCPP $CPPFLAGS'
2534 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2535 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2536 cross_compiling=$ac_cv_prog_cxx_cross
2537 CXXCPP="${CXX-g++} -E"
2538 cat > conftest.$ac_ext <<EOF
2539 #line 2540 "configure"
2540 #include "confdefs.h"
2543 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2544 { (eval echo configure:2545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2545 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2546 if test -z "$ac_err"; then
2550 echo "configure: failed program was:" >&5
2551 cat conftest.$ac_ext >&5
2556 ac_cv_prog_CXXCPP="$CXXCPP"
2558 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2559 ac_cpp='$CPP $CPPFLAGS'
2560 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2561 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2562 cross_compiling=$ac_cv_prog_cc_cross
2565 CXXCPP="$ac_cv_prog_CXXCPP"
2566 echo "$ac_t""$CXXCPP" 1>&6
2569 # Save cache, so that ltconfig can load it
2570 cat > confcache <<\EOF
2571 # This file is a shell script that caches the results of configure
2572 # tests run on this system so they can be shared between configure
2573 # scripts and configure runs. It is not useful on other systems.
2574 # If it contains results you don't want to keep, you may remove or edit it.
2576 # By default, configure uses ./config.cache as the cache file,
2577 # creating it if it does not exist already. You can give configure
2578 # the --cache-file=FILE option to use a different cache file; that is
2579 # what configure does when it calls configure scripts in
2580 # subdirectories, so they share the cache.
2581 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2582 # config.status only pays attention to the cache file if you give it the
2583 # --recheck option to rerun configure.
2586 # The following way of writing the cache mishandles newlines in values,
2587 # but we know of no workaround that is simple, portable, and efficient.
2588 # So, don't put newlines in cache variables' values.
2589 # Ultrix sh set writes to stderr and can't be redirected directly,
2590 # and sets the high bit in the cache file unless we assign to the vars.
2592 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2594 # `set' does not quote correctly, so add quotes (double-quote substitution
2595 # turns \\\\ into \\, and sed turns \\ into \).
2597 -e "s/'/'\\\\''/g" \
2598 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2601 # `set' quotes correctly as required by POSIX, so do not add quotes.
2602 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2605 if cmp -s $cache_file confcache; then
2608 if test -w $cache_file; then
2609 echo "updating cache $cache_file"
2610 cat confcache > $cache_file
2612 echo "not updating unwritable cache $cache_file"
2618 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2619 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2620 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2621 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2622 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2623 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2624 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2625 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2626 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2627 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2629 # Reload cache, that may have been modified by ltconfig
2630 if test -r "$cache_file"; then
2631 echo "loading cache $cache_file"
2634 echo "creating cache $cache_file"
2639 # This can be used to rebuild libtool when needed
2640 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2642 # Always use our own libtool.
2643 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2645 # Redirect the config.log output again, so that the ltconfig log is not
2646 # clobbered by the next message.
2647 exec 5>>./config.log
2651 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2653 lt_save_CFLAGS="$CFLAGS"
2654 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2655 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2656 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2657 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2658 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2659 deplibs_check_method="$deplibs_check_method" \
2660 file_magic_cmd="$file_magic_cmd" \
2661 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2662 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2663 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2665 CFLAGS="$lt_save_CFLAGS"
2667 # Redirect the config.log output again, so that the ltconfig log is not
2668 # clobbered by the next message.
2669 exec 5>>./config.log
2679 # Check for c++ or library specific bits that don't require linking.
2680 #GLIBCPP_CHECK_COMPILER_VERSION
2681 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2682 echo "configure:2683: checking for GNU make" >&5
2683 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2684 echo $ac_n "(cached) $ac_c" 1>&6
2686 _cv_gnu_make_command='' ;
2687 for a in "${MAKE-make}" make gmake gnumake ; do
2688 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2690 _cv_gnu_make_command=$a ;
2697 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2698 if test "x$_cv_gnu_make_command" != "x" ; then
2706 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2707 # Check whether --enable-debug or --disable-debug was given.
2708 if test "${enable_debug+set}" = set; then
2709 enableval="$enable_debug"
2710 case "${enableval}" in
2711 yes) enable_debug=yes ;;
2712 no) enable_debug=no ;;
2713 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2719 case "${enable_debug}" in
2721 DEBUG_FLAGS='-O0 -ggdb3'
2729 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2730 echo "configure:2731: checking how to run the C preprocessor" >&5
2731 # On Suns, sometimes $CPP names a directory.
2732 if test -n "$CPP" && test -d "$CPP"; then
2735 if test -z "$CPP"; then
2736 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2737 echo $ac_n "(cached) $ac_c" 1>&6
2739 # This must be in double quotes, not single quotes, because CPP may get
2740 # substituted into the Makefile and "${CC-cc}" will confuse make.
2742 # On the NeXT, cc -E runs the code through the compiler's parser,
2743 # not just through cpp.
2744 cat > conftest.$ac_ext <<EOF
2745 #line 2746 "configure"
2746 #include "confdefs.h"
2750 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2751 { (eval echo configure:2752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2752 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2753 if test -z "$ac_err"; then
2757 echo "configure: failed program was:" >&5
2758 cat conftest.$ac_ext >&5
2760 CPP="${CC-cc} -E -traditional-cpp"
2761 cat > conftest.$ac_ext <<EOF
2762 #line 2763 "configure"
2763 #include "confdefs.h"
2767 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2768 { (eval echo configure:2769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2769 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2770 if test -z "$ac_err"; then
2774 echo "configure: failed program was:" >&5
2775 cat conftest.$ac_ext >&5
2777 CPP="${CC-cc} -nologo -E"
2778 cat > conftest.$ac_ext <<EOF
2779 #line 2780 "configure"
2780 #include "confdefs.h"
2784 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2785 { (eval echo configure:2786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2786 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2787 if test -z "$ac_err"; then
2791 echo "configure: failed program was:" >&5
2792 cat conftest.$ac_ext >&5
2801 ac_cv_prog_CPP="$CPP"
2803 CPP="$ac_cv_prog_CPP"
2805 ac_cv_prog_CPP="$CPP"
2807 echo "$ac_t""$CPP" 1>&6
2810 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2811 echo "configure:2812: checking for cstdio to use" >&5
2812 # Check whether --enable-cstdio or --disable-cstdio was given.
2813 if test "${enable_cstdio+set}" = set; then
2814 enableval="$enable_cstdio"
2815 if test x$enable_cstdio = xno; then
2823 enable_cstdio_flag=$enable_cstdio
2825 case x${enable_cstdio_flag} in
2827 CSTDIO_H=config/io/c_io_libio.h
2828 BASIC_FILE_H=config/io/basic_file_libio.h
2829 BASIC_FILE_CC=config/io/basic_file_libio.cc
2830 echo "$ac_t""libio" 1>&6
2832 # see if we are on a system with libio native (ie, linux)
2833 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2834 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2835 echo "configure:2836: checking for libio.h" >&5
2836 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2837 echo $ac_n "(cached) $ac_c" 1>&6
2839 cat > conftest.$ac_ext <<EOF
2840 #line 2841 "configure"
2841 #include "confdefs.h"
2844 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2845 { (eval echo configure:2846: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2846 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2847 if test -z "$ac_err"; then
2849 eval "ac_cv_header_$ac_safe=yes"
2852 echo "configure: failed program was:" >&5
2853 cat conftest.$ac_ext >&5
2855 eval "ac_cv_header_$ac_safe=no"
2859 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2860 echo "$ac_t""yes" 1>&6
2863 echo "$ac_t""no" 1>&6
2868 # Need to check and see what version of glibc is being used. If
2869 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2870 # compile most of libio for linux systems.
2871 if test x$has_libio = x"yes"; then
2874 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2875 echo "configure:2876: checking for glibc version >= 2.2" >&5
2876 cat > conftest.$ac_ext <<EOF
2877 #line 2878 "configure"
2878 #include "confdefs.h"
2880 #include <features.h>
2881 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2886 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2887 egrep "ok" >/dev/null 2>&1; then
2889 glibc_satisfactory=yes
2892 glibc_satisfactory=no
2896 echo "$ac_t""$glibc_satisfactory" 1>&6
2900 # XXX at the moment, admit defeat and force the recompilation
2901 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2902 glibc_satisfactory=no
2904 if test x$glibc_satisfactory = x"yes"; then
2909 # bkoz XXX need to add checks to enable this
2910 # pme XXX here's a first pass at such a check
2911 if test x$enable_c_mbchar != xno; then
2919 # Using libio, but <libio.h> doesn't exist on the target system. . .
2921 # bkoz XXX need to add checks to enable this
2922 # pme XXX here's a first pass at such a check
2923 if test x$enable_c_mbchar != xno; then
2930 xstdio | x | xno | xnone | xyes)
2932 CSTDIO_H=config/io/c_io_stdio.h
2933 BASIC_FILE_H=config/io/basic_file_stdio.h
2934 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2935 echo "$ac_t""stdio" 1>&6
2937 # We're not using stdio.
2942 echo "$enable_cstdio is an unknown io package" 1>&2
2950 # 2000-08-04 bkoz hack
2951 CCODECVT_C=config/io/c_io_libio_codecvt.c
2953 # 2000-08-04 bkoz hack
2957 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2958 GLIBCPP_BUILD_LIBIO_TRUE=
2959 GLIBCPP_BUILD_LIBIO_FALSE='#'
2961 GLIBCPP_BUILD_LIBIO_TRUE='#'
2962 GLIBCPP_BUILD_LIBIO_FALSE=
2966 if test "$need_libio" = yes; then
2967 GLIBCPP_NEED_LIBIO_TRUE=
2968 GLIBCPP_NEED_LIBIO_FALSE='#'
2970 GLIBCPP_NEED_LIBIO_TRUE='#'
2971 GLIBCPP_NEED_LIBIO_FALSE=
2975 if test "$need_wlibio" = yes; then
2976 GLIBCPP_NEED_WLIBIO_TRUE=
2977 GLIBCPP_NEED_WLIBIO_FALSE='#'
2979 GLIBCPP_NEED_WLIBIO_TRUE='#'
2980 GLIBCPP_NEED_WLIBIO_FALSE=
2982 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2983 libio_la=../libio/libio.la
2990 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
2991 echo "configure:2992: checking for clocale to use" >&5
2992 # Check whether --enable-clocale or --disable-clocale was given.
2993 if test "${enable_clocale+set}" = set; then
2994 enableval="$enable_clocale"
2995 if test x$enable_clocale = xno; then
3003 enable_clocale_flag=$enable_clocale
3005 if test x$enable_clocale_flag = xno; then
3006 case x${target_os} in
3008 cat > conftest.$ac_ext <<EOF
3009 #line 3010 "configure"
3010 #include "confdefs.h"
3012 #include <features.h>
3013 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
3018 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3019 egrep "_GLIBCPP_ok" >/dev/null 2>&1; then
3021 enable_clocale_flag=gnu
3024 enable_clocale_flag=generic
3029 # Test for bugs early in glibc-2.2.x series
3030 if test x$enable_clocale_flag = xgnu; then
3031 if test "$cross_compiling" = yes; then
3032 enable_clocale_flag=generic
3034 cat > conftest.$ac_ext <<EOF
3035 #line 3036 "configure"
3036 #include "confdefs.h"
3038 #define _GNU_SOURCE 1
3042 const char __one[] = "Äuglein Augmen";
3043 const char __two[] = "Äuglein";
3048 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
3049 loc_dup = __duplocale(loc);
3050 i = __strcoll_l(__one, __two, loc);
3051 j = __strcoll_l(__one, __two, loc_dup);
3056 if { (eval echo configure:3057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3058 enable_clocale_flag=gnu
3060 echo "configure: failed program was:" >&5
3061 cat conftest.$ac_ext >&5
3063 enable_clocale_flag=generic
3070 # ... at some point put __strxfrm_l tests in as well.
3073 enable_clocale_flag=generic
3078 # Check whether --enable-nls or --disable-nls was given.
3079 if test "${enable_nls+set}" = set; then
3080 enableval="$enable_nls"
3088 case x${enable_clocale_flag} in
3090 echo "$ac_t""generic" 1>&6
3092 CLOCALE_H=config/locale/generic/c_locale.h
3093 CLOCALE_CC=config/locale/generic/c_locale.cc
3094 CCODECVT_H=config/locale/generic/codecvt_specializations.h
3095 CCOLLATE_CC=config/locale/generic/collate_members.cc
3096 CCTYPE_CC=config/locale/generic/ctype_members.cc
3097 CMESSAGES_H=config/locale/generic/messages_members.h
3098 CMESSAGES_CC=config/locale/generic/messages_members.cc
3099 CMONEY_CC=config/locale/generic/monetary_members.cc
3100 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3101 CTIME_CC=config/locale/generic/time_members.cc
3104 echo "$ac_t""gnu" 1>&6
3106 # Declare intention to use gettext, and add support for specific
3108 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
3111 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
3112 # Extract the first word of "msgfmt", so it can be a program name with args.
3113 set dummy msgfmt; ac_word=$2
3114 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3115 echo "configure:3116: checking for $ac_word" >&5
3116 if eval "test \"`echo '$''{'ac_cv_prog_check_msgfmt'+set}'`\" = set"; then
3117 echo $ac_n "(cached) $ac_c" 1>&6
3119 if test -n "$check_msgfmt"; then
3120 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
3122 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3124 for ac_dir in $ac_dummy; do
3125 test -z "$ac_dir" && ac_dir=.
3126 if test -f $ac_dir/$ac_word; then
3127 ac_cv_prog_check_msgfmt="yes"
3132 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
3135 check_msgfmt="$ac_cv_prog_check_msgfmt"
3136 if test -n "$check_msgfmt"; then
3137 echo "$ac_t""$check_msgfmt" 1>&6
3139 echo "$ac_t""no" 1>&6
3142 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
3145 # Export the build objects.
3146 for ling in $ALL_LINGUAS; do \
3147 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo"; \
3148 glibcpp_POFILES="$glibcpp_POFILES $ling.po"; \
3153 CLOCALE_H=config/locale/gnu/c_locale.h
3154 CLOCALE_CC=config/locale/gnu/c_locale.cc
3155 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3156 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3157 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3158 CMESSAGES_H=config/locale/gnu/messages_members.h
3159 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3160 CMONEY_CC=config/locale/gnu/monetary_members.cc
3161 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3162 CTIME_CC=config/locale/gnu/time_members.cc
3165 echo "$ac_t""generic" 1>&6
3167 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3168 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3169 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3170 CCOLLATE_CC=config/locale/generic/collate_members.cc
3171 CCTYPE_CC=config/locale/generic/ctype_members.cc
3172 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3173 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3174 CMONEY_CC=config/locale/generic/monetary_members.cc
3175 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3176 CTIME_CC=config/locale/generic/time_members.cc
3179 echo "$enable_clocale is an unknown locale package" 1>&2
3184 # This is where the testsuite looks for locale catalogs, using the
3185 # -DLOCALEDIR define during testsuite compilation.
3186 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3201 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3202 if test "${enable_c_mbchar+set}" = set; then
3203 enableval="$enable_c_mbchar"
3204 case "$enableval" in
3205 yes) enable_c_mbchar=yes ;;
3206 no) enable_c_mbchar=no ;;
3207 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
3214 # Check whether --enable-c99 or --disable-c99 was given.
3215 if test "${enable_c99+set}" = set; then
3216 enableval="$enable_c99"
3217 case "$enableval" in
3218 yes) enable_c99=yes ;;
3219 no) enable_c99=no ;;
3220 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
3228 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3229 ac_cpp='$CXXCPP $CPPFLAGS'
3230 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3231 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3232 cross_compiling=$ac_cv_prog_cxx_cross
3235 # Check for the existence of <math.h> functions used if C99 is enabled.
3237 echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
3238 echo "configure:3239: checking for ISO C99 support in <math.h>" >&5
3239 cat > conftest.$ac_ext <<EOF
3240 #line 3241 "configure"
3241 #include "confdefs.h"
3247 if { (eval echo configure:3248: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3250 echo "configure: failed program was:" >&5
3251 cat conftest.$ac_ext >&5
3256 cat > conftest.$ac_ext <<EOF
3257 #line 3258 "configure"
3258 #include "confdefs.h"
3264 if { (eval echo configure:3265: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3267 echo "configure: failed program was:" >&5
3268 cat conftest.$ac_ext >&5
3273 cat > conftest.$ac_ext <<EOF
3274 #line 3275 "configure"
3275 #include "confdefs.h"
3281 if { (eval echo configure:3282: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3284 echo "configure: failed program was:" >&5
3285 cat conftest.$ac_ext >&5
3290 cat > conftest.$ac_ext <<EOF
3291 #line 3292 "configure"
3292 #include "confdefs.h"
3298 if { (eval echo configure:3299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3301 echo "configure: failed program was:" >&5
3302 cat conftest.$ac_ext >&5
3307 cat > conftest.$ac_ext <<EOF
3308 #line 3309 "configure"
3309 #include "confdefs.h"
3315 if { (eval echo configure:3316: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3318 echo "configure: failed program was:" >&5
3319 cat conftest.$ac_ext >&5
3324 cat > conftest.$ac_ext <<EOF
3325 #line 3326 "configure"
3326 #include "confdefs.h"
3332 if { (eval echo configure:3333: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3335 echo "configure: failed program was:" >&5
3336 cat conftest.$ac_ext >&5
3341 cat > conftest.$ac_ext <<EOF
3342 #line 3343 "configure"
3343 #include "confdefs.h"
3349 if { (eval echo configure:3350: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3352 echo "configure: failed program was:" >&5
3353 cat conftest.$ac_ext >&5
3358 cat > conftest.$ac_ext <<EOF
3359 #line 3360 "configure"
3360 #include "confdefs.h"
3363 isgreaterequal(0.0,0.0);
3366 if { (eval echo configure:3367: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3369 echo "configure: failed program was:" >&5
3370 cat conftest.$ac_ext >&5
3375 cat > conftest.$ac_ext <<EOF
3376 #line 3377 "configure"
3377 #include "confdefs.h"
3383 if { (eval echo configure:3384: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3386 echo "configure: failed program was:" >&5
3387 cat conftest.$ac_ext >&5
3392 cat > conftest.$ac_ext <<EOF
3393 #line 3394 "configure"
3394 #include "confdefs.h"
3397 islessequal(0.0,0.0);
3400 if { (eval echo configure:3401: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3403 echo "configure: failed program was:" >&5
3404 cat conftest.$ac_ext >&5
3409 cat > conftest.$ac_ext <<EOF
3410 #line 3411 "configure"
3411 #include "confdefs.h"
3414 islessgreater(0.0,0.0);
3417 if { (eval echo configure:3418: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3420 echo "configure: failed program was:" >&5
3421 cat conftest.$ac_ext >&5
3426 cat > conftest.$ac_ext <<EOF
3427 #line 3428 "configure"
3428 #include "confdefs.h"
3431 isunordered(0.0,0.0);
3434 if { (eval echo configure:3435: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3437 echo "configure: failed program was:" >&5
3438 cat conftest.$ac_ext >&5
3443 echo "$ac_t""$ac_c99_math" 1>&6
3445 # Check for the existence in <stdio.h> of vscanf, et. al.
3447 echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
3448 echo "configure:3449: checking for ISO C99 support in <stdio.h>" >&5
3449 cat > conftest.$ac_ext <<EOF
3450 #line 3451 "configure"
3451 #include "confdefs.h"
3454 snprintf("12", 0, "%i");
3457 if { (eval echo configure:3458: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3460 echo "configure: failed program was:" >&5
3461 cat conftest.$ac_ext >&5
3466 cat > conftest.$ac_ext <<EOF
3467 #line 3468 "configure"
3468 #include "confdefs.h"
3471 void foo(char* fmt, ...)
3472 {va_list args; va_start(args, fmt);
3473 vfscanf(stderr, "%i", args);}
3478 if { (eval echo configure:3479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3481 echo "configure: failed program was:" >&5
3482 cat conftest.$ac_ext >&5
3487 cat > conftest.$ac_ext <<EOF
3488 #line 3489 "configure"
3489 #include "confdefs.h"
3492 void foo(char* fmt, ...)
3493 {va_list args; va_start(args, fmt);
3494 vscanf("%i", args);}
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"
3513 void foo(char* fmt, ...)
3514 {va_list args; va_start(args, fmt);
3515 vsnprintf(fmt, 0, "%i", args);}
3520 if { (eval echo configure:3521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3523 echo "configure: failed program was:" >&5
3524 cat conftest.$ac_ext >&5
3529 cat > conftest.$ac_ext <<EOF
3530 #line 3531 "configure"
3531 #include "confdefs.h"
3534 void foo(char* fmt, ...)
3535 {va_list args; va_start(args, fmt);
3536 vsscanf(fmt, "%i", args);}
3541 if { (eval echo configure:3542: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3544 echo "configure: failed program was:" >&5
3545 cat conftest.$ac_ext >&5
3550 echo "$ac_t""$ac_c99_stdio" 1>&6
3552 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3554 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3555 echo "configure:3556: checking for lldiv_t declaration" >&5
3556 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3557 echo $ac_n "(cached) $ac_c" 1>&6
3560 cat > conftest.$ac_ext <<EOF
3561 #line 3562 "configure"
3562 #include "confdefs.h"
3568 if { (eval echo configure:3569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3572 echo "configure: failed program was:" >&5
3573 cat conftest.$ac_ext >&5
3581 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3583 echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
3584 echo "configure:3585: checking for ISO C99 support in <stdlib.h>" >&5
3585 cat > conftest.$ac_ext <<EOF
3586 #line 3587 "configure"
3587 #include "confdefs.h"
3590 char* tmp; strtof("gnu", &tmp);
3593 if { (eval echo configure:3594: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3596 echo "configure: failed program was:" >&5
3597 cat conftest.$ac_ext >&5
3602 cat > conftest.$ac_ext <<EOF
3603 #line 3604 "configure"
3604 #include "confdefs.h"
3607 char* tmp; strtold("gnu", &tmp);
3610 if { (eval echo configure:3611: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3613 echo "configure: failed program was:" >&5
3614 cat conftest.$ac_ext >&5
3619 cat > conftest.$ac_ext <<EOF
3620 #line 3621 "configure"
3621 #include "confdefs.h"
3627 if { (eval echo configure:3628: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3630 echo "configure: failed program was:" >&5
3631 cat conftest.$ac_ext >&5
3636 cat > conftest.$ac_ext <<EOF
3637 #line 3638 "configure"
3638 #include "confdefs.h"
3644 if { (eval echo configure:3645: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3647 echo "configure: failed program was:" >&5
3648 cat conftest.$ac_ext >&5
3653 cat > conftest.$ac_ext <<EOF
3654 #line 3655 "configure"
3655 #include "confdefs.h"
3661 if { (eval echo configure:3662: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3664 echo "configure: failed program was:" >&5
3665 cat conftest.$ac_ext >&5
3670 cat > conftest.$ac_ext <<EOF
3671 #line 3672 "configure"
3672 #include "confdefs.h"
3678 if { (eval echo configure:3679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3681 echo "configure: failed program was:" >&5
3682 cat conftest.$ac_ext >&5
3687 if test x"$ac_c99_lldiv_t" = x"no"; then
3690 echo "$ac_t""$ac_c99_stdlib" 1>&6
3692 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3693 # XXX the wchar.h checks should be rolled into the general C99 bits.
3695 echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
3696 echo "configure:3697: checking for additional ISO C99 support in <wchar.h>" >&5
3697 cat > conftest.$ac_ext <<EOF
3698 #line 3699 "configure"
3699 #include "confdefs.h"
3702 wcstold(L"10.0", NULL);
3705 if { (eval echo configure:3706: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3708 echo "configure: failed program was:" >&5
3709 cat conftest.$ac_ext >&5
3714 cat > conftest.$ac_ext <<EOF
3715 #line 3716 "configure"
3716 #include "confdefs.h"
3719 wcstoll(L"10", NULL, 10);
3722 if { (eval echo configure:3723: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3725 echo "configure: failed program was:" >&5
3726 cat conftest.$ac_ext >&5
3731 cat > conftest.$ac_ext <<EOF
3732 #line 3733 "configure"
3733 #include "confdefs.h"
3736 wcstoull(L"10", NULL, 10);
3739 if { (eval echo configure:3740: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3742 echo "configure: failed program was:" >&5
3743 cat conftest.$ac_ext >&5
3748 echo "$ac_t""$ac_c99_wchar" 1>&6
3750 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3751 echo "configure:3752: checking for enabled ISO C99 support" >&5
3752 if test x"$ac_c99_math" = x"no" ||
3753 test x"$ac_c99_stdio" = x"no" ||
3754 test x"$ac_c99_stdlib" = x"no" ||
3755 test x"$ac_c99_wchar" = x"no"; then
3758 echo "$ac_t""$enable_c99" 1>&6
3760 # Option parsed, now set things appropriately
3761 if test x"$enable_c99" = x"yes"; then
3762 cat >> confdefs.h <<\EOF
3763 #define _GLIBCPP_USE_C99 1
3769 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3770 ac_cpp='$CPP $CPPFLAGS'
3771 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3772 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3773 cross_compiling=$ac_cv_prog_cc_cross
3777 # Check whether --enable-long-long or --disable-long-long was given.
3778 if test "${enable_long_long+set}" = set; then
3779 enableval="$enable_long_long"
3780 case "$enableval" in
3781 yes) enable_long_long=yes ;;
3782 no) enable_long_long=no ;;
3783 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3786 enable_long_long=yes
3791 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3792 ac_cpp='$CXXCPP $CPPFLAGS'
3793 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3794 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3795 cross_compiling=$ac_cv_prog_cxx_cross
3798 echo $ac_n "checking for enabled long long I/O support""... $ac_c" 1>&6
3799 echo "configure:3800: checking for enabled long long I/O support" >&5
3800 # iostreams require strtoll, strtoull to compile
3801 cat > conftest.$ac_ext <<EOF
3802 #line 3803 "configure"
3803 #include "confdefs.h"
3806 char* tmp; strtoll("gnu", &tmp, 10);
3809 if { (eval echo configure:3810: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3812 echo "configure: failed program was:" >&5
3813 cat conftest.$ac_ext >&5
3818 cat > conftest.$ac_ext <<EOF
3819 #line 3820 "configure"
3820 #include "confdefs.h"
3823 char* tmp; strtoull("gnu", &tmp, 10);
3826 if { (eval echo configure:3827: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3829 echo "configure: failed program was:" >&5
3830 cat conftest.$ac_ext >&5
3836 # Option parsed, now set things appropriately
3837 if test x"$enable_long_long" = xyes; then
3838 cat >> confdefs.h <<\EOF
3839 #define _GLIBCPP_USE_LONG_LONG 1
3843 echo "$ac_t""$enable_long_long" 1>&6
3846 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3847 ac_cpp='$CPP $CPPFLAGS'
3848 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3849 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3850 cross_compiling=$ac_cv_prog_cc_cross
3853 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3854 echo "configure:3855: checking for c header strategy to use" >&5
3855 # Check whether --enable-cheaders or --disable-cheaders was given.
3856 if test "${enable_cheaders+set}" = set; then
3857 enableval="$enable_cheaders"
3859 case "$enableval" in
3864 enable_cheaders=c_std
3867 enable_cheaders=c_shadow
3869 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3873 enable_cheaders=c_std
3876 echo "$ac_t""$enable_cheaders" 1>&6
3878 case "$enable_cheaders" in
3880 CSHADOW_FLAGS="-fno-builtin"
3881 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow'
3885 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3889 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3897 if test "$enable_cheaders" = c; then
3898 GLIBCPP_C_HEADERS_C_TRUE=
3899 GLIBCPP_C_HEADERS_C_FALSE='#'
3901 GLIBCPP_C_HEADERS_C_TRUE='#'
3902 GLIBCPP_C_HEADERS_C_FALSE=
3906 if test "$enable_cheaders" = c_std; then
3907 GLIBCPP_C_HEADERS_C_STD_TRUE=
3908 GLIBCPP_C_HEADERS_C_STD_FALSE='#'
3910 GLIBCPP_C_HEADERS_C_STD_TRUE='#'
3911 GLIBCPP_C_HEADERS_C_STD_FALSE=
3915 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3916 echo "configure:3917: checking for thread model used by GCC" >&5
3917 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3918 echo "$ac_t""$target_thread_file" 1>&6
3920 if test $target_thread_file != single; then
3921 cat >> confdefs.h <<\EOF
3922 #define HAVE_GTHR_DEFAULT 1
3925 cat >> confdefs.h <<\EOF
3926 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3931 glibcpp_thread_h=gthr-$target_thread_file.h
3934 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3935 if test "${enable_cxx_flags+set}" = set; then
3936 enableval="$enable_cxx_flags"
3937 case "x$enableval" in
3939 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3941 enable_cxx_flags='' ;;
3943 enable_cxx_flags="$enableval" ;;
3946 enable_cxx_flags='none'
3950 if test "$enable_cxx_flags" = "none"; then
3951 enable_cxx_flags='';
3954 if test -n "$enable_cxx_flags"; then
3955 for f in $enable_cxx_flags; do
3959 *) # and we're trying to pass /what/ exactly?
3960 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3964 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3968 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3969 echo "configure:3970: checking for exception model to use" >&5
3972 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3973 ac_cpp='$CXXCPP $CPPFLAGS'
3974 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3975 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3976 cross_compiling=$ac_cv_prog_cxx_cross
3978 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3979 if test "${enable_sjlj_exceptions+set}" = set; then
3980 enableval="$enable_sjlj_exceptions"
3983 cat > conftest.$ac_ext << EOF
3984 #line 3985 "configure"
3993 old_CXXFLAGS="$CXXFLAGS"
3995 if { (eval echo configure:3996: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3996 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3997 enable_sjlj_exceptions=yes
3998 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3999 enable_sjlj_exceptions=no
4002 CXXFLAGS="$old_CXXFLAGS"
4006 if test x$enable_sjlj_exceptions = xyes; then
4007 cat >> confdefs.h <<\EOF
4008 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
4011 ac_exception_model_name=sjlj
4012 elif test x$enable_sjlj_exceptions = xno; then
4013 ac_exception_model_name="call frame"
4015 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
4018 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4019 ac_cpp='$CPP $CPPFLAGS'
4020 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4021 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4022 cross_compiling=$ac_cv_prog_cc_cross
4024 echo "$ac_t""$ac_exception_model_name" 1>&6
4027 echo $ac_n "checking for use of libunwind""... $ac_c" 1>&6
4028 echo "configure:4029: checking for use of libunwind" >&5
4029 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
4030 if test "${enable_libunwind_exceptions+set}" = set; then
4031 enableval="$enable_libunwind_exceptions"
4032 use_libunwind_exceptions=$enableval
4034 use_libunwind_exceptions=no
4037 echo "$ac_t""$use_libunwind_exceptions" 1>&6
4038 if test x"$use_libunwind_exceptions" = xyes; then
4039 LIBUNWIND_FLAG="-lunwind"
4045 # Check whether --enable-concept-checks or --disable-concept-checks was given.
4046 if test "${enable_concept_checks+set}" = set; then
4047 enableval="$enable_concept_checks"
4048 case "$enableval" in
4049 yes) enable_concept_checks=yes ;;
4050 no) enable_concept_checks=no ;;
4051 *) { echo "configure: error: Unknown argument to enable/disable concept checks" 1>&2; exit 1; } ;;
4054 enable_concept_checks=no
4056 if test x"$enable_concept_checks" = xyes; then
4057 cat >> confdefs.h <<\EOF
4058 #define _GLIBCPP_CONCEPT_CHECKS 1
4064 # Check for headers necessary for libsupc++ using dyn-string.c/cxa_demangle.c
4065 for ac_hdr in string.h stdlib.h
4067 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4068 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4069 echo "configure:4070: checking for $ac_hdr" >&5
4070 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4071 echo $ac_n "(cached) $ac_c" 1>&6
4073 cat > conftest.$ac_ext <<EOF
4074 #line 4075 "configure"
4075 #include "confdefs.h"
4078 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4079 { (eval echo configure:4080: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4080 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4081 if test -z "$ac_err"; then
4083 eval "ac_cv_header_$ac_safe=yes"
4086 echo "configure: failed program was:" >&5
4087 cat conftest.$ac_ext >&5
4089 eval "ac_cv_header_$ac_safe=no"
4093 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4094 echo "$ac_t""yes" 1>&6
4095 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4096 cat >> confdefs.h <<EOF
4097 #define $ac_tr_hdr 1
4101 echo "$ac_t""no" 1>&6
4106 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
4108 # This lets us hard-code the functionality we know
4109 # we'll have in the cross target environment. "Let" is a
4110 # sugar-coated word placed on an especially dull and tedious hack, actually.
4111 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4112 # that involve linking can't be used:
4113 # "cannot open sim-crt0.o"
4114 # "cannot open crt0.o"
4115 # etc. All this is because there currently exists no unified,
4116 # consistent way for top level CC information to be passed down
4117 # to target directories: newlib includes, newlib linking info,
4118 # libgloss versus newlib crt0.o, etc. When all of this is done, all
4119 # of this hokey, excessive AC_DEFINE junk for crosses can be removed.
4121 # We are being configured with some form of cross compiler.
4122 GLIBCPP_IS_CROSS_COMPILING=1
4124 # If Canadian cross, then don't pick up tools from the build
4126 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
4132 # Construct crosses by hand, eliminating bits that need ld...
4133 # GLIBCPP_CHECK_COMPILER_FEATURES
4134 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4135 # GLIBCPP_CHECK_MATH_SUPPORT
4137 case "$target_alias" in
4139 # Check for available headers.
4140 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4141 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4142 fp.h locale.h float.h inttypes.h
4144 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4145 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4146 echo "configure:4147: checking for $ac_hdr" >&5
4147 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4148 echo $ac_n "(cached) $ac_c" 1>&6
4150 cat > conftest.$ac_ext <<EOF
4151 #line 4152 "configure"
4152 #include "confdefs.h"
4155 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4156 { (eval echo configure:4157: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4157 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4158 if test -z "$ac_err"; then
4160 eval "ac_cv_header_$ac_safe=yes"
4163 echo "configure: failed program was:" >&5
4164 cat conftest.$ac_ext >&5
4166 eval "ac_cv_header_$ac_safe=no"
4170 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4171 echo "$ac_t""yes" 1>&6
4172 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4173 cat >> confdefs.h <<EOF
4174 #define $ac_tr_hdr 1
4178 echo "$ac_t""no" 1>&6
4182 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4185 # If we're not using GNU ld, then there's no point in even trying these
4186 # tests. Check for that first. We should have already tested for gld
4187 # by now (in libtool), but require it now just to be safe...
4188 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4189 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4192 # The name set by libtool depends on the version of libtool. Shame on us
4193 # for depending on an impl detail, but c'est la vie. Older versions used
4194 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4195 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4196 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4197 # set (hence we're using an older libtool), then set it.
4198 if test x${with_gnu_ld+set} != xset; then
4199 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4200 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
4203 with_gnu_ld=$ac_cv_prog_gnu_ld
4207 # Start by getting the version number. I think the libtool test already
4208 # does some of this, but throws away the result.
4210 ldver=`$LD --version 2>/dev/null | head -1 | \
4211 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4213 glibcpp_gnu_ld_version=`echo $ldver | \
4214 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4216 # Set --gc-sections.
4217 if test "$with_gnu_ld" = "notbroken"; then
4218 # GNU ld it is! Joy and bunny rabbits!
4220 # All these tests are for C++; save the language and the compiler flags.
4221 # Need to do this so that g++ won't try to link in libstdc++
4222 ac_test_CFLAGS="${CFLAGS+set}"
4223 ac_save_CFLAGS="$CFLAGS"
4224 CFLAGS='-x c++ -Wl,--gc-sections'
4226 # Check for -Wl,--gc-sections
4227 # XXX This test is broken at the moment, as symbols required for
4228 # linking are now in libsupc++ (not built yet.....). In addition,
4229 # this test has cored on solaris in the past. In addition,
4230 # --gc-sections doesn't really work at the moment (keeps on discarding
4231 # used sections, first .eh_frame and now some of the glibc sections for
4232 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4233 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4234 echo "configure:4235: checking for ld that supports -Wl,--gc-sections" >&5
4235 if test "$cross_compiling" = yes; then
4236 ac_sectionLDflags=yes
4238 cat > conftest.$ac_ext <<EOF
4239 #line 4240 "configure"
4240 #include "confdefs.h"
4250 if { (eval echo configure:4251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4252 ac_sectionLDflags=yes
4254 echo "configure: failed program was:" >&5
4255 cat conftest.$ac_ext >&5
4257 ac_sectionLDflags=no
4262 if test "$ac_test_CFLAGS" = set; then
4263 CFLAGS="$ac_save_CFLAGS"
4265 # this is the suspicious part
4268 if test "$ac_sectionLDflags" = "yes"; then
4269 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4271 echo "$ac_t""$ac_sectionLDflags" 1>&6
4274 # Set linker optimization flags.
4275 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
4276 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4283 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4284 echo "configure:4285: checking for main in -lm" >&5
4285 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4286 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4287 echo $ac_n "(cached) $ac_c" 1>&6
4289 ac_save_LIBS="$LIBS"
4291 cat > conftest.$ac_ext <<EOF
4292 #line 4293 "configure"
4293 #include "confdefs.h"
4299 if { (eval echo configure:4300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4301 eval "ac_cv_lib_$ac_lib_var=yes"
4303 echo "configure: failed program was:" >&5
4304 cat conftest.$ac_ext >&5
4306 eval "ac_cv_lib_$ac_lib_var=no"
4309 LIBS="$ac_save_LIBS"
4312 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4313 echo "$ac_t""yes" 1>&6
4314 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4315 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4316 cat >> confdefs.h <<EOF
4317 #define $ac_tr_lib 1
4323 echo "$ac_t""no" 1>&6
4326 for ac_func in nan copysignf
4328 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4329 echo "configure:4330: checking for $ac_func" >&5
4330 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4331 echo $ac_n "(cached) $ac_c" 1>&6
4333 cat > conftest.$ac_ext <<EOF
4334 #line 4335 "configure"
4335 #include "confdefs.h"
4336 /* System header to define __stub macros and hopefully few prototypes,
4337 which can conflict with char $ac_func(); below. */
4339 /* Override any gcc2 internal prototype to avoid an error. */
4340 /* We use char because int might match the return type of a gcc2
4341 builtin and then its argument prototype would still apply. */
4346 /* The GNU C library defines this for functions which it implements
4347 to always fail with ENOSYS. Some functions are actually named
4348 something starting with __ and the normal name is an alias. */
4349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4357 if { (eval echo configure:4358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4359 eval "ac_cv_func_$ac_func=yes"
4361 echo "configure: failed program was:" >&5
4362 cat conftest.$ac_ext >&5
4364 eval "ac_cv_func_$ac_func=no"
4369 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4370 echo "$ac_t""yes" 1>&6
4371 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4372 cat >> confdefs.h <<EOF
4373 #define $ac_tr_func 1
4377 echo "$ac_t""no" 1>&6
4378 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4383 for ac_func in __signbit
4385 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4386 echo "configure:4387: checking for $ac_func" >&5
4387 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4388 echo $ac_n "(cached) $ac_c" 1>&6
4390 cat > conftest.$ac_ext <<EOF
4391 #line 4392 "configure"
4392 #include "confdefs.h"
4393 /* System header to define __stub macros and hopefully few prototypes,
4394 which can conflict with char $ac_func(); below. */
4396 /* Override any gcc2 internal prototype to avoid an error. */
4397 /* We use char because int might match the return type of a gcc2
4398 builtin and then its argument prototype would still apply. */
4403 /* The GNU C library defines this for functions which it implements
4404 to always fail with ENOSYS. Some functions are actually named
4405 something starting with __ and the normal name is an alias. */
4406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4414 if { (eval echo configure:4415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4416 eval "ac_cv_func_$ac_func=yes"
4418 echo "configure: failed program was:" >&5
4419 cat conftest.$ac_ext >&5
4421 eval "ac_cv_func_$ac_func=no"
4426 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4427 echo "$ac_t""yes" 1>&6
4428 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4429 cat >> confdefs.h <<EOF
4430 #define $ac_tr_func 1
4434 echo "$ac_t""no" 1>&6
4435 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
4439 for ac_func in __signbitf
4441 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4442 echo "configure:4443: checking for $ac_func" >&5
4443 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4444 echo $ac_n "(cached) $ac_c" 1>&6
4446 cat > conftest.$ac_ext <<EOF
4447 #line 4448 "configure"
4448 #include "confdefs.h"
4449 /* System header to define __stub macros and hopefully few prototypes,
4450 which can conflict with char $ac_func(); below. */
4452 /* Override any gcc2 internal prototype to avoid an error. */
4453 /* We use char because int might match the return type of a gcc2
4454 builtin and then its argument prototype would still apply. */
4459 /* The GNU C library defines this for functions which it implements
4460 to always fail with ENOSYS. Some functions are actually named
4461 something starting with __ and the normal name is an alias. */
4462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4470 if { (eval echo configure:4471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4472 eval "ac_cv_func_$ac_func=yes"
4474 echo "configure: failed program was:" >&5
4475 cat conftest.$ac_ext >&5
4477 eval "ac_cv_func_$ac_func=no"
4482 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4483 echo "$ac_t""yes" 1>&6
4484 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4485 cat >> confdefs.h <<EOF
4486 #define $ac_tr_func 1
4490 echo "$ac_t""no" 1>&6
4491 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
4496 if test x$ac_cv_func_copysignl = x"yes"; then
4497 for ac_func in __signbitl
4499 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4500 echo "configure:4501: checking for $ac_func" >&5
4501 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4502 echo $ac_n "(cached) $ac_c" 1>&6
4504 cat > conftest.$ac_ext <<EOF
4505 #line 4506 "configure"
4506 #include "confdefs.h"
4507 /* System header to define __stub macros and hopefully few prototypes,
4508 which can conflict with char $ac_func(); below. */
4510 /* Override any gcc2 internal prototype to avoid an error. */
4511 /* We use char because int might match the return type of a gcc2
4512 builtin and then its argument prototype would still apply. */
4517 /* The GNU C library defines this for functions which it implements
4518 to always fail with ENOSYS. Some functions are actually named
4519 something starting with __ and the normal name is an alias. */
4520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4528 if { (eval echo configure:4529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4530 eval "ac_cv_func_$ac_func=yes"
4532 echo "configure: failed program was:" >&5
4533 cat conftest.$ac_ext >&5
4535 eval "ac_cv_func_$ac_func=no"
4540 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4541 echo "$ac_t""yes" 1>&6
4542 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4543 cat >> confdefs.h <<EOF
4544 #define $ac_tr_func 1
4548 echo "$ac_t""no" 1>&6
4549 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
4559 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4560 echo "configure:4561: checking for mbstate_t" >&5
4561 cat > conftest.$ac_ext <<EOF
4562 #line 4563 "configure"
4563 #include "confdefs.h"
4566 mbstate_t teststate;
4569 if { (eval echo configure:4570: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4573 echo "configure: failed program was:" >&5
4574 cat conftest.$ac_ext >&5
4579 echo "$ac_t""$have_mbstate_t" 1>&6
4580 if test x"$have_mbstate_t" = xyes; then
4581 cat >> confdefs.h <<\EOF
4582 #define HAVE_MBSTATE_T 1
4587 for ac_hdr in wchar.h
4589 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4590 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4591 echo "configure:4592: checking for $ac_hdr" >&5
4592 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4593 echo $ac_n "(cached) $ac_c" 1>&6
4595 cat > conftest.$ac_ext <<EOF
4596 #line 4597 "configure"
4597 #include "confdefs.h"
4600 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4601 { (eval echo configure:4602: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4602 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4603 if test -z "$ac_err"; then
4605 eval "ac_cv_header_$ac_safe=yes"
4608 echo "configure: failed program was:" >&5
4609 cat conftest.$ac_ext >&5
4611 eval "ac_cv_header_$ac_safe=no"
4615 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4616 echo "$ac_t""yes" 1>&6
4617 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4618 cat >> confdefs.h <<EOF
4619 #define $ac_tr_hdr 1
4623 echo "$ac_t""no" 1>&6
4628 for ac_hdr in wctype.h
4630 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4631 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4632 echo "configure:4633: checking for $ac_hdr" >&5
4633 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4634 echo $ac_n "(cached) $ac_c" 1>&6
4636 cat > conftest.$ac_ext <<EOF
4637 #line 4638 "configure"
4638 #include "confdefs.h"
4641 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4642 { (eval echo configure:4643: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4643 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4644 if test -z "$ac_err"; then
4646 eval "ac_cv_header_$ac_safe=yes"
4649 echo "configure: failed program was:" >&5
4650 cat conftest.$ac_ext >&5
4652 eval "ac_cv_header_$ac_safe=no"
4656 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4657 echo "$ac_t""yes" 1>&6
4658 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4659 cat >> confdefs.h <<EOF
4660 #define $ac_tr_hdr 1
4664 echo "$ac_t""no" 1>&6
4670 if test x"$ac_has_wchar_h" = xyes &&
4671 test x"$ac_has_wctype_h" = xyes &&
4672 test x"$enable_c_mbchar" != xno; then
4674 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4675 echo "configure:4676: checking for WCHAR_MIN and WCHAR_MAX" >&5
4676 cat > conftest.$ac_ext <<EOF
4677 #line 4678 "configure"
4678 #include "confdefs.h"
4681 int i = WCHAR_MIN; int j = WCHAR_MAX;
4684 if { (eval echo configure:4685: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4686 has_wchar_minmax=yes
4688 echo "configure: failed program was:" >&5
4689 cat conftest.$ac_ext >&5
4694 echo "$ac_t""$has_wchar_minmax" 1>&6
4696 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4697 echo "configure:4698: checking for WEOF" >&5
4698 cat > conftest.$ac_ext <<EOF
4699 #line 4700 "configure"
4700 #include "confdefs.h"
4708 if { (eval echo configure:4709: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4712 echo "configure: failed program was:" >&5
4713 cat conftest.$ac_ext >&5
4718 echo "$ac_t""$has_weof" 1>&6
4721 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4723 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4724 echo "configure:4725: checking for $ac_func" >&5
4725 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4726 echo $ac_n "(cached) $ac_c" 1>&6
4728 cat > conftest.$ac_ext <<EOF
4729 #line 4730 "configure"
4730 #include "confdefs.h"
4731 /* System header to define __stub macros and hopefully few prototypes,
4732 which can conflict with char $ac_func(); below. */
4734 /* Override any gcc2 internal prototype to avoid an error. */
4735 /* We use char because int might match the return type of a gcc2
4736 builtin and then its argument prototype would still apply. */
4741 /* The GNU C library defines this for functions which it implements
4742 to always fail with ENOSYS. Some functions are actually named
4743 something starting with __ and the normal name is an alias. */
4744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4752 if { (eval echo configure:4753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4754 eval "ac_cv_func_$ac_func=yes"
4756 echo "configure: failed program was:" >&5
4757 cat conftest.$ac_ext >&5
4759 eval "ac_cv_func_$ac_func=no"
4764 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4765 echo "$ac_t""yes" 1>&6
4766 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4767 cat >> confdefs.h <<EOF
4768 #define $ac_tr_func 1
4772 echo "$ac_t""no" 1>&6
4779 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4780 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4781 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4782 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4783 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4784 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4786 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4787 echo "configure:4788: checking for $ac_func" >&5
4788 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4789 echo $ac_n "(cached) $ac_c" 1>&6
4791 cat > conftest.$ac_ext <<EOF
4792 #line 4793 "configure"
4793 #include "confdefs.h"
4794 /* System header to define __stub macros and hopefully few prototypes,
4795 which can conflict with char $ac_func(); below. */
4797 /* Override any gcc2 internal prototype to avoid an error. */
4798 /* We use char because int might match the return type of a gcc2
4799 builtin and then its argument prototype would still apply. */
4804 /* The GNU C library defines this for functions which it implements
4805 to always fail with ENOSYS. Some functions are actually named
4806 something starting with __ and the normal name is an alias. */
4807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4815 if { (eval echo configure:4816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4817 eval "ac_cv_func_$ac_func=yes"
4819 echo "configure: failed program was:" >&5
4820 cat conftest.$ac_ext >&5
4822 eval "ac_cv_func_$ac_func=no"
4827 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4828 echo "$ac_t""yes" 1>&6
4829 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4830 cat >> confdefs.h <<EOF
4831 #define $ac_tr_func 1
4835 echo "$ac_t""no" 1>&6
4842 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4843 echo "configure:4844: checking for ISO C99 wchar_t support" >&5
4844 if test x"$has_weof" = xyes &&
4845 test x"$has_wchar_minmax" = xyes &&
4846 test x"$ac_wfuncs" = xyes; then
4847 ac_isoC99_wchar_t=yes
4849 ac_isoC99_wchar_t=no
4851 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4853 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4854 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4855 echo "configure:4856: checking for iconv.h" >&5
4856 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4857 echo $ac_n "(cached) $ac_c" 1>&6
4859 cat > conftest.$ac_ext <<EOF
4860 #line 4861 "configure"
4861 #include "confdefs.h"
4864 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4865 { (eval echo configure:4866: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4866 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4867 if test -z "$ac_err"; then
4869 eval "ac_cv_header_$ac_safe=yes"
4872 echo "configure: failed program was:" >&5
4873 cat conftest.$ac_ext >&5
4875 eval "ac_cv_header_$ac_safe=no"
4879 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4880 echo "$ac_t""yes" 1>&6
4883 echo "$ac_t""no" 1>&6
4887 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4888 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4889 echo "configure:4890: checking for langinfo.h" >&5
4890 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4891 echo $ac_n "(cached) $ac_c" 1>&6
4893 cat > conftest.$ac_ext <<EOF
4894 #line 4895 "configure"
4895 #include "confdefs.h"
4896 #include <langinfo.h>
4898 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4899 { (eval echo configure:4900: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4900 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4901 if test -z "$ac_err"; then
4903 eval "ac_cv_header_$ac_safe=yes"
4906 echo "configure: failed program was:" >&5
4907 cat conftest.$ac_ext >&5
4909 eval "ac_cv_header_$ac_safe=no"
4913 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4914 echo "$ac_t""yes" 1>&6
4915 ac_has_langinfo_h=yes
4917 echo "$ac_t""no" 1>&6
4918 ac_has_langinfo_h=no
4922 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4923 echo "configure:4924: checking for iconv in -liconv" >&5
4924 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4925 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4926 echo $ac_n "(cached) $ac_c" 1>&6
4928 ac_save_LIBS="$LIBS"
4929 LIBS="-liconv $LIBS"
4930 cat > conftest.$ac_ext <<EOF
4931 #line 4932 "configure"
4932 #include "confdefs.h"
4933 /* Override any gcc2 internal prototype to avoid an error. */
4934 /* We use char because int might match the return type of a gcc2
4935 builtin and then its argument prototype would still apply. */
4942 if { (eval echo configure:4943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4944 eval "ac_cv_lib_$ac_lib_var=yes"
4946 echo "configure: failed program was:" >&5
4947 cat conftest.$ac_ext >&5
4949 eval "ac_cv_lib_$ac_lib_var=no"
4952 LIBS="$ac_save_LIBS"
4955 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4956 echo "$ac_t""yes" 1>&6
4959 echo "$ac_t""no" 1>&6
4962 ac_save_LIBS="$LIBS"
4963 LIBS="$LIBS $libiconv"
4965 for ac_func in iconv_open iconv_close iconv nl_langinfo
4967 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4968 echo "configure:4969: checking for $ac_func" >&5
4969 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4970 echo $ac_n "(cached) $ac_c" 1>&6
4972 cat > conftest.$ac_ext <<EOF
4973 #line 4974 "configure"
4974 #include "confdefs.h"
4975 /* System header to define __stub macros and hopefully few prototypes,
4976 which can conflict with char $ac_func(); below. */
4978 /* Override any gcc2 internal prototype to avoid an error. */
4979 /* We use char because int might match the return type of a gcc2
4980 builtin and then its argument prototype would still apply. */
4985 /* The GNU C library defines this for functions which it implements
4986 to always fail with ENOSYS. Some functions are actually named
4987 something starting with __ and the normal name is an alias. */
4988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4996 if { (eval echo configure:4997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4998 eval "ac_cv_func_$ac_func=yes"
5000 echo "configure: failed program was:" >&5
5001 cat conftest.$ac_ext >&5
5003 eval "ac_cv_func_$ac_func=no"
5008 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5009 echo "$ac_t""yes" 1>&6
5010 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5011 cat >> confdefs.h <<EOF
5012 #define $ac_tr_func 1
5017 echo "$ac_t""no" 1>&6
5023 LIBS="$ac_save_LIBS"
5025 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5026 echo "configure:5027: checking for XPG2 wchar_t support" >&5
5027 if test x"$ac_has_iconv_h" = xyes &&
5028 test x"$ac_has_langinfo_h" = xyes &&
5029 test x"$ac_XPG2funcs" = xyes; then
5034 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5036 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5037 echo "configure:5038: checking for enabled wchar_t specializations" >&5
5038 if test x"$ac_isoC99_wchar_t" = xyes &&
5039 test x"$ac_XPG2_wchar_t" = xyes; then
5040 cat >> confdefs.h <<\EOF
5041 #define _GLIBCPP_USE_WCHAR_T 1
5044 echo "$ac_t"""yes"" 1>&6
5046 echo "$ac_t"""no"" 1>&6
5049 echo "configure: warning: wchar_t support disabled." 1>&2
5052 os_include_dir="config/os/gnu-linux"
5053 cat >> confdefs.h <<\EOF
5054 #define HAVE_COPYSIGN 1
5057 cat >> confdefs.h <<\EOF
5058 #define HAVE_COPYSIGNF 1
5061 cat >> confdefs.h <<\EOF
5062 #define HAVE_FINITEF 1
5065 cat >> confdefs.h <<\EOF
5066 #define HAVE_FREXPF 1
5069 cat >> confdefs.h <<\EOF
5070 #define HAVE_HYPOTF 1
5073 cat >> confdefs.h <<\EOF
5074 #define HAVE_SINCOS 1
5077 cat >> confdefs.h <<\EOF
5078 #define HAVE_SINCOSF 1
5081 if test x"long_double_math_on_this_cpu" = x"yes"; then
5082 cat >> confdefs.h <<\EOF
5083 #define HAVE_HYPOTL 1
5089 # Check for available headers.
5090 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5091 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5092 fp.h locale.h float.h inttypes.h
5094 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5095 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5096 echo "configure:5097: checking for $ac_hdr" >&5
5097 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5098 echo $ac_n "(cached) $ac_c" 1>&6
5100 cat > conftest.$ac_ext <<EOF
5101 #line 5102 "configure"
5102 #include "confdefs.h"
5105 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5106 { (eval echo configure:5107: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5107 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5108 if test -z "$ac_err"; then
5110 eval "ac_cv_header_$ac_safe=yes"
5113 echo "configure: failed program was:" >&5
5114 cat conftest.$ac_ext >&5
5116 eval "ac_cv_header_$ac_safe=no"
5120 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5121 echo "$ac_t""yes" 1>&6
5122 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5123 cat >> confdefs.h <<EOF
5124 #define $ac_tr_hdr 1
5128 echo "$ac_t""no" 1>&6
5132 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5135 # If we're not using GNU ld, then there's no point in even trying these
5136 # tests. Check for that first. We should have already tested for gld
5137 # by now (in libtool), but require it now just to be safe...
5138 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5139 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5142 # The name set by libtool depends on the version of libtool. Shame on us
5143 # for depending on an impl detail, but c'est la vie. Older versions used
5144 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5145 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5146 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5147 # set (hence we're using an older libtool), then set it.
5148 if test x${with_gnu_ld+set} != xset; then
5149 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5150 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
5153 with_gnu_ld=$ac_cv_prog_gnu_ld
5157 # Start by getting the version number. I think the libtool test already
5158 # does some of this, but throws away the result.
5160 ldver=`$LD --version 2>/dev/null | head -1 | \
5161 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5163 glibcpp_gnu_ld_version=`echo $ldver | \
5164 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5166 # Set --gc-sections.
5167 if test "$with_gnu_ld" = "notbroken"; then
5168 # GNU ld it is! Joy and bunny rabbits!
5170 # All these tests are for C++; save the language and the compiler flags.
5171 # Need to do this so that g++ won't try to link in libstdc++
5172 ac_test_CFLAGS="${CFLAGS+set}"
5173 ac_save_CFLAGS="$CFLAGS"
5174 CFLAGS='-x c++ -Wl,--gc-sections'
5176 # Check for -Wl,--gc-sections
5177 # XXX This test is broken at the moment, as symbols required for
5178 # linking are now in libsupc++ (not built yet.....). In addition,
5179 # this test has cored on solaris in the past. In addition,
5180 # --gc-sections doesn't really work at the moment (keeps on discarding
5181 # used sections, first .eh_frame and now some of the glibc sections for
5182 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5183 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5184 echo "configure:5185: checking for ld that supports -Wl,--gc-sections" >&5
5185 if test "$cross_compiling" = yes; then
5186 ac_sectionLDflags=yes
5188 cat > conftest.$ac_ext <<EOF
5189 #line 5190 "configure"
5190 #include "confdefs.h"
5200 if { (eval echo configure:5201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5202 ac_sectionLDflags=yes
5204 echo "configure: failed program was:" >&5
5205 cat conftest.$ac_ext >&5
5207 ac_sectionLDflags=no
5212 if test "$ac_test_CFLAGS" = set; then
5213 CFLAGS="$ac_save_CFLAGS"
5215 # this is the suspicious part
5218 if test "$ac_sectionLDflags" = "yes"; then
5219 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5221 echo "$ac_t""$ac_sectionLDflags" 1>&6
5224 # Set linker optimization flags.
5225 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
5226 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5233 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
5234 echo "configure:5235: checking for main in -lm" >&5
5235 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5236 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5237 echo $ac_n "(cached) $ac_c" 1>&6
5239 ac_save_LIBS="$LIBS"
5241 cat > conftest.$ac_ext <<EOF
5242 #line 5243 "configure"
5243 #include "confdefs.h"
5249 if { (eval echo configure:5250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5251 eval "ac_cv_lib_$ac_lib_var=yes"
5253 echo "configure: failed program was:" >&5
5254 cat conftest.$ac_ext >&5
5256 eval "ac_cv_lib_$ac_lib_var=no"
5259 LIBS="$ac_save_LIBS"
5262 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5263 echo "$ac_t""yes" 1>&6
5264 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5265 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5266 cat >> confdefs.h <<EOF
5267 #define $ac_tr_lib 1
5273 echo "$ac_t""no" 1>&6
5276 for ac_func in nan copysignf
5278 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5279 echo "configure:5280: checking for $ac_func" >&5
5280 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5281 echo $ac_n "(cached) $ac_c" 1>&6
5283 cat > conftest.$ac_ext <<EOF
5284 #line 5285 "configure"
5285 #include "confdefs.h"
5286 /* System header to define __stub macros and hopefully few prototypes,
5287 which can conflict with char $ac_func(); below. */
5289 /* Override any gcc2 internal prototype to avoid an error. */
5290 /* We use char because int might match the return type of a gcc2
5291 builtin and then its argument prototype would still apply. */
5296 /* The GNU C library defines this for functions which it implements
5297 to always fail with ENOSYS. Some functions are actually named
5298 something starting with __ and the normal name is an alias. */
5299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5307 if { (eval echo configure:5308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5309 eval "ac_cv_func_$ac_func=yes"
5311 echo "configure: failed program was:" >&5
5312 cat conftest.$ac_ext >&5
5314 eval "ac_cv_func_$ac_func=no"
5319 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5320 echo "$ac_t""yes" 1>&6
5321 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5322 cat >> confdefs.h <<EOF
5323 #define $ac_tr_func 1
5327 echo "$ac_t""no" 1>&6
5328 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5333 for ac_func in __signbit
5335 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5336 echo "configure:5337: checking for $ac_func" >&5
5337 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5338 echo $ac_n "(cached) $ac_c" 1>&6
5340 cat > conftest.$ac_ext <<EOF
5341 #line 5342 "configure"
5342 #include "confdefs.h"
5343 /* System header to define __stub macros and hopefully few prototypes,
5344 which can conflict with char $ac_func(); below. */
5346 /* Override any gcc2 internal prototype to avoid an error. */
5347 /* We use char because int might match the return type of a gcc2
5348 builtin and then its argument prototype would still apply. */
5353 /* The GNU C library defines this for functions which it implements
5354 to always fail with ENOSYS. Some functions are actually named
5355 something starting with __ and the normal name is an alias. */
5356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5364 if { (eval echo configure:5365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5366 eval "ac_cv_func_$ac_func=yes"
5368 echo "configure: failed program was:" >&5
5369 cat conftest.$ac_ext >&5
5371 eval "ac_cv_func_$ac_func=no"
5376 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5377 echo "$ac_t""yes" 1>&6
5378 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5379 cat >> confdefs.h <<EOF
5380 #define $ac_tr_func 1
5384 echo "$ac_t""no" 1>&6
5385 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
5389 for ac_func in __signbitf
5391 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5392 echo "configure:5393: checking for $ac_func" >&5
5393 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5394 echo $ac_n "(cached) $ac_c" 1>&6
5396 cat > conftest.$ac_ext <<EOF
5397 #line 5398 "configure"
5398 #include "confdefs.h"
5399 /* System header to define __stub macros and hopefully few prototypes,
5400 which can conflict with char $ac_func(); below. */
5402 /* Override any gcc2 internal prototype to avoid an error. */
5403 /* We use char because int might match the return type of a gcc2
5404 builtin and then its argument prototype would still apply. */
5409 /* The GNU C library defines this for functions which it implements
5410 to always fail with ENOSYS. Some functions are actually named
5411 something starting with __ and the normal name is an alias. */
5412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5420 if { (eval echo configure:5421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5422 eval "ac_cv_func_$ac_func=yes"
5424 echo "configure: failed program was:" >&5
5425 cat conftest.$ac_ext >&5
5427 eval "ac_cv_func_$ac_func=no"
5432 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5433 echo "$ac_t""yes" 1>&6
5434 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5435 cat >> confdefs.h <<EOF
5436 #define $ac_tr_func 1
5440 echo "$ac_t""no" 1>&6
5441 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
5446 if test x$ac_cv_func_copysignl = x"yes"; then
5447 for ac_func in __signbitl
5449 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5450 echo "configure:5451: checking for $ac_func" >&5
5451 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5452 echo $ac_n "(cached) $ac_c" 1>&6
5454 cat > conftest.$ac_ext <<EOF
5455 #line 5456 "configure"
5456 #include "confdefs.h"
5457 /* System header to define __stub macros and hopefully few prototypes,
5458 which can conflict with char $ac_func(); below. */
5460 /* Override any gcc2 internal prototype to avoid an error. */
5461 /* We use char because int might match the return type of a gcc2
5462 builtin and then its argument prototype would still apply. */
5467 /* The GNU C library defines this for functions which it implements
5468 to always fail with ENOSYS. Some functions are actually named
5469 something starting with __ and the normal name is an alias. */
5470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5478 if { (eval echo configure:5479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5480 eval "ac_cv_func_$ac_func=yes"
5482 echo "configure: failed program was:" >&5
5483 cat conftest.$ac_ext >&5
5485 eval "ac_cv_func_$ac_func=no"
5490 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5491 echo "$ac_t""yes" 1>&6
5492 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5493 cat >> confdefs.h <<EOF
5494 #define $ac_tr_func 1
5498 echo "$ac_t""no" 1>&6
5499 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
5509 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
5510 echo "configure:5511: checking for mbstate_t" >&5
5511 cat > conftest.$ac_ext <<EOF
5512 #line 5513 "configure"
5513 #include "confdefs.h"
5516 mbstate_t teststate;
5519 if { (eval echo configure:5520: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5523 echo "configure: failed program was:" >&5
5524 cat conftest.$ac_ext >&5
5529 echo "$ac_t""$have_mbstate_t" 1>&6
5530 if test x"$have_mbstate_t" = xyes; then
5531 cat >> confdefs.h <<\EOF
5532 #define HAVE_MBSTATE_T 1
5537 for ac_hdr in wchar.h
5539 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5540 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5541 echo "configure:5542: checking for $ac_hdr" >&5
5542 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5543 echo $ac_n "(cached) $ac_c" 1>&6
5545 cat > conftest.$ac_ext <<EOF
5546 #line 5547 "configure"
5547 #include "confdefs.h"
5550 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5551 { (eval echo configure:5552: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5552 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5553 if test -z "$ac_err"; then
5555 eval "ac_cv_header_$ac_safe=yes"
5558 echo "configure: failed program was:" >&5
5559 cat conftest.$ac_ext >&5
5561 eval "ac_cv_header_$ac_safe=no"
5565 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5566 echo "$ac_t""yes" 1>&6
5567 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5568 cat >> confdefs.h <<EOF
5569 #define $ac_tr_hdr 1
5573 echo "$ac_t""no" 1>&6
5578 for ac_hdr in wctype.h
5580 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5581 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5582 echo "configure:5583: checking for $ac_hdr" >&5
5583 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5584 echo $ac_n "(cached) $ac_c" 1>&6
5586 cat > conftest.$ac_ext <<EOF
5587 #line 5588 "configure"
5588 #include "confdefs.h"
5591 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5592 { (eval echo configure:5593: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5593 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5594 if test -z "$ac_err"; then
5596 eval "ac_cv_header_$ac_safe=yes"
5599 echo "configure: failed program was:" >&5
5600 cat conftest.$ac_ext >&5
5602 eval "ac_cv_header_$ac_safe=no"
5606 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5607 echo "$ac_t""yes" 1>&6
5608 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5609 cat >> confdefs.h <<EOF
5610 #define $ac_tr_hdr 1
5614 echo "$ac_t""no" 1>&6
5620 if test x"$ac_has_wchar_h" = xyes &&
5621 test x"$ac_has_wctype_h" = xyes &&
5622 test x"$enable_c_mbchar" != xno; then
5624 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
5625 echo "configure:5626: checking for WCHAR_MIN and WCHAR_MAX" >&5
5626 cat > conftest.$ac_ext <<EOF
5627 #line 5628 "configure"
5628 #include "confdefs.h"
5631 int i = WCHAR_MIN; int j = WCHAR_MAX;
5634 if { (eval echo configure:5635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5636 has_wchar_minmax=yes
5638 echo "configure: failed program was:" >&5
5639 cat conftest.$ac_ext >&5
5644 echo "$ac_t""$has_wchar_minmax" 1>&6
5646 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
5647 echo "configure:5648: checking for WEOF" >&5
5648 cat > conftest.$ac_ext <<EOF
5649 #line 5650 "configure"
5650 #include "confdefs.h"
5658 if { (eval echo configure:5659: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5662 echo "configure: failed program was:" >&5
5663 cat conftest.$ac_ext >&5
5668 echo "$ac_t""$has_weof" 1>&6
5671 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5673 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5674 echo "configure:5675: checking for $ac_func" >&5
5675 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5676 echo $ac_n "(cached) $ac_c" 1>&6
5678 cat > conftest.$ac_ext <<EOF
5679 #line 5680 "configure"
5680 #include "confdefs.h"
5681 /* System header to define __stub macros and hopefully few prototypes,
5682 which can conflict with char $ac_func(); below. */
5684 /* Override any gcc2 internal prototype to avoid an error. */
5685 /* We use char because int might match the return type of a gcc2
5686 builtin and then its argument prototype would still apply. */
5691 /* The GNU C library defines this for functions which it implements
5692 to always fail with ENOSYS. Some functions are actually named
5693 something starting with __ and the normal name is an alias. */
5694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5702 if { (eval echo configure:5703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5704 eval "ac_cv_func_$ac_func=yes"
5706 echo "configure: failed program was:" >&5
5707 cat conftest.$ac_ext >&5
5709 eval "ac_cv_func_$ac_func=no"
5714 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5715 echo "$ac_t""yes" 1>&6
5716 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5717 cat >> confdefs.h <<EOF
5718 #define $ac_tr_func 1
5722 echo "$ac_t""no" 1>&6
5729 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
5730 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5731 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5732 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5733 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5734 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5736 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5737 echo "configure:5738: checking for $ac_func" >&5
5738 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5739 echo $ac_n "(cached) $ac_c" 1>&6
5741 cat > conftest.$ac_ext <<EOF
5742 #line 5743 "configure"
5743 #include "confdefs.h"
5744 /* System header to define __stub macros and hopefully few prototypes,
5745 which can conflict with char $ac_func(); below. */
5747 /* Override any gcc2 internal prototype to avoid an error. */
5748 /* We use char because int might match the return type of a gcc2
5749 builtin and then its argument prototype would still apply. */
5754 /* The GNU C library defines this for functions which it implements
5755 to always fail with ENOSYS. Some functions are actually named
5756 something starting with __ and the normal name is an alias. */
5757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5765 if { (eval echo configure:5766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5767 eval "ac_cv_func_$ac_func=yes"
5769 echo "configure: failed program was:" >&5
5770 cat conftest.$ac_ext >&5
5772 eval "ac_cv_func_$ac_func=no"
5777 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5778 echo "$ac_t""yes" 1>&6
5779 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5780 cat >> confdefs.h <<EOF
5781 #define $ac_tr_func 1
5785 echo "$ac_t""no" 1>&6
5792 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
5793 echo "configure:5794: checking for ISO C99 wchar_t support" >&5
5794 if test x"$has_weof" = xyes &&
5795 test x"$has_wchar_minmax" = xyes &&
5796 test x"$ac_wfuncs" = xyes; then
5797 ac_isoC99_wchar_t=yes
5799 ac_isoC99_wchar_t=no
5801 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5803 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
5804 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
5805 echo "configure:5806: checking for iconv.h" >&5
5806 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5807 echo $ac_n "(cached) $ac_c" 1>&6
5809 cat > conftest.$ac_ext <<EOF
5810 #line 5811 "configure"
5811 #include "confdefs.h"
5814 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5815 { (eval echo configure:5816: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5816 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5817 if test -z "$ac_err"; then
5819 eval "ac_cv_header_$ac_safe=yes"
5822 echo "configure: failed program was:" >&5
5823 cat conftest.$ac_ext >&5
5825 eval "ac_cv_header_$ac_safe=no"
5829 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5830 echo "$ac_t""yes" 1>&6
5833 echo "$ac_t""no" 1>&6
5837 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
5838 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
5839 echo "configure:5840: checking for langinfo.h" >&5
5840 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5841 echo $ac_n "(cached) $ac_c" 1>&6
5843 cat > conftest.$ac_ext <<EOF
5844 #line 5845 "configure"
5845 #include "confdefs.h"
5846 #include <langinfo.h>
5848 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5849 { (eval echo configure:5850: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5850 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5851 if test -z "$ac_err"; then
5853 eval "ac_cv_header_$ac_safe=yes"
5856 echo "configure: failed program was:" >&5
5857 cat conftest.$ac_ext >&5
5859 eval "ac_cv_header_$ac_safe=no"
5863 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5864 echo "$ac_t""yes" 1>&6
5865 ac_has_langinfo_h=yes
5867 echo "$ac_t""no" 1>&6
5868 ac_has_langinfo_h=no
5872 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
5873 echo "configure:5874: checking for iconv in -liconv" >&5
5874 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5875 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5876 echo $ac_n "(cached) $ac_c" 1>&6
5878 ac_save_LIBS="$LIBS"
5879 LIBS="-liconv $LIBS"
5880 cat > conftest.$ac_ext <<EOF
5881 #line 5882 "configure"
5882 #include "confdefs.h"
5883 /* Override any gcc2 internal prototype to avoid an error. */
5884 /* We use char because int might match the return type of a gcc2
5885 builtin and then its argument prototype would still apply. */
5892 if { (eval echo configure:5893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5894 eval "ac_cv_lib_$ac_lib_var=yes"
5896 echo "configure: failed program was:" >&5
5897 cat conftest.$ac_ext >&5
5899 eval "ac_cv_lib_$ac_lib_var=no"
5902 LIBS="$ac_save_LIBS"
5905 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5906 echo "$ac_t""yes" 1>&6
5909 echo "$ac_t""no" 1>&6
5912 ac_save_LIBS="$LIBS"
5913 LIBS="$LIBS $libiconv"
5915 for ac_func in iconv_open iconv_close iconv nl_langinfo
5917 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5918 echo "configure:5919: checking for $ac_func" >&5
5919 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5920 echo $ac_n "(cached) $ac_c" 1>&6
5922 cat > conftest.$ac_ext <<EOF
5923 #line 5924 "configure"
5924 #include "confdefs.h"
5925 /* System header to define __stub macros and hopefully few prototypes,
5926 which can conflict with char $ac_func(); below. */
5928 /* Override any gcc2 internal prototype to avoid an error. */
5929 /* We use char because int might match the return type of a gcc2
5930 builtin and then its argument prototype would still apply. */
5935 /* The GNU C library defines this for functions which it implements
5936 to always fail with ENOSYS. Some functions are actually named
5937 something starting with __ and the normal name is an alias. */
5938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5946 if { (eval echo configure:5947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5948 eval "ac_cv_func_$ac_func=yes"
5950 echo "configure: failed program was:" >&5
5951 cat conftest.$ac_ext >&5
5953 eval "ac_cv_func_$ac_func=no"
5958 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5959 echo "$ac_t""yes" 1>&6
5960 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5961 cat >> confdefs.h <<EOF
5962 #define $ac_tr_func 1
5967 echo "$ac_t""no" 1>&6
5973 LIBS="$ac_save_LIBS"
5975 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5976 echo "configure:5977: checking for XPG2 wchar_t support" >&5
5977 if test x"$ac_has_iconv_h" = xyes &&
5978 test x"$ac_has_langinfo_h" = xyes &&
5979 test x"$ac_XPG2funcs" = xyes; then
5984 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5986 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5987 echo "configure:5988: checking for enabled wchar_t specializations" >&5
5988 if test x"$ac_isoC99_wchar_t" = xyes &&
5989 test x"$ac_XPG2_wchar_t" = xyes; then
5990 cat >> confdefs.h <<\EOF
5991 #define _GLIBCPP_USE_WCHAR_T 1
5994 echo "$ac_t"""yes"" 1>&6
5996 echo "$ac_t"""no"" 1>&6
5999 echo "configure: warning: wchar_t support disabled." 1>&2
6002 os_include_dir="config/os/hpux"
6003 cat >> confdefs.h <<\EOF
6004 #define HAVE_COPYSIGN 1
6007 cat >> confdefs.h <<\EOF
6008 #define HAVE_COPYSIGNF 1
6011 cat >> confdefs.h <<\EOF
6012 #define HAVE_FINITEF 1
6015 cat >> confdefs.h <<\EOF
6016 #define HAVE_FREXPF 1
6019 cat >> confdefs.h <<\EOF
6020 #define HAVE_HYPOT 1
6023 cat >> confdefs.h <<\EOF
6024 #define HAVE_SINCOS 1
6027 cat >> confdefs.h <<\EOF
6028 #define HAVE_SINCOSF 1
6033 # Check for available headers.
6034 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6035 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6036 fp.h locale.h float.h inttypes.h
6038 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6039 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6040 echo "configure:6041: checking for $ac_hdr" >&5
6041 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6042 echo $ac_n "(cached) $ac_c" 1>&6
6044 cat > conftest.$ac_ext <<EOF
6045 #line 6046 "configure"
6046 #include "confdefs.h"
6049 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6050 { (eval echo configure:6051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6051 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6052 if test -z "$ac_err"; then
6054 eval "ac_cv_header_$ac_safe=yes"
6057 echo "configure: failed program was:" >&5
6058 cat conftest.$ac_ext >&5
6060 eval "ac_cv_header_$ac_safe=no"
6064 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6065 echo "$ac_t""yes" 1>&6
6066 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6067 cat >> confdefs.h <<EOF
6068 #define $ac_tr_hdr 1
6072 echo "$ac_t""no" 1>&6
6076 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6079 # If we're not using GNU ld, then there's no point in even trying these
6080 # tests. Check for that first. We should have already tested for gld
6081 # by now (in libtool), but require it now just to be safe...
6082 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6083 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6086 # The name set by libtool depends on the version of libtool. Shame on us
6087 # for depending on an impl detail, but c'est la vie. Older versions used
6088 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6089 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6090 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6091 # set (hence we're using an older libtool), then set it.
6092 if test x${with_gnu_ld+set} != xset; then
6093 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6094 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
6097 with_gnu_ld=$ac_cv_prog_gnu_ld
6101 # Start by getting the version number. I think the libtool test already
6102 # does some of this, but throws away the result.
6104 ldver=`$LD --version 2>/dev/null | head -1 | \
6105 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6107 glibcpp_gnu_ld_version=`echo $ldver | \
6108 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6110 # Set --gc-sections.
6111 if test "$with_gnu_ld" = "notbroken"; then
6112 # GNU ld it is! Joy and bunny rabbits!
6114 # All these tests are for C++; save the language and the compiler flags.
6115 # Need to do this so that g++ won't try to link in libstdc++
6116 ac_test_CFLAGS="${CFLAGS+set}"
6117 ac_save_CFLAGS="$CFLAGS"
6118 CFLAGS='-x c++ -Wl,--gc-sections'
6120 # Check for -Wl,--gc-sections
6121 # XXX This test is broken at the moment, as symbols required for
6122 # linking are now in libsupc++ (not built yet.....). In addition,
6123 # this test has cored on solaris in the past. In addition,
6124 # --gc-sections doesn't really work at the moment (keeps on discarding
6125 # used sections, first .eh_frame and now some of the glibc sections for
6126 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6127 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
6128 echo "configure:6129: checking for ld that supports -Wl,--gc-sections" >&5
6129 if test "$cross_compiling" = yes; then
6130 ac_sectionLDflags=yes
6132 cat > conftest.$ac_ext <<EOF
6133 #line 6134 "configure"
6134 #include "confdefs.h"
6144 if { (eval echo configure:6145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6146 ac_sectionLDflags=yes
6148 echo "configure: failed program was:" >&5
6149 cat conftest.$ac_ext >&5
6151 ac_sectionLDflags=no
6156 if test "$ac_test_CFLAGS" = set; then
6157 CFLAGS="$ac_save_CFLAGS"
6159 # this is the suspicious part
6162 if test "$ac_sectionLDflags" = "yes"; then
6163 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6165 echo "$ac_t""$ac_sectionLDflags" 1>&6
6168 # Set linker optimization flags.
6169 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
6170 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6177 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
6178 echo "configure:6179: checking for main in -lm" >&5
6179 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6180 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6181 echo $ac_n "(cached) $ac_c" 1>&6
6183 ac_save_LIBS="$LIBS"
6185 cat > conftest.$ac_ext <<EOF
6186 #line 6187 "configure"
6187 #include "confdefs.h"
6193 if { (eval echo configure:6194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6195 eval "ac_cv_lib_$ac_lib_var=yes"
6197 echo "configure: failed program was:" >&5
6198 cat conftest.$ac_ext >&5
6200 eval "ac_cv_lib_$ac_lib_var=no"
6203 LIBS="$ac_save_LIBS"
6206 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6207 echo "$ac_t""yes" 1>&6
6208 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6209 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6210 cat >> confdefs.h <<EOF
6211 #define $ac_tr_lib 1
6217 echo "$ac_t""no" 1>&6
6220 for ac_func in nan copysignf
6222 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6223 echo "configure:6224: checking for $ac_func" >&5
6224 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6225 echo $ac_n "(cached) $ac_c" 1>&6
6227 cat > conftest.$ac_ext <<EOF
6228 #line 6229 "configure"
6229 #include "confdefs.h"
6230 /* System header to define __stub macros and hopefully few prototypes,
6231 which can conflict with char $ac_func(); below. */
6233 /* Override any gcc2 internal prototype to avoid an error. */
6234 /* We use char because int might match the return type of a gcc2
6235 builtin and then its argument prototype would still apply. */
6240 /* The GNU C library defines this for functions which it implements
6241 to always fail with ENOSYS. Some functions are actually named
6242 something starting with __ and the normal name is an alias. */
6243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6251 if { (eval echo configure:6252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6253 eval "ac_cv_func_$ac_func=yes"
6255 echo "configure: failed program was:" >&5
6256 cat conftest.$ac_ext >&5
6258 eval "ac_cv_func_$ac_func=no"
6263 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6264 echo "$ac_t""yes" 1>&6
6265 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6266 cat >> confdefs.h <<EOF
6267 #define $ac_tr_func 1
6271 echo "$ac_t""no" 1>&6
6272 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
6277 for ac_func in __signbit
6279 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6280 echo "configure:6281: checking for $ac_func" >&5
6281 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6282 echo $ac_n "(cached) $ac_c" 1>&6
6284 cat > conftest.$ac_ext <<EOF
6285 #line 6286 "configure"
6286 #include "confdefs.h"
6287 /* System header to define __stub macros and hopefully few prototypes,
6288 which can conflict with char $ac_func(); below. */
6290 /* Override any gcc2 internal prototype to avoid an error. */
6291 /* We use char because int might match the return type of a gcc2
6292 builtin and then its argument prototype would still apply. */
6297 /* The GNU C library defines this for functions which it implements
6298 to always fail with ENOSYS. Some functions are actually named
6299 something starting with __ and the normal name is an alias. */
6300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6308 if { (eval echo configure:6309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6310 eval "ac_cv_func_$ac_func=yes"
6312 echo "configure: failed program was:" >&5
6313 cat conftest.$ac_ext >&5
6315 eval "ac_cv_func_$ac_func=no"
6320 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6321 echo "$ac_t""yes" 1>&6
6322 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6323 cat >> confdefs.h <<EOF
6324 #define $ac_tr_func 1
6328 echo "$ac_t""no" 1>&6
6329 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
6333 for ac_func in __signbitf
6335 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6336 echo "configure:6337: checking for $ac_func" >&5
6337 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6338 echo $ac_n "(cached) $ac_c" 1>&6
6340 cat > conftest.$ac_ext <<EOF
6341 #line 6342 "configure"
6342 #include "confdefs.h"
6343 /* System header to define __stub macros and hopefully few prototypes,
6344 which can conflict with char $ac_func(); below. */
6346 /* Override any gcc2 internal prototype to avoid an error. */
6347 /* We use char because int might match the return type of a gcc2
6348 builtin and then its argument prototype would still apply. */
6353 /* The GNU C library defines this for functions which it implements
6354 to always fail with ENOSYS. Some functions are actually named
6355 something starting with __ and the normal name is an alias. */
6356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6364 if { (eval echo configure:6365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6366 eval "ac_cv_func_$ac_func=yes"
6368 echo "configure: failed program was:" >&5
6369 cat conftest.$ac_ext >&5
6371 eval "ac_cv_func_$ac_func=no"
6376 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6377 echo "$ac_t""yes" 1>&6
6378 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6379 cat >> confdefs.h <<EOF
6380 #define $ac_tr_func 1
6384 echo "$ac_t""no" 1>&6
6385 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
6390 if test x$ac_cv_func_copysignl = x"yes"; then
6391 for ac_func in __signbitl
6393 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6394 echo "configure:6395: checking for $ac_func" >&5
6395 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6396 echo $ac_n "(cached) $ac_c" 1>&6
6398 cat > conftest.$ac_ext <<EOF
6399 #line 6400 "configure"
6400 #include "confdefs.h"
6401 /* System header to define __stub macros and hopefully few prototypes,
6402 which can conflict with char $ac_func(); below. */
6404 /* Override any gcc2 internal prototype to avoid an error. */
6405 /* We use char because int might match the return type of a gcc2
6406 builtin and then its argument prototype would still apply. */
6411 /* The GNU C library defines this for functions which it implements
6412 to always fail with ENOSYS. Some functions are actually named
6413 something starting with __ and the normal name is an alias. */
6414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6422 if { (eval echo configure:6423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6424 eval "ac_cv_func_$ac_func=yes"
6426 echo "configure: failed program was:" >&5
6427 cat conftest.$ac_ext >&5
6429 eval "ac_cv_func_$ac_func=no"
6434 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6435 echo "$ac_t""yes" 1>&6
6436 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6437 cat >> confdefs.h <<EOF
6438 #define $ac_tr_func 1
6442 echo "$ac_t""no" 1>&6
6443 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
6453 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
6454 echo "configure:6455: checking for mbstate_t" >&5
6455 cat > conftest.$ac_ext <<EOF
6456 #line 6457 "configure"
6457 #include "confdefs.h"
6460 mbstate_t teststate;
6463 if { (eval echo configure:6464: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6467 echo "configure: failed program was:" >&5
6468 cat conftest.$ac_ext >&5
6473 echo "$ac_t""$have_mbstate_t" 1>&6
6474 if test x"$have_mbstate_t" = xyes; then
6475 cat >> confdefs.h <<\EOF
6476 #define HAVE_MBSTATE_T 1
6481 for ac_hdr in wchar.h
6483 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6484 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6485 echo "configure:6486: checking for $ac_hdr" >&5
6486 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6487 echo $ac_n "(cached) $ac_c" 1>&6
6489 cat > conftest.$ac_ext <<EOF
6490 #line 6491 "configure"
6491 #include "confdefs.h"
6494 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6495 { (eval echo configure:6496: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6496 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6497 if test -z "$ac_err"; then
6499 eval "ac_cv_header_$ac_safe=yes"
6502 echo "configure: failed program was:" >&5
6503 cat conftest.$ac_ext >&5
6505 eval "ac_cv_header_$ac_safe=no"
6509 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6510 echo "$ac_t""yes" 1>&6
6511 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6512 cat >> confdefs.h <<EOF
6513 #define $ac_tr_hdr 1
6517 echo "$ac_t""no" 1>&6
6522 for ac_hdr in wctype.h
6524 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6525 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6526 echo "configure:6527: checking for $ac_hdr" >&5
6527 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6528 echo $ac_n "(cached) $ac_c" 1>&6
6530 cat > conftest.$ac_ext <<EOF
6531 #line 6532 "configure"
6532 #include "confdefs.h"
6535 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6536 { (eval echo configure:6537: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6537 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6538 if test -z "$ac_err"; then
6540 eval "ac_cv_header_$ac_safe=yes"
6543 echo "configure: failed program was:" >&5
6544 cat conftest.$ac_ext >&5
6546 eval "ac_cv_header_$ac_safe=no"
6550 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6551 echo "$ac_t""yes" 1>&6
6552 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6553 cat >> confdefs.h <<EOF
6554 #define $ac_tr_hdr 1
6558 echo "$ac_t""no" 1>&6
6564 if test x"$ac_has_wchar_h" = xyes &&
6565 test x"$ac_has_wctype_h" = xyes &&
6566 test x"$enable_c_mbchar" != xno; then
6568 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
6569 echo "configure:6570: checking for WCHAR_MIN and WCHAR_MAX" >&5
6570 cat > conftest.$ac_ext <<EOF
6571 #line 6572 "configure"
6572 #include "confdefs.h"
6575 int i = WCHAR_MIN; int j = WCHAR_MAX;
6578 if { (eval echo configure:6579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6580 has_wchar_minmax=yes
6582 echo "configure: failed program was:" >&5
6583 cat conftest.$ac_ext >&5
6588 echo "$ac_t""$has_wchar_minmax" 1>&6
6590 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
6591 echo "configure:6592: checking for WEOF" >&5
6592 cat > conftest.$ac_ext <<EOF
6593 #line 6594 "configure"
6594 #include "confdefs.h"
6602 if { (eval echo configure:6603: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6606 echo "configure: failed program was:" >&5
6607 cat conftest.$ac_ext >&5
6612 echo "$ac_t""$has_weof" 1>&6
6615 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6617 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6618 echo "configure:6619: checking for $ac_func" >&5
6619 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6620 echo $ac_n "(cached) $ac_c" 1>&6
6622 cat > conftest.$ac_ext <<EOF
6623 #line 6624 "configure"
6624 #include "confdefs.h"
6625 /* System header to define __stub macros and hopefully few prototypes,
6626 which can conflict with char $ac_func(); below. */
6628 /* Override any gcc2 internal prototype to avoid an error. */
6629 /* We use char because int might match the return type of a gcc2
6630 builtin and then its argument prototype would still apply. */
6635 /* The GNU C library defines this for functions which it implements
6636 to always fail with ENOSYS. Some functions are actually named
6637 something starting with __ and the normal name is an alias. */
6638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6646 if { (eval echo configure:6647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6648 eval "ac_cv_func_$ac_func=yes"
6650 echo "configure: failed program was:" >&5
6651 cat conftest.$ac_ext >&5
6653 eval "ac_cv_func_$ac_func=no"
6658 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6659 echo "$ac_t""yes" 1>&6
6660 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6661 cat >> confdefs.h <<EOF
6662 #define $ac_tr_func 1
6666 echo "$ac_t""no" 1>&6
6673 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
6674 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6675 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6676 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6677 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6678 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6680 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6681 echo "configure:6682: checking for $ac_func" >&5
6682 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6683 echo $ac_n "(cached) $ac_c" 1>&6
6685 cat > conftest.$ac_ext <<EOF
6686 #line 6687 "configure"
6687 #include "confdefs.h"
6688 /* System header to define __stub macros and hopefully few prototypes,
6689 which can conflict with char $ac_func(); below. */
6691 /* Override any gcc2 internal prototype to avoid an error. */
6692 /* We use char because int might match the return type of a gcc2
6693 builtin and then its argument prototype would still apply. */
6698 /* The GNU C library defines this for functions which it implements
6699 to always fail with ENOSYS. Some functions are actually named
6700 something starting with __ and the normal name is an alias. */
6701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6709 if { (eval echo configure:6710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6711 eval "ac_cv_func_$ac_func=yes"
6713 echo "configure: failed program was:" >&5
6714 cat conftest.$ac_ext >&5
6716 eval "ac_cv_func_$ac_func=no"
6721 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6722 echo "$ac_t""yes" 1>&6
6723 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6724 cat >> confdefs.h <<EOF
6725 #define $ac_tr_func 1
6729 echo "$ac_t""no" 1>&6
6736 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
6737 echo "configure:6738: checking for ISO C99 wchar_t support" >&5
6738 if test x"$has_weof" = xyes &&
6739 test x"$has_wchar_minmax" = xyes &&
6740 test x"$ac_wfuncs" = xyes; then
6741 ac_isoC99_wchar_t=yes
6743 ac_isoC99_wchar_t=no
6745 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6747 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
6748 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
6749 echo "configure:6750: checking for iconv.h" >&5
6750 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6751 echo $ac_n "(cached) $ac_c" 1>&6
6753 cat > conftest.$ac_ext <<EOF
6754 #line 6755 "configure"
6755 #include "confdefs.h"
6758 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6759 { (eval echo configure:6760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6760 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6761 if test -z "$ac_err"; then
6763 eval "ac_cv_header_$ac_safe=yes"
6766 echo "configure: failed program was:" >&5
6767 cat conftest.$ac_ext >&5
6769 eval "ac_cv_header_$ac_safe=no"
6773 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6774 echo "$ac_t""yes" 1>&6
6777 echo "$ac_t""no" 1>&6
6781 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
6782 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
6783 echo "configure:6784: checking for langinfo.h" >&5
6784 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6785 echo $ac_n "(cached) $ac_c" 1>&6
6787 cat > conftest.$ac_ext <<EOF
6788 #line 6789 "configure"
6789 #include "confdefs.h"
6790 #include <langinfo.h>
6792 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6793 { (eval echo configure:6794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6794 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6795 if test -z "$ac_err"; then
6797 eval "ac_cv_header_$ac_safe=yes"
6800 echo "configure: failed program was:" >&5
6801 cat conftest.$ac_ext >&5
6803 eval "ac_cv_header_$ac_safe=no"
6807 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6808 echo "$ac_t""yes" 1>&6
6809 ac_has_langinfo_h=yes
6811 echo "$ac_t""no" 1>&6
6812 ac_has_langinfo_h=no
6816 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
6817 echo "configure:6818: checking for iconv in -liconv" >&5
6818 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6819 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6820 echo $ac_n "(cached) $ac_c" 1>&6
6822 ac_save_LIBS="$LIBS"
6823 LIBS="-liconv $LIBS"
6824 cat > conftest.$ac_ext <<EOF
6825 #line 6826 "configure"
6826 #include "confdefs.h"
6827 /* Override any gcc2 internal prototype to avoid an error. */
6828 /* We use char because int might match the return type of a gcc2
6829 builtin and then its argument prototype would still apply. */
6836 if { (eval echo configure:6837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6838 eval "ac_cv_lib_$ac_lib_var=yes"
6840 echo "configure: failed program was:" >&5
6841 cat conftest.$ac_ext >&5
6843 eval "ac_cv_lib_$ac_lib_var=no"
6846 LIBS="$ac_save_LIBS"
6849 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6850 echo "$ac_t""yes" 1>&6
6853 echo "$ac_t""no" 1>&6
6856 ac_save_LIBS="$LIBS"
6857 LIBS="$LIBS $libiconv"
6859 for ac_func in iconv_open iconv_close iconv nl_langinfo
6861 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6862 echo "configure:6863: checking for $ac_func" >&5
6863 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6864 echo $ac_n "(cached) $ac_c" 1>&6
6866 cat > conftest.$ac_ext <<EOF
6867 #line 6868 "configure"
6868 #include "confdefs.h"
6869 /* System header to define __stub macros and hopefully few prototypes,
6870 which can conflict with char $ac_func(); below. */
6872 /* Override any gcc2 internal prototype to avoid an error. */
6873 /* We use char because int might match the return type of a gcc2
6874 builtin and then its argument prototype would still apply. */
6879 /* The GNU C library defines this for functions which it implements
6880 to always fail with ENOSYS. Some functions are actually named
6881 something starting with __ and the normal name is an alias. */
6882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6890 if { (eval echo configure:6891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6892 eval "ac_cv_func_$ac_func=yes"
6894 echo "configure: failed program was:" >&5
6895 cat conftest.$ac_ext >&5
6897 eval "ac_cv_func_$ac_func=no"
6902 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6903 echo "$ac_t""yes" 1>&6
6904 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6905 cat >> confdefs.h <<EOF
6906 #define $ac_tr_func 1
6911 echo "$ac_t""no" 1>&6
6917 LIBS="$ac_save_LIBS"
6919 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
6920 echo "configure:6921: checking for XPG2 wchar_t support" >&5
6921 if test x"$ac_has_iconv_h" = xyes &&
6922 test x"$ac_has_langinfo_h" = xyes &&
6923 test x"$ac_XPG2funcs" = xyes; then
6928 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6930 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
6931 echo "configure:6932: checking for enabled wchar_t specializations" >&5
6932 if test x"$ac_isoC99_wchar_t" = xyes &&
6933 test x"$ac_XPG2_wchar_t" = xyes; then
6934 cat >> confdefs.h <<\EOF
6935 #define _GLIBCPP_USE_WCHAR_T 1
6938 echo "$ac_t"""yes"" 1>&6
6940 echo "$ac_t"""no"" 1>&6
6943 echo "configure: warning: wchar_t support disabled." 1>&2
6946 os_include_dir="config/os/bsd/netbsd"
6947 cat >> confdefs.h <<\EOF
6948 #define HAVE_COPYSIGN 1
6951 cat >> confdefs.h <<\EOF
6952 #define HAVE_COPYSIGNF 1
6955 cat >> confdefs.h <<\EOF
6956 #define HAVE_FINITEF 1
6959 cat >> confdefs.h <<\EOF
6960 #define HAVE_FREXPF 1
6963 cat >> confdefs.h <<\EOF
6964 #define HAVE_HYPOTF 1
6969 for ac_hdr in sys/types.h locale.h float.h
6971 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6972 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6973 echo "configure:6974: checking for $ac_hdr" >&5
6974 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6975 echo $ac_n "(cached) $ac_c" 1>&6
6977 cat > conftest.$ac_ext <<EOF
6978 #line 6979 "configure"
6979 #include "confdefs.h"
6982 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6983 { (eval echo configure:6984: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6984 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6985 if test -z "$ac_err"; then
6987 eval "ac_cv_header_$ac_safe=yes"
6990 echo "configure: failed program was:" >&5
6991 cat conftest.$ac_ext >&5
6993 eval "ac_cv_header_$ac_safe=no"
6997 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6998 echo "$ac_t""yes" 1>&6
6999 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7000 cat >> confdefs.h <<EOF
7001 #define $ac_tr_hdr 1
7005 echo "$ac_t""no" 1>&6
7010 # If we're not using GNU ld, then there's no point in even trying these
7011 # tests. Check for that first. We should have already tested for gld
7012 # by now (in libtool), but require it now just to be safe...
7013 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7014 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7017 # The name set by libtool depends on the version of libtool. Shame on us
7018 # for depending on an impl detail, but c'est la vie. Older versions used
7019 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7020 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7021 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7022 # set (hence we're using an older libtool), then set it.
7023 if test x${with_gnu_ld+set} != xset; then
7024 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7025 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7028 with_gnu_ld=$ac_cv_prog_gnu_ld
7032 # Start by getting the version number. I think the libtool test already
7033 # does some of this, but throws away the result.
7035 ldver=`$LD --version 2>/dev/null | head -1 | \
7036 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7038 glibcpp_gnu_ld_version=`echo $ldver | \
7039 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7041 # Set --gc-sections.
7042 if test "$with_gnu_ld" = "notbroken"; then
7043 # GNU ld it is! Joy and bunny rabbits!
7045 # All these tests are for C++; save the language and the compiler flags.
7046 # Need to do this so that g++ won't try to link in libstdc++
7047 ac_test_CFLAGS="${CFLAGS+set}"
7048 ac_save_CFLAGS="$CFLAGS"
7049 CFLAGS='-x c++ -Wl,--gc-sections'
7051 # Check for -Wl,--gc-sections
7052 # XXX This test is broken at the moment, as symbols required for
7053 # linking are now in libsupc++ (not built yet.....). In addition,
7054 # this test has cored on solaris in the past. In addition,
7055 # --gc-sections doesn't really work at the moment (keeps on discarding
7056 # used sections, first .eh_frame and now some of the glibc sections for
7057 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7058 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
7059 echo "configure:7060: checking for ld that supports -Wl,--gc-sections" >&5
7060 if test "$cross_compiling" = yes; then
7061 ac_sectionLDflags=yes
7063 cat > conftest.$ac_ext <<EOF
7064 #line 7065 "configure"
7065 #include "confdefs.h"
7075 if { (eval echo configure:7076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7077 ac_sectionLDflags=yes
7079 echo "configure: failed program was:" >&5
7080 cat conftest.$ac_ext >&5
7082 ac_sectionLDflags=no
7087 if test "$ac_test_CFLAGS" = set; then
7088 CFLAGS="$ac_save_CFLAGS"
7090 # this is the suspicious part
7093 if test "$ac_sectionLDflags" = "yes"; then
7094 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7096 echo "$ac_t""$ac_sectionLDflags" 1>&6
7099 # Set linker optimization flags.
7100 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
7101 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7108 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
7109 echo "configure:7110: checking for main in -lm" >&5
7110 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7111 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7112 echo $ac_n "(cached) $ac_c" 1>&6
7114 ac_save_LIBS="$LIBS"
7116 cat > conftest.$ac_ext <<EOF
7117 #line 7118 "configure"
7118 #include "confdefs.h"
7124 if { (eval echo configure:7125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7126 eval "ac_cv_lib_$ac_lib_var=yes"
7128 echo "configure: failed program was:" >&5
7129 cat conftest.$ac_ext >&5
7131 eval "ac_cv_lib_$ac_lib_var=no"
7134 LIBS="$ac_save_LIBS"
7137 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7138 echo "$ac_t""yes" 1>&6
7139 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7140 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7141 cat >> confdefs.h <<EOF
7142 #define $ac_tr_lib 1
7148 echo "$ac_t""no" 1>&6
7151 for ac_func in nan copysignf
7153 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7154 echo "configure:7155: checking for $ac_func" >&5
7155 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7156 echo $ac_n "(cached) $ac_c" 1>&6
7158 cat > conftest.$ac_ext <<EOF
7159 #line 7160 "configure"
7160 #include "confdefs.h"
7161 /* System header to define __stub macros and hopefully few prototypes,
7162 which can conflict with char $ac_func(); below. */
7164 /* Override any gcc2 internal prototype to avoid an error. */
7165 /* We use char because int might match the return type of a gcc2
7166 builtin and then its argument prototype would still apply. */
7171 /* The GNU C library defines this for functions which it implements
7172 to always fail with ENOSYS. Some functions are actually named
7173 something starting with __ and the normal name is an alias. */
7174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7182 if { (eval echo configure:7183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7184 eval "ac_cv_func_$ac_func=yes"
7186 echo "configure: failed program was:" >&5
7187 cat conftest.$ac_ext >&5
7189 eval "ac_cv_func_$ac_func=no"
7194 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7195 echo "$ac_t""yes" 1>&6
7196 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7197 cat >> confdefs.h <<EOF
7198 #define $ac_tr_func 1
7202 echo "$ac_t""no" 1>&6
7203 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
7208 for ac_func in __signbit
7210 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7211 echo "configure:7212: checking for $ac_func" >&5
7212 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7213 echo $ac_n "(cached) $ac_c" 1>&6
7215 cat > conftest.$ac_ext <<EOF
7216 #line 7217 "configure"
7217 #include "confdefs.h"
7218 /* System header to define __stub macros and hopefully few prototypes,
7219 which can conflict with char $ac_func(); below. */
7221 /* Override any gcc2 internal prototype to avoid an error. */
7222 /* We use char because int might match the return type of a gcc2
7223 builtin and then its argument prototype would still apply. */
7228 /* The GNU C library defines this for functions which it implements
7229 to always fail with ENOSYS. Some functions are actually named
7230 something starting with __ and the normal name is an alias. */
7231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7239 if { (eval echo configure:7240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7241 eval "ac_cv_func_$ac_func=yes"
7243 echo "configure: failed program was:" >&5
7244 cat conftest.$ac_ext >&5
7246 eval "ac_cv_func_$ac_func=no"
7251 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7252 echo "$ac_t""yes" 1>&6
7253 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7254 cat >> confdefs.h <<EOF
7255 #define $ac_tr_func 1
7259 echo "$ac_t""no" 1>&6
7260 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
7264 for ac_func in __signbitf
7266 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7267 echo "configure:7268: checking for $ac_func" >&5
7268 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7269 echo $ac_n "(cached) $ac_c" 1>&6
7271 cat > conftest.$ac_ext <<EOF
7272 #line 7273 "configure"
7273 #include "confdefs.h"
7274 /* System header to define __stub macros and hopefully few prototypes,
7275 which can conflict with char $ac_func(); below. */
7277 /* Override any gcc2 internal prototype to avoid an error. */
7278 /* We use char because int might match the return type of a gcc2
7279 builtin and then its argument prototype would still apply. */
7284 /* The GNU C library defines this for functions which it implements
7285 to always fail with ENOSYS. Some functions are actually named
7286 something starting with __ and the normal name is an alias. */
7287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7295 if { (eval echo configure:7296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7297 eval "ac_cv_func_$ac_func=yes"
7299 echo "configure: failed program was:" >&5
7300 cat conftest.$ac_ext >&5
7302 eval "ac_cv_func_$ac_func=no"
7307 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7308 echo "$ac_t""yes" 1>&6
7309 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7310 cat >> confdefs.h <<EOF
7311 #define $ac_tr_func 1
7315 echo "$ac_t""no" 1>&6
7316 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
7321 if test x$ac_cv_func_copysignl = x"yes"; then
7322 for ac_func in __signbitl
7324 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7325 echo "configure:7326: checking for $ac_func" >&5
7326 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7327 echo $ac_n "(cached) $ac_c" 1>&6
7329 cat > conftest.$ac_ext <<EOF
7330 #line 7331 "configure"
7331 #include "confdefs.h"
7332 /* System header to define __stub macros and hopefully few prototypes,
7333 which can conflict with char $ac_func(); below. */
7335 /* Override any gcc2 internal prototype to avoid an error. */
7336 /* We use char because int might match the return type of a gcc2
7337 builtin and then its argument prototype would still apply. */
7342 /* The GNU C library defines this for functions which it implements
7343 to always fail with ENOSYS. Some functions are actually named
7344 something starting with __ and the normal name is an alias. */
7345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7353 if { (eval echo configure:7354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7355 eval "ac_cv_func_$ac_func=yes"
7357 echo "configure: failed program was:" >&5
7358 cat conftest.$ac_ext >&5
7360 eval "ac_cv_func_$ac_func=no"
7365 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7366 echo "$ac_t""yes" 1>&6
7367 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7368 cat >> confdefs.h <<EOF
7369 #define $ac_tr_func 1
7373 echo "$ac_t""no" 1>&6
7374 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
7384 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
7385 echo "configure:7386: checking for mbstate_t" >&5
7386 cat > conftest.$ac_ext <<EOF
7387 #line 7388 "configure"
7388 #include "confdefs.h"
7391 mbstate_t teststate;
7394 if { (eval echo configure:7395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7398 echo "configure: failed program was:" >&5
7399 cat conftest.$ac_ext >&5
7404 echo "$ac_t""$have_mbstate_t" 1>&6
7405 if test x"$have_mbstate_t" = xyes; then
7406 cat >> confdefs.h <<\EOF
7407 #define HAVE_MBSTATE_T 1
7412 for ac_hdr in wchar.h
7414 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7415 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7416 echo "configure:7417: checking for $ac_hdr" >&5
7417 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7418 echo $ac_n "(cached) $ac_c" 1>&6
7420 cat > conftest.$ac_ext <<EOF
7421 #line 7422 "configure"
7422 #include "confdefs.h"
7425 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7426 { (eval echo configure:7427: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7427 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7428 if test -z "$ac_err"; then
7430 eval "ac_cv_header_$ac_safe=yes"
7433 echo "configure: failed program was:" >&5
7434 cat conftest.$ac_ext >&5
7436 eval "ac_cv_header_$ac_safe=no"
7440 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7441 echo "$ac_t""yes" 1>&6
7442 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7443 cat >> confdefs.h <<EOF
7444 #define $ac_tr_hdr 1
7448 echo "$ac_t""no" 1>&6
7453 for ac_hdr in wctype.h
7455 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7456 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7457 echo "configure:7458: checking for $ac_hdr" >&5
7458 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7459 echo $ac_n "(cached) $ac_c" 1>&6
7461 cat > conftest.$ac_ext <<EOF
7462 #line 7463 "configure"
7463 #include "confdefs.h"
7466 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7467 { (eval echo configure:7468: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7468 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7469 if test -z "$ac_err"; then
7471 eval "ac_cv_header_$ac_safe=yes"
7474 echo "configure: failed program was:" >&5
7475 cat conftest.$ac_ext >&5
7477 eval "ac_cv_header_$ac_safe=no"
7481 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7482 echo "$ac_t""yes" 1>&6
7483 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7484 cat >> confdefs.h <<EOF
7485 #define $ac_tr_hdr 1
7489 echo "$ac_t""no" 1>&6
7495 if test x"$ac_has_wchar_h" = xyes &&
7496 test x"$ac_has_wctype_h" = xyes &&
7497 test x"$enable_c_mbchar" != xno; then
7499 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
7500 echo "configure:7501: checking for WCHAR_MIN and WCHAR_MAX" >&5
7501 cat > conftest.$ac_ext <<EOF
7502 #line 7503 "configure"
7503 #include "confdefs.h"
7506 int i = WCHAR_MIN; int j = WCHAR_MAX;
7509 if { (eval echo configure:7510: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7511 has_wchar_minmax=yes
7513 echo "configure: failed program was:" >&5
7514 cat conftest.$ac_ext >&5
7519 echo "$ac_t""$has_wchar_minmax" 1>&6
7521 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
7522 echo "configure:7523: checking for WEOF" >&5
7523 cat > conftest.$ac_ext <<EOF
7524 #line 7525 "configure"
7525 #include "confdefs.h"
7533 if { (eval echo configure:7534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7537 echo "configure: failed program was:" >&5
7538 cat conftest.$ac_ext >&5
7543 echo "$ac_t""$has_weof" 1>&6
7546 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7548 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7549 echo "configure:7550: checking for $ac_func" >&5
7550 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7551 echo $ac_n "(cached) $ac_c" 1>&6
7553 cat > conftest.$ac_ext <<EOF
7554 #line 7555 "configure"
7555 #include "confdefs.h"
7556 /* System header to define __stub macros and hopefully few prototypes,
7557 which can conflict with char $ac_func(); below. */
7559 /* Override any gcc2 internal prototype to avoid an error. */
7560 /* We use char because int might match the return type of a gcc2
7561 builtin and then its argument prototype would still apply. */
7566 /* The GNU C library defines this for functions which it implements
7567 to always fail with ENOSYS. Some functions are actually named
7568 something starting with __ and the normal name is an alias. */
7569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7577 if { (eval echo configure:7578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7579 eval "ac_cv_func_$ac_func=yes"
7581 echo "configure: failed program was:" >&5
7582 cat conftest.$ac_ext >&5
7584 eval "ac_cv_func_$ac_func=no"
7589 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7590 echo "$ac_t""yes" 1>&6
7591 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7592 cat >> confdefs.h <<EOF
7593 #define $ac_tr_func 1
7597 echo "$ac_t""no" 1>&6
7604 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
7605 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7606 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7607 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7608 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7609 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7611 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7612 echo "configure:7613: checking for $ac_func" >&5
7613 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7614 echo $ac_n "(cached) $ac_c" 1>&6
7616 cat > conftest.$ac_ext <<EOF
7617 #line 7618 "configure"
7618 #include "confdefs.h"
7619 /* System header to define __stub macros and hopefully few prototypes,
7620 which can conflict with char $ac_func(); below. */
7622 /* Override any gcc2 internal prototype to avoid an error. */
7623 /* We use char because int might match the return type of a gcc2
7624 builtin and then its argument prototype would still apply. */
7629 /* The GNU C library defines this for functions which it implements
7630 to always fail with ENOSYS. Some functions are actually named
7631 something starting with __ and the normal name is an alias. */
7632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7640 if { (eval echo configure:7641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7642 eval "ac_cv_func_$ac_func=yes"
7644 echo "configure: failed program was:" >&5
7645 cat conftest.$ac_ext >&5
7647 eval "ac_cv_func_$ac_func=no"
7652 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7653 echo "$ac_t""yes" 1>&6
7654 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7655 cat >> confdefs.h <<EOF
7656 #define $ac_tr_func 1
7660 echo "$ac_t""no" 1>&6
7667 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
7668 echo "configure:7669: checking for ISO C99 wchar_t support" >&5
7669 if test x"$has_weof" = xyes &&
7670 test x"$has_wchar_minmax" = xyes &&
7671 test x"$ac_wfuncs" = xyes; then
7672 ac_isoC99_wchar_t=yes
7674 ac_isoC99_wchar_t=no
7676 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7678 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
7679 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
7680 echo "configure:7681: checking for iconv.h" >&5
7681 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7682 echo $ac_n "(cached) $ac_c" 1>&6
7684 cat > conftest.$ac_ext <<EOF
7685 #line 7686 "configure"
7686 #include "confdefs.h"
7689 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7690 { (eval echo configure:7691: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7691 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7692 if test -z "$ac_err"; then
7694 eval "ac_cv_header_$ac_safe=yes"
7697 echo "configure: failed program was:" >&5
7698 cat conftest.$ac_ext >&5
7700 eval "ac_cv_header_$ac_safe=no"
7704 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7705 echo "$ac_t""yes" 1>&6
7708 echo "$ac_t""no" 1>&6
7712 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
7713 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
7714 echo "configure:7715: checking for langinfo.h" >&5
7715 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7716 echo $ac_n "(cached) $ac_c" 1>&6
7718 cat > conftest.$ac_ext <<EOF
7719 #line 7720 "configure"
7720 #include "confdefs.h"
7721 #include <langinfo.h>
7723 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7724 { (eval echo configure:7725: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7725 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7726 if test -z "$ac_err"; then
7728 eval "ac_cv_header_$ac_safe=yes"
7731 echo "configure: failed program was:" >&5
7732 cat conftest.$ac_ext >&5
7734 eval "ac_cv_header_$ac_safe=no"
7738 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7739 echo "$ac_t""yes" 1>&6
7740 ac_has_langinfo_h=yes
7742 echo "$ac_t""no" 1>&6
7743 ac_has_langinfo_h=no
7747 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
7748 echo "configure:7749: checking for iconv in -liconv" >&5
7749 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7750 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7751 echo $ac_n "(cached) $ac_c" 1>&6
7753 ac_save_LIBS="$LIBS"
7754 LIBS="-liconv $LIBS"
7755 cat > conftest.$ac_ext <<EOF
7756 #line 7757 "configure"
7757 #include "confdefs.h"
7758 /* Override any gcc2 internal prototype to avoid an error. */
7759 /* We use char because int might match the return type of a gcc2
7760 builtin and then its argument prototype would still apply. */
7767 if { (eval echo configure:7768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7769 eval "ac_cv_lib_$ac_lib_var=yes"
7771 echo "configure: failed program was:" >&5
7772 cat conftest.$ac_ext >&5
7774 eval "ac_cv_lib_$ac_lib_var=no"
7777 LIBS="$ac_save_LIBS"
7780 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7781 echo "$ac_t""yes" 1>&6
7784 echo "$ac_t""no" 1>&6
7787 ac_save_LIBS="$LIBS"
7788 LIBS="$LIBS $libiconv"
7790 for ac_func in iconv_open iconv_close iconv nl_langinfo
7792 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7793 echo "configure:7794: checking for $ac_func" >&5
7794 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7795 echo $ac_n "(cached) $ac_c" 1>&6
7797 cat > conftest.$ac_ext <<EOF
7798 #line 7799 "configure"
7799 #include "confdefs.h"
7800 /* System header to define __stub macros and hopefully few prototypes,
7801 which can conflict with char $ac_func(); below. */
7803 /* Override any gcc2 internal prototype to avoid an error. */
7804 /* We use char because int might match the return type of a gcc2
7805 builtin and then its argument prototype would still apply. */
7810 /* The GNU C library defines this for functions which it implements
7811 to always fail with ENOSYS. Some functions are actually named
7812 something starting with __ and the normal name is an alias. */
7813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7821 if { (eval echo configure:7822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7823 eval "ac_cv_func_$ac_func=yes"
7825 echo "configure: failed program was:" >&5
7826 cat conftest.$ac_ext >&5
7828 eval "ac_cv_func_$ac_func=no"
7833 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7834 echo "$ac_t""yes" 1>&6
7835 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7836 cat >> confdefs.h <<EOF
7837 #define $ac_tr_func 1
7842 echo "$ac_t""no" 1>&6
7848 LIBS="$ac_save_LIBS"
7850 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
7851 echo "configure:7852: checking for XPG2 wchar_t support" >&5
7852 if test x"$ac_has_iconv_h" = xyes &&
7853 test x"$ac_has_langinfo_h" = xyes &&
7854 test x"$ac_XPG2funcs" = xyes; then
7859 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7861 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
7862 echo "configure:7863: checking for enabled wchar_t specializations" >&5
7863 if test x"$ac_isoC99_wchar_t" = xyes &&
7864 test x"$ac_XPG2_wchar_t" = xyes; then
7865 cat >> confdefs.h <<\EOF
7866 #define _GLIBCPP_USE_WCHAR_T 1
7869 echo "$ac_t"""yes"" 1>&6
7871 echo "$ac_t"""no"" 1>&6
7874 echo "configure: warning: wchar_t support disabled." 1>&2
7877 os_include_dir="config/os/mingw32"
7880 os_include_dir="config/os/windiss"
7883 os_include_dir="config/os/newlib"
7884 cat >> confdefs.h <<\EOF
7885 #define HAVE_HYPOT 1
7891 case "$target_alias" in
7895 cat >> confdefs.h <<\EOF
7896 #define HAVE_ACOSF 1
7899 cat >> confdefs.h <<\EOF
7900 #define HAVE_ASINF 1
7903 cat >> confdefs.h <<\EOF
7904 #define HAVE_ATAN2F 1
7907 cat >> confdefs.h <<\EOF
7908 #define HAVE_ATANF 1
7911 cat >> confdefs.h <<\EOF
7912 #define HAVE_CEILF 1
7915 cat >> confdefs.h <<\EOF
7916 #define HAVE_COPYSIGN 1
7919 cat >> confdefs.h <<\EOF
7920 #define HAVE_COPYSIGNF 1
7923 cat >> confdefs.h <<\EOF
7927 cat >> confdefs.h <<\EOF
7928 #define HAVE_COSHF 1
7931 cat >> confdefs.h <<\EOF
7935 cat >> confdefs.h <<\EOF
7936 #define HAVE_FABSF 1
7939 cat >> confdefs.h <<\EOF
7940 #define HAVE_FLOORF 1
7943 cat >> confdefs.h <<\EOF
7944 #define HAVE_FMODF 1
7947 cat >> confdefs.h <<\EOF
7948 #define HAVE_FREXPF 1
7951 cat >> confdefs.h <<\EOF
7952 #define HAVE_LDEXPF 1
7955 cat >> confdefs.h <<\EOF
7956 #define HAVE_LOG10F 1
7959 cat >> confdefs.h <<\EOF
7963 cat >> confdefs.h <<\EOF
7964 #define HAVE_MODFF 1
7967 cat >> confdefs.h <<\EOF
7971 cat >> confdefs.h <<\EOF
7975 cat >> confdefs.h <<\EOF
7976 #define HAVE_SINHF 1
7979 cat >> confdefs.h <<\EOF
7980 #define HAVE_SQRTF 1
7983 cat >> confdefs.h <<\EOF
7987 cat >> confdefs.h <<\EOF
7988 #define HAVE_TANHF 1
7993 # GLIBCPP_CHECK_STDLIB_SUPPORT
7994 cat >> confdefs.h <<\EOF
7995 #define HAVE_STRTOF 1
7998 cat >> confdefs.h <<\EOF
7999 #define HAVE_STRTOLD 1
8003 cat >> confdefs.h <<\EOF
8008 cat >> confdefs.h <<\EOF
8009 #define HAVE_ACOSF 1
8012 cat >> confdefs.h <<\EOF
8013 #define HAVE_ASINF 1
8016 cat >> confdefs.h <<\EOF
8017 #define HAVE_ATAN2F 1
8020 cat >> confdefs.h <<\EOF
8021 #define HAVE_ATANF 1
8024 cat >> confdefs.h <<\EOF
8025 #define HAVE_CEILF 1
8028 cat >> confdefs.h <<\EOF
8029 #define HAVE_COPYSIGN 1
8032 cat >> confdefs.h <<\EOF
8033 #define HAVE_COPYSIGNF 1
8036 cat >> confdefs.h <<\EOF
8040 cat >> confdefs.h <<\EOF
8041 #define HAVE_COSHF 1
8044 cat >> confdefs.h <<\EOF
8048 cat >> confdefs.h <<\EOF
8049 #define HAVE_FABSF 1
8052 cat >> confdefs.h <<\EOF
8053 #define HAVE_FINITE 1
8056 cat >> confdefs.h <<\EOF
8057 #define HAVE_FINITEF 1
8060 cat >> confdefs.h <<\EOF
8061 #define HAVE_FLOORF 1
8064 cat >> confdefs.h <<\EOF
8065 #define HAVE_FMODF 1
8068 cat >> confdefs.h <<\EOF
8069 #define HAVE_FREXPF 1
8072 cat >> confdefs.h <<\EOF
8073 #define HAVE_ISINF 1
8076 cat >> confdefs.h <<\EOF
8077 #define HAVE_ISINFF 1
8080 cat >> confdefs.h <<\EOF
8081 #define HAVE_ISNAN 1
8084 cat >> confdefs.h <<\EOF
8085 #define HAVE_ISNANF 1
8088 cat >> confdefs.h <<\EOF
8089 #define HAVE_LDEXPF 1
8092 cat >> confdefs.h <<\EOF
8093 #define HAVE_LOG10F 1
8096 cat >> confdefs.h <<\EOF
8100 cat >> confdefs.h <<\EOF
8101 #define HAVE_MODFF 1
8104 cat >> confdefs.h <<\EOF
8108 cat >> confdefs.h <<\EOF
8112 cat >> confdefs.h <<\EOF
8113 #define HAVE_SINHF 1
8116 cat >> confdefs.h <<\EOF
8117 #define HAVE_SQRTF 1
8120 cat >> confdefs.h <<\EOF
8124 cat >> confdefs.h <<\EOF
8125 #define HAVE_TANHF 1
8131 # At some point, we should differentiate between architectures
8132 # like x86, which have long double versions, and alpha/powerpc/etc.,
8133 # which don't. For the time being, punt.
8134 if test x"long_double_math_on_this_cpu" = x"yes"; then
8135 cat >> confdefs.h <<\EOF
8136 #define HAVE_ACOSL 1
8139 cat >> confdefs.h <<\EOF
8140 #define HAVE_ASINL 1
8143 cat >> confdefs.h <<\EOF
8144 #define HAVE_ATAN2L 1
8147 cat >> confdefs.h <<\EOF
8148 #define HAVE_ATANL 1
8151 cat >> confdefs.h <<\EOF
8152 #define HAVE_CEILL 1
8155 cat >> confdefs.h <<\EOF
8156 #define HAVE_COPYSIGNL 1
8159 cat >> confdefs.h <<\EOF
8163 cat >> confdefs.h <<\EOF
8164 #define HAVE_COSHL 1
8167 cat >> confdefs.h <<\EOF
8171 cat >> confdefs.h <<\EOF
8172 #define HAVE_FABSL 1
8175 cat >> confdefs.h <<\EOF
8176 #define HAVE_FINITEL 1
8179 cat >> confdefs.h <<\EOF
8180 #define HAVE_FLOORL 1
8183 cat >> confdefs.h <<\EOF
8184 #define HAVE_FMODL 1
8187 cat >> confdefs.h <<\EOF
8188 #define HAVE_FREXPL 1
8191 cat >> confdefs.h <<\EOF
8192 #define HAVE_ISINFL 1
8195 cat >> confdefs.h <<\EOF
8196 #define HAVE_ISNANL 1
8199 cat >> confdefs.h <<\EOF
8200 #define HAVE_LDEXPL 1
8203 cat >> confdefs.h <<\EOF
8204 #define HAVE_LOG10L 1
8207 cat >> confdefs.h <<\EOF
8211 cat >> confdefs.h <<\EOF
8212 #define HAVE_MODFL 1
8215 cat >> confdefs.h <<\EOF
8219 cat >> confdefs.h <<\EOF
8220 #define HAVE_SINCOSL 1
8223 cat >> confdefs.h <<\EOF
8227 cat >> confdefs.h <<\EOF
8228 #define HAVE_SINHL 1
8231 cat >> confdefs.h <<\EOF
8232 #define HAVE_SQRTL 1
8235 cat >> confdefs.h <<\EOF
8239 cat >> confdefs.h <<\EOF
8240 #define HAVE_TANHL 1
8246 # We are being configured natively. We can do more elaborate tests
8247 # that include AC_TRY_COMPILE now, as the linker is assumed to be
8249 GLIBCPP_IS_CROSS_COMPILING=0
8252 # Check for available headers.
8253 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
8254 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h
8256 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8257 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8258 echo "configure:8259: checking for $ac_hdr" >&5
8259 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8260 echo $ac_n "(cached) $ac_c" 1>&6
8262 cat > conftest.$ac_ext <<EOF
8263 #line 8264 "configure"
8264 #include "confdefs.h"
8267 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8268 { (eval echo configure:8269: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8269 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8270 if test -z "$ac_err"; then
8272 eval "ac_cv_header_$ac_safe=yes"
8275 echo "configure: failed program was:" >&5
8276 cat conftest.$ac_ext >&5
8278 eval "ac_cv_header_$ac_safe=no"
8282 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8283 echo "$ac_t""yes" 1>&6
8284 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8285 cat >> confdefs.h <<EOF
8286 #define $ac_tr_hdr 1
8290 echo "$ac_t""no" 1>&6
8296 # All these tests are for C++; save the language and the compiler flags.
8297 # The CXXFLAGS thing is suspicious, but based on similar bits previously
8298 # found in GLIBCPP_CONFIGURE.
8301 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8302 ac_cpp='$CXXCPP $CPPFLAGS'
8303 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8304 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8305 cross_compiling=$ac_cv_prog_cxx_cross
8307 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8308 ac_save_CXXFLAGS="$CXXFLAGS"
8310 # Check for maintainer-mode bits.
8311 if test x"$USE_MAINTAINER_MODE" = xno; then
8317 # Check for -ffunction-sections -fdata-sections
8318 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
8319 echo "configure:8320: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8320 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8321 cat > conftest.$ac_ext <<EOF
8322 #line 8323 "configure"
8323 #include "confdefs.h"
8330 if { (eval echo configure:8331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8334 echo "configure: failed program was:" >&5
8335 cat conftest.$ac_ext >&5
8340 if test "$ac_test_CXXFLAGS" = set; then
8341 CXXFLAGS="$ac_save_CXXFLAGS"
8343 # this is the suspicious part
8346 if test x"$ac_fdsections" = x"yes" &&
8347 test x"$enable_debug" = x"no"; then
8348 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8350 echo "$ac_t""$ac_fdsections" 1>&6
8353 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8354 ac_cpp='$CPP $CPPFLAGS'
8355 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8356 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8357 cross_compiling=$ac_cv_prog_cc_cross
8363 # If we're not using GNU ld, then there's no point in even trying these
8364 # tests. Check for that first. We should have already tested for gld
8365 # by now (in libtool), but require it now just to be safe...
8366 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8367 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8370 # The name set by libtool depends on the version of libtool. Shame on us
8371 # for depending on an impl detail, but c'est la vie. Older versions used
8372 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8373 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8374 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8375 # set (hence we're using an older libtool), then set it.
8376 if test x${with_gnu_ld+set} != xset; then
8377 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8378 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8381 with_gnu_ld=$ac_cv_prog_gnu_ld
8385 # Start by getting the version number. I think the libtool test already
8386 # does some of this, but throws away the result.
8388 ldver=`$LD --version 2>/dev/null | head -1 | \
8389 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8391 glibcpp_gnu_ld_version=`echo $ldver | \
8392 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8394 # Set --gc-sections.
8395 if test "$with_gnu_ld" = "notbroken"; then
8396 # GNU ld it is! Joy and bunny rabbits!
8398 # All these tests are for C++; save the language and the compiler flags.
8399 # Need to do this so that g++ won't try to link in libstdc++
8400 ac_test_CFLAGS="${CFLAGS+set}"
8401 ac_save_CFLAGS="$CFLAGS"
8402 CFLAGS='-x c++ -Wl,--gc-sections'
8404 # Check for -Wl,--gc-sections
8405 # XXX This test is broken at the moment, as symbols required for
8406 # linking are now in libsupc++ (not built yet.....). In addition,
8407 # this test has cored on solaris in the past. In addition,
8408 # --gc-sections doesn't really work at the moment (keeps on discarding
8409 # used sections, first .eh_frame and now some of the glibc sections for
8410 # iconv). Bzzzzt. Thanks for playing, maybe next time.
8411 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
8412 echo "configure:8413: checking for ld that supports -Wl,--gc-sections" >&5
8413 if test "$cross_compiling" = yes; then
8414 ac_sectionLDflags=yes
8416 cat > conftest.$ac_ext <<EOF
8417 #line 8418 "configure"
8418 #include "confdefs.h"
8428 if { (eval echo configure:8429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8430 ac_sectionLDflags=yes
8432 echo "configure: failed program was:" >&5
8433 cat conftest.$ac_ext >&5
8435 ac_sectionLDflags=no
8440 if test "$ac_test_CFLAGS" = set; then
8441 CFLAGS="$ac_save_CFLAGS"
8443 # this is the suspicious part
8446 if test "$ac_sectionLDflags" = "yes"; then
8447 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8449 echo "$ac_t""$ac_sectionLDflags" 1>&6
8452 # Set linker optimization flags.
8453 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
8454 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8462 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
8463 echo "configure:8464: checking for __builtin_abs declaration" >&5
8464 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
8465 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
8466 echo $ac_n "(cached) $ac_c" 1>&6
8471 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8472 ac_cpp='$CXXCPP $CPPFLAGS'
8473 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8474 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8475 cross_compiling=$ac_cv_prog_cxx_cross
8477 cat > conftest.$ac_ext <<EOF
8478 #line 8479 "configure"
8479 #include "confdefs.h"
8485 if { (eval echo configure:8486: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8487 glibcpp_cv_func___builtin_abs_use=yes
8489 echo "configure: failed program was:" >&5
8490 cat conftest.$ac_ext >&5
8492 glibcpp_cv_func___builtin_abs_use=no
8496 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8497 ac_cpp='$CPP $CPPFLAGS'
8498 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8499 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8500 cross_compiling=$ac_cv_prog_cc_cross
8506 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
8507 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
8508 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
8509 echo "configure:8510: checking for __builtin_abs linkage" >&5
8510 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
8511 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
8512 echo $ac_n "(cached) $ac_c" 1>&6
8515 cat > conftest.$ac_ext <<EOF
8516 #line 8517 "configure"
8517 #include "confdefs.h"
8523 if { (eval echo configure:8524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8525 glibcpp_cv_func___builtin_abs_link=yes
8527 echo "configure: failed program was:" >&5
8528 cat conftest.$ac_ext >&5
8530 glibcpp_cv_func___builtin_abs_link=no
8537 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
8538 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
8539 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8540 cat >> confdefs.h <<EOF
8541 #define ${ac_tr_func} 1
8548 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
8549 echo "configure:8550: checking for __builtin_fabsf declaration" >&5
8550 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
8551 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
8552 echo $ac_n "(cached) $ac_c" 1>&6
8557 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8558 ac_cpp='$CXXCPP $CPPFLAGS'
8559 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8560 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8561 cross_compiling=$ac_cv_prog_cxx_cross
8563 cat > conftest.$ac_ext <<EOF
8564 #line 8565 "configure"
8565 #include "confdefs.h"
8571 if { (eval echo configure:8572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8573 glibcpp_cv_func___builtin_fabsf_use=yes
8575 echo "configure: failed program was:" >&5
8576 cat conftest.$ac_ext >&5
8578 glibcpp_cv_func___builtin_fabsf_use=no
8582 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8583 ac_cpp='$CPP $CPPFLAGS'
8584 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8585 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8586 cross_compiling=$ac_cv_prog_cc_cross
8592 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
8593 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
8594 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
8595 echo "configure:8596: checking for __builtin_fabsf linkage" >&5
8596 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
8597 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
8598 echo $ac_n "(cached) $ac_c" 1>&6
8601 cat > conftest.$ac_ext <<EOF
8602 #line 8603 "configure"
8603 #include "confdefs.h"
8609 if { (eval echo configure:8610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8611 glibcpp_cv_func___builtin_fabsf_link=yes
8613 echo "configure: failed program was:" >&5
8614 cat conftest.$ac_ext >&5
8616 glibcpp_cv_func___builtin_fabsf_link=no
8623 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
8624 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
8625 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8626 cat >> confdefs.h <<EOF
8627 #define ${ac_tr_func} 1
8634 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
8635 echo "configure:8636: checking for __builtin_fabs declaration" >&5
8636 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
8637 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
8638 echo $ac_n "(cached) $ac_c" 1>&6
8643 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8644 ac_cpp='$CXXCPP $CPPFLAGS'
8645 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8646 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8647 cross_compiling=$ac_cv_prog_cxx_cross
8649 cat > conftest.$ac_ext <<EOF
8650 #line 8651 "configure"
8651 #include "confdefs.h"
8657 if { (eval echo configure:8658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8659 glibcpp_cv_func___builtin_fabs_use=yes
8661 echo "configure: failed program was:" >&5
8662 cat conftest.$ac_ext >&5
8664 glibcpp_cv_func___builtin_fabs_use=no
8668 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8669 ac_cpp='$CPP $CPPFLAGS'
8670 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8671 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8672 cross_compiling=$ac_cv_prog_cc_cross
8678 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
8679 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
8680 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
8681 echo "configure:8682: checking for __builtin_fabs linkage" >&5
8682 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
8683 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
8684 echo $ac_n "(cached) $ac_c" 1>&6
8687 cat > conftest.$ac_ext <<EOF
8688 #line 8689 "configure"
8689 #include "confdefs.h"
8695 if { (eval echo configure:8696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8697 glibcpp_cv_func___builtin_fabs_link=yes
8699 echo "configure: failed program was:" >&5
8700 cat conftest.$ac_ext >&5
8702 glibcpp_cv_func___builtin_fabs_link=no
8709 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
8710 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
8711 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8712 cat >> confdefs.h <<EOF
8713 #define ${ac_tr_func} 1
8720 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
8721 echo "configure:8722: checking for __builtin_fabsl declaration" >&5
8722 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
8723 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
8724 echo $ac_n "(cached) $ac_c" 1>&6
8729 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8730 ac_cpp='$CXXCPP $CPPFLAGS'
8731 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8732 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8733 cross_compiling=$ac_cv_prog_cxx_cross
8735 cat > conftest.$ac_ext <<EOF
8736 #line 8737 "configure"
8737 #include "confdefs.h"
8743 if { (eval echo configure:8744: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8745 glibcpp_cv_func___builtin_fabsl_use=yes
8747 echo "configure: failed program was:" >&5
8748 cat conftest.$ac_ext >&5
8750 glibcpp_cv_func___builtin_fabsl_use=no
8754 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8755 ac_cpp='$CPP $CPPFLAGS'
8756 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8757 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8758 cross_compiling=$ac_cv_prog_cc_cross
8764 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
8765 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
8766 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
8767 echo "configure:8768: checking for __builtin_fabsl linkage" >&5
8768 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
8769 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
8770 echo $ac_n "(cached) $ac_c" 1>&6
8773 cat > conftest.$ac_ext <<EOF
8774 #line 8775 "configure"
8775 #include "confdefs.h"
8781 if { (eval echo configure:8782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8783 glibcpp_cv_func___builtin_fabsl_link=yes
8785 echo "configure: failed program was:" >&5
8786 cat conftest.$ac_ext >&5
8788 glibcpp_cv_func___builtin_fabsl_link=no
8795 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
8796 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
8797 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8798 cat >> confdefs.h <<EOF
8799 #define ${ac_tr_func} 1
8806 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
8807 echo "configure:8808: checking for __builtin_labs declaration" >&5
8808 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
8809 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
8810 echo $ac_n "(cached) $ac_c" 1>&6
8815 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8816 ac_cpp='$CXXCPP $CPPFLAGS'
8817 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8818 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8819 cross_compiling=$ac_cv_prog_cxx_cross
8821 cat > conftest.$ac_ext <<EOF
8822 #line 8823 "configure"
8823 #include "confdefs.h"
8829 if { (eval echo configure:8830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8831 glibcpp_cv_func___builtin_labs_use=yes
8833 echo "configure: failed program was:" >&5
8834 cat conftest.$ac_ext >&5
8836 glibcpp_cv_func___builtin_labs_use=no
8840 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8841 ac_cpp='$CPP $CPPFLAGS'
8842 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8843 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8844 cross_compiling=$ac_cv_prog_cc_cross
8850 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
8851 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
8852 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
8853 echo "configure:8854: checking for __builtin_labs linkage" >&5
8854 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
8855 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
8856 echo $ac_n "(cached) $ac_c" 1>&6
8859 cat > conftest.$ac_ext <<EOF
8860 #line 8861 "configure"
8861 #include "confdefs.h"
8867 if { (eval echo configure:8868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8869 glibcpp_cv_func___builtin_labs_link=yes
8871 echo "configure: failed program was:" >&5
8872 cat conftest.$ac_ext >&5
8874 glibcpp_cv_func___builtin_labs_link=no
8881 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
8882 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
8883 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8884 cat >> confdefs.h <<EOF
8885 #define ${ac_tr_func} 1
8893 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
8894 echo "configure:8895: checking for __builtin_sqrtf declaration" >&5
8895 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
8896 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
8897 echo $ac_n "(cached) $ac_c" 1>&6
8902 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8903 ac_cpp='$CXXCPP $CPPFLAGS'
8904 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8905 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8906 cross_compiling=$ac_cv_prog_cxx_cross
8908 cat > conftest.$ac_ext <<EOF
8909 #line 8910 "configure"
8910 #include "confdefs.h"
8916 if { (eval echo configure:8917: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8918 glibcpp_cv_func___builtin_sqrtf_use=yes
8920 echo "configure: failed program was:" >&5
8921 cat conftest.$ac_ext >&5
8923 glibcpp_cv_func___builtin_sqrtf_use=no
8927 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8928 ac_cpp='$CPP $CPPFLAGS'
8929 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8930 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8931 cross_compiling=$ac_cv_prog_cc_cross
8937 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
8938 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
8939 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
8940 echo "configure:8941: checking for __builtin_sqrtf linkage" >&5
8941 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
8942 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
8943 echo $ac_n "(cached) $ac_c" 1>&6
8946 cat > conftest.$ac_ext <<EOF
8947 #line 8948 "configure"
8948 #include "confdefs.h"
8954 if { (eval echo configure:8955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8956 glibcpp_cv_func___builtin_sqrtf_link=yes
8958 echo "configure: failed program was:" >&5
8959 cat conftest.$ac_ext >&5
8961 glibcpp_cv_func___builtin_sqrtf_link=no
8968 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
8969 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
8970 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8971 cat >> confdefs.h <<EOF
8972 #define ${ac_tr_func} 1
8979 echo $ac_n "checking for __builtin_sqrt declaration""... $ac_c" 1>&6
8980 echo "configure:8981: checking for __builtin_sqrt declaration" >&5
8981 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
8982 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
8983 echo $ac_n "(cached) $ac_c" 1>&6
8988 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8989 ac_cpp='$CXXCPP $CPPFLAGS'
8990 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8991 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8992 cross_compiling=$ac_cv_prog_cxx_cross
8994 cat > conftest.$ac_ext <<EOF
8995 #line 8996 "configure"
8996 #include "confdefs.h"
9002 if { (eval echo configure:9003: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9004 glibcpp_cv_func___builtin_sqrt_use=yes
9006 echo "configure: failed program was:" >&5
9007 cat conftest.$ac_ext >&5
9009 glibcpp_cv_func___builtin_sqrt_use=no
9013 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9014 ac_cpp='$CPP $CPPFLAGS'
9015 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9016 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9017 cross_compiling=$ac_cv_prog_cc_cross
9023 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
9024 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
9025 echo $ac_n "checking for __builtin_sqrt linkage""... $ac_c" 1>&6
9026 echo "configure:9027: checking for __builtin_sqrt linkage" >&5
9027 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
9028 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
9029 echo $ac_n "(cached) $ac_c" 1>&6
9032 cat > conftest.$ac_ext <<EOF
9033 #line 9034 "configure"
9034 #include "confdefs.h"
9040 if { (eval echo configure:9041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9042 glibcpp_cv_func___builtin_sqrt_link=yes
9044 echo "configure: failed program was:" >&5
9045 cat conftest.$ac_ext >&5
9047 glibcpp_cv_func___builtin_sqrt_link=no
9054 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
9055 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
9056 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9057 cat >> confdefs.h <<EOF
9058 #define ${ac_tr_func} 1
9065 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
9066 echo "configure:9067: checking for __builtin_sqrtl declaration" >&5
9067 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
9068 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
9069 echo $ac_n "(cached) $ac_c" 1>&6
9074 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9075 ac_cpp='$CXXCPP $CPPFLAGS'
9076 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9077 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9078 cross_compiling=$ac_cv_prog_cxx_cross
9080 cat > conftest.$ac_ext <<EOF
9081 #line 9082 "configure"
9082 #include "confdefs.h"
9088 if { (eval echo configure:9089: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9090 glibcpp_cv_func___builtin_sqrtl_use=yes
9092 echo "configure: failed program was:" >&5
9093 cat conftest.$ac_ext >&5
9095 glibcpp_cv_func___builtin_sqrtl_use=no
9099 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9100 ac_cpp='$CPP $CPPFLAGS'
9101 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9102 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9103 cross_compiling=$ac_cv_prog_cc_cross
9109 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
9110 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
9111 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
9112 echo "configure:9113: checking for __builtin_sqrtl linkage" >&5
9113 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
9114 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
9115 echo $ac_n "(cached) $ac_c" 1>&6
9118 cat > conftest.$ac_ext <<EOF
9119 #line 9120 "configure"
9120 #include "confdefs.h"
9126 if { (eval echo configure:9127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9128 glibcpp_cv_func___builtin_sqrtl_link=yes
9130 echo "configure: failed program was:" >&5
9131 cat conftest.$ac_ext >&5
9133 glibcpp_cv_func___builtin_sqrtl_link=no
9140 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
9141 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
9142 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9143 cat >> confdefs.h <<EOF
9144 #define ${ac_tr_func} 1
9152 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
9153 echo "configure:9154: checking for __builtin_sinf declaration" >&5
9154 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
9155 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
9156 echo $ac_n "(cached) $ac_c" 1>&6
9161 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9162 ac_cpp='$CXXCPP $CPPFLAGS'
9163 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9164 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9165 cross_compiling=$ac_cv_prog_cxx_cross
9167 cat > conftest.$ac_ext <<EOF
9168 #line 9169 "configure"
9169 #include "confdefs.h"
9175 if { (eval echo configure:9176: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9177 glibcpp_cv_func___builtin_sinf_use=yes
9179 echo "configure: failed program was:" >&5
9180 cat conftest.$ac_ext >&5
9182 glibcpp_cv_func___builtin_sinf_use=no
9186 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9187 ac_cpp='$CPP $CPPFLAGS'
9188 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9189 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9190 cross_compiling=$ac_cv_prog_cc_cross
9196 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
9197 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
9198 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
9199 echo "configure:9200: checking for __builtin_sinf linkage" >&5
9200 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
9201 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
9202 echo $ac_n "(cached) $ac_c" 1>&6
9205 cat > conftest.$ac_ext <<EOF
9206 #line 9207 "configure"
9207 #include "confdefs.h"
9213 if { (eval echo configure:9214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9215 glibcpp_cv_func___builtin_sinf_link=yes
9217 echo "configure: failed program was:" >&5
9218 cat conftest.$ac_ext >&5
9220 glibcpp_cv_func___builtin_sinf_link=no
9227 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
9228 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
9229 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9230 cat >> confdefs.h <<EOF
9231 #define ${ac_tr_func} 1
9238 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
9239 echo "configure:9240: checking for __builtin_sin declaration" >&5
9240 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
9241 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
9242 echo $ac_n "(cached) $ac_c" 1>&6
9247 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9248 ac_cpp='$CXXCPP $CPPFLAGS'
9249 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9250 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9251 cross_compiling=$ac_cv_prog_cxx_cross
9253 cat > conftest.$ac_ext <<EOF
9254 #line 9255 "configure"
9255 #include "confdefs.h"
9261 if { (eval echo configure:9262: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9263 glibcpp_cv_func___builtin_sin_use=yes
9265 echo "configure: failed program was:" >&5
9266 cat conftest.$ac_ext >&5
9268 glibcpp_cv_func___builtin_sin_use=no
9272 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9273 ac_cpp='$CPP $CPPFLAGS'
9274 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9275 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9276 cross_compiling=$ac_cv_prog_cc_cross
9282 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
9283 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
9284 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
9285 echo "configure:9286: checking for __builtin_sin linkage" >&5
9286 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
9287 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
9288 echo $ac_n "(cached) $ac_c" 1>&6
9291 cat > conftest.$ac_ext <<EOF
9292 #line 9293 "configure"
9293 #include "confdefs.h"
9299 if { (eval echo configure:9300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9301 glibcpp_cv_func___builtin_sin_link=yes
9303 echo "configure: failed program was:" >&5
9304 cat conftest.$ac_ext >&5
9306 glibcpp_cv_func___builtin_sin_link=no
9313 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
9314 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
9315 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9316 cat >> confdefs.h <<EOF
9317 #define ${ac_tr_func} 1
9324 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
9325 echo "configure:9326: checking for __builtin_sinl declaration" >&5
9326 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
9327 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
9328 echo $ac_n "(cached) $ac_c" 1>&6
9333 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9334 ac_cpp='$CXXCPP $CPPFLAGS'
9335 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9336 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9337 cross_compiling=$ac_cv_prog_cxx_cross
9339 cat > conftest.$ac_ext <<EOF
9340 #line 9341 "configure"
9341 #include "confdefs.h"
9347 if { (eval echo configure:9348: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9349 glibcpp_cv_func___builtin_sinl_use=yes
9351 echo "configure: failed program was:" >&5
9352 cat conftest.$ac_ext >&5
9354 glibcpp_cv_func___builtin_sinl_use=no
9358 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9359 ac_cpp='$CPP $CPPFLAGS'
9360 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9361 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9362 cross_compiling=$ac_cv_prog_cc_cross
9368 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
9369 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
9370 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
9371 echo "configure:9372: checking for __builtin_sinl linkage" >&5
9372 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
9373 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
9374 echo $ac_n "(cached) $ac_c" 1>&6
9377 cat > conftest.$ac_ext <<EOF
9378 #line 9379 "configure"
9379 #include "confdefs.h"
9385 if { (eval echo configure:9386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9387 glibcpp_cv_func___builtin_sinl_link=yes
9389 echo "configure: failed program was:" >&5
9390 cat conftest.$ac_ext >&5
9392 glibcpp_cv_func___builtin_sinl_link=no
9399 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
9400 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
9401 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9402 cat >> confdefs.h <<EOF
9403 #define ${ac_tr_func} 1
9411 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
9412 echo "configure:9413: checking for __builtin_cosf declaration" >&5
9413 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
9414 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
9415 echo $ac_n "(cached) $ac_c" 1>&6
9420 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9421 ac_cpp='$CXXCPP $CPPFLAGS'
9422 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9423 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9424 cross_compiling=$ac_cv_prog_cxx_cross
9426 cat > conftest.$ac_ext <<EOF
9427 #line 9428 "configure"
9428 #include "confdefs.h"
9434 if { (eval echo configure:9435: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9436 glibcpp_cv_func___builtin_cosf_use=yes
9438 echo "configure: failed program was:" >&5
9439 cat conftest.$ac_ext >&5
9441 glibcpp_cv_func___builtin_cosf_use=no
9445 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9446 ac_cpp='$CPP $CPPFLAGS'
9447 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9448 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9449 cross_compiling=$ac_cv_prog_cc_cross
9455 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
9456 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
9457 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
9458 echo "configure:9459: checking for __builtin_cosf linkage" >&5
9459 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
9460 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
9461 echo $ac_n "(cached) $ac_c" 1>&6
9464 cat > conftest.$ac_ext <<EOF
9465 #line 9466 "configure"
9466 #include "confdefs.h"
9472 if { (eval echo configure:9473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9474 glibcpp_cv_func___builtin_cosf_link=yes
9476 echo "configure: failed program was:" >&5
9477 cat conftest.$ac_ext >&5
9479 glibcpp_cv_func___builtin_cosf_link=no
9486 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
9487 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
9488 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9489 cat >> confdefs.h <<EOF
9490 #define ${ac_tr_func} 1
9497 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
9498 echo "configure:9499: checking for __builtin_cos declaration" >&5
9499 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
9500 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
9501 echo $ac_n "(cached) $ac_c" 1>&6
9506 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9507 ac_cpp='$CXXCPP $CPPFLAGS'
9508 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9509 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9510 cross_compiling=$ac_cv_prog_cxx_cross
9512 cat > conftest.$ac_ext <<EOF
9513 #line 9514 "configure"
9514 #include "confdefs.h"
9520 if { (eval echo configure:9521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9522 glibcpp_cv_func___builtin_cos_use=yes
9524 echo "configure: failed program was:" >&5
9525 cat conftest.$ac_ext >&5
9527 glibcpp_cv_func___builtin_cos_use=no
9531 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9532 ac_cpp='$CPP $CPPFLAGS'
9533 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9534 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9535 cross_compiling=$ac_cv_prog_cc_cross
9541 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
9542 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
9543 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
9544 echo "configure:9545: checking for __builtin_cos linkage" >&5
9545 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
9546 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
9547 echo $ac_n "(cached) $ac_c" 1>&6
9550 cat > conftest.$ac_ext <<EOF
9551 #line 9552 "configure"
9552 #include "confdefs.h"
9558 if { (eval echo configure:9559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9560 glibcpp_cv_func___builtin_cos_link=yes
9562 echo "configure: failed program was:" >&5
9563 cat conftest.$ac_ext >&5
9565 glibcpp_cv_func___builtin_cos_link=no
9572 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
9573 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
9574 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9575 cat >> confdefs.h <<EOF
9576 #define ${ac_tr_func} 1
9583 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
9584 echo "configure:9585: checking for __builtin_cosl declaration" >&5
9585 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
9586 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
9587 echo $ac_n "(cached) $ac_c" 1>&6
9592 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9593 ac_cpp='$CXXCPP $CPPFLAGS'
9594 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9595 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9596 cross_compiling=$ac_cv_prog_cxx_cross
9598 cat > conftest.$ac_ext <<EOF
9599 #line 9600 "configure"
9600 #include "confdefs.h"
9606 if { (eval echo configure:9607: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9608 glibcpp_cv_func___builtin_cosl_use=yes
9610 echo "configure: failed program was:" >&5
9611 cat conftest.$ac_ext >&5
9613 glibcpp_cv_func___builtin_cosl_use=no
9617 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9618 ac_cpp='$CPP $CPPFLAGS'
9619 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9620 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9621 cross_compiling=$ac_cv_prog_cc_cross
9627 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
9628 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
9629 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
9630 echo "configure:9631: checking for __builtin_cosl linkage" >&5
9631 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
9632 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
9633 echo $ac_n "(cached) $ac_c" 1>&6
9636 cat > conftest.$ac_ext <<EOF
9637 #line 9638 "configure"
9638 #include "confdefs.h"
9644 if { (eval echo configure:9645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9646 glibcpp_cv_func___builtin_cosl_link=yes
9648 echo "configure: failed program was:" >&5
9649 cat conftest.$ac_ext >&5
9651 glibcpp_cv_func___builtin_cosl_link=no
9658 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
9659 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
9660 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9661 cat >> confdefs.h <<EOF
9662 #define ${ac_tr_func} 1
9670 if test x$dummyvar = x"yes"; then
9671 cat >> confdefs.h <<\EOF
9672 #define HAVE___BUILTIN_ABS 1
9675 cat >> confdefs.h <<\EOF
9676 #define HAVE___BUILTIN_LABS 1
9679 cat >> confdefs.h <<\EOF
9680 #define HAVE___BUILTIN_COS 1
9683 cat >> confdefs.h <<\EOF
9684 #define HAVE___BUILTIN_COSF 1
9687 cat >> confdefs.h <<\EOF
9688 #define HAVE___BUILTIN_COSL 1
9691 cat >> confdefs.h <<\EOF
9692 #define HAVE___BUILTIN_FABS 1
9695 cat >> confdefs.h <<\EOF
9696 #define HAVE___BUILTIN_FABSF 1
9699 cat >> confdefs.h <<\EOF
9700 #define HAVE___BUILTIN_FABSL 1
9703 cat >> confdefs.h <<\EOF
9704 #define HAVE___BUILTIN_SIN 1
9707 cat >> confdefs.h <<\EOF
9708 #define HAVE___BUILTIN_SINF 1
9711 cat >> confdefs.h <<\EOF
9712 #define HAVE___BUILTIN_SINL 1
9715 cat >> confdefs.h <<\EOF
9716 #define HAVE___BUILTIN_SQRT 1
9719 cat >> confdefs.h <<\EOF
9720 #define HAVE___BUILTIN_SQRTF 1
9723 cat >> confdefs.h <<\EOF
9724 #define HAVE___BUILTIN_SQRTL 1
9730 ac_test_CXXFLAGS="${CXXFLAGS+set}"
9731 ac_save_CXXFLAGS="$CXXFLAGS"
9732 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
9734 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
9735 echo "configure:9736: checking for sin in -lm" >&5
9736 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
9737 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9738 echo $ac_n "(cached) $ac_c" 1>&6
9740 ac_save_LIBS="$LIBS"
9742 cat > conftest.$ac_ext <<EOF
9743 #line 9744 "configure"
9744 #include "confdefs.h"
9745 /* Override any gcc2 internal prototype to avoid an error. */
9746 /* We use char because int might match the return type of a gcc2
9747 builtin and then its argument prototype would still apply. */
9754 if { (eval echo configure:9755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9756 eval "ac_cv_lib_$ac_lib_var=yes"
9758 echo "configure: failed program was:" >&5
9759 cat conftest.$ac_ext >&5
9761 eval "ac_cv_lib_$ac_lib_var=no"
9764 LIBS="$ac_save_LIBS"
9767 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9768 echo "$ac_t""yes" 1>&6
9771 echo "$ac_t""no" 1>&6
9774 ac_save_LIBS="$LIBS"
9779 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
9780 echo "configure:9781: checking for isinf declaration" >&5
9781 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
9782 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
9783 echo $ac_n "(cached) $ac_c" 1>&6
9788 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9789 ac_cpp='$CXXCPP $CPPFLAGS'
9790 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9791 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9792 cross_compiling=$ac_cv_prog_cxx_cross
9794 cat > conftest.$ac_ext <<EOF
9795 #line 9796 "configure"
9796 #include "confdefs.h"
9798 #ifdef HAVE_IEEEFP_H
9806 if { (eval echo configure:9807: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9808 glibcpp_cv_func_isinf_use=yes
9810 echo "configure: failed program was:" >&5
9811 cat conftest.$ac_ext >&5
9813 glibcpp_cv_func_isinf_use=no
9817 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9818 ac_cpp='$CPP $CPPFLAGS'
9819 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9820 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9821 cross_compiling=$ac_cv_prog_cc_cross
9827 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
9829 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
9830 for ac_func in isinf
9832 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9833 echo "configure:9834: checking for $ac_func" >&5
9834 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9835 echo $ac_n "(cached) $ac_c" 1>&6
9837 cat > conftest.$ac_ext <<EOF
9838 #line 9839 "configure"
9839 #include "confdefs.h"
9840 /* System header to define __stub macros and hopefully few prototypes,
9841 which can conflict with char $ac_func(); below. */
9843 /* Override any gcc2 internal prototype to avoid an error. */
9844 /* We use char because int might match the return type of a gcc2
9845 builtin and then its argument prototype would still apply. */
9850 /* The GNU C library defines this for functions which it implements
9851 to always fail with ENOSYS. Some functions are actually named
9852 something starting with __ and the normal name is an alias. */
9853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9861 if { (eval echo configure:9862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9863 eval "ac_cv_func_$ac_func=yes"
9865 echo "configure: failed program was:" >&5
9866 cat conftest.$ac_ext >&5
9868 eval "ac_cv_func_$ac_func=no"
9873 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9874 echo "$ac_t""yes" 1>&6
9875 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9876 cat >> confdefs.h <<EOF
9877 #define $ac_tr_func 1
9881 echo "$ac_t""no" 1>&6
9887 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
9888 echo "configure:9889: checking for _isinf declaration" >&5
9889 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
9890 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
9891 echo $ac_n "(cached) $ac_c" 1>&6
9896 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9897 ac_cpp='$CXXCPP $CPPFLAGS'
9898 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9899 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9900 cross_compiling=$ac_cv_prog_cxx_cross
9902 cat > conftest.$ac_ext <<EOF
9903 #line 9904 "configure"
9904 #include "confdefs.h"
9906 #ifdef HAVE_IEEEFP_H
9914 if { (eval echo configure:9915: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9916 glibcpp_cv_func__isinf_use=yes
9918 echo "configure: failed program was:" >&5
9919 cat conftest.$ac_ext >&5
9921 glibcpp_cv_func__isinf_use=no
9925 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9926 ac_cpp='$CPP $CPPFLAGS'
9927 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9928 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9929 cross_compiling=$ac_cv_prog_cc_cross
9935 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
9937 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
9938 for ac_func in _isinf
9940 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9941 echo "configure:9942: checking for $ac_func" >&5
9942 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9943 echo $ac_n "(cached) $ac_c" 1>&6
9945 cat > conftest.$ac_ext <<EOF
9946 #line 9947 "configure"
9947 #include "confdefs.h"
9948 /* System header to define __stub macros and hopefully few prototypes,
9949 which can conflict with char $ac_func(); below. */
9951 /* Override any gcc2 internal prototype to avoid an error. */
9952 /* We use char because int might match the return type of a gcc2
9953 builtin and then its argument prototype would still apply. */
9958 /* The GNU C library defines this for functions which it implements
9959 to always fail with ENOSYS. Some functions are actually named
9960 something starting with __ and the normal name is an alias. */
9961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9969 if { (eval echo configure:9970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9971 eval "ac_cv_func_$ac_func=yes"
9973 echo "configure: failed program was:" >&5
9974 cat conftest.$ac_ext >&5
9976 eval "ac_cv_func_$ac_func=no"
9981 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9982 echo "$ac_t""yes" 1>&6
9983 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9984 cat >> confdefs.h <<EOF
9985 #define $ac_tr_func 1
9989 echo "$ac_t""no" 1>&6
9998 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
9999 echo "configure:10000: checking for isnan declaration" >&5
10000 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
10001 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
10002 echo $ac_n "(cached) $ac_c" 1>&6
10007 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10008 ac_cpp='$CXXCPP $CPPFLAGS'
10009 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10010 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10011 cross_compiling=$ac_cv_prog_cxx_cross
10013 cat > conftest.$ac_ext <<EOF
10014 #line 10015 "configure"
10015 #include "confdefs.h"
10017 #ifdef HAVE_IEEEFP_H
10018 #include <ieeefp.h>
10025 if { (eval echo configure:10026: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10027 glibcpp_cv_func_isnan_use=yes
10029 echo "configure: failed program was:" >&5
10030 cat conftest.$ac_ext >&5
10032 glibcpp_cv_func_isnan_use=no
10036 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10037 ac_cpp='$CPP $CPPFLAGS'
10038 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10039 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10040 cross_compiling=$ac_cv_prog_cc_cross
10046 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
10048 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
10049 for ac_func in isnan
10051 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10052 echo "configure:10053: checking for $ac_func" >&5
10053 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10054 echo $ac_n "(cached) $ac_c" 1>&6
10056 cat > conftest.$ac_ext <<EOF
10057 #line 10058 "configure"
10058 #include "confdefs.h"
10059 /* System header to define __stub macros and hopefully few prototypes,
10060 which can conflict with char $ac_func(); below. */
10061 #include <assert.h>
10062 /* Override any gcc2 internal prototype to avoid an error. */
10063 /* We use char because int might match the return type of a gcc2
10064 builtin and then its argument prototype would still apply. */
10069 /* The GNU C library defines this for functions which it implements
10070 to always fail with ENOSYS. Some functions are actually named
10071 something starting with __ and the normal name is an alias. */
10072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10080 if { (eval echo configure:10081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10082 eval "ac_cv_func_$ac_func=yes"
10084 echo "configure: failed program was:" >&5
10085 cat conftest.$ac_ext >&5
10087 eval "ac_cv_func_$ac_func=no"
10092 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10093 echo "$ac_t""yes" 1>&6
10094 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10095 cat >> confdefs.h <<EOF
10096 #define $ac_tr_func 1
10100 echo "$ac_t""no" 1>&6
10106 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
10107 echo "configure:10108: checking for _isnan declaration" >&5
10108 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
10109 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
10110 echo $ac_n "(cached) $ac_c" 1>&6
10115 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10116 ac_cpp='$CXXCPP $CPPFLAGS'
10117 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10118 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10119 cross_compiling=$ac_cv_prog_cxx_cross
10121 cat > conftest.$ac_ext <<EOF
10122 #line 10123 "configure"
10123 #include "confdefs.h"
10125 #ifdef HAVE_IEEEFP_H
10126 #include <ieeefp.h>
10133 if { (eval echo configure:10134: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10135 glibcpp_cv_func__isnan_use=yes
10137 echo "configure: failed program was:" >&5
10138 cat conftest.$ac_ext >&5
10140 glibcpp_cv_func__isnan_use=no
10144 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10145 ac_cpp='$CPP $CPPFLAGS'
10146 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10147 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10148 cross_compiling=$ac_cv_prog_cc_cross
10154 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
10156 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
10157 for ac_func in _isnan
10159 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10160 echo "configure:10161: checking for $ac_func" >&5
10161 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10162 echo $ac_n "(cached) $ac_c" 1>&6
10164 cat > conftest.$ac_ext <<EOF
10165 #line 10166 "configure"
10166 #include "confdefs.h"
10167 /* System header to define __stub macros and hopefully few prototypes,
10168 which can conflict with char $ac_func(); below. */
10169 #include <assert.h>
10170 /* Override any gcc2 internal prototype to avoid an error. */
10171 /* We use char because int might match the return type of a gcc2
10172 builtin and then its argument prototype would still apply. */
10177 /* The GNU C library defines this for functions which it implements
10178 to always fail with ENOSYS. Some functions are actually named
10179 something starting with __ and the normal name is an alias. */
10180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10188 if { (eval echo configure:10189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10190 eval "ac_cv_func_$ac_func=yes"
10192 echo "configure: failed program was:" >&5
10193 cat conftest.$ac_ext >&5
10195 eval "ac_cv_func_$ac_func=no"
10200 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10201 echo "$ac_t""yes" 1>&6
10202 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10203 cat >> confdefs.h <<EOF
10204 #define $ac_tr_func 1
10208 echo "$ac_t""no" 1>&6
10217 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
10218 echo "configure:10219: checking for finite declaration" >&5
10219 if test x${glibcpp_cv_func_finite_use+set} != xset; then
10220 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
10221 echo $ac_n "(cached) $ac_c" 1>&6
10226 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10227 ac_cpp='$CXXCPP $CPPFLAGS'
10228 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10229 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10230 cross_compiling=$ac_cv_prog_cxx_cross
10232 cat > conftest.$ac_ext <<EOF
10233 #line 10234 "configure"
10234 #include "confdefs.h"
10236 #ifdef HAVE_IEEEFP_H
10237 #include <ieeefp.h>
10244 if { (eval echo configure:10245: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10246 glibcpp_cv_func_finite_use=yes
10248 echo "configure: failed program was:" >&5
10249 cat conftest.$ac_ext >&5
10251 glibcpp_cv_func_finite_use=no
10255 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10256 ac_cpp='$CPP $CPPFLAGS'
10257 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10258 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10259 cross_compiling=$ac_cv_prog_cc_cross
10265 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
10267 if test x$glibcpp_cv_func_finite_use = x"yes"; then
10268 for ac_func in finite
10270 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10271 echo "configure:10272: checking for $ac_func" >&5
10272 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10273 echo $ac_n "(cached) $ac_c" 1>&6
10275 cat > conftest.$ac_ext <<EOF
10276 #line 10277 "configure"
10277 #include "confdefs.h"
10278 /* System header to define __stub macros and hopefully few prototypes,
10279 which can conflict with char $ac_func(); below. */
10280 #include <assert.h>
10281 /* Override any gcc2 internal prototype to avoid an error. */
10282 /* We use char because int might match the return type of a gcc2
10283 builtin and then its argument prototype would still apply. */
10288 /* The GNU C library defines this for functions which it implements
10289 to always fail with ENOSYS. Some functions are actually named
10290 something starting with __ and the normal name is an alias. */
10291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10299 if { (eval echo configure:10300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10301 eval "ac_cv_func_$ac_func=yes"
10303 echo "configure: failed program was:" >&5
10304 cat conftest.$ac_ext >&5
10306 eval "ac_cv_func_$ac_func=no"
10311 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10312 echo "$ac_t""yes" 1>&6
10313 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10314 cat >> confdefs.h <<EOF
10315 #define $ac_tr_func 1
10319 echo "$ac_t""no" 1>&6
10325 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
10326 echo "configure:10327: checking for _finite declaration" >&5
10327 if test x${glibcpp_cv_func__finite_use+set} != xset; then
10328 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
10329 echo $ac_n "(cached) $ac_c" 1>&6
10334 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10335 ac_cpp='$CXXCPP $CPPFLAGS'
10336 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10337 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10338 cross_compiling=$ac_cv_prog_cxx_cross
10340 cat > conftest.$ac_ext <<EOF
10341 #line 10342 "configure"
10342 #include "confdefs.h"
10344 #ifdef HAVE_IEEEFP_H
10345 #include <ieeefp.h>
10352 if { (eval echo configure:10353: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10354 glibcpp_cv_func__finite_use=yes
10356 echo "configure: failed program was:" >&5
10357 cat conftest.$ac_ext >&5
10359 glibcpp_cv_func__finite_use=no
10363 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10364 ac_cpp='$CPP $CPPFLAGS'
10365 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10366 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10367 cross_compiling=$ac_cv_prog_cc_cross
10373 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
10375 if test x$glibcpp_cv_func__finite_use = x"yes"; then
10376 for ac_func in _finite
10378 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10379 echo "configure:10380: checking for $ac_func" >&5
10380 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10381 echo $ac_n "(cached) $ac_c" 1>&6
10383 cat > conftest.$ac_ext <<EOF
10384 #line 10385 "configure"
10385 #include "confdefs.h"
10386 /* System header to define __stub macros and hopefully few prototypes,
10387 which can conflict with char $ac_func(); below. */
10388 #include <assert.h>
10389 /* Override any gcc2 internal prototype to avoid an error. */
10390 /* We use char because int might match the return type of a gcc2
10391 builtin and then its argument prototype would still apply. */
10396 /* The GNU C library defines this for functions which it implements
10397 to always fail with ENOSYS. Some functions are actually named
10398 something starting with __ and the normal name is an alias. */
10399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10407 if { (eval echo configure:10408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10409 eval "ac_cv_func_$ac_func=yes"
10411 echo "configure: failed program was:" >&5
10412 cat conftest.$ac_ext >&5
10414 eval "ac_cv_func_$ac_func=no"
10419 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10420 echo "$ac_t""yes" 1>&6
10421 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10422 cat >> confdefs.h <<EOF
10423 #define $ac_tr_func 1
10427 echo "$ac_t""no" 1>&6
10436 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
10437 echo "configure:10438: checking for copysign declaration" >&5
10438 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
10439 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
10440 echo $ac_n "(cached) $ac_c" 1>&6
10445 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10446 ac_cpp='$CXXCPP $CPPFLAGS'
10447 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10448 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10449 cross_compiling=$ac_cv_prog_cxx_cross
10451 cat > conftest.$ac_ext <<EOF
10452 #line 10453 "configure"
10453 #include "confdefs.h"
10459 if { (eval echo configure:10460: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10461 glibcpp_cv_func_copysign_use=yes
10463 echo "configure: failed program was:" >&5
10464 cat conftest.$ac_ext >&5
10466 glibcpp_cv_func_copysign_use=no
10470 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10471 ac_cpp='$CPP $CPPFLAGS'
10472 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10473 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10474 cross_compiling=$ac_cv_prog_cc_cross
10480 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
10482 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
10483 for ac_func in copysign
10485 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10486 echo "configure:10487: checking for $ac_func" >&5
10487 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10488 echo $ac_n "(cached) $ac_c" 1>&6
10490 cat > conftest.$ac_ext <<EOF
10491 #line 10492 "configure"
10492 #include "confdefs.h"
10493 /* System header to define __stub macros and hopefully few prototypes,
10494 which can conflict with char $ac_func(); below. */
10495 #include <assert.h>
10496 /* Override any gcc2 internal prototype to avoid an error. */
10497 /* We use char because int might match the return type of a gcc2
10498 builtin and then its argument prototype would still apply. */
10503 /* The GNU C library defines this for functions which it implements
10504 to always fail with ENOSYS. Some functions are actually named
10505 something starting with __ and the normal name is an alias. */
10506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10514 if { (eval echo configure:10515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10516 eval "ac_cv_func_$ac_func=yes"
10518 echo "configure: failed program was:" >&5
10519 cat conftest.$ac_ext >&5
10521 eval "ac_cv_func_$ac_func=no"
10526 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10527 echo "$ac_t""yes" 1>&6
10528 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10529 cat >> confdefs.h <<EOF
10530 #define $ac_tr_func 1
10534 echo "$ac_t""no" 1>&6
10540 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
10541 echo "configure:10542: checking for _copysign declaration" >&5
10542 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
10543 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
10544 echo $ac_n "(cached) $ac_c" 1>&6
10549 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10550 ac_cpp='$CXXCPP $CPPFLAGS'
10551 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10552 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10553 cross_compiling=$ac_cv_prog_cxx_cross
10555 cat > conftest.$ac_ext <<EOF
10556 #line 10557 "configure"
10557 #include "confdefs.h"
10563 if { (eval echo configure:10564: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10565 glibcpp_cv_func__copysign_use=yes
10567 echo "configure: failed program was:" >&5
10568 cat conftest.$ac_ext >&5
10570 glibcpp_cv_func__copysign_use=no
10574 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10575 ac_cpp='$CPP $CPPFLAGS'
10576 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10577 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10578 cross_compiling=$ac_cv_prog_cc_cross
10584 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
10586 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
10587 for ac_func in _copysign
10589 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10590 echo "configure:10591: checking for $ac_func" >&5
10591 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10592 echo $ac_n "(cached) $ac_c" 1>&6
10594 cat > conftest.$ac_ext <<EOF
10595 #line 10596 "configure"
10596 #include "confdefs.h"
10597 /* System header to define __stub macros and hopefully few prototypes,
10598 which can conflict with char $ac_func(); below. */
10599 #include <assert.h>
10600 /* Override any gcc2 internal prototype to avoid an error. */
10601 /* We use char because int might match the return type of a gcc2
10602 builtin and then its argument prototype would still apply. */
10607 /* The GNU C library defines this for functions which it implements
10608 to always fail with ENOSYS. Some functions are actually named
10609 something starting with __ and the normal name is an alias. */
10610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10618 if { (eval echo configure:10619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10620 eval "ac_cv_func_$ac_func=yes"
10622 echo "configure: failed program was:" >&5
10623 cat conftest.$ac_ext >&5
10625 eval "ac_cv_func_$ac_func=no"
10630 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10631 echo "$ac_t""yes" 1>&6
10632 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10633 cat >> confdefs.h <<EOF
10634 #define $ac_tr_func 1
10638 echo "$ac_t""no" 1>&6
10647 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
10648 echo "configure:10649: checking for sincos declaration" >&5
10649 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
10650 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
10651 echo $ac_n "(cached) $ac_c" 1>&6
10656 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10657 ac_cpp='$CXXCPP $CPPFLAGS'
10658 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10659 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10660 cross_compiling=$ac_cv_prog_cxx_cross
10662 cat > conftest.$ac_ext <<EOF
10663 #line 10664 "configure"
10664 #include "confdefs.h"
10670 if { (eval echo configure:10671: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10672 glibcpp_cv_func_sincos_use=yes
10674 echo "configure: failed program was:" >&5
10675 cat conftest.$ac_ext >&5
10677 glibcpp_cv_func_sincos_use=no
10681 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10682 ac_cpp='$CPP $CPPFLAGS'
10683 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10684 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10685 cross_compiling=$ac_cv_prog_cc_cross
10691 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
10693 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
10694 for ac_func in sincos
10696 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10697 echo "configure:10698: checking for $ac_func" >&5
10698 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10699 echo $ac_n "(cached) $ac_c" 1>&6
10701 cat > conftest.$ac_ext <<EOF
10702 #line 10703 "configure"
10703 #include "confdefs.h"
10704 /* System header to define __stub macros and hopefully few prototypes,
10705 which can conflict with char $ac_func(); below. */
10706 #include <assert.h>
10707 /* Override any gcc2 internal prototype to avoid an error. */
10708 /* We use char because int might match the return type of a gcc2
10709 builtin and then its argument prototype would still apply. */
10714 /* The GNU C library defines this for functions which it implements
10715 to always fail with ENOSYS. Some functions are actually named
10716 something starting with __ and the normal name is an alias. */
10717 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10725 if { (eval echo configure:10726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10727 eval "ac_cv_func_$ac_func=yes"
10729 echo "configure: failed program was:" >&5
10730 cat conftest.$ac_ext >&5
10732 eval "ac_cv_func_$ac_func=no"
10737 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10738 echo "$ac_t""yes" 1>&6
10739 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10740 cat >> confdefs.h <<EOF
10741 #define $ac_tr_func 1
10745 echo "$ac_t""no" 1>&6
10751 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
10752 echo "configure:10753: checking for _sincos declaration" >&5
10753 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
10754 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
10755 echo $ac_n "(cached) $ac_c" 1>&6
10760 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10761 ac_cpp='$CXXCPP $CPPFLAGS'
10762 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10763 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10764 cross_compiling=$ac_cv_prog_cxx_cross
10766 cat > conftest.$ac_ext <<EOF
10767 #line 10768 "configure"
10768 #include "confdefs.h"
10774 if { (eval echo configure:10775: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10776 glibcpp_cv_func__sincos_use=yes
10778 echo "configure: failed program was:" >&5
10779 cat conftest.$ac_ext >&5
10781 glibcpp_cv_func__sincos_use=no
10785 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10786 ac_cpp='$CPP $CPPFLAGS'
10787 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10788 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10789 cross_compiling=$ac_cv_prog_cc_cross
10795 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
10797 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
10798 for ac_func in _sincos
10800 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10801 echo "configure:10802: checking for $ac_func" >&5
10802 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10803 echo $ac_n "(cached) $ac_c" 1>&6
10805 cat > conftest.$ac_ext <<EOF
10806 #line 10807 "configure"
10807 #include "confdefs.h"
10808 /* System header to define __stub macros and hopefully few prototypes,
10809 which can conflict with char $ac_func(); below. */
10810 #include <assert.h>
10811 /* Override any gcc2 internal prototype to avoid an error. */
10812 /* We use char because int might match the return type of a gcc2
10813 builtin and then its argument prototype would still apply. */
10818 /* The GNU C library defines this for functions which it implements
10819 to always fail with ENOSYS. Some functions are actually named
10820 something starting with __ and the normal name is an alias. */
10821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10829 if { (eval echo configure:10830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10831 eval "ac_cv_func_$ac_func=yes"
10833 echo "configure: failed program was:" >&5
10834 cat conftest.$ac_ext >&5
10836 eval "ac_cv_func_$ac_func=no"
10841 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10842 echo "$ac_t""yes" 1>&6
10843 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10844 cat >> confdefs.h <<EOF
10845 #define $ac_tr_func 1
10849 echo "$ac_t""no" 1>&6
10858 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
10859 echo "configure:10860: checking for fpclass declaration" >&5
10860 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
10861 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
10862 echo $ac_n "(cached) $ac_c" 1>&6
10867 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10868 ac_cpp='$CXXCPP $CPPFLAGS'
10869 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10870 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10871 cross_compiling=$ac_cv_prog_cxx_cross
10873 cat > conftest.$ac_ext <<EOF
10874 #line 10875 "configure"
10875 #include "confdefs.h"
10877 #ifdef HAVE_IEEEFP_H
10878 #include <ieeefp.h>
10885 if { (eval echo configure:10886: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10887 glibcpp_cv_func_fpclass_use=yes
10889 echo "configure: failed program was:" >&5
10890 cat conftest.$ac_ext >&5
10892 glibcpp_cv_func_fpclass_use=no
10896 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10897 ac_cpp='$CPP $CPPFLAGS'
10898 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10899 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10900 cross_compiling=$ac_cv_prog_cc_cross
10906 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
10908 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
10909 for ac_func in fpclass
10911 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10912 echo "configure:10913: checking for $ac_func" >&5
10913 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10914 echo $ac_n "(cached) $ac_c" 1>&6
10916 cat > conftest.$ac_ext <<EOF
10917 #line 10918 "configure"
10918 #include "confdefs.h"
10919 /* System header to define __stub macros and hopefully few prototypes,
10920 which can conflict with char $ac_func(); below. */
10921 #include <assert.h>
10922 /* Override any gcc2 internal prototype to avoid an error. */
10923 /* We use char because int might match the return type of a gcc2
10924 builtin and then its argument prototype would still apply. */
10929 /* The GNU C library defines this for functions which it implements
10930 to always fail with ENOSYS. Some functions are actually named
10931 something starting with __ and the normal name is an alias. */
10932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10940 if { (eval echo configure:10941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10942 eval "ac_cv_func_$ac_func=yes"
10944 echo "configure: failed program was:" >&5
10945 cat conftest.$ac_ext >&5
10947 eval "ac_cv_func_$ac_func=no"
10952 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10953 echo "$ac_t""yes" 1>&6
10954 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10955 cat >> confdefs.h <<EOF
10956 #define $ac_tr_func 1
10960 echo "$ac_t""no" 1>&6
10966 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
10967 echo "configure:10968: checking for _fpclass declaration" >&5
10968 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
10969 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
10970 echo $ac_n "(cached) $ac_c" 1>&6
10975 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10976 ac_cpp='$CXXCPP $CPPFLAGS'
10977 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10978 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10979 cross_compiling=$ac_cv_prog_cxx_cross
10981 cat > conftest.$ac_ext <<EOF
10982 #line 10983 "configure"
10983 #include "confdefs.h"
10985 #ifdef HAVE_IEEEFP_H
10986 #include <ieeefp.h>
10993 if { (eval echo configure:10994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10995 glibcpp_cv_func__fpclass_use=yes
10997 echo "configure: failed program was:" >&5
10998 cat conftest.$ac_ext >&5
11000 glibcpp_cv_func__fpclass_use=no
11004 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11005 ac_cpp='$CPP $CPPFLAGS'
11006 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11007 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11008 cross_compiling=$ac_cv_prog_cc_cross
11014 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
11016 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
11017 for ac_func in _fpclass
11019 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11020 echo "configure:11021: checking for $ac_func" >&5
11021 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11022 echo $ac_n "(cached) $ac_c" 1>&6
11024 cat > conftest.$ac_ext <<EOF
11025 #line 11026 "configure"
11026 #include "confdefs.h"
11027 /* System header to define __stub macros and hopefully few prototypes,
11028 which can conflict with char $ac_func(); below. */
11029 #include <assert.h>
11030 /* Override any gcc2 internal prototype to avoid an error. */
11031 /* We use char because int might match the return type of a gcc2
11032 builtin and then its argument prototype would still apply. */
11037 /* The GNU C library defines this for functions which it implements
11038 to always fail with ENOSYS. Some functions are actually named
11039 something starting with __ and the normal name is an alias. */
11040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11048 if { (eval echo configure:11049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11050 eval "ac_cv_func_$ac_func=yes"
11052 echo "configure: failed program was:" >&5
11053 cat conftest.$ac_ext >&5
11055 eval "ac_cv_func_$ac_func=no"
11060 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11061 echo "$ac_t""yes" 1>&6
11062 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11063 cat >> confdefs.h <<EOF
11064 #define $ac_tr_func 1
11068 echo "$ac_t""no" 1>&6
11077 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
11078 echo "configure:11079: checking for qfpclass declaration" >&5
11079 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
11080 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
11081 echo $ac_n "(cached) $ac_c" 1>&6
11086 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11087 ac_cpp='$CXXCPP $CPPFLAGS'
11088 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11089 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11090 cross_compiling=$ac_cv_prog_cxx_cross
11092 cat > conftest.$ac_ext <<EOF
11093 #line 11094 "configure"
11094 #include "confdefs.h"
11096 #ifdef HAVE_IEEEFP_H
11097 #include <ieeefp.h>
11104 if { (eval echo configure:11105: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11106 glibcpp_cv_func_qfpclass_use=yes
11108 echo "configure: failed program was:" >&5
11109 cat conftest.$ac_ext >&5
11111 glibcpp_cv_func_qfpclass_use=no
11115 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11116 ac_cpp='$CPP $CPPFLAGS'
11117 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11118 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11119 cross_compiling=$ac_cv_prog_cc_cross
11125 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
11127 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
11128 for ac_func in qfpclass
11130 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11131 echo "configure:11132: checking for $ac_func" >&5
11132 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11133 echo $ac_n "(cached) $ac_c" 1>&6
11135 cat > conftest.$ac_ext <<EOF
11136 #line 11137 "configure"
11137 #include "confdefs.h"
11138 /* System header to define __stub macros and hopefully few prototypes,
11139 which can conflict with char $ac_func(); below. */
11140 #include <assert.h>
11141 /* Override any gcc2 internal prototype to avoid an error. */
11142 /* We use char because int might match the return type of a gcc2
11143 builtin and then its argument prototype would still apply. */
11148 /* The GNU C library defines this for functions which it implements
11149 to always fail with ENOSYS. Some functions are actually named
11150 something starting with __ and the normal name is an alias. */
11151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11159 if { (eval echo configure:11160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11161 eval "ac_cv_func_$ac_func=yes"
11163 echo "configure: failed program was:" >&5
11164 cat conftest.$ac_ext >&5
11166 eval "ac_cv_func_$ac_func=no"
11171 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11172 echo "$ac_t""yes" 1>&6
11173 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11174 cat >> confdefs.h <<EOF
11175 #define $ac_tr_func 1
11179 echo "$ac_t""no" 1>&6
11185 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
11186 echo "configure:11187: checking for _qfpclass declaration" >&5
11187 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
11188 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
11189 echo $ac_n "(cached) $ac_c" 1>&6
11194 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11195 ac_cpp='$CXXCPP $CPPFLAGS'
11196 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11197 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11198 cross_compiling=$ac_cv_prog_cxx_cross
11200 cat > conftest.$ac_ext <<EOF
11201 #line 11202 "configure"
11202 #include "confdefs.h"
11204 #ifdef HAVE_IEEEFP_H
11205 #include <ieeefp.h>
11212 if { (eval echo configure:11213: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11214 glibcpp_cv_func__qfpclass_use=yes
11216 echo "configure: failed program was:" >&5
11217 cat conftest.$ac_ext >&5
11219 glibcpp_cv_func__qfpclass_use=no
11223 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11224 ac_cpp='$CPP $CPPFLAGS'
11225 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11226 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11227 cross_compiling=$ac_cv_prog_cc_cross
11233 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
11235 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
11236 for ac_func in _qfpclass
11238 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11239 echo "configure:11240: checking for $ac_func" >&5
11240 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11241 echo $ac_n "(cached) $ac_c" 1>&6
11243 cat > conftest.$ac_ext <<EOF
11244 #line 11245 "configure"
11245 #include "confdefs.h"
11246 /* System header to define __stub macros and hopefully few prototypes,
11247 which can conflict with char $ac_func(); below. */
11248 #include <assert.h>
11249 /* Override any gcc2 internal prototype to avoid an error. */
11250 /* We use char because int might match the return type of a gcc2
11251 builtin and then its argument prototype would still apply. */
11256 /* The GNU C library defines this for functions which it implements
11257 to always fail with ENOSYS. Some functions are actually named
11258 something starting with __ and the normal name is an alias. */
11259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11267 if { (eval echo configure:11268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11269 eval "ac_cv_func_$ac_func=yes"
11271 echo "configure: failed program was:" >&5
11272 cat conftest.$ac_ext >&5
11274 eval "ac_cv_func_$ac_func=no"
11279 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11280 echo "$ac_t""yes" 1>&6
11281 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11282 cat >> confdefs.h <<EOF
11283 #define $ac_tr_func 1
11287 echo "$ac_t""no" 1>&6
11296 echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
11297 echo "configure:11298: checking for hypot declaration" >&5
11298 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
11299 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
11300 echo $ac_n "(cached) $ac_c" 1>&6
11305 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11306 ac_cpp='$CXXCPP $CPPFLAGS'
11307 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11308 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11309 cross_compiling=$ac_cv_prog_cxx_cross
11311 cat > conftest.$ac_ext <<EOF
11312 #line 11313 "configure"
11313 #include "confdefs.h"
11319 if { (eval echo configure:11320: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11321 glibcpp_cv_func_hypot_use=yes
11323 echo "configure: failed program was:" >&5
11324 cat conftest.$ac_ext >&5
11326 glibcpp_cv_func_hypot_use=no
11330 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11331 ac_cpp='$CPP $CPPFLAGS'
11332 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11333 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11334 cross_compiling=$ac_cv_prog_cc_cross
11340 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
11342 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
11343 for ac_func in hypot
11345 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11346 echo "configure:11347: checking for $ac_func" >&5
11347 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11348 echo $ac_n "(cached) $ac_c" 1>&6
11350 cat > conftest.$ac_ext <<EOF
11351 #line 11352 "configure"
11352 #include "confdefs.h"
11353 /* System header to define __stub macros and hopefully few prototypes,
11354 which can conflict with char $ac_func(); below. */
11355 #include <assert.h>
11356 /* Override any gcc2 internal prototype to avoid an error. */
11357 /* We use char because int might match the return type of a gcc2
11358 builtin and then its argument prototype would still apply. */
11363 /* The GNU C library defines this for functions which it implements
11364 to always fail with ENOSYS. Some functions are actually named
11365 something starting with __ and the normal name is an alias. */
11366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11374 if { (eval echo configure:11375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11376 eval "ac_cv_func_$ac_func=yes"
11378 echo "configure: failed program was:" >&5
11379 cat conftest.$ac_ext >&5
11381 eval "ac_cv_func_$ac_func=no"
11386 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11387 echo "$ac_t""yes" 1>&6
11388 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11389 cat >> confdefs.h <<EOF
11390 #define $ac_tr_func 1
11394 echo "$ac_t""no" 1>&6
11400 echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
11401 echo "configure:11402: checking for _hypot declaration" >&5
11402 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
11403 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
11404 echo $ac_n "(cached) $ac_c" 1>&6
11409 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11410 ac_cpp='$CXXCPP $CPPFLAGS'
11411 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11412 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11413 cross_compiling=$ac_cv_prog_cxx_cross
11415 cat > conftest.$ac_ext <<EOF
11416 #line 11417 "configure"
11417 #include "confdefs.h"
11423 if { (eval echo configure:11424: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11425 glibcpp_cv_func__hypot_use=yes
11427 echo "configure: failed program was:" >&5
11428 cat conftest.$ac_ext >&5
11430 glibcpp_cv_func__hypot_use=no
11434 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11435 ac_cpp='$CPP $CPPFLAGS'
11436 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11437 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11438 cross_compiling=$ac_cv_prog_cc_cross
11444 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
11446 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
11447 for ac_func in _hypot
11449 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11450 echo "configure:11451: checking for $ac_func" >&5
11451 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11452 echo $ac_n "(cached) $ac_c" 1>&6
11454 cat > conftest.$ac_ext <<EOF
11455 #line 11456 "configure"
11456 #include "confdefs.h"
11457 /* System header to define __stub macros and hopefully few prototypes,
11458 which can conflict with char $ac_func(); below. */
11459 #include <assert.h>
11460 /* Override any gcc2 internal prototype to avoid an error. */
11461 /* We use char because int might match the return type of a gcc2
11462 builtin and then its argument prototype would still apply. */
11467 /* The GNU C library defines this for functions which it implements
11468 to always fail with ENOSYS. Some functions are actually named
11469 something starting with __ and the normal name is an alias. */
11470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11478 if { (eval echo configure:11479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11480 eval "ac_cv_func_$ac_func=yes"
11482 echo "configure: failed program was:" >&5
11483 cat conftest.$ac_ext >&5
11485 eval "ac_cv_func_$ac_func=no"
11490 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11491 echo "$ac_t""yes" 1>&6
11492 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11493 cat >> confdefs.h <<EOF
11494 #define $ac_tr_func 1
11498 echo "$ac_t""no" 1>&6
11507 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
11508 echo "configure:11509: checking for float trig functions" >&5
11509 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
11510 echo $ac_n "(cached) $ac_c" 1>&6
11515 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11516 ac_cpp='$CXXCPP $CPPFLAGS'
11517 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11518 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11519 cross_compiling=$ac_cv_prog_cxx_cross
11521 cat > conftest.$ac_ext <<EOF
11522 #line 11523 "configure"
11523 #include "confdefs.h"
11526 `for x in acosf asinf atanf \
11528 coshf sinhf tanhf; do echo "$x (0);"; done`
11531 if { (eval echo configure:11532: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11533 glibcpp_cv_func_float_trig_use=yes
11535 echo "configure: failed program was:" >&5
11536 cat conftest.$ac_ext >&5
11538 glibcpp_cv_func_float_trig_use=no
11542 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11543 ac_cpp='$CPP $CPPFLAGS'
11544 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11545 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11546 cross_compiling=$ac_cv_prog_cc_cross
11550 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
11551 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
11552 for ac_func in acosf asinf atanf \
11556 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11557 echo "configure:11558: checking for $ac_func" >&5
11558 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11559 echo $ac_n "(cached) $ac_c" 1>&6
11561 cat > conftest.$ac_ext <<EOF
11562 #line 11563 "configure"
11563 #include "confdefs.h"
11564 /* System header to define __stub macros and hopefully few prototypes,
11565 which can conflict with char $ac_func(); below. */
11566 #include <assert.h>
11567 /* Override any gcc2 internal prototype to avoid an error. */
11568 /* We use char because int might match the return type of a gcc2
11569 builtin and then its argument prototype would still apply. */
11574 /* The GNU C library defines this for functions which it implements
11575 to always fail with ENOSYS. Some functions are actually named
11576 something starting with __ and the normal name is an alias. */
11577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11585 if { (eval echo configure:11586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11587 eval "ac_cv_func_$ac_func=yes"
11589 echo "configure: failed program was:" >&5
11590 cat conftest.$ac_ext >&5
11592 eval "ac_cv_func_$ac_func=no"
11597 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11598 echo "$ac_t""yes" 1>&6
11599 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11600 cat >> confdefs.h <<EOF
11601 #define $ac_tr_func 1
11605 echo "$ac_t""no" 1>&6
11612 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
11613 echo "configure:11614: checking for float round functions" >&5
11614 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
11615 echo $ac_n "(cached) $ac_c" 1>&6
11620 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11621 ac_cpp='$CXXCPP $CPPFLAGS'
11622 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11623 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11624 cross_compiling=$ac_cv_prog_cxx_cross
11626 cat > conftest.$ac_ext <<EOF
11627 #line 11628 "configure"
11628 #include "confdefs.h"
11631 `for x in ceilf floorf; do echo "$x (0);"; done`
11634 if { (eval echo configure:11635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11636 glibcpp_cv_func_float_round_use=yes
11638 echo "configure: failed program was:" >&5
11639 cat conftest.$ac_ext >&5
11641 glibcpp_cv_func_float_round_use=no
11645 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11646 ac_cpp='$CPP $CPPFLAGS'
11647 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11648 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11649 cross_compiling=$ac_cv_prog_cc_cross
11653 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
11654 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
11655 for ac_func in ceilf floorf
11657 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11658 echo "configure:11659: checking for $ac_func" >&5
11659 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11660 echo $ac_n "(cached) $ac_c" 1>&6
11662 cat > conftest.$ac_ext <<EOF
11663 #line 11664 "configure"
11664 #include "confdefs.h"
11665 /* System header to define __stub macros and hopefully few prototypes,
11666 which can conflict with char $ac_func(); below. */
11667 #include <assert.h>
11668 /* Override any gcc2 internal prototype to avoid an error. */
11669 /* We use char because int might match the return type of a gcc2
11670 builtin and then its argument prototype would still apply. */
11675 /* The GNU C library defines this for functions which it implements
11676 to always fail with ENOSYS. Some functions are actually named
11677 something starting with __ and the normal name is an alias. */
11678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11686 if { (eval echo configure:11687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11688 eval "ac_cv_func_$ac_func=yes"
11690 echo "configure: failed program was:" >&5
11691 cat conftest.$ac_ext >&5
11693 eval "ac_cv_func_$ac_func=no"
11698 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11699 echo "$ac_t""yes" 1>&6
11700 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11701 cat >> confdefs.h <<EOF
11702 #define $ac_tr_func 1
11706 echo "$ac_t""no" 1>&6
11714 echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
11715 echo "configure:11716: checking for expf declaration" >&5
11716 if test x${glibcpp_cv_func_expf_use+set} != xset; then
11717 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
11718 echo $ac_n "(cached) $ac_c" 1>&6
11723 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11724 ac_cpp='$CXXCPP $CPPFLAGS'
11725 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11726 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11727 cross_compiling=$ac_cv_prog_cxx_cross
11729 cat > conftest.$ac_ext <<EOF
11730 #line 11731 "configure"
11731 #include "confdefs.h"
11733 #ifdef HAVE_IEEEFP_H
11734 #include <ieeefp.h>
11741 if { (eval echo configure:11742: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11743 glibcpp_cv_func_expf_use=yes
11745 echo "configure: failed program was:" >&5
11746 cat conftest.$ac_ext >&5
11748 glibcpp_cv_func_expf_use=no
11752 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11753 ac_cpp='$CPP $CPPFLAGS'
11754 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11755 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11756 cross_compiling=$ac_cv_prog_cc_cross
11762 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
11764 if test x$glibcpp_cv_func_expf_use = x"yes"; then
11765 for ac_func in expf
11767 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11768 echo "configure:11769: checking for $ac_func" >&5
11769 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11770 echo $ac_n "(cached) $ac_c" 1>&6
11772 cat > conftest.$ac_ext <<EOF
11773 #line 11774 "configure"
11774 #include "confdefs.h"
11775 /* System header to define __stub macros and hopefully few prototypes,
11776 which can conflict with char $ac_func(); below. */
11777 #include <assert.h>
11778 /* Override any gcc2 internal prototype to avoid an error. */
11779 /* We use char because int might match the return type of a gcc2
11780 builtin and then its argument prototype would still apply. */
11785 /* The GNU C library defines this for functions which it implements
11786 to always fail with ENOSYS. Some functions are actually named
11787 something starting with __ and the normal name is an alias. */
11788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11796 if { (eval echo configure:11797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11798 eval "ac_cv_func_$ac_func=yes"
11800 echo "configure: failed program was:" >&5
11801 cat conftest.$ac_ext >&5
11803 eval "ac_cv_func_$ac_func=no"
11808 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11809 echo "$ac_t""yes" 1>&6
11810 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11811 cat >> confdefs.h <<EOF
11812 #define $ac_tr_func 1
11816 echo "$ac_t""no" 1>&6
11822 echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
11823 echo "configure:11824: checking for _expf declaration" >&5
11824 if test x${glibcpp_cv_func__expf_use+set} != xset; then
11825 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
11826 echo $ac_n "(cached) $ac_c" 1>&6
11831 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11832 ac_cpp='$CXXCPP $CPPFLAGS'
11833 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11834 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11835 cross_compiling=$ac_cv_prog_cxx_cross
11837 cat > conftest.$ac_ext <<EOF
11838 #line 11839 "configure"
11839 #include "confdefs.h"
11841 #ifdef HAVE_IEEEFP_H
11842 #include <ieeefp.h>
11849 if { (eval echo configure:11850: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11851 glibcpp_cv_func__expf_use=yes
11853 echo "configure: failed program was:" >&5
11854 cat conftest.$ac_ext >&5
11856 glibcpp_cv_func__expf_use=no
11860 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11861 ac_cpp='$CPP $CPPFLAGS'
11862 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11863 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11864 cross_compiling=$ac_cv_prog_cc_cross
11870 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
11872 if test x$glibcpp_cv_func__expf_use = x"yes"; then
11873 for ac_func in _expf
11875 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11876 echo "configure:11877: checking for $ac_func" >&5
11877 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11878 echo $ac_n "(cached) $ac_c" 1>&6
11880 cat > conftest.$ac_ext <<EOF
11881 #line 11882 "configure"
11882 #include "confdefs.h"
11883 /* System header to define __stub macros and hopefully few prototypes,
11884 which can conflict with char $ac_func(); below. */
11885 #include <assert.h>
11886 /* Override any gcc2 internal prototype to avoid an error. */
11887 /* We use char because int might match the return type of a gcc2
11888 builtin and then its argument prototype would still apply. */
11893 /* The GNU C library defines this for functions which it implements
11894 to always fail with ENOSYS. Some functions are actually named
11895 something starting with __ and the normal name is an alias. */
11896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11904 if { (eval echo configure:11905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11906 eval "ac_cv_func_$ac_func=yes"
11908 echo "configure: failed program was:" >&5
11909 cat conftest.$ac_ext >&5
11911 eval "ac_cv_func_$ac_func=no"
11916 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11917 echo "$ac_t""yes" 1>&6
11918 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11919 cat >> confdefs.h <<EOF
11920 #define $ac_tr_func 1
11924 echo "$ac_t""no" 1>&6
11933 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
11934 echo "configure:11935: checking for isnanf declaration" >&5
11935 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
11936 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
11937 echo $ac_n "(cached) $ac_c" 1>&6
11942 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11943 ac_cpp='$CXXCPP $CPPFLAGS'
11944 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11945 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11946 cross_compiling=$ac_cv_prog_cxx_cross
11948 cat > conftest.$ac_ext <<EOF
11949 #line 11950 "configure"
11950 #include "confdefs.h"
11952 #ifdef HAVE_IEEEFP_H
11953 #include <ieeefp.h>
11960 if { (eval echo configure:11961: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11962 glibcpp_cv_func_isnanf_use=yes
11964 echo "configure: failed program was:" >&5
11965 cat conftest.$ac_ext >&5
11967 glibcpp_cv_func_isnanf_use=no
11971 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11972 ac_cpp='$CPP $CPPFLAGS'
11973 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11974 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11975 cross_compiling=$ac_cv_prog_cc_cross
11981 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
11983 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
11984 for ac_func in isnanf
11986 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11987 echo "configure:11988: checking for $ac_func" >&5
11988 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11989 echo $ac_n "(cached) $ac_c" 1>&6
11991 cat > conftest.$ac_ext <<EOF
11992 #line 11993 "configure"
11993 #include "confdefs.h"
11994 /* System header to define __stub macros and hopefully few prototypes,
11995 which can conflict with char $ac_func(); below. */
11996 #include <assert.h>
11997 /* Override any gcc2 internal prototype to avoid an error. */
11998 /* We use char because int might match the return type of a gcc2
11999 builtin and then its argument prototype would still apply. */
12004 /* The GNU C library defines this for functions which it implements
12005 to always fail with ENOSYS. Some functions are actually named
12006 something starting with __ and the normal name is an alias. */
12007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12015 if { (eval echo configure:12016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12017 eval "ac_cv_func_$ac_func=yes"
12019 echo "configure: failed program was:" >&5
12020 cat conftest.$ac_ext >&5
12022 eval "ac_cv_func_$ac_func=no"
12027 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12028 echo "$ac_t""yes" 1>&6
12029 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12030 cat >> confdefs.h <<EOF
12031 #define $ac_tr_func 1
12035 echo "$ac_t""no" 1>&6
12041 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
12042 echo "configure:12043: checking for _isnanf declaration" >&5
12043 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
12044 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
12045 echo $ac_n "(cached) $ac_c" 1>&6
12050 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12051 ac_cpp='$CXXCPP $CPPFLAGS'
12052 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12053 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12054 cross_compiling=$ac_cv_prog_cxx_cross
12056 cat > conftest.$ac_ext <<EOF
12057 #line 12058 "configure"
12058 #include "confdefs.h"
12060 #ifdef HAVE_IEEEFP_H
12061 #include <ieeefp.h>
12068 if { (eval echo configure:12069: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12070 glibcpp_cv_func__isnanf_use=yes
12072 echo "configure: failed program was:" >&5
12073 cat conftest.$ac_ext >&5
12075 glibcpp_cv_func__isnanf_use=no
12079 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12080 ac_cpp='$CPP $CPPFLAGS'
12081 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12082 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12083 cross_compiling=$ac_cv_prog_cc_cross
12089 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
12091 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
12092 for ac_func in _isnanf
12094 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12095 echo "configure:12096: checking for $ac_func" >&5
12096 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12097 echo $ac_n "(cached) $ac_c" 1>&6
12099 cat > conftest.$ac_ext <<EOF
12100 #line 12101 "configure"
12101 #include "confdefs.h"
12102 /* System header to define __stub macros and hopefully few prototypes,
12103 which can conflict with char $ac_func(); below. */
12104 #include <assert.h>
12105 /* Override any gcc2 internal prototype to avoid an error. */
12106 /* We use char because int might match the return type of a gcc2
12107 builtin and then its argument prototype would still apply. */
12112 /* The GNU C library defines this for functions which it implements
12113 to always fail with ENOSYS. Some functions are actually named
12114 something starting with __ and the normal name is an alias. */
12115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12123 if { (eval echo configure:12124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12125 eval "ac_cv_func_$ac_func=yes"
12127 echo "configure: failed program was:" >&5
12128 cat conftest.$ac_ext >&5
12130 eval "ac_cv_func_$ac_func=no"
12135 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12136 echo "$ac_t""yes" 1>&6
12137 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12138 cat >> confdefs.h <<EOF
12139 #define $ac_tr_func 1
12143 echo "$ac_t""no" 1>&6
12152 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
12153 echo "configure:12154: checking for isinff declaration" >&5
12154 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
12155 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
12156 echo $ac_n "(cached) $ac_c" 1>&6
12161 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12162 ac_cpp='$CXXCPP $CPPFLAGS'
12163 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12164 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12165 cross_compiling=$ac_cv_prog_cxx_cross
12167 cat > conftest.$ac_ext <<EOF
12168 #line 12169 "configure"
12169 #include "confdefs.h"
12171 #ifdef HAVE_IEEEFP_H
12172 #include <ieeefp.h>
12179 if { (eval echo configure:12180: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12181 glibcpp_cv_func_isinff_use=yes
12183 echo "configure: failed program was:" >&5
12184 cat conftest.$ac_ext >&5
12186 glibcpp_cv_func_isinff_use=no
12190 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12191 ac_cpp='$CPP $CPPFLAGS'
12192 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12193 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12194 cross_compiling=$ac_cv_prog_cc_cross
12200 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
12202 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
12203 for ac_func in isinff
12205 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12206 echo "configure:12207: checking for $ac_func" >&5
12207 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12208 echo $ac_n "(cached) $ac_c" 1>&6
12210 cat > conftest.$ac_ext <<EOF
12211 #line 12212 "configure"
12212 #include "confdefs.h"
12213 /* System header to define __stub macros and hopefully few prototypes,
12214 which can conflict with char $ac_func(); below. */
12215 #include <assert.h>
12216 /* Override any gcc2 internal prototype to avoid an error. */
12217 /* We use char because int might match the return type of a gcc2
12218 builtin and then its argument prototype would still apply. */
12223 /* The GNU C library defines this for functions which it implements
12224 to always fail with ENOSYS. Some functions are actually named
12225 something starting with __ and the normal name is an alias. */
12226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12234 if { (eval echo configure:12235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12236 eval "ac_cv_func_$ac_func=yes"
12238 echo "configure: failed program was:" >&5
12239 cat conftest.$ac_ext >&5
12241 eval "ac_cv_func_$ac_func=no"
12246 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12247 echo "$ac_t""yes" 1>&6
12248 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12249 cat >> confdefs.h <<EOF
12250 #define $ac_tr_func 1
12254 echo "$ac_t""no" 1>&6
12260 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
12261 echo "configure:12262: checking for _isinff declaration" >&5
12262 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
12263 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
12264 echo $ac_n "(cached) $ac_c" 1>&6
12269 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12270 ac_cpp='$CXXCPP $CPPFLAGS'
12271 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12272 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12273 cross_compiling=$ac_cv_prog_cxx_cross
12275 cat > conftest.$ac_ext <<EOF
12276 #line 12277 "configure"
12277 #include "confdefs.h"
12279 #ifdef HAVE_IEEEFP_H
12280 #include <ieeefp.h>
12287 if { (eval echo configure:12288: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12289 glibcpp_cv_func__isinff_use=yes
12291 echo "configure: failed program was:" >&5
12292 cat conftest.$ac_ext >&5
12294 glibcpp_cv_func__isinff_use=no
12298 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12299 ac_cpp='$CPP $CPPFLAGS'
12300 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12301 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12302 cross_compiling=$ac_cv_prog_cc_cross
12308 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
12310 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
12311 for ac_func in _isinff
12313 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12314 echo "configure:12315: checking for $ac_func" >&5
12315 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12316 echo $ac_n "(cached) $ac_c" 1>&6
12318 cat > conftest.$ac_ext <<EOF
12319 #line 12320 "configure"
12320 #include "confdefs.h"
12321 /* System header to define __stub macros and hopefully few prototypes,
12322 which can conflict with char $ac_func(); below. */
12323 #include <assert.h>
12324 /* Override any gcc2 internal prototype to avoid an error. */
12325 /* We use char because int might match the return type of a gcc2
12326 builtin and then its argument prototype would still apply. */
12331 /* The GNU C library defines this for functions which it implements
12332 to always fail with ENOSYS. Some functions are actually named
12333 something starting with __ and the normal name is an alias. */
12334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12342 if { (eval echo configure:12343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12344 eval "ac_cv_func_$ac_func=yes"
12346 echo "configure: failed program was:" >&5
12347 cat conftest.$ac_ext >&5
12349 eval "ac_cv_func_$ac_func=no"
12354 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12355 echo "$ac_t""yes" 1>&6
12356 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12357 cat >> confdefs.h <<EOF
12358 #define $ac_tr_func 1
12362 echo "$ac_t""no" 1>&6
12371 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
12372 echo "configure:12373: checking for atan2f declaration" >&5
12373 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
12374 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
12375 echo $ac_n "(cached) $ac_c" 1>&6
12380 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12381 ac_cpp='$CXXCPP $CPPFLAGS'
12382 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12383 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12384 cross_compiling=$ac_cv_prog_cxx_cross
12386 cat > conftest.$ac_ext <<EOF
12387 #line 12388 "configure"
12388 #include "confdefs.h"
12394 if { (eval echo configure:12395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12396 glibcpp_cv_func_atan2f_use=yes
12398 echo "configure: failed program was:" >&5
12399 cat conftest.$ac_ext >&5
12401 glibcpp_cv_func_atan2f_use=no
12405 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12406 ac_cpp='$CPP $CPPFLAGS'
12407 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12408 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12409 cross_compiling=$ac_cv_prog_cc_cross
12415 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
12417 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
12418 for ac_func in atan2f
12420 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12421 echo "configure:12422: checking for $ac_func" >&5
12422 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12423 echo $ac_n "(cached) $ac_c" 1>&6
12425 cat > conftest.$ac_ext <<EOF
12426 #line 12427 "configure"
12427 #include "confdefs.h"
12428 /* System header to define __stub macros and hopefully few prototypes,
12429 which can conflict with char $ac_func(); below. */
12430 #include <assert.h>
12431 /* Override any gcc2 internal prototype to avoid an error. */
12432 /* We use char because int might match the return type of a gcc2
12433 builtin and then its argument prototype would still apply. */
12438 /* The GNU C library defines this for functions which it implements
12439 to always fail with ENOSYS. Some functions are actually named
12440 something starting with __ and the normal name is an alias. */
12441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12449 if { (eval echo configure:12450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12451 eval "ac_cv_func_$ac_func=yes"
12453 echo "configure: failed program was:" >&5
12454 cat conftest.$ac_ext >&5
12456 eval "ac_cv_func_$ac_func=no"
12461 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12462 echo "$ac_t""yes" 1>&6
12463 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12464 cat >> confdefs.h <<EOF
12465 #define $ac_tr_func 1
12469 echo "$ac_t""no" 1>&6
12475 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
12476 echo "configure:12477: checking for _atan2f declaration" >&5
12477 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
12478 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
12479 echo $ac_n "(cached) $ac_c" 1>&6
12484 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12485 ac_cpp='$CXXCPP $CPPFLAGS'
12486 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12487 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12488 cross_compiling=$ac_cv_prog_cxx_cross
12490 cat > conftest.$ac_ext <<EOF
12491 #line 12492 "configure"
12492 #include "confdefs.h"
12498 if { (eval echo configure:12499: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12500 glibcpp_cv_func__atan2f_use=yes
12502 echo "configure: failed program was:" >&5
12503 cat conftest.$ac_ext >&5
12505 glibcpp_cv_func__atan2f_use=no
12509 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12510 ac_cpp='$CPP $CPPFLAGS'
12511 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12512 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12513 cross_compiling=$ac_cv_prog_cc_cross
12519 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
12521 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
12522 for ac_func in _atan2f
12524 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12525 echo "configure:12526: checking for $ac_func" >&5
12526 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12527 echo $ac_n "(cached) $ac_c" 1>&6
12529 cat > conftest.$ac_ext <<EOF
12530 #line 12531 "configure"
12531 #include "confdefs.h"
12532 /* System header to define __stub macros and hopefully few prototypes,
12533 which can conflict with char $ac_func(); below. */
12534 #include <assert.h>
12535 /* Override any gcc2 internal prototype to avoid an error. */
12536 /* We use char because int might match the return type of a gcc2
12537 builtin and then its argument prototype would still apply. */
12542 /* The GNU C library defines this for functions which it implements
12543 to always fail with ENOSYS. Some functions are actually named
12544 something starting with __ and the normal name is an alias. */
12545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12553 if { (eval echo configure:12554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12555 eval "ac_cv_func_$ac_func=yes"
12557 echo "configure: failed program was:" >&5
12558 cat conftest.$ac_ext >&5
12560 eval "ac_cv_func_$ac_func=no"
12565 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12566 echo "$ac_t""yes" 1>&6
12567 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12568 cat >> confdefs.h <<EOF
12569 #define $ac_tr_func 1
12573 echo "$ac_t""no" 1>&6
12582 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
12583 echo "configure:12584: checking for fabsf declaration" >&5
12584 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
12585 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
12586 echo $ac_n "(cached) $ac_c" 1>&6
12591 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12592 ac_cpp='$CXXCPP $CPPFLAGS'
12593 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12594 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12595 cross_compiling=$ac_cv_prog_cxx_cross
12597 cat > conftest.$ac_ext <<EOF
12598 #line 12599 "configure"
12599 #include "confdefs.h"
12601 #ifdef HAVE_IEEEFP_H
12602 #include <ieeefp.h>
12609 if { (eval echo configure:12610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12611 glibcpp_cv_func_fabsf_use=yes
12613 echo "configure: failed program was:" >&5
12614 cat conftest.$ac_ext >&5
12616 glibcpp_cv_func_fabsf_use=no
12620 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12621 ac_cpp='$CPP $CPPFLAGS'
12622 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12623 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12624 cross_compiling=$ac_cv_prog_cc_cross
12630 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
12632 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
12633 for ac_func in fabsf
12635 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12636 echo "configure:12637: checking for $ac_func" >&5
12637 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12638 echo $ac_n "(cached) $ac_c" 1>&6
12640 cat > conftest.$ac_ext <<EOF
12641 #line 12642 "configure"
12642 #include "confdefs.h"
12643 /* System header to define __stub macros and hopefully few prototypes,
12644 which can conflict with char $ac_func(); below. */
12645 #include <assert.h>
12646 /* Override any gcc2 internal prototype to avoid an error. */
12647 /* We use char because int might match the return type of a gcc2
12648 builtin and then its argument prototype would still apply. */
12653 /* The GNU C library defines this for functions which it implements
12654 to always fail with ENOSYS. Some functions are actually named
12655 something starting with __ and the normal name is an alias. */
12656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12664 if { (eval echo configure:12665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12666 eval "ac_cv_func_$ac_func=yes"
12668 echo "configure: failed program was:" >&5
12669 cat conftest.$ac_ext >&5
12671 eval "ac_cv_func_$ac_func=no"
12676 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12677 echo "$ac_t""yes" 1>&6
12678 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12679 cat >> confdefs.h <<EOF
12680 #define $ac_tr_func 1
12684 echo "$ac_t""no" 1>&6
12690 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
12691 echo "configure:12692: checking for _fabsf declaration" >&5
12692 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
12693 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
12694 echo $ac_n "(cached) $ac_c" 1>&6
12699 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12700 ac_cpp='$CXXCPP $CPPFLAGS'
12701 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12702 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12703 cross_compiling=$ac_cv_prog_cxx_cross
12705 cat > conftest.$ac_ext <<EOF
12706 #line 12707 "configure"
12707 #include "confdefs.h"
12709 #ifdef HAVE_IEEEFP_H
12710 #include <ieeefp.h>
12717 if { (eval echo configure:12718: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12719 glibcpp_cv_func__fabsf_use=yes
12721 echo "configure: failed program was:" >&5
12722 cat conftest.$ac_ext >&5
12724 glibcpp_cv_func__fabsf_use=no
12728 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12729 ac_cpp='$CPP $CPPFLAGS'
12730 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12731 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12732 cross_compiling=$ac_cv_prog_cc_cross
12738 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
12740 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
12741 for ac_func in _fabsf
12743 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12744 echo "configure:12745: checking for $ac_func" >&5
12745 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12746 echo $ac_n "(cached) $ac_c" 1>&6
12748 cat > conftest.$ac_ext <<EOF
12749 #line 12750 "configure"
12750 #include "confdefs.h"
12751 /* System header to define __stub macros and hopefully few prototypes,
12752 which can conflict with char $ac_func(); below. */
12753 #include <assert.h>
12754 /* Override any gcc2 internal prototype to avoid an error. */
12755 /* We use char because int might match the return type of a gcc2
12756 builtin and then its argument prototype would still apply. */
12761 /* The GNU C library defines this for functions which it implements
12762 to always fail with ENOSYS. Some functions are actually named
12763 something starting with __ and the normal name is an alias. */
12764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12772 if { (eval echo configure:12773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12774 eval "ac_cv_func_$ac_func=yes"
12776 echo "configure: failed program was:" >&5
12777 cat conftest.$ac_ext >&5
12779 eval "ac_cv_func_$ac_func=no"
12784 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12785 echo "$ac_t""yes" 1>&6
12786 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12787 cat >> confdefs.h <<EOF
12788 #define $ac_tr_func 1
12792 echo "$ac_t""no" 1>&6
12801 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
12802 echo "configure:12803: checking for fmodf declaration" >&5
12803 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
12804 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
12805 echo $ac_n "(cached) $ac_c" 1>&6
12810 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12811 ac_cpp='$CXXCPP $CPPFLAGS'
12812 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12813 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12814 cross_compiling=$ac_cv_prog_cxx_cross
12816 cat > conftest.$ac_ext <<EOF
12817 #line 12818 "configure"
12818 #include "confdefs.h"
12824 if { (eval echo configure:12825: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12826 glibcpp_cv_func_fmodf_use=yes
12828 echo "configure: failed program was:" >&5
12829 cat conftest.$ac_ext >&5
12831 glibcpp_cv_func_fmodf_use=no
12835 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12836 ac_cpp='$CPP $CPPFLAGS'
12837 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12838 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12839 cross_compiling=$ac_cv_prog_cc_cross
12845 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
12847 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
12848 for ac_func in fmodf
12850 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12851 echo "configure:12852: checking for $ac_func" >&5
12852 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12853 echo $ac_n "(cached) $ac_c" 1>&6
12855 cat > conftest.$ac_ext <<EOF
12856 #line 12857 "configure"
12857 #include "confdefs.h"
12858 /* System header to define __stub macros and hopefully few prototypes,
12859 which can conflict with char $ac_func(); below. */
12860 #include <assert.h>
12861 /* Override any gcc2 internal prototype to avoid an error. */
12862 /* We use char because int might match the return type of a gcc2
12863 builtin and then its argument prototype would still apply. */
12868 /* The GNU C library defines this for functions which it implements
12869 to always fail with ENOSYS. Some functions are actually named
12870 something starting with __ and the normal name is an alias. */
12871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12879 if { (eval echo configure:12880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12881 eval "ac_cv_func_$ac_func=yes"
12883 echo "configure: failed program was:" >&5
12884 cat conftest.$ac_ext >&5
12886 eval "ac_cv_func_$ac_func=no"
12891 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12892 echo "$ac_t""yes" 1>&6
12893 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12894 cat >> confdefs.h <<EOF
12895 #define $ac_tr_func 1
12899 echo "$ac_t""no" 1>&6
12905 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
12906 echo "configure:12907: checking for _fmodf declaration" >&5
12907 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
12908 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
12909 echo $ac_n "(cached) $ac_c" 1>&6
12914 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12915 ac_cpp='$CXXCPP $CPPFLAGS'
12916 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12917 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12918 cross_compiling=$ac_cv_prog_cxx_cross
12920 cat > conftest.$ac_ext <<EOF
12921 #line 12922 "configure"
12922 #include "confdefs.h"
12928 if { (eval echo configure:12929: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12930 glibcpp_cv_func__fmodf_use=yes
12932 echo "configure: failed program was:" >&5
12933 cat conftest.$ac_ext >&5
12935 glibcpp_cv_func__fmodf_use=no
12939 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12940 ac_cpp='$CPP $CPPFLAGS'
12941 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12942 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12943 cross_compiling=$ac_cv_prog_cc_cross
12949 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
12951 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
12952 for ac_func in _fmodf
12954 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12955 echo "configure:12956: checking for $ac_func" >&5
12956 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12957 echo $ac_n "(cached) $ac_c" 1>&6
12959 cat > conftest.$ac_ext <<EOF
12960 #line 12961 "configure"
12961 #include "confdefs.h"
12962 /* System header to define __stub macros and hopefully few prototypes,
12963 which can conflict with char $ac_func(); below. */
12964 #include <assert.h>
12965 /* Override any gcc2 internal prototype to avoid an error. */
12966 /* We use char because int might match the return type of a gcc2
12967 builtin and then its argument prototype would still apply. */
12972 /* The GNU C library defines this for functions which it implements
12973 to always fail with ENOSYS. Some functions are actually named
12974 something starting with __ and the normal name is an alias. */
12975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12983 if { (eval echo configure:12984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12985 eval "ac_cv_func_$ac_func=yes"
12987 echo "configure: failed program was:" >&5
12988 cat conftest.$ac_ext >&5
12990 eval "ac_cv_func_$ac_func=no"
12995 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12996 echo "$ac_t""yes" 1>&6
12997 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12998 cat >> confdefs.h <<EOF
12999 #define $ac_tr_func 1
13003 echo "$ac_t""no" 1>&6
13012 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
13013 echo "configure:13014: checking for frexpf declaration" >&5
13014 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
13015 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
13016 echo $ac_n "(cached) $ac_c" 1>&6
13021 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13022 ac_cpp='$CXXCPP $CPPFLAGS'
13023 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13024 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13025 cross_compiling=$ac_cv_prog_cxx_cross
13027 cat > conftest.$ac_ext <<EOF
13028 #line 13029 "configure"
13029 #include "confdefs.h"
13035 if { (eval echo configure:13036: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13037 glibcpp_cv_func_frexpf_use=yes
13039 echo "configure: failed program was:" >&5
13040 cat conftest.$ac_ext >&5
13042 glibcpp_cv_func_frexpf_use=no
13046 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13047 ac_cpp='$CPP $CPPFLAGS'
13048 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13049 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13050 cross_compiling=$ac_cv_prog_cc_cross
13056 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
13058 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
13059 for ac_func in frexpf
13061 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13062 echo "configure:13063: checking for $ac_func" >&5
13063 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13064 echo $ac_n "(cached) $ac_c" 1>&6
13066 cat > conftest.$ac_ext <<EOF
13067 #line 13068 "configure"
13068 #include "confdefs.h"
13069 /* System header to define __stub macros and hopefully few prototypes,
13070 which can conflict with char $ac_func(); below. */
13071 #include <assert.h>
13072 /* Override any gcc2 internal prototype to avoid an error. */
13073 /* We use char because int might match the return type of a gcc2
13074 builtin and then its argument prototype would still apply. */
13079 /* The GNU C library defines this for functions which it implements
13080 to always fail with ENOSYS. Some functions are actually named
13081 something starting with __ and the normal name is an alias. */
13082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13090 if { (eval echo configure:13091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13092 eval "ac_cv_func_$ac_func=yes"
13094 echo "configure: failed program was:" >&5
13095 cat conftest.$ac_ext >&5
13097 eval "ac_cv_func_$ac_func=no"
13102 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13103 echo "$ac_t""yes" 1>&6
13104 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13105 cat >> confdefs.h <<EOF
13106 #define $ac_tr_func 1
13110 echo "$ac_t""no" 1>&6
13116 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
13117 echo "configure:13118: checking for _frexpf declaration" >&5
13118 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
13119 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
13120 echo $ac_n "(cached) $ac_c" 1>&6
13125 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13126 ac_cpp='$CXXCPP $CPPFLAGS'
13127 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13128 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13129 cross_compiling=$ac_cv_prog_cxx_cross
13131 cat > conftest.$ac_ext <<EOF
13132 #line 13133 "configure"
13133 #include "confdefs.h"
13139 if { (eval echo configure:13140: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13141 glibcpp_cv_func__frexpf_use=yes
13143 echo "configure: failed program was:" >&5
13144 cat conftest.$ac_ext >&5
13146 glibcpp_cv_func__frexpf_use=no
13150 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13151 ac_cpp='$CPP $CPPFLAGS'
13152 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13153 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13154 cross_compiling=$ac_cv_prog_cc_cross
13160 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
13162 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
13163 for ac_func in _frexpf
13165 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13166 echo "configure:13167: checking for $ac_func" >&5
13167 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13168 echo $ac_n "(cached) $ac_c" 1>&6
13170 cat > conftest.$ac_ext <<EOF
13171 #line 13172 "configure"
13172 #include "confdefs.h"
13173 /* System header to define __stub macros and hopefully few prototypes,
13174 which can conflict with char $ac_func(); below. */
13175 #include <assert.h>
13176 /* Override any gcc2 internal prototype to avoid an error. */
13177 /* We use char because int might match the return type of a gcc2
13178 builtin and then its argument prototype would still apply. */
13183 /* The GNU C library defines this for functions which it implements
13184 to always fail with ENOSYS. Some functions are actually named
13185 something starting with __ and the normal name is an alias. */
13186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13194 if { (eval echo configure:13195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13196 eval "ac_cv_func_$ac_func=yes"
13198 echo "configure: failed program was:" >&5
13199 cat conftest.$ac_ext >&5
13201 eval "ac_cv_func_$ac_func=no"
13206 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13207 echo "$ac_t""yes" 1>&6
13208 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13209 cat >> confdefs.h <<EOF
13210 #define $ac_tr_func 1
13214 echo "$ac_t""no" 1>&6
13223 echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
13224 echo "configure:13225: checking for hypotf declaration" >&5
13225 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
13226 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
13227 echo $ac_n "(cached) $ac_c" 1>&6
13232 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13233 ac_cpp='$CXXCPP $CPPFLAGS'
13234 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13235 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13236 cross_compiling=$ac_cv_prog_cxx_cross
13238 cat > conftest.$ac_ext <<EOF
13239 #line 13240 "configure"
13240 #include "confdefs.h"
13246 if { (eval echo configure:13247: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13248 glibcpp_cv_func_hypotf_use=yes
13250 echo "configure: failed program was:" >&5
13251 cat conftest.$ac_ext >&5
13253 glibcpp_cv_func_hypotf_use=no
13257 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13258 ac_cpp='$CPP $CPPFLAGS'
13259 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13260 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13261 cross_compiling=$ac_cv_prog_cc_cross
13267 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
13269 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
13270 for ac_func in hypotf
13272 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13273 echo "configure:13274: checking for $ac_func" >&5
13274 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13275 echo $ac_n "(cached) $ac_c" 1>&6
13277 cat > conftest.$ac_ext <<EOF
13278 #line 13279 "configure"
13279 #include "confdefs.h"
13280 /* System header to define __stub macros and hopefully few prototypes,
13281 which can conflict with char $ac_func(); below. */
13282 #include <assert.h>
13283 /* Override any gcc2 internal prototype to avoid an error. */
13284 /* We use char because int might match the return type of a gcc2
13285 builtin and then its argument prototype would still apply. */
13290 /* The GNU C library defines this for functions which it implements
13291 to always fail with ENOSYS. Some functions are actually named
13292 something starting with __ and the normal name is an alias. */
13293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13301 if { (eval echo configure:13302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13303 eval "ac_cv_func_$ac_func=yes"
13305 echo "configure: failed program was:" >&5
13306 cat conftest.$ac_ext >&5
13308 eval "ac_cv_func_$ac_func=no"
13313 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13314 echo "$ac_t""yes" 1>&6
13315 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13316 cat >> confdefs.h <<EOF
13317 #define $ac_tr_func 1
13321 echo "$ac_t""no" 1>&6
13327 echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
13328 echo "configure:13329: checking for _hypotf declaration" >&5
13329 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
13330 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
13331 echo $ac_n "(cached) $ac_c" 1>&6
13336 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13337 ac_cpp='$CXXCPP $CPPFLAGS'
13338 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13339 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13340 cross_compiling=$ac_cv_prog_cxx_cross
13342 cat > conftest.$ac_ext <<EOF
13343 #line 13344 "configure"
13344 #include "confdefs.h"
13350 if { (eval echo configure:13351: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13352 glibcpp_cv_func__hypotf_use=yes
13354 echo "configure: failed program was:" >&5
13355 cat conftest.$ac_ext >&5
13357 glibcpp_cv_func__hypotf_use=no
13361 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13362 ac_cpp='$CPP $CPPFLAGS'
13363 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13364 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13365 cross_compiling=$ac_cv_prog_cc_cross
13371 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
13373 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
13374 for ac_func in _hypotf
13376 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13377 echo "configure:13378: checking for $ac_func" >&5
13378 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13379 echo $ac_n "(cached) $ac_c" 1>&6
13381 cat > conftest.$ac_ext <<EOF
13382 #line 13383 "configure"
13383 #include "confdefs.h"
13384 /* System header to define __stub macros and hopefully few prototypes,
13385 which can conflict with char $ac_func(); below. */
13386 #include <assert.h>
13387 /* Override any gcc2 internal prototype to avoid an error. */
13388 /* We use char because int might match the return type of a gcc2
13389 builtin and then its argument prototype would still apply. */
13394 /* The GNU C library defines this for functions which it implements
13395 to always fail with ENOSYS. Some functions are actually named
13396 something starting with __ and the normal name is an alias. */
13397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13405 if { (eval echo configure:13406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13407 eval "ac_cv_func_$ac_func=yes"
13409 echo "configure: failed program was:" >&5
13410 cat conftest.$ac_ext >&5
13412 eval "ac_cv_func_$ac_func=no"
13417 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13418 echo "$ac_t""yes" 1>&6
13419 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13420 cat >> confdefs.h <<EOF
13421 #define $ac_tr_func 1
13425 echo "$ac_t""no" 1>&6
13434 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
13435 echo "configure:13436: checking for ldexpf declaration" >&5
13436 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
13437 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
13438 echo $ac_n "(cached) $ac_c" 1>&6
13443 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13444 ac_cpp='$CXXCPP $CPPFLAGS'
13445 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13446 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13447 cross_compiling=$ac_cv_prog_cxx_cross
13449 cat > conftest.$ac_ext <<EOF
13450 #line 13451 "configure"
13451 #include "confdefs.h"
13457 if { (eval echo configure:13458: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13459 glibcpp_cv_func_ldexpf_use=yes
13461 echo "configure: failed program was:" >&5
13462 cat conftest.$ac_ext >&5
13464 glibcpp_cv_func_ldexpf_use=no
13468 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13469 ac_cpp='$CPP $CPPFLAGS'
13470 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13471 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13472 cross_compiling=$ac_cv_prog_cc_cross
13478 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
13480 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
13481 for ac_func in ldexpf
13483 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13484 echo "configure:13485: checking for $ac_func" >&5
13485 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13486 echo $ac_n "(cached) $ac_c" 1>&6
13488 cat > conftest.$ac_ext <<EOF
13489 #line 13490 "configure"
13490 #include "confdefs.h"
13491 /* System header to define __stub macros and hopefully few prototypes,
13492 which can conflict with char $ac_func(); below. */
13493 #include <assert.h>
13494 /* Override any gcc2 internal prototype to avoid an error. */
13495 /* We use char because int might match the return type of a gcc2
13496 builtin and then its argument prototype would still apply. */
13501 /* The GNU C library defines this for functions which it implements
13502 to always fail with ENOSYS. Some functions are actually named
13503 something starting with __ and the normal name is an alias. */
13504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13512 if { (eval echo configure:13513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13514 eval "ac_cv_func_$ac_func=yes"
13516 echo "configure: failed program was:" >&5
13517 cat conftest.$ac_ext >&5
13519 eval "ac_cv_func_$ac_func=no"
13524 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13525 echo "$ac_t""yes" 1>&6
13526 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13527 cat >> confdefs.h <<EOF
13528 #define $ac_tr_func 1
13532 echo "$ac_t""no" 1>&6
13538 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
13539 echo "configure:13540: checking for _ldexpf declaration" >&5
13540 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
13541 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
13542 echo $ac_n "(cached) $ac_c" 1>&6
13547 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13548 ac_cpp='$CXXCPP $CPPFLAGS'
13549 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13550 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13551 cross_compiling=$ac_cv_prog_cxx_cross
13553 cat > conftest.$ac_ext <<EOF
13554 #line 13555 "configure"
13555 #include "confdefs.h"
13561 if { (eval echo configure:13562: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13563 glibcpp_cv_func__ldexpf_use=yes
13565 echo "configure: failed program was:" >&5
13566 cat conftest.$ac_ext >&5
13568 glibcpp_cv_func__ldexpf_use=no
13572 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13573 ac_cpp='$CPP $CPPFLAGS'
13574 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13575 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13576 cross_compiling=$ac_cv_prog_cc_cross
13582 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
13584 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
13585 for ac_func in _ldexpf
13587 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13588 echo "configure:13589: checking for $ac_func" >&5
13589 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13590 echo $ac_n "(cached) $ac_c" 1>&6
13592 cat > conftest.$ac_ext <<EOF
13593 #line 13594 "configure"
13594 #include "confdefs.h"
13595 /* System header to define __stub macros and hopefully few prototypes,
13596 which can conflict with char $ac_func(); below. */
13597 #include <assert.h>
13598 /* Override any gcc2 internal prototype to avoid an error. */
13599 /* We use char because int might match the return type of a gcc2
13600 builtin and then its argument prototype would still apply. */
13605 /* The GNU C library defines this for functions which it implements
13606 to always fail with ENOSYS. Some functions are actually named
13607 something starting with __ and the normal name is an alias. */
13608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13616 if { (eval echo configure:13617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13618 eval "ac_cv_func_$ac_func=yes"
13620 echo "configure: failed program was:" >&5
13621 cat conftest.$ac_ext >&5
13623 eval "ac_cv_func_$ac_func=no"
13628 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13629 echo "$ac_t""yes" 1>&6
13630 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13631 cat >> confdefs.h <<EOF
13632 #define $ac_tr_func 1
13636 echo "$ac_t""no" 1>&6
13645 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
13646 echo "configure:13647: checking for logf declaration" >&5
13647 if test x${glibcpp_cv_func_logf_use+set} != xset; then
13648 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
13649 echo $ac_n "(cached) $ac_c" 1>&6
13654 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13655 ac_cpp='$CXXCPP $CPPFLAGS'
13656 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13657 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13658 cross_compiling=$ac_cv_prog_cxx_cross
13660 cat > conftest.$ac_ext <<EOF
13661 #line 13662 "configure"
13662 #include "confdefs.h"
13664 #ifdef HAVE_IEEEFP_H
13665 #include <ieeefp.h>
13672 if { (eval echo configure:13673: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13674 glibcpp_cv_func_logf_use=yes
13676 echo "configure: failed program was:" >&5
13677 cat conftest.$ac_ext >&5
13679 glibcpp_cv_func_logf_use=no
13683 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13684 ac_cpp='$CPP $CPPFLAGS'
13685 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13686 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13687 cross_compiling=$ac_cv_prog_cc_cross
13693 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
13695 if test x$glibcpp_cv_func_logf_use = x"yes"; then
13696 for ac_func in logf
13698 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13699 echo "configure:13700: checking for $ac_func" >&5
13700 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13701 echo $ac_n "(cached) $ac_c" 1>&6
13703 cat > conftest.$ac_ext <<EOF
13704 #line 13705 "configure"
13705 #include "confdefs.h"
13706 /* System header to define __stub macros and hopefully few prototypes,
13707 which can conflict with char $ac_func(); below. */
13708 #include <assert.h>
13709 /* Override any gcc2 internal prototype to avoid an error. */
13710 /* We use char because int might match the return type of a gcc2
13711 builtin and then its argument prototype would still apply. */
13716 /* The GNU C library defines this for functions which it implements
13717 to always fail with ENOSYS. Some functions are actually named
13718 something starting with __ and the normal name is an alias. */
13719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13727 if { (eval echo configure:13728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13729 eval "ac_cv_func_$ac_func=yes"
13731 echo "configure: failed program was:" >&5
13732 cat conftest.$ac_ext >&5
13734 eval "ac_cv_func_$ac_func=no"
13739 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13740 echo "$ac_t""yes" 1>&6
13741 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13742 cat >> confdefs.h <<EOF
13743 #define $ac_tr_func 1
13747 echo "$ac_t""no" 1>&6
13753 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
13754 echo "configure:13755: checking for _logf declaration" >&5
13755 if test x${glibcpp_cv_func__logf_use+set} != xset; then
13756 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
13757 echo $ac_n "(cached) $ac_c" 1>&6
13762 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13763 ac_cpp='$CXXCPP $CPPFLAGS'
13764 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13765 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13766 cross_compiling=$ac_cv_prog_cxx_cross
13768 cat > conftest.$ac_ext <<EOF
13769 #line 13770 "configure"
13770 #include "confdefs.h"
13772 #ifdef HAVE_IEEEFP_H
13773 #include <ieeefp.h>
13780 if { (eval echo configure:13781: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13782 glibcpp_cv_func__logf_use=yes
13784 echo "configure: failed program was:" >&5
13785 cat conftest.$ac_ext >&5
13787 glibcpp_cv_func__logf_use=no
13791 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13792 ac_cpp='$CPP $CPPFLAGS'
13793 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13794 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13795 cross_compiling=$ac_cv_prog_cc_cross
13801 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
13803 if test x$glibcpp_cv_func__logf_use = x"yes"; then
13804 for ac_func in _logf
13806 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13807 echo "configure:13808: checking for $ac_func" >&5
13808 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13809 echo $ac_n "(cached) $ac_c" 1>&6
13811 cat > conftest.$ac_ext <<EOF
13812 #line 13813 "configure"
13813 #include "confdefs.h"
13814 /* System header to define __stub macros and hopefully few prototypes,
13815 which can conflict with char $ac_func(); below. */
13816 #include <assert.h>
13817 /* Override any gcc2 internal prototype to avoid an error. */
13818 /* We use char because int might match the return type of a gcc2
13819 builtin and then its argument prototype would still apply. */
13824 /* The GNU C library defines this for functions which it implements
13825 to always fail with ENOSYS. Some functions are actually named
13826 something starting with __ and the normal name is an alias. */
13827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13835 if { (eval echo configure:13836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13837 eval "ac_cv_func_$ac_func=yes"
13839 echo "configure: failed program was:" >&5
13840 cat conftest.$ac_ext >&5
13842 eval "ac_cv_func_$ac_func=no"
13847 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13848 echo "$ac_t""yes" 1>&6
13849 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13850 cat >> confdefs.h <<EOF
13851 #define $ac_tr_func 1
13855 echo "$ac_t""no" 1>&6
13864 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
13865 echo "configure:13866: checking for log10f declaration" >&5
13866 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
13867 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
13868 echo $ac_n "(cached) $ac_c" 1>&6
13873 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13874 ac_cpp='$CXXCPP $CPPFLAGS'
13875 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13876 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13877 cross_compiling=$ac_cv_prog_cxx_cross
13879 cat > conftest.$ac_ext <<EOF
13880 #line 13881 "configure"
13881 #include "confdefs.h"
13883 #ifdef HAVE_IEEEFP_H
13884 #include <ieeefp.h>
13891 if { (eval echo configure:13892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13893 glibcpp_cv_func_log10f_use=yes
13895 echo "configure: failed program was:" >&5
13896 cat conftest.$ac_ext >&5
13898 glibcpp_cv_func_log10f_use=no
13902 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13903 ac_cpp='$CPP $CPPFLAGS'
13904 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13905 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13906 cross_compiling=$ac_cv_prog_cc_cross
13912 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
13914 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
13915 for ac_func in log10f
13917 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13918 echo "configure:13919: checking for $ac_func" >&5
13919 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13920 echo $ac_n "(cached) $ac_c" 1>&6
13922 cat > conftest.$ac_ext <<EOF
13923 #line 13924 "configure"
13924 #include "confdefs.h"
13925 /* System header to define __stub macros and hopefully few prototypes,
13926 which can conflict with char $ac_func(); below. */
13927 #include <assert.h>
13928 /* Override any gcc2 internal prototype to avoid an error. */
13929 /* We use char because int might match the return type of a gcc2
13930 builtin and then its argument prototype would still apply. */
13935 /* The GNU C library defines this for functions which it implements
13936 to always fail with ENOSYS. Some functions are actually named
13937 something starting with __ and the normal name is an alias. */
13938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13946 if { (eval echo configure:13947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13948 eval "ac_cv_func_$ac_func=yes"
13950 echo "configure: failed program was:" >&5
13951 cat conftest.$ac_ext >&5
13953 eval "ac_cv_func_$ac_func=no"
13958 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13959 echo "$ac_t""yes" 1>&6
13960 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13961 cat >> confdefs.h <<EOF
13962 #define $ac_tr_func 1
13966 echo "$ac_t""no" 1>&6
13972 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
13973 echo "configure:13974: checking for _log10f declaration" >&5
13974 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
13975 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
13976 echo $ac_n "(cached) $ac_c" 1>&6
13981 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13982 ac_cpp='$CXXCPP $CPPFLAGS'
13983 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13984 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13985 cross_compiling=$ac_cv_prog_cxx_cross
13987 cat > conftest.$ac_ext <<EOF
13988 #line 13989 "configure"
13989 #include "confdefs.h"
13991 #ifdef HAVE_IEEEFP_H
13992 #include <ieeefp.h>
13999 if { (eval echo configure:14000: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14001 glibcpp_cv_func__log10f_use=yes
14003 echo "configure: failed program was:" >&5
14004 cat conftest.$ac_ext >&5
14006 glibcpp_cv_func__log10f_use=no
14010 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14011 ac_cpp='$CPP $CPPFLAGS'
14012 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14013 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14014 cross_compiling=$ac_cv_prog_cc_cross
14020 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
14022 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
14023 for ac_func in _log10f
14025 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14026 echo "configure:14027: checking for $ac_func" >&5
14027 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14028 echo $ac_n "(cached) $ac_c" 1>&6
14030 cat > conftest.$ac_ext <<EOF
14031 #line 14032 "configure"
14032 #include "confdefs.h"
14033 /* System header to define __stub macros and hopefully few prototypes,
14034 which can conflict with char $ac_func(); below. */
14035 #include <assert.h>
14036 /* Override any gcc2 internal prototype to avoid an error. */
14037 /* We use char because int might match the return type of a gcc2
14038 builtin and then its argument prototype would still apply. */
14043 /* The GNU C library defines this for functions which it implements
14044 to always fail with ENOSYS. Some functions are actually named
14045 something starting with __ and the normal name is an alias. */
14046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14054 if { (eval echo configure:14055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14056 eval "ac_cv_func_$ac_func=yes"
14058 echo "configure: failed program was:" >&5
14059 cat conftest.$ac_ext >&5
14061 eval "ac_cv_func_$ac_func=no"
14066 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14067 echo "$ac_t""yes" 1>&6
14068 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14069 cat >> confdefs.h <<EOF
14070 #define $ac_tr_func 1
14074 echo "$ac_t""no" 1>&6
14083 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
14084 echo "configure:14085: checking for modff declaration" >&5
14085 if test x${glibcpp_cv_func_modff_use+set} != xset; then
14086 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
14087 echo $ac_n "(cached) $ac_c" 1>&6
14092 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14093 ac_cpp='$CXXCPP $CPPFLAGS'
14094 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14095 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14096 cross_compiling=$ac_cv_prog_cxx_cross
14098 cat > conftest.$ac_ext <<EOF
14099 #line 14100 "configure"
14100 #include "confdefs.h"
14106 if { (eval echo configure:14107: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14108 glibcpp_cv_func_modff_use=yes
14110 echo "configure: failed program was:" >&5
14111 cat conftest.$ac_ext >&5
14113 glibcpp_cv_func_modff_use=no
14117 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14118 ac_cpp='$CPP $CPPFLAGS'
14119 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14120 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14121 cross_compiling=$ac_cv_prog_cc_cross
14127 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
14129 if test x$glibcpp_cv_func_modff_use = x"yes"; then
14130 for ac_func in modff
14132 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14133 echo "configure:14134: checking for $ac_func" >&5
14134 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14135 echo $ac_n "(cached) $ac_c" 1>&6
14137 cat > conftest.$ac_ext <<EOF
14138 #line 14139 "configure"
14139 #include "confdefs.h"
14140 /* System header to define __stub macros and hopefully few prototypes,
14141 which can conflict with char $ac_func(); below. */
14142 #include <assert.h>
14143 /* Override any gcc2 internal prototype to avoid an error. */
14144 /* We use char because int might match the return type of a gcc2
14145 builtin and then its argument prototype would still apply. */
14150 /* The GNU C library defines this for functions which it implements
14151 to always fail with ENOSYS. Some functions are actually named
14152 something starting with __ and the normal name is an alias. */
14153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14161 if { (eval echo configure:14162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14163 eval "ac_cv_func_$ac_func=yes"
14165 echo "configure: failed program was:" >&5
14166 cat conftest.$ac_ext >&5
14168 eval "ac_cv_func_$ac_func=no"
14173 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14174 echo "$ac_t""yes" 1>&6
14175 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14176 cat >> confdefs.h <<EOF
14177 #define $ac_tr_func 1
14181 echo "$ac_t""no" 1>&6
14187 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
14188 echo "configure:14189: checking for _modff declaration" >&5
14189 if test x${glibcpp_cv_func__modff_use+set} != xset; then
14190 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
14191 echo $ac_n "(cached) $ac_c" 1>&6
14196 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14197 ac_cpp='$CXXCPP $CPPFLAGS'
14198 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14199 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14200 cross_compiling=$ac_cv_prog_cxx_cross
14202 cat > conftest.$ac_ext <<EOF
14203 #line 14204 "configure"
14204 #include "confdefs.h"
14210 if { (eval echo configure:14211: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14212 glibcpp_cv_func__modff_use=yes
14214 echo "configure: failed program was:" >&5
14215 cat conftest.$ac_ext >&5
14217 glibcpp_cv_func__modff_use=no
14221 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14222 ac_cpp='$CPP $CPPFLAGS'
14223 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14224 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14225 cross_compiling=$ac_cv_prog_cc_cross
14231 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
14233 if test x$glibcpp_cv_func__modff_use = x"yes"; then
14234 for ac_func in _modff
14236 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14237 echo "configure:14238: checking for $ac_func" >&5
14238 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14239 echo $ac_n "(cached) $ac_c" 1>&6
14241 cat > conftest.$ac_ext <<EOF
14242 #line 14243 "configure"
14243 #include "confdefs.h"
14244 /* System header to define __stub macros and hopefully few prototypes,
14245 which can conflict with char $ac_func(); below. */
14246 #include <assert.h>
14247 /* Override any gcc2 internal prototype to avoid an error. */
14248 /* We use char because int might match the return type of a gcc2
14249 builtin and then its argument prototype would still apply. */
14254 /* The GNU C library defines this for functions which it implements
14255 to always fail with ENOSYS. Some functions are actually named
14256 something starting with __ and the normal name is an alias. */
14257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14265 if { (eval echo configure:14266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14267 eval "ac_cv_func_$ac_func=yes"
14269 echo "configure: failed program was:" >&5
14270 cat conftest.$ac_ext >&5
14272 eval "ac_cv_func_$ac_func=no"
14277 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14278 echo "$ac_t""yes" 1>&6
14279 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14280 cat >> confdefs.h <<EOF
14281 #define $ac_tr_func 1
14285 echo "$ac_t""no" 1>&6
14294 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
14295 echo "configure:14296: checking for powf declaration" >&5
14296 if test x${glibcpp_cv_func_powf_use+set} != xset; then
14297 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
14298 echo $ac_n "(cached) $ac_c" 1>&6
14303 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14304 ac_cpp='$CXXCPP $CPPFLAGS'
14305 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14306 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14307 cross_compiling=$ac_cv_prog_cxx_cross
14309 cat > conftest.$ac_ext <<EOF
14310 #line 14311 "configure"
14311 #include "confdefs.h"
14317 if { (eval echo configure:14318: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14319 glibcpp_cv_func_powf_use=yes
14321 echo "configure: failed program was:" >&5
14322 cat conftest.$ac_ext >&5
14324 glibcpp_cv_func_powf_use=no
14328 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14329 ac_cpp='$CPP $CPPFLAGS'
14330 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14331 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14332 cross_compiling=$ac_cv_prog_cc_cross
14338 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
14340 if test x$glibcpp_cv_func_powf_use = x"yes"; then
14341 for ac_func in powf
14343 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14344 echo "configure:14345: checking for $ac_func" >&5
14345 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14346 echo $ac_n "(cached) $ac_c" 1>&6
14348 cat > conftest.$ac_ext <<EOF
14349 #line 14350 "configure"
14350 #include "confdefs.h"
14351 /* System header to define __stub macros and hopefully few prototypes,
14352 which can conflict with char $ac_func(); below. */
14353 #include <assert.h>
14354 /* Override any gcc2 internal prototype to avoid an error. */
14355 /* We use char because int might match the return type of a gcc2
14356 builtin and then its argument prototype would still apply. */
14361 /* The GNU C library defines this for functions which it implements
14362 to always fail with ENOSYS. Some functions are actually named
14363 something starting with __ and the normal name is an alias. */
14364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14372 if { (eval echo configure:14373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14374 eval "ac_cv_func_$ac_func=yes"
14376 echo "configure: failed program was:" >&5
14377 cat conftest.$ac_ext >&5
14379 eval "ac_cv_func_$ac_func=no"
14384 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14385 echo "$ac_t""yes" 1>&6
14386 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14387 cat >> confdefs.h <<EOF
14388 #define $ac_tr_func 1
14392 echo "$ac_t""no" 1>&6
14398 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
14399 echo "configure:14400: checking for _powf declaration" >&5
14400 if test x${glibcpp_cv_func__powf_use+set} != xset; then
14401 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
14402 echo $ac_n "(cached) $ac_c" 1>&6
14407 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14408 ac_cpp='$CXXCPP $CPPFLAGS'
14409 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14410 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14411 cross_compiling=$ac_cv_prog_cxx_cross
14413 cat > conftest.$ac_ext <<EOF
14414 #line 14415 "configure"
14415 #include "confdefs.h"
14421 if { (eval echo configure:14422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14423 glibcpp_cv_func__powf_use=yes
14425 echo "configure: failed program was:" >&5
14426 cat conftest.$ac_ext >&5
14428 glibcpp_cv_func__powf_use=no
14432 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14433 ac_cpp='$CPP $CPPFLAGS'
14434 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14435 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14436 cross_compiling=$ac_cv_prog_cc_cross
14442 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
14444 if test x$glibcpp_cv_func__powf_use = x"yes"; then
14445 for ac_func in _powf
14447 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14448 echo "configure:14449: checking for $ac_func" >&5
14449 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14450 echo $ac_n "(cached) $ac_c" 1>&6
14452 cat > conftest.$ac_ext <<EOF
14453 #line 14454 "configure"
14454 #include "confdefs.h"
14455 /* System header to define __stub macros and hopefully few prototypes,
14456 which can conflict with char $ac_func(); below. */
14457 #include <assert.h>
14458 /* Override any gcc2 internal prototype to avoid an error. */
14459 /* We use char because int might match the return type of a gcc2
14460 builtin and then its argument prototype would still apply. */
14465 /* The GNU C library defines this for functions which it implements
14466 to always fail with ENOSYS. Some functions are actually named
14467 something starting with __ and the normal name is an alias. */
14468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14476 if { (eval echo configure:14477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14478 eval "ac_cv_func_$ac_func=yes"
14480 echo "configure: failed program was:" >&5
14481 cat conftest.$ac_ext >&5
14483 eval "ac_cv_func_$ac_func=no"
14488 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14489 echo "$ac_t""yes" 1>&6
14490 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14491 cat >> confdefs.h <<EOF
14492 #define $ac_tr_func 1
14496 echo "$ac_t""no" 1>&6
14505 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
14506 echo "configure:14507: checking for sqrtf declaration" >&5
14507 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
14508 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
14509 echo $ac_n "(cached) $ac_c" 1>&6
14514 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14515 ac_cpp='$CXXCPP $CPPFLAGS'
14516 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14517 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14518 cross_compiling=$ac_cv_prog_cxx_cross
14520 cat > conftest.$ac_ext <<EOF
14521 #line 14522 "configure"
14522 #include "confdefs.h"
14524 #ifdef HAVE_IEEEFP_H
14525 #include <ieeefp.h>
14532 if { (eval echo configure:14533: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14534 glibcpp_cv_func_sqrtf_use=yes
14536 echo "configure: failed program was:" >&5
14537 cat conftest.$ac_ext >&5
14539 glibcpp_cv_func_sqrtf_use=no
14543 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14544 ac_cpp='$CPP $CPPFLAGS'
14545 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14546 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14547 cross_compiling=$ac_cv_prog_cc_cross
14553 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
14555 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
14556 for ac_func in sqrtf
14558 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14559 echo "configure:14560: checking for $ac_func" >&5
14560 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14561 echo $ac_n "(cached) $ac_c" 1>&6
14563 cat > conftest.$ac_ext <<EOF
14564 #line 14565 "configure"
14565 #include "confdefs.h"
14566 /* System header to define __stub macros and hopefully few prototypes,
14567 which can conflict with char $ac_func(); below. */
14568 #include <assert.h>
14569 /* Override any gcc2 internal prototype to avoid an error. */
14570 /* We use char because int might match the return type of a gcc2
14571 builtin and then its argument prototype would still apply. */
14576 /* The GNU C library defines this for functions which it implements
14577 to always fail with ENOSYS. Some functions are actually named
14578 something starting with __ and the normal name is an alias. */
14579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14587 if { (eval echo configure:14588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14589 eval "ac_cv_func_$ac_func=yes"
14591 echo "configure: failed program was:" >&5
14592 cat conftest.$ac_ext >&5
14594 eval "ac_cv_func_$ac_func=no"
14599 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14600 echo "$ac_t""yes" 1>&6
14601 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14602 cat >> confdefs.h <<EOF
14603 #define $ac_tr_func 1
14607 echo "$ac_t""no" 1>&6
14613 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
14614 echo "configure:14615: checking for _sqrtf declaration" >&5
14615 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
14616 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
14617 echo $ac_n "(cached) $ac_c" 1>&6
14622 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14623 ac_cpp='$CXXCPP $CPPFLAGS'
14624 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14625 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14626 cross_compiling=$ac_cv_prog_cxx_cross
14628 cat > conftest.$ac_ext <<EOF
14629 #line 14630 "configure"
14630 #include "confdefs.h"
14632 #ifdef HAVE_IEEEFP_H
14633 #include <ieeefp.h>
14640 if { (eval echo configure:14641: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14642 glibcpp_cv_func__sqrtf_use=yes
14644 echo "configure: failed program was:" >&5
14645 cat conftest.$ac_ext >&5
14647 glibcpp_cv_func__sqrtf_use=no
14651 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14652 ac_cpp='$CPP $CPPFLAGS'
14653 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14654 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14655 cross_compiling=$ac_cv_prog_cc_cross
14661 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
14663 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
14664 for ac_func in _sqrtf
14666 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14667 echo "configure:14668: checking for $ac_func" >&5
14668 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14669 echo $ac_n "(cached) $ac_c" 1>&6
14671 cat > conftest.$ac_ext <<EOF
14672 #line 14673 "configure"
14673 #include "confdefs.h"
14674 /* System header to define __stub macros and hopefully few prototypes,
14675 which can conflict with char $ac_func(); below. */
14676 #include <assert.h>
14677 /* Override any gcc2 internal prototype to avoid an error. */
14678 /* We use char because int might match the return type of a gcc2
14679 builtin and then its argument prototype would still apply. */
14684 /* The GNU C library defines this for functions which it implements
14685 to always fail with ENOSYS. Some functions are actually named
14686 something starting with __ and the normal name is an alias. */
14687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14695 if { (eval echo configure:14696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14697 eval "ac_cv_func_$ac_func=yes"
14699 echo "configure: failed program was:" >&5
14700 cat conftest.$ac_ext >&5
14702 eval "ac_cv_func_$ac_func=no"
14707 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14708 echo "$ac_t""yes" 1>&6
14709 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14710 cat >> confdefs.h <<EOF
14711 #define $ac_tr_func 1
14715 echo "$ac_t""no" 1>&6
14724 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
14725 echo "configure:14726: checking for sincosf declaration" >&5
14726 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
14727 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
14728 echo $ac_n "(cached) $ac_c" 1>&6
14733 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14734 ac_cpp='$CXXCPP $CPPFLAGS'
14735 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14736 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14737 cross_compiling=$ac_cv_prog_cxx_cross
14739 cat > conftest.$ac_ext <<EOF
14740 #line 14741 "configure"
14741 #include "confdefs.h"
14747 if { (eval echo configure:14748: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14749 glibcpp_cv_func_sincosf_use=yes
14751 echo "configure: failed program was:" >&5
14752 cat conftest.$ac_ext >&5
14754 glibcpp_cv_func_sincosf_use=no
14758 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14759 ac_cpp='$CPP $CPPFLAGS'
14760 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14761 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14762 cross_compiling=$ac_cv_prog_cc_cross
14768 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
14770 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
14771 for ac_func in sincosf
14773 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14774 echo "configure:14775: checking for $ac_func" >&5
14775 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14776 echo $ac_n "(cached) $ac_c" 1>&6
14778 cat > conftest.$ac_ext <<EOF
14779 #line 14780 "configure"
14780 #include "confdefs.h"
14781 /* System header to define __stub macros and hopefully few prototypes,
14782 which can conflict with char $ac_func(); below. */
14783 #include <assert.h>
14784 /* Override any gcc2 internal prototype to avoid an error. */
14785 /* We use char because int might match the return type of a gcc2
14786 builtin and then its argument prototype would still apply. */
14791 /* The GNU C library defines this for functions which it implements
14792 to always fail with ENOSYS. Some functions are actually named
14793 something starting with __ and the normal name is an alias. */
14794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14802 if { (eval echo configure:14803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14804 eval "ac_cv_func_$ac_func=yes"
14806 echo "configure: failed program was:" >&5
14807 cat conftest.$ac_ext >&5
14809 eval "ac_cv_func_$ac_func=no"
14814 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14815 echo "$ac_t""yes" 1>&6
14816 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14817 cat >> confdefs.h <<EOF
14818 #define $ac_tr_func 1
14822 echo "$ac_t""no" 1>&6
14828 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
14829 echo "configure:14830: checking for _sincosf declaration" >&5
14830 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
14831 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
14832 echo $ac_n "(cached) $ac_c" 1>&6
14837 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14838 ac_cpp='$CXXCPP $CPPFLAGS'
14839 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14840 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14841 cross_compiling=$ac_cv_prog_cxx_cross
14843 cat > conftest.$ac_ext <<EOF
14844 #line 14845 "configure"
14845 #include "confdefs.h"
14851 if { (eval echo configure:14852: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14853 glibcpp_cv_func__sincosf_use=yes
14855 echo "configure: failed program was:" >&5
14856 cat conftest.$ac_ext >&5
14858 glibcpp_cv_func__sincosf_use=no
14862 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14863 ac_cpp='$CPP $CPPFLAGS'
14864 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14865 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14866 cross_compiling=$ac_cv_prog_cc_cross
14872 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
14874 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
14875 for ac_func in _sincosf
14877 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14878 echo "configure:14879: checking for $ac_func" >&5
14879 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14880 echo $ac_n "(cached) $ac_c" 1>&6
14882 cat > conftest.$ac_ext <<EOF
14883 #line 14884 "configure"
14884 #include "confdefs.h"
14885 /* System header to define __stub macros and hopefully few prototypes,
14886 which can conflict with char $ac_func(); below. */
14887 #include <assert.h>
14888 /* Override any gcc2 internal prototype to avoid an error. */
14889 /* We use char because int might match the return type of a gcc2
14890 builtin and then its argument prototype would still apply. */
14895 /* The GNU C library defines this for functions which it implements
14896 to always fail with ENOSYS. Some functions are actually named
14897 something starting with __ and the normal name is an alias. */
14898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14906 if { (eval echo configure:14907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14908 eval "ac_cv_func_$ac_func=yes"
14910 echo "configure: failed program was:" >&5
14911 cat conftest.$ac_ext >&5
14913 eval "ac_cv_func_$ac_func=no"
14918 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14919 echo "$ac_t""yes" 1>&6
14920 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14921 cat >> confdefs.h <<EOF
14922 #define $ac_tr_func 1
14926 echo "$ac_t""no" 1>&6
14935 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
14936 echo "configure:14937: checking for finitef declaration" >&5
14937 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
14938 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
14939 echo $ac_n "(cached) $ac_c" 1>&6
14944 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14945 ac_cpp='$CXXCPP $CPPFLAGS'
14946 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14947 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14948 cross_compiling=$ac_cv_prog_cxx_cross
14950 cat > conftest.$ac_ext <<EOF
14951 #line 14952 "configure"
14952 #include "confdefs.h"
14954 #ifdef HAVE_IEEEFP_H
14955 #include <ieeefp.h>
14962 if { (eval echo configure:14963: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14964 glibcpp_cv_func_finitef_use=yes
14966 echo "configure: failed program was:" >&5
14967 cat conftest.$ac_ext >&5
14969 glibcpp_cv_func_finitef_use=no
14973 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14974 ac_cpp='$CPP $CPPFLAGS'
14975 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14976 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14977 cross_compiling=$ac_cv_prog_cc_cross
14983 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
14985 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
14986 for ac_func in finitef
14988 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14989 echo "configure:14990: checking for $ac_func" >&5
14990 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14991 echo $ac_n "(cached) $ac_c" 1>&6
14993 cat > conftest.$ac_ext <<EOF
14994 #line 14995 "configure"
14995 #include "confdefs.h"
14996 /* System header to define __stub macros and hopefully few prototypes,
14997 which can conflict with char $ac_func(); below. */
14998 #include <assert.h>
14999 /* Override any gcc2 internal prototype to avoid an error. */
15000 /* We use char because int might match the return type of a gcc2
15001 builtin and then its argument prototype would still apply. */
15006 /* The GNU C library defines this for functions which it implements
15007 to always fail with ENOSYS. Some functions are actually named
15008 something starting with __ and the normal name is an alias. */
15009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15017 if { (eval echo configure:15018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15019 eval "ac_cv_func_$ac_func=yes"
15021 echo "configure: failed program was:" >&5
15022 cat conftest.$ac_ext >&5
15024 eval "ac_cv_func_$ac_func=no"
15029 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15030 echo "$ac_t""yes" 1>&6
15031 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15032 cat >> confdefs.h <<EOF
15033 #define $ac_tr_func 1
15037 echo "$ac_t""no" 1>&6
15043 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
15044 echo "configure:15045: checking for _finitef declaration" >&5
15045 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
15046 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
15047 echo $ac_n "(cached) $ac_c" 1>&6
15052 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15053 ac_cpp='$CXXCPP $CPPFLAGS'
15054 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15055 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15056 cross_compiling=$ac_cv_prog_cxx_cross
15058 cat > conftest.$ac_ext <<EOF
15059 #line 15060 "configure"
15060 #include "confdefs.h"
15062 #ifdef HAVE_IEEEFP_H
15063 #include <ieeefp.h>
15070 if { (eval echo configure:15071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15072 glibcpp_cv_func__finitef_use=yes
15074 echo "configure: failed program was:" >&5
15075 cat conftest.$ac_ext >&5
15077 glibcpp_cv_func__finitef_use=no
15081 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15082 ac_cpp='$CPP $CPPFLAGS'
15083 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15084 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15085 cross_compiling=$ac_cv_prog_cc_cross
15091 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
15093 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
15094 for ac_func in _finitef
15096 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15097 echo "configure:15098: checking for $ac_func" >&5
15098 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15099 echo $ac_n "(cached) $ac_c" 1>&6
15101 cat > conftest.$ac_ext <<EOF
15102 #line 15103 "configure"
15103 #include "confdefs.h"
15104 /* System header to define __stub macros and hopefully few prototypes,
15105 which can conflict with char $ac_func(); below. */
15106 #include <assert.h>
15107 /* Override any gcc2 internal prototype to avoid an error. */
15108 /* We use char because int might match the return type of a gcc2
15109 builtin and then its argument prototype would still apply. */
15114 /* The GNU C library defines this for functions which it implements
15115 to always fail with ENOSYS. Some functions are actually named
15116 something starting with __ and the normal name is an alias. */
15117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15125 if { (eval echo configure:15126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15127 eval "ac_cv_func_$ac_func=yes"
15129 echo "configure: failed program was:" >&5
15130 cat conftest.$ac_ext >&5
15132 eval "ac_cv_func_$ac_func=no"
15137 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15138 echo "$ac_t""yes" 1>&6
15139 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15140 cat >> confdefs.h <<EOF
15141 #define $ac_tr_func 1
15145 echo "$ac_t""no" 1>&6
15154 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
15155 echo "configure:15156: checking for long double trig functions" >&5
15156 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
15157 echo $ac_n "(cached) $ac_c" 1>&6
15162 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15163 ac_cpp='$CXXCPP $CPPFLAGS'
15164 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15165 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15166 cross_compiling=$ac_cv_prog_cxx_cross
15168 cat > conftest.$ac_ext <<EOF
15169 #line 15170 "configure"
15170 #include "confdefs.h"
15173 `for x in acosl asinl atanl \
15175 coshl sinhl tanhl; do echo "$x (0);"; done`
15178 if { (eval echo configure:15179: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15180 glibcpp_cv_func_long_double_trig_use=yes
15182 echo "configure: failed program was:" >&5
15183 cat conftest.$ac_ext >&5
15185 glibcpp_cv_func_long_double_trig_use=no
15189 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15190 ac_cpp='$CPP $CPPFLAGS'
15191 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15192 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15193 cross_compiling=$ac_cv_prog_cc_cross
15197 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
15198 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
15199 for ac_func in acosl asinl atanl \
15203 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15204 echo "configure:15205: checking for $ac_func" >&5
15205 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15206 echo $ac_n "(cached) $ac_c" 1>&6
15208 cat > conftest.$ac_ext <<EOF
15209 #line 15210 "configure"
15210 #include "confdefs.h"
15211 /* System header to define __stub macros and hopefully few prototypes,
15212 which can conflict with char $ac_func(); below. */
15213 #include <assert.h>
15214 /* Override any gcc2 internal prototype to avoid an error. */
15215 /* We use char because int might match the return type of a gcc2
15216 builtin and then its argument prototype would still apply. */
15221 /* The GNU C library defines this for functions which it implements
15222 to always fail with ENOSYS. Some functions are actually named
15223 something starting with __ and the normal name is an alias. */
15224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15232 if { (eval echo configure:15233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15234 eval "ac_cv_func_$ac_func=yes"
15236 echo "configure: failed program was:" >&5
15237 cat conftest.$ac_ext >&5
15239 eval "ac_cv_func_$ac_func=no"
15244 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15245 echo "$ac_t""yes" 1>&6
15246 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15247 cat >> confdefs.h <<EOF
15248 #define $ac_tr_func 1
15252 echo "$ac_t""no" 1>&6
15259 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
15260 echo "configure:15261: checking for long double round functions" >&5
15261 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
15262 echo $ac_n "(cached) $ac_c" 1>&6
15267 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15268 ac_cpp='$CXXCPP $CPPFLAGS'
15269 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15270 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15271 cross_compiling=$ac_cv_prog_cxx_cross
15273 cat > conftest.$ac_ext <<EOF
15274 #line 15275 "configure"
15275 #include "confdefs.h"
15278 `for x in ceill floorl; do echo "$x (0);"; done`
15281 if { (eval echo configure:15282: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15283 glibcpp_cv_func_long_double_round_use=yes
15285 echo "configure: failed program was:" >&5
15286 cat conftest.$ac_ext >&5
15288 glibcpp_cv_func_long_double_round_use=no
15292 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15293 ac_cpp='$CPP $CPPFLAGS'
15294 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15295 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15296 cross_compiling=$ac_cv_prog_cc_cross
15300 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
15301 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
15302 for ac_func in ceill floorl
15304 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15305 echo "configure:15306: checking for $ac_func" >&5
15306 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15307 echo $ac_n "(cached) $ac_c" 1>&6
15309 cat > conftest.$ac_ext <<EOF
15310 #line 15311 "configure"
15311 #include "confdefs.h"
15312 /* System header to define __stub macros and hopefully few prototypes,
15313 which can conflict with char $ac_func(); below. */
15314 #include <assert.h>
15315 /* Override any gcc2 internal prototype to avoid an error. */
15316 /* We use char because int might match the return type of a gcc2
15317 builtin and then its argument prototype would still apply. */
15322 /* The GNU C library defines this for functions which it implements
15323 to always fail with ENOSYS. Some functions are actually named
15324 something starting with __ and the normal name is an alias. */
15325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15333 if { (eval echo configure:15334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15335 eval "ac_cv_func_$ac_func=yes"
15337 echo "configure: failed program was:" >&5
15338 cat conftest.$ac_ext >&5
15340 eval "ac_cv_func_$ac_func=no"
15345 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15346 echo "$ac_t""yes" 1>&6
15347 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15348 cat >> confdefs.h <<EOF
15349 #define $ac_tr_func 1
15353 echo "$ac_t""no" 1>&6
15361 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
15362 echo "configure:15363: checking for isnanl declaration" >&5
15363 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
15364 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
15365 echo $ac_n "(cached) $ac_c" 1>&6
15370 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15371 ac_cpp='$CXXCPP $CPPFLAGS'
15372 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15373 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15374 cross_compiling=$ac_cv_prog_cxx_cross
15376 cat > conftest.$ac_ext <<EOF
15377 #line 15378 "configure"
15378 #include "confdefs.h"
15380 #ifdef HAVE_IEEEFP_H
15381 #include <ieeefp.h>
15388 if { (eval echo configure:15389: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15390 glibcpp_cv_func_isnanl_use=yes
15392 echo "configure: failed program was:" >&5
15393 cat conftest.$ac_ext >&5
15395 glibcpp_cv_func_isnanl_use=no
15399 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15400 ac_cpp='$CPP $CPPFLAGS'
15401 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15402 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15403 cross_compiling=$ac_cv_prog_cc_cross
15409 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
15411 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
15412 for ac_func in isnanl
15414 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15415 echo "configure:15416: checking for $ac_func" >&5
15416 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15417 echo $ac_n "(cached) $ac_c" 1>&6
15419 cat > conftest.$ac_ext <<EOF
15420 #line 15421 "configure"
15421 #include "confdefs.h"
15422 /* System header to define __stub macros and hopefully few prototypes,
15423 which can conflict with char $ac_func(); below. */
15424 #include <assert.h>
15425 /* Override any gcc2 internal prototype to avoid an error. */
15426 /* We use char because int might match the return type of a gcc2
15427 builtin and then its argument prototype would still apply. */
15432 /* The GNU C library defines this for functions which it implements
15433 to always fail with ENOSYS. Some functions are actually named
15434 something starting with __ and the normal name is an alias. */
15435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15443 if { (eval echo configure:15444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15445 eval "ac_cv_func_$ac_func=yes"
15447 echo "configure: failed program was:" >&5
15448 cat conftest.$ac_ext >&5
15450 eval "ac_cv_func_$ac_func=no"
15455 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15456 echo "$ac_t""yes" 1>&6
15457 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15458 cat >> confdefs.h <<EOF
15459 #define $ac_tr_func 1
15463 echo "$ac_t""no" 1>&6
15469 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
15470 echo "configure:15471: checking for _isnanl declaration" >&5
15471 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
15472 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
15473 echo $ac_n "(cached) $ac_c" 1>&6
15478 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15479 ac_cpp='$CXXCPP $CPPFLAGS'
15480 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15481 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15482 cross_compiling=$ac_cv_prog_cxx_cross
15484 cat > conftest.$ac_ext <<EOF
15485 #line 15486 "configure"
15486 #include "confdefs.h"
15488 #ifdef HAVE_IEEEFP_H
15489 #include <ieeefp.h>
15496 if { (eval echo configure:15497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15498 glibcpp_cv_func__isnanl_use=yes
15500 echo "configure: failed program was:" >&5
15501 cat conftest.$ac_ext >&5
15503 glibcpp_cv_func__isnanl_use=no
15507 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15508 ac_cpp='$CPP $CPPFLAGS'
15509 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15510 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15511 cross_compiling=$ac_cv_prog_cc_cross
15517 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
15519 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
15520 for ac_func in _isnanl
15522 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15523 echo "configure:15524: checking for $ac_func" >&5
15524 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15525 echo $ac_n "(cached) $ac_c" 1>&6
15527 cat > conftest.$ac_ext <<EOF
15528 #line 15529 "configure"
15529 #include "confdefs.h"
15530 /* System header to define __stub macros and hopefully few prototypes,
15531 which can conflict with char $ac_func(); below. */
15532 #include <assert.h>
15533 /* Override any gcc2 internal prototype to avoid an error. */
15534 /* We use char because int might match the return type of a gcc2
15535 builtin and then its argument prototype would still apply. */
15540 /* The GNU C library defines this for functions which it implements
15541 to always fail with ENOSYS. Some functions are actually named
15542 something starting with __ and the normal name is an alias. */
15543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15551 if { (eval echo configure:15552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15553 eval "ac_cv_func_$ac_func=yes"
15555 echo "configure: failed program was:" >&5
15556 cat conftest.$ac_ext >&5
15558 eval "ac_cv_func_$ac_func=no"
15563 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15564 echo "$ac_t""yes" 1>&6
15565 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15566 cat >> confdefs.h <<EOF
15567 #define $ac_tr_func 1
15571 echo "$ac_t""no" 1>&6
15580 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
15581 echo "configure:15582: checking for isinfl declaration" >&5
15582 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
15583 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
15584 echo $ac_n "(cached) $ac_c" 1>&6
15589 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15590 ac_cpp='$CXXCPP $CPPFLAGS'
15591 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15592 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15593 cross_compiling=$ac_cv_prog_cxx_cross
15595 cat > conftest.$ac_ext <<EOF
15596 #line 15597 "configure"
15597 #include "confdefs.h"
15599 #ifdef HAVE_IEEEFP_H
15600 #include <ieeefp.h>
15607 if { (eval echo configure:15608: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15609 glibcpp_cv_func_isinfl_use=yes
15611 echo "configure: failed program was:" >&5
15612 cat conftest.$ac_ext >&5
15614 glibcpp_cv_func_isinfl_use=no
15618 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15619 ac_cpp='$CPP $CPPFLAGS'
15620 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15621 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15622 cross_compiling=$ac_cv_prog_cc_cross
15628 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
15630 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
15631 for ac_func in isinfl
15633 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15634 echo "configure:15635: checking for $ac_func" >&5
15635 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15636 echo $ac_n "(cached) $ac_c" 1>&6
15638 cat > conftest.$ac_ext <<EOF
15639 #line 15640 "configure"
15640 #include "confdefs.h"
15641 /* System header to define __stub macros and hopefully few prototypes,
15642 which can conflict with char $ac_func(); below. */
15643 #include <assert.h>
15644 /* Override any gcc2 internal prototype to avoid an error. */
15645 /* We use char because int might match the return type of a gcc2
15646 builtin and then its argument prototype would still apply. */
15651 /* The GNU C library defines this for functions which it implements
15652 to always fail with ENOSYS. Some functions are actually named
15653 something starting with __ and the normal name is an alias. */
15654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15662 if { (eval echo configure:15663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15664 eval "ac_cv_func_$ac_func=yes"
15666 echo "configure: failed program was:" >&5
15667 cat conftest.$ac_ext >&5
15669 eval "ac_cv_func_$ac_func=no"
15674 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15675 echo "$ac_t""yes" 1>&6
15676 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15677 cat >> confdefs.h <<EOF
15678 #define $ac_tr_func 1
15682 echo "$ac_t""no" 1>&6
15688 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
15689 echo "configure:15690: checking for _isinfl declaration" >&5
15690 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
15691 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
15692 echo $ac_n "(cached) $ac_c" 1>&6
15697 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15698 ac_cpp='$CXXCPP $CPPFLAGS'
15699 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15700 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15701 cross_compiling=$ac_cv_prog_cxx_cross
15703 cat > conftest.$ac_ext <<EOF
15704 #line 15705 "configure"
15705 #include "confdefs.h"
15707 #ifdef HAVE_IEEEFP_H
15708 #include <ieeefp.h>
15715 if { (eval echo configure:15716: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15717 glibcpp_cv_func__isinfl_use=yes
15719 echo "configure: failed program was:" >&5
15720 cat conftest.$ac_ext >&5
15722 glibcpp_cv_func__isinfl_use=no
15726 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15727 ac_cpp='$CPP $CPPFLAGS'
15728 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15729 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15730 cross_compiling=$ac_cv_prog_cc_cross
15736 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
15738 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
15739 for ac_func in _isinfl
15741 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15742 echo "configure:15743: checking for $ac_func" >&5
15743 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15744 echo $ac_n "(cached) $ac_c" 1>&6
15746 cat > conftest.$ac_ext <<EOF
15747 #line 15748 "configure"
15748 #include "confdefs.h"
15749 /* System header to define __stub macros and hopefully few prototypes,
15750 which can conflict with char $ac_func(); below. */
15751 #include <assert.h>
15752 /* Override any gcc2 internal prototype to avoid an error. */
15753 /* We use char because int might match the return type of a gcc2
15754 builtin and then its argument prototype would still apply. */
15759 /* The GNU C library defines this for functions which it implements
15760 to always fail with ENOSYS. Some functions are actually named
15761 something starting with __ and the normal name is an alias. */
15762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15770 if { (eval echo configure:15771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15772 eval "ac_cv_func_$ac_func=yes"
15774 echo "configure: failed program was:" >&5
15775 cat conftest.$ac_ext >&5
15777 eval "ac_cv_func_$ac_func=no"
15782 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15783 echo "$ac_t""yes" 1>&6
15784 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15785 cat >> confdefs.h <<EOF
15786 #define $ac_tr_func 1
15790 echo "$ac_t""no" 1>&6
15799 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
15800 echo "configure:15801: checking for copysignl declaration" >&5
15801 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
15802 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
15803 echo $ac_n "(cached) $ac_c" 1>&6
15808 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15809 ac_cpp='$CXXCPP $CPPFLAGS'
15810 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15811 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15812 cross_compiling=$ac_cv_prog_cxx_cross
15814 cat > conftest.$ac_ext <<EOF
15815 #line 15816 "configure"
15816 #include "confdefs.h"
15822 if { (eval echo configure:15823: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15824 glibcpp_cv_func_copysignl_use=yes
15826 echo "configure: failed program was:" >&5
15827 cat conftest.$ac_ext >&5
15829 glibcpp_cv_func_copysignl_use=no
15833 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15834 ac_cpp='$CPP $CPPFLAGS'
15835 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15836 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15837 cross_compiling=$ac_cv_prog_cc_cross
15843 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
15845 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
15846 for ac_func in copysignl
15848 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15849 echo "configure:15850: checking for $ac_func" >&5
15850 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15851 echo $ac_n "(cached) $ac_c" 1>&6
15853 cat > conftest.$ac_ext <<EOF
15854 #line 15855 "configure"
15855 #include "confdefs.h"
15856 /* System header to define __stub macros and hopefully few prototypes,
15857 which can conflict with char $ac_func(); below. */
15858 #include <assert.h>
15859 /* Override any gcc2 internal prototype to avoid an error. */
15860 /* We use char because int might match the return type of a gcc2
15861 builtin and then its argument prototype would still apply. */
15866 /* The GNU C library defines this for functions which it implements
15867 to always fail with ENOSYS. Some functions are actually named
15868 something starting with __ and the normal name is an alias. */
15869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
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_func_$ac_func=yes"
15881 echo "configure: failed program was:" >&5
15882 cat conftest.$ac_ext >&5
15884 eval "ac_cv_func_$ac_func=no"
15889 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15890 echo "$ac_t""yes" 1>&6
15891 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15892 cat >> confdefs.h <<EOF
15893 #define $ac_tr_func 1
15897 echo "$ac_t""no" 1>&6
15903 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
15904 echo "configure:15905: checking for _copysignl declaration" >&5
15905 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
15906 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
15907 echo $ac_n "(cached) $ac_c" 1>&6
15912 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15913 ac_cpp='$CXXCPP $CPPFLAGS'
15914 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15915 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15916 cross_compiling=$ac_cv_prog_cxx_cross
15918 cat > conftest.$ac_ext <<EOF
15919 #line 15920 "configure"
15920 #include "confdefs.h"
15926 if { (eval echo configure:15927: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15928 glibcpp_cv_func__copysignl_use=yes
15930 echo "configure: failed program was:" >&5
15931 cat conftest.$ac_ext >&5
15933 glibcpp_cv_func__copysignl_use=no
15937 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15938 ac_cpp='$CPP $CPPFLAGS'
15939 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15940 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15941 cross_compiling=$ac_cv_prog_cc_cross
15947 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
15949 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
15950 for ac_func in _copysignl
15952 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15953 echo "configure:15954: checking for $ac_func" >&5
15954 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15955 echo $ac_n "(cached) $ac_c" 1>&6
15957 cat > conftest.$ac_ext <<EOF
15958 #line 15959 "configure"
15959 #include "confdefs.h"
15960 /* System header to define __stub macros and hopefully few prototypes,
15961 which can conflict with char $ac_func(); below. */
15962 #include <assert.h>
15963 /* Override any gcc2 internal prototype to avoid an error. */
15964 /* We use char because int might match the return type of a gcc2
15965 builtin and then its argument prototype would still apply. */
15970 /* The GNU C library defines this for functions which it implements
15971 to always fail with ENOSYS. Some functions are actually named
15972 something starting with __ and the normal name is an alias. */
15973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15981 if { (eval echo configure:15982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15983 eval "ac_cv_func_$ac_func=yes"
15985 echo "configure: failed program was:" >&5
15986 cat conftest.$ac_ext >&5
15988 eval "ac_cv_func_$ac_func=no"
15993 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15994 echo "$ac_t""yes" 1>&6
15995 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15996 cat >> confdefs.h <<EOF
15997 #define $ac_tr_func 1
16001 echo "$ac_t""no" 1>&6
16010 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
16011 echo "configure:16012: checking for atan2l declaration" >&5
16012 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
16013 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
16014 echo $ac_n "(cached) $ac_c" 1>&6
16019 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16020 ac_cpp='$CXXCPP $CPPFLAGS'
16021 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16022 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16023 cross_compiling=$ac_cv_prog_cxx_cross
16025 cat > conftest.$ac_ext <<EOF
16026 #line 16027 "configure"
16027 #include "confdefs.h"
16033 if { (eval echo configure:16034: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16035 glibcpp_cv_func_atan2l_use=yes
16037 echo "configure: failed program was:" >&5
16038 cat conftest.$ac_ext >&5
16040 glibcpp_cv_func_atan2l_use=no
16044 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16045 ac_cpp='$CPP $CPPFLAGS'
16046 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16047 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16048 cross_compiling=$ac_cv_prog_cc_cross
16054 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
16056 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
16057 for ac_func in atan2l
16059 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16060 echo "configure:16061: checking for $ac_func" >&5
16061 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+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"
16067 /* System header to define __stub macros and hopefully few prototypes,
16068 which can conflict with char $ac_func(); below. */
16069 #include <assert.h>
16070 /* Override any gcc2 internal prototype to avoid an error. */
16071 /* We use char because int might match the return type of a gcc2
16072 builtin and then its argument prototype would still apply. */
16077 /* The GNU C library defines this for functions which it implements
16078 to always fail with ENOSYS. Some functions are actually named
16079 something starting with __ and the normal name is an alias. */
16080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16088 if { (eval echo configure:16089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16090 eval "ac_cv_func_$ac_func=yes"
16092 echo "configure: failed program was:" >&5
16093 cat conftest.$ac_ext >&5
16095 eval "ac_cv_func_$ac_func=no"
16100 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16101 echo "$ac_t""yes" 1>&6
16102 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16103 cat >> confdefs.h <<EOF
16104 #define $ac_tr_func 1
16108 echo "$ac_t""no" 1>&6
16114 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
16115 echo "configure:16116: checking for _atan2l declaration" >&5
16116 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
16117 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
16118 echo $ac_n "(cached) $ac_c" 1>&6
16123 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16124 ac_cpp='$CXXCPP $CPPFLAGS'
16125 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16126 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16127 cross_compiling=$ac_cv_prog_cxx_cross
16129 cat > conftest.$ac_ext <<EOF
16130 #line 16131 "configure"
16131 #include "confdefs.h"
16137 if { (eval echo configure:16138: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16139 glibcpp_cv_func__atan2l_use=yes
16141 echo "configure: failed program was:" >&5
16142 cat conftest.$ac_ext >&5
16144 glibcpp_cv_func__atan2l_use=no
16148 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16149 ac_cpp='$CPP $CPPFLAGS'
16150 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16151 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16152 cross_compiling=$ac_cv_prog_cc_cross
16158 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
16160 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
16161 for ac_func in _atan2l
16163 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16164 echo "configure:16165: checking for $ac_func" >&5
16165 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16166 echo $ac_n "(cached) $ac_c" 1>&6
16168 cat > conftest.$ac_ext <<EOF
16169 #line 16170 "configure"
16170 #include "confdefs.h"
16171 /* System header to define __stub macros and hopefully few prototypes,
16172 which can conflict with char $ac_func(); below. */
16173 #include <assert.h>
16174 /* Override any gcc2 internal prototype to avoid an error. */
16175 /* We use char because int might match the return type of a gcc2
16176 builtin and then its argument prototype would still apply. */
16181 /* The GNU C library defines this for functions which it implements
16182 to always fail with ENOSYS. Some functions are actually named
16183 something starting with __ and the normal name is an alias. */
16184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16192 if { (eval echo configure:16193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16194 eval "ac_cv_func_$ac_func=yes"
16196 echo "configure: failed program was:" >&5
16197 cat conftest.$ac_ext >&5
16199 eval "ac_cv_func_$ac_func=no"
16204 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16205 echo "$ac_t""yes" 1>&6
16206 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16207 cat >> confdefs.h <<EOF
16208 #define $ac_tr_func 1
16212 echo "$ac_t""no" 1>&6
16221 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
16222 echo "configure:16223: checking for expl declaration" >&5
16223 if test x${glibcpp_cv_func_expl_use+set} != xset; then
16224 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
16225 echo $ac_n "(cached) $ac_c" 1>&6
16230 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16231 ac_cpp='$CXXCPP $CPPFLAGS'
16232 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16233 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16234 cross_compiling=$ac_cv_prog_cxx_cross
16236 cat > conftest.$ac_ext <<EOF
16237 #line 16238 "configure"
16238 #include "confdefs.h"
16240 #ifdef HAVE_IEEEFP_H
16241 #include <ieeefp.h>
16248 if { (eval echo configure:16249: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16250 glibcpp_cv_func_expl_use=yes
16252 echo "configure: failed program was:" >&5
16253 cat conftest.$ac_ext >&5
16255 glibcpp_cv_func_expl_use=no
16259 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16260 ac_cpp='$CPP $CPPFLAGS'
16261 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16262 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16263 cross_compiling=$ac_cv_prog_cc_cross
16269 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
16271 if test x$glibcpp_cv_func_expl_use = x"yes"; then
16272 for ac_func in expl
16274 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16275 echo "configure:16276: checking for $ac_func" >&5
16276 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16277 echo $ac_n "(cached) $ac_c" 1>&6
16279 cat > conftest.$ac_ext <<EOF
16280 #line 16281 "configure"
16281 #include "confdefs.h"
16282 /* System header to define __stub macros and hopefully few prototypes,
16283 which can conflict with char $ac_func(); below. */
16284 #include <assert.h>
16285 /* Override any gcc2 internal prototype to avoid an error. */
16286 /* We use char because int might match the return type of a gcc2
16287 builtin and then its argument prototype would still apply. */
16292 /* The GNU C library defines this for functions which it implements
16293 to always fail with ENOSYS. Some functions are actually named
16294 something starting with __ and the normal name is an alias. */
16295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16303 if { (eval echo configure:16304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16305 eval "ac_cv_func_$ac_func=yes"
16307 echo "configure: failed program was:" >&5
16308 cat conftest.$ac_ext >&5
16310 eval "ac_cv_func_$ac_func=no"
16315 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16316 echo "$ac_t""yes" 1>&6
16317 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16318 cat >> confdefs.h <<EOF
16319 #define $ac_tr_func 1
16323 echo "$ac_t""no" 1>&6
16329 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
16330 echo "configure:16331: checking for _expl declaration" >&5
16331 if test x${glibcpp_cv_func__expl_use+set} != xset; then
16332 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
16333 echo $ac_n "(cached) $ac_c" 1>&6
16338 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16339 ac_cpp='$CXXCPP $CPPFLAGS'
16340 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16341 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16342 cross_compiling=$ac_cv_prog_cxx_cross
16344 cat > conftest.$ac_ext <<EOF
16345 #line 16346 "configure"
16346 #include "confdefs.h"
16348 #ifdef HAVE_IEEEFP_H
16349 #include <ieeefp.h>
16356 if { (eval echo configure:16357: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16358 glibcpp_cv_func__expl_use=yes
16360 echo "configure: failed program was:" >&5
16361 cat conftest.$ac_ext >&5
16363 glibcpp_cv_func__expl_use=no
16367 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16368 ac_cpp='$CPP $CPPFLAGS'
16369 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16370 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16371 cross_compiling=$ac_cv_prog_cc_cross
16377 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
16379 if test x$glibcpp_cv_func__expl_use = x"yes"; then
16380 for ac_func in _expl
16382 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16383 echo "configure:16384: checking for $ac_func" >&5
16384 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16385 echo $ac_n "(cached) $ac_c" 1>&6
16387 cat > conftest.$ac_ext <<EOF
16388 #line 16389 "configure"
16389 #include "confdefs.h"
16390 /* System header to define __stub macros and hopefully few prototypes,
16391 which can conflict with char $ac_func(); below. */
16392 #include <assert.h>
16393 /* Override any gcc2 internal prototype to avoid an error. */
16394 /* We use char because int might match the return type of a gcc2
16395 builtin and then its argument prototype would still apply. */
16400 /* The GNU C library defines this for functions which it implements
16401 to always fail with ENOSYS. Some functions are actually named
16402 something starting with __ and the normal name is an alias. */
16403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16411 if { (eval echo configure:16412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16413 eval "ac_cv_func_$ac_func=yes"
16415 echo "configure: failed program was:" >&5
16416 cat conftest.$ac_ext >&5
16418 eval "ac_cv_func_$ac_func=no"
16423 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16424 echo "$ac_t""yes" 1>&6
16425 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16426 cat >> confdefs.h <<EOF
16427 #define $ac_tr_func 1
16431 echo "$ac_t""no" 1>&6
16440 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
16441 echo "configure:16442: checking for fabsl declaration" >&5
16442 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
16443 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
16444 echo $ac_n "(cached) $ac_c" 1>&6
16449 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16450 ac_cpp='$CXXCPP $CPPFLAGS'
16451 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16452 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16453 cross_compiling=$ac_cv_prog_cxx_cross
16455 cat > conftest.$ac_ext <<EOF
16456 #line 16457 "configure"
16457 #include "confdefs.h"
16459 #ifdef HAVE_IEEEFP_H
16460 #include <ieeefp.h>
16467 if { (eval echo configure:16468: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16469 glibcpp_cv_func_fabsl_use=yes
16471 echo "configure: failed program was:" >&5
16472 cat conftest.$ac_ext >&5
16474 glibcpp_cv_func_fabsl_use=no
16478 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16479 ac_cpp='$CPP $CPPFLAGS'
16480 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16481 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16482 cross_compiling=$ac_cv_prog_cc_cross
16488 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
16490 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
16491 for ac_func in fabsl
16493 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16494 echo "configure:16495: checking for $ac_func" >&5
16495 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16496 echo $ac_n "(cached) $ac_c" 1>&6
16498 cat > conftest.$ac_ext <<EOF
16499 #line 16500 "configure"
16500 #include "confdefs.h"
16501 /* System header to define __stub macros and hopefully few prototypes,
16502 which can conflict with char $ac_func(); below. */
16503 #include <assert.h>
16504 /* Override any gcc2 internal prototype to avoid an error. */
16505 /* We use char because int might match the return type of a gcc2
16506 builtin and then its argument prototype would still apply. */
16511 /* The GNU C library defines this for functions which it implements
16512 to always fail with ENOSYS. Some functions are actually named
16513 something starting with __ and the normal name is an alias. */
16514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16522 if { (eval echo configure:16523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16524 eval "ac_cv_func_$ac_func=yes"
16526 echo "configure: failed program was:" >&5
16527 cat conftest.$ac_ext >&5
16529 eval "ac_cv_func_$ac_func=no"
16534 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16535 echo "$ac_t""yes" 1>&6
16536 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16537 cat >> confdefs.h <<EOF
16538 #define $ac_tr_func 1
16542 echo "$ac_t""no" 1>&6
16548 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
16549 echo "configure:16550: checking for _fabsl declaration" >&5
16550 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
16551 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
16552 echo $ac_n "(cached) $ac_c" 1>&6
16557 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16558 ac_cpp='$CXXCPP $CPPFLAGS'
16559 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16560 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16561 cross_compiling=$ac_cv_prog_cxx_cross
16563 cat > conftest.$ac_ext <<EOF
16564 #line 16565 "configure"
16565 #include "confdefs.h"
16567 #ifdef HAVE_IEEEFP_H
16568 #include <ieeefp.h>
16575 if { (eval echo configure:16576: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16577 glibcpp_cv_func__fabsl_use=yes
16579 echo "configure: failed program was:" >&5
16580 cat conftest.$ac_ext >&5
16582 glibcpp_cv_func__fabsl_use=no
16586 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16587 ac_cpp='$CPP $CPPFLAGS'
16588 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16589 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16590 cross_compiling=$ac_cv_prog_cc_cross
16596 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
16598 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
16599 for ac_func in _fabsl
16601 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16602 echo "configure:16603: checking for $ac_func" >&5
16603 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16604 echo $ac_n "(cached) $ac_c" 1>&6
16606 cat > conftest.$ac_ext <<EOF
16607 #line 16608 "configure"
16608 #include "confdefs.h"
16609 /* System header to define __stub macros and hopefully few prototypes,
16610 which can conflict with char $ac_func(); below. */
16611 #include <assert.h>
16612 /* Override any gcc2 internal prototype to avoid an error. */
16613 /* We use char because int might match the return type of a gcc2
16614 builtin and then its argument prototype would still apply. */
16619 /* The GNU C library defines this for functions which it implements
16620 to always fail with ENOSYS. Some functions are actually named
16621 something starting with __ and the normal name is an alias. */
16622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16630 if { (eval echo configure:16631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16632 eval "ac_cv_func_$ac_func=yes"
16634 echo "configure: failed program was:" >&5
16635 cat conftest.$ac_ext >&5
16637 eval "ac_cv_func_$ac_func=no"
16642 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16643 echo "$ac_t""yes" 1>&6
16644 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16645 cat >> confdefs.h <<EOF
16646 #define $ac_tr_func 1
16650 echo "$ac_t""no" 1>&6
16659 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
16660 echo "configure:16661: checking for fmodl declaration" >&5
16661 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
16662 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
16663 echo $ac_n "(cached) $ac_c" 1>&6
16668 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16669 ac_cpp='$CXXCPP $CPPFLAGS'
16670 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16671 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16672 cross_compiling=$ac_cv_prog_cxx_cross
16674 cat > conftest.$ac_ext <<EOF
16675 #line 16676 "configure"
16676 #include "confdefs.h"
16682 if { (eval echo configure:16683: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16684 glibcpp_cv_func_fmodl_use=yes
16686 echo "configure: failed program was:" >&5
16687 cat conftest.$ac_ext >&5
16689 glibcpp_cv_func_fmodl_use=no
16693 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16694 ac_cpp='$CPP $CPPFLAGS'
16695 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16696 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16697 cross_compiling=$ac_cv_prog_cc_cross
16703 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
16705 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
16706 for ac_func in fmodl
16708 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16709 echo "configure:16710: checking for $ac_func" >&5
16710 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16711 echo $ac_n "(cached) $ac_c" 1>&6
16713 cat > conftest.$ac_ext <<EOF
16714 #line 16715 "configure"
16715 #include "confdefs.h"
16716 /* System header to define __stub macros and hopefully few prototypes,
16717 which can conflict with char $ac_func(); below. */
16718 #include <assert.h>
16719 /* Override any gcc2 internal prototype to avoid an error. */
16720 /* We use char because int might match the return type of a gcc2
16721 builtin and then its argument prototype would still apply. */
16726 /* The GNU C library defines this for functions which it implements
16727 to always fail with ENOSYS. Some functions are actually named
16728 something starting with __ and the normal name is an alias. */
16729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16737 if { (eval echo configure:16738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16739 eval "ac_cv_func_$ac_func=yes"
16741 echo "configure: failed program was:" >&5
16742 cat conftest.$ac_ext >&5
16744 eval "ac_cv_func_$ac_func=no"
16749 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16750 echo "$ac_t""yes" 1>&6
16751 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16752 cat >> confdefs.h <<EOF
16753 #define $ac_tr_func 1
16757 echo "$ac_t""no" 1>&6
16763 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
16764 echo "configure:16765: checking for _fmodl declaration" >&5
16765 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
16766 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
16767 echo $ac_n "(cached) $ac_c" 1>&6
16772 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16773 ac_cpp='$CXXCPP $CPPFLAGS'
16774 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16775 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16776 cross_compiling=$ac_cv_prog_cxx_cross
16778 cat > conftest.$ac_ext <<EOF
16779 #line 16780 "configure"
16780 #include "confdefs.h"
16786 if { (eval echo configure:16787: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16788 glibcpp_cv_func__fmodl_use=yes
16790 echo "configure: failed program was:" >&5
16791 cat conftest.$ac_ext >&5
16793 glibcpp_cv_func__fmodl_use=no
16797 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16798 ac_cpp='$CPP $CPPFLAGS'
16799 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16800 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16801 cross_compiling=$ac_cv_prog_cc_cross
16807 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
16809 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
16810 for ac_func in _fmodl
16812 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16813 echo "configure:16814: checking for $ac_func" >&5
16814 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16815 echo $ac_n "(cached) $ac_c" 1>&6
16817 cat > conftest.$ac_ext <<EOF
16818 #line 16819 "configure"
16819 #include "confdefs.h"
16820 /* System header to define __stub macros and hopefully few prototypes,
16821 which can conflict with char $ac_func(); below. */
16822 #include <assert.h>
16823 /* Override any gcc2 internal prototype to avoid an error. */
16824 /* We use char because int might match the return type of a gcc2
16825 builtin and then its argument prototype would still apply. */
16830 /* The GNU C library defines this for functions which it implements
16831 to always fail with ENOSYS. Some functions are actually named
16832 something starting with __ and the normal name is an alias. */
16833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16841 if { (eval echo configure:16842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16843 eval "ac_cv_func_$ac_func=yes"
16845 echo "configure: failed program was:" >&5
16846 cat conftest.$ac_ext >&5
16848 eval "ac_cv_func_$ac_func=no"
16853 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16854 echo "$ac_t""yes" 1>&6
16855 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16856 cat >> confdefs.h <<EOF
16857 #define $ac_tr_func 1
16861 echo "$ac_t""no" 1>&6
16870 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
16871 echo "configure:16872: checking for frexpl declaration" >&5
16872 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
16873 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
16874 echo $ac_n "(cached) $ac_c" 1>&6
16879 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16880 ac_cpp='$CXXCPP $CPPFLAGS'
16881 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16882 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16883 cross_compiling=$ac_cv_prog_cxx_cross
16885 cat > conftest.$ac_ext <<EOF
16886 #line 16887 "configure"
16887 #include "confdefs.h"
16893 if { (eval echo configure:16894: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16895 glibcpp_cv_func_frexpl_use=yes
16897 echo "configure: failed program was:" >&5
16898 cat conftest.$ac_ext >&5
16900 glibcpp_cv_func_frexpl_use=no
16904 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16905 ac_cpp='$CPP $CPPFLAGS'
16906 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16907 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16908 cross_compiling=$ac_cv_prog_cc_cross
16914 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
16916 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
16917 for ac_func in frexpl
16919 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16920 echo "configure:16921: checking for $ac_func" >&5
16921 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16922 echo $ac_n "(cached) $ac_c" 1>&6
16924 cat > conftest.$ac_ext <<EOF
16925 #line 16926 "configure"
16926 #include "confdefs.h"
16927 /* System header to define __stub macros and hopefully few prototypes,
16928 which can conflict with char $ac_func(); below. */
16929 #include <assert.h>
16930 /* Override any gcc2 internal prototype to avoid an error. */
16931 /* We use char because int might match the return type of a gcc2
16932 builtin and then its argument prototype would still apply. */
16937 /* The GNU C library defines this for functions which it implements
16938 to always fail with ENOSYS. Some functions are actually named
16939 something starting with __ and the normal name is an alias. */
16940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16948 if { (eval echo configure:16949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16950 eval "ac_cv_func_$ac_func=yes"
16952 echo "configure: failed program was:" >&5
16953 cat conftest.$ac_ext >&5
16955 eval "ac_cv_func_$ac_func=no"
16960 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16961 echo "$ac_t""yes" 1>&6
16962 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16963 cat >> confdefs.h <<EOF
16964 #define $ac_tr_func 1
16968 echo "$ac_t""no" 1>&6
16974 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
16975 echo "configure:16976: checking for _frexpl declaration" >&5
16976 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
16977 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
16978 echo $ac_n "(cached) $ac_c" 1>&6
16983 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16984 ac_cpp='$CXXCPP $CPPFLAGS'
16985 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16986 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16987 cross_compiling=$ac_cv_prog_cxx_cross
16989 cat > conftest.$ac_ext <<EOF
16990 #line 16991 "configure"
16991 #include "confdefs.h"
16997 if { (eval echo configure:16998: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16999 glibcpp_cv_func__frexpl_use=yes
17001 echo "configure: failed program was:" >&5
17002 cat conftest.$ac_ext >&5
17004 glibcpp_cv_func__frexpl_use=no
17008 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17009 ac_cpp='$CPP $CPPFLAGS'
17010 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17011 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17012 cross_compiling=$ac_cv_prog_cc_cross
17018 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
17020 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
17021 for ac_func in _frexpl
17023 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17024 echo "configure:17025: checking for $ac_func" >&5
17025 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17026 echo $ac_n "(cached) $ac_c" 1>&6
17028 cat > conftest.$ac_ext <<EOF
17029 #line 17030 "configure"
17030 #include "confdefs.h"
17031 /* System header to define __stub macros and hopefully few prototypes,
17032 which can conflict with char $ac_func(); below. */
17033 #include <assert.h>
17034 /* Override any gcc2 internal prototype to avoid an error. */
17035 /* We use char because int might match the return type of a gcc2
17036 builtin and then its argument prototype would still apply. */
17041 /* The GNU C library defines this for functions which it implements
17042 to always fail with ENOSYS. Some functions are actually named
17043 something starting with __ and the normal name is an alias. */
17044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17052 if { (eval echo configure:17053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17054 eval "ac_cv_func_$ac_func=yes"
17056 echo "configure: failed program was:" >&5
17057 cat conftest.$ac_ext >&5
17059 eval "ac_cv_func_$ac_func=no"
17064 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17065 echo "$ac_t""yes" 1>&6
17066 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17067 cat >> confdefs.h <<EOF
17068 #define $ac_tr_func 1
17072 echo "$ac_t""no" 1>&6
17081 echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
17082 echo "configure:17083: checking for hypotl declaration" >&5
17083 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
17084 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
17085 echo $ac_n "(cached) $ac_c" 1>&6
17090 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17091 ac_cpp='$CXXCPP $CPPFLAGS'
17092 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17093 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17094 cross_compiling=$ac_cv_prog_cxx_cross
17096 cat > conftest.$ac_ext <<EOF
17097 #line 17098 "configure"
17098 #include "confdefs.h"
17104 if { (eval echo configure:17105: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17106 glibcpp_cv_func_hypotl_use=yes
17108 echo "configure: failed program was:" >&5
17109 cat conftest.$ac_ext >&5
17111 glibcpp_cv_func_hypotl_use=no
17115 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17116 ac_cpp='$CPP $CPPFLAGS'
17117 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17118 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17119 cross_compiling=$ac_cv_prog_cc_cross
17125 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
17127 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
17128 for ac_func in hypotl
17130 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17131 echo "configure:17132: checking for $ac_func" >&5
17132 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17133 echo $ac_n "(cached) $ac_c" 1>&6
17135 cat > conftest.$ac_ext <<EOF
17136 #line 17137 "configure"
17137 #include "confdefs.h"
17138 /* System header to define __stub macros and hopefully few prototypes,
17139 which can conflict with char $ac_func(); below. */
17140 #include <assert.h>
17141 /* Override any gcc2 internal prototype to avoid an error. */
17142 /* We use char because int might match the return type of a gcc2
17143 builtin and then its argument prototype would still apply. */
17148 /* The GNU C library defines this for functions which it implements
17149 to always fail with ENOSYS. Some functions are actually named
17150 something starting with __ and the normal name is an alias. */
17151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17159 if { (eval echo configure:17160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17161 eval "ac_cv_func_$ac_func=yes"
17163 echo "configure: failed program was:" >&5
17164 cat conftest.$ac_ext >&5
17166 eval "ac_cv_func_$ac_func=no"
17171 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17172 echo "$ac_t""yes" 1>&6
17173 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17174 cat >> confdefs.h <<EOF
17175 #define $ac_tr_func 1
17179 echo "$ac_t""no" 1>&6
17185 echo $ac_n "checking for _hypotl declaration""... $ac_c" 1>&6
17186 echo "configure:17187: checking for _hypotl declaration" >&5
17187 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
17188 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
17189 echo $ac_n "(cached) $ac_c" 1>&6
17194 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17195 ac_cpp='$CXXCPP $CPPFLAGS'
17196 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17197 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17198 cross_compiling=$ac_cv_prog_cxx_cross
17200 cat > conftest.$ac_ext <<EOF
17201 #line 17202 "configure"
17202 #include "confdefs.h"
17208 if { (eval echo configure:17209: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17210 glibcpp_cv_func__hypotl_use=yes
17212 echo "configure: failed program was:" >&5
17213 cat conftest.$ac_ext >&5
17215 glibcpp_cv_func__hypotl_use=no
17219 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17220 ac_cpp='$CPP $CPPFLAGS'
17221 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17222 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17223 cross_compiling=$ac_cv_prog_cc_cross
17229 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
17231 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
17232 for ac_func in _hypotl
17234 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17235 echo "configure:17236: checking for $ac_func" >&5
17236 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17237 echo $ac_n "(cached) $ac_c" 1>&6
17239 cat > conftest.$ac_ext <<EOF
17240 #line 17241 "configure"
17241 #include "confdefs.h"
17242 /* System header to define __stub macros and hopefully few prototypes,
17243 which can conflict with char $ac_func(); below. */
17244 #include <assert.h>
17245 /* Override any gcc2 internal prototype to avoid an error. */
17246 /* We use char because int might match the return type of a gcc2
17247 builtin and then its argument prototype would still apply. */
17252 /* The GNU C library defines this for functions which it implements
17253 to always fail with ENOSYS. Some functions are actually named
17254 something starting with __ and the normal name is an alias. */
17255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17263 if { (eval echo configure:17264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17265 eval "ac_cv_func_$ac_func=yes"
17267 echo "configure: failed program was:" >&5
17268 cat conftest.$ac_ext >&5
17270 eval "ac_cv_func_$ac_func=no"
17275 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17276 echo "$ac_t""yes" 1>&6
17277 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17278 cat >> confdefs.h <<EOF
17279 #define $ac_tr_func 1
17283 echo "$ac_t""no" 1>&6
17292 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
17293 echo "configure:17294: checking for ldexpl declaration" >&5
17294 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
17295 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
17296 echo $ac_n "(cached) $ac_c" 1>&6
17301 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17302 ac_cpp='$CXXCPP $CPPFLAGS'
17303 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17304 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17305 cross_compiling=$ac_cv_prog_cxx_cross
17307 cat > conftest.$ac_ext <<EOF
17308 #line 17309 "configure"
17309 #include "confdefs.h"
17315 if { (eval echo configure:17316: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17317 glibcpp_cv_func_ldexpl_use=yes
17319 echo "configure: failed program was:" >&5
17320 cat conftest.$ac_ext >&5
17322 glibcpp_cv_func_ldexpl_use=no
17326 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17327 ac_cpp='$CPP $CPPFLAGS'
17328 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17329 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17330 cross_compiling=$ac_cv_prog_cc_cross
17336 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
17338 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
17339 for ac_func in ldexpl
17341 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17342 echo "configure:17343: checking for $ac_func" >&5
17343 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17344 echo $ac_n "(cached) $ac_c" 1>&6
17346 cat > conftest.$ac_ext <<EOF
17347 #line 17348 "configure"
17348 #include "confdefs.h"
17349 /* System header to define __stub macros and hopefully few prototypes,
17350 which can conflict with char $ac_func(); below. */
17351 #include <assert.h>
17352 /* Override any gcc2 internal prototype to avoid an error. */
17353 /* We use char because int might match the return type of a gcc2
17354 builtin and then its argument prototype would still apply. */
17359 /* The GNU C library defines this for functions which it implements
17360 to always fail with ENOSYS. Some functions are actually named
17361 something starting with __ and the normal name is an alias. */
17362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17370 if { (eval echo configure:17371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17372 eval "ac_cv_func_$ac_func=yes"
17374 echo "configure: failed program was:" >&5
17375 cat conftest.$ac_ext >&5
17377 eval "ac_cv_func_$ac_func=no"
17382 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17383 echo "$ac_t""yes" 1>&6
17384 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17385 cat >> confdefs.h <<EOF
17386 #define $ac_tr_func 1
17390 echo "$ac_t""no" 1>&6
17396 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
17397 echo "configure:17398: checking for _ldexpl declaration" >&5
17398 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
17399 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
17400 echo $ac_n "(cached) $ac_c" 1>&6
17405 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17406 ac_cpp='$CXXCPP $CPPFLAGS'
17407 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17408 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17409 cross_compiling=$ac_cv_prog_cxx_cross
17411 cat > conftest.$ac_ext <<EOF
17412 #line 17413 "configure"
17413 #include "confdefs.h"
17419 if { (eval echo configure:17420: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17421 glibcpp_cv_func__ldexpl_use=yes
17423 echo "configure: failed program was:" >&5
17424 cat conftest.$ac_ext >&5
17426 glibcpp_cv_func__ldexpl_use=no
17430 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17431 ac_cpp='$CPP $CPPFLAGS'
17432 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17433 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17434 cross_compiling=$ac_cv_prog_cc_cross
17440 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
17442 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
17443 for ac_func in _ldexpl
17445 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17446 echo "configure:17447: checking for $ac_func" >&5
17447 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17448 echo $ac_n "(cached) $ac_c" 1>&6
17450 cat > conftest.$ac_ext <<EOF
17451 #line 17452 "configure"
17452 #include "confdefs.h"
17453 /* System header to define __stub macros and hopefully few prototypes,
17454 which can conflict with char $ac_func(); below. */
17455 #include <assert.h>
17456 /* Override any gcc2 internal prototype to avoid an error. */
17457 /* We use char because int might match the return type of a gcc2
17458 builtin and then its argument prototype would still apply. */
17463 /* The GNU C library defines this for functions which it implements
17464 to always fail with ENOSYS. Some functions are actually named
17465 something starting with __ and the normal name is an alias. */
17466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17474 if { (eval echo configure:17475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17476 eval "ac_cv_func_$ac_func=yes"
17478 echo "configure: failed program was:" >&5
17479 cat conftest.$ac_ext >&5
17481 eval "ac_cv_func_$ac_func=no"
17486 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17487 echo "$ac_t""yes" 1>&6
17488 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17489 cat >> confdefs.h <<EOF
17490 #define $ac_tr_func 1
17494 echo "$ac_t""no" 1>&6
17503 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
17504 echo "configure:17505: checking for logl declaration" >&5
17505 if test x${glibcpp_cv_func_logl_use+set} != xset; then
17506 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
17507 echo $ac_n "(cached) $ac_c" 1>&6
17512 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17513 ac_cpp='$CXXCPP $CPPFLAGS'
17514 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17515 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17516 cross_compiling=$ac_cv_prog_cxx_cross
17518 cat > conftest.$ac_ext <<EOF
17519 #line 17520 "configure"
17520 #include "confdefs.h"
17522 #ifdef HAVE_IEEEFP_H
17523 #include <ieeefp.h>
17530 if { (eval echo configure:17531: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17532 glibcpp_cv_func_logl_use=yes
17534 echo "configure: failed program was:" >&5
17535 cat conftest.$ac_ext >&5
17537 glibcpp_cv_func_logl_use=no
17541 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17542 ac_cpp='$CPP $CPPFLAGS'
17543 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17544 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17545 cross_compiling=$ac_cv_prog_cc_cross
17551 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
17553 if test x$glibcpp_cv_func_logl_use = x"yes"; then
17554 for ac_func in logl
17556 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17557 echo "configure:17558: checking for $ac_func" >&5
17558 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17559 echo $ac_n "(cached) $ac_c" 1>&6
17561 cat > conftest.$ac_ext <<EOF
17562 #line 17563 "configure"
17563 #include "confdefs.h"
17564 /* System header to define __stub macros and hopefully few prototypes,
17565 which can conflict with char $ac_func(); below. */
17566 #include <assert.h>
17567 /* Override any gcc2 internal prototype to avoid an error. */
17568 /* We use char because int might match the return type of a gcc2
17569 builtin and then its argument prototype would still apply. */
17574 /* The GNU C library defines this for functions which it implements
17575 to always fail with ENOSYS. Some functions are actually named
17576 something starting with __ and the normal name is an alias. */
17577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17585 if { (eval echo configure:17586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17587 eval "ac_cv_func_$ac_func=yes"
17589 echo "configure: failed program was:" >&5
17590 cat conftest.$ac_ext >&5
17592 eval "ac_cv_func_$ac_func=no"
17597 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17598 echo "$ac_t""yes" 1>&6
17599 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17600 cat >> confdefs.h <<EOF
17601 #define $ac_tr_func 1
17605 echo "$ac_t""no" 1>&6
17611 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
17612 echo "configure:17613: checking for _logl declaration" >&5
17613 if test x${glibcpp_cv_func__logl_use+set} != xset; then
17614 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
17615 echo $ac_n "(cached) $ac_c" 1>&6
17620 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17621 ac_cpp='$CXXCPP $CPPFLAGS'
17622 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17623 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17624 cross_compiling=$ac_cv_prog_cxx_cross
17626 cat > conftest.$ac_ext <<EOF
17627 #line 17628 "configure"
17628 #include "confdefs.h"
17630 #ifdef HAVE_IEEEFP_H
17631 #include <ieeefp.h>
17638 if { (eval echo configure:17639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17640 glibcpp_cv_func__logl_use=yes
17642 echo "configure: failed program was:" >&5
17643 cat conftest.$ac_ext >&5
17645 glibcpp_cv_func__logl_use=no
17649 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17650 ac_cpp='$CPP $CPPFLAGS'
17651 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17652 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17653 cross_compiling=$ac_cv_prog_cc_cross
17659 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
17661 if test x$glibcpp_cv_func__logl_use = x"yes"; then
17662 for ac_func in _logl
17664 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17665 echo "configure:17666: checking for $ac_func" >&5
17666 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17667 echo $ac_n "(cached) $ac_c" 1>&6
17669 cat > conftest.$ac_ext <<EOF
17670 #line 17671 "configure"
17671 #include "confdefs.h"
17672 /* System header to define __stub macros and hopefully few prototypes,
17673 which can conflict with char $ac_func(); below. */
17674 #include <assert.h>
17675 /* Override any gcc2 internal prototype to avoid an error. */
17676 /* We use char because int might match the return type of a gcc2
17677 builtin and then its argument prototype would still apply. */
17682 /* The GNU C library defines this for functions which it implements
17683 to always fail with ENOSYS. Some functions are actually named
17684 something starting with __ and the normal name is an alias. */
17685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17693 if { (eval echo configure:17694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17695 eval "ac_cv_func_$ac_func=yes"
17697 echo "configure: failed program was:" >&5
17698 cat conftest.$ac_ext >&5
17700 eval "ac_cv_func_$ac_func=no"
17705 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17706 echo "$ac_t""yes" 1>&6
17707 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17708 cat >> confdefs.h <<EOF
17709 #define $ac_tr_func 1
17713 echo "$ac_t""no" 1>&6
17722 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
17723 echo "configure:17724: checking for log10l declaration" >&5
17724 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
17725 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
17726 echo $ac_n "(cached) $ac_c" 1>&6
17731 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17732 ac_cpp='$CXXCPP $CPPFLAGS'
17733 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17734 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17735 cross_compiling=$ac_cv_prog_cxx_cross
17737 cat > conftest.$ac_ext <<EOF
17738 #line 17739 "configure"
17739 #include "confdefs.h"
17741 #ifdef HAVE_IEEEFP_H
17742 #include <ieeefp.h>
17749 if { (eval echo configure:17750: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17751 glibcpp_cv_func_log10l_use=yes
17753 echo "configure: failed program was:" >&5
17754 cat conftest.$ac_ext >&5
17756 glibcpp_cv_func_log10l_use=no
17760 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17761 ac_cpp='$CPP $CPPFLAGS'
17762 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17763 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17764 cross_compiling=$ac_cv_prog_cc_cross
17770 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
17772 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
17773 for ac_func in log10l
17775 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17776 echo "configure:17777: checking for $ac_func" >&5
17777 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17778 echo $ac_n "(cached) $ac_c" 1>&6
17780 cat > conftest.$ac_ext <<EOF
17781 #line 17782 "configure"
17782 #include "confdefs.h"
17783 /* System header to define __stub macros and hopefully few prototypes,
17784 which can conflict with char $ac_func(); below. */
17785 #include <assert.h>
17786 /* Override any gcc2 internal prototype to avoid an error. */
17787 /* We use char because int might match the return type of a gcc2
17788 builtin and then its argument prototype would still apply. */
17793 /* The GNU C library defines this for functions which it implements
17794 to always fail with ENOSYS. Some functions are actually named
17795 something starting with __ and the normal name is an alias. */
17796 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17804 if { (eval echo configure:17805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17806 eval "ac_cv_func_$ac_func=yes"
17808 echo "configure: failed program was:" >&5
17809 cat conftest.$ac_ext >&5
17811 eval "ac_cv_func_$ac_func=no"
17816 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17817 echo "$ac_t""yes" 1>&6
17818 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17819 cat >> confdefs.h <<EOF
17820 #define $ac_tr_func 1
17824 echo "$ac_t""no" 1>&6
17830 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
17831 echo "configure:17832: checking for _log10l declaration" >&5
17832 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
17833 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
17834 echo $ac_n "(cached) $ac_c" 1>&6
17839 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17840 ac_cpp='$CXXCPP $CPPFLAGS'
17841 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17842 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17843 cross_compiling=$ac_cv_prog_cxx_cross
17845 cat > conftest.$ac_ext <<EOF
17846 #line 17847 "configure"
17847 #include "confdefs.h"
17849 #ifdef HAVE_IEEEFP_H
17850 #include <ieeefp.h>
17857 if { (eval echo configure:17858: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17859 glibcpp_cv_func__log10l_use=yes
17861 echo "configure: failed program was:" >&5
17862 cat conftest.$ac_ext >&5
17864 glibcpp_cv_func__log10l_use=no
17868 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17869 ac_cpp='$CPP $CPPFLAGS'
17870 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17871 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17872 cross_compiling=$ac_cv_prog_cc_cross
17878 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
17880 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
17881 for ac_func in _log10l
17883 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17884 echo "configure:17885: checking for $ac_func" >&5
17885 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17886 echo $ac_n "(cached) $ac_c" 1>&6
17888 cat > conftest.$ac_ext <<EOF
17889 #line 17890 "configure"
17890 #include "confdefs.h"
17891 /* System header to define __stub macros and hopefully few prototypes,
17892 which can conflict with char $ac_func(); below. */
17893 #include <assert.h>
17894 /* Override any gcc2 internal prototype to avoid an error. */
17895 /* We use char because int might match the return type of a gcc2
17896 builtin and then its argument prototype would still apply. */
17901 /* The GNU C library defines this for functions which it implements
17902 to always fail with ENOSYS. Some functions are actually named
17903 something starting with __ and the normal name is an alias. */
17904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17912 if { (eval echo configure:17913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17914 eval "ac_cv_func_$ac_func=yes"
17916 echo "configure: failed program was:" >&5
17917 cat conftest.$ac_ext >&5
17919 eval "ac_cv_func_$ac_func=no"
17924 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17925 echo "$ac_t""yes" 1>&6
17926 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17927 cat >> confdefs.h <<EOF
17928 #define $ac_tr_func 1
17932 echo "$ac_t""no" 1>&6
17941 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
17942 echo "configure:17943: checking for modfl declaration" >&5
17943 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
17944 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
17945 echo $ac_n "(cached) $ac_c" 1>&6
17950 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17951 ac_cpp='$CXXCPP $CPPFLAGS'
17952 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17953 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17954 cross_compiling=$ac_cv_prog_cxx_cross
17956 cat > conftest.$ac_ext <<EOF
17957 #line 17958 "configure"
17958 #include "confdefs.h"
17964 if { (eval echo configure:17965: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17966 glibcpp_cv_func_modfl_use=yes
17968 echo "configure: failed program was:" >&5
17969 cat conftest.$ac_ext >&5
17971 glibcpp_cv_func_modfl_use=no
17975 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17976 ac_cpp='$CPP $CPPFLAGS'
17977 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17978 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17979 cross_compiling=$ac_cv_prog_cc_cross
17985 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
17987 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
17988 for ac_func in modfl
17990 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17991 echo "configure:17992: checking for $ac_func" >&5
17992 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17993 echo $ac_n "(cached) $ac_c" 1>&6
17995 cat > conftest.$ac_ext <<EOF
17996 #line 17997 "configure"
17997 #include "confdefs.h"
17998 /* System header to define __stub macros and hopefully few prototypes,
17999 which can conflict with char $ac_func(); below. */
18000 #include <assert.h>
18001 /* Override any gcc2 internal prototype to avoid an error. */
18002 /* We use char because int might match the return type of a gcc2
18003 builtin and then its argument prototype would still apply. */
18008 /* The GNU C library defines this for functions which it implements
18009 to always fail with ENOSYS. Some functions are actually named
18010 something starting with __ and the normal name is an alias. */
18011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18019 if { (eval echo configure:18020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18021 eval "ac_cv_func_$ac_func=yes"
18023 echo "configure: failed program was:" >&5
18024 cat conftest.$ac_ext >&5
18026 eval "ac_cv_func_$ac_func=no"
18031 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18032 echo "$ac_t""yes" 1>&6
18033 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18034 cat >> confdefs.h <<EOF
18035 #define $ac_tr_func 1
18039 echo "$ac_t""no" 1>&6
18045 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
18046 echo "configure:18047: checking for _modfl declaration" >&5
18047 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
18048 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
18049 echo $ac_n "(cached) $ac_c" 1>&6
18054 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18055 ac_cpp='$CXXCPP $CPPFLAGS'
18056 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18057 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18058 cross_compiling=$ac_cv_prog_cxx_cross
18060 cat > conftest.$ac_ext <<EOF
18061 #line 18062 "configure"
18062 #include "confdefs.h"
18068 if { (eval echo configure:18069: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18070 glibcpp_cv_func__modfl_use=yes
18072 echo "configure: failed program was:" >&5
18073 cat conftest.$ac_ext >&5
18075 glibcpp_cv_func__modfl_use=no
18079 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18080 ac_cpp='$CPP $CPPFLAGS'
18081 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18082 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18083 cross_compiling=$ac_cv_prog_cc_cross
18089 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
18091 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
18092 for ac_func in _modfl
18094 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18095 echo "configure:18096: checking for $ac_func" >&5
18096 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18097 echo $ac_n "(cached) $ac_c" 1>&6
18099 cat > conftest.$ac_ext <<EOF
18100 #line 18101 "configure"
18101 #include "confdefs.h"
18102 /* System header to define __stub macros and hopefully few prototypes,
18103 which can conflict with char $ac_func(); below. */
18104 #include <assert.h>
18105 /* Override any gcc2 internal prototype to avoid an error. */
18106 /* We use char because int might match the return type of a gcc2
18107 builtin and then its argument prototype would still apply. */
18112 /* The GNU C library defines this for functions which it implements
18113 to always fail with ENOSYS. Some functions are actually named
18114 something starting with __ and the normal name is an alias. */
18115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18123 if { (eval echo configure:18124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18125 eval "ac_cv_func_$ac_func=yes"
18127 echo "configure: failed program was:" >&5
18128 cat conftest.$ac_ext >&5
18130 eval "ac_cv_func_$ac_func=no"
18135 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18136 echo "$ac_t""yes" 1>&6
18137 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18138 cat >> confdefs.h <<EOF
18139 #define $ac_tr_func 1
18143 echo "$ac_t""no" 1>&6
18152 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
18153 echo "configure:18154: checking for powl declaration" >&5
18154 if test x${glibcpp_cv_func_powl_use+set} != xset; then
18155 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
18156 echo $ac_n "(cached) $ac_c" 1>&6
18161 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18162 ac_cpp='$CXXCPP $CPPFLAGS'
18163 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18164 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18165 cross_compiling=$ac_cv_prog_cxx_cross
18167 cat > conftest.$ac_ext <<EOF
18168 #line 18169 "configure"
18169 #include "confdefs.h"
18175 if { (eval echo configure:18176: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18177 glibcpp_cv_func_powl_use=yes
18179 echo "configure: failed program was:" >&5
18180 cat conftest.$ac_ext >&5
18182 glibcpp_cv_func_powl_use=no
18186 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18187 ac_cpp='$CPP $CPPFLAGS'
18188 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18189 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18190 cross_compiling=$ac_cv_prog_cc_cross
18196 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
18198 if test x$glibcpp_cv_func_powl_use = x"yes"; then
18199 for ac_func in powl
18201 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18202 echo "configure:18203: checking for $ac_func" >&5
18203 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18204 echo $ac_n "(cached) $ac_c" 1>&6
18206 cat > conftest.$ac_ext <<EOF
18207 #line 18208 "configure"
18208 #include "confdefs.h"
18209 /* System header to define __stub macros and hopefully few prototypes,
18210 which can conflict with char $ac_func(); below. */
18211 #include <assert.h>
18212 /* Override any gcc2 internal prototype to avoid an error. */
18213 /* We use char because int might match the return type of a gcc2
18214 builtin and then its argument prototype would still apply. */
18219 /* The GNU C library defines this for functions which it implements
18220 to always fail with ENOSYS. Some functions are actually named
18221 something starting with __ and the normal name is an alias. */
18222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18230 if { (eval echo configure:18231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18232 eval "ac_cv_func_$ac_func=yes"
18234 echo "configure: failed program was:" >&5
18235 cat conftest.$ac_ext >&5
18237 eval "ac_cv_func_$ac_func=no"
18242 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18243 echo "$ac_t""yes" 1>&6
18244 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18245 cat >> confdefs.h <<EOF
18246 #define $ac_tr_func 1
18250 echo "$ac_t""no" 1>&6
18256 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
18257 echo "configure:18258: checking for _powl declaration" >&5
18258 if test x${glibcpp_cv_func__powl_use+set} != xset; then
18259 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
18260 echo $ac_n "(cached) $ac_c" 1>&6
18265 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18266 ac_cpp='$CXXCPP $CPPFLAGS'
18267 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18268 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18269 cross_compiling=$ac_cv_prog_cxx_cross
18271 cat > conftest.$ac_ext <<EOF
18272 #line 18273 "configure"
18273 #include "confdefs.h"
18279 if { (eval echo configure:18280: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18281 glibcpp_cv_func__powl_use=yes
18283 echo "configure: failed program was:" >&5
18284 cat conftest.$ac_ext >&5
18286 glibcpp_cv_func__powl_use=no
18290 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18291 ac_cpp='$CPP $CPPFLAGS'
18292 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18293 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18294 cross_compiling=$ac_cv_prog_cc_cross
18300 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
18302 if test x$glibcpp_cv_func__powl_use = x"yes"; then
18303 for ac_func in _powl
18305 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18306 echo "configure:18307: checking for $ac_func" >&5
18307 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18308 echo $ac_n "(cached) $ac_c" 1>&6
18310 cat > conftest.$ac_ext <<EOF
18311 #line 18312 "configure"
18312 #include "confdefs.h"
18313 /* System header to define __stub macros and hopefully few prototypes,
18314 which can conflict with char $ac_func(); below. */
18315 #include <assert.h>
18316 /* Override any gcc2 internal prototype to avoid an error. */
18317 /* We use char because int might match the return type of a gcc2
18318 builtin and then its argument prototype would still apply. */
18323 /* The GNU C library defines this for functions which it implements
18324 to always fail with ENOSYS. Some functions are actually named
18325 something starting with __ and the normal name is an alias. */
18326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18334 if { (eval echo configure:18335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18336 eval "ac_cv_func_$ac_func=yes"
18338 echo "configure: failed program was:" >&5
18339 cat conftest.$ac_ext >&5
18341 eval "ac_cv_func_$ac_func=no"
18346 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18347 echo "$ac_t""yes" 1>&6
18348 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18349 cat >> confdefs.h <<EOF
18350 #define $ac_tr_func 1
18354 echo "$ac_t""no" 1>&6
18363 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
18364 echo "configure:18365: checking for sqrtl declaration" >&5
18365 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
18366 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
18367 echo $ac_n "(cached) $ac_c" 1>&6
18372 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18373 ac_cpp='$CXXCPP $CPPFLAGS'
18374 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18375 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18376 cross_compiling=$ac_cv_prog_cxx_cross
18378 cat > conftest.$ac_ext <<EOF
18379 #line 18380 "configure"
18380 #include "confdefs.h"
18382 #ifdef HAVE_IEEEFP_H
18383 #include <ieeefp.h>
18390 if { (eval echo configure:18391: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18392 glibcpp_cv_func_sqrtl_use=yes
18394 echo "configure: failed program was:" >&5
18395 cat conftest.$ac_ext >&5
18397 glibcpp_cv_func_sqrtl_use=no
18401 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18402 ac_cpp='$CPP $CPPFLAGS'
18403 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18404 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18405 cross_compiling=$ac_cv_prog_cc_cross
18411 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
18413 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
18414 for ac_func in sqrtl
18416 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18417 echo "configure:18418: checking for $ac_func" >&5
18418 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18419 echo $ac_n "(cached) $ac_c" 1>&6
18421 cat > conftest.$ac_ext <<EOF
18422 #line 18423 "configure"
18423 #include "confdefs.h"
18424 /* System header to define __stub macros and hopefully few prototypes,
18425 which can conflict with char $ac_func(); below. */
18426 #include <assert.h>
18427 /* Override any gcc2 internal prototype to avoid an error. */
18428 /* We use char because int might match the return type of a gcc2
18429 builtin and then its argument prototype would still apply. */
18434 /* The GNU C library defines this for functions which it implements
18435 to always fail with ENOSYS. Some functions are actually named
18436 something starting with __ and the normal name is an alias. */
18437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18445 if { (eval echo configure:18446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18447 eval "ac_cv_func_$ac_func=yes"
18449 echo "configure: failed program was:" >&5
18450 cat conftest.$ac_ext >&5
18452 eval "ac_cv_func_$ac_func=no"
18457 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18458 echo "$ac_t""yes" 1>&6
18459 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18460 cat >> confdefs.h <<EOF
18461 #define $ac_tr_func 1
18465 echo "$ac_t""no" 1>&6
18471 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
18472 echo "configure:18473: checking for _sqrtl declaration" >&5
18473 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
18474 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
18475 echo $ac_n "(cached) $ac_c" 1>&6
18480 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18481 ac_cpp='$CXXCPP $CPPFLAGS'
18482 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18483 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18484 cross_compiling=$ac_cv_prog_cxx_cross
18486 cat > conftest.$ac_ext <<EOF
18487 #line 18488 "configure"
18488 #include "confdefs.h"
18490 #ifdef HAVE_IEEEFP_H
18491 #include <ieeefp.h>
18498 if { (eval echo configure:18499: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18500 glibcpp_cv_func__sqrtl_use=yes
18502 echo "configure: failed program was:" >&5
18503 cat conftest.$ac_ext >&5
18505 glibcpp_cv_func__sqrtl_use=no
18509 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18510 ac_cpp='$CPP $CPPFLAGS'
18511 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18512 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18513 cross_compiling=$ac_cv_prog_cc_cross
18519 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
18521 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
18522 for ac_func in _sqrtl
18524 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18525 echo "configure:18526: checking for $ac_func" >&5
18526 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18527 echo $ac_n "(cached) $ac_c" 1>&6
18529 cat > conftest.$ac_ext <<EOF
18530 #line 18531 "configure"
18531 #include "confdefs.h"
18532 /* System header to define __stub macros and hopefully few prototypes,
18533 which can conflict with char $ac_func(); below. */
18534 #include <assert.h>
18535 /* Override any gcc2 internal prototype to avoid an error. */
18536 /* We use char because int might match the return type of a gcc2
18537 builtin and then its argument prototype would still apply. */
18542 /* The GNU C library defines this for functions which it implements
18543 to always fail with ENOSYS. Some functions are actually named
18544 something starting with __ and the normal name is an alias. */
18545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18553 if { (eval echo configure:18554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18555 eval "ac_cv_func_$ac_func=yes"
18557 echo "configure: failed program was:" >&5
18558 cat conftest.$ac_ext >&5
18560 eval "ac_cv_func_$ac_func=no"
18565 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18566 echo "$ac_t""yes" 1>&6
18567 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18568 cat >> confdefs.h <<EOF
18569 #define $ac_tr_func 1
18573 echo "$ac_t""no" 1>&6
18582 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
18583 echo "configure:18584: checking for sincosl declaration" >&5
18584 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
18585 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
18586 echo $ac_n "(cached) $ac_c" 1>&6
18591 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18592 ac_cpp='$CXXCPP $CPPFLAGS'
18593 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18594 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18595 cross_compiling=$ac_cv_prog_cxx_cross
18597 cat > conftest.$ac_ext <<EOF
18598 #line 18599 "configure"
18599 #include "confdefs.h"
18605 if { (eval echo configure:18606: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18607 glibcpp_cv_func_sincosl_use=yes
18609 echo "configure: failed program was:" >&5
18610 cat conftest.$ac_ext >&5
18612 glibcpp_cv_func_sincosl_use=no
18616 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18617 ac_cpp='$CPP $CPPFLAGS'
18618 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18619 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18620 cross_compiling=$ac_cv_prog_cc_cross
18626 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
18628 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
18629 for ac_func in sincosl
18631 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18632 echo "configure:18633: checking for $ac_func" >&5
18633 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18634 echo $ac_n "(cached) $ac_c" 1>&6
18636 cat > conftest.$ac_ext <<EOF
18637 #line 18638 "configure"
18638 #include "confdefs.h"
18639 /* System header to define __stub macros and hopefully few prototypes,
18640 which can conflict with char $ac_func(); below. */
18641 #include <assert.h>
18642 /* Override any gcc2 internal prototype to avoid an error. */
18643 /* We use char because int might match the return type of a gcc2
18644 builtin and then its argument prototype would still apply. */
18649 /* The GNU C library defines this for functions which it implements
18650 to always fail with ENOSYS. Some functions are actually named
18651 something starting with __ and the normal name is an alias. */
18652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18660 if { (eval echo configure:18661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18662 eval "ac_cv_func_$ac_func=yes"
18664 echo "configure: failed program was:" >&5
18665 cat conftest.$ac_ext >&5
18667 eval "ac_cv_func_$ac_func=no"
18672 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18673 echo "$ac_t""yes" 1>&6
18674 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18675 cat >> confdefs.h <<EOF
18676 #define $ac_tr_func 1
18680 echo "$ac_t""no" 1>&6
18686 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
18687 echo "configure:18688: checking for _sincosl declaration" >&5
18688 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
18689 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
18690 echo $ac_n "(cached) $ac_c" 1>&6
18695 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18696 ac_cpp='$CXXCPP $CPPFLAGS'
18697 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18698 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18699 cross_compiling=$ac_cv_prog_cxx_cross
18701 cat > conftest.$ac_ext <<EOF
18702 #line 18703 "configure"
18703 #include "confdefs.h"
18709 if { (eval echo configure:18710: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18711 glibcpp_cv_func__sincosl_use=yes
18713 echo "configure: failed program was:" >&5
18714 cat conftest.$ac_ext >&5
18716 glibcpp_cv_func__sincosl_use=no
18720 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18721 ac_cpp='$CPP $CPPFLAGS'
18722 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18723 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18724 cross_compiling=$ac_cv_prog_cc_cross
18730 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
18732 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
18733 for ac_func in _sincosl
18735 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18736 echo "configure:18737: checking for $ac_func" >&5
18737 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18738 echo $ac_n "(cached) $ac_c" 1>&6
18740 cat > conftest.$ac_ext <<EOF
18741 #line 18742 "configure"
18742 #include "confdefs.h"
18743 /* System header to define __stub macros and hopefully few prototypes,
18744 which can conflict with char $ac_func(); below. */
18745 #include <assert.h>
18746 /* Override any gcc2 internal prototype to avoid an error. */
18747 /* We use char because int might match the return type of a gcc2
18748 builtin and then its argument prototype would still apply. */
18753 /* The GNU C library defines this for functions which it implements
18754 to always fail with ENOSYS. Some functions are actually named
18755 something starting with __ and the normal name is an alias. */
18756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18764 if { (eval echo configure:18765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18766 eval "ac_cv_func_$ac_func=yes"
18768 echo "configure: failed program was:" >&5
18769 cat conftest.$ac_ext >&5
18771 eval "ac_cv_func_$ac_func=no"
18776 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18777 echo "$ac_t""yes" 1>&6
18778 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18779 cat >> confdefs.h <<EOF
18780 #define $ac_tr_func 1
18784 echo "$ac_t""no" 1>&6
18793 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
18794 echo "configure:18795: checking for finitel declaration" >&5
18795 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
18796 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
18797 echo $ac_n "(cached) $ac_c" 1>&6
18802 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18803 ac_cpp='$CXXCPP $CPPFLAGS'
18804 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18805 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18806 cross_compiling=$ac_cv_prog_cxx_cross
18808 cat > conftest.$ac_ext <<EOF
18809 #line 18810 "configure"
18810 #include "confdefs.h"
18812 #ifdef HAVE_IEEEFP_H
18813 #include <ieeefp.h>
18820 if { (eval echo configure:18821: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18822 glibcpp_cv_func_finitel_use=yes
18824 echo "configure: failed program was:" >&5
18825 cat conftest.$ac_ext >&5
18827 glibcpp_cv_func_finitel_use=no
18831 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18832 ac_cpp='$CPP $CPPFLAGS'
18833 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18834 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18835 cross_compiling=$ac_cv_prog_cc_cross
18841 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
18843 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
18844 for ac_func in finitel
18846 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18847 echo "configure:18848: checking for $ac_func" >&5
18848 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18849 echo $ac_n "(cached) $ac_c" 1>&6
18851 cat > conftest.$ac_ext <<EOF
18852 #line 18853 "configure"
18853 #include "confdefs.h"
18854 /* System header to define __stub macros and hopefully few prototypes,
18855 which can conflict with char $ac_func(); below. */
18856 #include <assert.h>
18857 /* Override any gcc2 internal prototype to avoid an error. */
18858 /* We use char because int might match the return type of a gcc2
18859 builtin and then its argument prototype would still apply. */
18864 /* The GNU C library defines this for functions which it implements
18865 to always fail with ENOSYS. Some functions are actually named
18866 something starting with __ and the normal name is an alias. */
18867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18875 if { (eval echo configure:18876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18877 eval "ac_cv_func_$ac_func=yes"
18879 echo "configure: failed program was:" >&5
18880 cat conftest.$ac_ext >&5
18882 eval "ac_cv_func_$ac_func=no"
18887 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18888 echo "$ac_t""yes" 1>&6
18889 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18890 cat >> confdefs.h <<EOF
18891 #define $ac_tr_func 1
18895 echo "$ac_t""no" 1>&6
18901 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
18902 echo "configure:18903: checking for _finitel declaration" >&5
18903 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
18904 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
18905 echo $ac_n "(cached) $ac_c" 1>&6
18910 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18911 ac_cpp='$CXXCPP $CPPFLAGS'
18912 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18913 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18914 cross_compiling=$ac_cv_prog_cxx_cross
18916 cat > conftest.$ac_ext <<EOF
18917 #line 18918 "configure"
18918 #include "confdefs.h"
18920 #ifdef HAVE_IEEEFP_H
18921 #include <ieeefp.h>
18928 if { (eval echo configure:18929: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18930 glibcpp_cv_func__finitel_use=yes
18932 echo "configure: failed program was:" >&5
18933 cat conftest.$ac_ext >&5
18935 glibcpp_cv_func__finitel_use=no
18939 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18940 ac_cpp='$CPP $CPPFLAGS'
18941 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18942 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18943 cross_compiling=$ac_cv_prog_cc_cross
18949 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
18951 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
18952 for ac_func in _finitel
18954 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18955 echo "configure:18956: checking for $ac_func" >&5
18956 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18957 echo $ac_n "(cached) $ac_c" 1>&6
18959 cat > conftest.$ac_ext <<EOF
18960 #line 18961 "configure"
18961 #include "confdefs.h"
18962 /* System header to define __stub macros and hopefully few prototypes,
18963 which can conflict with char $ac_func(); below. */
18964 #include <assert.h>
18965 /* Override any gcc2 internal prototype to avoid an error. */
18966 /* We use char because int might match the return type of a gcc2
18967 builtin and then its argument prototype would still apply. */
18972 /* The GNU C library defines this for functions which it implements
18973 to always fail with ENOSYS. Some functions are actually named
18974 something starting with __ and the normal name is an alias. */
18975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18983 if { (eval echo configure:18984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18985 eval "ac_cv_func_$ac_func=yes"
18987 echo "configure: failed program was:" >&5
18988 cat conftest.$ac_ext >&5
18990 eval "ac_cv_func_$ac_func=no"
18995 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18996 echo "$ac_t""yes" 1>&6
18997 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18998 cat >> confdefs.h <<EOF
18999 #define $ac_tr_func 1
19003 echo "$ac_t""no" 1>&6
19013 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
19014 echo "configure:19015: checking for _float trig functions" >&5
19015 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
19016 echo $ac_n "(cached) $ac_c" 1>&6
19021 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19022 ac_cpp='$CXXCPP $CPPFLAGS'
19023 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19024 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19025 cross_compiling=$ac_cv_prog_cxx_cross
19027 cat > conftest.$ac_ext <<EOF
19028 #line 19029 "configure"
19029 #include "confdefs.h"
19032 `for x in _acosf _asinf _atanf \
19033 _cosf _sinf _tanf \
19034 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
19037 if { (eval echo configure:19038: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19039 glibcpp_cv_func__float_trig_use=yes
19041 echo "configure: failed program was:" >&5
19042 cat conftest.$ac_ext >&5
19044 glibcpp_cv_func__float_trig_use=no
19048 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19049 ac_cpp='$CPP $CPPFLAGS'
19050 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19051 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19052 cross_compiling=$ac_cv_prog_cc_cross
19056 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
19057 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
19058 for ac_func in _acosf _asinf _atanf \
19059 _cosf _sinf _tanf \
19060 _coshf _sinhf _tanhf
19062 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19063 echo "configure:19064: checking for $ac_func" >&5
19064 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19065 echo $ac_n "(cached) $ac_c" 1>&6
19067 cat > conftest.$ac_ext <<EOF
19068 #line 19069 "configure"
19069 #include "confdefs.h"
19070 /* System header to define __stub macros and hopefully few prototypes,
19071 which can conflict with char $ac_func(); below. */
19072 #include <assert.h>
19073 /* Override any gcc2 internal prototype to avoid an error. */
19074 /* We use char because int might match the return type of a gcc2
19075 builtin and then its argument prototype would still apply. */
19080 /* The GNU C library defines this for functions which it implements
19081 to always fail with ENOSYS. Some functions are actually named
19082 something starting with __ and the normal name is an alias. */
19083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19091 if { (eval echo configure:19092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19093 eval "ac_cv_func_$ac_func=yes"
19095 echo "configure: failed program was:" >&5
19096 cat conftest.$ac_ext >&5
19098 eval "ac_cv_func_$ac_func=no"
19103 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19104 echo "$ac_t""yes" 1>&6
19105 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19106 cat >> confdefs.h <<EOF
19107 #define $ac_tr_func 1
19111 echo "$ac_t""no" 1>&6
19118 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
19119 echo "configure:19120: checking for _float round functions" >&5
19120 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
19121 echo $ac_n "(cached) $ac_c" 1>&6
19126 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19127 ac_cpp='$CXXCPP $CPPFLAGS'
19128 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19129 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19130 cross_compiling=$ac_cv_prog_cxx_cross
19132 cat > conftest.$ac_ext <<EOF
19133 #line 19134 "configure"
19134 #include "confdefs.h"
19137 `for x in _ceilf _floorf; do echo "$x (0);"; done`
19140 if { (eval echo configure:19141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19142 glibcpp_cv_func__float_round_use=yes
19144 echo "configure: failed program was:" >&5
19145 cat conftest.$ac_ext >&5
19147 glibcpp_cv_func__float_round_use=no
19151 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19152 ac_cpp='$CPP $CPPFLAGS'
19153 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19154 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19155 cross_compiling=$ac_cv_prog_cc_cross
19159 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
19160 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
19161 for ac_func in _ceilf _floorf
19163 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19164 echo "configure:19165: checking for $ac_func" >&5
19165 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19166 echo $ac_n "(cached) $ac_c" 1>&6
19168 cat > conftest.$ac_ext <<EOF
19169 #line 19170 "configure"
19170 #include "confdefs.h"
19171 /* System header to define __stub macros and hopefully few prototypes,
19172 which can conflict with char $ac_func(); below. */
19173 #include <assert.h>
19174 /* Override any gcc2 internal prototype to avoid an error. */
19175 /* We use char because int might match the return type of a gcc2
19176 builtin and then its argument prototype would still apply. */
19181 /* The GNU C library defines this for functions which it implements
19182 to always fail with ENOSYS. Some functions are actually named
19183 something starting with __ and the normal name is an alias. */
19184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19192 if { (eval echo configure:19193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19194 eval "ac_cv_func_$ac_func=yes"
19196 echo "configure: failed program was:" >&5
19197 cat conftest.$ac_ext >&5
19199 eval "ac_cv_func_$ac_func=no"
19204 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19205 echo "$ac_t""yes" 1>&6
19206 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19207 cat >> confdefs.h <<EOF
19208 #define $ac_tr_func 1
19212 echo "$ac_t""no" 1>&6
19220 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
19221 echo "configure:19222: checking for _long double trig functions" >&5
19222 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
19223 echo $ac_n "(cached) $ac_c" 1>&6
19228 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19229 ac_cpp='$CXXCPP $CPPFLAGS'
19230 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19231 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19232 cross_compiling=$ac_cv_prog_cxx_cross
19234 cat > conftest.$ac_ext <<EOF
19235 #line 19236 "configure"
19236 #include "confdefs.h"
19239 `for x in _acosl _asinl _atanl \
19240 _cosl _sinl _tanl \
19241 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
19244 if { (eval echo configure:19245: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19246 glibcpp_cv_func__long_double_trig_use=yes
19248 echo "configure: failed program was:" >&5
19249 cat conftest.$ac_ext >&5
19251 glibcpp_cv_func__long_double_trig_use=no
19255 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19256 ac_cpp='$CPP $CPPFLAGS'
19257 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19258 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19259 cross_compiling=$ac_cv_prog_cc_cross
19263 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
19264 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
19265 for ac_func in _acosl _asinl _atanl \
19266 _cosl _sinl _tanl \
19267 _coshl _sinhl _tanhl
19269 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19270 echo "configure:19271: checking for $ac_func" >&5
19271 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19272 echo $ac_n "(cached) $ac_c" 1>&6
19274 cat > conftest.$ac_ext <<EOF
19275 #line 19276 "configure"
19276 #include "confdefs.h"
19277 /* System header to define __stub macros and hopefully few prototypes,
19278 which can conflict with char $ac_func(); below. */
19279 #include <assert.h>
19280 /* Override any gcc2 internal prototype to avoid an error. */
19281 /* We use char because int might match the return type of a gcc2
19282 builtin and then its argument prototype would still apply. */
19287 /* The GNU C library defines this for functions which it implements
19288 to always fail with ENOSYS. Some functions are actually named
19289 something starting with __ and the normal name is an alias. */
19290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19298 if { (eval echo configure:19299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19300 eval "ac_cv_func_$ac_func=yes"
19302 echo "configure: failed program was:" >&5
19303 cat conftest.$ac_ext >&5
19305 eval "ac_cv_func_$ac_func=no"
19310 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19311 echo "$ac_t""yes" 1>&6
19312 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19313 cat >> confdefs.h <<EOF
19314 #define $ac_tr_func 1
19318 echo "$ac_t""no" 1>&6
19325 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
19326 echo "configure:19327: checking for _long double round functions" >&5
19327 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
19328 echo $ac_n "(cached) $ac_c" 1>&6
19333 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19334 ac_cpp='$CXXCPP $CPPFLAGS'
19335 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19336 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19337 cross_compiling=$ac_cv_prog_cxx_cross
19339 cat > conftest.$ac_ext <<EOF
19340 #line 19341 "configure"
19341 #include "confdefs.h"
19344 `for x in _ceill _floorl; do echo "$x (0);"; done`
19347 if { (eval echo configure:19348: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19349 glibcpp_cv_func__long_double_round_use=yes
19351 echo "configure: failed program was:" >&5
19352 cat conftest.$ac_ext >&5
19354 glibcpp_cv_func__long_double_round_use=no
19358 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19359 ac_cpp='$CPP $CPPFLAGS'
19360 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19361 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19362 cross_compiling=$ac_cv_prog_cc_cross
19366 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
19367 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
19368 for ac_func in _ceill _floorl
19370 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19371 echo "configure:19372: checking for $ac_func" >&5
19372 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19373 echo $ac_n "(cached) $ac_c" 1>&6
19375 cat > conftest.$ac_ext <<EOF
19376 #line 19377 "configure"
19377 #include "confdefs.h"
19378 /* System header to define __stub macros and hopefully few prototypes,
19379 which can conflict with char $ac_func(); below. */
19380 #include <assert.h>
19381 /* Override any gcc2 internal prototype to avoid an error. */
19382 /* We use char because int might match the return type of a gcc2
19383 builtin and then its argument prototype would still apply. */
19388 /* The GNU C library defines this for functions which it implements
19389 to always fail with ENOSYS. Some functions are actually named
19390 something starting with __ and the normal name is an alias. */
19391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19399 if { (eval echo configure:19400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19401 eval "ac_cv_func_$ac_func=yes"
19403 echo "configure: failed program was:" >&5
19404 cat conftest.$ac_ext >&5
19406 eval "ac_cv_func_$ac_func=no"
19411 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19412 echo "$ac_t""yes" 1>&6
19413 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19414 cat >> confdefs.h <<EOF
19415 #define $ac_tr_func 1
19419 echo "$ac_t""no" 1>&6
19426 LIBS="$ac_save_LIBS"
19427 CXXFLAGS="$ac_save_CXXFLAGS"
19430 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
19431 echo "configure:19432: checking for main in -lm" >&5
19432 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
19433 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19434 echo $ac_n "(cached) $ac_c" 1>&6
19436 ac_save_LIBS="$LIBS"
19438 cat > conftest.$ac_ext <<EOF
19439 #line 19440 "configure"
19440 #include "confdefs.h"
19446 if { (eval echo configure:19447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19448 eval "ac_cv_lib_$ac_lib_var=yes"
19450 echo "configure: failed program was:" >&5
19451 cat conftest.$ac_ext >&5
19453 eval "ac_cv_lib_$ac_lib_var=no"
19456 LIBS="$ac_save_LIBS"
19459 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19460 echo "$ac_t""yes" 1>&6
19461 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
19462 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
19463 cat >> confdefs.h <<EOF
19464 #define $ac_tr_lib 1
19470 echo "$ac_t""no" 1>&6
19473 for ac_func in nan copysignf
19475 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19476 echo "configure:19477: checking for $ac_func" >&5
19477 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19478 echo $ac_n "(cached) $ac_c" 1>&6
19480 cat > conftest.$ac_ext <<EOF
19481 #line 19482 "configure"
19482 #include "confdefs.h"
19483 /* System header to define __stub macros and hopefully few prototypes,
19484 which can conflict with char $ac_func(); below. */
19485 #include <assert.h>
19486 /* Override any gcc2 internal prototype to avoid an error. */
19487 /* We use char because int might match the return type of a gcc2
19488 builtin and then its argument prototype would still apply. */
19493 /* The GNU C library defines this for functions which it implements
19494 to always fail with ENOSYS. Some functions are actually named
19495 something starting with __ and the normal name is an alias. */
19496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19504 if { (eval echo configure:19505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19506 eval "ac_cv_func_$ac_func=yes"
19508 echo "configure: failed program was:" >&5
19509 cat conftest.$ac_ext >&5
19511 eval "ac_cv_func_$ac_func=no"
19516 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19517 echo "$ac_t""yes" 1>&6
19518 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19519 cat >> confdefs.h <<EOF
19520 #define $ac_tr_func 1
19524 echo "$ac_t""no" 1>&6
19525 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
19530 for ac_func in __signbit
19532 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19533 echo "configure:19534: checking for $ac_func" >&5
19534 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19535 echo $ac_n "(cached) $ac_c" 1>&6
19537 cat > conftest.$ac_ext <<EOF
19538 #line 19539 "configure"
19539 #include "confdefs.h"
19540 /* System header to define __stub macros and hopefully few prototypes,
19541 which can conflict with char $ac_func(); below. */
19542 #include <assert.h>
19543 /* Override any gcc2 internal prototype to avoid an error. */
19544 /* We use char because int might match the return type of a gcc2
19545 builtin and then its argument prototype would still apply. */
19550 /* The GNU C library defines this for functions which it implements
19551 to always fail with ENOSYS. Some functions are actually named
19552 something starting with __ and the normal name is an alias. */
19553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19561 if { (eval echo configure:19562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19563 eval "ac_cv_func_$ac_func=yes"
19565 echo "configure: failed program was:" >&5
19566 cat conftest.$ac_ext >&5
19568 eval "ac_cv_func_$ac_func=no"
19573 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19574 echo "$ac_t""yes" 1>&6
19575 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19576 cat >> confdefs.h <<EOF
19577 #define $ac_tr_func 1
19581 echo "$ac_t""no" 1>&6
19582 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
19586 for ac_func in __signbitf
19588 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19589 echo "configure:19590: checking for $ac_func" >&5
19590 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19591 echo $ac_n "(cached) $ac_c" 1>&6
19593 cat > conftest.$ac_ext <<EOF
19594 #line 19595 "configure"
19595 #include "confdefs.h"
19596 /* System header to define __stub macros and hopefully few prototypes,
19597 which can conflict with char $ac_func(); below. */
19598 #include <assert.h>
19599 /* Override any gcc2 internal prototype to avoid an error. */
19600 /* We use char because int might match the return type of a gcc2
19601 builtin and then its argument prototype would still apply. */
19606 /* The GNU C library defines this for functions which it implements
19607 to always fail with ENOSYS. Some functions are actually named
19608 something starting with __ and the normal name is an alias. */
19609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19617 if { (eval echo configure:19618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19619 eval "ac_cv_func_$ac_func=yes"
19621 echo "configure: failed program was:" >&5
19622 cat conftest.$ac_ext >&5
19624 eval "ac_cv_func_$ac_func=no"
19629 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19630 echo "$ac_t""yes" 1>&6
19631 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19632 cat >> confdefs.h <<EOF
19633 #define $ac_tr_func 1
19637 echo "$ac_t""no" 1>&6
19638 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
19643 if test x$ac_cv_func_copysignl = x"yes"; then
19644 for ac_func in __signbitl
19646 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19647 echo "configure:19648: checking for $ac_func" >&5
19648 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19649 echo $ac_n "(cached) $ac_c" 1>&6
19651 cat > conftest.$ac_ext <<EOF
19652 #line 19653 "configure"
19653 #include "confdefs.h"
19654 /* System header to define __stub macros and hopefully few prototypes,
19655 which can conflict with char $ac_func(); below. */
19656 #include <assert.h>
19657 /* Override any gcc2 internal prototype to avoid an error. */
19658 /* We use char because int might match the return type of a gcc2
19659 builtin and then its argument prototype would still apply. */
19664 /* The GNU C library defines this for functions which it implements
19665 to always fail with ENOSYS. Some functions are actually named
19666 something starting with __ and the normal name is an alias. */
19667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19675 if { (eval echo configure:19676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19677 eval "ac_cv_func_$ac_func=yes"
19679 echo "configure: failed program was:" >&5
19680 cat conftest.$ac_ext >&5
19682 eval "ac_cv_func_$ac_func=no"
19687 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19688 echo "$ac_t""yes" 1>&6
19689 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19690 cat >> confdefs.h <<EOF
19691 #define $ac_tr_func 1
19695 echo "$ac_t""no" 1>&6
19696 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
19706 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
19707 echo "configure:19708: checking for mbstate_t" >&5
19708 cat > conftest.$ac_ext <<EOF
19709 #line 19710 "configure"
19710 #include "confdefs.h"
19713 mbstate_t teststate;
19716 if { (eval echo configure:19717: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19720 echo "configure: failed program was:" >&5
19721 cat conftest.$ac_ext >&5
19726 echo "$ac_t""$have_mbstate_t" 1>&6
19727 if test x"$have_mbstate_t" = xyes; then
19728 cat >> confdefs.h <<\EOF
19729 #define HAVE_MBSTATE_T 1
19734 for ac_hdr in wchar.h
19736 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19737 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19738 echo "configure:19739: checking for $ac_hdr" >&5
19739 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19740 echo $ac_n "(cached) $ac_c" 1>&6
19742 cat > conftest.$ac_ext <<EOF
19743 #line 19744 "configure"
19744 #include "confdefs.h"
19747 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19748 { (eval echo configure:19749: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19749 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19750 if test -z "$ac_err"; then
19752 eval "ac_cv_header_$ac_safe=yes"
19755 echo "configure: failed program was:" >&5
19756 cat conftest.$ac_ext >&5
19758 eval "ac_cv_header_$ac_safe=no"
19762 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19763 echo "$ac_t""yes" 1>&6
19764 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19765 cat >> confdefs.h <<EOF
19766 #define $ac_tr_hdr 1
19770 echo "$ac_t""no" 1>&6
19775 for ac_hdr in wctype.h
19777 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19778 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19779 echo "configure:19780: checking for $ac_hdr" >&5
19780 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19781 echo $ac_n "(cached) $ac_c" 1>&6
19783 cat > conftest.$ac_ext <<EOF
19784 #line 19785 "configure"
19785 #include "confdefs.h"
19788 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19789 { (eval echo configure:19790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19790 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19791 if test -z "$ac_err"; then
19793 eval "ac_cv_header_$ac_safe=yes"
19796 echo "configure: failed program was:" >&5
19797 cat conftest.$ac_ext >&5
19799 eval "ac_cv_header_$ac_safe=no"
19803 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19804 echo "$ac_t""yes" 1>&6
19805 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19806 cat >> confdefs.h <<EOF
19807 #define $ac_tr_hdr 1
19809 ac_has_wctype_h=yes
19811 echo "$ac_t""no" 1>&6
19817 if test x"$ac_has_wchar_h" = xyes &&
19818 test x"$ac_has_wctype_h" = xyes &&
19819 test x"$enable_c_mbchar" != xno; then
19821 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
19822 echo "configure:19823: checking for WCHAR_MIN and WCHAR_MAX" >&5
19823 cat > conftest.$ac_ext <<EOF
19824 #line 19825 "configure"
19825 #include "confdefs.h"
19828 int i = WCHAR_MIN; int j = WCHAR_MAX;
19831 if { (eval echo configure:19832: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19833 has_wchar_minmax=yes
19835 echo "configure: failed program was:" >&5
19836 cat conftest.$ac_ext >&5
19838 has_wchar_minmax=no
19841 echo "$ac_t""$has_wchar_minmax" 1>&6
19843 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
19844 echo "configure:19845: checking for WEOF" >&5
19845 cat > conftest.$ac_ext <<EOF
19846 #line 19847 "configure"
19847 #include "confdefs.h"
19850 #include <stddef.h>
19855 if { (eval echo configure:19856: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19859 echo "configure: failed program was:" >&5
19860 cat conftest.$ac_ext >&5
19865 echo "$ac_t""$has_weof" 1>&6
19868 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
19870 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19871 echo "configure:19872: checking for $ac_func" >&5
19872 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19873 echo $ac_n "(cached) $ac_c" 1>&6
19875 cat > conftest.$ac_ext <<EOF
19876 #line 19877 "configure"
19877 #include "confdefs.h"
19878 /* System header to define __stub macros and hopefully few prototypes,
19879 which can conflict with char $ac_func(); below. */
19880 #include <assert.h>
19881 /* Override any gcc2 internal prototype to avoid an error. */
19882 /* We use char because int might match the return type of a gcc2
19883 builtin and then its argument prototype would still apply. */
19888 /* The GNU C library defines this for functions which it implements
19889 to always fail with ENOSYS. Some functions are actually named
19890 something starting with __ and the normal name is an alias. */
19891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19899 if { (eval echo configure:19900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19901 eval "ac_cv_func_$ac_func=yes"
19903 echo "configure: failed program was:" >&5
19904 cat conftest.$ac_ext >&5
19906 eval "ac_cv_func_$ac_func=no"
19911 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19912 echo "$ac_t""yes" 1>&6
19913 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19914 cat >> confdefs.h <<EOF
19915 #define $ac_tr_func 1
19919 echo "$ac_t""no" 1>&6
19926 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
19927 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
19928 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
19929 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
19930 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
19931 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
19933 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19934 echo "configure:19935: checking for $ac_func" >&5
19935 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19936 echo $ac_n "(cached) $ac_c" 1>&6
19938 cat > conftest.$ac_ext <<EOF
19939 #line 19940 "configure"
19940 #include "confdefs.h"
19941 /* System header to define __stub macros and hopefully few prototypes,
19942 which can conflict with char $ac_func(); below. */
19943 #include <assert.h>
19944 /* Override any gcc2 internal prototype to avoid an error. */
19945 /* We use char because int might match the return type of a gcc2
19946 builtin and then its argument prototype would still apply. */
19951 /* The GNU C library defines this for functions which it implements
19952 to always fail with ENOSYS. Some functions are actually named
19953 something starting with __ and the normal name is an alias. */
19954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19962 if { (eval echo configure:19963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19964 eval "ac_cv_func_$ac_func=yes"
19966 echo "configure: failed program was:" >&5
19967 cat conftest.$ac_ext >&5
19969 eval "ac_cv_func_$ac_func=no"
19974 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19975 echo "$ac_t""yes" 1>&6
19976 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19977 cat >> confdefs.h <<EOF
19978 #define $ac_tr_func 1
19982 echo "$ac_t""no" 1>&6
19989 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
19990 echo "configure:19991: checking for ISO C99 wchar_t support" >&5
19991 if test x"$has_weof" = xyes &&
19992 test x"$has_wchar_minmax" = xyes &&
19993 test x"$ac_wfuncs" = xyes; then
19994 ac_isoC99_wchar_t=yes
19996 ac_isoC99_wchar_t=no
19998 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
20000 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
20001 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
20002 echo "configure:20003: checking for iconv.h" >&5
20003 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20004 echo $ac_n "(cached) $ac_c" 1>&6
20006 cat > conftest.$ac_ext <<EOF
20007 #line 20008 "configure"
20008 #include "confdefs.h"
20011 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20012 { (eval echo configure:20013: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20013 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20014 if test -z "$ac_err"; then
20016 eval "ac_cv_header_$ac_safe=yes"
20019 echo "configure: failed program was:" >&5
20020 cat conftest.$ac_ext >&5
20022 eval "ac_cv_header_$ac_safe=no"
20026 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20027 echo "$ac_t""yes" 1>&6
20030 echo "$ac_t""no" 1>&6
20034 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
20035 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
20036 echo "configure:20037: checking for langinfo.h" >&5
20037 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20038 echo $ac_n "(cached) $ac_c" 1>&6
20040 cat > conftest.$ac_ext <<EOF
20041 #line 20042 "configure"
20042 #include "confdefs.h"
20043 #include <langinfo.h>
20045 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20046 { (eval echo configure:20047: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20047 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20048 if test -z "$ac_err"; then
20050 eval "ac_cv_header_$ac_safe=yes"
20053 echo "configure: failed program was:" >&5
20054 cat conftest.$ac_ext >&5
20056 eval "ac_cv_header_$ac_safe=no"
20060 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20061 echo "$ac_t""yes" 1>&6
20062 ac_has_langinfo_h=yes
20064 echo "$ac_t""no" 1>&6
20065 ac_has_langinfo_h=no
20069 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
20070 echo "configure:20071: checking for iconv in -liconv" >&5
20071 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
20072 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20073 echo $ac_n "(cached) $ac_c" 1>&6
20075 ac_save_LIBS="$LIBS"
20076 LIBS="-liconv $LIBS"
20077 cat > conftest.$ac_ext <<EOF
20078 #line 20079 "configure"
20079 #include "confdefs.h"
20080 /* Override any gcc2 internal prototype to avoid an error. */
20081 /* We use char because int might match the return type of a gcc2
20082 builtin and then its argument prototype would still apply. */
20089 if { (eval echo configure:20090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20091 eval "ac_cv_lib_$ac_lib_var=yes"
20093 echo "configure: failed program was:" >&5
20094 cat conftest.$ac_ext >&5
20096 eval "ac_cv_lib_$ac_lib_var=no"
20099 LIBS="$ac_save_LIBS"
20102 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20103 echo "$ac_t""yes" 1>&6
20106 echo "$ac_t""no" 1>&6
20109 ac_save_LIBS="$LIBS"
20110 LIBS="$LIBS $libiconv"
20112 for ac_func in iconv_open iconv_close iconv nl_langinfo
20114 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20115 echo "configure:20116: checking for $ac_func" >&5
20116 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20117 echo $ac_n "(cached) $ac_c" 1>&6
20119 cat > conftest.$ac_ext <<EOF
20120 #line 20121 "configure"
20121 #include "confdefs.h"
20122 /* System header to define __stub macros and hopefully few prototypes,
20123 which can conflict with char $ac_func(); below. */
20124 #include <assert.h>
20125 /* Override any gcc2 internal prototype to avoid an error. */
20126 /* We use char because int might match the return type of a gcc2
20127 builtin and then its argument prototype would still apply. */
20132 /* The GNU C library defines this for functions which it implements
20133 to always fail with ENOSYS. Some functions are actually named
20134 something starting with __ and the normal name is an alias. */
20135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20143 if { (eval echo configure:20144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20145 eval "ac_cv_func_$ac_func=yes"
20147 echo "configure: failed program was:" >&5
20148 cat conftest.$ac_ext >&5
20150 eval "ac_cv_func_$ac_func=no"
20155 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20156 echo "$ac_t""yes" 1>&6
20157 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20158 cat >> confdefs.h <<EOF
20159 #define $ac_tr_func 1
20164 echo "$ac_t""no" 1>&6
20170 LIBS="$ac_save_LIBS"
20172 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
20173 echo "configure:20174: checking for XPG2 wchar_t support" >&5
20174 if test x"$ac_has_iconv_h" = xyes &&
20175 test x"$ac_has_langinfo_h" = xyes &&
20176 test x"$ac_XPG2funcs" = xyes; then
20177 ac_XPG2_wchar_t=yes
20181 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
20183 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
20184 echo "configure:20185: checking for enabled wchar_t specializations" >&5
20185 if test x"$ac_isoC99_wchar_t" = xyes &&
20186 test x"$ac_XPG2_wchar_t" = xyes; then
20187 cat >> confdefs.h <<\EOF
20188 #define _GLIBCPP_USE_WCHAR_T 1
20191 echo "$ac_t"""yes"" 1>&6
20193 echo "$ac_t"""no"" 1>&6
20196 echo "configure: warning: wchar_t support disabled." 1>&2
20200 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20201 ac_save_CXXFLAGS="$CXXFLAGS"
20202 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
20205 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
20206 echo "configure:20207: checking for strtold declaration" >&5
20207 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
20208 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
20209 echo $ac_n "(cached) $ac_c" 1>&6
20214 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20215 ac_cpp='$CXXCPP $CPPFLAGS'
20216 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20217 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20218 cross_compiling=$ac_cv_prog_cxx_cross
20220 cat > conftest.$ac_ext <<EOF
20221 #line 20222 "configure"
20222 #include "confdefs.h"
20223 #include <stdlib.h>
20228 if { (eval echo configure:20229: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20230 glibcpp_cv_func_strtold_use=yes
20232 echo "configure: failed program was:" >&5
20233 cat conftest.$ac_ext >&5
20235 glibcpp_cv_func_strtold_use=no
20239 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20240 ac_cpp='$CPP $CPPFLAGS'
20241 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20242 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20243 cross_compiling=$ac_cv_prog_cc_cross
20249 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
20250 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
20251 for ac_func in strtold
20253 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20254 echo "configure:20255: checking for $ac_func" >&5
20255 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20256 echo $ac_n "(cached) $ac_c" 1>&6
20258 cat > conftest.$ac_ext <<EOF
20259 #line 20260 "configure"
20260 #include "confdefs.h"
20261 /* System header to define __stub macros and hopefully few prototypes,
20262 which can conflict with char $ac_func(); below. */
20263 #include <assert.h>
20264 /* Override any gcc2 internal prototype to avoid an error. */
20265 /* We use char because int might match the return type of a gcc2
20266 builtin and then its argument prototype would still apply. */
20271 /* The GNU C library defines this for functions which it implements
20272 to always fail with ENOSYS. Some functions are actually named
20273 something starting with __ and the normal name is an alias. */
20274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20282 if { (eval echo configure:20283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20284 eval "ac_cv_func_$ac_func=yes"
20286 echo "configure: failed program was:" >&5
20287 cat conftest.$ac_ext >&5
20289 eval "ac_cv_func_$ac_func=no"
20294 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20295 echo "$ac_t""yes" 1>&6
20296 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20297 cat >> confdefs.h <<EOF
20298 #define $ac_tr_func 1
20302 echo "$ac_t""no" 1>&6
20309 echo $ac_n "checking for strtof declaration""... $ac_c" 1>&6
20310 echo "configure:20311: checking for strtof declaration" >&5
20311 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
20312 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
20313 echo $ac_n "(cached) $ac_c" 1>&6
20318 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20319 ac_cpp='$CXXCPP $CPPFLAGS'
20320 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20321 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20322 cross_compiling=$ac_cv_prog_cxx_cross
20324 cat > conftest.$ac_ext <<EOF
20325 #line 20326 "configure"
20326 #include "confdefs.h"
20327 #include <stdlib.h>
20332 if { (eval echo configure:20333: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20334 glibcpp_cv_func_strtof_use=yes
20336 echo "configure: failed program was:" >&5
20337 cat conftest.$ac_ext >&5
20339 glibcpp_cv_func_strtof_use=no
20343 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20344 ac_cpp='$CPP $CPPFLAGS'
20345 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20346 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20347 cross_compiling=$ac_cv_prog_cc_cross
20353 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
20354 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
20355 for ac_func in strtof
20357 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20358 echo "configure:20359: checking for $ac_func" >&5
20359 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20360 echo $ac_n "(cached) $ac_c" 1>&6
20362 cat > conftest.$ac_ext <<EOF
20363 #line 20364 "configure"
20364 #include "confdefs.h"
20365 /* System header to define __stub macros and hopefully few prototypes,
20366 which can conflict with char $ac_func(); below. */
20367 #include <assert.h>
20368 /* Override any gcc2 internal prototype to avoid an error. */
20369 /* We use char because int might match the return type of a gcc2
20370 builtin and then its argument prototype would still apply. */
20375 /* The GNU C library defines this for functions which it implements
20376 to always fail with ENOSYS. Some functions are actually named
20377 something starting with __ and the normal name is an alias. */
20378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20386 if { (eval echo configure:20387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20388 eval "ac_cv_func_$ac_func=yes"
20390 echo "configure: failed program was:" >&5
20391 cat conftest.$ac_ext >&5
20393 eval "ac_cv_func_$ac_func=no"
20398 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20399 echo "$ac_t""yes" 1>&6
20400 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20401 cat >> confdefs.h <<EOF
20402 #define $ac_tr_func 1
20406 echo "$ac_t""no" 1>&6
20412 for ac_func in drand48
20414 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20415 echo "configure:20416: checking for $ac_func" >&5
20416 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20417 echo $ac_n "(cached) $ac_c" 1>&6
20419 cat > conftest.$ac_ext <<EOF
20420 #line 20421 "configure"
20421 #include "confdefs.h"
20422 /* System header to define __stub macros and hopefully few prototypes,
20423 which can conflict with char $ac_func(); below. */
20424 #include <assert.h>
20425 /* Override any gcc2 internal prototype to avoid an error. */
20426 /* We use char because int might match the return type of a gcc2
20427 builtin and then its argument prototype would still apply. */
20432 /* The GNU C library defines this for functions which it implements
20433 to always fail with ENOSYS. Some functions are actually named
20434 something starting with __ and the normal name is an alias. */
20435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20443 if { (eval echo configure:20444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20445 eval "ac_cv_func_$ac_func=yes"
20447 echo "configure: failed program was:" >&5
20448 cat conftest.$ac_ext >&5
20450 eval "ac_cv_func_$ac_func=no"
20455 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20456 echo "$ac_t""yes" 1>&6
20457 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20458 cat >> confdefs.h <<EOF
20459 #define $ac_tr_func 1
20463 echo "$ac_t""no" 1>&6
20468 CXXFLAGS="$ac_save_CXXFLAGS"
20471 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
20472 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
20473 echo "configure:20474: checking for locale.h" >&5
20474 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20475 echo $ac_n "(cached) $ac_c" 1>&6
20477 cat > conftest.$ac_ext <<EOF
20478 #line 20479 "configure"
20479 #include "confdefs.h"
20480 #include <locale.h>
20482 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20483 { (eval echo configure:20484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20484 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20485 if test -z "$ac_err"; then
20487 eval "ac_cv_header_$ac_safe=yes"
20490 echo "configure: failed program was:" >&5
20491 cat conftest.$ac_ext >&5
20493 eval "ac_cv_header_$ac_safe=no"
20497 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20498 echo "$ac_t""yes" 1>&6
20500 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
20501 echo "configure:20502: checking for LC_MESSAGES" >&5
20502 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
20503 echo $ac_n "(cached) $ac_c" 1>&6
20505 cat > conftest.$ac_ext <<EOF
20506 #line 20507 "configure"
20507 #include "confdefs.h"
20508 #include <locale.h>
20513 if { (eval echo configure:20514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20515 ac_cv_val_LC_MESSAGES=yes
20517 echo "configure: failed program was:" >&5
20518 cat conftest.$ac_ext >&5
20520 ac_cv_val_LC_MESSAGES=no
20525 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
20526 if test $ac_cv_val_LC_MESSAGES = yes; then
20527 cat >> confdefs.h <<\EOF
20528 #define HAVE_LC_MESSAGES 1
20534 echo "$ac_t""no" 1>&6
20539 cat > conftest.$ac_ext <<EOF
20540 #line 20541 "configure"
20541 #include "confdefs.h"
20543 #include <setjmp.h>
20546 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
20549 if { (eval echo configure:20550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20551 cat >> confdefs.h <<\EOF
20552 #define HAVE_SIGSETJMP 1
20557 echo "configure: failed program was:" >&5
20558 cat conftest.$ac_ext >&5
20562 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
20564 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20565 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20566 echo "configure:20567: checking for $ac_hdr" >&5
20567 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20568 echo $ac_n "(cached) $ac_c" 1>&6
20570 cat > conftest.$ac_ext <<EOF
20571 #line 20572 "configure"
20572 #include "confdefs.h"
20575 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20576 { (eval echo configure:20577: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20577 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20578 if test -z "$ac_err"; then
20580 eval "ac_cv_header_$ac_safe=yes"
20583 echo "configure: failed program was:" >&5
20584 cat conftest.$ac_ext >&5
20586 eval "ac_cv_header_$ac_safe=no"
20590 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20591 echo "$ac_t""yes" 1>&6
20592 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20593 cat >> confdefs.h <<EOF
20594 #define $ac_tr_hdr 1
20598 echo "$ac_t""no" 1>&6
20602 for ac_func in getpagesize
20604 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20605 echo "configure:20606: checking for $ac_func" >&5
20606 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20607 echo $ac_n "(cached) $ac_c" 1>&6
20609 cat > conftest.$ac_ext <<EOF
20610 #line 20611 "configure"
20611 #include "confdefs.h"
20612 /* System header to define __stub macros and hopefully few prototypes,
20613 which can conflict with char $ac_func(); below. */
20614 #include <assert.h>
20615 /* Override any gcc2 internal prototype to avoid an error. */
20616 /* We use char because int might match the return type of a gcc2
20617 builtin and then its argument prototype would still apply. */
20622 /* The GNU C library defines this for functions which it implements
20623 to always fail with ENOSYS. Some functions are actually named
20624 something starting with __ and the normal name is an alias. */
20625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20633 if { (eval echo configure:20634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20635 eval "ac_cv_func_$ac_func=yes"
20637 echo "configure: failed program was:" >&5
20638 cat conftest.$ac_ext >&5
20640 eval "ac_cv_func_$ac_func=no"
20645 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20646 echo "$ac_t""yes" 1>&6
20647 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20648 cat >> confdefs.h <<EOF
20649 #define $ac_tr_func 1
20653 echo "$ac_t""no" 1>&6
20657 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
20658 echo "configure:20659: checking for working mmap" >&5
20659 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
20660 echo $ac_n "(cached) $ac_c" 1>&6
20662 if test "$cross_compiling" = yes; then
20663 ac_cv_func_mmap_fixed_mapped=no
20665 cat > conftest.$ac_ext <<EOF
20666 #line 20667 "configure"
20667 #include "confdefs.h"
20669 /* Thanks to Mike Haertel and Jim Avera for this test.
20670 Here is a matrix of mmap possibilities:
20671 mmap private not fixed
20672 mmap private fixed at somewhere currently unmapped
20673 mmap private fixed at somewhere already mapped
20674 mmap shared not fixed
20675 mmap shared fixed at somewhere currently unmapped
20676 mmap shared fixed at somewhere already mapped
20677 For private mappings, we should verify that changes cannot be read()
20678 back from the file, nor mmap's back from the file at a different
20679 address. (There have been systems where private was not correctly
20680 implemented like the infamous i386 svr4.0, and systems where the
20681 VM page cache was not coherent with the filesystem buffer cache
20682 like early versions of FreeBSD and possibly contemporary NetBSD.)
20683 For shared mappings, we should conversely verify that changes get
20684 propogated back to all the places they're supposed to be.
20686 Grep wants private fixed already mapped.
20687 The main things grep needs to know about mmap are:
20688 * does it exist and is it safe to write into the mmap'd area
20689 * how to use it (BSD variants) */
20690 #include <sys/types.h>
20692 #include <sys/mman.h>
20694 #if HAVE_SYS_TYPES_H
20695 # include <sys/types.h>
20699 # include <stdlib.h>
20702 #if HAVE_SYS_STAT_H
20703 # include <sys/stat.h>
20707 # include <unistd.h>
20710 /* This mess was copied from the GNU getpagesize.h. */
20711 #ifndef HAVE_GETPAGESIZE
20713 /* Assume that all systems that can run configure have sys/param.h. */
20714 # ifndef HAVE_SYS_PARAM_H
20715 # define HAVE_SYS_PARAM_H 1
20718 # ifdef _SC_PAGESIZE
20719 # define getpagesize() sysconf(_SC_PAGESIZE)
20720 # else /* no _SC_PAGESIZE */
20721 # ifdef HAVE_SYS_PARAM_H
20722 # include <sys/param.h>
20723 # ifdef EXEC_PAGESIZE
20724 # define getpagesize() EXEC_PAGESIZE
20725 # else /* no EXEC_PAGESIZE */
20727 # define getpagesize() NBPG * CLSIZE
20730 # endif /* no CLSIZE */
20731 # else /* no NBPG */
20733 # define getpagesize() NBPC
20734 # else /* no NBPC */
20736 # define getpagesize() PAGESIZE
20737 # endif /* PAGESIZE */
20738 # endif /* no NBPC */
20739 # endif /* no NBPG */
20740 # endif /* no EXEC_PAGESIZE */
20741 # else /* no HAVE_SYS_PARAM_H */
20742 # define getpagesize() 8192 /* punt totally */
20743 # endif /* no HAVE_SYS_PARAM_H */
20744 # endif /* no _SC_PAGESIZE */
20746 #endif /* no HAVE_GETPAGESIZE */
20749 extern "C" { void *malloc(unsigned); }
20757 char *data, *data2, *data3;
20761 pagesize = getpagesize();
20764 * First, make a file with some known garbage in it.
20766 data = malloc(pagesize);
20769 for (i = 0; i < pagesize; ++i)
20770 *(data + i) = rand();
20772 fd = creat("conftestmmap", 0600);
20775 if (write(fd, data, pagesize) != pagesize)
20780 * Next, try to mmap the file at a fixed address which
20781 * already has something else allocated at it. If we can,
20782 * also make sure that we see the same garbage.
20784 fd = open("conftestmmap", O_RDWR);
20787 data2 = malloc(2 * pagesize);
20790 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
20791 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
20792 MAP_PRIVATE | MAP_FIXED, fd, 0L))
20794 for (i = 0; i < pagesize; ++i)
20795 if (*(data + i) != *(data2 + i))
20799 * Finally, make sure that changes to the mapped area
20800 * do not percolate back to the file as seen by read().
20801 * (This is a bug on some variants of i386 svr4.0.)
20803 for (i = 0; i < pagesize; ++i)
20804 *(data2 + i) = *(data2 + i) + 1;
20805 data3 = malloc(pagesize);
20808 if (read(fd, data3, pagesize) != pagesize)
20810 for (i = 0; i < pagesize; ++i)
20811 if (*(data + i) != *(data3 + i))
20814 unlink("conftestmmap");
20819 if { (eval echo configure:20820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
20821 ac_cv_func_mmap_fixed_mapped=yes
20823 echo "configure: failed program was:" >&5
20824 cat conftest.$ac_ext >&5
20826 ac_cv_func_mmap_fixed_mapped=no
20833 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
20834 if test $ac_cv_func_mmap_fixed_mapped = yes; then
20835 cat >> confdefs.h <<\EOF
20836 #define HAVE_MMAP 1
20842 # Establish limits on memory usage during 'make check'
20845 setrlimit_have_headers=yes
20846 for ac_hdr in sys/resource.h unistd.h
20848 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20849 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20850 echo "configure:20851: checking for $ac_hdr" >&5
20851 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20852 echo $ac_n "(cached) $ac_c" 1>&6
20854 cat > conftest.$ac_ext <<EOF
20855 #line 20856 "configure"
20856 #include "confdefs.h"
20859 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20860 { (eval echo configure:20861: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20861 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20862 if test -z "$ac_err"; then
20864 eval "ac_cv_header_$ac_safe=yes"
20867 echo "configure: failed program was:" >&5
20868 cat conftest.$ac_ext >&5
20870 eval "ac_cv_header_$ac_safe=no"
20874 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20875 echo "$ac_t""yes" 1>&6
20876 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20877 cat >> confdefs.h <<EOF
20878 #define $ac_tr_hdr 1
20882 echo "$ac_t""no" 1>&6
20883 setrlimit_have_headers=no
20887 # If don't have the headers, then we can't run the tests now, and we
20888 # won't be seeing any of these during testsuite compilation.
20889 if test $setrlimit_have_headers = yes; then
20890 # Can't do these in a loop, else the resulting syntax is wrong.
20892 cat > conftest.$ac_ext <<EOF
20893 #line 20894 "configure"
20894 #include "confdefs.h"
20895 #include <sys/resource.h>
20896 #include <unistd.h>
20899 int f = RLIMIT_DATA ;
20902 if { (eval echo configure:20903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20906 echo "configure: failed program was:" >&5
20907 cat conftest.$ac_ext >&5
20912 cat >> confdefs.h <<EOF
20913 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
20918 cat > conftest.$ac_ext <<EOF
20919 #line 20920 "configure"
20920 #include "confdefs.h"
20921 #include <sys/resource.h>
20922 #include <unistd.h>
20925 int f = RLIMIT_RSS ;
20928 if { (eval echo configure:20929: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20932 echo "configure: failed program was:" >&5
20933 cat conftest.$ac_ext >&5
20938 cat >> confdefs.h <<EOF
20939 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
20944 cat > conftest.$ac_ext <<EOF
20945 #line 20946 "configure"
20946 #include "confdefs.h"
20947 #include <sys/resource.h>
20948 #include <unistd.h>
20951 int f = RLIMIT_VMEM ;
20954 if { (eval echo configure:20955: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20958 echo "configure: failed program was:" >&5
20959 cat conftest.$ac_ext >&5
20964 cat >> confdefs.h <<EOF
20965 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
20970 cat > conftest.$ac_ext <<EOF
20971 #line 20972 "configure"
20972 #include "confdefs.h"
20973 #include <sys/resource.h>
20974 #include <unistd.h>
20977 int f = RLIMIT_AS ;
20980 if { (eval echo configure:20981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20984 echo "configure: failed program was:" >&5
20985 cat conftest.$ac_ext >&5
20990 cat >> confdefs.h <<EOF
20991 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
20996 # Check for rlimit, setrlimit.
20997 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
20998 echo $ac_n "(cached) $ac_c" 1>&6
21001 cat > conftest.$ac_ext <<EOF
21002 #line 21003 "configure"
21003 #include "confdefs.h"
21004 #include <sys/resource.h>
21005 #include <unistd.h>
21008 struct rlimit r; setrlimit(0, &r);
21011 if { (eval echo configure:21012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21015 echo "configure: failed program was:" >&5
21016 cat conftest.$ac_ext >&5
21026 echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
21027 echo "configure:21028: checking for testsuite memory limit support" >&5
21028 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
21030 cat >> confdefs.h <<\EOF
21031 #define _GLIBCPP_MEM_LIMITS 1
21037 echo "$ac_t""$ac_mem_limits" 1>&6
21040 # Look for setenv, so that extended locale tests can be performed.
21042 echo $ac_n "checking for setenv declaration""... $ac_c" 1>&6
21043 echo "configure:21044: checking for setenv declaration" >&5
21044 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
21045 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
21046 echo $ac_n "(cached) $ac_c" 1>&6
21051 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21052 ac_cpp='$CXXCPP $CPPFLAGS'
21053 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21054 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21055 cross_compiling=$ac_cv_prog_cxx_cross
21057 cat > conftest.$ac_ext <<EOF
21058 #line 21059 "configure"
21059 #include "confdefs.h"
21060 #include <stdlib.h>
21065 if { (eval echo configure:21066: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21067 glibcpp_cv_func_setenv_use=yes
21069 echo "configure: failed program was:" >&5
21070 cat conftest.$ac_ext >&5
21072 glibcpp_cv_func_setenv_use=no
21076 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21077 ac_cpp='$CPP $CPPFLAGS'
21078 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21079 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21080 cross_compiling=$ac_cv_prog_cc_cross
21086 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
21087 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
21088 for ac_func in setenv
21090 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21091 echo "configure:21092: checking for $ac_func" >&5
21092 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21093 echo $ac_n "(cached) $ac_c" 1>&6
21095 cat > conftest.$ac_ext <<EOF
21096 #line 21097 "configure"
21097 #include "confdefs.h"
21098 /* System header to define __stub macros and hopefully few prototypes,
21099 which can conflict with char $ac_func(); below. */
21100 #include <assert.h>
21101 /* Override any gcc2 internal prototype to avoid an error. */
21102 /* We use char because int might match the return type of a gcc2
21103 builtin and then its argument prototype would still apply. */
21108 /* The GNU C library defines this for functions which it implements
21109 to always fail with ENOSYS. Some functions are actually named
21110 something starting with __ and the normal name is an alias. */
21111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21119 if { (eval echo configure:21120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21121 eval "ac_cv_func_$ac_func=yes"
21123 echo "configure: failed program was:" >&5
21124 cat conftest.$ac_ext >&5
21126 eval "ac_cv_func_$ac_func=no"
21131 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21132 echo "$ac_t""yes" 1>&6
21133 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21134 cat >> confdefs.h <<EOF
21135 #define $ac_tr_func 1
21139 echo "$ac_t""no" 1>&6
21148 # This depends on the possibly-skipped linker test above.
21149 # Check whether --enable-symvers or --disable-symvers was given.
21150 if test "${enable_symvers+set}" = set; then
21151 enableval="$enable_symvers"
21152 case "$enableval" in
21153 yes) enable_symvers=yes ;;
21154 no) enable_symvers=no ;;
21155 # other names here, just as sanity checks
21156 #gnu|sun|etcetera) enable_symvers=$enableval ;;
21157 gnu) enable_symvers=$enableval ;;
21158 *) { echo "configure: error: Unknown argument to enable/disable symvers" 1>&2; exit 1; } ;;
21164 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
21165 # don't know enough about $LD to do tricks...
21166 if test x$enable_shared = xno ||
21168 test x$glibcpp_gnu_ld_version = x; then
21172 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
21173 echo $ac_n "checking for shared libgcc""... $ac_c" 1>&6
21174 echo "configure:21175: checking for shared libgcc" >&5
21175 ac_save_CFLAGS="$CFLAGS"
21177 cat > conftest.$ac_ext <<EOF
21178 #line 21179 "configure"
21179 #include "confdefs.h"
21185 if { (eval echo configure:21186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21187 glibcpp_shared_libgcc=yes
21189 echo "configure: failed program was:" >&5
21190 cat conftest.$ac_ext >&5
21192 glibcpp_shared_libgcc=no
21195 CFLAGS="$ac_save_CFLAGS"
21196 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
21198 # For GNU ld, we need at least this version. It's 2.12 in the same format
21199 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
21200 glibcpp_min_gnu_ld_version=21200
21202 # Check to see if unspecified "yes" value can win, given results
21204 if test $enable_symvers = yes ; then
21205 if test $with_gnu_ld = yes &&
21206 test $glibcpp_shared_libgcc = yes ;
21208 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
21211 ac_test_CFLAGS="${CFLAGS+set}"
21212 ac_save_CFLAGS="$CFLAGS"
21213 CFLAGS='-shared -Wl,--version-script,conftest.map'
21216 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
21218 cat > conftest.$ac_ext <<EOF
21219 #line 21220 "configure"
21220 #include "confdefs.h"
21226 if { (eval echo configure:21227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21230 echo "configure: failed program was:" >&5
21231 cat conftest.$ac_ext >&5
21234 if test "$ac_test_CFLAGS" = set; then
21235 CFLAGS="$ac_save_CFLAGS"
21237 # this is the suspicious part
21243 # just fail for now
21248 case $enable_symvers in
21250 LINKER_MAP=config/linker-map.dummy
21253 LINKER_MAP=config/linker-map.gnu
21260 if test $enable_symvers != no; then
21261 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
21262 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
21264 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
21265 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
21267 echo $ac_n "checking versioning on shared library symbols""... $ac_c" 1>&6
21268 echo "configure:21269: checking versioning on shared library symbols" >&5
21269 echo "$ac_t""$enable_symvers" 1>&6
21272 # Propagate the target-specific source directories through the build chain.
21273 OS_INC_SRCDIR=$os_include_dir/bits
21274 ATOMICITY_INC_SRCDIR=$ATOMICITYH/bits
21275 CPU_LIMITS_INC_SRCDIR=$CPULIMITSH/bits
21280 # Set up cross-compile flags
21284 if test "$CANADIAN" = yes; then
21292 cat > confcache <<\EOF
21293 # This file is a shell script that caches the results of configure
21294 # tests run on this system so they can be shared between configure
21295 # scripts and configure runs. It is not useful on other systems.
21296 # If it contains results you don't want to keep, you may remove or edit it.
21298 # By default, configure uses ./config.cache as the cache file,
21299 # creating it if it does not exist already. You can give configure
21300 # the --cache-file=FILE option to use a different cache file; that is
21301 # what configure does when it calls configure scripts in
21302 # subdirectories, so they share the cache.
21303 # Giving --cache-file=/dev/null disables caching, for debugging configure.
21304 # config.status only pays attention to the cache file if you give it the
21305 # --recheck option to rerun configure.
21308 # The following way of writing the cache mishandles newlines in values,
21309 # but we know of no workaround that is simple, portable, and efficient.
21310 # So, don't put newlines in cache variables' values.
21311 # Ultrix sh set writes to stderr and can't be redirected directly,
21312 # and sets the high bit in the cache file unless we assign to the vars.
21314 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21316 # `set' does not quote correctly, so add quotes (double-quote substitution
21317 # turns \\\\ into \\, and sed turns \\ into \).
21319 -e "s/'/'\\\\''/g" \
21320 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
21323 # `set' quotes correctly as required by POSIX, so do not add quotes.
21324 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
21327 if cmp -s $cache_file confcache; then
21330 if test -w $cache_file; then
21331 echo "updating cache $cache_file"
21332 cat confcache > $cache_file
21334 echo "not updating unwritable cache $cache_file"
21340 if test "${multilib}" = "yes"; then
21341 multilib_arg="--enable-multilib"
21346 # Needed so that g++ can find the correct include subdir automatically.
21349 # Export all the install information
21351 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
21352 # exported correctly in GLIBCPP_CONFIGURE.
21353 glibcpp_toolexecdir=no
21354 glibcpp_toolexeclibdir=no
21355 glibcpp_prefixdir=${prefix}
21357 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
21358 echo "configure:21359: checking for interface version number" >&5
21359 libstdcxx_interface=$INTERFACE
21360 echo "$ac_t""$libstdcxx_interface" 1>&6
21362 # Process the option --with-gxx-include-dir=<path to include-files directory>
21363 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
21364 echo "configure:21365: checking for --with-gxx-include-dir" >&5
21365 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
21366 if test "${with_gxx_include_dir+set}" = set; then
21367 withval="$with_gxx_include_dir"
21368 case "${withval}" in
21370 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
21377 gxx_include_dir=${withval}
21384 echo "$ac_t""$gxx_include_dir" 1>&6
21386 # Process the option "--enable-version-specific-runtime-libs"
21387 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
21388 echo "configure:21389: checking for --enable-version-specific-runtime-libs" >&5
21389 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
21390 if test "${enable_version_specific_runtime_libs+set}" = set; then
21391 enableval="$enable_version_specific_runtime_libs"
21392 case "$enableval" in
21393 yes) version_specific_libs=yes ;;
21394 no) version_specific_libs=no ;;
21395 *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
21398 version_specific_libs=no
21400 # Option set, now we can test it.
21401 echo "$ac_t""$version_specific_libs" 1>&6
21403 if test $version_specific_libs = yes; then
21404 # Need the gcc compiler version to know where to install libraries
21405 # and header files if --enable-version-specific-runtime-libs option
21407 gcc_version_trigger=${srcdir}/../gcc/version.c
21408 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
21409 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
21410 if test x"$gxx_include_dir" = x"no"; then
21411 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/g++
21413 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
21414 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
21417 # Default case for install directory for include files.
21418 if test $version_specific_libs = no &&
21419 test $gxx_include_dir = no; then
21420 gxx_include_dir='$(prefix)'/include/g++-${libstdcxx_interface}
21423 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
21424 # Install a library built with a cross compiler in tooldir, not libdir.
21425 if test x"$glibcpp_toolexecdir" = x"no"; then
21426 if test -n "$with_cross_host" &&
21427 test x"$with_cross_host" != x"no"; then
21428 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
21429 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
21431 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
21432 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
21436 echo $ac_n "checking for install location""... $ac_c" 1>&6
21437 echo "configure:21438: checking for install location" >&5
21438 echo "$ac_t""$gxx_include_dir" 1>&6
21446 # Export all the include and flag information to makefiles.
21448 # Root level of the build directory include sources.
21449 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
21451 # Passed down for canadian crosses.
21452 if test x"$CANADIAN" = xyes; then
21453 TOPLEVEL_INCLUDES='-I$(includedir)'
21456 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
21458 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
21460 if test x"$need_libio" = xyes; then
21461 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
21465 # Now, export this to all the little Makefiles....
21472 # Optimization flags that are probably a good idea for thrill-seekers. Just
21473 # uncomment the lines below and make, everything else is ready to go...
21474 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
21478 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
21482 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
21483 grep "enable shared" > /dev/null; then
21484 LIBSUPCXX_PICFLAGS=-prefer-pic
21486 LIBSUPCXX_PICFLAGS=
21490 # Generate the various Makefiles, include files, and scripts.
21491 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
21492 # and libsupc++/Makefile.am so that multilib installs will end up
21493 # installed in the correct place. To work around this not being passed
21494 # down from config-ml.in -> top_srcdir/Makefile.am ->
21495 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
21497 cat > confcache <<\EOF
21498 # This file is a shell script that caches the results of configure
21499 # tests run on this system so they can be shared between configure
21500 # scripts and configure runs. It is not useful on other systems.
21501 # If it contains results you don't want to keep, you may remove or edit it.
21503 # By default, configure uses ./config.cache as the cache file,
21504 # creating it if it does not exist already. You can give configure
21505 # the --cache-file=FILE option to use a different cache file; that is
21506 # what configure does when it calls configure scripts in
21507 # subdirectories, so they share the cache.
21508 # Giving --cache-file=/dev/null disables caching, for debugging configure.
21509 # config.status only pays attention to the cache file if you give it the
21510 # --recheck option to rerun configure.
21513 # The following way of writing the cache mishandles newlines in values,
21514 # but we know of no workaround that is simple, portable, and efficient.
21515 # So, don't put newlines in cache variables' values.
21516 # Ultrix sh set writes to stderr and can't be redirected directly,
21517 # and sets the high bit in the cache file unless we assign to the vars.
21519 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21521 # `set' does not quote correctly, so add quotes (double-quote substitution
21522 # turns \\\\ into \\, and sed turns \\ into \).
21524 -e "s/'/'\\\\''/g" \
21525 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
21528 # `set' quotes correctly as required by POSIX, so do not add quotes.
21529 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
21532 if cmp -s $cache_file confcache; then
21535 if test -w $cache_file; then
21536 echo "updating cache $cache_file"
21537 cat confcache > $cache_file
21539 echo "not updating unwritable cache $cache_file"
21544 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
21546 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21547 # Let make expand exec_prefix.
21548 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21550 # Any assignment to VPATH causes Sun make to only execute
21551 # the first set of double-colon rules, so remove it if not needed.
21552 # If there is a colon in the path, we need to keep it.
21553 if test "x$srcdir" = x.; then
21554 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
21557 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
21559 DEFS=-DHAVE_CONFIG_H
21561 # Without the "./", some shells look in PATH for config.status.
21562 : ${CONFIG_STATUS=./config.status}
21564 echo creating $CONFIG_STATUS
21565 rm -f $CONFIG_STATUS
21566 cat > $CONFIG_STATUS <<EOF
21568 # Generated automatically by configure.
21569 # Run this file to recreate the current configuration.
21570 # This directory was configured as follows,
21571 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21573 # $0 $ac_configure_args
21575 # Compiler output produced by configure, useful for debugging
21576 # configure, is in ./config.log if it exists.
21578 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
21581 case "\$ac_option" in
21582 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21583 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
21584 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
21585 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
21586 echo "$CONFIG_STATUS generated by autoconf version 2.13"
21588 -help | --help | --hel | --he | --h)
21589 echo "\$ac_cs_usage"; exit 0 ;;
21590 *) echo "\$ac_cs_usage"; exit 1 ;;
21594 ac_given_srcdir=$srcdir
21595 ac_given_INSTALL="$INSTALL"
21597 trap 'rm -fr `echo "Makefile \
21598 include/Makefile src/Makefile \
21599 libmath/Makefile libio/Makefile libsupc++/Makefile \
21600 po/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
21602 cat >> $CONFIG_STATUS <<EOF
21604 # Protect against being on the right side of a sed subst in config.status.
21605 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
21606 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
21610 s%@CFLAGS@%$CFLAGS%g
21611 s%@CPPFLAGS@%$CPPFLAGS%g
21612 s%@CXXFLAGS@%$CXXFLAGS%g
21613 s%@FFLAGS@%$FFLAGS%g
21615 s%@LDFLAGS@%$LDFLAGS%g
21617 s%@exec_prefix@%$exec_prefix%g
21618 s%@prefix@%$prefix%g
21619 s%@program_transform_name@%$program_transform_name%g
21620 s%@bindir@%$bindir%g
21621 s%@sbindir@%$sbindir%g
21622 s%@libexecdir@%$libexecdir%g
21623 s%@datadir@%$datadir%g
21624 s%@sysconfdir@%$sysconfdir%g
21625 s%@sharedstatedir@%$sharedstatedir%g
21626 s%@localstatedir@%$localstatedir%g
21627 s%@libdir@%$libdir%g
21628 s%@includedir@%$includedir%g
21629 s%@oldincludedir@%$oldincludedir%g
21630 s%@infodir@%$infodir%g
21631 s%@mandir@%$mandir%g
21632 s%@PACKAGE@%$PACKAGE%g
21633 s%@release_VERSION@%$release_VERSION%g
21634 s%@libtool_VERSION@%$libtool_VERSION%g
21636 s%@host_alias@%$host_alias%g
21637 s%@host_cpu@%$host_cpu%g
21638 s%@host_vendor@%$host_vendor%g
21639 s%@host_os@%$host_os%g
21640 s%@target@%$target%g
21641 s%@target_alias@%$target_alias%g
21642 s%@target_cpu@%$target_cpu%g
21643 s%@target_vendor@%$target_vendor%g
21644 s%@target_os@%$target_os%g
21646 s%@build_alias@%$build_alias%g
21647 s%@build_cpu@%$build_cpu%g
21648 s%@build_vendor@%$build_vendor%g
21649 s%@build_os@%$build_os%g
21650 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
21651 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
21652 s%@INSTALL_DATA@%$INSTALL_DATA%g
21653 s%@VERSION@%$VERSION%g
21654 s%@ACLOCAL@%$ACLOCAL%g
21655 s%@AUTOCONF@%$AUTOCONF%g
21656 s%@AUTOMAKE@%$AUTOMAKE%g
21657 s%@AUTOHEADER@%$AUTOHEADER%g
21658 s%@MAKEINFO@%$MAKEINFO%g
21659 s%@SET_MAKE@%$SET_MAKE%g
21660 s%@toplevel_srcdir@%$toplevel_srcdir%g
21661 s%@glibcpp_builddir@%$glibcpp_builddir%g
21662 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
21665 s%@glibcpp_basedir@%$glibcpp_basedir%g
21667 s%@glibcpp_CXX@%$glibcpp_CXX%g
21670 s%@RANLIB@%$RANLIB%g
21671 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
21672 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
21674 s%@EXEEXT@%$EXEEXT%g
21675 s%@OBJEXT@%$OBJEXT%g
21677 s%@LIBTOOL@%$LIBTOOL%g
21678 s%@CXXCPP@%$CXXCPP%g
21679 s%@enable_shared@%$enable_shared%g
21680 s%@enable_static@%$enable_static%g
21681 s%@ifGNUmake@%$ifGNUmake%g
21682 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
21684 s%@CSTDIO_H@%$CSTDIO_H%g
21685 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
21686 s%@CCODECVT_C@%$CCODECVT_C%g
21687 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
21688 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
21689 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
21690 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
21691 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
21692 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
21693 s%@libio_la@%$libio_la%g
21694 s%@check_msgfmt@%$check_msgfmt%g
21695 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
21696 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
21697 s%@glibcpp_localedir@%$glibcpp_localedir%g
21698 s%@USE_NLS@%$USE_NLS%g
21699 s%@CLOCALE_H@%$CLOCALE_H%g
21700 s%@CCODECVT_H@%$CCODECVT_H%g
21701 s%@CMESSAGES_H@%$CMESSAGES_H%g
21702 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
21703 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
21704 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
21705 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
21706 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
21707 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
21708 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
21709 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
21710 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
21711 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
21712 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
21713 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
21714 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
21715 s%@WERROR@%$WERROR%g
21716 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
21717 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
21718 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
21719 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
21720 s%@CPU_LIMITS_INC_SRCDIR@%$CPU_LIMITS_INC_SRCDIR%g
21721 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
21722 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
21723 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
21724 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
21725 s%@gxx_include_dir@%$gxx_include_dir%g
21726 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
21727 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
21728 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
21729 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
21730 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
21731 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
21732 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
21733 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
21734 s%@WARN_FLAGS@%$WARN_FLAGS%g
21735 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
21740 cat >> $CONFIG_STATUS <<\EOF
21742 # Split the substitutions into bite-sized pieces for seds with
21743 # small command number limits, like on Digital OSF/1 and HP-UX.
21744 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
21745 ac_file=1 # Number of current file.
21746 ac_beg=1 # First line for current file.
21747 ac_end=$ac_max_sed_cmds # Line after last line for current file.
21750 while $ac_more_lines; do
21751 if test $ac_beg -gt 1; then
21752 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
21754 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
21756 if test ! -s conftest.s$ac_file; then
21757 ac_more_lines=false
21758 rm -f conftest.s$ac_file
21760 if test -z "$ac_sed_cmds"; then
21761 ac_sed_cmds="sed -f conftest.s$ac_file"
21763 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
21765 ac_file=`expr $ac_file + 1`
21767 ac_end=`expr $ac_end + $ac_max_sed_cmds`
21770 if test -z "$ac_sed_cmds"; then
21775 cat >> $CONFIG_STATUS <<EOF
21777 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
21778 include/Makefile src/Makefile \
21779 libmath/Makefile libio/Makefile libsupc++/Makefile \
21780 po/Makefile testsuite/Makefile mkcheck testsuite_flags"}
21782 cat >> $CONFIG_STATUS <<\EOF
21783 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
21784 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21786 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
21787 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
21788 *) ac_file_in="${ac_file}.in" ;;
21791 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
21793 # Remove last slash and all that follows it. Not all systems have dirname.
21794 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
21795 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
21796 # The file is in a subdirectory.
21797 test ! -d "$ac_dir" && mkdir "$ac_dir"
21798 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
21799 # A "../" for each directory in $ac_dir_suffix.
21800 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
21802 ac_dir_suffix= ac_dots=
21805 case "$ac_given_srcdir" in
21807 if test -z "$ac_dots"; then top_srcdir=.
21808 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
21809 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
21810 *) # Relative path.
21811 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
21812 top_srcdir="$ac_dots$ac_given_srcdir" ;;
21815 case "$ac_given_INSTALL" in
21816 [/$]*) INSTALL="$ac_given_INSTALL" ;;
21817 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
21820 echo creating "$ac_file"
21822 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
21824 *Makefile*) ac_comsub="1i\\
21825 # $configure_input" ;;
21829 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
21831 s%@configure_input@%$configure_input%g
21832 s%@srcdir@%$srcdir%g
21833 s%@top_srcdir@%$top_srcdir%g
21834 s%@INSTALL@%$INSTALL%g
21835 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
21839 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21840 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21842 # ac_d sets the value in "#define NAME VALUE" lines.
21843 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21844 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
21847 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
21848 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21849 ac_uB='\([ ]\)%\1#\2define\3'
21852 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21853 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21854 ac_eB='$%\1#\2define\3'
21858 if test "${CONFIG_HEADERS+set}" != set; then
21860 cat >> $CONFIG_STATUS <<EOF
21861 CONFIG_HEADERS="config.h"
21863 cat >> $CONFIG_STATUS <<\EOF
21865 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
21866 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21868 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
21869 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
21870 *) ac_file_in="${ac_file}.in" ;;
21873 echo creating $ac_file
21875 rm -f conftest.frag conftest.in conftest.out
21876 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
21877 cat $ac_file_inputs > conftest.in
21881 # Transform confdefs.h into a sed script conftest.vals that substitutes
21882 # the proper values into config.h.in to produce config.h. And first:
21883 # Protect against being on the right side of a sed subst in config.status.
21884 # Protect against being in an unquoted here document in config.status.
21885 rm -f conftest.vals
21886 cat > conftest.hdr <<\EOF
21889 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
21893 sed -n -f conftest.hdr confdefs.h > conftest.vals
21896 # This sed command replaces #undef with comments. This is necessary, for
21897 # example, in the case of _POSIX_SOURCE, which is predefined and required
21898 # on some systems where configure will not decide to define it.
21899 cat >> conftest.vals <<\EOF
21900 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
21903 # Break up conftest.vals because some shells have a limit on
21904 # the size of here documents, and old seds have small limits too.
21906 rm -f conftest.tail
21909 ac_lines=`grep -c . conftest.vals`
21910 # grep -c gives empty output for an empty file on some AIX systems.
21911 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
21912 # Write a limited-size here document to conftest.frag.
21913 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
21914 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
21916 sed -f conftest.frag conftest.in > conftest.out
21918 mv conftest.out conftest.in
21919 ' >> $CONFIG_STATUS
21920 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
21921 rm -f conftest.vals
21922 mv conftest.tail conftest.vals
21924 rm -f conftest.vals
21926 cat >> $CONFIG_STATUS <<\EOF
21927 rm -f conftest.frag conftest.h
21928 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
21929 cat conftest.in >> conftest.h
21931 if cmp -s $ac_file conftest.h 2>/dev/null; then
21932 echo "$ac_file is unchanged"
21935 # Remove last slash and all that follows it. Not all systems have dirname.
21936 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
21937 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
21938 # The file is in a subdirectory.
21939 test ! -d "$ac_dir" && mkdir "$ac_dir"
21942 mv conftest.h $ac_file
21948 cat >> $CONFIG_STATUS <<EOF
21949 ac_sources="$BASIC_FILE_CC $CLOCALE_CC $CCOLLATE_CC $CCTYPE_CC $CMESSAGES_CC $CMONEY_CC $CNUMERIC_CC $CTIME_CC $LINKER_MAP"
21950 ac_dests="src/basic_file.cc src/c++locale.cc src/collate.cc src/ctype.cc src/messages.cc src/monetary.cc src/numeric.cc src/time.cc src/linker.map"
21953 cat >> $CONFIG_STATUS <<\EOF
21954 srcdir=$ac_given_srcdir
21955 while test -n "$ac_sources"; do
21956 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
21957 set $ac_sources; ac_source=$1; shift; ac_sources=$*
21959 echo "linking $srcdir/$ac_source to $ac_dest"
21961 if test ! -r $srcdir/$ac_source; then
21962 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
21966 # Make relative symlinks.
21967 # Remove last slash and all that follows it. Not all systems have dirname.
21968 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
21969 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
21970 # The dest file is in a subdirectory.
21971 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
21972 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
21973 # A "../" for each directory in $ac_dest_dir_suffix.
21974 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
21976 ac_dest_dir_suffix= ac_dots=
21980 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
21981 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
21984 # Make a symlink if possible; otherwise try a hard link.
21985 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
21986 ln $srcdir/$ac_source $ac_dest; then :
21988 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
21992 cat >> $CONFIG_STATUS <<EOF
21997 with_multisubdir=${with_multisubdir}
21998 ac_configure_args="${multilib_arg} ${ac_configure_args}"
21999 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
22000 glibcpp_basedir=${glibcpp_basedir}
22005 cat >> $CONFIG_STATUS <<\EOF
22006 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
22007 if test -n "$CONFIG_FILES"; then
22008 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
22009 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
22010 grep '^MULTISUBDIR =' Makefile >> src/Makefile
22011 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
22014 chmod +x testsuite_flags
22018 chmod +x $CONFIG_STATUS
22019 rm -fr confdefs* $ac_clean_files
22020 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
22024 # Sanity checking & User-visible messages.
22025 # Checks down here, otherwise they get scrolled off before
22026 # the user will notice.
22028 # Trying to get more people to read documentation. Possibly remove
22029 # check and warn all the time. There is no "informational" AC_MSG_
22030 # macro, so these are going to be printed even when --quiet/--silent
22032 if test ! -f stamp-sanity-warned; then
22033 touch stamp-sanity-warned
22035 echo "Please make certain that you read the installation information here:"
22036 echo " faster => ${srcdir}/docs/html/install.html"
22037 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
22039 echo "and the configuration information here:"
22040 echo " faster => ${srcdir}/docs/html/configopts.html"
22041 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
22043 echo "before proceeding with ${_cv_gnu_make_command}."