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=
584 # For typical GNU versioning info, format is MAJOR.MINOR.MICRO
585 release_VERSION=3.1.0
587 # For libtool versioning info, format is CURRENT:REVISION:AGE
588 libtool_VERSION=4:0:0
591 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
592 # AC 2.5x sets target_alias iff the user specified --target, but we use it
593 # everywhere, so we set it here just to be sure. In AC 2.13
594 # AC_CANONICAL_TARGET was known as AC_CANONICAL_SYSTEM.
596 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
597 if test -f $ac_dir/install-sh; then
599 ac_install_sh="$ac_aux_dir/install-sh -c"
601 elif test -f $ac_dir/install.sh; then
603 ac_install_sh="$ac_aux_dir/install.sh -c"
607 if test -z "$ac_aux_dir"; then
608 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
610 ac_config_guess=$ac_aux_dir/config.guess
611 ac_config_sub=$ac_aux_dir/config.sub
612 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
615 # Do some error checking and defaulting for the host and target type.
617 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
620 # 1. You are not allowed to specify --host, --target, and nonopt at the
622 # 2. Host defaults to nonopt.
623 # 3. If nonopt is not specified, then host defaults to the current host,
624 # as determined by config.guess.
625 # 4. Target and build default to nonopt.
626 # 5. If nonopt is not specified, then target and build default to host.
628 # The aliases save the names the user supplied, while $host etc.
629 # will get canonicalized.
630 case $host---$target---$nonopt in
631 NONE---*---* | *---NONE---* | *---*---NONE) ;;
632 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
636 # Make sure we can run config.sub.
637 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
638 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
641 echo $ac_n "checking host system type""... $ac_c" 1>&6
642 echo "configure:643: checking host system type" >&5
645 case "$host_alias" in
649 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
650 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
652 *) host_alias=$nonopt ;;
656 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
657 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
658 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
659 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
660 echo "$ac_t""$host" 1>&6
662 echo $ac_n "checking target system type""... $ac_c" 1>&6
663 echo "configure:664: checking target system type" >&5
666 case "$target_alias" in
669 NONE) target_alias=$host_alias ;;
670 *) target_alias=$nonopt ;;
674 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
675 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
676 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
677 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
678 echo "$ac_t""$target" 1>&6
680 echo $ac_n "checking build system type""... $ac_c" 1>&6
681 echo "configure:682: checking build system type" >&5
684 case "$build_alias" in
687 NONE) build_alias=$host_alias ;;
688 *) build_alias=$nonopt ;;
692 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
693 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
694 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
695 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
696 echo "$ac_t""$build" 1>&6
698 test "$host_alias" != "$target_alias" &&
699 test "$program_prefix$program_suffix$program_transform_name" = \
701 program_prefix=${target_alias}-
703 target_alias=${target_alias-$target}
706 # Find a good install program. We prefer a C program (faster),
707 # so one script is as good as another. But avoid the broken or
708 # incompatible versions:
709 # SysV /etc/install, /usr/sbin/install
710 # SunOS /usr/etc/install
713 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
714 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
715 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
716 # ./install, which can be erroneously created by make from ./install.sh.
717 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
718 echo "configure:719: checking for a BSD compatible install" >&5
719 if test -z "$INSTALL"; then
720 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
721 echo $ac_n "(cached) $ac_c" 1>&6
723 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
724 for ac_dir in $PATH; do
725 # Account for people who put trailing slashes in PATH elements.
727 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
729 # OSF1 and SCO ODT 3.0 have their own names for install.
730 # Don't use installbsd from OSF since it installs stuff as root
732 for ac_prog in ginstall scoinst install; do
733 if test -f $ac_dir/$ac_prog; then
734 if test $ac_prog = install &&
735 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
736 # AIX install. It has an incompatible calling convention.
739 ac_cv_path_install="$ac_dir/$ac_prog -c"
750 if test "${ac_cv_path_install+set}" = set; then
751 INSTALL="$ac_cv_path_install"
753 # As a last resort, use the slow shell script. We don't cache a
754 # path for INSTALL within a source directory, because that will
755 # break other packages using the cache if that directory is
756 # removed, or if the path is relative.
757 INSTALL="$ac_install_sh"
760 echo "$ac_t""$INSTALL" 1>&6
762 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
763 # It thinks the first close brace ends the variable substitution.
764 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
766 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
768 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
770 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
771 echo "configure:772: checking whether build environment is sane" >&5
774 echo timestamp > conftestfile
775 # Do `set' in a subshell so we don't clobber the current shell's
776 # arguments. Must try -L first in case configure is actually a
777 # symlink; some systems play weird games with the mod time of symlinks
778 # (eg FreeBSD returns the mod time of the symlink's containing
781 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
782 if test "$*" = "X"; then
784 set X `ls -t $srcdir/configure conftestfile`
786 if test "$*" != "X $srcdir/configure conftestfile" \
787 && test "$*" != "X conftestfile $srcdir/configure"; then
789 # If neither matched, then we have a broken ls. This can happen
790 # if, for instance, CONFIG_SHELL is bash and it inherits a
791 # broken ls alias from the environment. This has actually
792 # happened. Such a system could not be considered "sane".
793 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
794 alias in your environment" 1>&2; exit 1; }
797 test "$2" = conftestfile
803 { echo "configure: error: newly created file is older than distributed files!
804 Check your system clock" 1>&2; exit 1; }
807 echo "$ac_t""yes" 1>&6
808 if test "$program_transform_name" = s,x,x,; then
809 program_transform_name=
811 # Double any \ or $. echo might interpret backslashes.
812 cat <<\EOF_SED > conftestsed
813 s,\\,\\\\,g; s,\$,$$,g
815 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
818 test "$program_prefix" != NONE &&
819 program_transform_name="s,^,${program_prefix},; $program_transform_name"
820 # Use a double $ so make ignores it.
821 test "$program_suffix" != NONE &&
822 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
824 # sed with no file args requires a program.
825 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
827 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
828 echo "configure:829: checking whether ${MAKE-make} sets \${MAKE}" >&5
829 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
830 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
831 echo $ac_n "(cached) $ac_c" 1>&6
833 cat > conftestmake <<\EOF
835 @echo 'ac_maketemp="${MAKE}"'
837 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
838 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
839 if test -n "$ac_maketemp"; then
840 eval ac_cv_prog_make_${ac_make}_set=yes
842 eval ac_cv_prog_make_${ac_make}_set=no
846 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
847 echo "$ac_t""yes" 1>&6
850 echo "$ac_t""no" 1>&6
851 SET_MAKE="MAKE=${MAKE-make}"
857 VERSION=$release_VERSION
859 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
860 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
862 cat >> confdefs.h <<EOF
863 #define PACKAGE "$PACKAGE"
866 cat >> confdefs.h <<EOF
867 #define VERSION "$VERSION"
872 missing_dir=`cd $ac_aux_dir && pwd`
873 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
874 echo "configure:875: checking for working aclocal" >&5
875 # Run test in a subshell; some versions of sh will print an error if
876 # an executable is not found, even if stderr is redirected.
877 # Redirect stdin to placate older versions of autoconf. Sigh.
878 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
880 echo "$ac_t""found" 1>&6
882 ACLOCAL="$missing_dir/missing aclocal"
883 echo "$ac_t""missing" 1>&6
886 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
887 echo "configure:888: checking for working autoconf" >&5
888 # Run test in a subshell; some versions of sh will print an error if
889 # an executable is not found, even if stderr is redirected.
890 # Redirect stdin to placate older versions of autoconf. Sigh.
891 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
893 echo "$ac_t""found" 1>&6
895 AUTOCONF="$missing_dir/missing autoconf"
896 echo "$ac_t""missing" 1>&6
899 echo $ac_n "checking for working automake""... $ac_c" 1>&6
900 echo "configure:901: checking for working automake" >&5
901 # Run test in a subshell; some versions of sh will print an error if
902 # an executable is not found, even if stderr is redirected.
903 # Redirect stdin to placate older versions of autoconf. Sigh.
904 if (automake --version) < /dev/null > /dev/null 2>&1; then
906 echo "$ac_t""found" 1>&6
908 AUTOMAKE="$missing_dir/missing automake"
909 echo "$ac_t""missing" 1>&6
912 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
913 echo "configure:914: checking for working autoheader" >&5
914 # Run test in a subshell; some versions of sh will print an error if
915 # an executable is not found, even if stderr is redirected.
916 # Redirect stdin to placate older versions of autoconf. Sigh.
917 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
918 AUTOHEADER=autoheader
919 echo "$ac_t""found" 1>&6
921 AUTOHEADER="$missing_dir/missing autoheader"
922 echo "$ac_t""missing" 1>&6
925 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
926 echo "configure:927: checking for working makeinfo" >&5
927 # Run test in a subshell; some versions of sh will print an error if
928 # an executable is not found, even if stderr is redirected.
929 # Redirect stdin to placate older versions of autoconf. Sigh.
930 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
932 echo "$ac_t""found" 1>&6
934 MAKEINFO="$missing_dir/missing makeinfo"
935 echo "$ac_t""missing" 1>&6
943 # Runs configure.host and configure.target, as well as finds CC, CXX
944 # and assorted other critical bits. Have to run this before the
945 # GLIBCPP_ENABLE_* macros below.
946 if test $host != $build; then
947 ac_tool_prefix=${host_alias}-
952 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
953 echo "configure:954: checking for Cygwin environment" >&5
954 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
955 echo $ac_n "(cached) $ac_c" 1>&6
957 cat > conftest.$ac_ext <<EOF
958 #line 959 "configure"
959 #include "confdefs.h"
964 #define __CYGWIN__ __CYGWIN32__
969 if { (eval echo configure:970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
973 echo "configure: failed program was:" >&5
974 cat conftest.$ac_ext >&5
982 echo "$ac_t""$ac_cv_cygwin" 1>&6
984 test "$ac_cv_cygwin" = yes && CYGWIN=yes
985 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
986 echo "configure:987: checking for mingw32 environment" >&5
987 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
988 echo $ac_n "(cached) $ac_c" 1>&6
990 cat > conftest.$ac_ext <<EOF
991 #line 992 "configure"
992 #include "confdefs.h"
998 if { (eval echo configure:999: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1002 echo "configure: failed program was:" >&5
1003 cat conftest.$ac_ext >&5
1011 echo "$ac_t""$ac_cv_mingw32" 1>&6
1013 test "$ac_cv_mingw32" = yes && MINGW32=yes
1015 # Check whether --enable-multilib or --disable-multilib was given.
1016 if test "${enable_multilib+set}" = set; then
1017 enableval="$enable_multilib"
1018 case "${enableval}" in
1019 yes) multilib=yes ;;
1021 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
1027 # When building with srcdir == objdir, links to the source files will
1028 # be created in directories within the target_subdir. We have to
1029 # adjust toplevel_srcdir accordingly, so that configure finds
1030 # install-sh and other auxiliary files that live in the top-level
1032 if test "${srcdir}" = "."; then
1033 if test -z "${with_target_subdir}"; then
1036 if test "${with_target_subdir}" != "."; then
1037 toprel="${with_multisrctop}../.."
1039 toprel="${with_multisrctop}.."
1046 for ac_dir in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
1047 if test -f $ac_dir/install-sh; then
1049 ac_install_sh="$ac_aux_dir/install-sh -c"
1051 elif test -f $ac_dir/install.sh; then
1053 ac_install_sh="$ac_aux_dir/install.sh -c"
1057 if test -z "$ac_aux_dir"; then
1058 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
1060 ac_config_guess=$ac_aux_dir/config.guess
1061 ac_config_sub=$ac_aux_dir/config.sub
1062 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
1064 toplevel_srcdir=\${top_srcdir}/$toprel
1067 # Export build and source directories.
1068 # These need to be absolute paths, yet at the same time need to
1069 # canonicalize only relative paths, because then amd will not unmount
1070 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1071 glibcpp_builddir=`pwd`
1073 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
1074 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1081 for ac_prog in gawk mawk nawk awk
1083 # Extract the first word of "$ac_prog", so it can be a program name with args.
1084 set dummy $ac_prog; ac_word=$2
1085 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1086 echo "configure:1087: checking for $ac_word" >&5
1087 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
1088 echo $ac_n "(cached) $ac_c" 1>&6
1090 if test -n "$AWK"; then
1091 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1093 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1095 for ac_dir in $ac_dummy; do
1096 test -z "$ac_dir" && ac_dir=.
1097 if test -f $ac_dir/$ac_word; then
1098 ac_cv_prog_AWK="$ac_prog"
1105 AWK="$ac_cv_prog_AWK"
1106 if test -n "$AWK"; then
1107 echo "$ac_t""$AWK" 1>&6
1109 echo "$ac_t""no" 1>&6
1112 test -n "$AWK" && break
1115 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.5x, can also
1116 # be 'cp -p' if linking isn't available.
1117 #ac_cv_prog_LN_S='cp -p'
1118 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1119 echo "configure:1120: checking whether ln -s works" >&5
1120 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1121 echo $ac_n "(cached) $ac_c" 1>&6
1124 if ln -s X conftestdata 2>/dev/null
1127 ac_cv_prog_LN_S="ln -s"
1132 LN_S="$ac_cv_prog_LN_S"
1133 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1134 echo "$ac_t""yes" 1>&6
1136 echo "$ac_t""no" 1>&6
1140 # We use these options to decide which functions to include.
1141 # Check whether --with-target-subdir or --without-target-subdir was given.
1142 if test "${with_target_subdir+set}" = set; then
1143 withval="$with_target_subdir"
1147 # Check whether --with-cross-host or --without-cross-host was given.
1148 if test "${with_cross_host+set}" = set; then
1149 withval="$with_cross_host"
1154 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
1157 # Never versions of autoconf add an underscore to these functions.
1158 # Prevent future problems ...
1165 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1166 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1167 # are probably using a cross compiler, which will not be able to fully
1168 # link an executable. This is addressed in later versions of autoconf.
1173 # Extract the first word of "gcc", so it can be a program name with args.
1174 set dummy gcc; ac_word=$2
1175 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1176 echo "configure:1177: checking for $ac_word" >&5
1177 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1178 echo $ac_n "(cached) $ac_c" 1>&6
1180 if test -n "$CC"; then
1181 ac_cv_prog_CC="$CC" # Let the user override the test.
1183 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1185 for ac_dir in $ac_dummy; do
1186 test -z "$ac_dir" && ac_dir=.
1187 if test -f $ac_dir/$ac_word; then
1196 if test -n "$CC"; then
1197 echo "$ac_t""$CC" 1>&6
1199 echo "$ac_t""no" 1>&6
1202 if test -z "$CC"; then
1203 # Extract the first word of "cc", so it can be a program name with args.
1204 set dummy cc; ac_word=$2
1205 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1206 echo "configure:1207: checking for $ac_word" >&5
1207 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1208 echo $ac_n "(cached) $ac_c" 1>&6
1210 if test -n "$CC"; then
1211 ac_cv_prog_CC="$CC" # Let the user override the test.
1213 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1216 for ac_dir in $ac_dummy; do
1217 test -z "$ac_dir" && ac_dir=.
1218 if test -f $ac_dir/$ac_word; then
1219 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1220 ac_prog_rejected=yes
1228 if test $ac_prog_rejected = yes; then
1229 # We found a bogon in the path, so make sure we never use it.
1230 set dummy $ac_cv_prog_CC
1232 if test $# -gt 0; then
1233 # We chose a different compiler from the bogus one.
1234 # However, it has the same basename, so the bogon will be chosen
1235 # first if we set CC to just the basename; use the full file name.
1237 set dummy "$ac_dir/$ac_word" "$@"
1245 if test -n "$CC"; then
1246 echo "$ac_t""$CC" 1>&6
1248 echo "$ac_t""no" 1>&6
1251 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1254 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1255 echo "configure:1256: checking whether we are using GNU C" >&5
1256 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1257 echo $ac_n "(cached) $ac_c" 1>&6
1259 cat > conftest.c <<EOF
1264 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1271 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1273 if test $ac_cv_prog_gcc = yes; then
1275 ac_test_CFLAGS="${CFLAGS+set}"
1276 ac_save_CFLAGS="$CFLAGS"
1278 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1279 echo "configure:1280: checking whether ${CC-cc} accepts -g" >&5
1280 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1281 echo $ac_n "(cached) $ac_c" 1>&6
1283 echo 'void f(){}' > conftest.c
1284 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1293 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1294 if test "$ac_test_CFLAGS" = set; then
1295 CFLAGS="$ac_save_CFLAGS"
1296 elif test $ac_cv_prog_cc_g = yes; then
1303 test "${CFLAGS+set}" = set || CFLAGS="-g"
1307 # Likewise for AC_PROG_CXX. We can't just call it directly because g++
1308 # will try to link in libstdc++.
1312 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1313 # flags that come in CXX while configuring libstdc++. They're different
1314 # from those used for all other target libraries. If CXX is set in
1315 # the environment, respect that here.
1317 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1319 # Extract the first word of "$ac_prog", so it can be a program name with args.
1320 set dummy $ac_prog; ac_word=$2
1321 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1322 echo "configure:1323: checking for $ac_word" >&5
1323 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1324 echo $ac_n "(cached) $ac_c" 1>&6
1326 if test -n "$glibcpp_CXX"; then
1327 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1329 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1331 for ac_dir in $ac_dummy; do
1332 test -z "$ac_dir" && ac_dir=.
1333 if test -f $ac_dir/$ac_word; then
1334 ac_cv_prog_glibcpp_CXX="$ac_prog"
1341 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1342 if test -n "$glibcpp_CXX"; then
1343 echo "$ac_t""$glibcpp_CXX" 1>&6
1345 echo "$ac_t""no" 1>&6
1348 test -n "$glibcpp_CXX" && break
1350 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc"
1354 test -z "$glibcpp_CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1356 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1357 echo "configure:1358: checking whether we are using GNU C++" >&5
1358 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1359 echo $ac_n "(cached) $ac_c" 1>&6
1361 cat > conftest.C <<EOF
1366 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1373 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1375 if test $ac_cv_prog_gxx = yes; then
1377 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1378 ac_save_CXXFLAGS="$CXXFLAGS"
1380 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1381 echo "configure:1382: checking whether ${CXX-g++} accepts -g" >&5
1382 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1383 echo $ac_n "(cached) $ac_c" 1>&6
1385 echo 'void f(){}' > conftest.cc
1386 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1387 ac_cv_prog_cxx_g=yes
1395 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1396 if test "$ac_test_CXXFLAGS" = set; then
1397 CXXFLAGS="$ac_save_CXXFLAGS"
1398 elif test $ac_cv_prog_cxx_g = yes; then
1405 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1409 # For some reason, gettext needs this.
1411 echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
1412 echo "configure:1413: checking for strerror in -lcposix" >&5
1413 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
1414 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1415 echo $ac_n "(cached) $ac_c" 1>&6
1417 ac_save_LIBS="$LIBS"
1418 LIBS="-lcposix $LIBS"
1419 cat > conftest.$ac_ext <<EOF
1420 #line 1421 "configure"
1421 #include "confdefs.h"
1422 /* Override any gcc2 internal prototype to avoid an error. */
1423 /* We use char because int might match the return type of a gcc2
1424 builtin and then its argument prototype would still apply. */
1431 if { (eval echo configure:1432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1433 eval "ac_cv_lib_$ac_lib_var=yes"
1435 echo "configure: failed program was:" >&5
1436 cat conftest.$ac_ext >&5
1438 eval "ac_cv_lib_$ac_lib_var=no"
1441 LIBS="$ac_save_LIBS"
1444 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1445 echo "$ac_t""yes" 1>&6
1446 LIBS="$LIBS -lcposix"
1448 echo "$ac_t""no" 1>&6
1454 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1455 set dummy ${ac_tool_prefix}as; ac_word=$2
1456 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1457 echo "configure:1458: checking for $ac_word" >&5
1458 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1459 echo $ac_n "(cached) $ac_c" 1>&6
1461 if test -n "$AS"; then
1462 ac_cv_prog_AS="$AS" # Let the user override the test.
1464 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1466 for ac_dir in $ac_dummy; do
1467 test -z "$ac_dir" && ac_dir=.
1468 if test -f $ac_dir/$ac_word; then
1469 ac_cv_prog_AS="${ac_tool_prefix}as"
1474 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1478 if test -n "$AS"; then
1479 echo "$ac_t""$AS" 1>&6
1481 echo "$ac_t""no" 1>&6
1486 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1487 set dummy ${ac_tool_prefix}ar; ac_word=$2
1488 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1489 echo "configure:1490: checking for $ac_word" >&5
1490 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1491 echo $ac_n "(cached) $ac_c" 1>&6
1493 if test -n "$AR"; then
1494 ac_cv_prog_AR="$AR" # Let the user override the test.
1496 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1498 for ac_dir in $ac_dummy; do
1499 test -z "$ac_dir" && ac_dir=.
1500 if test -f $ac_dir/$ac_word; then
1501 ac_cv_prog_AR="${ac_tool_prefix}ar"
1506 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1510 if test -n "$AR"; then
1511 echo "$ac_t""$AR" 1>&6
1513 echo "$ac_t""no" 1>&6
1518 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1519 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1520 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1521 echo "configure:1522: checking for $ac_word" >&5
1522 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1523 echo $ac_n "(cached) $ac_c" 1>&6
1525 if test -n "$RANLIB"; then
1526 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1528 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1530 for ac_dir in $ac_dummy; do
1531 test -z "$ac_dir" && ac_dir=.
1532 if test -f $ac_dir/$ac_word; then
1533 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1540 RANLIB="$ac_cv_prog_RANLIB"
1541 if test -n "$RANLIB"; then
1542 echo "$ac_t""$RANLIB" 1>&6
1544 echo "$ac_t""no" 1>&6
1548 if test -z "$ac_cv_prog_RANLIB"; then
1549 if test -n "$ac_tool_prefix"; then
1550 # Extract the first word of "ranlib", so it can be a program name with args.
1551 set dummy ranlib; ac_word=$2
1552 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1553 echo "configure:1554: checking for $ac_word" >&5
1554 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1555 echo $ac_n "(cached) $ac_c" 1>&6
1557 if test -n "$RANLIB"; then
1558 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1560 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1562 for ac_dir in $ac_dummy; do
1563 test -z "$ac_dir" && ac_dir=.
1564 if test -f $ac_dir/$ac_word; then
1565 ac_cv_prog_RANLIB="ranlib"
1570 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
1573 RANLIB="$ac_cv_prog_RANLIB"
1574 if test -n "$RANLIB"; then
1575 echo "$ac_t""$RANLIB" 1>&6
1577 echo "$ac_t""no" 1>&6
1581 RANLIB="ranlib-not-found-in-path-error"
1585 # Find a good install program. We prefer a C program (faster),
1586 # so one script is as good as another. But avoid the broken or
1587 # incompatible versions:
1588 # SysV /etc/install, /usr/sbin/install
1589 # SunOS /usr/etc/install
1590 # IRIX /sbin/install
1592 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1593 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1594 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1595 # ./install, which can be erroneously created by make from ./install.sh.
1596 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1597 echo "configure:1598: checking for a BSD compatible install" >&5
1598 if test -z "$INSTALL"; then
1599 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1600 echo $ac_n "(cached) $ac_c" 1>&6
1602 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1603 for ac_dir in $PATH; do
1604 # Account for people who put trailing slashes in PATH elements.
1606 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1608 # OSF1 and SCO ODT 3.0 have their own names for install.
1609 # Don't use installbsd from OSF since it installs stuff as root
1611 for ac_prog in ginstall scoinst install; do
1612 if test -f $ac_dir/$ac_prog; then
1613 if test $ac_prog = install &&
1614 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1615 # AIX install. It has an incompatible calling convention.
1618 ac_cv_path_install="$ac_dir/$ac_prog -c"
1629 if test "${ac_cv_path_install+set}" = set; then
1630 INSTALL="$ac_cv_path_install"
1632 # As a last resort, use the slow shell script. We don't cache a
1633 # path for INSTALL within a source directory, because that will
1634 # break other packages using the cache if that directory is
1635 # removed, or if the path is relative.
1636 INSTALL="$ac_install_sh"
1639 echo "$ac_t""$INSTALL" 1>&6
1641 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1642 # It thinks the first close brace ends the variable substitution.
1643 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1645 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1647 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1650 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1651 echo "configure:1652: checking whether to enable maintainer-specific portions of Makefiles" >&5
1652 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1653 if test "${enable_maintainer_mode+set}" = set; then
1654 enableval="$enable_maintainer_mode"
1655 USE_MAINTAINER_MODE=$enableval
1657 USE_MAINTAINER_MODE=no
1660 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1663 if test $USE_MAINTAINER_MODE = yes; then
1664 MAINTAINER_MODE_TRUE=
1665 MAINTAINER_MODE_FALSE='#'
1667 MAINTAINER_MODE_TRUE='#'
1668 MAINTAINER_MODE_FALSE=
1670 MAINT=$MAINTAINER_MODE_TRUE
1674 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1675 # at least currently, we never actually build a program, so we never
1676 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1677 # fails, because we are probably configuring with a cross compiler
1678 # which can't create executables. So we include AC_EXEEXT to keep
1679 # automake happy, but we don't execute it, since we don't care about
1682 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1683 # to nothing, so nothing would remain between `then' and `fi' if it
1684 # were not for the `:' below.
1688 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1689 echo "configure:1690: checking for executable suffix" >&5
1690 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1691 echo $ac_n "(cached) $ac_c" 1>&6
1693 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1697 echo 'int main () { return 0; }' > conftest.$ac_ext
1699 if { (eval echo configure:1700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1700 for file in conftest.*; do
1702 *.c | *.o | *.obj) ;;
1703 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1707 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1710 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1715 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1716 echo "$ac_t""${ac_cv_exeext}" 1>&6
1721 . ${glibcpp_basedir}/configure.host
1723 case ${glibcpp_basedir} in
1724 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1725 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1728 # This does for the target what configure.host does for the host. In
1729 # addition to possibly modifying the same flags, it also sets up symlinks.
1731 . ${glibcpp_basedir}/configure.target
1732 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1733 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1739 # Check whether --enable-shared or --disable-shared was given.
1740 if test "${enable_shared+set}" = set; then
1741 enableval="$enable_shared"
1742 p=${PACKAGE-default}
1744 yes) enable_shared=yes ;;
1745 no) enable_shared=no ;;
1748 # Look at the argument we got. We use all the common list separators.
1749 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1750 for pkg in $enableval; do
1751 if test "X$pkg" = "X$p"; then
1762 # Check whether --enable-static or --disable-static was given.
1763 if test "${enable_static+set}" = set; then
1764 enableval="$enable_static"
1765 p=${PACKAGE-default}
1767 yes) enable_static=yes ;;
1768 no) enable_static=no ;;
1771 # Look at the argument we got. We use all the common list separators.
1772 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1773 for pkg in $enableval; do
1774 if test "X$pkg" = "X$p"; then
1785 # Check whether --enable-fast-install or --disable-fast-install was given.
1786 if test "${enable_fast_install+set}" = set; then
1787 enableval="$enable_fast_install"
1788 p=${PACKAGE-default}
1790 yes) enable_fast_install=yes ;;
1791 no) enable_fast_install=no ;;
1793 enable_fast_install=no
1794 # Look at the argument we got. We use all the common list separators.
1795 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1796 for pkg in $enableval; do
1797 if test "X$pkg" = "X$p"; then
1798 enable_fast_install=yes
1805 enable_fast_install=yes
1808 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1809 if test "${with_gnu_ld+set}" = set; then
1810 withval="$with_gnu_ld"
1811 test "$withval" = no || with_gnu_ld=yes
1817 if test "$GCC" = yes; then
1818 # Check if gcc -print-prog-name=ld gives a path.
1819 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1820 echo "configure:1821: checking for ld used by GCC" >&5
1823 # gcc leaves a trailing carriage return which upsets mingw
1824 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1826 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1829 # Accept absolute paths.
1830 [\\/]* | [A-Za-z]:[\\/]*)
1831 re_direlt='/[^/][^/]*/\.\./'
1832 # Canonicalize the path of ld
1833 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1834 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1835 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1837 test -z "$LD" && LD="$ac_prog"
1840 # If it fails, then pretend we aren't using GCC.
1844 # If it is relative, then search for the first ld in PATH.
1848 elif test "$with_gnu_ld" = yes; then
1849 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1850 echo "configure:1851: checking for GNU ld" >&5
1852 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1853 echo "configure:1854: checking for non-GNU ld" >&5
1855 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1856 echo $ac_n "(cached) $ac_c" 1>&6
1858 if test -z "$LD"; then
1859 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1860 for ac_dir in $PATH; do
1861 test -z "$ac_dir" && ac_dir=.
1862 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1863 lt_cv_path_LD="$ac_dir/$ac_prog"
1864 # Check to see if the program is GNU ld. I'd rather use --version,
1865 # but apparently some GNU ld's only accept -v.
1866 # Break only if it was the GNU/non-GNU ld that we prefer.
1867 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1868 test "$with_gnu_ld" != no && break
1870 test "$with_gnu_ld" != yes && break
1876 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1881 if test -n "$LD"; then
1882 echo "$ac_t""$LD" 1>&6
1884 echo "$ac_t""no" 1>&6
1886 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1887 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1888 echo "configure:1889: checking if the linker ($LD) is GNU ld" >&5
1889 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1890 echo $ac_n "(cached) $ac_c" 1>&6
1892 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1893 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1894 lt_cv_prog_gnu_ld=yes
1896 lt_cv_prog_gnu_ld=no
1900 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1901 with_gnu_ld=$lt_cv_prog_gnu_ld
1904 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1905 echo "configure:1906: checking for $LD option to reload object files" >&5
1906 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1907 echo $ac_n "(cached) $ac_c" 1>&6
1909 lt_cv_ld_reload_flag='-r'
1912 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1913 reload_flag=$lt_cv_ld_reload_flag
1914 test -n "$reload_flag" && reload_flag=" $reload_flag"
1916 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1917 echo "configure:1918: checking for BSD-compatible nm" >&5
1918 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1919 echo $ac_n "(cached) $ac_c" 1>&6
1921 if test -n "$NM"; then
1922 # Let the user override the test.
1925 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1926 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1927 test -z "$ac_dir" && ac_dir=.
1928 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1929 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1930 # Check to see if the nm accepts a BSD-compat flag.
1931 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1932 # nm: unknown option "B" ignored
1933 # Tru64's nm complains that /dev/null is an invalid object file
1934 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1935 lt_cv_path_NM="$tmp_nm -B"
1937 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1938 lt_cv_path_NM="$tmp_nm -p"
1941 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1942 continue # so that we can try to find one that supports BSD flags
1947 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1952 echo "$ac_t""$NM" 1>&6
1954 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1955 echo "configure:1956: checking how to recognise dependant libraries" >&5
1956 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1957 echo $ac_n "(cached) $ac_c" 1>&6
1959 lt_cv_file_magic_cmd='$MAGIC_CMD'
1960 lt_cv_file_magic_test_file=
1961 lt_cv_deplibs_check_method='unknown'
1962 # Need to set the preceding variable on all platforms that support
1963 # interlibrary dependencies.
1964 # 'none' -- dependencies not supported.
1965 # `unknown' -- same as none, but documents that we really don't know.
1966 # 'pass_all' -- all dependencies passed with no checks.
1967 # 'test_compile' -- check by making test program.
1968 # 'file_magic [regex]' -- check by looking for files in library path
1969 # which responds to the $file_magic_cmd with a given egrep regex.
1970 # If you have `file' or equivalent on your system and you're not sure
1971 # whether `pass_all' will *always* work, you probably want this one.
1975 lt_cv_deplibs_check_method=pass_all
1979 lt_cv_deplibs_check_method=pass_all
1983 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1984 lt_cv_file_magic_cmd='/usr/bin/file -L'
1985 lt_cv_file_magic_test_file=/shlib/libc.so
1988 cygwin* | mingw* |pw32*)
1989 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1990 lt_cv_file_magic_cmd='$OBJDUMP -f'
1993 darwin* | rhapsody*)
1994 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1995 lt_cv_file_magic_cmd='/usr/bin/file -L'
1997 rhapsody* | darwin1.012)
1998 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
2001 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
2007 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2010 # Not sure whether the presence of OpenBSD here was a mistake.
2011 # Let's accept both of them until this is cleared up.
2012 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
2013 lt_cv_file_magic_cmd=/usr/bin/file
2014 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
2018 lt_cv_deplibs_check_method=pass_all
2023 lt_cv_deplibs_check_method=pass_all
2027 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
2028 lt_cv_file_magic_cmd=/usr/bin/file
2029 lt_cv_file_magic_test_file=/usr/lib/libc.sl
2035 # this will be overridden with pass_all, but let us keep it just in case
2036 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
2040 *-32|*"-32 ") libmagic=32-bit;;
2041 *-n32|*"-n32 ") libmagic=N32;;
2042 *-64|*"-64 ") libmagic=64-bit;;
2043 *) libmagic=never-match;;
2045 # this will be overridden with pass_all, but let us keep it just in case
2046 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
2049 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
2050 lt_cv_deplibs_check_method=pass_all
2053 # This must be Linux ELF.
2056 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2057 lt_cv_deplibs_check_method=pass_all ;;
2059 # glibc up to 2.1.1 does not perform some relocations on ARM
2060 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2062 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2066 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2067 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2069 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2074 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2075 lt_cv_file_magic_cmd=/usr/bin/file
2076 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2079 osf3* | osf4* | osf5*)
2080 # this will be overridden with pass_all, but let us keep it just in case
2081 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2082 lt_cv_file_magic_test_file=/shlib/libc.so
2083 lt_cv_deplibs_check_method=pass_all
2087 lt_cv_deplibs_check_method=pass_all
2091 lt_cv_deplibs_check_method=pass_all
2092 lt_cv_file_magic_test_file=/lib/libc.so
2095 sysv5uw[78]* | sysv4*uw2*)
2096 lt_cv_deplibs_check_method=pass_all
2099 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2100 case $host_vendor in
2102 lt_cv_deplibs_check_method=pass_all
2105 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]'
2106 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2114 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2115 file_magic_cmd=$lt_cv_file_magic_cmd
2116 deplibs_check_method=$lt_cv_deplibs_check_method
2118 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2119 echo "configure:2120: checking for object suffix" >&5
2120 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2121 echo $ac_n "(cached) $ac_c" 1>&6
2124 echo 'int i = 1;' > conftest.$ac_ext
2125 if { (eval echo configure:2126: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2126 for ac_file in conftest.*; do
2129 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2133 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2138 echo "$ac_t""$ac_cv_objext" 1>&6
2139 OBJEXT=$ac_cv_objext
2140 ac_objext=$ac_cv_objext
2142 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2144 # Only perform the check for file, if the check method requires it
2145 case $deplibs_check_method in
2147 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2148 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2149 echo "configure:2150: checking for ${ac_tool_prefix}file" >&5
2150 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2151 echo $ac_n "(cached) $ac_c" 1>&6
2155 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2158 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2161 ac_save_MAGIC_CMD="$MAGIC_CMD"
2162 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2163 ac_dummy="/usr/bin:$PATH"
2164 for ac_dir in $ac_dummy; do
2165 test -z "$ac_dir" && ac_dir=.
2166 if test -f $ac_dir/${ac_tool_prefix}file; then
2167 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2168 if test -n "$file_magic_test_file"; then
2169 case $deplibs_check_method in
2171 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2172 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2173 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2174 egrep "$file_magic_regex" > /dev/null; then
2179 *** Warning: the command libtool uses to detect shared libraries,
2180 *** $file_magic_cmd, produces output that libtool cannot recognize.
2181 *** The result is that libtool may fail to recognize shared libraries
2182 *** as such. This will affect the creation of libtool libraries that
2183 *** depend on shared libraries, but programs linked with such libtool
2184 *** libraries will work regardless of this problem. Nevertheless, you
2185 *** may want to report the problem to your system manager and/or to
2186 *** bug-libtool@gnu.org
2196 MAGIC_CMD="$ac_save_MAGIC_CMD"
2201 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2202 if test -n "$MAGIC_CMD"; then
2203 echo "$ac_t""$MAGIC_CMD" 1>&6
2205 echo "$ac_t""no" 1>&6
2208 if test -z "$lt_cv_path_MAGIC_CMD"; then
2209 if test -n "$ac_tool_prefix"; then
2210 echo $ac_n "checking for file""... $ac_c" 1>&6
2211 echo "configure:2212: checking for file" >&5
2212 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2213 echo $ac_n "(cached) $ac_c" 1>&6
2217 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2220 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2223 ac_save_MAGIC_CMD="$MAGIC_CMD"
2224 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2225 ac_dummy="/usr/bin:$PATH"
2226 for ac_dir in $ac_dummy; do
2227 test -z "$ac_dir" && ac_dir=.
2228 if test -f $ac_dir/file; then
2229 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2230 if test -n "$file_magic_test_file"; then
2231 case $deplibs_check_method in
2233 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2234 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2235 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2236 egrep "$file_magic_regex" > /dev/null; then
2241 *** Warning: the command libtool uses to detect shared libraries,
2242 *** $file_magic_cmd, produces output that libtool cannot recognize.
2243 *** The result is that libtool may fail to recognize shared libraries
2244 *** as such. This will affect the creation of libtool libraries that
2245 *** depend on shared libraries, but programs linked with such libtool
2246 *** libraries will work regardless of this problem. Nevertheless, you
2247 *** may want to report the problem to your system manager and/or to
2248 *** bug-libtool@gnu.org
2258 MAGIC_CMD="$ac_save_MAGIC_CMD"
2263 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2264 if test -n "$MAGIC_CMD"; then
2265 echo "$ac_t""$MAGIC_CMD" 1>&6
2267 echo "$ac_t""no" 1>&6
2279 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2280 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2281 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2282 echo "configure:2283: checking for $ac_word" >&5
2283 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2284 echo $ac_n "(cached) $ac_c" 1>&6
2286 if test -n "$RANLIB"; then
2287 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2289 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2291 for ac_dir in $ac_dummy; do
2292 test -z "$ac_dir" && ac_dir=.
2293 if test -f $ac_dir/$ac_word; then
2294 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2301 RANLIB="$ac_cv_prog_RANLIB"
2302 if test -n "$RANLIB"; then
2303 echo "$ac_t""$RANLIB" 1>&6
2305 echo "$ac_t""no" 1>&6
2309 if test -z "$ac_cv_prog_RANLIB"; then
2310 if test -n "$ac_tool_prefix"; then
2311 # Extract the first word of "ranlib", so it can be a program name with args.
2312 set dummy ranlib; ac_word=$2
2313 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2314 echo "configure:2315: checking for $ac_word" >&5
2315 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2316 echo $ac_n "(cached) $ac_c" 1>&6
2318 if test -n "$RANLIB"; then
2319 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2321 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2323 for ac_dir in $ac_dummy; do
2324 test -z "$ac_dir" && ac_dir=.
2325 if test -f $ac_dir/$ac_word; then
2326 ac_cv_prog_RANLIB="ranlib"
2331 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2334 RANLIB="$ac_cv_prog_RANLIB"
2335 if test -n "$RANLIB"; then
2336 echo "$ac_t""$RANLIB" 1>&6
2338 echo "$ac_t""no" 1>&6
2346 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2347 set dummy ${ac_tool_prefix}strip; ac_word=$2
2348 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2349 echo "configure:2350: checking for $ac_word" >&5
2350 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2351 echo $ac_n "(cached) $ac_c" 1>&6
2353 if test -n "$STRIP"; then
2354 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2356 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2358 for ac_dir in $ac_dummy; do
2359 test -z "$ac_dir" && ac_dir=.
2360 if test -f $ac_dir/$ac_word; then
2361 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2368 STRIP="$ac_cv_prog_STRIP"
2369 if test -n "$STRIP"; then
2370 echo "$ac_t""$STRIP" 1>&6
2372 echo "$ac_t""no" 1>&6
2376 if test -z "$ac_cv_prog_STRIP"; then
2377 if test -n "$ac_tool_prefix"; then
2378 # Extract the first word of "strip", so it can be a program name with args.
2379 set dummy strip; ac_word=$2
2380 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2381 echo "configure:2382: checking for $ac_word" >&5
2382 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2383 echo $ac_n "(cached) $ac_c" 1>&6
2385 if test -n "$STRIP"; then
2386 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2388 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2390 for ac_dir in $ac_dummy; do
2391 test -z "$ac_dir" && ac_dir=.
2392 if test -f $ac_dir/$ac_word; then
2393 ac_cv_prog_STRIP="strip"
2398 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2401 STRIP="$ac_cv_prog_STRIP"
2402 if test -n "$STRIP"; then
2403 echo "$ac_t""$STRIP" 1>&6
2405 echo "$ac_t""no" 1>&6
2414 # Check for any special flags to pass to ltconfig.
2415 libtool_flags="--cache-file=$cache_file"
2416 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2417 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2418 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2419 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2420 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2421 libtool_flags="$libtool_flags --enable-dlopen"
2423 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2424 if test "${enable_libtool_lock+set}" = set; then
2425 enableval="$enable_libtool_lock"
2429 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2430 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2432 # Check whether --with-pic or --without-pic was given.
2433 if test "${with_pic+set}" = set; then
2440 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2441 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2443 # Some flags need to be propagated to the compiler or linker for good
2447 # Find out which ABI we are using.
2448 echo '#line 2449 "configure"' > conftest.$ac_ext
2449 if { (eval echo configure:2450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2450 case `/usr/bin/file conftest.$ac_objext` in
2466 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2467 SAVE_CFLAGS="$CFLAGS"
2468 CFLAGS="$CFLAGS -belf"
2469 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2470 echo "configure:2471: checking whether the C compiler needs -belf" >&5
2471 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2472 echo $ac_n "(cached) $ac_c" 1>&6
2476 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2477 ac_cpp='$CPP $CPPFLAGS'
2478 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2479 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2480 cross_compiling=$ac_cv_prog_cc_cross
2482 cat > conftest.$ac_ext <<EOF
2483 #line 2484 "configure"
2484 #include "confdefs.h"
2490 if { (eval echo configure:2491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2492 lt_cv_cc_needs_belf=yes
2494 echo "configure: failed program was:" >&5
2495 cat conftest.$ac_ext >&5
2497 lt_cv_cc_needs_belf=no
2501 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2502 ac_cpp='$CPP $CPPFLAGS'
2503 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2504 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2505 cross_compiling=$ac_cv_prog_cc_cross
2509 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2510 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2511 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2512 CFLAGS="$SAVE_CFLAGS"
2519 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2520 echo "configure:2521: checking how to run the C++ preprocessor" >&5
2521 if test -z "$CXXCPP"; then
2522 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2523 echo $ac_n "(cached) $ac_c" 1>&6
2526 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2527 ac_cpp='$CXXCPP $CPPFLAGS'
2528 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2529 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2530 cross_compiling=$ac_cv_prog_cxx_cross
2531 CXXCPP="${CXX-g++} -E"
2532 cat > conftest.$ac_ext <<EOF
2533 #line 2534 "configure"
2534 #include "confdefs.h"
2537 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2538 { (eval echo configure:2539: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2539 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2540 if test -z "$ac_err"; then
2544 echo "configure: failed program was:" >&5
2545 cat conftest.$ac_ext >&5
2550 ac_cv_prog_CXXCPP="$CXXCPP"
2552 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2553 ac_cpp='$CPP $CPPFLAGS'
2554 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2555 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2556 cross_compiling=$ac_cv_prog_cc_cross
2559 CXXCPP="$ac_cv_prog_CXXCPP"
2560 echo "$ac_t""$CXXCPP" 1>&6
2563 # Save cache, so that ltconfig can load it
2564 cat > confcache <<\EOF
2565 # This file is a shell script that caches the results of configure
2566 # tests run on this system so they can be shared between configure
2567 # scripts and configure runs. It is not useful on other systems.
2568 # If it contains results you don't want to keep, you may remove or edit it.
2570 # By default, configure uses ./config.cache as the cache file,
2571 # creating it if it does not exist already. You can give configure
2572 # the --cache-file=FILE option to use a different cache file; that is
2573 # what configure does when it calls configure scripts in
2574 # subdirectories, so they share the cache.
2575 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2576 # config.status only pays attention to the cache file if you give it the
2577 # --recheck option to rerun configure.
2580 # The following way of writing the cache mishandles newlines in values,
2581 # but we know of no workaround that is simple, portable, and efficient.
2582 # So, don't put newlines in cache variables' values.
2583 # Ultrix sh set writes to stderr and can't be redirected directly,
2584 # and sets the high bit in the cache file unless we assign to the vars.
2586 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2588 # `set' does not quote correctly, so add quotes (double-quote substitution
2589 # turns \\\\ into \\, and sed turns \\ into \).
2591 -e "s/'/'\\\\''/g" \
2592 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2595 # `set' quotes correctly as required by POSIX, so do not add quotes.
2596 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2599 if cmp -s $cache_file confcache; then
2602 if test -w $cache_file; then
2603 echo "updating cache $cache_file"
2604 cat confcache > $cache_file
2606 echo "not updating unwritable cache $cache_file"
2612 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2613 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2614 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2615 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2616 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2617 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2618 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2619 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2620 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2621 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2623 # Reload cache, that may have been modified by ltconfig
2624 if test -r "$cache_file"; then
2625 echo "loading cache $cache_file"
2628 echo "creating cache $cache_file"
2633 # This can be used to rebuild libtool when needed
2634 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2636 # Always use our own libtool.
2637 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2639 # Redirect the config.log output again, so that the ltconfig log is not
2640 # clobbered by the next message.
2641 exec 5>>./config.log
2645 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2647 lt_save_CFLAGS="$CFLAGS"
2648 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2649 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2650 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2651 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2652 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2653 deplibs_check_method="$deplibs_check_method" \
2654 file_magic_cmd="$file_magic_cmd" \
2655 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2656 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2657 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2659 CFLAGS="$lt_save_CFLAGS"
2661 # Redirect the config.log output again, so that the ltconfig log is not
2662 # clobbered by the next message.
2663 exec 5>>./config.log
2673 # Check for c++ or library specific bits that don't require linking.
2674 #GLIBCPP_CHECK_COMPILER_VERSION
2675 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2676 echo "configure:2677: checking for GNU make" >&5
2677 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2678 echo $ac_n "(cached) $ac_c" 1>&6
2680 _cv_gnu_make_command='' ;
2681 for a in "${MAKE-make}" make gmake gnumake ; do
2682 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2684 _cv_gnu_make_command=$a ;
2691 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2692 if test "x$_cv_gnu_make_command" != "x" ; then
2700 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2701 # Check whether --enable-debug or --disable-debug was given.
2702 if test "${enable_debug+set}" = set; then
2703 enableval="$enable_debug"
2704 case "${enableval}" in
2705 yes) enable_debug=yes ;;
2706 no) enable_debug=no ;;
2707 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2713 case "${enable_debug}" in
2715 DEBUG_FLAGS='-O0 -ggdb3'
2723 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2724 echo "configure:2725: checking how to run the C preprocessor" >&5
2725 # On Suns, sometimes $CPP names a directory.
2726 if test -n "$CPP" && test -d "$CPP"; then
2729 if test -z "$CPP"; then
2730 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2731 echo $ac_n "(cached) $ac_c" 1>&6
2733 # This must be in double quotes, not single quotes, because CPP may get
2734 # substituted into the Makefile and "${CC-cc}" will confuse make.
2736 # On the NeXT, cc -E runs the code through the compiler's parser,
2737 # not just through cpp.
2738 cat > conftest.$ac_ext <<EOF
2739 #line 2740 "configure"
2740 #include "confdefs.h"
2744 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2745 { (eval echo configure:2746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2746 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2747 if test -z "$ac_err"; then
2751 echo "configure: failed program was:" >&5
2752 cat conftest.$ac_ext >&5
2754 CPP="${CC-cc} -E -traditional-cpp"
2755 cat > conftest.$ac_ext <<EOF
2756 #line 2757 "configure"
2757 #include "confdefs.h"
2761 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2762 { (eval echo configure:2763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2763 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2764 if test -z "$ac_err"; then
2768 echo "configure: failed program was:" >&5
2769 cat conftest.$ac_ext >&5
2771 CPP="${CC-cc} -nologo -E"
2772 cat > conftest.$ac_ext <<EOF
2773 #line 2774 "configure"
2774 #include "confdefs.h"
2778 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2779 { (eval echo configure:2780: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2780 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2781 if test -z "$ac_err"; then
2785 echo "configure: failed program was:" >&5
2786 cat conftest.$ac_ext >&5
2795 ac_cv_prog_CPP="$CPP"
2797 CPP="$ac_cv_prog_CPP"
2799 ac_cv_prog_CPP="$CPP"
2801 echo "$ac_t""$CPP" 1>&6
2804 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2805 echo "configure:2806: checking for cstdio to use" >&5
2806 # Check whether --enable-cstdio or --disable-cstdio was given.
2807 if test "${enable_cstdio+set}" = set; then
2808 enableval="$enable_cstdio"
2809 if test x$enable_cstdio = xno; then
2817 enable_cstdio_flag=$enable_cstdio
2819 case x${enable_cstdio_flag} in
2821 CSTDIO_H=config/io/c_io_libio.h
2822 BASIC_FILE_H=config/io/basic_file_libio.h
2823 BASIC_FILE_CC=config/io/basic_file_libio.cc
2824 echo "$ac_t""libio" 1>&6
2826 # see if we are on a system with libio native (ie, linux)
2827 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2828 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2829 echo "configure:2830: checking for libio.h" >&5
2830 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2831 echo $ac_n "(cached) $ac_c" 1>&6
2833 cat > conftest.$ac_ext <<EOF
2834 #line 2835 "configure"
2835 #include "confdefs.h"
2838 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2839 { (eval echo configure:2840: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2840 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2841 if test -z "$ac_err"; then
2843 eval "ac_cv_header_$ac_safe=yes"
2846 echo "configure: failed program was:" >&5
2847 cat conftest.$ac_ext >&5
2849 eval "ac_cv_header_$ac_safe=no"
2853 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2854 echo "$ac_t""yes" 1>&6
2857 echo "$ac_t""no" 1>&6
2862 # Need to check and see what version of glibc is being used. If
2863 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2864 # compile most of libio for linux systems.
2865 if test x$has_libio = x"yes"; then
2868 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2869 echo "configure:2870: checking for glibc version >= 2.2" >&5
2870 cat > conftest.$ac_ext <<EOF
2871 #line 2872 "configure"
2872 #include "confdefs.h"
2874 #include <features.h>
2875 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2880 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2881 egrep "ok" >/dev/null 2>&1; then
2883 glibc_satisfactory=yes
2886 glibc_satisfactory=no
2890 echo "$ac_t""$glibc_satisfactory" 1>&6
2894 # XXX at the moment, admit defeat and force the recompilation
2895 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2896 glibc_satisfactory=no
2898 if test x$glibc_satisfactory = x"yes"; then
2903 # bkoz XXX need to add checks to enable this
2904 # pme XXX here's a first pass at such a check
2905 if test x$enable_c_mbchar != xno; then
2913 # Using libio, but <libio.h> doesn't exist on the target system. . .
2915 # bkoz XXX need to add checks to enable this
2916 # pme XXX here's a first pass at such a check
2917 if test x$enable_c_mbchar != xno; then
2924 xstdio | x | xno | xnone | xyes)
2926 CSTDIO_H=config/io/c_io_stdio.h
2927 BASIC_FILE_H=config/io/basic_file_stdio.h
2928 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2929 echo "$ac_t""stdio" 1>&6
2931 # We're not using stdio.
2936 echo "$enable_cstdio is an unknown io package" 1>&2
2944 # 2000-08-04 bkoz hack
2945 CCODECVT_C=config/io/c_io_libio_codecvt.c
2947 # 2000-08-04 bkoz hack
2951 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2952 GLIBCPP_BUILD_LIBIO_TRUE=
2953 GLIBCPP_BUILD_LIBIO_FALSE='#'
2955 GLIBCPP_BUILD_LIBIO_TRUE='#'
2956 GLIBCPP_BUILD_LIBIO_FALSE=
2960 if test "$need_libio" = yes; then
2961 GLIBCPP_NEED_LIBIO_TRUE=
2962 GLIBCPP_NEED_LIBIO_FALSE='#'
2964 GLIBCPP_NEED_LIBIO_TRUE='#'
2965 GLIBCPP_NEED_LIBIO_FALSE=
2969 if test "$need_wlibio" = yes; then
2970 GLIBCPP_NEED_WLIBIO_TRUE=
2971 GLIBCPP_NEED_WLIBIO_FALSE='#'
2973 GLIBCPP_NEED_WLIBIO_TRUE='#'
2974 GLIBCPP_NEED_WLIBIO_FALSE=
2976 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2977 libio_la=../libio/libio.la
2984 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
2985 echo "configure:2986: checking for clocale to use" >&5
2986 # Check whether --enable-clocale or --disable-clocale was given.
2987 if test "${enable_clocale+set}" = set; then
2988 enableval="$enable_clocale"
2989 if test x$enable_clocale = xno; then
2997 enable_clocale_flag=$enable_clocale
2999 if test x$enable_clocale_flag = xno; then
3000 case x${target_os} in
3002 cat > conftest.$ac_ext <<EOF
3003 #line 3004 "configure"
3004 #include "confdefs.h"
3006 #include <features.h>
3007 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
3012 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3013 egrep "_GLIBCPP_ok" >/dev/null 2>&1; then
3015 enable_clocale_flag=gnu
3018 enable_clocale_flag=generic
3023 # Test for bugs early in glibc-2.2.x series
3024 if test x$enable_clocale_flag = xgnu; then
3025 if test "$cross_compiling" = yes; then
3026 enable_clocale_flag=generic
3028 cat > conftest.$ac_ext <<EOF
3029 #line 3030 "configure"
3030 #include "confdefs.h"
3032 #define _GNU_SOURCE 1
3036 const char __one[] = "Äuglein Augmen";
3037 const char __two[] = "Äuglein";
3042 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
3043 loc_dup = __duplocale(loc);
3044 i = __strcoll_l(__one, __two, loc);
3045 j = __strcoll_l(__one, __two, loc_dup);
3050 if { (eval echo configure:3051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3052 enable_clocale_flag=gnu
3054 echo "configure: failed program was:" >&5
3055 cat conftest.$ac_ext >&5
3057 enable_clocale_flag=generic
3064 # ... at some point put __strxfrm_l tests in as well.
3067 enable_clocale_flag=generic
3072 # Check whether --enable-nls or --disable-nls was given.
3073 if test "${enable_nls+set}" = set; then
3074 enableval="$enable_nls"
3082 case x${enable_clocale_flag} in
3084 echo "$ac_t""generic" 1>&6
3086 CLOCALE_H=config/locale/generic/c_locale.h
3087 CLOCALE_CC=config/locale/generic/c_locale.cc
3088 CCODECVT_H=config/locale/generic/codecvt_specializations.h
3089 CCOLLATE_CC=config/locale/generic/collate_members.cc
3090 CCTYPE_CC=config/locale/generic/ctype_members.cc
3091 CMESSAGES_H=config/locale/generic/messages_members.h
3092 CMESSAGES_CC=config/locale/generic/messages_members.cc
3093 CMONEY_CC=config/locale/generic/monetary_members.cc
3094 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3095 CTIME_CC=config/locale/generic/time_members.cc
3098 echo "$ac_t""gnu" 1>&6
3100 # Declare intention to use gettext, and add support for specific
3102 # For some reason, ALL_LINGUAS has to be before AM_GNU_GETTEXT
3105 # Don't call AM_GNU_GETTEXT here. Instead, assume glibc.
3106 # Extract the first word of "msgfmt", so it can be a program name with args.
3107 set dummy msgfmt; ac_word=$2
3108 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3109 echo "configure:3110: checking for $ac_word" >&5
3110 if eval "test \"`echo '$''{'ac_cv_prog_check_msgfmt'+set}'`\" = set"; then
3111 echo $ac_n "(cached) $ac_c" 1>&6
3113 if test -n "$check_msgfmt"; then
3114 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
3116 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3118 for ac_dir in $ac_dummy; do
3119 test -z "$ac_dir" && ac_dir=.
3120 if test -f $ac_dir/$ac_word; then
3121 ac_cv_prog_check_msgfmt="yes"
3126 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
3129 check_msgfmt="$ac_cv_prog_check_msgfmt"
3130 if test -n "$check_msgfmt"; then
3131 echo "$ac_t""$check_msgfmt" 1>&6
3133 echo "$ac_t""no" 1>&6
3136 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
3140 # Export the build objects.
3141 for ling in $ALL_LINGUAS; do \
3142 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo"; \
3143 glibcpp_POFILES="$glibcpp_POFILES $ling.po"; \
3148 CLOCALE_H=config/locale/gnu/c_locale.h
3149 CLOCALE_CC=config/locale/gnu/c_locale.cc
3150 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3151 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3152 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3153 CMESSAGES_H=config/locale/gnu/messages_members.h
3154 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3155 CMONEY_CC=config/locale/gnu/monetary_members.cc
3156 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3157 CTIME_CC=config/locale/gnu/time_members.cc
3160 echo "$ac_t""generic" 1>&6
3162 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3163 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3164 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3165 CCOLLATE_CC=config/locale/generic/collate_members.cc
3166 CCTYPE_CC=config/locale/generic/ctype_members.cc
3167 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3168 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3169 CMONEY_CC=config/locale/generic/monetary_members.cc
3170 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3171 CTIME_CC=config/locale/generic/time_members.cc
3174 echo "$enable_clocale is an unknown locale package" 1>&2
3179 # This is where the testsuite looks for locale catalogs, using the
3180 # -DLOCALEDIR define during testsuite compilation.
3181 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3196 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3197 if test "${enable_c_mbchar+set}" = set; then
3198 enableval="$enable_c_mbchar"
3199 case "$enableval" in
3200 yes) enable_c_mbchar=yes ;;
3201 no) enable_c_mbchar=no ;;
3202 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
3209 # Check whether --enable-c99 or --disable-c99 was given.
3210 if test "${enable_c99+set}" = set; then
3211 enableval="$enable_c99"
3212 case "$enableval" in
3213 yes) enable_c99=yes ;;
3214 no) enable_c99=no ;;
3215 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
3223 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3224 ac_cpp='$CXXCPP $CPPFLAGS'
3225 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3226 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3227 cross_compiling=$ac_cv_prog_cxx_cross
3230 # Check for the existence of <math.h> functions used if C99 is enabled.
3232 echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
3233 echo "configure:3234: checking for ISO C99 support in <math.h>" >&5
3234 cat > conftest.$ac_ext <<EOF
3235 #line 3236 "configure"
3236 #include "confdefs.h"
3242 if { (eval echo configure:3243: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3245 echo "configure: failed program was:" >&5
3246 cat conftest.$ac_ext >&5
3251 cat > conftest.$ac_ext <<EOF
3252 #line 3253 "configure"
3253 #include "confdefs.h"
3259 if { (eval echo configure:3260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3262 echo "configure: failed program was:" >&5
3263 cat conftest.$ac_ext >&5
3268 cat > conftest.$ac_ext <<EOF
3269 #line 3270 "configure"
3270 #include "confdefs.h"
3276 if { (eval echo configure:3277: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3279 echo "configure: failed program was:" >&5
3280 cat conftest.$ac_ext >&5
3285 cat > conftest.$ac_ext <<EOF
3286 #line 3287 "configure"
3287 #include "confdefs.h"
3293 if { (eval echo configure:3294: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3296 echo "configure: failed program was:" >&5
3297 cat conftest.$ac_ext >&5
3302 cat > conftest.$ac_ext <<EOF
3303 #line 3304 "configure"
3304 #include "confdefs.h"
3310 if { (eval echo configure:3311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3313 echo "configure: failed program was:" >&5
3314 cat conftest.$ac_ext >&5
3319 cat > conftest.$ac_ext <<EOF
3320 #line 3321 "configure"
3321 #include "confdefs.h"
3327 if { (eval echo configure:3328: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3330 echo "configure: failed program was:" >&5
3331 cat conftest.$ac_ext >&5
3336 cat > conftest.$ac_ext <<EOF
3337 #line 3338 "configure"
3338 #include "confdefs.h"
3344 if { (eval echo configure:3345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3347 echo "configure: failed program was:" >&5
3348 cat conftest.$ac_ext >&5
3353 cat > conftest.$ac_ext <<EOF
3354 #line 3355 "configure"
3355 #include "confdefs.h"
3358 isgreaterequal(0.0,0.0);
3361 if { (eval echo configure:3362: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3364 echo "configure: failed program was:" >&5
3365 cat conftest.$ac_ext >&5
3370 cat > conftest.$ac_ext <<EOF
3371 #line 3372 "configure"
3372 #include "confdefs.h"
3378 if { (eval echo configure:3379: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3381 echo "configure: failed program was:" >&5
3382 cat conftest.$ac_ext >&5
3387 cat > conftest.$ac_ext <<EOF
3388 #line 3389 "configure"
3389 #include "confdefs.h"
3392 islessequal(0.0,0.0);
3395 if { (eval echo configure:3396: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3398 echo "configure: failed program was:" >&5
3399 cat conftest.$ac_ext >&5
3404 cat > conftest.$ac_ext <<EOF
3405 #line 3406 "configure"
3406 #include "confdefs.h"
3409 islessgreater(0.0,0.0);
3412 if { (eval echo configure:3413: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3415 echo "configure: failed program was:" >&5
3416 cat conftest.$ac_ext >&5
3421 cat > conftest.$ac_ext <<EOF
3422 #line 3423 "configure"
3423 #include "confdefs.h"
3426 isunordered(0.0,0.0);
3429 if { (eval echo configure:3430: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3432 echo "configure: failed program was:" >&5
3433 cat conftest.$ac_ext >&5
3438 echo "$ac_t""$ac_c99_math" 1>&6
3440 # Check for the existence in <stdio.h> of vscanf, et. al.
3442 echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
3443 echo "configure:3444: checking for ISO C99 support in <stdio.h>" >&5
3444 cat > conftest.$ac_ext <<EOF
3445 #line 3446 "configure"
3446 #include "confdefs.h"
3449 snprintf("12", 0, "%i");
3452 if { (eval echo configure:3453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3455 echo "configure: failed program was:" >&5
3456 cat conftest.$ac_ext >&5
3461 cat > conftest.$ac_ext <<EOF
3462 #line 3463 "configure"
3463 #include "confdefs.h"
3466 void foo(char* fmt, ...)
3467 {va_list args; va_start(args, fmt);
3468 vfscanf(stderr, "%i", args);}
3473 if { (eval echo configure:3474: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3476 echo "configure: failed program was:" >&5
3477 cat conftest.$ac_ext >&5
3482 cat > conftest.$ac_ext <<EOF
3483 #line 3484 "configure"
3484 #include "confdefs.h"
3487 void foo(char* fmt, ...)
3488 {va_list args; va_start(args, fmt);
3489 vscanf("%i", args);}
3494 if { (eval echo configure:3495: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3497 echo "configure: failed program was:" >&5
3498 cat conftest.$ac_ext >&5
3503 cat > conftest.$ac_ext <<EOF
3504 #line 3505 "configure"
3505 #include "confdefs.h"
3508 void foo(char* fmt, ...)
3509 {va_list args; va_start(args, fmt);
3510 vsnprintf(fmt, 0, "%i", args);}
3515 if { (eval echo configure:3516: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3518 echo "configure: failed program was:" >&5
3519 cat conftest.$ac_ext >&5
3524 cat > conftest.$ac_ext <<EOF
3525 #line 3526 "configure"
3526 #include "confdefs.h"
3529 void foo(char* fmt, ...)
3530 {va_list args; va_start(args, fmt);
3531 vsscanf(fmt, "%i", args);}
3536 if { (eval echo configure:3537: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3539 echo "configure: failed program was:" >&5
3540 cat conftest.$ac_ext >&5
3545 echo "$ac_t""$ac_c99_stdio" 1>&6
3547 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3549 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3550 echo "configure:3551: checking for lldiv_t declaration" >&5
3551 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3552 echo $ac_n "(cached) $ac_c" 1>&6
3555 cat > conftest.$ac_ext <<EOF
3556 #line 3557 "configure"
3557 #include "confdefs.h"
3563 if { (eval echo configure:3564: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3567 echo "configure: failed program was:" >&5
3568 cat conftest.$ac_ext >&5
3576 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3578 echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
3579 echo "configure:3580: checking for ISO C99 support in <stdlib.h>" >&5
3580 cat > conftest.$ac_ext <<EOF
3581 #line 3582 "configure"
3582 #include "confdefs.h"
3585 char* tmp; strtof("gnu", &tmp);
3588 if { (eval echo configure:3589: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3591 echo "configure: failed program was:" >&5
3592 cat conftest.$ac_ext >&5
3597 cat > conftest.$ac_ext <<EOF
3598 #line 3599 "configure"
3599 #include "confdefs.h"
3602 char* tmp; strtold("gnu", &tmp);
3605 if { (eval echo configure:3606: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3608 echo "configure: failed program was:" >&5
3609 cat conftest.$ac_ext >&5
3614 cat > conftest.$ac_ext <<EOF
3615 #line 3616 "configure"
3616 #include "confdefs.h"
3622 if { (eval echo configure:3623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3625 echo "configure: failed program was:" >&5
3626 cat conftest.$ac_ext >&5
3631 cat > conftest.$ac_ext <<EOF
3632 #line 3633 "configure"
3633 #include "confdefs.h"
3639 if { (eval echo configure:3640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3642 echo "configure: failed program was:" >&5
3643 cat conftest.$ac_ext >&5
3648 cat > conftest.$ac_ext <<EOF
3649 #line 3650 "configure"
3650 #include "confdefs.h"
3656 if { (eval echo configure:3657: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3659 echo "configure: failed program was:" >&5
3660 cat conftest.$ac_ext >&5
3665 cat > conftest.$ac_ext <<EOF
3666 #line 3667 "configure"
3667 #include "confdefs.h"
3673 if { (eval echo configure:3674: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3676 echo "configure: failed program was:" >&5
3677 cat conftest.$ac_ext >&5
3682 if test x"$ac_c99_lldiv_t" = x"no"; then
3685 echo "$ac_t""$ac_c99_stdlib" 1>&6
3687 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3688 # XXX the wchar.h checks should be rolled into the general C99 bits.
3690 echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
3691 echo "configure:3692: checking for additional ISO C99 support in <wchar.h>" >&5
3692 cat > conftest.$ac_ext <<EOF
3693 #line 3694 "configure"
3694 #include "confdefs.h"
3697 wcstold(L"10.0", NULL);
3700 if { (eval echo configure:3701: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3703 echo "configure: failed program was:" >&5
3704 cat conftest.$ac_ext >&5
3709 cat > conftest.$ac_ext <<EOF
3710 #line 3711 "configure"
3711 #include "confdefs.h"
3714 wcstoll(L"10", NULL, 10);
3717 if { (eval echo configure:3718: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3720 echo "configure: failed program was:" >&5
3721 cat conftest.$ac_ext >&5
3726 cat > conftest.$ac_ext <<EOF
3727 #line 3728 "configure"
3728 #include "confdefs.h"
3731 wcstoull(L"10", NULL, 10);
3734 if { (eval echo configure:3735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3737 echo "configure: failed program was:" >&5
3738 cat conftest.$ac_ext >&5
3743 echo "$ac_t""$ac_c99_wchar" 1>&6
3745 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3746 echo "configure:3747: checking for enabled ISO C99 support" >&5
3747 if test x"$ac_c99_math" = x"no" ||
3748 test x"$ac_c99_stdio" = x"no" ||
3749 test x"$ac_c99_stdlib" = x"no" ||
3750 test x"$ac_c99_wchar" = x"no"; then
3753 echo "$ac_t""$enable_c99" 1>&6
3755 # Option parsed, now set things appropriately
3756 if test x"$enable_c99" = x"yes"; then
3757 cat >> confdefs.h <<\EOF
3758 #define _GLIBCPP_USE_C99 1
3764 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3765 ac_cpp='$CPP $CPPFLAGS'
3766 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3767 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3768 cross_compiling=$ac_cv_prog_cc_cross
3772 # Check whether --enable-long-long or --disable-long-long was given.
3773 if test "${enable_long_long+set}" = set; then
3774 enableval="$enable_long_long"
3775 case "$enableval" in
3776 yes) enable_long_long=yes ;;
3777 no) enable_long_long=no ;;
3778 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3781 enable_long_long=yes
3786 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3787 ac_cpp='$CXXCPP $CPPFLAGS'
3788 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3789 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3790 cross_compiling=$ac_cv_prog_cxx_cross
3793 echo $ac_n "checking for enabled long long I/O support""... $ac_c" 1>&6
3794 echo "configure:3795: checking for enabled long long I/O support" >&5
3795 # iostreams require strtoll, strtoull to compile
3796 cat > conftest.$ac_ext <<EOF
3797 #line 3798 "configure"
3798 #include "confdefs.h"
3801 char* tmp; strtoll("gnu", &tmp, 10);
3804 if { (eval echo configure:3805: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3807 echo "configure: failed program was:" >&5
3808 cat conftest.$ac_ext >&5
3813 cat > conftest.$ac_ext <<EOF
3814 #line 3815 "configure"
3815 #include "confdefs.h"
3818 char* tmp; strtoull("gnu", &tmp, 10);
3821 if { (eval echo configure:3822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3824 echo "configure: failed program was:" >&5
3825 cat conftest.$ac_ext >&5
3831 # Option parsed, now set things appropriately
3832 if test x"$enable_long_long" = xyes; then
3833 cat >> confdefs.h <<\EOF
3834 #define _GLIBCPP_USE_LONG_LONG 1
3838 echo "$ac_t""$enable_long_long" 1>&6
3841 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3842 ac_cpp='$CPP $CPPFLAGS'
3843 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3844 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3845 cross_compiling=$ac_cv_prog_cc_cross
3848 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3849 echo "configure:3850: checking for c header strategy to use" >&5
3850 # Check whether --enable-cheaders or --disable-cheaders was given.
3851 if test "${enable_cheaders+set}" = set; then
3852 enableval="$enable_cheaders"
3854 case "$enableval" in
3859 enable_cheaders=c_std
3862 enable_cheaders=c_shadow
3864 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3868 enable_cheaders=c_std
3871 echo "$ac_t""$enable_cheaders" 1>&6
3873 case "$enable_cheaders" in
3875 CSHADOW_FLAGS="-fno-builtin"
3876 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow'
3880 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3884 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3892 if test "$enable_cheaders" = c; then
3893 GLIBCPP_C_HEADERS_C_TRUE=
3894 GLIBCPP_C_HEADERS_C_FALSE='#'
3896 GLIBCPP_C_HEADERS_C_TRUE='#'
3897 GLIBCPP_C_HEADERS_C_FALSE=
3901 if test "$enable_cheaders" = c_std; then
3902 GLIBCPP_C_HEADERS_C_STD_TRUE=
3903 GLIBCPP_C_HEADERS_C_STD_FALSE='#'
3905 GLIBCPP_C_HEADERS_C_STD_TRUE='#'
3906 GLIBCPP_C_HEADERS_C_STD_FALSE=
3910 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3911 echo "configure:3912: checking for thread model used by GCC" >&5
3912 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3913 echo "$ac_t""$target_thread_file" 1>&6
3915 if test $target_thread_file != single; then
3916 cat >> confdefs.h <<\EOF
3917 #define HAVE_GTHR_DEFAULT 1
3920 cat >> confdefs.h <<\EOF
3921 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3926 glibcpp_thread_h=gthr-$target_thread_file.h
3929 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3930 if test "${enable_cxx_flags+set}" = set; then
3931 enableval="$enable_cxx_flags"
3932 case "x$enableval" in
3934 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3936 enable_cxx_flags='' ;;
3938 enable_cxx_flags="$enableval" ;;
3941 enable_cxx_flags='none'
3945 if test "$enable_cxx_flags" = "none"; then
3946 enable_cxx_flags='';
3949 if test -n "$enable_cxx_flags"; then
3950 for f in $enable_cxx_flags; do
3954 *) # and we're trying to pass /what/ exactly?
3955 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3959 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3963 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3964 echo "configure:3965: checking for exception model to use" >&5
3967 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3968 ac_cpp='$CXXCPP $CPPFLAGS'
3969 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3970 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3971 cross_compiling=$ac_cv_prog_cxx_cross
3973 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3974 if test "${enable_sjlj_exceptions+set}" = set; then
3975 enableval="$enable_sjlj_exceptions"
3978 cat > conftest.$ac_ext << EOF
3979 #line 3980 "configure"
3988 old_CXXFLAGS="$CXXFLAGS"
3990 if { (eval echo configure:3991: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3991 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3992 enable_sjlj_exceptions=yes
3993 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3994 enable_sjlj_exceptions=no
3997 CXXFLAGS="$old_CXXFLAGS"
4001 if test x$enable_sjlj_exceptions = xyes; then
4002 cat >> confdefs.h <<\EOF
4003 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
4006 ac_exception_model_name=sjlj
4007 elif test x$enable_sjlj_exceptions = xno; then
4008 ac_exception_model_name="call frame"
4010 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
4013 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4014 ac_cpp='$CPP $CPPFLAGS'
4015 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4016 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4017 cross_compiling=$ac_cv_prog_cc_cross
4019 echo "$ac_t""$ac_exception_model_name" 1>&6
4022 echo $ac_n "checking for use of libunwind""... $ac_c" 1>&6
4023 echo "configure:4024: checking for use of libunwind" >&5
4024 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
4025 if test "${enable_libunwind_exceptions+set}" = set; then
4026 enableval="$enable_libunwind_exceptions"
4027 use_libunwind_exceptions=$enableval
4029 use_libunwind_exceptions=no
4032 echo "$ac_t""$use_libunwind_exceptions" 1>&6
4033 if test x"$use_libunwind_exceptions" = xyes; then
4034 LIBUNWIND_FLAG="-lunwind"
4040 # Check whether --enable-concept-checks or --disable-concept-checks was given.
4041 if test "${enable_concept_checks+set}" = set; then
4042 enableval="$enable_concept_checks"
4043 case "$enableval" in
4044 yes) enable_concept_checks=yes ;;
4045 no) enable_concept_checks=no ;;
4046 *) { echo "configure: error: Unknown argument to enable/disable concept checks" 1>&2; exit 1; } ;;
4049 enable_concept_checks=no
4051 if test x"$enable_concept_checks" = xyes; then
4052 cat >> confdefs.h <<\EOF
4053 #define _GLIBCPP_CONCEPT_CHECKS 1
4059 # Check for headers necessary for libsupc++ using dyn-string.c/cxa_demangle.c
4060 for ac_hdr in string.h stdlib.h
4062 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4063 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4064 echo "configure:4065: checking for $ac_hdr" >&5
4065 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4066 echo $ac_n "(cached) $ac_c" 1>&6
4068 cat > conftest.$ac_ext <<EOF
4069 #line 4070 "configure"
4070 #include "confdefs.h"
4073 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4074 { (eval echo configure:4075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4075 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4076 if test -z "$ac_err"; then
4078 eval "ac_cv_header_$ac_safe=yes"
4081 echo "configure: failed program was:" >&5
4082 cat conftest.$ac_ext >&5
4084 eval "ac_cv_header_$ac_safe=no"
4088 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4089 echo "$ac_t""yes" 1>&6
4090 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4091 cat >> confdefs.h <<EOF
4092 #define $ac_tr_hdr 1
4096 echo "$ac_t""no" 1>&6
4101 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
4103 # This lets us hard-code the functionality we know
4104 # we'll have in the cross target environment. "Let" is a
4105 # sugar-coated word placed on an especially dull and tedious hack, actually.
4106 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4107 # that involve linking can't be used:
4108 # "cannot open sim-crt0.o"
4109 # "cannot open crt0.o"
4110 # etc. All this is because there currently exists no unified,
4111 # consistent way for top level CC information to be passed down
4112 # to target directories: newlib includes, newlib linking info,
4113 # libgloss versus newlib crt0.o, etc. When all of this is done, all
4114 # of this hokey, excessive AC_DEFINE junk for crosses can be removed.
4116 # We are being configured with some form of cross compiler.
4117 GLIBCPP_IS_CROSS_COMPILING=1
4119 # If Canadian cross, then don't pick up tools from the build
4121 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
4127 # Construct crosses by hand, eliminating bits that need ld...
4128 # GLIBCPP_CHECK_COMPILER_FEATURES
4129 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4130 # GLIBCPP_CHECK_MATH_SUPPORT
4132 case "$target_alias" in
4134 # Check for available headers.
4135 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4136 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4137 fp.h locale.h float.h inttypes.h
4139 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4140 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4141 echo "configure:4142: checking for $ac_hdr" >&5
4142 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4143 echo $ac_n "(cached) $ac_c" 1>&6
4145 cat > conftest.$ac_ext <<EOF
4146 #line 4147 "configure"
4147 #include "confdefs.h"
4150 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4151 { (eval echo configure:4152: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4152 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4153 if test -z "$ac_err"; then
4155 eval "ac_cv_header_$ac_safe=yes"
4158 echo "configure: failed program was:" >&5
4159 cat conftest.$ac_ext >&5
4161 eval "ac_cv_header_$ac_safe=no"
4165 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4166 echo "$ac_t""yes" 1>&6
4167 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4168 cat >> confdefs.h <<EOF
4169 #define $ac_tr_hdr 1
4173 echo "$ac_t""no" 1>&6
4177 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4180 # If we're not using GNU ld, then there's no point in even trying these
4181 # tests. Check for that first. We should have already tested for gld
4182 # by now (in libtool), but require it now just to be safe...
4183 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4184 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4187 # The name set by libtool depends on the version of libtool. Shame on us
4188 # for depending on an impl detail, but c'est la vie. Older versions used
4189 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4190 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4191 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4192 # set (hence we're using an older libtool), then set it.
4193 if test x${with_gnu_ld+set} != xset; then
4194 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4195 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
4198 with_gnu_ld=$ac_cv_prog_gnu_ld
4202 # Start by getting the version number. I think the libtool test already
4203 # does some of this, but throws away the result.
4205 ldver=`$LD --version 2>/dev/null | head -1 | \
4206 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4208 glibcpp_gnu_ld_version=`echo $ldver | \
4209 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4211 # Set --gc-sections.
4212 if test "$with_gnu_ld" = "notbroken"; then
4213 # GNU ld it is! Joy and bunny rabbits!
4215 # All these tests are for C++; save the language and the compiler flags.
4216 # Need to do this so that g++ won't try to link in libstdc++
4217 ac_test_CFLAGS="${CFLAGS+set}"
4218 ac_save_CFLAGS="$CFLAGS"
4219 CFLAGS='-x c++ -Wl,--gc-sections'
4221 # Check for -Wl,--gc-sections
4222 # XXX This test is broken at the moment, as symbols required for
4223 # linking are now in libsupc++ (not built yet.....). In addition,
4224 # this test has cored on solaris in the past. In addition,
4225 # --gc-sections doesn't really work at the moment (keeps on discarding
4226 # used sections, first .eh_frame and now some of the glibc sections for
4227 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4228 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4229 echo "configure:4230: checking for ld that supports -Wl,--gc-sections" >&5
4230 if test "$cross_compiling" = yes; then
4231 ac_sectionLDflags=yes
4233 cat > conftest.$ac_ext <<EOF
4234 #line 4235 "configure"
4235 #include "confdefs.h"
4245 if { (eval echo configure:4246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4247 ac_sectionLDflags=yes
4249 echo "configure: failed program was:" >&5
4250 cat conftest.$ac_ext >&5
4252 ac_sectionLDflags=no
4257 if test "$ac_test_CFLAGS" = set; then
4258 CFLAGS="$ac_save_CFLAGS"
4260 # this is the suspicious part
4263 if test "$ac_sectionLDflags" = "yes"; then
4264 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4266 echo "$ac_t""$ac_sectionLDflags" 1>&6
4269 # Set linker optimization flags.
4270 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
4271 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4278 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4279 echo "configure:4280: checking for main in -lm" >&5
4280 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4281 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4282 echo $ac_n "(cached) $ac_c" 1>&6
4284 ac_save_LIBS="$LIBS"
4286 cat > conftest.$ac_ext <<EOF
4287 #line 4288 "configure"
4288 #include "confdefs.h"
4294 if { (eval echo configure:4295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4296 eval "ac_cv_lib_$ac_lib_var=yes"
4298 echo "configure: failed program was:" >&5
4299 cat conftest.$ac_ext >&5
4301 eval "ac_cv_lib_$ac_lib_var=no"
4304 LIBS="$ac_save_LIBS"
4307 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4308 echo "$ac_t""yes" 1>&6
4309 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4310 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4311 cat >> confdefs.h <<EOF
4312 #define $ac_tr_lib 1
4318 echo "$ac_t""no" 1>&6
4321 for ac_func in nan copysignf
4323 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4324 echo "configure:4325: checking for $ac_func" >&5
4325 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4326 echo $ac_n "(cached) $ac_c" 1>&6
4328 cat > conftest.$ac_ext <<EOF
4329 #line 4330 "configure"
4330 #include "confdefs.h"
4331 /* System header to define __stub macros and hopefully few prototypes,
4332 which can conflict with char $ac_func(); below. */
4334 /* Override any gcc2 internal prototype to avoid an error. */
4335 /* We use char because int might match the return type of a gcc2
4336 builtin and then its argument prototype would still apply. */
4341 /* The GNU C library defines this for functions which it implements
4342 to always fail with ENOSYS. Some functions are actually named
4343 something starting with __ and the normal name is an alias. */
4344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4352 if { (eval echo configure:4353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4354 eval "ac_cv_func_$ac_func=yes"
4356 echo "configure: failed program was:" >&5
4357 cat conftest.$ac_ext >&5
4359 eval "ac_cv_func_$ac_func=no"
4364 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4365 echo "$ac_t""yes" 1>&6
4366 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4367 cat >> confdefs.h <<EOF
4368 #define $ac_tr_func 1
4372 echo "$ac_t""no" 1>&6
4373 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4378 for ac_func in __signbit
4380 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4381 echo "configure:4382: checking for $ac_func" >&5
4382 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4383 echo $ac_n "(cached) $ac_c" 1>&6
4385 cat > conftest.$ac_ext <<EOF
4386 #line 4387 "configure"
4387 #include "confdefs.h"
4388 /* System header to define __stub macros and hopefully few prototypes,
4389 which can conflict with char $ac_func(); below. */
4391 /* Override any gcc2 internal prototype to avoid an error. */
4392 /* We use char because int might match the return type of a gcc2
4393 builtin and then its argument prototype would still apply. */
4398 /* The GNU C library defines this for functions which it implements
4399 to always fail with ENOSYS. Some functions are actually named
4400 something starting with __ and the normal name is an alias. */
4401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4409 if { (eval echo configure:4410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4411 eval "ac_cv_func_$ac_func=yes"
4413 echo "configure: failed program was:" >&5
4414 cat conftest.$ac_ext >&5
4416 eval "ac_cv_func_$ac_func=no"
4421 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4422 echo "$ac_t""yes" 1>&6
4423 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4424 cat >> confdefs.h <<EOF
4425 #define $ac_tr_func 1
4429 echo "$ac_t""no" 1>&6
4430 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
4434 for ac_func in __signbitf
4436 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4437 echo "configure:4438: checking for $ac_func" >&5
4438 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4439 echo $ac_n "(cached) $ac_c" 1>&6
4441 cat > conftest.$ac_ext <<EOF
4442 #line 4443 "configure"
4443 #include "confdefs.h"
4444 /* System header to define __stub macros and hopefully few prototypes,
4445 which can conflict with char $ac_func(); below. */
4447 /* Override any gcc2 internal prototype to avoid an error. */
4448 /* We use char because int might match the return type of a gcc2
4449 builtin and then its argument prototype would still apply. */
4454 /* The GNU C library defines this for functions which it implements
4455 to always fail with ENOSYS. Some functions are actually named
4456 something starting with __ and the normal name is an alias. */
4457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4465 if { (eval echo configure:4466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4467 eval "ac_cv_func_$ac_func=yes"
4469 echo "configure: failed program was:" >&5
4470 cat conftest.$ac_ext >&5
4472 eval "ac_cv_func_$ac_func=no"
4477 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4478 echo "$ac_t""yes" 1>&6
4479 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4480 cat >> confdefs.h <<EOF
4481 #define $ac_tr_func 1
4485 echo "$ac_t""no" 1>&6
4486 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
4491 if test x$ac_cv_func_copysignl = x"yes"; then
4492 for ac_func in __signbitl
4494 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4495 echo "configure:4496: checking for $ac_func" >&5
4496 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4497 echo $ac_n "(cached) $ac_c" 1>&6
4499 cat > conftest.$ac_ext <<EOF
4500 #line 4501 "configure"
4501 #include "confdefs.h"
4502 /* System header to define __stub macros and hopefully few prototypes,
4503 which can conflict with char $ac_func(); below. */
4505 /* Override any gcc2 internal prototype to avoid an error. */
4506 /* We use char because int might match the return type of a gcc2
4507 builtin and then its argument prototype would still apply. */
4512 /* The GNU C library defines this for functions which it implements
4513 to always fail with ENOSYS. Some functions are actually named
4514 something starting with __ and the normal name is an alias. */
4515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4523 if { (eval echo configure:4524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4525 eval "ac_cv_func_$ac_func=yes"
4527 echo "configure: failed program was:" >&5
4528 cat conftest.$ac_ext >&5
4530 eval "ac_cv_func_$ac_func=no"
4535 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4536 echo "$ac_t""yes" 1>&6
4537 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4538 cat >> confdefs.h <<EOF
4539 #define $ac_tr_func 1
4543 echo "$ac_t""no" 1>&6
4544 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
4554 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4555 echo "configure:4556: checking for mbstate_t" >&5
4556 cat > conftest.$ac_ext <<EOF
4557 #line 4558 "configure"
4558 #include "confdefs.h"
4561 mbstate_t teststate;
4564 if { (eval echo configure:4565: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4568 echo "configure: failed program was:" >&5
4569 cat conftest.$ac_ext >&5
4574 echo "$ac_t""$have_mbstate_t" 1>&6
4575 if test x"$have_mbstate_t" = xyes; then
4576 cat >> confdefs.h <<\EOF
4577 #define HAVE_MBSTATE_T 1
4582 for ac_hdr in wchar.h
4584 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4585 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4586 echo "configure:4587: checking for $ac_hdr" >&5
4587 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4588 echo $ac_n "(cached) $ac_c" 1>&6
4590 cat > conftest.$ac_ext <<EOF
4591 #line 4592 "configure"
4592 #include "confdefs.h"
4595 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4596 { (eval echo configure:4597: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4597 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4598 if test -z "$ac_err"; then
4600 eval "ac_cv_header_$ac_safe=yes"
4603 echo "configure: failed program was:" >&5
4604 cat conftest.$ac_ext >&5
4606 eval "ac_cv_header_$ac_safe=no"
4610 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4611 echo "$ac_t""yes" 1>&6
4612 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4613 cat >> confdefs.h <<EOF
4614 #define $ac_tr_hdr 1
4618 echo "$ac_t""no" 1>&6
4623 for ac_hdr in wctype.h
4625 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4626 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4627 echo "configure:4628: checking for $ac_hdr" >&5
4628 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4629 echo $ac_n "(cached) $ac_c" 1>&6
4631 cat > conftest.$ac_ext <<EOF
4632 #line 4633 "configure"
4633 #include "confdefs.h"
4636 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4637 { (eval echo configure:4638: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4638 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4639 if test -z "$ac_err"; then
4641 eval "ac_cv_header_$ac_safe=yes"
4644 echo "configure: failed program was:" >&5
4645 cat conftest.$ac_ext >&5
4647 eval "ac_cv_header_$ac_safe=no"
4651 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4652 echo "$ac_t""yes" 1>&6
4653 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4654 cat >> confdefs.h <<EOF
4655 #define $ac_tr_hdr 1
4659 echo "$ac_t""no" 1>&6
4665 if test x"$ac_has_wchar_h" = xyes &&
4666 test x"$ac_has_wctype_h" = xyes &&
4667 test x"$enable_c_mbchar" != xno; then
4669 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4670 echo "configure:4671: checking for WCHAR_MIN and WCHAR_MAX" >&5
4671 cat > conftest.$ac_ext <<EOF
4672 #line 4673 "configure"
4673 #include "confdefs.h"
4676 int i = WCHAR_MIN; int j = WCHAR_MAX;
4679 if { (eval echo configure:4680: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4681 has_wchar_minmax=yes
4683 echo "configure: failed program was:" >&5
4684 cat conftest.$ac_ext >&5
4689 echo "$ac_t""$has_wchar_minmax" 1>&6
4691 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4692 echo "configure:4693: checking for WEOF" >&5
4693 cat > conftest.$ac_ext <<EOF
4694 #line 4695 "configure"
4695 #include "confdefs.h"
4703 if { (eval echo configure:4704: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4707 echo "configure: failed program was:" >&5
4708 cat conftest.$ac_ext >&5
4713 echo "$ac_t""$has_weof" 1>&6
4716 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4718 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4719 echo "configure:4720: checking for $ac_func" >&5
4720 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4721 echo $ac_n "(cached) $ac_c" 1>&6
4723 cat > conftest.$ac_ext <<EOF
4724 #line 4725 "configure"
4725 #include "confdefs.h"
4726 /* System header to define __stub macros and hopefully few prototypes,
4727 which can conflict with char $ac_func(); below. */
4729 /* Override any gcc2 internal prototype to avoid an error. */
4730 /* We use char because int might match the return type of a gcc2
4731 builtin and then its argument prototype would still apply. */
4736 /* The GNU C library defines this for functions which it implements
4737 to always fail with ENOSYS. Some functions are actually named
4738 something starting with __ and the normal name is an alias. */
4739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4747 if { (eval echo configure:4748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4749 eval "ac_cv_func_$ac_func=yes"
4751 echo "configure: failed program was:" >&5
4752 cat conftest.$ac_ext >&5
4754 eval "ac_cv_func_$ac_func=no"
4759 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4760 echo "$ac_t""yes" 1>&6
4761 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4762 cat >> confdefs.h <<EOF
4763 #define $ac_tr_func 1
4767 echo "$ac_t""no" 1>&6
4774 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4775 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4776 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4777 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4778 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4779 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4781 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4782 echo "configure:4783: checking for $ac_func" >&5
4783 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4784 echo $ac_n "(cached) $ac_c" 1>&6
4786 cat > conftest.$ac_ext <<EOF
4787 #line 4788 "configure"
4788 #include "confdefs.h"
4789 /* System header to define __stub macros and hopefully few prototypes,
4790 which can conflict with char $ac_func(); below. */
4792 /* Override any gcc2 internal prototype to avoid an error. */
4793 /* We use char because int might match the return type of a gcc2
4794 builtin and then its argument prototype would still apply. */
4799 /* The GNU C library defines this for functions which it implements
4800 to always fail with ENOSYS. Some functions are actually named
4801 something starting with __ and the normal name is an alias. */
4802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4810 if { (eval echo configure:4811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4812 eval "ac_cv_func_$ac_func=yes"
4814 echo "configure: failed program was:" >&5
4815 cat conftest.$ac_ext >&5
4817 eval "ac_cv_func_$ac_func=no"
4822 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4823 echo "$ac_t""yes" 1>&6
4824 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4825 cat >> confdefs.h <<EOF
4826 #define $ac_tr_func 1
4830 echo "$ac_t""no" 1>&6
4837 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4838 echo "configure:4839: checking for ISO C99 wchar_t support" >&5
4839 if test x"$has_weof" = xyes &&
4840 test x"$has_wchar_minmax" = xyes &&
4841 test x"$ac_wfuncs" = xyes; then
4842 ac_isoC99_wchar_t=yes
4844 ac_isoC99_wchar_t=no
4846 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4848 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4849 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4850 echo "configure:4851: checking for iconv.h" >&5
4851 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4852 echo $ac_n "(cached) $ac_c" 1>&6
4854 cat > conftest.$ac_ext <<EOF
4855 #line 4856 "configure"
4856 #include "confdefs.h"
4859 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4860 { (eval echo configure:4861: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4861 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4862 if test -z "$ac_err"; then
4864 eval "ac_cv_header_$ac_safe=yes"
4867 echo "configure: failed program was:" >&5
4868 cat conftest.$ac_ext >&5
4870 eval "ac_cv_header_$ac_safe=no"
4874 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4875 echo "$ac_t""yes" 1>&6
4878 echo "$ac_t""no" 1>&6
4882 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4883 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4884 echo "configure:4885: checking for langinfo.h" >&5
4885 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4886 echo $ac_n "(cached) $ac_c" 1>&6
4888 cat > conftest.$ac_ext <<EOF
4889 #line 4890 "configure"
4890 #include "confdefs.h"
4891 #include <langinfo.h>
4893 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4894 { (eval echo configure:4895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4895 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4896 if test -z "$ac_err"; then
4898 eval "ac_cv_header_$ac_safe=yes"
4901 echo "configure: failed program was:" >&5
4902 cat conftest.$ac_ext >&5
4904 eval "ac_cv_header_$ac_safe=no"
4908 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4909 echo "$ac_t""yes" 1>&6
4910 ac_has_langinfo_h=yes
4912 echo "$ac_t""no" 1>&6
4913 ac_has_langinfo_h=no
4917 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4918 echo "configure:4919: checking for iconv in -liconv" >&5
4919 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4920 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4921 echo $ac_n "(cached) $ac_c" 1>&6
4923 ac_save_LIBS="$LIBS"
4924 LIBS="-liconv $LIBS"
4925 cat > conftest.$ac_ext <<EOF
4926 #line 4927 "configure"
4927 #include "confdefs.h"
4928 /* Override any gcc2 internal prototype to avoid an error. */
4929 /* We use char because int might match the return type of a gcc2
4930 builtin and then its argument prototype would still apply. */
4937 if { (eval echo configure:4938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4939 eval "ac_cv_lib_$ac_lib_var=yes"
4941 echo "configure: failed program was:" >&5
4942 cat conftest.$ac_ext >&5
4944 eval "ac_cv_lib_$ac_lib_var=no"
4947 LIBS="$ac_save_LIBS"
4950 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4951 echo "$ac_t""yes" 1>&6
4954 echo "$ac_t""no" 1>&6
4957 ac_save_LIBS="$LIBS"
4958 LIBS="$LIBS $libiconv"
4960 for ac_func in iconv_open iconv_close iconv nl_langinfo
4962 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4963 echo "configure:4964: checking for $ac_func" >&5
4964 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4965 echo $ac_n "(cached) $ac_c" 1>&6
4967 cat > conftest.$ac_ext <<EOF
4968 #line 4969 "configure"
4969 #include "confdefs.h"
4970 /* System header to define __stub macros and hopefully few prototypes,
4971 which can conflict with char $ac_func(); below. */
4973 /* Override any gcc2 internal prototype to avoid an error. */
4974 /* We use char because int might match the return type of a gcc2
4975 builtin and then its argument prototype would still apply. */
4980 /* The GNU C library defines this for functions which it implements
4981 to always fail with ENOSYS. Some functions are actually named
4982 something starting with __ and the normal name is an alias. */
4983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4991 if { (eval echo configure:4992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4993 eval "ac_cv_func_$ac_func=yes"
4995 echo "configure: failed program was:" >&5
4996 cat conftest.$ac_ext >&5
4998 eval "ac_cv_func_$ac_func=no"
5003 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5004 echo "$ac_t""yes" 1>&6
5005 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5006 cat >> confdefs.h <<EOF
5007 #define $ac_tr_func 1
5012 echo "$ac_t""no" 1>&6
5018 LIBS="$ac_save_LIBS"
5020 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5021 echo "configure:5022: checking for XPG2 wchar_t support" >&5
5022 if test x"$ac_has_iconv_h" = xyes &&
5023 test x"$ac_has_langinfo_h" = xyes &&
5024 test x"$ac_XPG2funcs" = xyes; then
5029 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5031 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5032 echo "configure:5033: checking for enabled wchar_t specializations" >&5
5033 if test x"$ac_isoC99_wchar_t" = xyes &&
5034 test x"$ac_XPG2_wchar_t" = xyes; then
5035 cat >> confdefs.h <<\EOF
5036 #define _GLIBCPP_USE_WCHAR_T 1
5039 echo "$ac_t"""yes"" 1>&6
5041 echo "$ac_t"""no"" 1>&6
5044 echo "configure: warning: wchar_t support disabled." 1>&2
5047 os_include_dir="config/os/gnu-linux"
5048 cat >> confdefs.h <<\EOF
5049 #define HAVE_COPYSIGN 1
5052 cat >> confdefs.h <<\EOF
5053 #define HAVE_COPYSIGNF 1
5056 cat >> confdefs.h <<\EOF
5057 #define HAVE_FINITEF 1
5060 cat >> confdefs.h <<\EOF
5061 #define HAVE_FREXPF 1
5064 cat >> confdefs.h <<\EOF
5065 #define HAVE_HYPOTF 1
5068 cat >> confdefs.h <<\EOF
5069 #define HAVE_SINCOS 1
5072 cat >> confdefs.h <<\EOF
5073 #define HAVE_SINCOSF 1
5076 if test x"long_double_math_on_this_cpu" = x"yes"; then
5077 cat >> confdefs.h <<\EOF
5078 #define HAVE_HYPOTL 1
5084 # Check for available headers.
5085 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5086 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5087 fp.h locale.h float.h inttypes.h
5089 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5090 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5091 echo "configure:5092: checking for $ac_hdr" >&5
5092 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5093 echo $ac_n "(cached) $ac_c" 1>&6
5095 cat > conftest.$ac_ext <<EOF
5096 #line 5097 "configure"
5097 #include "confdefs.h"
5100 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5101 { (eval echo configure:5102: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5102 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5103 if test -z "$ac_err"; then
5105 eval "ac_cv_header_$ac_safe=yes"
5108 echo "configure: failed program was:" >&5
5109 cat conftest.$ac_ext >&5
5111 eval "ac_cv_header_$ac_safe=no"
5115 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5116 echo "$ac_t""yes" 1>&6
5117 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5118 cat >> confdefs.h <<EOF
5119 #define $ac_tr_hdr 1
5123 echo "$ac_t""no" 1>&6
5127 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5130 # If we're not using GNU ld, then there's no point in even trying these
5131 # tests. Check for that first. We should have already tested for gld
5132 # by now (in libtool), but require it now just to be safe...
5133 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5134 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5137 # The name set by libtool depends on the version of libtool. Shame on us
5138 # for depending on an impl detail, but c'est la vie. Older versions used
5139 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5140 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5141 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5142 # set (hence we're using an older libtool), then set it.
5143 if test x${with_gnu_ld+set} != xset; then
5144 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5145 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
5148 with_gnu_ld=$ac_cv_prog_gnu_ld
5152 # Start by getting the version number. I think the libtool test already
5153 # does some of this, but throws away the result.
5155 ldver=`$LD --version 2>/dev/null | head -1 | \
5156 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5158 glibcpp_gnu_ld_version=`echo $ldver | \
5159 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5161 # Set --gc-sections.
5162 if test "$with_gnu_ld" = "notbroken"; then
5163 # GNU ld it is! Joy and bunny rabbits!
5165 # All these tests are for C++; save the language and the compiler flags.
5166 # Need to do this so that g++ won't try to link in libstdc++
5167 ac_test_CFLAGS="${CFLAGS+set}"
5168 ac_save_CFLAGS="$CFLAGS"
5169 CFLAGS='-x c++ -Wl,--gc-sections'
5171 # Check for -Wl,--gc-sections
5172 # XXX This test is broken at the moment, as symbols required for
5173 # linking are now in libsupc++ (not built yet.....). In addition,
5174 # this test has cored on solaris in the past. In addition,
5175 # --gc-sections doesn't really work at the moment (keeps on discarding
5176 # used sections, first .eh_frame and now some of the glibc sections for
5177 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5178 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5179 echo "configure:5180: checking for ld that supports -Wl,--gc-sections" >&5
5180 if test "$cross_compiling" = yes; then
5181 ac_sectionLDflags=yes
5183 cat > conftest.$ac_ext <<EOF
5184 #line 5185 "configure"
5185 #include "confdefs.h"
5195 if { (eval echo configure:5196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5197 ac_sectionLDflags=yes
5199 echo "configure: failed program was:" >&5
5200 cat conftest.$ac_ext >&5
5202 ac_sectionLDflags=no
5207 if test "$ac_test_CFLAGS" = set; then
5208 CFLAGS="$ac_save_CFLAGS"
5210 # this is the suspicious part
5213 if test "$ac_sectionLDflags" = "yes"; then
5214 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5216 echo "$ac_t""$ac_sectionLDflags" 1>&6
5219 # Set linker optimization flags.
5220 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
5221 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5228 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
5229 echo "configure:5230: checking for main in -lm" >&5
5230 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5231 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5232 echo $ac_n "(cached) $ac_c" 1>&6
5234 ac_save_LIBS="$LIBS"
5236 cat > conftest.$ac_ext <<EOF
5237 #line 5238 "configure"
5238 #include "confdefs.h"
5244 if { (eval echo configure:5245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5246 eval "ac_cv_lib_$ac_lib_var=yes"
5248 echo "configure: failed program was:" >&5
5249 cat conftest.$ac_ext >&5
5251 eval "ac_cv_lib_$ac_lib_var=no"
5254 LIBS="$ac_save_LIBS"
5257 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5258 echo "$ac_t""yes" 1>&6
5259 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5260 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5261 cat >> confdefs.h <<EOF
5262 #define $ac_tr_lib 1
5268 echo "$ac_t""no" 1>&6
5271 for ac_func in nan copysignf
5273 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5274 echo "configure:5275: checking for $ac_func" >&5
5275 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5276 echo $ac_n "(cached) $ac_c" 1>&6
5278 cat > conftest.$ac_ext <<EOF
5279 #line 5280 "configure"
5280 #include "confdefs.h"
5281 /* System header to define __stub macros and hopefully few prototypes,
5282 which can conflict with char $ac_func(); below. */
5284 /* Override any gcc2 internal prototype to avoid an error. */
5285 /* We use char because int might match the return type of a gcc2
5286 builtin and then its argument prototype would still apply. */
5291 /* The GNU C library defines this for functions which it implements
5292 to always fail with ENOSYS. Some functions are actually named
5293 something starting with __ and the normal name is an alias. */
5294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5302 if { (eval echo configure:5303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5304 eval "ac_cv_func_$ac_func=yes"
5306 echo "configure: failed program was:" >&5
5307 cat conftest.$ac_ext >&5
5309 eval "ac_cv_func_$ac_func=no"
5314 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5315 echo "$ac_t""yes" 1>&6
5316 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5317 cat >> confdefs.h <<EOF
5318 #define $ac_tr_func 1
5322 echo "$ac_t""no" 1>&6
5323 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5328 for ac_func in __signbit
5330 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5331 echo "configure:5332: checking for $ac_func" >&5
5332 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5333 echo $ac_n "(cached) $ac_c" 1>&6
5335 cat > conftest.$ac_ext <<EOF
5336 #line 5337 "configure"
5337 #include "confdefs.h"
5338 /* System header to define __stub macros and hopefully few prototypes,
5339 which can conflict with char $ac_func(); below. */
5341 /* Override any gcc2 internal prototype to avoid an error. */
5342 /* We use char because int might match the return type of a gcc2
5343 builtin and then its argument prototype would still apply. */
5348 /* The GNU C library defines this for functions which it implements
5349 to always fail with ENOSYS. Some functions are actually named
5350 something starting with __ and the normal name is an alias. */
5351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5359 if { (eval echo configure:5360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5361 eval "ac_cv_func_$ac_func=yes"
5363 echo "configure: failed program was:" >&5
5364 cat conftest.$ac_ext >&5
5366 eval "ac_cv_func_$ac_func=no"
5371 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5372 echo "$ac_t""yes" 1>&6
5373 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5374 cat >> confdefs.h <<EOF
5375 #define $ac_tr_func 1
5379 echo "$ac_t""no" 1>&6
5380 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
5384 for ac_func in __signbitf
5386 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5387 echo "configure:5388: checking for $ac_func" >&5
5388 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5389 echo $ac_n "(cached) $ac_c" 1>&6
5391 cat > conftest.$ac_ext <<EOF
5392 #line 5393 "configure"
5393 #include "confdefs.h"
5394 /* System header to define __stub macros and hopefully few prototypes,
5395 which can conflict with char $ac_func(); below. */
5397 /* Override any gcc2 internal prototype to avoid an error. */
5398 /* We use char because int might match the return type of a gcc2
5399 builtin and then its argument prototype would still apply. */
5404 /* The GNU C library defines this for functions which it implements
5405 to always fail with ENOSYS. Some functions are actually named
5406 something starting with __ and the normal name is an alias. */
5407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5415 if { (eval echo configure:5416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5417 eval "ac_cv_func_$ac_func=yes"
5419 echo "configure: failed program was:" >&5
5420 cat conftest.$ac_ext >&5
5422 eval "ac_cv_func_$ac_func=no"
5427 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5428 echo "$ac_t""yes" 1>&6
5429 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5430 cat >> confdefs.h <<EOF
5431 #define $ac_tr_func 1
5435 echo "$ac_t""no" 1>&6
5436 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
5441 if test x$ac_cv_func_copysignl = x"yes"; then
5442 for ac_func in __signbitl
5444 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5445 echo "configure:5446: checking for $ac_func" >&5
5446 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5447 echo $ac_n "(cached) $ac_c" 1>&6
5449 cat > conftest.$ac_ext <<EOF
5450 #line 5451 "configure"
5451 #include "confdefs.h"
5452 /* System header to define __stub macros and hopefully few prototypes,
5453 which can conflict with char $ac_func(); below. */
5455 /* Override any gcc2 internal prototype to avoid an error. */
5456 /* We use char because int might match the return type of a gcc2
5457 builtin and then its argument prototype would still apply. */
5462 /* The GNU C library defines this for functions which it implements
5463 to always fail with ENOSYS. Some functions are actually named
5464 something starting with __ and the normal name is an alias. */
5465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5473 if { (eval echo configure:5474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5475 eval "ac_cv_func_$ac_func=yes"
5477 echo "configure: failed program was:" >&5
5478 cat conftest.$ac_ext >&5
5480 eval "ac_cv_func_$ac_func=no"
5485 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5486 echo "$ac_t""yes" 1>&6
5487 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5488 cat >> confdefs.h <<EOF
5489 #define $ac_tr_func 1
5493 echo "$ac_t""no" 1>&6
5494 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
5504 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
5505 echo "configure:5506: checking for mbstate_t" >&5
5506 cat > conftest.$ac_ext <<EOF
5507 #line 5508 "configure"
5508 #include "confdefs.h"
5511 mbstate_t teststate;
5514 if { (eval echo configure:5515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5518 echo "configure: failed program was:" >&5
5519 cat conftest.$ac_ext >&5
5524 echo "$ac_t""$have_mbstate_t" 1>&6
5525 if test x"$have_mbstate_t" = xyes; then
5526 cat >> confdefs.h <<\EOF
5527 #define HAVE_MBSTATE_T 1
5532 for ac_hdr in wchar.h
5534 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5535 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5536 echo "configure:5537: checking for $ac_hdr" >&5
5537 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5538 echo $ac_n "(cached) $ac_c" 1>&6
5540 cat > conftest.$ac_ext <<EOF
5541 #line 5542 "configure"
5542 #include "confdefs.h"
5545 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5546 { (eval echo configure:5547: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5547 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5548 if test -z "$ac_err"; then
5550 eval "ac_cv_header_$ac_safe=yes"
5553 echo "configure: failed program was:" >&5
5554 cat conftest.$ac_ext >&5
5556 eval "ac_cv_header_$ac_safe=no"
5560 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5561 echo "$ac_t""yes" 1>&6
5562 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5563 cat >> confdefs.h <<EOF
5564 #define $ac_tr_hdr 1
5568 echo "$ac_t""no" 1>&6
5573 for ac_hdr in wctype.h
5575 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5576 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5577 echo "configure:5578: checking for $ac_hdr" >&5
5578 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5579 echo $ac_n "(cached) $ac_c" 1>&6
5581 cat > conftest.$ac_ext <<EOF
5582 #line 5583 "configure"
5583 #include "confdefs.h"
5586 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5587 { (eval echo configure:5588: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5588 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5589 if test -z "$ac_err"; then
5591 eval "ac_cv_header_$ac_safe=yes"
5594 echo "configure: failed program was:" >&5
5595 cat conftest.$ac_ext >&5
5597 eval "ac_cv_header_$ac_safe=no"
5601 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5602 echo "$ac_t""yes" 1>&6
5603 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5604 cat >> confdefs.h <<EOF
5605 #define $ac_tr_hdr 1
5609 echo "$ac_t""no" 1>&6
5615 if test x"$ac_has_wchar_h" = xyes &&
5616 test x"$ac_has_wctype_h" = xyes &&
5617 test x"$enable_c_mbchar" != xno; then
5619 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
5620 echo "configure:5621: checking for WCHAR_MIN and WCHAR_MAX" >&5
5621 cat > conftest.$ac_ext <<EOF
5622 #line 5623 "configure"
5623 #include "confdefs.h"
5626 int i = WCHAR_MIN; int j = WCHAR_MAX;
5629 if { (eval echo configure:5630: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5631 has_wchar_minmax=yes
5633 echo "configure: failed program was:" >&5
5634 cat conftest.$ac_ext >&5
5639 echo "$ac_t""$has_wchar_minmax" 1>&6
5641 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
5642 echo "configure:5643: checking for WEOF" >&5
5643 cat > conftest.$ac_ext <<EOF
5644 #line 5645 "configure"
5645 #include "confdefs.h"
5653 if { (eval echo configure:5654: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5657 echo "configure: failed program was:" >&5
5658 cat conftest.$ac_ext >&5
5663 echo "$ac_t""$has_weof" 1>&6
5666 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5668 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5669 echo "configure:5670: checking for $ac_func" >&5
5670 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5671 echo $ac_n "(cached) $ac_c" 1>&6
5673 cat > conftest.$ac_ext <<EOF
5674 #line 5675 "configure"
5675 #include "confdefs.h"
5676 /* System header to define __stub macros and hopefully few prototypes,
5677 which can conflict with char $ac_func(); below. */
5679 /* Override any gcc2 internal prototype to avoid an error. */
5680 /* We use char because int might match the return type of a gcc2
5681 builtin and then its argument prototype would still apply. */
5686 /* The GNU C library defines this for functions which it implements
5687 to always fail with ENOSYS. Some functions are actually named
5688 something starting with __ and the normal name is an alias. */
5689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5697 if { (eval echo configure:5698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5699 eval "ac_cv_func_$ac_func=yes"
5701 echo "configure: failed program was:" >&5
5702 cat conftest.$ac_ext >&5
5704 eval "ac_cv_func_$ac_func=no"
5709 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5710 echo "$ac_t""yes" 1>&6
5711 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5712 cat >> confdefs.h <<EOF
5713 #define $ac_tr_func 1
5717 echo "$ac_t""no" 1>&6
5724 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
5725 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5726 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5727 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5728 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5729 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5731 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5732 echo "configure:5733: checking for $ac_func" >&5
5733 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5734 echo $ac_n "(cached) $ac_c" 1>&6
5736 cat > conftest.$ac_ext <<EOF
5737 #line 5738 "configure"
5738 #include "confdefs.h"
5739 /* System header to define __stub macros and hopefully few prototypes,
5740 which can conflict with char $ac_func(); below. */
5742 /* Override any gcc2 internal prototype to avoid an error. */
5743 /* We use char because int might match the return type of a gcc2
5744 builtin and then its argument prototype would still apply. */
5749 /* The GNU C library defines this for functions which it implements
5750 to always fail with ENOSYS. Some functions are actually named
5751 something starting with __ and the normal name is an alias. */
5752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5760 if { (eval echo configure:5761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5762 eval "ac_cv_func_$ac_func=yes"
5764 echo "configure: failed program was:" >&5
5765 cat conftest.$ac_ext >&5
5767 eval "ac_cv_func_$ac_func=no"
5772 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5773 echo "$ac_t""yes" 1>&6
5774 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5775 cat >> confdefs.h <<EOF
5776 #define $ac_tr_func 1
5780 echo "$ac_t""no" 1>&6
5787 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
5788 echo "configure:5789: checking for ISO C99 wchar_t support" >&5
5789 if test x"$has_weof" = xyes &&
5790 test x"$has_wchar_minmax" = xyes &&
5791 test x"$ac_wfuncs" = xyes; then
5792 ac_isoC99_wchar_t=yes
5794 ac_isoC99_wchar_t=no
5796 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5798 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
5799 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
5800 echo "configure:5801: checking for iconv.h" >&5
5801 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5802 echo $ac_n "(cached) $ac_c" 1>&6
5804 cat > conftest.$ac_ext <<EOF
5805 #line 5806 "configure"
5806 #include "confdefs.h"
5809 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5810 { (eval echo configure:5811: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5811 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5812 if test -z "$ac_err"; then
5814 eval "ac_cv_header_$ac_safe=yes"
5817 echo "configure: failed program was:" >&5
5818 cat conftest.$ac_ext >&5
5820 eval "ac_cv_header_$ac_safe=no"
5824 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5825 echo "$ac_t""yes" 1>&6
5828 echo "$ac_t""no" 1>&6
5832 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
5833 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
5834 echo "configure:5835: checking for langinfo.h" >&5
5835 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5836 echo $ac_n "(cached) $ac_c" 1>&6
5838 cat > conftest.$ac_ext <<EOF
5839 #line 5840 "configure"
5840 #include "confdefs.h"
5841 #include <langinfo.h>
5843 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5844 { (eval echo configure:5845: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5845 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5846 if test -z "$ac_err"; then
5848 eval "ac_cv_header_$ac_safe=yes"
5851 echo "configure: failed program was:" >&5
5852 cat conftest.$ac_ext >&5
5854 eval "ac_cv_header_$ac_safe=no"
5858 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5859 echo "$ac_t""yes" 1>&6
5860 ac_has_langinfo_h=yes
5862 echo "$ac_t""no" 1>&6
5863 ac_has_langinfo_h=no
5867 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
5868 echo "configure:5869: checking for iconv in -liconv" >&5
5869 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5870 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5871 echo $ac_n "(cached) $ac_c" 1>&6
5873 ac_save_LIBS="$LIBS"
5874 LIBS="-liconv $LIBS"
5875 cat > conftest.$ac_ext <<EOF
5876 #line 5877 "configure"
5877 #include "confdefs.h"
5878 /* Override any gcc2 internal prototype to avoid an error. */
5879 /* We use char because int might match the return type of a gcc2
5880 builtin and then its argument prototype would still apply. */
5887 if { (eval echo configure:5888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5889 eval "ac_cv_lib_$ac_lib_var=yes"
5891 echo "configure: failed program was:" >&5
5892 cat conftest.$ac_ext >&5
5894 eval "ac_cv_lib_$ac_lib_var=no"
5897 LIBS="$ac_save_LIBS"
5900 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5901 echo "$ac_t""yes" 1>&6
5904 echo "$ac_t""no" 1>&6
5907 ac_save_LIBS="$LIBS"
5908 LIBS="$LIBS $libiconv"
5910 for ac_func in iconv_open iconv_close iconv nl_langinfo
5912 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5913 echo "configure:5914: checking for $ac_func" >&5
5914 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5915 echo $ac_n "(cached) $ac_c" 1>&6
5917 cat > conftest.$ac_ext <<EOF
5918 #line 5919 "configure"
5919 #include "confdefs.h"
5920 /* System header to define __stub macros and hopefully few prototypes,
5921 which can conflict with char $ac_func(); below. */
5923 /* Override any gcc2 internal prototype to avoid an error. */
5924 /* We use char because int might match the return type of a gcc2
5925 builtin and then its argument prototype would still apply. */
5930 /* The GNU C library defines this for functions which it implements
5931 to always fail with ENOSYS. Some functions are actually named
5932 something starting with __ and the normal name is an alias. */
5933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5941 if { (eval echo configure:5942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5943 eval "ac_cv_func_$ac_func=yes"
5945 echo "configure: failed program was:" >&5
5946 cat conftest.$ac_ext >&5
5948 eval "ac_cv_func_$ac_func=no"
5953 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5954 echo "$ac_t""yes" 1>&6
5955 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5956 cat >> confdefs.h <<EOF
5957 #define $ac_tr_func 1
5962 echo "$ac_t""no" 1>&6
5968 LIBS="$ac_save_LIBS"
5970 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5971 echo "configure:5972: checking for XPG2 wchar_t support" >&5
5972 if test x"$ac_has_iconv_h" = xyes &&
5973 test x"$ac_has_langinfo_h" = xyes &&
5974 test x"$ac_XPG2funcs" = xyes; then
5979 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5981 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5982 echo "configure:5983: checking for enabled wchar_t specializations" >&5
5983 if test x"$ac_isoC99_wchar_t" = xyes &&
5984 test x"$ac_XPG2_wchar_t" = xyes; then
5985 cat >> confdefs.h <<\EOF
5986 #define _GLIBCPP_USE_WCHAR_T 1
5989 echo "$ac_t"""yes"" 1>&6
5991 echo "$ac_t"""no"" 1>&6
5994 echo "configure: warning: wchar_t support disabled." 1>&2
5997 os_include_dir="config/os/hpux"
5998 cat >> confdefs.h <<\EOF
5999 #define HAVE_COPYSIGN 1
6002 cat >> confdefs.h <<\EOF
6003 #define HAVE_COPYSIGNF 1
6006 cat >> confdefs.h <<\EOF
6007 #define HAVE_FINITEF 1
6010 cat >> confdefs.h <<\EOF
6011 #define HAVE_FREXPF 1
6014 cat >> confdefs.h <<\EOF
6015 #define HAVE_HYPOT 1
6018 cat >> confdefs.h <<\EOF
6019 #define HAVE_SINCOS 1
6022 cat >> confdefs.h <<\EOF
6023 #define HAVE_SINCOSF 1
6028 # Check for available headers.
6029 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6030 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6031 fp.h locale.h float.h inttypes.h
6033 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6034 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6035 echo "configure:6036: checking for $ac_hdr" >&5
6036 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6037 echo $ac_n "(cached) $ac_c" 1>&6
6039 cat > conftest.$ac_ext <<EOF
6040 #line 6041 "configure"
6041 #include "confdefs.h"
6044 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6045 { (eval echo configure:6046: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6046 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6047 if test -z "$ac_err"; then
6049 eval "ac_cv_header_$ac_safe=yes"
6052 echo "configure: failed program was:" >&5
6053 cat conftest.$ac_ext >&5
6055 eval "ac_cv_header_$ac_safe=no"
6059 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6060 echo "$ac_t""yes" 1>&6
6061 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6062 cat >> confdefs.h <<EOF
6063 #define $ac_tr_hdr 1
6067 echo "$ac_t""no" 1>&6
6071 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6074 # If we're not using GNU ld, then there's no point in even trying these
6075 # tests. Check for that first. We should have already tested for gld
6076 # by now (in libtool), but require it now just to be safe...
6077 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6078 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6081 # The name set by libtool depends on the version of libtool. Shame on us
6082 # for depending on an impl detail, but c'est la vie. Older versions used
6083 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6084 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6085 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6086 # set (hence we're using an older libtool), then set it.
6087 if test x${with_gnu_ld+set} != xset; then
6088 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6089 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
6092 with_gnu_ld=$ac_cv_prog_gnu_ld
6096 # Start by getting the version number. I think the libtool test already
6097 # does some of this, but throws away the result.
6099 ldver=`$LD --version 2>/dev/null | head -1 | \
6100 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6102 glibcpp_gnu_ld_version=`echo $ldver | \
6103 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6105 # Set --gc-sections.
6106 if test "$with_gnu_ld" = "notbroken"; then
6107 # GNU ld it is! Joy and bunny rabbits!
6109 # All these tests are for C++; save the language and the compiler flags.
6110 # Need to do this so that g++ won't try to link in libstdc++
6111 ac_test_CFLAGS="${CFLAGS+set}"
6112 ac_save_CFLAGS="$CFLAGS"
6113 CFLAGS='-x c++ -Wl,--gc-sections'
6115 # Check for -Wl,--gc-sections
6116 # XXX This test is broken at the moment, as symbols required for
6117 # linking are now in libsupc++ (not built yet.....). In addition,
6118 # this test has cored on solaris in the past. In addition,
6119 # --gc-sections doesn't really work at the moment (keeps on discarding
6120 # used sections, first .eh_frame and now some of the glibc sections for
6121 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6122 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
6123 echo "configure:6124: checking for ld that supports -Wl,--gc-sections" >&5
6124 if test "$cross_compiling" = yes; then
6125 ac_sectionLDflags=yes
6127 cat > conftest.$ac_ext <<EOF
6128 #line 6129 "configure"
6129 #include "confdefs.h"
6139 if { (eval echo configure:6140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6141 ac_sectionLDflags=yes
6143 echo "configure: failed program was:" >&5
6144 cat conftest.$ac_ext >&5
6146 ac_sectionLDflags=no
6151 if test "$ac_test_CFLAGS" = set; then
6152 CFLAGS="$ac_save_CFLAGS"
6154 # this is the suspicious part
6157 if test "$ac_sectionLDflags" = "yes"; then
6158 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6160 echo "$ac_t""$ac_sectionLDflags" 1>&6
6163 # Set linker optimization flags.
6164 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
6165 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6172 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
6173 echo "configure:6174: checking for main in -lm" >&5
6174 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6175 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6176 echo $ac_n "(cached) $ac_c" 1>&6
6178 ac_save_LIBS="$LIBS"
6180 cat > conftest.$ac_ext <<EOF
6181 #line 6182 "configure"
6182 #include "confdefs.h"
6188 if { (eval echo configure:6189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6190 eval "ac_cv_lib_$ac_lib_var=yes"
6192 echo "configure: failed program was:" >&5
6193 cat conftest.$ac_ext >&5
6195 eval "ac_cv_lib_$ac_lib_var=no"
6198 LIBS="$ac_save_LIBS"
6201 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6202 echo "$ac_t""yes" 1>&6
6203 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6204 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6205 cat >> confdefs.h <<EOF
6206 #define $ac_tr_lib 1
6212 echo "$ac_t""no" 1>&6
6215 for ac_func in nan copysignf
6217 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6218 echo "configure:6219: checking for $ac_func" >&5
6219 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6220 echo $ac_n "(cached) $ac_c" 1>&6
6222 cat > conftest.$ac_ext <<EOF
6223 #line 6224 "configure"
6224 #include "confdefs.h"
6225 /* System header to define __stub macros and hopefully few prototypes,
6226 which can conflict with char $ac_func(); below. */
6228 /* Override any gcc2 internal prototype to avoid an error. */
6229 /* We use char because int might match the return type of a gcc2
6230 builtin and then its argument prototype would still apply. */
6235 /* The GNU C library defines this for functions which it implements
6236 to always fail with ENOSYS. Some functions are actually named
6237 something starting with __ and the normal name is an alias. */
6238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6246 if { (eval echo configure:6247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6248 eval "ac_cv_func_$ac_func=yes"
6250 echo "configure: failed program was:" >&5
6251 cat conftest.$ac_ext >&5
6253 eval "ac_cv_func_$ac_func=no"
6258 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6259 echo "$ac_t""yes" 1>&6
6260 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6261 cat >> confdefs.h <<EOF
6262 #define $ac_tr_func 1
6266 echo "$ac_t""no" 1>&6
6267 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
6272 for ac_func in __signbit
6274 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6275 echo "configure:6276: checking for $ac_func" >&5
6276 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6277 echo $ac_n "(cached) $ac_c" 1>&6
6279 cat > conftest.$ac_ext <<EOF
6280 #line 6281 "configure"
6281 #include "confdefs.h"
6282 /* System header to define __stub macros and hopefully few prototypes,
6283 which can conflict with char $ac_func(); below. */
6285 /* Override any gcc2 internal prototype to avoid an error. */
6286 /* We use char because int might match the return type of a gcc2
6287 builtin and then its argument prototype would still apply. */
6292 /* The GNU C library defines this for functions which it implements
6293 to always fail with ENOSYS. Some functions are actually named
6294 something starting with __ and the normal name is an alias. */
6295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6303 if { (eval echo configure:6304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6305 eval "ac_cv_func_$ac_func=yes"
6307 echo "configure: failed program was:" >&5
6308 cat conftest.$ac_ext >&5
6310 eval "ac_cv_func_$ac_func=no"
6315 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6316 echo "$ac_t""yes" 1>&6
6317 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6318 cat >> confdefs.h <<EOF
6319 #define $ac_tr_func 1
6323 echo "$ac_t""no" 1>&6
6324 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
6328 for ac_func in __signbitf
6330 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6331 echo "configure:6332: checking for $ac_func" >&5
6332 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6333 echo $ac_n "(cached) $ac_c" 1>&6
6335 cat > conftest.$ac_ext <<EOF
6336 #line 6337 "configure"
6337 #include "confdefs.h"
6338 /* System header to define __stub macros and hopefully few prototypes,
6339 which can conflict with char $ac_func(); below. */
6341 /* Override any gcc2 internal prototype to avoid an error. */
6342 /* We use char because int might match the return type of a gcc2
6343 builtin and then its argument prototype would still apply. */
6348 /* The GNU C library defines this for functions which it implements
6349 to always fail with ENOSYS. Some functions are actually named
6350 something starting with __ and the normal name is an alias. */
6351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6359 if { (eval echo configure:6360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6361 eval "ac_cv_func_$ac_func=yes"
6363 echo "configure: failed program was:" >&5
6364 cat conftest.$ac_ext >&5
6366 eval "ac_cv_func_$ac_func=no"
6371 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6372 echo "$ac_t""yes" 1>&6
6373 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6374 cat >> confdefs.h <<EOF
6375 #define $ac_tr_func 1
6379 echo "$ac_t""no" 1>&6
6380 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
6385 if test x$ac_cv_func_copysignl = x"yes"; then
6386 for ac_func in __signbitl
6388 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6389 echo "configure:6390: checking for $ac_func" >&5
6390 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6391 echo $ac_n "(cached) $ac_c" 1>&6
6393 cat > conftest.$ac_ext <<EOF
6394 #line 6395 "configure"
6395 #include "confdefs.h"
6396 /* System header to define __stub macros and hopefully few prototypes,
6397 which can conflict with char $ac_func(); below. */
6399 /* Override any gcc2 internal prototype to avoid an error. */
6400 /* We use char because int might match the return type of a gcc2
6401 builtin and then its argument prototype would still apply. */
6406 /* The GNU C library defines this for functions which it implements
6407 to always fail with ENOSYS. Some functions are actually named
6408 something starting with __ and the normal name is an alias. */
6409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6417 if { (eval echo configure:6418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6419 eval "ac_cv_func_$ac_func=yes"
6421 echo "configure: failed program was:" >&5
6422 cat conftest.$ac_ext >&5
6424 eval "ac_cv_func_$ac_func=no"
6429 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6430 echo "$ac_t""yes" 1>&6
6431 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6432 cat >> confdefs.h <<EOF
6433 #define $ac_tr_func 1
6437 echo "$ac_t""no" 1>&6
6438 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
6448 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
6449 echo "configure:6450: checking for mbstate_t" >&5
6450 cat > conftest.$ac_ext <<EOF
6451 #line 6452 "configure"
6452 #include "confdefs.h"
6455 mbstate_t teststate;
6458 if { (eval echo configure:6459: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6462 echo "configure: failed program was:" >&5
6463 cat conftest.$ac_ext >&5
6468 echo "$ac_t""$have_mbstate_t" 1>&6
6469 if test x"$have_mbstate_t" = xyes; then
6470 cat >> confdefs.h <<\EOF
6471 #define HAVE_MBSTATE_T 1
6476 for ac_hdr in wchar.h
6478 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6479 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6480 echo "configure:6481: checking for $ac_hdr" >&5
6481 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6482 echo $ac_n "(cached) $ac_c" 1>&6
6484 cat > conftest.$ac_ext <<EOF
6485 #line 6486 "configure"
6486 #include "confdefs.h"
6489 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6490 { (eval echo configure:6491: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6491 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6492 if test -z "$ac_err"; then
6494 eval "ac_cv_header_$ac_safe=yes"
6497 echo "configure: failed program was:" >&5
6498 cat conftest.$ac_ext >&5
6500 eval "ac_cv_header_$ac_safe=no"
6504 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6505 echo "$ac_t""yes" 1>&6
6506 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6507 cat >> confdefs.h <<EOF
6508 #define $ac_tr_hdr 1
6512 echo "$ac_t""no" 1>&6
6517 for ac_hdr in wctype.h
6519 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6520 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6521 echo "configure:6522: checking for $ac_hdr" >&5
6522 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6523 echo $ac_n "(cached) $ac_c" 1>&6
6525 cat > conftest.$ac_ext <<EOF
6526 #line 6527 "configure"
6527 #include "confdefs.h"
6530 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6531 { (eval echo configure:6532: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6532 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6533 if test -z "$ac_err"; then
6535 eval "ac_cv_header_$ac_safe=yes"
6538 echo "configure: failed program was:" >&5
6539 cat conftest.$ac_ext >&5
6541 eval "ac_cv_header_$ac_safe=no"
6545 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6546 echo "$ac_t""yes" 1>&6
6547 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6548 cat >> confdefs.h <<EOF
6549 #define $ac_tr_hdr 1
6553 echo "$ac_t""no" 1>&6
6559 if test x"$ac_has_wchar_h" = xyes &&
6560 test x"$ac_has_wctype_h" = xyes &&
6561 test x"$enable_c_mbchar" != xno; then
6563 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
6564 echo "configure:6565: checking for WCHAR_MIN and WCHAR_MAX" >&5
6565 cat > conftest.$ac_ext <<EOF
6566 #line 6567 "configure"
6567 #include "confdefs.h"
6570 int i = WCHAR_MIN; int j = WCHAR_MAX;
6573 if { (eval echo configure:6574: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6575 has_wchar_minmax=yes
6577 echo "configure: failed program was:" >&5
6578 cat conftest.$ac_ext >&5
6583 echo "$ac_t""$has_wchar_minmax" 1>&6
6585 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
6586 echo "configure:6587: checking for WEOF" >&5
6587 cat > conftest.$ac_ext <<EOF
6588 #line 6589 "configure"
6589 #include "confdefs.h"
6597 if { (eval echo configure:6598: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6601 echo "configure: failed program was:" >&5
6602 cat conftest.$ac_ext >&5
6607 echo "$ac_t""$has_weof" 1>&6
6610 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6612 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6613 echo "configure:6614: checking for $ac_func" >&5
6614 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6615 echo $ac_n "(cached) $ac_c" 1>&6
6617 cat > conftest.$ac_ext <<EOF
6618 #line 6619 "configure"
6619 #include "confdefs.h"
6620 /* System header to define __stub macros and hopefully few prototypes,
6621 which can conflict with char $ac_func(); below. */
6623 /* Override any gcc2 internal prototype to avoid an error. */
6624 /* We use char because int might match the return type of a gcc2
6625 builtin and then its argument prototype would still apply. */
6630 /* The GNU C library defines this for functions which it implements
6631 to always fail with ENOSYS. Some functions are actually named
6632 something starting with __ and the normal name is an alias. */
6633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6641 if { (eval echo configure:6642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6643 eval "ac_cv_func_$ac_func=yes"
6645 echo "configure: failed program was:" >&5
6646 cat conftest.$ac_ext >&5
6648 eval "ac_cv_func_$ac_func=no"
6653 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6654 echo "$ac_t""yes" 1>&6
6655 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6656 cat >> confdefs.h <<EOF
6657 #define $ac_tr_func 1
6661 echo "$ac_t""no" 1>&6
6668 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
6669 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6670 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6671 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6672 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6673 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6675 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6676 echo "configure:6677: checking for $ac_func" >&5
6677 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6678 echo $ac_n "(cached) $ac_c" 1>&6
6680 cat > conftest.$ac_ext <<EOF
6681 #line 6682 "configure"
6682 #include "confdefs.h"
6683 /* System header to define __stub macros and hopefully few prototypes,
6684 which can conflict with char $ac_func(); below. */
6686 /* Override any gcc2 internal prototype to avoid an error. */
6687 /* We use char because int might match the return type of a gcc2
6688 builtin and then its argument prototype would still apply. */
6693 /* The GNU C library defines this for functions which it implements
6694 to always fail with ENOSYS. Some functions are actually named
6695 something starting with __ and the normal name is an alias. */
6696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6704 if { (eval echo configure:6705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6706 eval "ac_cv_func_$ac_func=yes"
6708 echo "configure: failed program was:" >&5
6709 cat conftest.$ac_ext >&5
6711 eval "ac_cv_func_$ac_func=no"
6716 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6717 echo "$ac_t""yes" 1>&6
6718 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6719 cat >> confdefs.h <<EOF
6720 #define $ac_tr_func 1
6724 echo "$ac_t""no" 1>&6
6731 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
6732 echo "configure:6733: checking for ISO C99 wchar_t support" >&5
6733 if test x"$has_weof" = xyes &&
6734 test x"$has_wchar_minmax" = xyes &&
6735 test x"$ac_wfuncs" = xyes; then
6736 ac_isoC99_wchar_t=yes
6738 ac_isoC99_wchar_t=no
6740 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6742 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
6743 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
6744 echo "configure:6745: checking for iconv.h" >&5
6745 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6746 echo $ac_n "(cached) $ac_c" 1>&6
6748 cat > conftest.$ac_ext <<EOF
6749 #line 6750 "configure"
6750 #include "confdefs.h"
6753 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6754 { (eval echo configure:6755: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6755 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6756 if test -z "$ac_err"; then
6758 eval "ac_cv_header_$ac_safe=yes"
6761 echo "configure: failed program was:" >&5
6762 cat conftest.$ac_ext >&5
6764 eval "ac_cv_header_$ac_safe=no"
6768 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6769 echo "$ac_t""yes" 1>&6
6772 echo "$ac_t""no" 1>&6
6776 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
6777 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
6778 echo "configure:6779: checking for langinfo.h" >&5
6779 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6780 echo $ac_n "(cached) $ac_c" 1>&6
6782 cat > conftest.$ac_ext <<EOF
6783 #line 6784 "configure"
6784 #include "confdefs.h"
6785 #include <langinfo.h>
6787 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6788 { (eval echo configure:6789: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6789 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6790 if test -z "$ac_err"; then
6792 eval "ac_cv_header_$ac_safe=yes"
6795 echo "configure: failed program was:" >&5
6796 cat conftest.$ac_ext >&5
6798 eval "ac_cv_header_$ac_safe=no"
6802 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6803 echo "$ac_t""yes" 1>&6
6804 ac_has_langinfo_h=yes
6806 echo "$ac_t""no" 1>&6
6807 ac_has_langinfo_h=no
6811 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
6812 echo "configure:6813: checking for iconv in -liconv" >&5
6813 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6814 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6815 echo $ac_n "(cached) $ac_c" 1>&6
6817 ac_save_LIBS="$LIBS"
6818 LIBS="-liconv $LIBS"
6819 cat > conftest.$ac_ext <<EOF
6820 #line 6821 "configure"
6821 #include "confdefs.h"
6822 /* Override any gcc2 internal prototype to avoid an error. */
6823 /* We use char because int might match the return type of a gcc2
6824 builtin and then its argument prototype would still apply. */
6831 if { (eval echo configure:6832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6833 eval "ac_cv_lib_$ac_lib_var=yes"
6835 echo "configure: failed program was:" >&5
6836 cat conftest.$ac_ext >&5
6838 eval "ac_cv_lib_$ac_lib_var=no"
6841 LIBS="$ac_save_LIBS"
6844 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6845 echo "$ac_t""yes" 1>&6
6848 echo "$ac_t""no" 1>&6
6851 ac_save_LIBS="$LIBS"
6852 LIBS="$LIBS $libiconv"
6854 for ac_func in iconv_open iconv_close iconv nl_langinfo
6856 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6857 echo "configure:6858: checking for $ac_func" >&5
6858 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6859 echo $ac_n "(cached) $ac_c" 1>&6
6861 cat > conftest.$ac_ext <<EOF
6862 #line 6863 "configure"
6863 #include "confdefs.h"
6864 /* System header to define __stub macros and hopefully few prototypes,
6865 which can conflict with char $ac_func(); below. */
6867 /* Override any gcc2 internal prototype to avoid an error. */
6868 /* We use char because int might match the return type of a gcc2
6869 builtin and then its argument prototype would still apply. */
6874 /* The GNU C library defines this for functions which it implements
6875 to always fail with ENOSYS. Some functions are actually named
6876 something starting with __ and the normal name is an alias. */
6877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6885 if { (eval echo configure:6886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6887 eval "ac_cv_func_$ac_func=yes"
6889 echo "configure: failed program was:" >&5
6890 cat conftest.$ac_ext >&5
6892 eval "ac_cv_func_$ac_func=no"
6897 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6898 echo "$ac_t""yes" 1>&6
6899 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6900 cat >> confdefs.h <<EOF
6901 #define $ac_tr_func 1
6906 echo "$ac_t""no" 1>&6
6912 LIBS="$ac_save_LIBS"
6914 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
6915 echo "configure:6916: checking for XPG2 wchar_t support" >&5
6916 if test x"$ac_has_iconv_h" = xyes &&
6917 test x"$ac_has_langinfo_h" = xyes &&
6918 test x"$ac_XPG2funcs" = xyes; then
6923 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6925 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
6926 echo "configure:6927: checking for enabled wchar_t specializations" >&5
6927 if test x"$ac_isoC99_wchar_t" = xyes &&
6928 test x"$ac_XPG2_wchar_t" = xyes; then
6929 cat >> confdefs.h <<\EOF
6930 #define _GLIBCPP_USE_WCHAR_T 1
6933 echo "$ac_t"""yes"" 1>&6
6935 echo "$ac_t"""no"" 1>&6
6938 echo "configure: warning: wchar_t support disabled." 1>&2
6941 os_include_dir="config/os/bsd/netbsd"
6942 cat >> confdefs.h <<\EOF
6943 #define HAVE_COPYSIGN 1
6946 cat >> confdefs.h <<\EOF
6947 #define HAVE_COPYSIGNF 1
6950 cat >> confdefs.h <<\EOF
6951 #define HAVE_FINITEF 1
6954 cat >> confdefs.h <<\EOF
6955 #define HAVE_FREXPF 1
6958 cat >> confdefs.h <<\EOF
6959 #define HAVE_HYPOTF 1
6964 for ac_hdr in sys/types.h locale.h float.h
6966 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6967 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6968 echo "configure:6969: checking for $ac_hdr" >&5
6969 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6970 echo $ac_n "(cached) $ac_c" 1>&6
6972 cat > conftest.$ac_ext <<EOF
6973 #line 6974 "configure"
6974 #include "confdefs.h"
6977 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6978 { (eval echo configure:6979: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6979 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6980 if test -z "$ac_err"; then
6982 eval "ac_cv_header_$ac_safe=yes"
6985 echo "configure: failed program was:" >&5
6986 cat conftest.$ac_ext >&5
6988 eval "ac_cv_header_$ac_safe=no"
6992 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6993 echo "$ac_t""yes" 1>&6
6994 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6995 cat >> confdefs.h <<EOF
6996 #define $ac_tr_hdr 1
7000 echo "$ac_t""no" 1>&6
7005 # If we're not using GNU ld, then there's no point in even trying these
7006 # tests. Check for that first. We should have already tested for gld
7007 # by now (in libtool), but require it now just to be safe...
7008 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7009 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7012 # The name set by libtool depends on the version of libtool. Shame on us
7013 # for depending on an impl detail, but c'est la vie. Older versions used
7014 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7015 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7016 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7017 # set (hence we're using an older libtool), then set it.
7018 if test x${with_gnu_ld+set} != xset; then
7019 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7020 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7023 with_gnu_ld=$ac_cv_prog_gnu_ld
7027 # Start by getting the version number. I think the libtool test already
7028 # does some of this, but throws away the result.
7030 ldver=`$LD --version 2>/dev/null | head -1 | \
7031 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7033 glibcpp_gnu_ld_version=`echo $ldver | \
7034 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7036 # Set --gc-sections.
7037 if test "$with_gnu_ld" = "notbroken"; then
7038 # GNU ld it is! Joy and bunny rabbits!
7040 # All these tests are for C++; save the language and the compiler flags.
7041 # Need to do this so that g++ won't try to link in libstdc++
7042 ac_test_CFLAGS="${CFLAGS+set}"
7043 ac_save_CFLAGS="$CFLAGS"
7044 CFLAGS='-x c++ -Wl,--gc-sections'
7046 # Check for -Wl,--gc-sections
7047 # XXX This test is broken at the moment, as symbols required for
7048 # linking are now in libsupc++ (not built yet.....). In addition,
7049 # this test has cored on solaris in the past. In addition,
7050 # --gc-sections doesn't really work at the moment (keeps on discarding
7051 # used sections, first .eh_frame and now some of the glibc sections for
7052 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7053 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
7054 echo "configure:7055: checking for ld that supports -Wl,--gc-sections" >&5
7055 if test "$cross_compiling" = yes; then
7056 ac_sectionLDflags=yes
7058 cat > conftest.$ac_ext <<EOF
7059 #line 7060 "configure"
7060 #include "confdefs.h"
7070 if { (eval echo configure:7071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7072 ac_sectionLDflags=yes
7074 echo "configure: failed program was:" >&5
7075 cat conftest.$ac_ext >&5
7077 ac_sectionLDflags=no
7082 if test "$ac_test_CFLAGS" = set; then
7083 CFLAGS="$ac_save_CFLAGS"
7085 # this is the suspicious part
7088 if test "$ac_sectionLDflags" = "yes"; then
7089 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7091 echo "$ac_t""$ac_sectionLDflags" 1>&6
7094 # Set linker optimization flags.
7095 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
7096 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7103 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
7104 echo "configure:7105: checking for main in -lm" >&5
7105 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7106 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7107 echo $ac_n "(cached) $ac_c" 1>&6
7109 ac_save_LIBS="$LIBS"
7111 cat > conftest.$ac_ext <<EOF
7112 #line 7113 "configure"
7113 #include "confdefs.h"
7119 if { (eval echo configure:7120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7121 eval "ac_cv_lib_$ac_lib_var=yes"
7123 echo "configure: failed program was:" >&5
7124 cat conftest.$ac_ext >&5
7126 eval "ac_cv_lib_$ac_lib_var=no"
7129 LIBS="$ac_save_LIBS"
7132 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7133 echo "$ac_t""yes" 1>&6
7134 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7135 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7136 cat >> confdefs.h <<EOF
7137 #define $ac_tr_lib 1
7143 echo "$ac_t""no" 1>&6
7146 for ac_func in nan copysignf
7148 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7149 echo "configure:7150: checking for $ac_func" >&5
7150 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7151 echo $ac_n "(cached) $ac_c" 1>&6
7153 cat > conftest.$ac_ext <<EOF
7154 #line 7155 "configure"
7155 #include "confdefs.h"
7156 /* System header to define __stub macros and hopefully few prototypes,
7157 which can conflict with char $ac_func(); below. */
7159 /* Override any gcc2 internal prototype to avoid an error. */
7160 /* We use char because int might match the return type of a gcc2
7161 builtin and then its argument prototype would still apply. */
7166 /* The GNU C library defines this for functions which it implements
7167 to always fail with ENOSYS. Some functions are actually named
7168 something starting with __ and the normal name is an alias. */
7169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7177 if { (eval echo configure:7178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7179 eval "ac_cv_func_$ac_func=yes"
7181 echo "configure: failed program was:" >&5
7182 cat conftest.$ac_ext >&5
7184 eval "ac_cv_func_$ac_func=no"
7189 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7190 echo "$ac_t""yes" 1>&6
7191 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7192 cat >> confdefs.h <<EOF
7193 #define $ac_tr_func 1
7197 echo "$ac_t""no" 1>&6
7198 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
7203 for ac_func in __signbit
7205 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7206 echo "configure:7207: checking for $ac_func" >&5
7207 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7208 echo $ac_n "(cached) $ac_c" 1>&6
7210 cat > conftest.$ac_ext <<EOF
7211 #line 7212 "configure"
7212 #include "confdefs.h"
7213 /* System header to define __stub macros and hopefully few prototypes,
7214 which can conflict with char $ac_func(); below. */
7216 /* Override any gcc2 internal prototype to avoid an error. */
7217 /* We use char because int might match the return type of a gcc2
7218 builtin and then its argument prototype would still apply. */
7223 /* The GNU C library defines this for functions which it implements
7224 to always fail with ENOSYS. Some functions are actually named
7225 something starting with __ and the normal name is an alias. */
7226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7234 if { (eval echo configure:7235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7236 eval "ac_cv_func_$ac_func=yes"
7238 echo "configure: failed program was:" >&5
7239 cat conftest.$ac_ext >&5
7241 eval "ac_cv_func_$ac_func=no"
7246 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7247 echo "$ac_t""yes" 1>&6
7248 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7249 cat >> confdefs.h <<EOF
7250 #define $ac_tr_func 1
7254 echo "$ac_t""no" 1>&6
7255 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
7259 for ac_func in __signbitf
7261 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7262 echo "configure:7263: checking for $ac_func" >&5
7263 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7264 echo $ac_n "(cached) $ac_c" 1>&6
7266 cat > conftest.$ac_ext <<EOF
7267 #line 7268 "configure"
7268 #include "confdefs.h"
7269 /* System header to define __stub macros and hopefully few prototypes,
7270 which can conflict with char $ac_func(); below. */
7272 /* Override any gcc2 internal prototype to avoid an error. */
7273 /* We use char because int might match the return type of a gcc2
7274 builtin and then its argument prototype would still apply. */
7279 /* The GNU C library defines this for functions which it implements
7280 to always fail with ENOSYS. Some functions are actually named
7281 something starting with __ and the normal name is an alias. */
7282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7290 if { (eval echo configure:7291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7292 eval "ac_cv_func_$ac_func=yes"
7294 echo "configure: failed program was:" >&5
7295 cat conftest.$ac_ext >&5
7297 eval "ac_cv_func_$ac_func=no"
7302 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7303 echo "$ac_t""yes" 1>&6
7304 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7305 cat >> confdefs.h <<EOF
7306 #define $ac_tr_func 1
7310 echo "$ac_t""no" 1>&6
7311 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
7316 if test x$ac_cv_func_copysignl = x"yes"; then
7317 for ac_func in __signbitl
7319 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7320 echo "configure:7321: checking for $ac_func" >&5
7321 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7322 echo $ac_n "(cached) $ac_c" 1>&6
7324 cat > conftest.$ac_ext <<EOF
7325 #line 7326 "configure"
7326 #include "confdefs.h"
7327 /* System header to define __stub macros and hopefully few prototypes,
7328 which can conflict with char $ac_func(); below. */
7330 /* Override any gcc2 internal prototype to avoid an error. */
7331 /* We use char because int might match the return type of a gcc2
7332 builtin and then its argument prototype would still apply. */
7337 /* The GNU C library defines this for functions which it implements
7338 to always fail with ENOSYS. Some functions are actually named
7339 something starting with __ and the normal name is an alias. */
7340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7348 if { (eval echo configure:7349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7350 eval "ac_cv_func_$ac_func=yes"
7352 echo "configure: failed program was:" >&5
7353 cat conftest.$ac_ext >&5
7355 eval "ac_cv_func_$ac_func=no"
7360 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7361 echo "$ac_t""yes" 1>&6
7362 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7363 cat >> confdefs.h <<EOF
7364 #define $ac_tr_func 1
7368 echo "$ac_t""no" 1>&6
7369 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
7379 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
7380 echo "configure:7381: checking for mbstate_t" >&5
7381 cat > conftest.$ac_ext <<EOF
7382 #line 7383 "configure"
7383 #include "confdefs.h"
7386 mbstate_t teststate;
7389 if { (eval echo configure:7390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7393 echo "configure: failed program was:" >&5
7394 cat conftest.$ac_ext >&5
7399 echo "$ac_t""$have_mbstate_t" 1>&6
7400 if test x"$have_mbstate_t" = xyes; then
7401 cat >> confdefs.h <<\EOF
7402 #define HAVE_MBSTATE_T 1
7407 for ac_hdr in wchar.h
7409 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7410 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7411 echo "configure:7412: checking for $ac_hdr" >&5
7412 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7413 echo $ac_n "(cached) $ac_c" 1>&6
7415 cat > conftest.$ac_ext <<EOF
7416 #line 7417 "configure"
7417 #include "confdefs.h"
7420 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7421 { (eval echo configure:7422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7422 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7423 if test -z "$ac_err"; then
7425 eval "ac_cv_header_$ac_safe=yes"
7428 echo "configure: failed program was:" >&5
7429 cat conftest.$ac_ext >&5
7431 eval "ac_cv_header_$ac_safe=no"
7435 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7436 echo "$ac_t""yes" 1>&6
7437 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7438 cat >> confdefs.h <<EOF
7439 #define $ac_tr_hdr 1
7443 echo "$ac_t""no" 1>&6
7448 for ac_hdr in wctype.h
7450 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7451 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7452 echo "configure:7453: checking for $ac_hdr" >&5
7453 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7454 echo $ac_n "(cached) $ac_c" 1>&6
7456 cat > conftest.$ac_ext <<EOF
7457 #line 7458 "configure"
7458 #include "confdefs.h"
7461 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7462 { (eval echo configure:7463: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7463 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7464 if test -z "$ac_err"; then
7466 eval "ac_cv_header_$ac_safe=yes"
7469 echo "configure: failed program was:" >&5
7470 cat conftest.$ac_ext >&5
7472 eval "ac_cv_header_$ac_safe=no"
7476 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7477 echo "$ac_t""yes" 1>&6
7478 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7479 cat >> confdefs.h <<EOF
7480 #define $ac_tr_hdr 1
7484 echo "$ac_t""no" 1>&6
7490 if test x"$ac_has_wchar_h" = xyes &&
7491 test x"$ac_has_wctype_h" = xyes &&
7492 test x"$enable_c_mbchar" != xno; then
7494 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
7495 echo "configure:7496: checking for WCHAR_MIN and WCHAR_MAX" >&5
7496 cat > conftest.$ac_ext <<EOF
7497 #line 7498 "configure"
7498 #include "confdefs.h"
7501 int i = WCHAR_MIN; int j = WCHAR_MAX;
7504 if { (eval echo configure:7505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7506 has_wchar_minmax=yes
7508 echo "configure: failed program was:" >&5
7509 cat conftest.$ac_ext >&5
7514 echo "$ac_t""$has_wchar_minmax" 1>&6
7516 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
7517 echo "configure:7518: checking for WEOF" >&5
7518 cat > conftest.$ac_ext <<EOF
7519 #line 7520 "configure"
7520 #include "confdefs.h"
7528 if { (eval echo configure:7529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7532 echo "configure: failed program was:" >&5
7533 cat conftest.$ac_ext >&5
7538 echo "$ac_t""$has_weof" 1>&6
7541 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7543 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7544 echo "configure:7545: checking for $ac_func" >&5
7545 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7546 echo $ac_n "(cached) $ac_c" 1>&6
7548 cat > conftest.$ac_ext <<EOF
7549 #line 7550 "configure"
7550 #include "confdefs.h"
7551 /* System header to define __stub macros and hopefully few prototypes,
7552 which can conflict with char $ac_func(); below. */
7554 /* Override any gcc2 internal prototype to avoid an error. */
7555 /* We use char because int might match the return type of a gcc2
7556 builtin and then its argument prototype would still apply. */
7561 /* The GNU C library defines this for functions which it implements
7562 to always fail with ENOSYS. Some functions are actually named
7563 something starting with __ and the normal name is an alias. */
7564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7572 if { (eval echo configure:7573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7574 eval "ac_cv_func_$ac_func=yes"
7576 echo "configure: failed program was:" >&5
7577 cat conftest.$ac_ext >&5
7579 eval "ac_cv_func_$ac_func=no"
7584 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7585 echo "$ac_t""yes" 1>&6
7586 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7587 cat >> confdefs.h <<EOF
7588 #define $ac_tr_func 1
7592 echo "$ac_t""no" 1>&6
7599 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
7600 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7601 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7602 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7603 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7604 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7606 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7607 echo "configure:7608: checking for $ac_func" >&5
7608 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7609 echo $ac_n "(cached) $ac_c" 1>&6
7611 cat > conftest.$ac_ext <<EOF
7612 #line 7613 "configure"
7613 #include "confdefs.h"
7614 /* System header to define __stub macros and hopefully few prototypes,
7615 which can conflict with char $ac_func(); below. */
7617 /* Override any gcc2 internal prototype to avoid an error. */
7618 /* We use char because int might match the return type of a gcc2
7619 builtin and then its argument prototype would still apply. */
7624 /* The GNU C library defines this for functions which it implements
7625 to always fail with ENOSYS. Some functions are actually named
7626 something starting with __ and the normal name is an alias. */
7627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7635 if { (eval echo configure:7636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7637 eval "ac_cv_func_$ac_func=yes"
7639 echo "configure: failed program was:" >&5
7640 cat conftest.$ac_ext >&5
7642 eval "ac_cv_func_$ac_func=no"
7647 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7648 echo "$ac_t""yes" 1>&6
7649 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7650 cat >> confdefs.h <<EOF
7651 #define $ac_tr_func 1
7655 echo "$ac_t""no" 1>&6
7662 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
7663 echo "configure:7664: checking for ISO C99 wchar_t support" >&5
7664 if test x"$has_weof" = xyes &&
7665 test x"$has_wchar_minmax" = xyes &&
7666 test x"$ac_wfuncs" = xyes; then
7667 ac_isoC99_wchar_t=yes
7669 ac_isoC99_wchar_t=no
7671 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7673 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
7674 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
7675 echo "configure:7676: checking for iconv.h" >&5
7676 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7677 echo $ac_n "(cached) $ac_c" 1>&6
7679 cat > conftest.$ac_ext <<EOF
7680 #line 7681 "configure"
7681 #include "confdefs.h"
7684 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7685 { (eval echo configure:7686: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7686 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7687 if test -z "$ac_err"; then
7689 eval "ac_cv_header_$ac_safe=yes"
7692 echo "configure: failed program was:" >&5
7693 cat conftest.$ac_ext >&5
7695 eval "ac_cv_header_$ac_safe=no"
7699 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7700 echo "$ac_t""yes" 1>&6
7703 echo "$ac_t""no" 1>&6
7707 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
7708 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
7709 echo "configure:7710: checking for langinfo.h" >&5
7710 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7711 echo $ac_n "(cached) $ac_c" 1>&6
7713 cat > conftest.$ac_ext <<EOF
7714 #line 7715 "configure"
7715 #include "confdefs.h"
7716 #include <langinfo.h>
7718 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7719 { (eval echo configure:7720: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7720 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7721 if test -z "$ac_err"; then
7723 eval "ac_cv_header_$ac_safe=yes"
7726 echo "configure: failed program was:" >&5
7727 cat conftest.$ac_ext >&5
7729 eval "ac_cv_header_$ac_safe=no"
7733 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7734 echo "$ac_t""yes" 1>&6
7735 ac_has_langinfo_h=yes
7737 echo "$ac_t""no" 1>&6
7738 ac_has_langinfo_h=no
7742 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
7743 echo "configure:7744: checking for iconv in -liconv" >&5
7744 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7745 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7746 echo $ac_n "(cached) $ac_c" 1>&6
7748 ac_save_LIBS="$LIBS"
7749 LIBS="-liconv $LIBS"
7750 cat > conftest.$ac_ext <<EOF
7751 #line 7752 "configure"
7752 #include "confdefs.h"
7753 /* Override any gcc2 internal prototype to avoid an error. */
7754 /* We use char because int might match the return type of a gcc2
7755 builtin and then its argument prototype would still apply. */
7762 if { (eval echo configure:7763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7764 eval "ac_cv_lib_$ac_lib_var=yes"
7766 echo "configure: failed program was:" >&5
7767 cat conftest.$ac_ext >&5
7769 eval "ac_cv_lib_$ac_lib_var=no"
7772 LIBS="$ac_save_LIBS"
7775 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7776 echo "$ac_t""yes" 1>&6
7779 echo "$ac_t""no" 1>&6
7782 ac_save_LIBS="$LIBS"
7783 LIBS="$LIBS $libiconv"
7785 for ac_func in iconv_open iconv_close iconv nl_langinfo
7787 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7788 echo "configure:7789: checking for $ac_func" >&5
7789 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7790 echo $ac_n "(cached) $ac_c" 1>&6
7792 cat > conftest.$ac_ext <<EOF
7793 #line 7794 "configure"
7794 #include "confdefs.h"
7795 /* System header to define __stub macros and hopefully few prototypes,
7796 which can conflict with char $ac_func(); below. */
7798 /* Override any gcc2 internal prototype to avoid an error. */
7799 /* We use char because int might match the return type of a gcc2
7800 builtin and then its argument prototype would still apply. */
7805 /* The GNU C library defines this for functions which it implements
7806 to always fail with ENOSYS. Some functions are actually named
7807 something starting with __ and the normal name is an alias. */
7808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7816 if { (eval echo configure:7817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7818 eval "ac_cv_func_$ac_func=yes"
7820 echo "configure: failed program was:" >&5
7821 cat conftest.$ac_ext >&5
7823 eval "ac_cv_func_$ac_func=no"
7828 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7829 echo "$ac_t""yes" 1>&6
7830 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7831 cat >> confdefs.h <<EOF
7832 #define $ac_tr_func 1
7837 echo "$ac_t""no" 1>&6
7843 LIBS="$ac_save_LIBS"
7845 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
7846 echo "configure:7847: checking for XPG2 wchar_t support" >&5
7847 if test x"$ac_has_iconv_h" = xyes &&
7848 test x"$ac_has_langinfo_h" = xyes &&
7849 test x"$ac_XPG2funcs" = xyes; then
7854 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7856 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
7857 echo "configure:7858: checking for enabled wchar_t specializations" >&5
7858 if test x"$ac_isoC99_wchar_t" = xyes &&
7859 test x"$ac_XPG2_wchar_t" = xyes; then
7860 cat >> confdefs.h <<\EOF
7861 #define _GLIBCPP_USE_WCHAR_T 1
7864 echo "$ac_t"""yes"" 1>&6
7866 echo "$ac_t"""no"" 1>&6
7869 echo "configure: warning: wchar_t support disabled." 1>&2
7872 os_include_dir="config/os/mingw32"
7875 os_include_dir="config/os/windiss"
7878 os_include_dir="config/os/newlib"
7879 cat >> confdefs.h <<\EOF
7880 #define HAVE_HYPOT 1
7886 case "$target_alias" in
7890 cat >> confdefs.h <<\EOF
7891 #define HAVE_ACOSF 1
7894 cat >> confdefs.h <<\EOF
7895 #define HAVE_ASINF 1
7898 cat >> confdefs.h <<\EOF
7899 #define HAVE_ATAN2F 1
7902 cat >> confdefs.h <<\EOF
7903 #define HAVE_ATANF 1
7906 cat >> confdefs.h <<\EOF
7907 #define HAVE_CEILF 1
7910 cat >> confdefs.h <<\EOF
7911 #define HAVE_COPYSIGN 1
7914 cat >> confdefs.h <<\EOF
7915 #define HAVE_COPYSIGNF 1
7918 cat >> confdefs.h <<\EOF
7922 cat >> confdefs.h <<\EOF
7923 #define HAVE_COSHF 1
7926 cat >> confdefs.h <<\EOF
7930 cat >> confdefs.h <<\EOF
7931 #define HAVE_FABSF 1
7934 cat >> confdefs.h <<\EOF
7935 #define HAVE_FLOORF 1
7938 cat >> confdefs.h <<\EOF
7939 #define HAVE_FMODF 1
7942 cat >> confdefs.h <<\EOF
7943 #define HAVE_FREXPF 1
7946 cat >> confdefs.h <<\EOF
7947 #define HAVE_LDEXPF 1
7950 cat >> confdefs.h <<\EOF
7951 #define HAVE_LOG10F 1
7954 cat >> confdefs.h <<\EOF
7958 cat >> confdefs.h <<\EOF
7959 #define HAVE_MODFF 1
7962 cat >> confdefs.h <<\EOF
7966 cat >> confdefs.h <<\EOF
7970 cat >> confdefs.h <<\EOF
7971 #define HAVE_SINHF 1
7974 cat >> confdefs.h <<\EOF
7975 #define HAVE_SQRTF 1
7978 cat >> confdefs.h <<\EOF
7982 cat >> confdefs.h <<\EOF
7983 #define HAVE_TANHF 1
7988 # GLIBCPP_CHECK_STDLIB_SUPPORT
7989 cat >> confdefs.h <<\EOF
7990 #define HAVE_STRTOF 1
7993 cat >> confdefs.h <<\EOF
7994 #define HAVE_STRTOLD 1
7998 cat >> confdefs.h <<\EOF
8003 cat >> confdefs.h <<\EOF
8004 #define HAVE_ACOSF 1
8007 cat >> confdefs.h <<\EOF
8008 #define HAVE_ASINF 1
8011 cat >> confdefs.h <<\EOF
8012 #define HAVE_ATAN2F 1
8015 cat >> confdefs.h <<\EOF
8016 #define HAVE_ATANF 1
8019 cat >> confdefs.h <<\EOF
8020 #define HAVE_CEILF 1
8023 cat >> confdefs.h <<\EOF
8024 #define HAVE_COPYSIGN 1
8027 cat >> confdefs.h <<\EOF
8028 #define HAVE_COPYSIGNF 1
8031 cat >> confdefs.h <<\EOF
8035 cat >> confdefs.h <<\EOF
8036 #define HAVE_COSHF 1
8039 cat >> confdefs.h <<\EOF
8043 cat >> confdefs.h <<\EOF
8044 #define HAVE_FABSF 1
8047 cat >> confdefs.h <<\EOF
8048 #define HAVE_FINITE 1
8051 cat >> confdefs.h <<\EOF
8052 #define HAVE_FINITEF 1
8055 cat >> confdefs.h <<\EOF
8056 #define HAVE_FLOORF 1
8059 cat >> confdefs.h <<\EOF
8060 #define HAVE_FMODF 1
8063 cat >> confdefs.h <<\EOF
8064 #define HAVE_FREXPF 1
8067 cat >> confdefs.h <<\EOF
8068 #define HAVE_ISINF 1
8071 cat >> confdefs.h <<\EOF
8072 #define HAVE_ISINFF 1
8075 cat >> confdefs.h <<\EOF
8076 #define HAVE_ISNAN 1
8079 cat >> confdefs.h <<\EOF
8080 #define HAVE_ISNANF 1
8083 cat >> confdefs.h <<\EOF
8084 #define HAVE_LDEXPF 1
8087 cat >> confdefs.h <<\EOF
8088 #define HAVE_LOG10F 1
8091 cat >> confdefs.h <<\EOF
8095 cat >> confdefs.h <<\EOF
8096 #define HAVE_MODFF 1
8099 cat >> confdefs.h <<\EOF
8103 cat >> confdefs.h <<\EOF
8107 cat >> confdefs.h <<\EOF
8108 #define HAVE_SINHF 1
8111 cat >> confdefs.h <<\EOF
8112 #define HAVE_SQRTF 1
8115 cat >> confdefs.h <<\EOF
8119 cat >> confdefs.h <<\EOF
8120 #define HAVE_TANHF 1
8126 # At some point, we should differentiate between architectures
8127 # like x86, which have long double versions, and alpha/powerpc/etc.,
8128 # which don't. For the time being, punt.
8129 if test x"long_double_math_on_this_cpu" = x"yes"; then
8130 cat >> confdefs.h <<\EOF
8131 #define HAVE_ACOSL 1
8134 cat >> confdefs.h <<\EOF
8135 #define HAVE_ASINL 1
8138 cat >> confdefs.h <<\EOF
8139 #define HAVE_ATAN2L 1
8142 cat >> confdefs.h <<\EOF
8143 #define HAVE_ATANL 1
8146 cat >> confdefs.h <<\EOF
8147 #define HAVE_CEILL 1
8150 cat >> confdefs.h <<\EOF
8151 #define HAVE_COPYSIGNL 1
8154 cat >> confdefs.h <<\EOF
8158 cat >> confdefs.h <<\EOF
8159 #define HAVE_COSHL 1
8162 cat >> confdefs.h <<\EOF
8166 cat >> confdefs.h <<\EOF
8167 #define HAVE_FABSL 1
8170 cat >> confdefs.h <<\EOF
8171 #define HAVE_FINITEL 1
8174 cat >> confdefs.h <<\EOF
8175 #define HAVE_FLOORL 1
8178 cat >> confdefs.h <<\EOF
8179 #define HAVE_FMODL 1
8182 cat >> confdefs.h <<\EOF
8183 #define HAVE_FREXPL 1
8186 cat >> confdefs.h <<\EOF
8187 #define HAVE_ISINFL 1
8190 cat >> confdefs.h <<\EOF
8191 #define HAVE_ISNANL 1
8194 cat >> confdefs.h <<\EOF
8195 #define HAVE_LDEXPL 1
8198 cat >> confdefs.h <<\EOF
8199 #define HAVE_LOG10L 1
8202 cat >> confdefs.h <<\EOF
8206 cat >> confdefs.h <<\EOF
8207 #define HAVE_MODFL 1
8210 cat >> confdefs.h <<\EOF
8214 cat >> confdefs.h <<\EOF
8215 #define HAVE_SINCOSL 1
8218 cat >> confdefs.h <<\EOF
8222 cat >> confdefs.h <<\EOF
8223 #define HAVE_SINHL 1
8226 cat >> confdefs.h <<\EOF
8227 #define HAVE_SQRTL 1
8230 cat >> confdefs.h <<\EOF
8234 cat >> confdefs.h <<\EOF
8235 #define HAVE_TANHL 1
8241 # We are being configured natively. We can do more elaborate tests
8242 # that include AC_TRY_COMPILE now, as the linker is assumed to be
8244 GLIBCPP_IS_CROSS_COMPILING=0
8247 # Check for available headers.
8248 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
8249 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h
8251 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8252 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8253 echo "configure:8254: checking for $ac_hdr" >&5
8254 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8255 echo $ac_n "(cached) $ac_c" 1>&6
8257 cat > conftest.$ac_ext <<EOF
8258 #line 8259 "configure"
8259 #include "confdefs.h"
8262 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8263 { (eval echo configure:8264: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8264 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8265 if test -z "$ac_err"; then
8267 eval "ac_cv_header_$ac_safe=yes"
8270 echo "configure: failed program was:" >&5
8271 cat conftest.$ac_ext >&5
8273 eval "ac_cv_header_$ac_safe=no"
8277 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8278 echo "$ac_t""yes" 1>&6
8279 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8280 cat >> confdefs.h <<EOF
8281 #define $ac_tr_hdr 1
8285 echo "$ac_t""no" 1>&6
8291 # All these tests are for C++; save the language and the compiler flags.
8292 # The CXXFLAGS thing is suspicious, but based on similar bits previously
8293 # found in GLIBCPP_CONFIGURE.
8296 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8297 ac_cpp='$CXXCPP $CPPFLAGS'
8298 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8299 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8300 cross_compiling=$ac_cv_prog_cxx_cross
8302 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8303 ac_save_CXXFLAGS="$CXXFLAGS"
8305 # Check for maintainer-mode bits.
8306 if test x"$USE_MAINTAINER_MODE" = xno; then
8312 # Check for -ffunction-sections -fdata-sections
8313 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
8314 echo "configure:8315: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8315 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8316 cat > conftest.$ac_ext <<EOF
8317 #line 8318 "configure"
8318 #include "confdefs.h"
8325 if { (eval echo configure:8326: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8329 echo "configure: failed program was:" >&5
8330 cat conftest.$ac_ext >&5
8335 if test "$ac_test_CXXFLAGS" = set; then
8336 CXXFLAGS="$ac_save_CXXFLAGS"
8338 # this is the suspicious part
8341 if test x"$ac_fdsections" = x"yes" &&
8342 test x"$enable_debug" = x"no"; then
8343 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8345 echo "$ac_t""$ac_fdsections" 1>&6
8348 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8349 ac_cpp='$CPP $CPPFLAGS'
8350 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8351 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8352 cross_compiling=$ac_cv_prog_cc_cross
8358 # If we're not using GNU ld, then there's no point in even trying these
8359 # tests. Check for that first. We should have already tested for gld
8360 # by now (in libtool), but require it now just to be safe...
8361 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8362 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8365 # The name set by libtool depends on the version of libtool. Shame on us
8366 # for depending on an impl detail, but c'est la vie. Older versions used
8367 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8368 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8369 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8370 # set (hence we're using an older libtool), then set it.
8371 if test x${with_gnu_ld+set} != xset; then
8372 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8373 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8376 with_gnu_ld=$ac_cv_prog_gnu_ld
8380 # Start by getting the version number. I think the libtool test already
8381 # does some of this, but throws away the result.
8383 ldver=`$LD --version 2>/dev/null | head -1 | \
8384 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8386 glibcpp_gnu_ld_version=`echo $ldver | \
8387 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8389 # Set --gc-sections.
8390 if test "$with_gnu_ld" = "notbroken"; then
8391 # GNU ld it is! Joy and bunny rabbits!
8393 # All these tests are for C++; save the language and the compiler flags.
8394 # Need to do this so that g++ won't try to link in libstdc++
8395 ac_test_CFLAGS="${CFLAGS+set}"
8396 ac_save_CFLAGS="$CFLAGS"
8397 CFLAGS='-x c++ -Wl,--gc-sections'
8399 # Check for -Wl,--gc-sections
8400 # XXX This test is broken at the moment, as symbols required for
8401 # linking are now in libsupc++ (not built yet.....). In addition,
8402 # this test has cored on solaris in the past. In addition,
8403 # --gc-sections doesn't really work at the moment (keeps on discarding
8404 # used sections, first .eh_frame and now some of the glibc sections for
8405 # iconv). Bzzzzt. Thanks for playing, maybe next time.
8406 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
8407 echo "configure:8408: checking for ld that supports -Wl,--gc-sections" >&5
8408 if test "$cross_compiling" = yes; then
8409 ac_sectionLDflags=yes
8411 cat > conftest.$ac_ext <<EOF
8412 #line 8413 "configure"
8413 #include "confdefs.h"
8423 if { (eval echo configure:8424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8425 ac_sectionLDflags=yes
8427 echo "configure: failed program was:" >&5
8428 cat conftest.$ac_ext >&5
8430 ac_sectionLDflags=no
8435 if test "$ac_test_CFLAGS" = set; then
8436 CFLAGS="$ac_save_CFLAGS"
8438 # this is the suspicious part
8441 if test "$ac_sectionLDflags" = "yes"; then
8442 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8444 echo "$ac_t""$ac_sectionLDflags" 1>&6
8447 # Set linker optimization flags.
8448 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
8449 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8457 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
8458 echo "configure:8459: checking for __builtin_abs declaration" >&5
8459 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
8460 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
8461 echo $ac_n "(cached) $ac_c" 1>&6
8466 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8467 ac_cpp='$CXXCPP $CPPFLAGS'
8468 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8469 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8470 cross_compiling=$ac_cv_prog_cxx_cross
8472 cat > conftest.$ac_ext <<EOF
8473 #line 8474 "configure"
8474 #include "confdefs.h"
8480 if { (eval echo configure:8481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8482 glibcpp_cv_func___builtin_abs_use=yes
8484 echo "configure: failed program was:" >&5
8485 cat conftest.$ac_ext >&5
8487 glibcpp_cv_func___builtin_abs_use=no
8491 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8492 ac_cpp='$CPP $CPPFLAGS'
8493 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8494 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8495 cross_compiling=$ac_cv_prog_cc_cross
8501 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
8502 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
8503 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
8504 echo "configure:8505: checking for __builtin_abs linkage" >&5
8505 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
8506 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
8507 echo $ac_n "(cached) $ac_c" 1>&6
8510 cat > conftest.$ac_ext <<EOF
8511 #line 8512 "configure"
8512 #include "confdefs.h"
8518 if { (eval echo configure:8519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8520 glibcpp_cv_func___builtin_abs_link=yes
8522 echo "configure: failed program was:" >&5
8523 cat conftest.$ac_ext >&5
8525 glibcpp_cv_func___builtin_abs_link=no
8532 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
8533 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
8534 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8535 cat >> confdefs.h <<EOF
8536 #define ${ac_tr_func} 1
8543 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
8544 echo "configure:8545: checking for __builtin_fabsf declaration" >&5
8545 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
8546 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
8547 echo $ac_n "(cached) $ac_c" 1>&6
8552 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8553 ac_cpp='$CXXCPP $CPPFLAGS'
8554 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8555 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8556 cross_compiling=$ac_cv_prog_cxx_cross
8558 cat > conftest.$ac_ext <<EOF
8559 #line 8560 "configure"
8560 #include "confdefs.h"
8566 if { (eval echo configure:8567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8568 glibcpp_cv_func___builtin_fabsf_use=yes
8570 echo "configure: failed program was:" >&5
8571 cat conftest.$ac_ext >&5
8573 glibcpp_cv_func___builtin_fabsf_use=no
8577 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8578 ac_cpp='$CPP $CPPFLAGS'
8579 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8580 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8581 cross_compiling=$ac_cv_prog_cc_cross
8587 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
8588 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
8589 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
8590 echo "configure:8591: checking for __builtin_fabsf linkage" >&5
8591 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
8592 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
8593 echo $ac_n "(cached) $ac_c" 1>&6
8596 cat > conftest.$ac_ext <<EOF
8597 #line 8598 "configure"
8598 #include "confdefs.h"
8604 if { (eval echo configure:8605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8606 glibcpp_cv_func___builtin_fabsf_link=yes
8608 echo "configure: failed program was:" >&5
8609 cat conftest.$ac_ext >&5
8611 glibcpp_cv_func___builtin_fabsf_link=no
8618 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
8619 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
8620 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8621 cat >> confdefs.h <<EOF
8622 #define ${ac_tr_func} 1
8629 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
8630 echo "configure:8631: checking for __builtin_fabs declaration" >&5
8631 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
8632 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
8633 echo $ac_n "(cached) $ac_c" 1>&6
8638 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8639 ac_cpp='$CXXCPP $CPPFLAGS'
8640 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8641 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8642 cross_compiling=$ac_cv_prog_cxx_cross
8644 cat > conftest.$ac_ext <<EOF
8645 #line 8646 "configure"
8646 #include "confdefs.h"
8652 if { (eval echo configure:8653: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8654 glibcpp_cv_func___builtin_fabs_use=yes
8656 echo "configure: failed program was:" >&5
8657 cat conftest.$ac_ext >&5
8659 glibcpp_cv_func___builtin_fabs_use=no
8663 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8664 ac_cpp='$CPP $CPPFLAGS'
8665 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8666 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8667 cross_compiling=$ac_cv_prog_cc_cross
8673 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
8674 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
8675 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
8676 echo "configure:8677: checking for __builtin_fabs linkage" >&5
8677 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
8678 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
8679 echo $ac_n "(cached) $ac_c" 1>&6
8682 cat > conftest.$ac_ext <<EOF
8683 #line 8684 "configure"
8684 #include "confdefs.h"
8690 if { (eval echo configure:8691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8692 glibcpp_cv_func___builtin_fabs_link=yes
8694 echo "configure: failed program was:" >&5
8695 cat conftest.$ac_ext >&5
8697 glibcpp_cv_func___builtin_fabs_link=no
8704 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
8705 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
8706 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8707 cat >> confdefs.h <<EOF
8708 #define ${ac_tr_func} 1
8715 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
8716 echo "configure:8717: checking for __builtin_fabsl declaration" >&5
8717 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
8718 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
8719 echo $ac_n "(cached) $ac_c" 1>&6
8724 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8725 ac_cpp='$CXXCPP $CPPFLAGS'
8726 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8727 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8728 cross_compiling=$ac_cv_prog_cxx_cross
8730 cat > conftest.$ac_ext <<EOF
8731 #line 8732 "configure"
8732 #include "confdefs.h"
8738 if { (eval echo configure:8739: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8740 glibcpp_cv_func___builtin_fabsl_use=yes
8742 echo "configure: failed program was:" >&5
8743 cat conftest.$ac_ext >&5
8745 glibcpp_cv_func___builtin_fabsl_use=no
8749 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8750 ac_cpp='$CPP $CPPFLAGS'
8751 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8752 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8753 cross_compiling=$ac_cv_prog_cc_cross
8759 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
8760 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
8761 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
8762 echo "configure:8763: checking for __builtin_fabsl linkage" >&5
8763 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
8764 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
8765 echo $ac_n "(cached) $ac_c" 1>&6
8768 cat > conftest.$ac_ext <<EOF
8769 #line 8770 "configure"
8770 #include "confdefs.h"
8776 if { (eval echo configure:8777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8778 glibcpp_cv_func___builtin_fabsl_link=yes
8780 echo "configure: failed program was:" >&5
8781 cat conftest.$ac_ext >&5
8783 glibcpp_cv_func___builtin_fabsl_link=no
8790 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
8791 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
8792 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8793 cat >> confdefs.h <<EOF
8794 #define ${ac_tr_func} 1
8801 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
8802 echo "configure:8803: checking for __builtin_labs declaration" >&5
8803 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
8804 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
8805 echo $ac_n "(cached) $ac_c" 1>&6
8810 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8811 ac_cpp='$CXXCPP $CPPFLAGS'
8812 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8813 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8814 cross_compiling=$ac_cv_prog_cxx_cross
8816 cat > conftest.$ac_ext <<EOF
8817 #line 8818 "configure"
8818 #include "confdefs.h"
8824 if { (eval echo configure:8825: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8826 glibcpp_cv_func___builtin_labs_use=yes
8828 echo "configure: failed program was:" >&5
8829 cat conftest.$ac_ext >&5
8831 glibcpp_cv_func___builtin_labs_use=no
8835 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8836 ac_cpp='$CPP $CPPFLAGS'
8837 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8838 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8839 cross_compiling=$ac_cv_prog_cc_cross
8845 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
8846 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
8847 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
8848 echo "configure:8849: checking for __builtin_labs linkage" >&5
8849 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
8850 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
8851 echo $ac_n "(cached) $ac_c" 1>&6
8854 cat > conftest.$ac_ext <<EOF
8855 #line 8856 "configure"
8856 #include "confdefs.h"
8862 if { (eval echo configure:8863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8864 glibcpp_cv_func___builtin_labs_link=yes
8866 echo "configure: failed program was:" >&5
8867 cat conftest.$ac_ext >&5
8869 glibcpp_cv_func___builtin_labs_link=no
8876 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
8877 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
8878 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8879 cat >> confdefs.h <<EOF
8880 #define ${ac_tr_func} 1
8888 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
8889 echo "configure:8890: checking for __builtin_sqrtf declaration" >&5
8890 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
8891 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
8892 echo $ac_n "(cached) $ac_c" 1>&6
8897 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8898 ac_cpp='$CXXCPP $CPPFLAGS'
8899 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8900 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8901 cross_compiling=$ac_cv_prog_cxx_cross
8903 cat > conftest.$ac_ext <<EOF
8904 #line 8905 "configure"
8905 #include "confdefs.h"
8911 if { (eval echo configure:8912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8913 glibcpp_cv_func___builtin_sqrtf_use=yes
8915 echo "configure: failed program was:" >&5
8916 cat conftest.$ac_ext >&5
8918 glibcpp_cv_func___builtin_sqrtf_use=no
8922 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8923 ac_cpp='$CPP $CPPFLAGS'
8924 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8925 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8926 cross_compiling=$ac_cv_prog_cc_cross
8932 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
8933 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
8934 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
8935 echo "configure:8936: checking for __builtin_sqrtf linkage" >&5
8936 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
8937 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
8938 echo $ac_n "(cached) $ac_c" 1>&6
8941 cat > conftest.$ac_ext <<EOF
8942 #line 8943 "configure"
8943 #include "confdefs.h"
8949 if { (eval echo configure:8950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8951 glibcpp_cv_func___builtin_sqrtf_link=yes
8953 echo "configure: failed program was:" >&5
8954 cat conftest.$ac_ext >&5
8956 glibcpp_cv_func___builtin_sqrtf_link=no
8963 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
8964 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
8965 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8966 cat >> confdefs.h <<EOF
8967 #define ${ac_tr_func} 1
8974 echo $ac_n "checking for __builtin_sqrt declaration""... $ac_c" 1>&6
8975 echo "configure:8976: checking for __builtin_sqrt declaration" >&5
8976 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
8977 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
8978 echo $ac_n "(cached) $ac_c" 1>&6
8983 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8984 ac_cpp='$CXXCPP $CPPFLAGS'
8985 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8986 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8987 cross_compiling=$ac_cv_prog_cxx_cross
8989 cat > conftest.$ac_ext <<EOF
8990 #line 8991 "configure"
8991 #include "confdefs.h"
8997 if { (eval echo configure:8998: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8999 glibcpp_cv_func___builtin_sqrt_use=yes
9001 echo "configure: failed program was:" >&5
9002 cat conftest.$ac_ext >&5
9004 glibcpp_cv_func___builtin_sqrt_use=no
9008 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9009 ac_cpp='$CPP $CPPFLAGS'
9010 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9011 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9012 cross_compiling=$ac_cv_prog_cc_cross
9018 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
9019 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
9020 echo $ac_n "checking for __builtin_sqrt linkage""... $ac_c" 1>&6
9021 echo "configure:9022: checking for __builtin_sqrt linkage" >&5
9022 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
9023 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
9024 echo $ac_n "(cached) $ac_c" 1>&6
9027 cat > conftest.$ac_ext <<EOF
9028 #line 9029 "configure"
9029 #include "confdefs.h"
9035 if { (eval echo configure:9036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9037 glibcpp_cv_func___builtin_sqrt_link=yes
9039 echo "configure: failed program was:" >&5
9040 cat conftest.$ac_ext >&5
9042 glibcpp_cv_func___builtin_sqrt_link=no
9049 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
9050 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
9051 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9052 cat >> confdefs.h <<EOF
9053 #define ${ac_tr_func} 1
9060 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
9061 echo "configure:9062: checking for __builtin_sqrtl declaration" >&5
9062 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
9063 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
9064 echo $ac_n "(cached) $ac_c" 1>&6
9069 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9070 ac_cpp='$CXXCPP $CPPFLAGS'
9071 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9072 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9073 cross_compiling=$ac_cv_prog_cxx_cross
9075 cat > conftest.$ac_ext <<EOF
9076 #line 9077 "configure"
9077 #include "confdefs.h"
9083 if { (eval echo configure:9084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9085 glibcpp_cv_func___builtin_sqrtl_use=yes
9087 echo "configure: failed program was:" >&5
9088 cat conftest.$ac_ext >&5
9090 glibcpp_cv_func___builtin_sqrtl_use=no
9094 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9095 ac_cpp='$CPP $CPPFLAGS'
9096 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9097 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9098 cross_compiling=$ac_cv_prog_cc_cross
9104 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
9105 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
9106 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
9107 echo "configure:9108: checking for __builtin_sqrtl linkage" >&5
9108 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
9109 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
9110 echo $ac_n "(cached) $ac_c" 1>&6
9113 cat > conftest.$ac_ext <<EOF
9114 #line 9115 "configure"
9115 #include "confdefs.h"
9121 if { (eval echo configure:9122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9123 glibcpp_cv_func___builtin_sqrtl_link=yes
9125 echo "configure: failed program was:" >&5
9126 cat conftest.$ac_ext >&5
9128 glibcpp_cv_func___builtin_sqrtl_link=no
9135 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
9136 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
9137 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9138 cat >> confdefs.h <<EOF
9139 #define ${ac_tr_func} 1
9147 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
9148 echo "configure:9149: checking for __builtin_sinf declaration" >&5
9149 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
9150 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
9151 echo $ac_n "(cached) $ac_c" 1>&6
9156 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9157 ac_cpp='$CXXCPP $CPPFLAGS'
9158 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9159 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9160 cross_compiling=$ac_cv_prog_cxx_cross
9162 cat > conftest.$ac_ext <<EOF
9163 #line 9164 "configure"
9164 #include "confdefs.h"
9170 if { (eval echo configure:9171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9172 glibcpp_cv_func___builtin_sinf_use=yes
9174 echo "configure: failed program was:" >&5
9175 cat conftest.$ac_ext >&5
9177 glibcpp_cv_func___builtin_sinf_use=no
9181 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9182 ac_cpp='$CPP $CPPFLAGS'
9183 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9184 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9185 cross_compiling=$ac_cv_prog_cc_cross
9191 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
9192 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
9193 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
9194 echo "configure:9195: checking for __builtin_sinf linkage" >&5
9195 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
9196 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
9197 echo $ac_n "(cached) $ac_c" 1>&6
9200 cat > conftest.$ac_ext <<EOF
9201 #line 9202 "configure"
9202 #include "confdefs.h"
9208 if { (eval echo configure:9209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9210 glibcpp_cv_func___builtin_sinf_link=yes
9212 echo "configure: failed program was:" >&5
9213 cat conftest.$ac_ext >&5
9215 glibcpp_cv_func___builtin_sinf_link=no
9222 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
9223 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
9224 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9225 cat >> confdefs.h <<EOF
9226 #define ${ac_tr_func} 1
9233 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
9234 echo "configure:9235: checking for __builtin_sin declaration" >&5
9235 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
9236 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
9237 echo $ac_n "(cached) $ac_c" 1>&6
9242 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9243 ac_cpp='$CXXCPP $CPPFLAGS'
9244 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9245 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9246 cross_compiling=$ac_cv_prog_cxx_cross
9248 cat > conftest.$ac_ext <<EOF
9249 #line 9250 "configure"
9250 #include "confdefs.h"
9256 if { (eval echo configure:9257: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9258 glibcpp_cv_func___builtin_sin_use=yes
9260 echo "configure: failed program was:" >&5
9261 cat conftest.$ac_ext >&5
9263 glibcpp_cv_func___builtin_sin_use=no
9267 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9268 ac_cpp='$CPP $CPPFLAGS'
9269 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9270 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9271 cross_compiling=$ac_cv_prog_cc_cross
9277 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
9278 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
9279 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
9280 echo "configure:9281: checking for __builtin_sin linkage" >&5
9281 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
9282 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
9283 echo $ac_n "(cached) $ac_c" 1>&6
9286 cat > conftest.$ac_ext <<EOF
9287 #line 9288 "configure"
9288 #include "confdefs.h"
9294 if { (eval echo configure:9295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9296 glibcpp_cv_func___builtin_sin_link=yes
9298 echo "configure: failed program was:" >&5
9299 cat conftest.$ac_ext >&5
9301 glibcpp_cv_func___builtin_sin_link=no
9308 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
9309 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
9310 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9311 cat >> confdefs.h <<EOF
9312 #define ${ac_tr_func} 1
9319 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
9320 echo "configure:9321: checking for __builtin_sinl declaration" >&5
9321 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
9322 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
9323 echo $ac_n "(cached) $ac_c" 1>&6
9328 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9329 ac_cpp='$CXXCPP $CPPFLAGS'
9330 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9331 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9332 cross_compiling=$ac_cv_prog_cxx_cross
9334 cat > conftest.$ac_ext <<EOF
9335 #line 9336 "configure"
9336 #include "confdefs.h"
9342 if { (eval echo configure:9343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9344 glibcpp_cv_func___builtin_sinl_use=yes
9346 echo "configure: failed program was:" >&5
9347 cat conftest.$ac_ext >&5
9349 glibcpp_cv_func___builtin_sinl_use=no
9353 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9354 ac_cpp='$CPP $CPPFLAGS'
9355 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9356 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9357 cross_compiling=$ac_cv_prog_cc_cross
9363 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
9364 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
9365 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
9366 echo "configure:9367: checking for __builtin_sinl linkage" >&5
9367 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
9368 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
9369 echo $ac_n "(cached) $ac_c" 1>&6
9372 cat > conftest.$ac_ext <<EOF
9373 #line 9374 "configure"
9374 #include "confdefs.h"
9380 if { (eval echo configure:9381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9382 glibcpp_cv_func___builtin_sinl_link=yes
9384 echo "configure: failed program was:" >&5
9385 cat conftest.$ac_ext >&5
9387 glibcpp_cv_func___builtin_sinl_link=no
9394 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
9395 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
9396 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9397 cat >> confdefs.h <<EOF
9398 #define ${ac_tr_func} 1
9406 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
9407 echo "configure:9408: checking for __builtin_cosf declaration" >&5
9408 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
9409 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
9410 echo $ac_n "(cached) $ac_c" 1>&6
9415 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9416 ac_cpp='$CXXCPP $CPPFLAGS'
9417 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9418 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9419 cross_compiling=$ac_cv_prog_cxx_cross
9421 cat > conftest.$ac_ext <<EOF
9422 #line 9423 "configure"
9423 #include "confdefs.h"
9429 if { (eval echo configure:9430: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9431 glibcpp_cv_func___builtin_cosf_use=yes
9433 echo "configure: failed program was:" >&5
9434 cat conftest.$ac_ext >&5
9436 glibcpp_cv_func___builtin_cosf_use=no
9440 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9441 ac_cpp='$CPP $CPPFLAGS'
9442 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9443 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9444 cross_compiling=$ac_cv_prog_cc_cross
9450 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
9451 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
9452 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
9453 echo "configure:9454: checking for __builtin_cosf linkage" >&5
9454 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
9455 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
9456 echo $ac_n "(cached) $ac_c" 1>&6
9459 cat > conftest.$ac_ext <<EOF
9460 #line 9461 "configure"
9461 #include "confdefs.h"
9467 if { (eval echo configure:9468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9469 glibcpp_cv_func___builtin_cosf_link=yes
9471 echo "configure: failed program was:" >&5
9472 cat conftest.$ac_ext >&5
9474 glibcpp_cv_func___builtin_cosf_link=no
9481 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
9482 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
9483 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9484 cat >> confdefs.h <<EOF
9485 #define ${ac_tr_func} 1
9492 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
9493 echo "configure:9494: checking for __builtin_cos declaration" >&5
9494 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
9495 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
9496 echo $ac_n "(cached) $ac_c" 1>&6
9501 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9502 ac_cpp='$CXXCPP $CPPFLAGS'
9503 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9504 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9505 cross_compiling=$ac_cv_prog_cxx_cross
9507 cat > conftest.$ac_ext <<EOF
9508 #line 9509 "configure"
9509 #include "confdefs.h"
9515 if { (eval echo configure:9516: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9517 glibcpp_cv_func___builtin_cos_use=yes
9519 echo "configure: failed program was:" >&5
9520 cat conftest.$ac_ext >&5
9522 glibcpp_cv_func___builtin_cos_use=no
9526 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9527 ac_cpp='$CPP $CPPFLAGS'
9528 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9529 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9530 cross_compiling=$ac_cv_prog_cc_cross
9536 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
9537 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
9538 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
9539 echo "configure:9540: checking for __builtin_cos linkage" >&5
9540 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
9541 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
9542 echo $ac_n "(cached) $ac_c" 1>&6
9545 cat > conftest.$ac_ext <<EOF
9546 #line 9547 "configure"
9547 #include "confdefs.h"
9553 if { (eval echo configure:9554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9555 glibcpp_cv_func___builtin_cos_link=yes
9557 echo "configure: failed program was:" >&5
9558 cat conftest.$ac_ext >&5
9560 glibcpp_cv_func___builtin_cos_link=no
9567 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
9568 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
9569 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9570 cat >> confdefs.h <<EOF
9571 #define ${ac_tr_func} 1
9578 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
9579 echo "configure:9580: checking for __builtin_cosl declaration" >&5
9580 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
9581 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
9582 echo $ac_n "(cached) $ac_c" 1>&6
9587 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9588 ac_cpp='$CXXCPP $CPPFLAGS'
9589 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9590 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9591 cross_compiling=$ac_cv_prog_cxx_cross
9593 cat > conftest.$ac_ext <<EOF
9594 #line 9595 "configure"
9595 #include "confdefs.h"
9601 if { (eval echo configure:9602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9603 glibcpp_cv_func___builtin_cosl_use=yes
9605 echo "configure: failed program was:" >&5
9606 cat conftest.$ac_ext >&5
9608 glibcpp_cv_func___builtin_cosl_use=no
9612 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9613 ac_cpp='$CPP $CPPFLAGS'
9614 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9615 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9616 cross_compiling=$ac_cv_prog_cc_cross
9622 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
9623 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
9624 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
9625 echo "configure:9626: checking for __builtin_cosl linkage" >&5
9626 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
9627 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
9628 echo $ac_n "(cached) $ac_c" 1>&6
9631 cat > conftest.$ac_ext <<EOF
9632 #line 9633 "configure"
9633 #include "confdefs.h"
9639 if { (eval echo configure:9640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9641 glibcpp_cv_func___builtin_cosl_link=yes
9643 echo "configure: failed program was:" >&5
9644 cat conftest.$ac_ext >&5
9646 glibcpp_cv_func___builtin_cosl_link=no
9653 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
9654 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
9655 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9656 cat >> confdefs.h <<EOF
9657 #define ${ac_tr_func} 1
9665 if test x$dummyvar = x"yes"; then
9666 cat >> confdefs.h <<\EOF
9667 #define HAVE___BUILTIN_ABS 1
9670 cat >> confdefs.h <<\EOF
9671 #define HAVE___BUILTIN_LABS 1
9674 cat >> confdefs.h <<\EOF
9675 #define HAVE___BUILTIN_COS 1
9678 cat >> confdefs.h <<\EOF
9679 #define HAVE___BUILTIN_COSF 1
9682 cat >> confdefs.h <<\EOF
9683 #define HAVE___BUILTIN_COSL 1
9686 cat >> confdefs.h <<\EOF
9687 #define HAVE___BUILTIN_FABS 1
9690 cat >> confdefs.h <<\EOF
9691 #define HAVE___BUILTIN_FABSF 1
9694 cat >> confdefs.h <<\EOF
9695 #define HAVE___BUILTIN_FABSL 1
9698 cat >> confdefs.h <<\EOF
9699 #define HAVE___BUILTIN_SIN 1
9702 cat >> confdefs.h <<\EOF
9703 #define HAVE___BUILTIN_SINF 1
9706 cat >> confdefs.h <<\EOF
9707 #define HAVE___BUILTIN_SINL 1
9710 cat >> confdefs.h <<\EOF
9711 #define HAVE___BUILTIN_SQRT 1
9714 cat >> confdefs.h <<\EOF
9715 #define HAVE___BUILTIN_SQRTF 1
9718 cat >> confdefs.h <<\EOF
9719 #define HAVE___BUILTIN_SQRTL 1
9725 ac_test_CXXFLAGS="${CXXFLAGS+set}"
9726 ac_save_CXXFLAGS="$CXXFLAGS"
9727 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
9729 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
9730 echo "configure:9731: checking for sin in -lm" >&5
9731 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
9732 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9733 echo $ac_n "(cached) $ac_c" 1>&6
9735 ac_save_LIBS="$LIBS"
9737 cat > conftest.$ac_ext <<EOF
9738 #line 9739 "configure"
9739 #include "confdefs.h"
9740 /* Override any gcc2 internal prototype to avoid an error. */
9741 /* We use char because int might match the return type of a gcc2
9742 builtin and then its argument prototype would still apply. */
9749 if { (eval echo configure:9750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9751 eval "ac_cv_lib_$ac_lib_var=yes"
9753 echo "configure: failed program was:" >&5
9754 cat conftest.$ac_ext >&5
9756 eval "ac_cv_lib_$ac_lib_var=no"
9759 LIBS="$ac_save_LIBS"
9762 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9763 echo "$ac_t""yes" 1>&6
9766 echo "$ac_t""no" 1>&6
9769 ac_save_LIBS="$LIBS"
9774 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
9775 echo "configure:9776: checking for isinf declaration" >&5
9776 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
9777 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
9778 echo $ac_n "(cached) $ac_c" 1>&6
9783 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9784 ac_cpp='$CXXCPP $CPPFLAGS'
9785 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9786 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9787 cross_compiling=$ac_cv_prog_cxx_cross
9789 cat > conftest.$ac_ext <<EOF
9790 #line 9791 "configure"
9791 #include "confdefs.h"
9793 #ifdef HAVE_IEEEFP_H
9801 if { (eval echo configure:9802: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9803 glibcpp_cv_func_isinf_use=yes
9805 echo "configure: failed program was:" >&5
9806 cat conftest.$ac_ext >&5
9808 glibcpp_cv_func_isinf_use=no
9812 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9813 ac_cpp='$CPP $CPPFLAGS'
9814 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9815 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9816 cross_compiling=$ac_cv_prog_cc_cross
9822 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
9824 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
9825 for ac_func in isinf
9827 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9828 echo "configure:9829: checking for $ac_func" >&5
9829 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9830 echo $ac_n "(cached) $ac_c" 1>&6
9832 cat > conftest.$ac_ext <<EOF
9833 #line 9834 "configure"
9834 #include "confdefs.h"
9835 /* System header to define __stub macros and hopefully few prototypes,
9836 which can conflict with char $ac_func(); below. */
9838 /* Override any gcc2 internal prototype to avoid an error. */
9839 /* We use char because int might match the return type of a gcc2
9840 builtin and then its argument prototype would still apply. */
9845 /* The GNU C library defines this for functions which it implements
9846 to always fail with ENOSYS. Some functions are actually named
9847 something starting with __ and the normal name is an alias. */
9848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9856 if { (eval echo configure:9857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9858 eval "ac_cv_func_$ac_func=yes"
9860 echo "configure: failed program was:" >&5
9861 cat conftest.$ac_ext >&5
9863 eval "ac_cv_func_$ac_func=no"
9868 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9869 echo "$ac_t""yes" 1>&6
9870 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9871 cat >> confdefs.h <<EOF
9872 #define $ac_tr_func 1
9876 echo "$ac_t""no" 1>&6
9882 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
9883 echo "configure:9884: checking for _isinf declaration" >&5
9884 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
9885 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
9886 echo $ac_n "(cached) $ac_c" 1>&6
9891 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9892 ac_cpp='$CXXCPP $CPPFLAGS'
9893 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9894 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9895 cross_compiling=$ac_cv_prog_cxx_cross
9897 cat > conftest.$ac_ext <<EOF
9898 #line 9899 "configure"
9899 #include "confdefs.h"
9901 #ifdef HAVE_IEEEFP_H
9909 if { (eval echo configure:9910: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9911 glibcpp_cv_func__isinf_use=yes
9913 echo "configure: failed program was:" >&5
9914 cat conftest.$ac_ext >&5
9916 glibcpp_cv_func__isinf_use=no
9920 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9921 ac_cpp='$CPP $CPPFLAGS'
9922 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9923 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9924 cross_compiling=$ac_cv_prog_cc_cross
9930 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
9932 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
9933 for ac_func in _isinf
9935 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9936 echo "configure:9937: checking for $ac_func" >&5
9937 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9938 echo $ac_n "(cached) $ac_c" 1>&6
9940 cat > conftest.$ac_ext <<EOF
9941 #line 9942 "configure"
9942 #include "confdefs.h"
9943 /* System header to define __stub macros and hopefully few prototypes,
9944 which can conflict with char $ac_func(); below. */
9946 /* Override any gcc2 internal prototype to avoid an error. */
9947 /* We use char because int might match the return type of a gcc2
9948 builtin and then its argument prototype would still apply. */
9953 /* The GNU C library defines this for functions which it implements
9954 to always fail with ENOSYS. Some functions are actually named
9955 something starting with __ and the normal name is an alias. */
9956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9964 if { (eval echo configure:9965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9966 eval "ac_cv_func_$ac_func=yes"
9968 echo "configure: failed program was:" >&5
9969 cat conftest.$ac_ext >&5
9971 eval "ac_cv_func_$ac_func=no"
9976 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9977 echo "$ac_t""yes" 1>&6
9978 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9979 cat >> confdefs.h <<EOF
9980 #define $ac_tr_func 1
9984 echo "$ac_t""no" 1>&6
9993 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
9994 echo "configure:9995: checking for isnan declaration" >&5
9995 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
9996 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
9997 echo $ac_n "(cached) $ac_c" 1>&6
10002 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10003 ac_cpp='$CXXCPP $CPPFLAGS'
10004 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10005 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10006 cross_compiling=$ac_cv_prog_cxx_cross
10008 cat > conftest.$ac_ext <<EOF
10009 #line 10010 "configure"
10010 #include "confdefs.h"
10012 #ifdef HAVE_IEEEFP_H
10013 #include <ieeefp.h>
10020 if { (eval echo configure:10021: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10022 glibcpp_cv_func_isnan_use=yes
10024 echo "configure: failed program was:" >&5
10025 cat conftest.$ac_ext >&5
10027 glibcpp_cv_func_isnan_use=no
10031 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10032 ac_cpp='$CPP $CPPFLAGS'
10033 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10034 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10035 cross_compiling=$ac_cv_prog_cc_cross
10041 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
10043 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
10044 for ac_func in isnan
10046 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10047 echo "configure:10048: checking for $ac_func" >&5
10048 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10049 echo $ac_n "(cached) $ac_c" 1>&6
10051 cat > conftest.$ac_ext <<EOF
10052 #line 10053 "configure"
10053 #include "confdefs.h"
10054 /* System header to define __stub macros and hopefully few prototypes,
10055 which can conflict with char $ac_func(); below. */
10056 #include <assert.h>
10057 /* Override any gcc2 internal prototype to avoid an error. */
10058 /* We use char because int might match the return type of a gcc2
10059 builtin and then its argument prototype would still apply. */
10064 /* The GNU C library defines this for functions which it implements
10065 to always fail with ENOSYS. Some functions are actually named
10066 something starting with __ and the normal name is an alias. */
10067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10075 if { (eval echo configure:10076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10077 eval "ac_cv_func_$ac_func=yes"
10079 echo "configure: failed program was:" >&5
10080 cat conftest.$ac_ext >&5
10082 eval "ac_cv_func_$ac_func=no"
10087 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10088 echo "$ac_t""yes" 1>&6
10089 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10090 cat >> confdefs.h <<EOF
10091 #define $ac_tr_func 1
10095 echo "$ac_t""no" 1>&6
10101 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
10102 echo "configure:10103: checking for _isnan declaration" >&5
10103 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
10104 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
10105 echo $ac_n "(cached) $ac_c" 1>&6
10110 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10111 ac_cpp='$CXXCPP $CPPFLAGS'
10112 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10113 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10114 cross_compiling=$ac_cv_prog_cxx_cross
10116 cat > conftest.$ac_ext <<EOF
10117 #line 10118 "configure"
10118 #include "confdefs.h"
10120 #ifdef HAVE_IEEEFP_H
10121 #include <ieeefp.h>
10128 if { (eval echo configure:10129: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10130 glibcpp_cv_func__isnan_use=yes
10132 echo "configure: failed program was:" >&5
10133 cat conftest.$ac_ext >&5
10135 glibcpp_cv_func__isnan_use=no
10139 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10140 ac_cpp='$CPP $CPPFLAGS'
10141 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10142 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10143 cross_compiling=$ac_cv_prog_cc_cross
10149 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
10151 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
10152 for ac_func in _isnan
10154 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10155 echo "configure:10156: checking for $ac_func" >&5
10156 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10157 echo $ac_n "(cached) $ac_c" 1>&6
10159 cat > conftest.$ac_ext <<EOF
10160 #line 10161 "configure"
10161 #include "confdefs.h"
10162 /* System header to define __stub macros and hopefully few prototypes,
10163 which can conflict with char $ac_func(); below. */
10164 #include <assert.h>
10165 /* Override any gcc2 internal prototype to avoid an error. */
10166 /* We use char because int might match the return type of a gcc2
10167 builtin and then its argument prototype would still apply. */
10172 /* The GNU C library defines this for functions which it implements
10173 to always fail with ENOSYS. Some functions are actually named
10174 something starting with __ and the normal name is an alias. */
10175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10183 if { (eval echo configure:10184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10185 eval "ac_cv_func_$ac_func=yes"
10187 echo "configure: failed program was:" >&5
10188 cat conftest.$ac_ext >&5
10190 eval "ac_cv_func_$ac_func=no"
10195 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10196 echo "$ac_t""yes" 1>&6
10197 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10198 cat >> confdefs.h <<EOF
10199 #define $ac_tr_func 1
10203 echo "$ac_t""no" 1>&6
10212 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
10213 echo "configure:10214: checking for finite declaration" >&5
10214 if test x${glibcpp_cv_func_finite_use+set} != xset; then
10215 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
10216 echo $ac_n "(cached) $ac_c" 1>&6
10221 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10222 ac_cpp='$CXXCPP $CPPFLAGS'
10223 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10224 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10225 cross_compiling=$ac_cv_prog_cxx_cross
10227 cat > conftest.$ac_ext <<EOF
10228 #line 10229 "configure"
10229 #include "confdefs.h"
10231 #ifdef HAVE_IEEEFP_H
10232 #include <ieeefp.h>
10239 if { (eval echo configure:10240: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10241 glibcpp_cv_func_finite_use=yes
10243 echo "configure: failed program was:" >&5
10244 cat conftest.$ac_ext >&5
10246 glibcpp_cv_func_finite_use=no
10250 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10251 ac_cpp='$CPP $CPPFLAGS'
10252 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10253 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10254 cross_compiling=$ac_cv_prog_cc_cross
10260 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
10262 if test x$glibcpp_cv_func_finite_use = x"yes"; then
10263 for ac_func in finite
10265 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10266 echo "configure:10267: checking for $ac_func" >&5
10267 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10268 echo $ac_n "(cached) $ac_c" 1>&6
10270 cat > conftest.$ac_ext <<EOF
10271 #line 10272 "configure"
10272 #include "confdefs.h"
10273 /* System header to define __stub macros and hopefully few prototypes,
10274 which can conflict with char $ac_func(); below. */
10275 #include <assert.h>
10276 /* Override any gcc2 internal prototype to avoid an error. */
10277 /* We use char because int might match the return type of a gcc2
10278 builtin and then its argument prototype would still apply. */
10283 /* The GNU C library defines this for functions which it implements
10284 to always fail with ENOSYS. Some functions are actually named
10285 something starting with __ and the normal name is an alias. */
10286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10294 if { (eval echo configure:10295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10296 eval "ac_cv_func_$ac_func=yes"
10298 echo "configure: failed program was:" >&5
10299 cat conftest.$ac_ext >&5
10301 eval "ac_cv_func_$ac_func=no"
10306 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10307 echo "$ac_t""yes" 1>&6
10308 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10309 cat >> confdefs.h <<EOF
10310 #define $ac_tr_func 1
10314 echo "$ac_t""no" 1>&6
10320 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
10321 echo "configure:10322: checking for _finite declaration" >&5
10322 if test x${glibcpp_cv_func__finite_use+set} != xset; then
10323 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
10324 echo $ac_n "(cached) $ac_c" 1>&6
10329 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10330 ac_cpp='$CXXCPP $CPPFLAGS'
10331 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10332 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10333 cross_compiling=$ac_cv_prog_cxx_cross
10335 cat > conftest.$ac_ext <<EOF
10336 #line 10337 "configure"
10337 #include "confdefs.h"
10339 #ifdef HAVE_IEEEFP_H
10340 #include <ieeefp.h>
10347 if { (eval echo configure:10348: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10349 glibcpp_cv_func__finite_use=yes
10351 echo "configure: failed program was:" >&5
10352 cat conftest.$ac_ext >&5
10354 glibcpp_cv_func__finite_use=no
10358 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10359 ac_cpp='$CPP $CPPFLAGS'
10360 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10361 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10362 cross_compiling=$ac_cv_prog_cc_cross
10368 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
10370 if test x$glibcpp_cv_func__finite_use = x"yes"; then
10371 for ac_func in _finite
10373 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10374 echo "configure:10375: checking for $ac_func" >&5
10375 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10376 echo $ac_n "(cached) $ac_c" 1>&6
10378 cat > conftest.$ac_ext <<EOF
10379 #line 10380 "configure"
10380 #include "confdefs.h"
10381 /* System header to define __stub macros and hopefully few prototypes,
10382 which can conflict with char $ac_func(); below. */
10383 #include <assert.h>
10384 /* Override any gcc2 internal prototype to avoid an error. */
10385 /* We use char because int might match the return type of a gcc2
10386 builtin and then its argument prototype would still apply. */
10391 /* The GNU C library defines this for functions which it implements
10392 to always fail with ENOSYS. Some functions are actually named
10393 something starting with __ and the normal name is an alias. */
10394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10402 if { (eval echo configure:10403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10404 eval "ac_cv_func_$ac_func=yes"
10406 echo "configure: failed program was:" >&5
10407 cat conftest.$ac_ext >&5
10409 eval "ac_cv_func_$ac_func=no"
10414 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10415 echo "$ac_t""yes" 1>&6
10416 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10417 cat >> confdefs.h <<EOF
10418 #define $ac_tr_func 1
10422 echo "$ac_t""no" 1>&6
10431 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
10432 echo "configure:10433: checking for copysign declaration" >&5
10433 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
10434 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
10435 echo $ac_n "(cached) $ac_c" 1>&6
10440 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10441 ac_cpp='$CXXCPP $CPPFLAGS'
10442 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10443 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10444 cross_compiling=$ac_cv_prog_cxx_cross
10446 cat > conftest.$ac_ext <<EOF
10447 #line 10448 "configure"
10448 #include "confdefs.h"
10454 if { (eval echo configure:10455: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10456 glibcpp_cv_func_copysign_use=yes
10458 echo "configure: failed program was:" >&5
10459 cat conftest.$ac_ext >&5
10461 glibcpp_cv_func_copysign_use=no
10465 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10466 ac_cpp='$CPP $CPPFLAGS'
10467 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10468 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10469 cross_compiling=$ac_cv_prog_cc_cross
10475 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
10477 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
10478 for ac_func in copysign
10480 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10481 echo "configure:10482: checking for $ac_func" >&5
10482 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10483 echo $ac_n "(cached) $ac_c" 1>&6
10485 cat > conftest.$ac_ext <<EOF
10486 #line 10487 "configure"
10487 #include "confdefs.h"
10488 /* System header to define __stub macros and hopefully few prototypes,
10489 which can conflict with char $ac_func(); below. */
10490 #include <assert.h>
10491 /* Override any gcc2 internal prototype to avoid an error. */
10492 /* We use char because int might match the return type of a gcc2
10493 builtin and then its argument prototype would still apply. */
10498 /* The GNU C library defines this for functions which it implements
10499 to always fail with ENOSYS. Some functions are actually named
10500 something starting with __ and the normal name is an alias. */
10501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10509 if { (eval echo configure:10510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10511 eval "ac_cv_func_$ac_func=yes"
10513 echo "configure: failed program was:" >&5
10514 cat conftest.$ac_ext >&5
10516 eval "ac_cv_func_$ac_func=no"
10521 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10522 echo "$ac_t""yes" 1>&6
10523 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10524 cat >> confdefs.h <<EOF
10525 #define $ac_tr_func 1
10529 echo "$ac_t""no" 1>&6
10535 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
10536 echo "configure:10537: checking for _copysign declaration" >&5
10537 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
10538 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
10539 echo $ac_n "(cached) $ac_c" 1>&6
10544 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10545 ac_cpp='$CXXCPP $CPPFLAGS'
10546 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10547 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10548 cross_compiling=$ac_cv_prog_cxx_cross
10550 cat > conftest.$ac_ext <<EOF
10551 #line 10552 "configure"
10552 #include "confdefs.h"
10558 if { (eval echo configure:10559: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10560 glibcpp_cv_func__copysign_use=yes
10562 echo "configure: failed program was:" >&5
10563 cat conftest.$ac_ext >&5
10565 glibcpp_cv_func__copysign_use=no
10569 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10570 ac_cpp='$CPP $CPPFLAGS'
10571 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10572 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10573 cross_compiling=$ac_cv_prog_cc_cross
10579 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
10581 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
10582 for ac_func in _copysign
10584 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10585 echo "configure:10586: checking for $ac_func" >&5
10586 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10587 echo $ac_n "(cached) $ac_c" 1>&6
10589 cat > conftest.$ac_ext <<EOF
10590 #line 10591 "configure"
10591 #include "confdefs.h"
10592 /* System header to define __stub macros and hopefully few prototypes,
10593 which can conflict with char $ac_func(); below. */
10594 #include <assert.h>
10595 /* Override any gcc2 internal prototype to avoid an error. */
10596 /* We use char because int might match the return type of a gcc2
10597 builtin and then its argument prototype would still apply. */
10602 /* The GNU C library defines this for functions which it implements
10603 to always fail with ENOSYS. Some functions are actually named
10604 something starting with __ and the normal name is an alias. */
10605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10613 if { (eval echo configure:10614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10615 eval "ac_cv_func_$ac_func=yes"
10617 echo "configure: failed program was:" >&5
10618 cat conftest.$ac_ext >&5
10620 eval "ac_cv_func_$ac_func=no"
10625 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10626 echo "$ac_t""yes" 1>&6
10627 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10628 cat >> confdefs.h <<EOF
10629 #define $ac_tr_func 1
10633 echo "$ac_t""no" 1>&6
10642 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
10643 echo "configure:10644: checking for sincos declaration" >&5
10644 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
10645 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
10646 echo $ac_n "(cached) $ac_c" 1>&6
10651 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10652 ac_cpp='$CXXCPP $CPPFLAGS'
10653 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10654 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10655 cross_compiling=$ac_cv_prog_cxx_cross
10657 cat > conftest.$ac_ext <<EOF
10658 #line 10659 "configure"
10659 #include "confdefs.h"
10665 if { (eval echo configure:10666: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10667 glibcpp_cv_func_sincos_use=yes
10669 echo "configure: failed program was:" >&5
10670 cat conftest.$ac_ext >&5
10672 glibcpp_cv_func_sincos_use=no
10676 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10677 ac_cpp='$CPP $CPPFLAGS'
10678 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10679 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10680 cross_compiling=$ac_cv_prog_cc_cross
10686 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
10688 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
10689 for ac_func in sincos
10691 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10692 echo "configure:10693: checking for $ac_func" >&5
10693 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10694 echo $ac_n "(cached) $ac_c" 1>&6
10696 cat > conftest.$ac_ext <<EOF
10697 #line 10698 "configure"
10698 #include "confdefs.h"
10699 /* System header to define __stub macros and hopefully few prototypes,
10700 which can conflict with char $ac_func(); below. */
10701 #include <assert.h>
10702 /* Override any gcc2 internal prototype to avoid an error. */
10703 /* We use char because int might match the return type of a gcc2
10704 builtin and then its argument prototype would still apply. */
10709 /* The GNU C library defines this for functions which it implements
10710 to always fail with ENOSYS. Some functions are actually named
10711 something starting with __ and the normal name is an alias. */
10712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10720 if { (eval echo configure:10721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10722 eval "ac_cv_func_$ac_func=yes"
10724 echo "configure: failed program was:" >&5
10725 cat conftest.$ac_ext >&5
10727 eval "ac_cv_func_$ac_func=no"
10732 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10733 echo "$ac_t""yes" 1>&6
10734 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10735 cat >> confdefs.h <<EOF
10736 #define $ac_tr_func 1
10740 echo "$ac_t""no" 1>&6
10746 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
10747 echo "configure:10748: checking for _sincos declaration" >&5
10748 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
10749 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
10750 echo $ac_n "(cached) $ac_c" 1>&6
10755 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10756 ac_cpp='$CXXCPP $CPPFLAGS'
10757 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10758 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10759 cross_compiling=$ac_cv_prog_cxx_cross
10761 cat > conftest.$ac_ext <<EOF
10762 #line 10763 "configure"
10763 #include "confdefs.h"
10769 if { (eval echo configure:10770: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10771 glibcpp_cv_func__sincos_use=yes
10773 echo "configure: failed program was:" >&5
10774 cat conftest.$ac_ext >&5
10776 glibcpp_cv_func__sincos_use=no
10780 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10781 ac_cpp='$CPP $CPPFLAGS'
10782 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10783 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10784 cross_compiling=$ac_cv_prog_cc_cross
10790 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
10792 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
10793 for ac_func in _sincos
10795 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10796 echo "configure:10797: checking for $ac_func" >&5
10797 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10798 echo $ac_n "(cached) $ac_c" 1>&6
10800 cat > conftest.$ac_ext <<EOF
10801 #line 10802 "configure"
10802 #include "confdefs.h"
10803 /* System header to define __stub macros and hopefully few prototypes,
10804 which can conflict with char $ac_func(); below. */
10805 #include <assert.h>
10806 /* Override any gcc2 internal prototype to avoid an error. */
10807 /* We use char because int might match the return type of a gcc2
10808 builtin and then its argument prototype would still apply. */
10813 /* The GNU C library defines this for functions which it implements
10814 to always fail with ENOSYS. Some functions are actually named
10815 something starting with __ and the normal name is an alias. */
10816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10824 if { (eval echo configure:10825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10826 eval "ac_cv_func_$ac_func=yes"
10828 echo "configure: failed program was:" >&5
10829 cat conftest.$ac_ext >&5
10831 eval "ac_cv_func_$ac_func=no"
10836 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10837 echo "$ac_t""yes" 1>&6
10838 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10839 cat >> confdefs.h <<EOF
10840 #define $ac_tr_func 1
10844 echo "$ac_t""no" 1>&6
10853 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
10854 echo "configure:10855: checking for fpclass declaration" >&5
10855 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
10856 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
10857 echo $ac_n "(cached) $ac_c" 1>&6
10862 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10863 ac_cpp='$CXXCPP $CPPFLAGS'
10864 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10865 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10866 cross_compiling=$ac_cv_prog_cxx_cross
10868 cat > conftest.$ac_ext <<EOF
10869 #line 10870 "configure"
10870 #include "confdefs.h"
10872 #ifdef HAVE_IEEEFP_H
10873 #include <ieeefp.h>
10880 if { (eval echo configure:10881: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10882 glibcpp_cv_func_fpclass_use=yes
10884 echo "configure: failed program was:" >&5
10885 cat conftest.$ac_ext >&5
10887 glibcpp_cv_func_fpclass_use=no
10891 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10892 ac_cpp='$CPP $CPPFLAGS'
10893 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10894 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10895 cross_compiling=$ac_cv_prog_cc_cross
10901 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
10903 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
10904 for ac_func in fpclass
10906 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10907 echo "configure:10908: checking for $ac_func" >&5
10908 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10909 echo $ac_n "(cached) $ac_c" 1>&6
10911 cat > conftest.$ac_ext <<EOF
10912 #line 10913 "configure"
10913 #include "confdefs.h"
10914 /* System header to define __stub macros and hopefully few prototypes,
10915 which can conflict with char $ac_func(); below. */
10916 #include <assert.h>
10917 /* Override any gcc2 internal prototype to avoid an error. */
10918 /* We use char because int might match the return type of a gcc2
10919 builtin and then its argument prototype would still apply. */
10924 /* The GNU C library defines this for functions which it implements
10925 to always fail with ENOSYS. Some functions are actually named
10926 something starting with __ and the normal name is an alias. */
10927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10935 if { (eval echo configure:10936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10937 eval "ac_cv_func_$ac_func=yes"
10939 echo "configure: failed program was:" >&5
10940 cat conftest.$ac_ext >&5
10942 eval "ac_cv_func_$ac_func=no"
10947 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10948 echo "$ac_t""yes" 1>&6
10949 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10950 cat >> confdefs.h <<EOF
10951 #define $ac_tr_func 1
10955 echo "$ac_t""no" 1>&6
10961 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
10962 echo "configure:10963: checking for _fpclass declaration" >&5
10963 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
10964 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
10965 echo $ac_n "(cached) $ac_c" 1>&6
10970 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10971 ac_cpp='$CXXCPP $CPPFLAGS'
10972 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10973 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10974 cross_compiling=$ac_cv_prog_cxx_cross
10976 cat > conftest.$ac_ext <<EOF
10977 #line 10978 "configure"
10978 #include "confdefs.h"
10980 #ifdef HAVE_IEEEFP_H
10981 #include <ieeefp.h>
10988 if { (eval echo configure:10989: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10990 glibcpp_cv_func__fpclass_use=yes
10992 echo "configure: failed program was:" >&5
10993 cat conftest.$ac_ext >&5
10995 glibcpp_cv_func__fpclass_use=no
10999 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11000 ac_cpp='$CPP $CPPFLAGS'
11001 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11002 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11003 cross_compiling=$ac_cv_prog_cc_cross
11009 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
11011 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
11012 for ac_func in _fpclass
11014 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11015 echo "configure:11016: checking for $ac_func" >&5
11016 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11017 echo $ac_n "(cached) $ac_c" 1>&6
11019 cat > conftest.$ac_ext <<EOF
11020 #line 11021 "configure"
11021 #include "confdefs.h"
11022 /* System header to define __stub macros and hopefully few prototypes,
11023 which can conflict with char $ac_func(); below. */
11024 #include <assert.h>
11025 /* Override any gcc2 internal prototype to avoid an error. */
11026 /* We use char because int might match the return type of a gcc2
11027 builtin and then its argument prototype would still apply. */
11032 /* The GNU C library defines this for functions which it implements
11033 to always fail with ENOSYS. Some functions are actually named
11034 something starting with __ and the normal name is an alias. */
11035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11043 if { (eval echo configure:11044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11045 eval "ac_cv_func_$ac_func=yes"
11047 echo "configure: failed program was:" >&5
11048 cat conftest.$ac_ext >&5
11050 eval "ac_cv_func_$ac_func=no"
11055 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11056 echo "$ac_t""yes" 1>&6
11057 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11058 cat >> confdefs.h <<EOF
11059 #define $ac_tr_func 1
11063 echo "$ac_t""no" 1>&6
11072 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
11073 echo "configure:11074: checking for qfpclass declaration" >&5
11074 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
11075 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
11076 echo $ac_n "(cached) $ac_c" 1>&6
11081 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11082 ac_cpp='$CXXCPP $CPPFLAGS'
11083 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11084 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11085 cross_compiling=$ac_cv_prog_cxx_cross
11087 cat > conftest.$ac_ext <<EOF
11088 #line 11089 "configure"
11089 #include "confdefs.h"
11091 #ifdef HAVE_IEEEFP_H
11092 #include <ieeefp.h>
11099 if { (eval echo configure:11100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11101 glibcpp_cv_func_qfpclass_use=yes
11103 echo "configure: failed program was:" >&5
11104 cat conftest.$ac_ext >&5
11106 glibcpp_cv_func_qfpclass_use=no
11110 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11111 ac_cpp='$CPP $CPPFLAGS'
11112 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11113 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11114 cross_compiling=$ac_cv_prog_cc_cross
11120 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
11122 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
11123 for ac_func in qfpclass
11125 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11126 echo "configure:11127: checking for $ac_func" >&5
11127 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11128 echo $ac_n "(cached) $ac_c" 1>&6
11130 cat > conftest.$ac_ext <<EOF
11131 #line 11132 "configure"
11132 #include "confdefs.h"
11133 /* System header to define __stub macros and hopefully few prototypes,
11134 which can conflict with char $ac_func(); below. */
11135 #include <assert.h>
11136 /* Override any gcc2 internal prototype to avoid an error. */
11137 /* We use char because int might match the return type of a gcc2
11138 builtin and then its argument prototype would still apply. */
11143 /* The GNU C library defines this for functions which it implements
11144 to always fail with ENOSYS. Some functions are actually named
11145 something starting with __ and the normal name is an alias. */
11146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11154 if { (eval echo configure:11155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11156 eval "ac_cv_func_$ac_func=yes"
11158 echo "configure: failed program was:" >&5
11159 cat conftest.$ac_ext >&5
11161 eval "ac_cv_func_$ac_func=no"
11166 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11167 echo "$ac_t""yes" 1>&6
11168 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11169 cat >> confdefs.h <<EOF
11170 #define $ac_tr_func 1
11174 echo "$ac_t""no" 1>&6
11180 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
11181 echo "configure:11182: checking for _qfpclass declaration" >&5
11182 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
11183 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
11184 echo $ac_n "(cached) $ac_c" 1>&6
11189 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11190 ac_cpp='$CXXCPP $CPPFLAGS'
11191 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11192 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11193 cross_compiling=$ac_cv_prog_cxx_cross
11195 cat > conftest.$ac_ext <<EOF
11196 #line 11197 "configure"
11197 #include "confdefs.h"
11199 #ifdef HAVE_IEEEFP_H
11200 #include <ieeefp.h>
11207 if { (eval echo configure:11208: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11209 glibcpp_cv_func__qfpclass_use=yes
11211 echo "configure: failed program was:" >&5
11212 cat conftest.$ac_ext >&5
11214 glibcpp_cv_func__qfpclass_use=no
11218 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11219 ac_cpp='$CPP $CPPFLAGS'
11220 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11221 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11222 cross_compiling=$ac_cv_prog_cc_cross
11228 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
11230 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
11231 for ac_func in _qfpclass
11233 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11234 echo "configure:11235: checking for $ac_func" >&5
11235 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11236 echo $ac_n "(cached) $ac_c" 1>&6
11238 cat > conftest.$ac_ext <<EOF
11239 #line 11240 "configure"
11240 #include "confdefs.h"
11241 /* System header to define __stub macros and hopefully few prototypes,
11242 which can conflict with char $ac_func(); below. */
11243 #include <assert.h>
11244 /* Override any gcc2 internal prototype to avoid an error. */
11245 /* We use char because int might match the return type of a gcc2
11246 builtin and then its argument prototype would still apply. */
11251 /* The GNU C library defines this for functions which it implements
11252 to always fail with ENOSYS. Some functions are actually named
11253 something starting with __ and the normal name is an alias. */
11254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11262 if { (eval echo configure:11263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11264 eval "ac_cv_func_$ac_func=yes"
11266 echo "configure: failed program was:" >&5
11267 cat conftest.$ac_ext >&5
11269 eval "ac_cv_func_$ac_func=no"
11274 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11275 echo "$ac_t""yes" 1>&6
11276 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11277 cat >> confdefs.h <<EOF
11278 #define $ac_tr_func 1
11282 echo "$ac_t""no" 1>&6
11291 echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
11292 echo "configure:11293: checking for hypot declaration" >&5
11293 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
11294 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
11295 echo $ac_n "(cached) $ac_c" 1>&6
11300 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11301 ac_cpp='$CXXCPP $CPPFLAGS'
11302 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11303 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11304 cross_compiling=$ac_cv_prog_cxx_cross
11306 cat > conftest.$ac_ext <<EOF
11307 #line 11308 "configure"
11308 #include "confdefs.h"
11314 if { (eval echo configure:11315: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11316 glibcpp_cv_func_hypot_use=yes
11318 echo "configure: failed program was:" >&5
11319 cat conftest.$ac_ext >&5
11321 glibcpp_cv_func_hypot_use=no
11325 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11326 ac_cpp='$CPP $CPPFLAGS'
11327 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11328 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11329 cross_compiling=$ac_cv_prog_cc_cross
11335 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
11337 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
11338 for ac_func in hypot
11340 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11341 echo "configure:11342: checking for $ac_func" >&5
11342 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11343 echo $ac_n "(cached) $ac_c" 1>&6
11345 cat > conftest.$ac_ext <<EOF
11346 #line 11347 "configure"
11347 #include "confdefs.h"
11348 /* System header to define __stub macros and hopefully few prototypes,
11349 which can conflict with char $ac_func(); below. */
11350 #include <assert.h>
11351 /* Override any gcc2 internal prototype to avoid an error. */
11352 /* We use char because int might match the return type of a gcc2
11353 builtin and then its argument prototype would still apply. */
11358 /* The GNU C library defines this for functions which it implements
11359 to always fail with ENOSYS. Some functions are actually named
11360 something starting with __ and the normal name is an alias. */
11361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11369 if { (eval echo configure:11370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11371 eval "ac_cv_func_$ac_func=yes"
11373 echo "configure: failed program was:" >&5
11374 cat conftest.$ac_ext >&5
11376 eval "ac_cv_func_$ac_func=no"
11381 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11382 echo "$ac_t""yes" 1>&6
11383 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11384 cat >> confdefs.h <<EOF
11385 #define $ac_tr_func 1
11389 echo "$ac_t""no" 1>&6
11395 echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
11396 echo "configure:11397: checking for _hypot declaration" >&5
11397 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
11398 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
11399 echo $ac_n "(cached) $ac_c" 1>&6
11404 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11405 ac_cpp='$CXXCPP $CPPFLAGS'
11406 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11407 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11408 cross_compiling=$ac_cv_prog_cxx_cross
11410 cat > conftest.$ac_ext <<EOF
11411 #line 11412 "configure"
11412 #include "confdefs.h"
11418 if { (eval echo configure:11419: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11420 glibcpp_cv_func__hypot_use=yes
11422 echo "configure: failed program was:" >&5
11423 cat conftest.$ac_ext >&5
11425 glibcpp_cv_func__hypot_use=no
11429 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11430 ac_cpp='$CPP $CPPFLAGS'
11431 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11432 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11433 cross_compiling=$ac_cv_prog_cc_cross
11439 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
11441 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
11442 for ac_func in _hypot
11444 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11445 echo "configure:11446: checking for $ac_func" >&5
11446 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11447 echo $ac_n "(cached) $ac_c" 1>&6
11449 cat > conftest.$ac_ext <<EOF
11450 #line 11451 "configure"
11451 #include "confdefs.h"
11452 /* System header to define __stub macros and hopefully few prototypes,
11453 which can conflict with char $ac_func(); below. */
11454 #include <assert.h>
11455 /* Override any gcc2 internal prototype to avoid an error. */
11456 /* We use char because int might match the return type of a gcc2
11457 builtin and then its argument prototype would still apply. */
11462 /* The GNU C library defines this for functions which it implements
11463 to always fail with ENOSYS. Some functions are actually named
11464 something starting with __ and the normal name is an alias. */
11465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11473 if { (eval echo configure:11474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11475 eval "ac_cv_func_$ac_func=yes"
11477 echo "configure: failed program was:" >&5
11478 cat conftest.$ac_ext >&5
11480 eval "ac_cv_func_$ac_func=no"
11485 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11486 echo "$ac_t""yes" 1>&6
11487 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11488 cat >> confdefs.h <<EOF
11489 #define $ac_tr_func 1
11493 echo "$ac_t""no" 1>&6
11502 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
11503 echo "configure:11504: checking for float trig functions" >&5
11504 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
11505 echo $ac_n "(cached) $ac_c" 1>&6
11510 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11511 ac_cpp='$CXXCPP $CPPFLAGS'
11512 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11513 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11514 cross_compiling=$ac_cv_prog_cxx_cross
11516 cat > conftest.$ac_ext <<EOF
11517 #line 11518 "configure"
11518 #include "confdefs.h"
11521 `for x in acosf asinf atanf \
11523 coshf sinhf tanhf; do echo "$x (0);"; done`
11526 if { (eval echo configure:11527: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11528 glibcpp_cv_func_float_trig_use=yes
11530 echo "configure: failed program was:" >&5
11531 cat conftest.$ac_ext >&5
11533 glibcpp_cv_func_float_trig_use=no
11537 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11538 ac_cpp='$CPP $CPPFLAGS'
11539 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11540 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11541 cross_compiling=$ac_cv_prog_cc_cross
11545 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
11546 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
11547 for ac_func in acosf asinf atanf \
11551 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11552 echo "configure:11553: checking for $ac_func" >&5
11553 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11554 echo $ac_n "(cached) $ac_c" 1>&6
11556 cat > conftest.$ac_ext <<EOF
11557 #line 11558 "configure"
11558 #include "confdefs.h"
11559 /* System header to define __stub macros and hopefully few prototypes,
11560 which can conflict with char $ac_func(); below. */
11561 #include <assert.h>
11562 /* Override any gcc2 internal prototype to avoid an error. */
11563 /* We use char because int might match the return type of a gcc2
11564 builtin and then its argument prototype would still apply. */
11569 /* The GNU C library defines this for functions which it implements
11570 to always fail with ENOSYS. Some functions are actually named
11571 something starting with __ and the normal name is an alias. */
11572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11580 if { (eval echo configure:11581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11582 eval "ac_cv_func_$ac_func=yes"
11584 echo "configure: failed program was:" >&5
11585 cat conftest.$ac_ext >&5
11587 eval "ac_cv_func_$ac_func=no"
11592 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11593 echo "$ac_t""yes" 1>&6
11594 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11595 cat >> confdefs.h <<EOF
11596 #define $ac_tr_func 1
11600 echo "$ac_t""no" 1>&6
11607 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
11608 echo "configure:11609: checking for float round functions" >&5
11609 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
11610 echo $ac_n "(cached) $ac_c" 1>&6
11615 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11616 ac_cpp='$CXXCPP $CPPFLAGS'
11617 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11618 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11619 cross_compiling=$ac_cv_prog_cxx_cross
11621 cat > conftest.$ac_ext <<EOF
11622 #line 11623 "configure"
11623 #include "confdefs.h"
11626 `for x in ceilf floorf; do echo "$x (0);"; done`
11629 if { (eval echo configure:11630: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11631 glibcpp_cv_func_float_round_use=yes
11633 echo "configure: failed program was:" >&5
11634 cat conftest.$ac_ext >&5
11636 glibcpp_cv_func_float_round_use=no
11640 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11641 ac_cpp='$CPP $CPPFLAGS'
11642 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11643 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11644 cross_compiling=$ac_cv_prog_cc_cross
11648 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
11649 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
11650 for ac_func in ceilf floorf
11652 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11653 echo "configure:11654: checking for $ac_func" >&5
11654 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11655 echo $ac_n "(cached) $ac_c" 1>&6
11657 cat > conftest.$ac_ext <<EOF
11658 #line 11659 "configure"
11659 #include "confdefs.h"
11660 /* System header to define __stub macros and hopefully few prototypes,
11661 which can conflict with char $ac_func(); below. */
11662 #include <assert.h>
11663 /* Override any gcc2 internal prototype to avoid an error. */
11664 /* We use char because int might match the return type of a gcc2
11665 builtin and then its argument prototype would still apply. */
11670 /* The GNU C library defines this for functions which it implements
11671 to always fail with ENOSYS. Some functions are actually named
11672 something starting with __ and the normal name is an alias. */
11673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11681 if { (eval echo configure:11682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11683 eval "ac_cv_func_$ac_func=yes"
11685 echo "configure: failed program was:" >&5
11686 cat conftest.$ac_ext >&5
11688 eval "ac_cv_func_$ac_func=no"
11693 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11694 echo "$ac_t""yes" 1>&6
11695 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11696 cat >> confdefs.h <<EOF
11697 #define $ac_tr_func 1
11701 echo "$ac_t""no" 1>&6
11709 echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
11710 echo "configure:11711: checking for expf declaration" >&5
11711 if test x${glibcpp_cv_func_expf_use+set} != xset; then
11712 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
11713 echo $ac_n "(cached) $ac_c" 1>&6
11718 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11719 ac_cpp='$CXXCPP $CPPFLAGS'
11720 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11721 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11722 cross_compiling=$ac_cv_prog_cxx_cross
11724 cat > conftest.$ac_ext <<EOF
11725 #line 11726 "configure"
11726 #include "confdefs.h"
11728 #ifdef HAVE_IEEEFP_H
11729 #include <ieeefp.h>
11736 if { (eval echo configure:11737: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11738 glibcpp_cv_func_expf_use=yes
11740 echo "configure: failed program was:" >&5
11741 cat conftest.$ac_ext >&5
11743 glibcpp_cv_func_expf_use=no
11747 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11748 ac_cpp='$CPP $CPPFLAGS'
11749 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11750 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11751 cross_compiling=$ac_cv_prog_cc_cross
11757 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
11759 if test x$glibcpp_cv_func_expf_use = x"yes"; then
11760 for ac_func in expf
11762 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11763 echo "configure:11764: checking for $ac_func" >&5
11764 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11765 echo $ac_n "(cached) $ac_c" 1>&6
11767 cat > conftest.$ac_ext <<EOF
11768 #line 11769 "configure"
11769 #include "confdefs.h"
11770 /* System header to define __stub macros and hopefully few prototypes,
11771 which can conflict with char $ac_func(); below. */
11772 #include <assert.h>
11773 /* Override any gcc2 internal prototype to avoid an error. */
11774 /* We use char because int might match the return type of a gcc2
11775 builtin and then its argument prototype would still apply. */
11780 /* The GNU C library defines this for functions which it implements
11781 to always fail with ENOSYS. Some functions are actually named
11782 something starting with __ and the normal name is an alias. */
11783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11791 if { (eval echo configure:11792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11793 eval "ac_cv_func_$ac_func=yes"
11795 echo "configure: failed program was:" >&5
11796 cat conftest.$ac_ext >&5
11798 eval "ac_cv_func_$ac_func=no"
11803 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11804 echo "$ac_t""yes" 1>&6
11805 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11806 cat >> confdefs.h <<EOF
11807 #define $ac_tr_func 1
11811 echo "$ac_t""no" 1>&6
11817 echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
11818 echo "configure:11819: checking for _expf declaration" >&5
11819 if test x${glibcpp_cv_func__expf_use+set} != xset; then
11820 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
11821 echo $ac_n "(cached) $ac_c" 1>&6
11826 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11827 ac_cpp='$CXXCPP $CPPFLAGS'
11828 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11829 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11830 cross_compiling=$ac_cv_prog_cxx_cross
11832 cat > conftest.$ac_ext <<EOF
11833 #line 11834 "configure"
11834 #include "confdefs.h"
11836 #ifdef HAVE_IEEEFP_H
11837 #include <ieeefp.h>
11844 if { (eval echo configure:11845: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11846 glibcpp_cv_func__expf_use=yes
11848 echo "configure: failed program was:" >&5
11849 cat conftest.$ac_ext >&5
11851 glibcpp_cv_func__expf_use=no
11855 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11856 ac_cpp='$CPP $CPPFLAGS'
11857 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11858 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11859 cross_compiling=$ac_cv_prog_cc_cross
11865 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
11867 if test x$glibcpp_cv_func__expf_use = x"yes"; then
11868 for ac_func in _expf
11870 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11871 echo "configure:11872: checking for $ac_func" >&5
11872 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11873 echo $ac_n "(cached) $ac_c" 1>&6
11875 cat > conftest.$ac_ext <<EOF
11876 #line 11877 "configure"
11877 #include "confdefs.h"
11878 /* System header to define __stub macros and hopefully few prototypes,
11879 which can conflict with char $ac_func(); below. */
11880 #include <assert.h>
11881 /* Override any gcc2 internal prototype to avoid an error. */
11882 /* We use char because int might match the return type of a gcc2
11883 builtin and then its argument prototype would still apply. */
11888 /* The GNU C library defines this for functions which it implements
11889 to always fail with ENOSYS. Some functions are actually named
11890 something starting with __ and the normal name is an alias. */
11891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11899 if { (eval echo configure:11900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11901 eval "ac_cv_func_$ac_func=yes"
11903 echo "configure: failed program was:" >&5
11904 cat conftest.$ac_ext >&5
11906 eval "ac_cv_func_$ac_func=no"
11911 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11912 echo "$ac_t""yes" 1>&6
11913 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11914 cat >> confdefs.h <<EOF
11915 #define $ac_tr_func 1
11919 echo "$ac_t""no" 1>&6
11928 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
11929 echo "configure:11930: checking for isnanf declaration" >&5
11930 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
11931 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
11932 echo $ac_n "(cached) $ac_c" 1>&6
11937 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11938 ac_cpp='$CXXCPP $CPPFLAGS'
11939 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11940 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11941 cross_compiling=$ac_cv_prog_cxx_cross
11943 cat > conftest.$ac_ext <<EOF
11944 #line 11945 "configure"
11945 #include "confdefs.h"
11947 #ifdef HAVE_IEEEFP_H
11948 #include <ieeefp.h>
11955 if { (eval echo configure:11956: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11957 glibcpp_cv_func_isnanf_use=yes
11959 echo "configure: failed program was:" >&5
11960 cat conftest.$ac_ext >&5
11962 glibcpp_cv_func_isnanf_use=no
11966 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11967 ac_cpp='$CPP $CPPFLAGS'
11968 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11969 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11970 cross_compiling=$ac_cv_prog_cc_cross
11976 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
11978 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
11979 for ac_func in isnanf
11981 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11982 echo "configure:11983: checking for $ac_func" >&5
11983 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11984 echo $ac_n "(cached) $ac_c" 1>&6
11986 cat > conftest.$ac_ext <<EOF
11987 #line 11988 "configure"
11988 #include "confdefs.h"
11989 /* System header to define __stub macros and hopefully few prototypes,
11990 which can conflict with char $ac_func(); below. */
11991 #include <assert.h>
11992 /* Override any gcc2 internal prototype to avoid an error. */
11993 /* We use char because int might match the return type of a gcc2
11994 builtin and then its argument prototype would still apply. */
11999 /* The GNU C library defines this for functions which it implements
12000 to always fail with ENOSYS. Some functions are actually named
12001 something starting with __ and the normal name is an alias. */
12002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12010 if { (eval echo configure:12011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12012 eval "ac_cv_func_$ac_func=yes"
12014 echo "configure: failed program was:" >&5
12015 cat conftest.$ac_ext >&5
12017 eval "ac_cv_func_$ac_func=no"
12022 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12023 echo "$ac_t""yes" 1>&6
12024 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12025 cat >> confdefs.h <<EOF
12026 #define $ac_tr_func 1
12030 echo "$ac_t""no" 1>&6
12036 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
12037 echo "configure:12038: checking for _isnanf declaration" >&5
12038 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
12039 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
12040 echo $ac_n "(cached) $ac_c" 1>&6
12045 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12046 ac_cpp='$CXXCPP $CPPFLAGS'
12047 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12048 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12049 cross_compiling=$ac_cv_prog_cxx_cross
12051 cat > conftest.$ac_ext <<EOF
12052 #line 12053 "configure"
12053 #include "confdefs.h"
12055 #ifdef HAVE_IEEEFP_H
12056 #include <ieeefp.h>
12063 if { (eval echo configure:12064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12065 glibcpp_cv_func__isnanf_use=yes
12067 echo "configure: failed program was:" >&5
12068 cat conftest.$ac_ext >&5
12070 glibcpp_cv_func__isnanf_use=no
12074 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12075 ac_cpp='$CPP $CPPFLAGS'
12076 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12077 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12078 cross_compiling=$ac_cv_prog_cc_cross
12084 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
12086 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
12087 for ac_func in _isnanf
12089 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12090 echo "configure:12091: checking for $ac_func" >&5
12091 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12092 echo $ac_n "(cached) $ac_c" 1>&6
12094 cat > conftest.$ac_ext <<EOF
12095 #line 12096 "configure"
12096 #include "confdefs.h"
12097 /* System header to define __stub macros and hopefully few prototypes,
12098 which can conflict with char $ac_func(); below. */
12099 #include <assert.h>
12100 /* Override any gcc2 internal prototype to avoid an error. */
12101 /* We use char because int might match the return type of a gcc2
12102 builtin and then its argument prototype would still apply. */
12107 /* The GNU C library defines this for functions which it implements
12108 to always fail with ENOSYS. Some functions are actually named
12109 something starting with __ and the normal name is an alias. */
12110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12118 if { (eval echo configure:12119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12120 eval "ac_cv_func_$ac_func=yes"
12122 echo "configure: failed program was:" >&5
12123 cat conftest.$ac_ext >&5
12125 eval "ac_cv_func_$ac_func=no"
12130 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12131 echo "$ac_t""yes" 1>&6
12132 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12133 cat >> confdefs.h <<EOF
12134 #define $ac_tr_func 1
12138 echo "$ac_t""no" 1>&6
12147 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
12148 echo "configure:12149: checking for isinff declaration" >&5
12149 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
12150 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
12151 echo $ac_n "(cached) $ac_c" 1>&6
12156 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12157 ac_cpp='$CXXCPP $CPPFLAGS'
12158 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12159 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12160 cross_compiling=$ac_cv_prog_cxx_cross
12162 cat > conftest.$ac_ext <<EOF
12163 #line 12164 "configure"
12164 #include "confdefs.h"
12166 #ifdef HAVE_IEEEFP_H
12167 #include <ieeefp.h>
12174 if { (eval echo configure:12175: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12176 glibcpp_cv_func_isinff_use=yes
12178 echo "configure: failed program was:" >&5
12179 cat conftest.$ac_ext >&5
12181 glibcpp_cv_func_isinff_use=no
12185 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12186 ac_cpp='$CPP $CPPFLAGS'
12187 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12188 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12189 cross_compiling=$ac_cv_prog_cc_cross
12195 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
12197 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
12198 for ac_func in isinff
12200 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12201 echo "configure:12202: checking for $ac_func" >&5
12202 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12203 echo $ac_n "(cached) $ac_c" 1>&6
12205 cat > conftest.$ac_ext <<EOF
12206 #line 12207 "configure"
12207 #include "confdefs.h"
12208 /* System header to define __stub macros and hopefully few prototypes,
12209 which can conflict with char $ac_func(); below. */
12210 #include <assert.h>
12211 /* Override any gcc2 internal prototype to avoid an error. */
12212 /* We use char because int might match the return type of a gcc2
12213 builtin and then its argument prototype would still apply. */
12218 /* The GNU C library defines this for functions which it implements
12219 to always fail with ENOSYS. Some functions are actually named
12220 something starting with __ and the normal name is an alias. */
12221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12229 if { (eval echo configure:12230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12231 eval "ac_cv_func_$ac_func=yes"
12233 echo "configure: failed program was:" >&5
12234 cat conftest.$ac_ext >&5
12236 eval "ac_cv_func_$ac_func=no"
12241 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12242 echo "$ac_t""yes" 1>&6
12243 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12244 cat >> confdefs.h <<EOF
12245 #define $ac_tr_func 1
12249 echo "$ac_t""no" 1>&6
12255 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
12256 echo "configure:12257: checking for _isinff declaration" >&5
12257 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
12258 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
12259 echo $ac_n "(cached) $ac_c" 1>&6
12264 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12265 ac_cpp='$CXXCPP $CPPFLAGS'
12266 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12267 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12268 cross_compiling=$ac_cv_prog_cxx_cross
12270 cat > conftest.$ac_ext <<EOF
12271 #line 12272 "configure"
12272 #include "confdefs.h"
12274 #ifdef HAVE_IEEEFP_H
12275 #include <ieeefp.h>
12282 if { (eval echo configure:12283: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12284 glibcpp_cv_func__isinff_use=yes
12286 echo "configure: failed program was:" >&5
12287 cat conftest.$ac_ext >&5
12289 glibcpp_cv_func__isinff_use=no
12293 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12294 ac_cpp='$CPP $CPPFLAGS'
12295 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12296 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12297 cross_compiling=$ac_cv_prog_cc_cross
12303 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
12305 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
12306 for ac_func in _isinff
12308 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12309 echo "configure:12310: checking for $ac_func" >&5
12310 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12311 echo $ac_n "(cached) $ac_c" 1>&6
12313 cat > conftest.$ac_ext <<EOF
12314 #line 12315 "configure"
12315 #include "confdefs.h"
12316 /* System header to define __stub macros and hopefully few prototypes,
12317 which can conflict with char $ac_func(); below. */
12318 #include <assert.h>
12319 /* Override any gcc2 internal prototype to avoid an error. */
12320 /* We use char because int might match the return type of a gcc2
12321 builtin and then its argument prototype would still apply. */
12326 /* The GNU C library defines this for functions which it implements
12327 to always fail with ENOSYS. Some functions are actually named
12328 something starting with __ and the normal name is an alias. */
12329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12337 if { (eval echo configure:12338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12339 eval "ac_cv_func_$ac_func=yes"
12341 echo "configure: failed program was:" >&5
12342 cat conftest.$ac_ext >&5
12344 eval "ac_cv_func_$ac_func=no"
12349 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12350 echo "$ac_t""yes" 1>&6
12351 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12352 cat >> confdefs.h <<EOF
12353 #define $ac_tr_func 1
12357 echo "$ac_t""no" 1>&6
12366 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
12367 echo "configure:12368: checking for atan2f declaration" >&5
12368 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
12369 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
12370 echo $ac_n "(cached) $ac_c" 1>&6
12375 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12376 ac_cpp='$CXXCPP $CPPFLAGS'
12377 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12378 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12379 cross_compiling=$ac_cv_prog_cxx_cross
12381 cat > conftest.$ac_ext <<EOF
12382 #line 12383 "configure"
12383 #include "confdefs.h"
12389 if { (eval echo configure:12390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12391 glibcpp_cv_func_atan2f_use=yes
12393 echo "configure: failed program was:" >&5
12394 cat conftest.$ac_ext >&5
12396 glibcpp_cv_func_atan2f_use=no
12400 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12401 ac_cpp='$CPP $CPPFLAGS'
12402 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12403 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12404 cross_compiling=$ac_cv_prog_cc_cross
12410 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
12412 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
12413 for ac_func in atan2f
12415 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12416 echo "configure:12417: checking for $ac_func" >&5
12417 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12418 echo $ac_n "(cached) $ac_c" 1>&6
12420 cat > conftest.$ac_ext <<EOF
12421 #line 12422 "configure"
12422 #include "confdefs.h"
12423 /* System header to define __stub macros and hopefully few prototypes,
12424 which can conflict with char $ac_func(); below. */
12425 #include <assert.h>
12426 /* Override any gcc2 internal prototype to avoid an error. */
12427 /* We use char because int might match the return type of a gcc2
12428 builtin and then its argument prototype would still apply. */
12433 /* The GNU C library defines this for functions which it implements
12434 to always fail with ENOSYS. Some functions are actually named
12435 something starting with __ and the normal name is an alias. */
12436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12444 if { (eval echo configure:12445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12446 eval "ac_cv_func_$ac_func=yes"
12448 echo "configure: failed program was:" >&5
12449 cat conftest.$ac_ext >&5
12451 eval "ac_cv_func_$ac_func=no"
12456 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12457 echo "$ac_t""yes" 1>&6
12458 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12459 cat >> confdefs.h <<EOF
12460 #define $ac_tr_func 1
12464 echo "$ac_t""no" 1>&6
12470 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
12471 echo "configure:12472: checking for _atan2f declaration" >&5
12472 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
12473 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
12474 echo $ac_n "(cached) $ac_c" 1>&6
12479 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12480 ac_cpp='$CXXCPP $CPPFLAGS'
12481 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12482 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12483 cross_compiling=$ac_cv_prog_cxx_cross
12485 cat > conftest.$ac_ext <<EOF
12486 #line 12487 "configure"
12487 #include "confdefs.h"
12493 if { (eval echo configure:12494: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12495 glibcpp_cv_func__atan2f_use=yes
12497 echo "configure: failed program was:" >&5
12498 cat conftest.$ac_ext >&5
12500 glibcpp_cv_func__atan2f_use=no
12504 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12505 ac_cpp='$CPP $CPPFLAGS'
12506 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12507 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12508 cross_compiling=$ac_cv_prog_cc_cross
12514 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
12516 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
12517 for ac_func in _atan2f
12519 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12520 echo "configure:12521: checking for $ac_func" >&5
12521 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12522 echo $ac_n "(cached) $ac_c" 1>&6
12524 cat > conftest.$ac_ext <<EOF
12525 #line 12526 "configure"
12526 #include "confdefs.h"
12527 /* System header to define __stub macros and hopefully few prototypes,
12528 which can conflict with char $ac_func(); below. */
12529 #include <assert.h>
12530 /* Override any gcc2 internal prototype to avoid an error. */
12531 /* We use char because int might match the return type of a gcc2
12532 builtin and then its argument prototype would still apply. */
12537 /* The GNU C library defines this for functions which it implements
12538 to always fail with ENOSYS. Some functions are actually named
12539 something starting with __ and the normal name is an alias. */
12540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12548 if { (eval echo configure:12549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12550 eval "ac_cv_func_$ac_func=yes"
12552 echo "configure: failed program was:" >&5
12553 cat conftest.$ac_ext >&5
12555 eval "ac_cv_func_$ac_func=no"
12560 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12561 echo "$ac_t""yes" 1>&6
12562 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12563 cat >> confdefs.h <<EOF
12564 #define $ac_tr_func 1
12568 echo "$ac_t""no" 1>&6
12577 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
12578 echo "configure:12579: checking for fabsf declaration" >&5
12579 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
12580 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
12581 echo $ac_n "(cached) $ac_c" 1>&6
12586 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12587 ac_cpp='$CXXCPP $CPPFLAGS'
12588 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12589 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12590 cross_compiling=$ac_cv_prog_cxx_cross
12592 cat > conftest.$ac_ext <<EOF
12593 #line 12594 "configure"
12594 #include "confdefs.h"
12596 #ifdef HAVE_IEEEFP_H
12597 #include <ieeefp.h>
12604 if { (eval echo configure:12605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12606 glibcpp_cv_func_fabsf_use=yes
12608 echo "configure: failed program was:" >&5
12609 cat conftest.$ac_ext >&5
12611 glibcpp_cv_func_fabsf_use=no
12615 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12616 ac_cpp='$CPP $CPPFLAGS'
12617 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12618 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12619 cross_compiling=$ac_cv_prog_cc_cross
12625 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
12627 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
12628 for ac_func in fabsf
12630 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12631 echo "configure:12632: checking for $ac_func" >&5
12632 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12633 echo $ac_n "(cached) $ac_c" 1>&6
12635 cat > conftest.$ac_ext <<EOF
12636 #line 12637 "configure"
12637 #include "confdefs.h"
12638 /* System header to define __stub macros and hopefully few prototypes,
12639 which can conflict with char $ac_func(); below. */
12640 #include <assert.h>
12641 /* Override any gcc2 internal prototype to avoid an error. */
12642 /* We use char because int might match the return type of a gcc2
12643 builtin and then its argument prototype would still apply. */
12648 /* The GNU C library defines this for functions which it implements
12649 to always fail with ENOSYS. Some functions are actually named
12650 something starting with __ and the normal name is an alias. */
12651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12659 if { (eval echo configure:12660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12661 eval "ac_cv_func_$ac_func=yes"
12663 echo "configure: failed program was:" >&5
12664 cat conftest.$ac_ext >&5
12666 eval "ac_cv_func_$ac_func=no"
12671 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12672 echo "$ac_t""yes" 1>&6
12673 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12674 cat >> confdefs.h <<EOF
12675 #define $ac_tr_func 1
12679 echo "$ac_t""no" 1>&6
12685 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
12686 echo "configure:12687: checking for _fabsf declaration" >&5
12687 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
12688 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
12689 echo $ac_n "(cached) $ac_c" 1>&6
12694 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12695 ac_cpp='$CXXCPP $CPPFLAGS'
12696 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12697 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12698 cross_compiling=$ac_cv_prog_cxx_cross
12700 cat > conftest.$ac_ext <<EOF
12701 #line 12702 "configure"
12702 #include "confdefs.h"
12704 #ifdef HAVE_IEEEFP_H
12705 #include <ieeefp.h>
12712 if { (eval echo configure:12713: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12714 glibcpp_cv_func__fabsf_use=yes
12716 echo "configure: failed program was:" >&5
12717 cat conftest.$ac_ext >&5
12719 glibcpp_cv_func__fabsf_use=no
12723 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12724 ac_cpp='$CPP $CPPFLAGS'
12725 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12726 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12727 cross_compiling=$ac_cv_prog_cc_cross
12733 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
12735 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
12736 for ac_func in _fabsf
12738 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12739 echo "configure:12740: checking for $ac_func" >&5
12740 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12741 echo $ac_n "(cached) $ac_c" 1>&6
12743 cat > conftest.$ac_ext <<EOF
12744 #line 12745 "configure"
12745 #include "confdefs.h"
12746 /* System header to define __stub macros and hopefully few prototypes,
12747 which can conflict with char $ac_func(); below. */
12748 #include <assert.h>
12749 /* Override any gcc2 internal prototype to avoid an error. */
12750 /* We use char because int might match the return type of a gcc2
12751 builtin and then its argument prototype would still apply. */
12756 /* The GNU C library defines this for functions which it implements
12757 to always fail with ENOSYS. Some functions are actually named
12758 something starting with __ and the normal name is an alias. */
12759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12767 if { (eval echo configure:12768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12769 eval "ac_cv_func_$ac_func=yes"
12771 echo "configure: failed program was:" >&5
12772 cat conftest.$ac_ext >&5
12774 eval "ac_cv_func_$ac_func=no"
12779 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12780 echo "$ac_t""yes" 1>&6
12781 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12782 cat >> confdefs.h <<EOF
12783 #define $ac_tr_func 1
12787 echo "$ac_t""no" 1>&6
12796 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
12797 echo "configure:12798: checking for fmodf declaration" >&5
12798 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
12799 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
12800 echo $ac_n "(cached) $ac_c" 1>&6
12805 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12806 ac_cpp='$CXXCPP $CPPFLAGS'
12807 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12808 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12809 cross_compiling=$ac_cv_prog_cxx_cross
12811 cat > conftest.$ac_ext <<EOF
12812 #line 12813 "configure"
12813 #include "confdefs.h"
12819 if { (eval echo configure:12820: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12821 glibcpp_cv_func_fmodf_use=yes
12823 echo "configure: failed program was:" >&5
12824 cat conftest.$ac_ext >&5
12826 glibcpp_cv_func_fmodf_use=no
12830 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12831 ac_cpp='$CPP $CPPFLAGS'
12832 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12833 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12834 cross_compiling=$ac_cv_prog_cc_cross
12840 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
12842 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
12843 for ac_func in fmodf
12845 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12846 echo "configure:12847: checking for $ac_func" >&5
12847 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12848 echo $ac_n "(cached) $ac_c" 1>&6
12850 cat > conftest.$ac_ext <<EOF
12851 #line 12852 "configure"
12852 #include "confdefs.h"
12853 /* System header to define __stub macros and hopefully few prototypes,
12854 which can conflict with char $ac_func(); below. */
12855 #include <assert.h>
12856 /* Override any gcc2 internal prototype to avoid an error. */
12857 /* We use char because int might match the return type of a gcc2
12858 builtin and then its argument prototype would still apply. */
12863 /* The GNU C library defines this for functions which it implements
12864 to always fail with ENOSYS. Some functions are actually named
12865 something starting with __ and the normal name is an alias. */
12866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12874 if { (eval echo configure:12875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12876 eval "ac_cv_func_$ac_func=yes"
12878 echo "configure: failed program was:" >&5
12879 cat conftest.$ac_ext >&5
12881 eval "ac_cv_func_$ac_func=no"
12886 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12887 echo "$ac_t""yes" 1>&6
12888 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12889 cat >> confdefs.h <<EOF
12890 #define $ac_tr_func 1
12894 echo "$ac_t""no" 1>&6
12900 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
12901 echo "configure:12902: checking for _fmodf declaration" >&5
12902 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
12903 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
12904 echo $ac_n "(cached) $ac_c" 1>&6
12909 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12910 ac_cpp='$CXXCPP $CPPFLAGS'
12911 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12912 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12913 cross_compiling=$ac_cv_prog_cxx_cross
12915 cat > conftest.$ac_ext <<EOF
12916 #line 12917 "configure"
12917 #include "confdefs.h"
12923 if { (eval echo configure:12924: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12925 glibcpp_cv_func__fmodf_use=yes
12927 echo "configure: failed program was:" >&5
12928 cat conftest.$ac_ext >&5
12930 glibcpp_cv_func__fmodf_use=no
12934 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12935 ac_cpp='$CPP $CPPFLAGS'
12936 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12937 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12938 cross_compiling=$ac_cv_prog_cc_cross
12944 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
12946 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
12947 for ac_func in _fmodf
12949 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12950 echo "configure:12951: checking for $ac_func" >&5
12951 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12952 echo $ac_n "(cached) $ac_c" 1>&6
12954 cat > conftest.$ac_ext <<EOF
12955 #line 12956 "configure"
12956 #include "confdefs.h"
12957 /* System header to define __stub macros and hopefully few prototypes,
12958 which can conflict with char $ac_func(); below. */
12959 #include <assert.h>
12960 /* Override any gcc2 internal prototype to avoid an error. */
12961 /* We use char because int might match the return type of a gcc2
12962 builtin and then its argument prototype would still apply. */
12967 /* The GNU C library defines this for functions which it implements
12968 to always fail with ENOSYS. Some functions are actually named
12969 something starting with __ and the normal name is an alias. */
12970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12978 if { (eval echo configure:12979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12980 eval "ac_cv_func_$ac_func=yes"
12982 echo "configure: failed program was:" >&5
12983 cat conftest.$ac_ext >&5
12985 eval "ac_cv_func_$ac_func=no"
12990 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12991 echo "$ac_t""yes" 1>&6
12992 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12993 cat >> confdefs.h <<EOF
12994 #define $ac_tr_func 1
12998 echo "$ac_t""no" 1>&6
13007 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
13008 echo "configure:13009: checking for frexpf declaration" >&5
13009 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
13010 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
13011 echo $ac_n "(cached) $ac_c" 1>&6
13016 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13017 ac_cpp='$CXXCPP $CPPFLAGS'
13018 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13019 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13020 cross_compiling=$ac_cv_prog_cxx_cross
13022 cat > conftest.$ac_ext <<EOF
13023 #line 13024 "configure"
13024 #include "confdefs.h"
13030 if { (eval echo configure:13031: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13032 glibcpp_cv_func_frexpf_use=yes
13034 echo "configure: failed program was:" >&5
13035 cat conftest.$ac_ext >&5
13037 glibcpp_cv_func_frexpf_use=no
13041 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13042 ac_cpp='$CPP $CPPFLAGS'
13043 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13044 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13045 cross_compiling=$ac_cv_prog_cc_cross
13051 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
13053 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
13054 for ac_func in frexpf
13056 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13057 echo "configure:13058: checking for $ac_func" >&5
13058 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13059 echo $ac_n "(cached) $ac_c" 1>&6
13061 cat > conftest.$ac_ext <<EOF
13062 #line 13063 "configure"
13063 #include "confdefs.h"
13064 /* System header to define __stub macros and hopefully few prototypes,
13065 which can conflict with char $ac_func(); below. */
13066 #include <assert.h>
13067 /* Override any gcc2 internal prototype to avoid an error. */
13068 /* We use char because int might match the return type of a gcc2
13069 builtin and then its argument prototype would still apply. */
13074 /* The GNU C library defines this for functions which it implements
13075 to always fail with ENOSYS. Some functions are actually named
13076 something starting with __ and the normal name is an alias. */
13077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13085 if { (eval echo configure:13086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13087 eval "ac_cv_func_$ac_func=yes"
13089 echo "configure: failed program was:" >&5
13090 cat conftest.$ac_ext >&5
13092 eval "ac_cv_func_$ac_func=no"
13097 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13098 echo "$ac_t""yes" 1>&6
13099 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13100 cat >> confdefs.h <<EOF
13101 #define $ac_tr_func 1
13105 echo "$ac_t""no" 1>&6
13111 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
13112 echo "configure:13113: checking for _frexpf declaration" >&5
13113 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
13114 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
13115 echo $ac_n "(cached) $ac_c" 1>&6
13120 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13121 ac_cpp='$CXXCPP $CPPFLAGS'
13122 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13123 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13124 cross_compiling=$ac_cv_prog_cxx_cross
13126 cat > conftest.$ac_ext <<EOF
13127 #line 13128 "configure"
13128 #include "confdefs.h"
13134 if { (eval echo configure:13135: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13136 glibcpp_cv_func__frexpf_use=yes
13138 echo "configure: failed program was:" >&5
13139 cat conftest.$ac_ext >&5
13141 glibcpp_cv_func__frexpf_use=no
13145 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13146 ac_cpp='$CPP $CPPFLAGS'
13147 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13148 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13149 cross_compiling=$ac_cv_prog_cc_cross
13155 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
13157 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
13158 for ac_func in _frexpf
13160 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13161 echo "configure:13162: checking for $ac_func" >&5
13162 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13163 echo $ac_n "(cached) $ac_c" 1>&6
13165 cat > conftest.$ac_ext <<EOF
13166 #line 13167 "configure"
13167 #include "confdefs.h"
13168 /* System header to define __stub macros and hopefully few prototypes,
13169 which can conflict with char $ac_func(); below. */
13170 #include <assert.h>
13171 /* Override any gcc2 internal prototype to avoid an error. */
13172 /* We use char because int might match the return type of a gcc2
13173 builtin and then its argument prototype would still apply. */
13178 /* The GNU C library defines this for functions which it implements
13179 to always fail with ENOSYS. Some functions are actually named
13180 something starting with __ and the normal name is an alias. */
13181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13189 if { (eval echo configure:13190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13191 eval "ac_cv_func_$ac_func=yes"
13193 echo "configure: failed program was:" >&5
13194 cat conftest.$ac_ext >&5
13196 eval "ac_cv_func_$ac_func=no"
13201 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13202 echo "$ac_t""yes" 1>&6
13203 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13204 cat >> confdefs.h <<EOF
13205 #define $ac_tr_func 1
13209 echo "$ac_t""no" 1>&6
13218 echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
13219 echo "configure:13220: checking for hypotf declaration" >&5
13220 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
13221 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
13222 echo $ac_n "(cached) $ac_c" 1>&6
13227 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13228 ac_cpp='$CXXCPP $CPPFLAGS'
13229 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13230 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13231 cross_compiling=$ac_cv_prog_cxx_cross
13233 cat > conftest.$ac_ext <<EOF
13234 #line 13235 "configure"
13235 #include "confdefs.h"
13241 if { (eval echo configure:13242: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13243 glibcpp_cv_func_hypotf_use=yes
13245 echo "configure: failed program was:" >&5
13246 cat conftest.$ac_ext >&5
13248 glibcpp_cv_func_hypotf_use=no
13252 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13253 ac_cpp='$CPP $CPPFLAGS'
13254 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13255 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13256 cross_compiling=$ac_cv_prog_cc_cross
13262 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
13264 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
13265 for ac_func in hypotf
13267 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13268 echo "configure:13269: checking for $ac_func" >&5
13269 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13270 echo $ac_n "(cached) $ac_c" 1>&6
13272 cat > conftest.$ac_ext <<EOF
13273 #line 13274 "configure"
13274 #include "confdefs.h"
13275 /* System header to define __stub macros and hopefully few prototypes,
13276 which can conflict with char $ac_func(); below. */
13277 #include <assert.h>
13278 /* Override any gcc2 internal prototype to avoid an error. */
13279 /* We use char because int might match the return type of a gcc2
13280 builtin and then its argument prototype would still apply. */
13285 /* The GNU C library defines this for functions which it implements
13286 to always fail with ENOSYS. Some functions are actually named
13287 something starting with __ and the normal name is an alias. */
13288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13296 if { (eval echo configure:13297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13298 eval "ac_cv_func_$ac_func=yes"
13300 echo "configure: failed program was:" >&5
13301 cat conftest.$ac_ext >&5
13303 eval "ac_cv_func_$ac_func=no"
13308 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13309 echo "$ac_t""yes" 1>&6
13310 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13311 cat >> confdefs.h <<EOF
13312 #define $ac_tr_func 1
13316 echo "$ac_t""no" 1>&6
13322 echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
13323 echo "configure:13324: checking for _hypotf declaration" >&5
13324 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
13325 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
13326 echo $ac_n "(cached) $ac_c" 1>&6
13331 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13332 ac_cpp='$CXXCPP $CPPFLAGS'
13333 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13334 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13335 cross_compiling=$ac_cv_prog_cxx_cross
13337 cat > conftest.$ac_ext <<EOF
13338 #line 13339 "configure"
13339 #include "confdefs.h"
13345 if { (eval echo configure:13346: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13347 glibcpp_cv_func__hypotf_use=yes
13349 echo "configure: failed program was:" >&5
13350 cat conftest.$ac_ext >&5
13352 glibcpp_cv_func__hypotf_use=no
13356 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13357 ac_cpp='$CPP $CPPFLAGS'
13358 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13359 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13360 cross_compiling=$ac_cv_prog_cc_cross
13366 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
13368 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
13369 for ac_func in _hypotf
13371 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13372 echo "configure:13373: checking for $ac_func" >&5
13373 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13374 echo $ac_n "(cached) $ac_c" 1>&6
13376 cat > conftest.$ac_ext <<EOF
13377 #line 13378 "configure"
13378 #include "confdefs.h"
13379 /* System header to define __stub macros and hopefully few prototypes,
13380 which can conflict with char $ac_func(); below. */
13381 #include <assert.h>
13382 /* Override any gcc2 internal prototype to avoid an error. */
13383 /* We use char because int might match the return type of a gcc2
13384 builtin and then its argument prototype would still apply. */
13389 /* The GNU C library defines this for functions which it implements
13390 to always fail with ENOSYS. Some functions are actually named
13391 something starting with __ and the normal name is an alias. */
13392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13400 if { (eval echo configure:13401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13402 eval "ac_cv_func_$ac_func=yes"
13404 echo "configure: failed program was:" >&5
13405 cat conftest.$ac_ext >&5
13407 eval "ac_cv_func_$ac_func=no"
13412 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13413 echo "$ac_t""yes" 1>&6
13414 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13415 cat >> confdefs.h <<EOF
13416 #define $ac_tr_func 1
13420 echo "$ac_t""no" 1>&6
13429 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
13430 echo "configure:13431: checking for ldexpf declaration" >&5
13431 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
13432 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
13433 echo $ac_n "(cached) $ac_c" 1>&6
13438 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13439 ac_cpp='$CXXCPP $CPPFLAGS'
13440 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13441 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13442 cross_compiling=$ac_cv_prog_cxx_cross
13444 cat > conftest.$ac_ext <<EOF
13445 #line 13446 "configure"
13446 #include "confdefs.h"
13452 if { (eval echo configure:13453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13454 glibcpp_cv_func_ldexpf_use=yes
13456 echo "configure: failed program was:" >&5
13457 cat conftest.$ac_ext >&5
13459 glibcpp_cv_func_ldexpf_use=no
13463 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13464 ac_cpp='$CPP $CPPFLAGS'
13465 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13466 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13467 cross_compiling=$ac_cv_prog_cc_cross
13473 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
13475 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
13476 for ac_func in ldexpf
13478 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13479 echo "configure:13480: checking for $ac_func" >&5
13480 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13481 echo $ac_n "(cached) $ac_c" 1>&6
13483 cat > conftest.$ac_ext <<EOF
13484 #line 13485 "configure"
13485 #include "confdefs.h"
13486 /* System header to define __stub macros and hopefully few prototypes,
13487 which can conflict with char $ac_func(); below. */
13488 #include <assert.h>
13489 /* Override any gcc2 internal prototype to avoid an error. */
13490 /* We use char because int might match the return type of a gcc2
13491 builtin and then its argument prototype would still apply. */
13496 /* The GNU C library defines this for functions which it implements
13497 to always fail with ENOSYS. Some functions are actually named
13498 something starting with __ and the normal name is an alias. */
13499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13507 if { (eval echo configure:13508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13509 eval "ac_cv_func_$ac_func=yes"
13511 echo "configure: failed program was:" >&5
13512 cat conftest.$ac_ext >&5
13514 eval "ac_cv_func_$ac_func=no"
13519 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13520 echo "$ac_t""yes" 1>&6
13521 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13522 cat >> confdefs.h <<EOF
13523 #define $ac_tr_func 1
13527 echo "$ac_t""no" 1>&6
13533 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
13534 echo "configure:13535: checking for _ldexpf declaration" >&5
13535 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
13536 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
13537 echo $ac_n "(cached) $ac_c" 1>&6
13542 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13543 ac_cpp='$CXXCPP $CPPFLAGS'
13544 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13545 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13546 cross_compiling=$ac_cv_prog_cxx_cross
13548 cat > conftest.$ac_ext <<EOF
13549 #line 13550 "configure"
13550 #include "confdefs.h"
13556 if { (eval echo configure:13557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13558 glibcpp_cv_func__ldexpf_use=yes
13560 echo "configure: failed program was:" >&5
13561 cat conftest.$ac_ext >&5
13563 glibcpp_cv_func__ldexpf_use=no
13567 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13568 ac_cpp='$CPP $CPPFLAGS'
13569 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13570 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13571 cross_compiling=$ac_cv_prog_cc_cross
13577 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
13579 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
13580 for ac_func in _ldexpf
13582 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13583 echo "configure:13584: checking for $ac_func" >&5
13584 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13585 echo $ac_n "(cached) $ac_c" 1>&6
13587 cat > conftest.$ac_ext <<EOF
13588 #line 13589 "configure"
13589 #include "confdefs.h"
13590 /* System header to define __stub macros and hopefully few prototypes,
13591 which can conflict with char $ac_func(); below. */
13592 #include <assert.h>
13593 /* Override any gcc2 internal prototype to avoid an error. */
13594 /* We use char because int might match the return type of a gcc2
13595 builtin and then its argument prototype would still apply. */
13600 /* The GNU C library defines this for functions which it implements
13601 to always fail with ENOSYS. Some functions are actually named
13602 something starting with __ and the normal name is an alias. */
13603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13611 if { (eval echo configure:13612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13613 eval "ac_cv_func_$ac_func=yes"
13615 echo "configure: failed program was:" >&5
13616 cat conftest.$ac_ext >&5
13618 eval "ac_cv_func_$ac_func=no"
13623 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13624 echo "$ac_t""yes" 1>&6
13625 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13626 cat >> confdefs.h <<EOF
13627 #define $ac_tr_func 1
13631 echo "$ac_t""no" 1>&6
13640 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
13641 echo "configure:13642: checking for logf declaration" >&5
13642 if test x${glibcpp_cv_func_logf_use+set} != xset; then
13643 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
13644 echo $ac_n "(cached) $ac_c" 1>&6
13649 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13650 ac_cpp='$CXXCPP $CPPFLAGS'
13651 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13652 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13653 cross_compiling=$ac_cv_prog_cxx_cross
13655 cat > conftest.$ac_ext <<EOF
13656 #line 13657 "configure"
13657 #include "confdefs.h"
13659 #ifdef HAVE_IEEEFP_H
13660 #include <ieeefp.h>
13667 if { (eval echo configure:13668: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13669 glibcpp_cv_func_logf_use=yes
13671 echo "configure: failed program was:" >&5
13672 cat conftest.$ac_ext >&5
13674 glibcpp_cv_func_logf_use=no
13678 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13679 ac_cpp='$CPP $CPPFLAGS'
13680 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13681 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13682 cross_compiling=$ac_cv_prog_cc_cross
13688 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
13690 if test x$glibcpp_cv_func_logf_use = x"yes"; then
13691 for ac_func in logf
13693 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13694 echo "configure:13695: checking for $ac_func" >&5
13695 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13696 echo $ac_n "(cached) $ac_c" 1>&6
13698 cat > conftest.$ac_ext <<EOF
13699 #line 13700 "configure"
13700 #include "confdefs.h"
13701 /* System header to define __stub macros and hopefully few prototypes,
13702 which can conflict with char $ac_func(); below. */
13703 #include <assert.h>
13704 /* Override any gcc2 internal prototype to avoid an error. */
13705 /* We use char because int might match the return type of a gcc2
13706 builtin and then its argument prototype would still apply. */
13711 /* The GNU C library defines this for functions which it implements
13712 to always fail with ENOSYS. Some functions are actually named
13713 something starting with __ and the normal name is an alias. */
13714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13722 if { (eval echo configure:13723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13724 eval "ac_cv_func_$ac_func=yes"
13726 echo "configure: failed program was:" >&5
13727 cat conftest.$ac_ext >&5
13729 eval "ac_cv_func_$ac_func=no"
13734 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13735 echo "$ac_t""yes" 1>&6
13736 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13737 cat >> confdefs.h <<EOF
13738 #define $ac_tr_func 1
13742 echo "$ac_t""no" 1>&6
13748 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
13749 echo "configure:13750: checking for _logf declaration" >&5
13750 if test x${glibcpp_cv_func__logf_use+set} != xset; then
13751 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
13752 echo $ac_n "(cached) $ac_c" 1>&6
13757 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13758 ac_cpp='$CXXCPP $CPPFLAGS'
13759 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13760 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13761 cross_compiling=$ac_cv_prog_cxx_cross
13763 cat > conftest.$ac_ext <<EOF
13764 #line 13765 "configure"
13765 #include "confdefs.h"
13767 #ifdef HAVE_IEEEFP_H
13768 #include <ieeefp.h>
13775 if { (eval echo configure:13776: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13777 glibcpp_cv_func__logf_use=yes
13779 echo "configure: failed program was:" >&5
13780 cat conftest.$ac_ext >&5
13782 glibcpp_cv_func__logf_use=no
13786 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13787 ac_cpp='$CPP $CPPFLAGS'
13788 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13789 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13790 cross_compiling=$ac_cv_prog_cc_cross
13796 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
13798 if test x$glibcpp_cv_func__logf_use = x"yes"; then
13799 for ac_func in _logf
13801 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13802 echo "configure:13803: checking for $ac_func" >&5
13803 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13804 echo $ac_n "(cached) $ac_c" 1>&6
13806 cat > conftest.$ac_ext <<EOF
13807 #line 13808 "configure"
13808 #include "confdefs.h"
13809 /* System header to define __stub macros and hopefully few prototypes,
13810 which can conflict with char $ac_func(); below. */
13811 #include <assert.h>
13812 /* Override any gcc2 internal prototype to avoid an error. */
13813 /* We use char because int might match the return type of a gcc2
13814 builtin and then its argument prototype would still apply. */
13819 /* The GNU C library defines this for functions which it implements
13820 to always fail with ENOSYS. Some functions are actually named
13821 something starting with __ and the normal name is an alias. */
13822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13830 if { (eval echo configure:13831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13832 eval "ac_cv_func_$ac_func=yes"
13834 echo "configure: failed program was:" >&5
13835 cat conftest.$ac_ext >&5
13837 eval "ac_cv_func_$ac_func=no"
13842 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13843 echo "$ac_t""yes" 1>&6
13844 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13845 cat >> confdefs.h <<EOF
13846 #define $ac_tr_func 1
13850 echo "$ac_t""no" 1>&6
13859 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
13860 echo "configure:13861: checking for log10f declaration" >&5
13861 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
13862 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
13863 echo $ac_n "(cached) $ac_c" 1>&6
13868 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13869 ac_cpp='$CXXCPP $CPPFLAGS'
13870 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13871 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13872 cross_compiling=$ac_cv_prog_cxx_cross
13874 cat > conftest.$ac_ext <<EOF
13875 #line 13876 "configure"
13876 #include "confdefs.h"
13878 #ifdef HAVE_IEEEFP_H
13879 #include <ieeefp.h>
13886 if { (eval echo configure:13887: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13888 glibcpp_cv_func_log10f_use=yes
13890 echo "configure: failed program was:" >&5
13891 cat conftest.$ac_ext >&5
13893 glibcpp_cv_func_log10f_use=no
13897 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13898 ac_cpp='$CPP $CPPFLAGS'
13899 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13900 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13901 cross_compiling=$ac_cv_prog_cc_cross
13907 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
13909 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
13910 for ac_func in log10f
13912 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13913 echo "configure:13914: checking for $ac_func" >&5
13914 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13915 echo $ac_n "(cached) $ac_c" 1>&6
13917 cat > conftest.$ac_ext <<EOF
13918 #line 13919 "configure"
13919 #include "confdefs.h"
13920 /* System header to define __stub macros and hopefully few prototypes,
13921 which can conflict with char $ac_func(); below. */
13922 #include <assert.h>
13923 /* Override any gcc2 internal prototype to avoid an error. */
13924 /* We use char because int might match the return type of a gcc2
13925 builtin and then its argument prototype would still apply. */
13930 /* The GNU C library defines this for functions which it implements
13931 to always fail with ENOSYS. Some functions are actually named
13932 something starting with __ and the normal name is an alias. */
13933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13941 if { (eval echo configure:13942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13943 eval "ac_cv_func_$ac_func=yes"
13945 echo "configure: failed program was:" >&5
13946 cat conftest.$ac_ext >&5
13948 eval "ac_cv_func_$ac_func=no"
13953 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13954 echo "$ac_t""yes" 1>&6
13955 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13956 cat >> confdefs.h <<EOF
13957 #define $ac_tr_func 1
13961 echo "$ac_t""no" 1>&6
13967 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
13968 echo "configure:13969: checking for _log10f declaration" >&5
13969 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
13970 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
13971 echo $ac_n "(cached) $ac_c" 1>&6
13976 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13977 ac_cpp='$CXXCPP $CPPFLAGS'
13978 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13979 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13980 cross_compiling=$ac_cv_prog_cxx_cross
13982 cat > conftest.$ac_ext <<EOF
13983 #line 13984 "configure"
13984 #include "confdefs.h"
13986 #ifdef HAVE_IEEEFP_H
13987 #include <ieeefp.h>
13994 if { (eval echo configure:13995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13996 glibcpp_cv_func__log10f_use=yes
13998 echo "configure: failed program was:" >&5
13999 cat conftest.$ac_ext >&5
14001 glibcpp_cv_func__log10f_use=no
14005 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14006 ac_cpp='$CPP $CPPFLAGS'
14007 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14008 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14009 cross_compiling=$ac_cv_prog_cc_cross
14015 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
14017 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
14018 for ac_func in _log10f
14020 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14021 echo "configure:14022: checking for $ac_func" >&5
14022 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14023 echo $ac_n "(cached) $ac_c" 1>&6
14025 cat > conftest.$ac_ext <<EOF
14026 #line 14027 "configure"
14027 #include "confdefs.h"
14028 /* System header to define __stub macros and hopefully few prototypes,
14029 which can conflict with char $ac_func(); below. */
14030 #include <assert.h>
14031 /* Override any gcc2 internal prototype to avoid an error. */
14032 /* We use char because int might match the return type of a gcc2
14033 builtin and then its argument prototype would still apply. */
14038 /* The GNU C library defines this for functions which it implements
14039 to always fail with ENOSYS. Some functions are actually named
14040 something starting with __ and the normal name is an alias. */
14041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14049 if { (eval echo configure:14050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14051 eval "ac_cv_func_$ac_func=yes"
14053 echo "configure: failed program was:" >&5
14054 cat conftest.$ac_ext >&5
14056 eval "ac_cv_func_$ac_func=no"
14061 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14062 echo "$ac_t""yes" 1>&6
14063 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14064 cat >> confdefs.h <<EOF
14065 #define $ac_tr_func 1
14069 echo "$ac_t""no" 1>&6
14078 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
14079 echo "configure:14080: checking for modff declaration" >&5
14080 if test x${glibcpp_cv_func_modff_use+set} != xset; then
14081 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
14082 echo $ac_n "(cached) $ac_c" 1>&6
14087 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14088 ac_cpp='$CXXCPP $CPPFLAGS'
14089 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14090 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14091 cross_compiling=$ac_cv_prog_cxx_cross
14093 cat > conftest.$ac_ext <<EOF
14094 #line 14095 "configure"
14095 #include "confdefs.h"
14101 if { (eval echo configure:14102: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14103 glibcpp_cv_func_modff_use=yes
14105 echo "configure: failed program was:" >&5
14106 cat conftest.$ac_ext >&5
14108 glibcpp_cv_func_modff_use=no
14112 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14113 ac_cpp='$CPP $CPPFLAGS'
14114 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14115 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14116 cross_compiling=$ac_cv_prog_cc_cross
14122 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
14124 if test x$glibcpp_cv_func_modff_use = x"yes"; then
14125 for ac_func in modff
14127 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14128 echo "configure:14129: checking for $ac_func" >&5
14129 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14130 echo $ac_n "(cached) $ac_c" 1>&6
14132 cat > conftest.$ac_ext <<EOF
14133 #line 14134 "configure"
14134 #include "confdefs.h"
14135 /* System header to define __stub macros and hopefully few prototypes,
14136 which can conflict with char $ac_func(); below. */
14137 #include <assert.h>
14138 /* Override any gcc2 internal prototype to avoid an error. */
14139 /* We use char because int might match the return type of a gcc2
14140 builtin and then its argument prototype would still apply. */
14145 /* The GNU C library defines this for functions which it implements
14146 to always fail with ENOSYS. Some functions are actually named
14147 something starting with __ and the normal name is an alias. */
14148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14156 if { (eval echo configure:14157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14158 eval "ac_cv_func_$ac_func=yes"
14160 echo "configure: failed program was:" >&5
14161 cat conftest.$ac_ext >&5
14163 eval "ac_cv_func_$ac_func=no"
14168 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14169 echo "$ac_t""yes" 1>&6
14170 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14171 cat >> confdefs.h <<EOF
14172 #define $ac_tr_func 1
14176 echo "$ac_t""no" 1>&6
14182 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
14183 echo "configure:14184: checking for _modff declaration" >&5
14184 if test x${glibcpp_cv_func__modff_use+set} != xset; then
14185 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
14186 echo $ac_n "(cached) $ac_c" 1>&6
14191 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14192 ac_cpp='$CXXCPP $CPPFLAGS'
14193 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14194 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14195 cross_compiling=$ac_cv_prog_cxx_cross
14197 cat > conftest.$ac_ext <<EOF
14198 #line 14199 "configure"
14199 #include "confdefs.h"
14205 if { (eval echo configure:14206: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14207 glibcpp_cv_func__modff_use=yes
14209 echo "configure: failed program was:" >&5
14210 cat conftest.$ac_ext >&5
14212 glibcpp_cv_func__modff_use=no
14216 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14217 ac_cpp='$CPP $CPPFLAGS'
14218 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14219 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14220 cross_compiling=$ac_cv_prog_cc_cross
14226 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
14228 if test x$glibcpp_cv_func__modff_use = x"yes"; then
14229 for ac_func in _modff
14231 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14232 echo "configure:14233: checking for $ac_func" >&5
14233 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14234 echo $ac_n "(cached) $ac_c" 1>&6
14236 cat > conftest.$ac_ext <<EOF
14237 #line 14238 "configure"
14238 #include "confdefs.h"
14239 /* System header to define __stub macros and hopefully few prototypes,
14240 which can conflict with char $ac_func(); below. */
14241 #include <assert.h>
14242 /* Override any gcc2 internal prototype to avoid an error. */
14243 /* We use char because int might match the return type of a gcc2
14244 builtin and then its argument prototype would still apply. */
14249 /* The GNU C library defines this for functions which it implements
14250 to always fail with ENOSYS. Some functions are actually named
14251 something starting with __ and the normal name is an alias. */
14252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14260 if { (eval echo configure:14261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14262 eval "ac_cv_func_$ac_func=yes"
14264 echo "configure: failed program was:" >&5
14265 cat conftest.$ac_ext >&5
14267 eval "ac_cv_func_$ac_func=no"
14272 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14273 echo "$ac_t""yes" 1>&6
14274 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14275 cat >> confdefs.h <<EOF
14276 #define $ac_tr_func 1
14280 echo "$ac_t""no" 1>&6
14289 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
14290 echo "configure:14291: checking for powf declaration" >&5
14291 if test x${glibcpp_cv_func_powf_use+set} != xset; then
14292 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
14293 echo $ac_n "(cached) $ac_c" 1>&6
14298 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14299 ac_cpp='$CXXCPP $CPPFLAGS'
14300 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14301 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14302 cross_compiling=$ac_cv_prog_cxx_cross
14304 cat > conftest.$ac_ext <<EOF
14305 #line 14306 "configure"
14306 #include "confdefs.h"
14312 if { (eval echo configure:14313: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14314 glibcpp_cv_func_powf_use=yes
14316 echo "configure: failed program was:" >&5
14317 cat conftest.$ac_ext >&5
14319 glibcpp_cv_func_powf_use=no
14323 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14324 ac_cpp='$CPP $CPPFLAGS'
14325 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14326 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14327 cross_compiling=$ac_cv_prog_cc_cross
14333 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
14335 if test x$glibcpp_cv_func_powf_use = x"yes"; then
14336 for ac_func in powf
14338 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14339 echo "configure:14340: checking for $ac_func" >&5
14340 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14341 echo $ac_n "(cached) $ac_c" 1>&6
14343 cat > conftest.$ac_ext <<EOF
14344 #line 14345 "configure"
14345 #include "confdefs.h"
14346 /* System header to define __stub macros and hopefully few prototypes,
14347 which can conflict with char $ac_func(); below. */
14348 #include <assert.h>
14349 /* Override any gcc2 internal prototype to avoid an error. */
14350 /* We use char because int might match the return type of a gcc2
14351 builtin and then its argument prototype would still apply. */
14356 /* The GNU C library defines this for functions which it implements
14357 to always fail with ENOSYS. Some functions are actually named
14358 something starting with __ and the normal name is an alias. */
14359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14367 if { (eval echo configure:14368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14369 eval "ac_cv_func_$ac_func=yes"
14371 echo "configure: failed program was:" >&5
14372 cat conftest.$ac_ext >&5
14374 eval "ac_cv_func_$ac_func=no"
14379 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14380 echo "$ac_t""yes" 1>&6
14381 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14382 cat >> confdefs.h <<EOF
14383 #define $ac_tr_func 1
14387 echo "$ac_t""no" 1>&6
14393 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
14394 echo "configure:14395: checking for _powf declaration" >&5
14395 if test x${glibcpp_cv_func__powf_use+set} != xset; then
14396 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
14397 echo $ac_n "(cached) $ac_c" 1>&6
14402 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14403 ac_cpp='$CXXCPP $CPPFLAGS'
14404 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14405 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14406 cross_compiling=$ac_cv_prog_cxx_cross
14408 cat > conftest.$ac_ext <<EOF
14409 #line 14410 "configure"
14410 #include "confdefs.h"
14416 if { (eval echo configure:14417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14418 glibcpp_cv_func__powf_use=yes
14420 echo "configure: failed program was:" >&5
14421 cat conftest.$ac_ext >&5
14423 glibcpp_cv_func__powf_use=no
14427 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14428 ac_cpp='$CPP $CPPFLAGS'
14429 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14430 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14431 cross_compiling=$ac_cv_prog_cc_cross
14437 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
14439 if test x$glibcpp_cv_func__powf_use = x"yes"; then
14440 for ac_func in _powf
14442 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14443 echo "configure:14444: checking for $ac_func" >&5
14444 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14445 echo $ac_n "(cached) $ac_c" 1>&6
14447 cat > conftest.$ac_ext <<EOF
14448 #line 14449 "configure"
14449 #include "confdefs.h"
14450 /* System header to define __stub macros and hopefully few prototypes,
14451 which can conflict with char $ac_func(); below. */
14452 #include <assert.h>
14453 /* Override any gcc2 internal prototype to avoid an error. */
14454 /* We use char because int might match the return type of a gcc2
14455 builtin and then its argument prototype would still apply. */
14460 /* The GNU C library defines this for functions which it implements
14461 to always fail with ENOSYS. Some functions are actually named
14462 something starting with __ and the normal name is an alias. */
14463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14471 if { (eval echo configure:14472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14473 eval "ac_cv_func_$ac_func=yes"
14475 echo "configure: failed program was:" >&5
14476 cat conftest.$ac_ext >&5
14478 eval "ac_cv_func_$ac_func=no"
14483 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14484 echo "$ac_t""yes" 1>&6
14485 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14486 cat >> confdefs.h <<EOF
14487 #define $ac_tr_func 1
14491 echo "$ac_t""no" 1>&6
14500 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
14501 echo "configure:14502: checking for sqrtf declaration" >&5
14502 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
14503 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
14504 echo $ac_n "(cached) $ac_c" 1>&6
14509 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14510 ac_cpp='$CXXCPP $CPPFLAGS'
14511 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14512 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14513 cross_compiling=$ac_cv_prog_cxx_cross
14515 cat > conftest.$ac_ext <<EOF
14516 #line 14517 "configure"
14517 #include "confdefs.h"
14519 #ifdef HAVE_IEEEFP_H
14520 #include <ieeefp.h>
14527 if { (eval echo configure:14528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14529 glibcpp_cv_func_sqrtf_use=yes
14531 echo "configure: failed program was:" >&5
14532 cat conftest.$ac_ext >&5
14534 glibcpp_cv_func_sqrtf_use=no
14538 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14539 ac_cpp='$CPP $CPPFLAGS'
14540 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14541 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14542 cross_compiling=$ac_cv_prog_cc_cross
14548 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
14550 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
14551 for ac_func in sqrtf
14553 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14554 echo "configure:14555: checking for $ac_func" >&5
14555 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14556 echo $ac_n "(cached) $ac_c" 1>&6
14558 cat > conftest.$ac_ext <<EOF
14559 #line 14560 "configure"
14560 #include "confdefs.h"
14561 /* System header to define __stub macros and hopefully few prototypes,
14562 which can conflict with char $ac_func(); below. */
14563 #include <assert.h>
14564 /* Override any gcc2 internal prototype to avoid an error. */
14565 /* We use char because int might match the return type of a gcc2
14566 builtin and then its argument prototype would still apply. */
14571 /* The GNU C library defines this for functions which it implements
14572 to always fail with ENOSYS. Some functions are actually named
14573 something starting with __ and the normal name is an alias. */
14574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14582 if { (eval echo configure:14583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14584 eval "ac_cv_func_$ac_func=yes"
14586 echo "configure: failed program was:" >&5
14587 cat conftest.$ac_ext >&5
14589 eval "ac_cv_func_$ac_func=no"
14594 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14595 echo "$ac_t""yes" 1>&6
14596 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14597 cat >> confdefs.h <<EOF
14598 #define $ac_tr_func 1
14602 echo "$ac_t""no" 1>&6
14608 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
14609 echo "configure:14610: checking for _sqrtf declaration" >&5
14610 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
14611 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
14612 echo $ac_n "(cached) $ac_c" 1>&6
14617 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14618 ac_cpp='$CXXCPP $CPPFLAGS'
14619 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14620 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14621 cross_compiling=$ac_cv_prog_cxx_cross
14623 cat > conftest.$ac_ext <<EOF
14624 #line 14625 "configure"
14625 #include "confdefs.h"
14627 #ifdef HAVE_IEEEFP_H
14628 #include <ieeefp.h>
14635 if { (eval echo configure:14636: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14637 glibcpp_cv_func__sqrtf_use=yes
14639 echo "configure: failed program was:" >&5
14640 cat conftest.$ac_ext >&5
14642 glibcpp_cv_func__sqrtf_use=no
14646 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14647 ac_cpp='$CPP $CPPFLAGS'
14648 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14649 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14650 cross_compiling=$ac_cv_prog_cc_cross
14656 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
14658 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
14659 for ac_func in _sqrtf
14661 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14662 echo "configure:14663: checking for $ac_func" >&5
14663 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14664 echo $ac_n "(cached) $ac_c" 1>&6
14666 cat > conftest.$ac_ext <<EOF
14667 #line 14668 "configure"
14668 #include "confdefs.h"
14669 /* System header to define __stub macros and hopefully few prototypes,
14670 which can conflict with char $ac_func(); below. */
14671 #include <assert.h>
14672 /* Override any gcc2 internal prototype to avoid an error. */
14673 /* We use char because int might match the return type of a gcc2
14674 builtin and then its argument prototype would still apply. */
14679 /* The GNU C library defines this for functions which it implements
14680 to always fail with ENOSYS. Some functions are actually named
14681 something starting with __ and the normal name is an alias. */
14682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14690 if { (eval echo configure:14691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14692 eval "ac_cv_func_$ac_func=yes"
14694 echo "configure: failed program was:" >&5
14695 cat conftest.$ac_ext >&5
14697 eval "ac_cv_func_$ac_func=no"
14702 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14703 echo "$ac_t""yes" 1>&6
14704 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14705 cat >> confdefs.h <<EOF
14706 #define $ac_tr_func 1
14710 echo "$ac_t""no" 1>&6
14719 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
14720 echo "configure:14721: checking for sincosf declaration" >&5
14721 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
14722 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
14723 echo $ac_n "(cached) $ac_c" 1>&6
14728 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14729 ac_cpp='$CXXCPP $CPPFLAGS'
14730 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14731 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14732 cross_compiling=$ac_cv_prog_cxx_cross
14734 cat > conftest.$ac_ext <<EOF
14735 #line 14736 "configure"
14736 #include "confdefs.h"
14742 if { (eval echo configure:14743: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14744 glibcpp_cv_func_sincosf_use=yes
14746 echo "configure: failed program was:" >&5
14747 cat conftest.$ac_ext >&5
14749 glibcpp_cv_func_sincosf_use=no
14753 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14754 ac_cpp='$CPP $CPPFLAGS'
14755 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14756 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14757 cross_compiling=$ac_cv_prog_cc_cross
14763 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
14765 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
14766 for ac_func in sincosf
14768 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14769 echo "configure:14770: checking for $ac_func" >&5
14770 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14771 echo $ac_n "(cached) $ac_c" 1>&6
14773 cat > conftest.$ac_ext <<EOF
14774 #line 14775 "configure"
14775 #include "confdefs.h"
14776 /* System header to define __stub macros and hopefully few prototypes,
14777 which can conflict with char $ac_func(); below. */
14778 #include <assert.h>
14779 /* Override any gcc2 internal prototype to avoid an error. */
14780 /* We use char because int might match the return type of a gcc2
14781 builtin and then its argument prototype would still apply. */
14786 /* The GNU C library defines this for functions which it implements
14787 to always fail with ENOSYS. Some functions are actually named
14788 something starting with __ and the normal name is an alias. */
14789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14797 if { (eval echo configure:14798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14799 eval "ac_cv_func_$ac_func=yes"
14801 echo "configure: failed program was:" >&5
14802 cat conftest.$ac_ext >&5
14804 eval "ac_cv_func_$ac_func=no"
14809 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14810 echo "$ac_t""yes" 1>&6
14811 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14812 cat >> confdefs.h <<EOF
14813 #define $ac_tr_func 1
14817 echo "$ac_t""no" 1>&6
14823 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
14824 echo "configure:14825: checking for _sincosf declaration" >&5
14825 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
14826 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
14827 echo $ac_n "(cached) $ac_c" 1>&6
14832 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14833 ac_cpp='$CXXCPP $CPPFLAGS'
14834 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14835 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14836 cross_compiling=$ac_cv_prog_cxx_cross
14838 cat > conftest.$ac_ext <<EOF
14839 #line 14840 "configure"
14840 #include "confdefs.h"
14846 if { (eval echo configure:14847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14848 glibcpp_cv_func__sincosf_use=yes
14850 echo "configure: failed program was:" >&5
14851 cat conftest.$ac_ext >&5
14853 glibcpp_cv_func__sincosf_use=no
14857 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14858 ac_cpp='$CPP $CPPFLAGS'
14859 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14860 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14861 cross_compiling=$ac_cv_prog_cc_cross
14867 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
14869 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
14870 for ac_func in _sincosf
14872 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14873 echo "configure:14874: checking for $ac_func" >&5
14874 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14875 echo $ac_n "(cached) $ac_c" 1>&6
14877 cat > conftest.$ac_ext <<EOF
14878 #line 14879 "configure"
14879 #include "confdefs.h"
14880 /* System header to define __stub macros and hopefully few prototypes,
14881 which can conflict with char $ac_func(); below. */
14882 #include <assert.h>
14883 /* Override any gcc2 internal prototype to avoid an error. */
14884 /* We use char because int might match the return type of a gcc2
14885 builtin and then its argument prototype would still apply. */
14890 /* The GNU C library defines this for functions which it implements
14891 to always fail with ENOSYS. Some functions are actually named
14892 something starting with __ and the normal name is an alias. */
14893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14901 if { (eval echo configure:14902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14903 eval "ac_cv_func_$ac_func=yes"
14905 echo "configure: failed program was:" >&5
14906 cat conftest.$ac_ext >&5
14908 eval "ac_cv_func_$ac_func=no"
14913 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14914 echo "$ac_t""yes" 1>&6
14915 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14916 cat >> confdefs.h <<EOF
14917 #define $ac_tr_func 1
14921 echo "$ac_t""no" 1>&6
14930 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
14931 echo "configure:14932: checking for finitef declaration" >&5
14932 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
14933 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
14934 echo $ac_n "(cached) $ac_c" 1>&6
14939 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14940 ac_cpp='$CXXCPP $CPPFLAGS'
14941 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14942 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14943 cross_compiling=$ac_cv_prog_cxx_cross
14945 cat > conftest.$ac_ext <<EOF
14946 #line 14947 "configure"
14947 #include "confdefs.h"
14949 #ifdef HAVE_IEEEFP_H
14950 #include <ieeefp.h>
14957 if { (eval echo configure:14958: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14959 glibcpp_cv_func_finitef_use=yes
14961 echo "configure: failed program was:" >&5
14962 cat conftest.$ac_ext >&5
14964 glibcpp_cv_func_finitef_use=no
14968 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14969 ac_cpp='$CPP $CPPFLAGS'
14970 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14971 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14972 cross_compiling=$ac_cv_prog_cc_cross
14978 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
14980 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
14981 for ac_func in finitef
14983 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14984 echo "configure:14985: checking for $ac_func" >&5
14985 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14986 echo $ac_n "(cached) $ac_c" 1>&6
14988 cat > conftest.$ac_ext <<EOF
14989 #line 14990 "configure"
14990 #include "confdefs.h"
14991 /* System header to define __stub macros and hopefully few prototypes,
14992 which can conflict with char $ac_func(); below. */
14993 #include <assert.h>
14994 /* Override any gcc2 internal prototype to avoid an error. */
14995 /* We use char because int might match the return type of a gcc2
14996 builtin and then its argument prototype would still apply. */
15001 /* The GNU C library defines this for functions which it implements
15002 to always fail with ENOSYS. Some functions are actually named
15003 something starting with __ and the normal name is an alias. */
15004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15012 if { (eval echo configure:15013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15014 eval "ac_cv_func_$ac_func=yes"
15016 echo "configure: failed program was:" >&5
15017 cat conftest.$ac_ext >&5
15019 eval "ac_cv_func_$ac_func=no"
15024 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15025 echo "$ac_t""yes" 1>&6
15026 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15027 cat >> confdefs.h <<EOF
15028 #define $ac_tr_func 1
15032 echo "$ac_t""no" 1>&6
15038 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
15039 echo "configure:15040: checking for _finitef declaration" >&5
15040 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
15041 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
15042 echo $ac_n "(cached) $ac_c" 1>&6
15047 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15048 ac_cpp='$CXXCPP $CPPFLAGS'
15049 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15050 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15051 cross_compiling=$ac_cv_prog_cxx_cross
15053 cat > conftest.$ac_ext <<EOF
15054 #line 15055 "configure"
15055 #include "confdefs.h"
15057 #ifdef HAVE_IEEEFP_H
15058 #include <ieeefp.h>
15065 if { (eval echo configure:15066: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15067 glibcpp_cv_func__finitef_use=yes
15069 echo "configure: failed program was:" >&5
15070 cat conftest.$ac_ext >&5
15072 glibcpp_cv_func__finitef_use=no
15076 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15077 ac_cpp='$CPP $CPPFLAGS'
15078 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15079 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15080 cross_compiling=$ac_cv_prog_cc_cross
15086 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
15088 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
15089 for ac_func in _finitef
15091 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15092 echo "configure:15093: checking for $ac_func" >&5
15093 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15094 echo $ac_n "(cached) $ac_c" 1>&6
15096 cat > conftest.$ac_ext <<EOF
15097 #line 15098 "configure"
15098 #include "confdefs.h"
15099 /* System header to define __stub macros and hopefully few prototypes,
15100 which can conflict with char $ac_func(); below. */
15101 #include <assert.h>
15102 /* Override any gcc2 internal prototype to avoid an error. */
15103 /* We use char because int might match the return type of a gcc2
15104 builtin and then its argument prototype would still apply. */
15109 /* The GNU C library defines this for functions which it implements
15110 to always fail with ENOSYS. Some functions are actually named
15111 something starting with __ and the normal name is an alias. */
15112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15120 if { (eval echo configure:15121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15122 eval "ac_cv_func_$ac_func=yes"
15124 echo "configure: failed program was:" >&5
15125 cat conftest.$ac_ext >&5
15127 eval "ac_cv_func_$ac_func=no"
15132 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15133 echo "$ac_t""yes" 1>&6
15134 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15135 cat >> confdefs.h <<EOF
15136 #define $ac_tr_func 1
15140 echo "$ac_t""no" 1>&6
15149 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
15150 echo "configure:15151: checking for long double trig functions" >&5
15151 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
15152 echo $ac_n "(cached) $ac_c" 1>&6
15157 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15158 ac_cpp='$CXXCPP $CPPFLAGS'
15159 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15160 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15161 cross_compiling=$ac_cv_prog_cxx_cross
15163 cat > conftest.$ac_ext <<EOF
15164 #line 15165 "configure"
15165 #include "confdefs.h"
15168 `for x in acosl asinl atanl \
15170 coshl sinhl tanhl; do echo "$x (0);"; done`
15173 if { (eval echo configure:15174: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15175 glibcpp_cv_func_long_double_trig_use=yes
15177 echo "configure: failed program was:" >&5
15178 cat conftest.$ac_ext >&5
15180 glibcpp_cv_func_long_double_trig_use=no
15184 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15185 ac_cpp='$CPP $CPPFLAGS'
15186 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15187 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15188 cross_compiling=$ac_cv_prog_cc_cross
15192 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
15193 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
15194 for ac_func in acosl asinl atanl \
15198 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15199 echo "configure:15200: checking for $ac_func" >&5
15200 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15201 echo $ac_n "(cached) $ac_c" 1>&6
15203 cat > conftest.$ac_ext <<EOF
15204 #line 15205 "configure"
15205 #include "confdefs.h"
15206 /* System header to define __stub macros and hopefully few prototypes,
15207 which can conflict with char $ac_func(); below. */
15208 #include <assert.h>
15209 /* Override any gcc2 internal prototype to avoid an error. */
15210 /* We use char because int might match the return type of a gcc2
15211 builtin and then its argument prototype would still apply. */
15216 /* The GNU C library defines this for functions which it implements
15217 to always fail with ENOSYS. Some functions are actually named
15218 something starting with __ and the normal name is an alias. */
15219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15227 if { (eval echo configure:15228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15229 eval "ac_cv_func_$ac_func=yes"
15231 echo "configure: failed program was:" >&5
15232 cat conftest.$ac_ext >&5
15234 eval "ac_cv_func_$ac_func=no"
15239 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15240 echo "$ac_t""yes" 1>&6
15241 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15242 cat >> confdefs.h <<EOF
15243 #define $ac_tr_func 1
15247 echo "$ac_t""no" 1>&6
15254 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
15255 echo "configure:15256: checking for long double round functions" >&5
15256 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
15257 echo $ac_n "(cached) $ac_c" 1>&6
15262 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15263 ac_cpp='$CXXCPP $CPPFLAGS'
15264 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15265 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15266 cross_compiling=$ac_cv_prog_cxx_cross
15268 cat > conftest.$ac_ext <<EOF
15269 #line 15270 "configure"
15270 #include "confdefs.h"
15273 `for x in ceill floorl; do echo "$x (0);"; done`
15276 if { (eval echo configure:15277: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15278 glibcpp_cv_func_long_double_round_use=yes
15280 echo "configure: failed program was:" >&5
15281 cat conftest.$ac_ext >&5
15283 glibcpp_cv_func_long_double_round_use=no
15287 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15288 ac_cpp='$CPP $CPPFLAGS'
15289 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15290 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15291 cross_compiling=$ac_cv_prog_cc_cross
15295 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
15296 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
15297 for ac_func in ceill floorl
15299 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15300 echo "configure:15301: checking for $ac_func" >&5
15301 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15302 echo $ac_n "(cached) $ac_c" 1>&6
15304 cat > conftest.$ac_ext <<EOF
15305 #line 15306 "configure"
15306 #include "confdefs.h"
15307 /* System header to define __stub macros and hopefully few prototypes,
15308 which can conflict with char $ac_func(); below. */
15309 #include <assert.h>
15310 /* Override any gcc2 internal prototype to avoid an error. */
15311 /* We use char because int might match the return type of a gcc2
15312 builtin and then its argument prototype would still apply. */
15317 /* The GNU C library defines this for functions which it implements
15318 to always fail with ENOSYS. Some functions are actually named
15319 something starting with __ and the normal name is an alias. */
15320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15328 if { (eval echo configure:15329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15330 eval "ac_cv_func_$ac_func=yes"
15332 echo "configure: failed program was:" >&5
15333 cat conftest.$ac_ext >&5
15335 eval "ac_cv_func_$ac_func=no"
15340 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15341 echo "$ac_t""yes" 1>&6
15342 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15343 cat >> confdefs.h <<EOF
15344 #define $ac_tr_func 1
15348 echo "$ac_t""no" 1>&6
15356 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
15357 echo "configure:15358: checking for isnanl declaration" >&5
15358 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
15359 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
15360 echo $ac_n "(cached) $ac_c" 1>&6
15365 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15366 ac_cpp='$CXXCPP $CPPFLAGS'
15367 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15368 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15369 cross_compiling=$ac_cv_prog_cxx_cross
15371 cat > conftest.$ac_ext <<EOF
15372 #line 15373 "configure"
15373 #include "confdefs.h"
15375 #ifdef HAVE_IEEEFP_H
15376 #include <ieeefp.h>
15383 if { (eval echo configure:15384: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15385 glibcpp_cv_func_isnanl_use=yes
15387 echo "configure: failed program was:" >&5
15388 cat conftest.$ac_ext >&5
15390 glibcpp_cv_func_isnanl_use=no
15394 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15395 ac_cpp='$CPP $CPPFLAGS'
15396 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15397 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15398 cross_compiling=$ac_cv_prog_cc_cross
15404 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
15406 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
15407 for ac_func in isnanl
15409 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15410 echo "configure:15411: checking for $ac_func" >&5
15411 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15412 echo $ac_n "(cached) $ac_c" 1>&6
15414 cat > conftest.$ac_ext <<EOF
15415 #line 15416 "configure"
15416 #include "confdefs.h"
15417 /* System header to define __stub macros and hopefully few prototypes,
15418 which can conflict with char $ac_func(); below. */
15419 #include <assert.h>
15420 /* Override any gcc2 internal prototype to avoid an error. */
15421 /* We use char because int might match the return type of a gcc2
15422 builtin and then its argument prototype would still apply. */
15427 /* The GNU C library defines this for functions which it implements
15428 to always fail with ENOSYS. Some functions are actually named
15429 something starting with __ and the normal name is an alias. */
15430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15438 if { (eval echo configure:15439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15440 eval "ac_cv_func_$ac_func=yes"
15442 echo "configure: failed program was:" >&5
15443 cat conftest.$ac_ext >&5
15445 eval "ac_cv_func_$ac_func=no"
15450 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15451 echo "$ac_t""yes" 1>&6
15452 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15453 cat >> confdefs.h <<EOF
15454 #define $ac_tr_func 1
15458 echo "$ac_t""no" 1>&6
15464 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
15465 echo "configure:15466: checking for _isnanl declaration" >&5
15466 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
15467 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
15468 echo $ac_n "(cached) $ac_c" 1>&6
15473 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15474 ac_cpp='$CXXCPP $CPPFLAGS'
15475 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15476 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15477 cross_compiling=$ac_cv_prog_cxx_cross
15479 cat > conftest.$ac_ext <<EOF
15480 #line 15481 "configure"
15481 #include "confdefs.h"
15483 #ifdef HAVE_IEEEFP_H
15484 #include <ieeefp.h>
15491 if { (eval echo configure:15492: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15493 glibcpp_cv_func__isnanl_use=yes
15495 echo "configure: failed program was:" >&5
15496 cat conftest.$ac_ext >&5
15498 glibcpp_cv_func__isnanl_use=no
15502 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15503 ac_cpp='$CPP $CPPFLAGS'
15504 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15505 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15506 cross_compiling=$ac_cv_prog_cc_cross
15512 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
15514 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
15515 for ac_func in _isnanl
15517 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15518 echo "configure:15519: checking for $ac_func" >&5
15519 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15520 echo $ac_n "(cached) $ac_c" 1>&6
15522 cat > conftest.$ac_ext <<EOF
15523 #line 15524 "configure"
15524 #include "confdefs.h"
15525 /* System header to define __stub macros and hopefully few prototypes,
15526 which can conflict with char $ac_func(); below. */
15527 #include <assert.h>
15528 /* Override any gcc2 internal prototype to avoid an error. */
15529 /* We use char because int might match the return type of a gcc2
15530 builtin and then its argument prototype would still apply. */
15535 /* The GNU C library defines this for functions which it implements
15536 to always fail with ENOSYS. Some functions are actually named
15537 something starting with __ and the normal name is an alias. */
15538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15546 if { (eval echo configure:15547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15548 eval "ac_cv_func_$ac_func=yes"
15550 echo "configure: failed program was:" >&5
15551 cat conftest.$ac_ext >&5
15553 eval "ac_cv_func_$ac_func=no"
15558 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15559 echo "$ac_t""yes" 1>&6
15560 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15561 cat >> confdefs.h <<EOF
15562 #define $ac_tr_func 1
15566 echo "$ac_t""no" 1>&6
15575 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
15576 echo "configure:15577: checking for isinfl declaration" >&5
15577 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
15578 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
15579 echo $ac_n "(cached) $ac_c" 1>&6
15584 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15585 ac_cpp='$CXXCPP $CPPFLAGS'
15586 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15587 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15588 cross_compiling=$ac_cv_prog_cxx_cross
15590 cat > conftest.$ac_ext <<EOF
15591 #line 15592 "configure"
15592 #include "confdefs.h"
15594 #ifdef HAVE_IEEEFP_H
15595 #include <ieeefp.h>
15602 if { (eval echo configure:15603: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15604 glibcpp_cv_func_isinfl_use=yes
15606 echo "configure: failed program was:" >&5
15607 cat conftest.$ac_ext >&5
15609 glibcpp_cv_func_isinfl_use=no
15613 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15614 ac_cpp='$CPP $CPPFLAGS'
15615 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15616 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15617 cross_compiling=$ac_cv_prog_cc_cross
15623 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
15625 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
15626 for ac_func in isinfl
15628 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15629 echo "configure:15630: checking for $ac_func" >&5
15630 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15631 echo $ac_n "(cached) $ac_c" 1>&6
15633 cat > conftest.$ac_ext <<EOF
15634 #line 15635 "configure"
15635 #include "confdefs.h"
15636 /* System header to define __stub macros and hopefully few prototypes,
15637 which can conflict with char $ac_func(); below. */
15638 #include <assert.h>
15639 /* Override any gcc2 internal prototype to avoid an error. */
15640 /* We use char because int might match the return type of a gcc2
15641 builtin and then its argument prototype would still apply. */
15646 /* The GNU C library defines this for functions which it implements
15647 to always fail with ENOSYS. Some functions are actually named
15648 something starting with __ and the normal name is an alias. */
15649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15657 if { (eval echo configure:15658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15659 eval "ac_cv_func_$ac_func=yes"
15661 echo "configure: failed program was:" >&5
15662 cat conftest.$ac_ext >&5
15664 eval "ac_cv_func_$ac_func=no"
15669 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15670 echo "$ac_t""yes" 1>&6
15671 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15672 cat >> confdefs.h <<EOF
15673 #define $ac_tr_func 1
15677 echo "$ac_t""no" 1>&6
15683 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
15684 echo "configure:15685: checking for _isinfl declaration" >&5
15685 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
15686 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
15687 echo $ac_n "(cached) $ac_c" 1>&6
15692 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15693 ac_cpp='$CXXCPP $CPPFLAGS'
15694 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15695 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15696 cross_compiling=$ac_cv_prog_cxx_cross
15698 cat > conftest.$ac_ext <<EOF
15699 #line 15700 "configure"
15700 #include "confdefs.h"
15702 #ifdef HAVE_IEEEFP_H
15703 #include <ieeefp.h>
15710 if { (eval echo configure:15711: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15712 glibcpp_cv_func__isinfl_use=yes
15714 echo "configure: failed program was:" >&5
15715 cat conftest.$ac_ext >&5
15717 glibcpp_cv_func__isinfl_use=no
15721 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15722 ac_cpp='$CPP $CPPFLAGS'
15723 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15724 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15725 cross_compiling=$ac_cv_prog_cc_cross
15731 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
15733 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
15734 for ac_func in _isinfl
15736 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15737 echo "configure:15738: checking for $ac_func" >&5
15738 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15739 echo $ac_n "(cached) $ac_c" 1>&6
15741 cat > conftest.$ac_ext <<EOF
15742 #line 15743 "configure"
15743 #include "confdefs.h"
15744 /* System header to define __stub macros and hopefully few prototypes,
15745 which can conflict with char $ac_func(); below. */
15746 #include <assert.h>
15747 /* Override any gcc2 internal prototype to avoid an error. */
15748 /* We use char because int might match the return type of a gcc2
15749 builtin and then its argument prototype would still apply. */
15754 /* The GNU C library defines this for functions which it implements
15755 to always fail with ENOSYS. Some functions are actually named
15756 something starting with __ and the normal name is an alias. */
15757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15765 if { (eval echo configure:15766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15767 eval "ac_cv_func_$ac_func=yes"
15769 echo "configure: failed program was:" >&5
15770 cat conftest.$ac_ext >&5
15772 eval "ac_cv_func_$ac_func=no"
15777 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15778 echo "$ac_t""yes" 1>&6
15779 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15780 cat >> confdefs.h <<EOF
15781 #define $ac_tr_func 1
15785 echo "$ac_t""no" 1>&6
15794 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
15795 echo "configure:15796: checking for copysignl declaration" >&5
15796 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
15797 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
15798 echo $ac_n "(cached) $ac_c" 1>&6
15803 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15804 ac_cpp='$CXXCPP $CPPFLAGS'
15805 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15806 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15807 cross_compiling=$ac_cv_prog_cxx_cross
15809 cat > conftest.$ac_ext <<EOF
15810 #line 15811 "configure"
15811 #include "confdefs.h"
15817 if { (eval echo configure:15818: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15819 glibcpp_cv_func_copysignl_use=yes
15821 echo "configure: failed program was:" >&5
15822 cat conftest.$ac_ext >&5
15824 glibcpp_cv_func_copysignl_use=no
15828 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15829 ac_cpp='$CPP $CPPFLAGS'
15830 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15831 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15832 cross_compiling=$ac_cv_prog_cc_cross
15838 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
15840 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
15841 for ac_func in copysignl
15843 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15844 echo "configure:15845: checking for $ac_func" >&5
15845 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15846 echo $ac_n "(cached) $ac_c" 1>&6
15848 cat > conftest.$ac_ext <<EOF
15849 #line 15850 "configure"
15850 #include "confdefs.h"
15851 /* System header to define __stub macros and hopefully few prototypes,
15852 which can conflict with char $ac_func(); below. */
15853 #include <assert.h>
15854 /* Override any gcc2 internal prototype to avoid an error. */
15855 /* We use char because int might match the return type of a gcc2
15856 builtin and then its argument prototype would still apply. */
15861 /* The GNU C library defines this for functions which it implements
15862 to always fail with ENOSYS. Some functions are actually named
15863 something starting with __ and the normal name is an alias. */
15864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15872 if { (eval echo configure:15873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15874 eval "ac_cv_func_$ac_func=yes"
15876 echo "configure: failed program was:" >&5
15877 cat conftest.$ac_ext >&5
15879 eval "ac_cv_func_$ac_func=no"
15884 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15885 echo "$ac_t""yes" 1>&6
15886 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15887 cat >> confdefs.h <<EOF
15888 #define $ac_tr_func 1
15892 echo "$ac_t""no" 1>&6
15898 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
15899 echo "configure:15900: checking for _copysignl declaration" >&5
15900 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
15901 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
15902 echo $ac_n "(cached) $ac_c" 1>&6
15907 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15908 ac_cpp='$CXXCPP $CPPFLAGS'
15909 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15910 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15911 cross_compiling=$ac_cv_prog_cxx_cross
15913 cat > conftest.$ac_ext <<EOF
15914 #line 15915 "configure"
15915 #include "confdefs.h"
15921 if { (eval echo configure:15922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15923 glibcpp_cv_func__copysignl_use=yes
15925 echo "configure: failed program was:" >&5
15926 cat conftest.$ac_ext >&5
15928 glibcpp_cv_func__copysignl_use=no
15932 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15933 ac_cpp='$CPP $CPPFLAGS'
15934 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15935 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15936 cross_compiling=$ac_cv_prog_cc_cross
15942 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
15944 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
15945 for ac_func in _copysignl
15947 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15948 echo "configure:15949: checking for $ac_func" >&5
15949 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15950 echo $ac_n "(cached) $ac_c" 1>&6
15952 cat > conftest.$ac_ext <<EOF
15953 #line 15954 "configure"
15954 #include "confdefs.h"
15955 /* System header to define __stub macros and hopefully few prototypes,
15956 which can conflict with char $ac_func(); below. */
15957 #include <assert.h>
15958 /* Override any gcc2 internal prototype to avoid an error. */
15959 /* We use char because int might match the return type of a gcc2
15960 builtin and then its argument prototype would still apply. */
15965 /* The GNU C library defines this for functions which it implements
15966 to always fail with ENOSYS. Some functions are actually named
15967 something starting with __ and the normal name is an alias. */
15968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15976 if { (eval echo configure:15977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15978 eval "ac_cv_func_$ac_func=yes"
15980 echo "configure: failed program was:" >&5
15981 cat conftest.$ac_ext >&5
15983 eval "ac_cv_func_$ac_func=no"
15988 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15989 echo "$ac_t""yes" 1>&6
15990 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15991 cat >> confdefs.h <<EOF
15992 #define $ac_tr_func 1
15996 echo "$ac_t""no" 1>&6
16005 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
16006 echo "configure:16007: checking for atan2l declaration" >&5
16007 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
16008 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
16009 echo $ac_n "(cached) $ac_c" 1>&6
16014 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16015 ac_cpp='$CXXCPP $CPPFLAGS'
16016 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16017 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16018 cross_compiling=$ac_cv_prog_cxx_cross
16020 cat > conftest.$ac_ext <<EOF
16021 #line 16022 "configure"
16022 #include "confdefs.h"
16028 if { (eval echo configure:16029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16030 glibcpp_cv_func_atan2l_use=yes
16032 echo "configure: failed program was:" >&5
16033 cat conftest.$ac_ext >&5
16035 glibcpp_cv_func_atan2l_use=no
16039 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16040 ac_cpp='$CPP $CPPFLAGS'
16041 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16042 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16043 cross_compiling=$ac_cv_prog_cc_cross
16049 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
16051 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
16052 for ac_func in atan2l
16054 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16055 echo "configure:16056: checking for $ac_func" >&5
16056 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16057 echo $ac_n "(cached) $ac_c" 1>&6
16059 cat > conftest.$ac_ext <<EOF
16060 #line 16061 "configure"
16061 #include "confdefs.h"
16062 /* System header to define __stub macros and hopefully few prototypes,
16063 which can conflict with char $ac_func(); below. */
16064 #include <assert.h>
16065 /* Override any gcc2 internal prototype to avoid an error. */
16066 /* We use char because int might match the return type of a gcc2
16067 builtin and then its argument prototype would still apply. */
16072 /* The GNU C library defines this for functions which it implements
16073 to always fail with ENOSYS. Some functions are actually named
16074 something starting with __ and the normal name is an alias. */
16075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16083 if { (eval echo configure:16084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16085 eval "ac_cv_func_$ac_func=yes"
16087 echo "configure: failed program was:" >&5
16088 cat conftest.$ac_ext >&5
16090 eval "ac_cv_func_$ac_func=no"
16095 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16096 echo "$ac_t""yes" 1>&6
16097 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16098 cat >> confdefs.h <<EOF
16099 #define $ac_tr_func 1
16103 echo "$ac_t""no" 1>&6
16109 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
16110 echo "configure:16111: checking for _atan2l declaration" >&5
16111 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
16112 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
16113 echo $ac_n "(cached) $ac_c" 1>&6
16118 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16119 ac_cpp='$CXXCPP $CPPFLAGS'
16120 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16121 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16122 cross_compiling=$ac_cv_prog_cxx_cross
16124 cat > conftest.$ac_ext <<EOF
16125 #line 16126 "configure"
16126 #include "confdefs.h"
16132 if { (eval echo configure:16133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16134 glibcpp_cv_func__atan2l_use=yes
16136 echo "configure: failed program was:" >&5
16137 cat conftest.$ac_ext >&5
16139 glibcpp_cv_func__atan2l_use=no
16143 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16144 ac_cpp='$CPP $CPPFLAGS'
16145 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16146 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16147 cross_compiling=$ac_cv_prog_cc_cross
16153 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
16155 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
16156 for ac_func in _atan2l
16158 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16159 echo "configure:16160: checking for $ac_func" >&5
16160 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16161 echo $ac_n "(cached) $ac_c" 1>&6
16163 cat > conftest.$ac_ext <<EOF
16164 #line 16165 "configure"
16165 #include "confdefs.h"
16166 /* System header to define __stub macros and hopefully few prototypes,
16167 which can conflict with char $ac_func(); below. */
16168 #include <assert.h>
16169 /* Override any gcc2 internal prototype to avoid an error. */
16170 /* We use char because int might match the return type of a gcc2
16171 builtin and then its argument prototype would still apply. */
16176 /* The GNU C library defines this for functions which it implements
16177 to always fail with ENOSYS. Some functions are actually named
16178 something starting with __ and the normal name is an alias. */
16179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16187 if { (eval echo configure:16188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16189 eval "ac_cv_func_$ac_func=yes"
16191 echo "configure: failed program was:" >&5
16192 cat conftest.$ac_ext >&5
16194 eval "ac_cv_func_$ac_func=no"
16199 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16200 echo "$ac_t""yes" 1>&6
16201 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16202 cat >> confdefs.h <<EOF
16203 #define $ac_tr_func 1
16207 echo "$ac_t""no" 1>&6
16216 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
16217 echo "configure:16218: checking for expl declaration" >&5
16218 if test x${glibcpp_cv_func_expl_use+set} != xset; then
16219 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
16220 echo $ac_n "(cached) $ac_c" 1>&6
16225 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16226 ac_cpp='$CXXCPP $CPPFLAGS'
16227 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16228 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16229 cross_compiling=$ac_cv_prog_cxx_cross
16231 cat > conftest.$ac_ext <<EOF
16232 #line 16233 "configure"
16233 #include "confdefs.h"
16235 #ifdef HAVE_IEEEFP_H
16236 #include <ieeefp.h>
16243 if { (eval echo configure:16244: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16245 glibcpp_cv_func_expl_use=yes
16247 echo "configure: failed program was:" >&5
16248 cat conftest.$ac_ext >&5
16250 glibcpp_cv_func_expl_use=no
16254 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16255 ac_cpp='$CPP $CPPFLAGS'
16256 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16257 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16258 cross_compiling=$ac_cv_prog_cc_cross
16264 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
16266 if test x$glibcpp_cv_func_expl_use = x"yes"; then
16267 for ac_func in expl
16269 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16270 echo "configure:16271: checking for $ac_func" >&5
16271 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16272 echo $ac_n "(cached) $ac_c" 1>&6
16274 cat > conftest.$ac_ext <<EOF
16275 #line 16276 "configure"
16276 #include "confdefs.h"
16277 /* System header to define __stub macros and hopefully few prototypes,
16278 which can conflict with char $ac_func(); below. */
16279 #include <assert.h>
16280 /* Override any gcc2 internal prototype to avoid an error. */
16281 /* We use char because int might match the return type of a gcc2
16282 builtin and then its argument prototype would still apply. */
16287 /* The GNU C library defines this for functions which it implements
16288 to always fail with ENOSYS. Some functions are actually named
16289 something starting with __ and the normal name is an alias. */
16290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16298 if { (eval echo configure:16299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16300 eval "ac_cv_func_$ac_func=yes"
16302 echo "configure: failed program was:" >&5
16303 cat conftest.$ac_ext >&5
16305 eval "ac_cv_func_$ac_func=no"
16310 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16311 echo "$ac_t""yes" 1>&6
16312 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16313 cat >> confdefs.h <<EOF
16314 #define $ac_tr_func 1
16318 echo "$ac_t""no" 1>&6
16324 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
16325 echo "configure:16326: checking for _expl declaration" >&5
16326 if test x${glibcpp_cv_func__expl_use+set} != xset; then
16327 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
16328 echo $ac_n "(cached) $ac_c" 1>&6
16333 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16334 ac_cpp='$CXXCPP $CPPFLAGS'
16335 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16336 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16337 cross_compiling=$ac_cv_prog_cxx_cross
16339 cat > conftest.$ac_ext <<EOF
16340 #line 16341 "configure"
16341 #include "confdefs.h"
16343 #ifdef HAVE_IEEEFP_H
16344 #include <ieeefp.h>
16351 if { (eval echo configure:16352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16353 glibcpp_cv_func__expl_use=yes
16355 echo "configure: failed program was:" >&5
16356 cat conftest.$ac_ext >&5
16358 glibcpp_cv_func__expl_use=no
16362 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16363 ac_cpp='$CPP $CPPFLAGS'
16364 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16365 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16366 cross_compiling=$ac_cv_prog_cc_cross
16372 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
16374 if test x$glibcpp_cv_func__expl_use = x"yes"; then
16375 for ac_func in _expl
16377 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16378 echo "configure:16379: checking for $ac_func" >&5
16379 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16380 echo $ac_n "(cached) $ac_c" 1>&6
16382 cat > conftest.$ac_ext <<EOF
16383 #line 16384 "configure"
16384 #include "confdefs.h"
16385 /* System header to define __stub macros and hopefully few prototypes,
16386 which can conflict with char $ac_func(); below. */
16387 #include <assert.h>
16388 /* Override any gcc2 internal prototype to avoid an error. */
16389 /* We use char because int might match the return type of a gcc2
16390 builtin and then its argument prototype would still apply. */
16395 /* The GNU C library defines this for functions which it implements
16396 to always fail with ENOSYS. Some functions are actually named
16397 something starting with __ and the normal name is an alias. */
16398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16406 if { (eval echo configure:16407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16408 eval "ac_cv_func_$ac_func=yes"
16410 echo "configure: failed program was:" >&5
16411 cat conftest.$ac_ext >&5
16413 eval "ac_cv_func_$ac_func=no"
16418 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16419 echo "$ac_t""yes" 1>&6
16420 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16421 cat >> confdefs.h <<EOF
16422 #define $ac_tr_func 1
16426 echo "$ac_t""no" 1>&6
16435 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
16436 echo "configure:16437: checking for fabsl declaration" >&5
16437 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
16438 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
16439 echo $ac_n "(cached) $ac_c" 1>&6
16444 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16445 ac_cpp='$CXXCPP $CPPFLAGS'
16446 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16447 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16448 cross_compiling=$ac_cv_prog_cxx_cross
16450 cat > conftest.$ac_ext <<EOF
16451 #line 16452 "configure"
16452 #include "confdefs.h"
16454 #ifdef HAVE_IEEEFP_H
16455 #include <ieeefp.h>
16462 if { (eval echo configure:16463: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16464 glibcpp_cv_func_fabsl_use=yes
16466 echo "configure: failed program was:" >&5
16467 cat conftest.$ac_ext >&5
16469 glibcpp_cv_func_fabsl_use=no
16473 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16474 ac_cpp='$CPP $CPPFLAGS'
16475 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16476 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16477 cross_compiling=$ac_cv_prog_cc_cross
16483 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
16485 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
16486 for ac_func in fabsl
16488 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16489 echo "configure:16490: checking for $ac_func" >&5
16490 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16491 echo $ac_n "(cached) $ac_c" 1>&6
16493 cat > conftest.$ac_ext <<EOF
16494 #line 16495 "configure"
16495 #include "confdefs.h"
16496 /* System header to define __stub macros and hopefully few prototypes,
16497 which can conflict with char $ac_func(); below. */
16498 #include <assert.h>
16499 /* Override any gcc2 internal prototype to avoid an error. */
16500 /* We use char because int might match the return type of a gcc2
16501 builtin and then its argument prototype would still apply. */
16506 /* The GNU C library defines this for functions which it implements
16507 to always fail with ENOSYS. Some functions are actually named
16508 something starting with __ and the normal name is an alias. */
16509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16517 if { (eval echo configure:16518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16519 eval "ac_cv_func_$ac_func=yes"
16521 echo "configure: failed program was:" >&5
16522 cat conftest.$ac_ext >&5
16524 eval "ac_cv_func_$ac_func=no"
16529 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16530 echo "$ac_t""yes" 1>&6
16531 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16532 cat >> confdefs.h <<EOF
16533 #define $ac_tr_func 1
16537 echo "$ac_t""no" 1>&6
16543 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
16544 echo "configure:16545: checking for _fabsl declaration" >&5
16545 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
16546 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
16547 echo $ac_n "(cached) $ac_c" 1>&6
16552 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16553 ac_cpp='$CXXCPP $CPPFLAGS'
16554 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16555 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16556 cross_compiling=$ac_cv_prog_cxx_cross
16558 cat > conftest.$ac_ext <<EOF
16559 #line 16560 "configure"
16560 #include "confdefs.h"
16562 #ifdef HAVE_IEEEFP_H
16563 #include <ieeefp.h>
16570 if { (eval echo configure:16571: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16572 glibcpp_cv_func__fabsl_use=yes
16574 echo "configure: failed program was:" >&5
16575 cat conftest.$ac_ext >&5
16577 glibcpp_cv_func__fabsl_use=no
16581 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16582 ac_cpp='$CPP $CPPFLAGS'
16583 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16584 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16585 cross_compiling=$ac_cv_prog_cc_cross
16591 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
16593 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
16594 for ac_func in _fabsl
16596 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16597 echo "configure:16598: checking for $ac_func" >&5
16598 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16599 echo $ac_n "(cached) $ac_c" 1>&6
16601 cat > conftest.$ac_ext <<EOF
16602 #line 16603 "configure"
16603 #include "confdefs.h"
16604 /* System header to define __stub macros and hopefully few prototypes,
16605 which can conflict with char $ac_func(); below. */
16606 #include <assert.h>
16607 /* Override any gcc2 internal prototype to avoid an error. */
16608 /* We use char because int might match the return type of a gcc2
16609 builtin and then its argument prototype would still apply. */
16614 /* The GNU C library defines this for functions which it implements
16615 to always fail with ENOSYS. Some functions are actually named
16616 something starting with __ and the normal name is an alias. */
16617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16625 if { (eval echo configure:16626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16627 eval "ac_cv_func_$ac_func=yes"
16629 echo "configure: failed program was:" >&5
16630 cat conftest.$ac_ext >&5
16632 eval "ac_cv_func_$ac_func=no"
16637 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16638 echo "$ac_t""yes" 1>&6
16639 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16640 cat >> confdefs.h <<EOF
16641 #define $ac_tr_func 1
16645 echo "$ac_t""no" 1>&6
16654 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
16655 echo "configure:16656: checking for fmodl declaration" >&5
16656 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
16657 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
16658 echo $ac_n "(cached) $ac_c" 1>&6
16663 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16664 ac_cpp='$CXXCPP $CPPFLAGS'
16665 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16666 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16667 cross_compiling=$ac_cv_prog_cxx_cross
16669 cat > conftest.$ac_ext <<EOF
16670 #line 16671 "configure"
16671 #include "confdefs.h"
16677 if { (eval echo configure:16678: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16679 glibcpp_cv_func_fmodl_use=yes
16681 echo "configure: failed program was:" >&5
16682 cat conftest.$ac_ext >&5
16684 glibcpp_cv_func_fmodl_use=no
16688 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16689 ac_cpp='$CPP $CPPFLAGS'
16690 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16691 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16692 cross_compiling=$ac_cv_prog_cc_cross
16698 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
16700 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
16701 for ac_func in fmodl
16703 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16704 echo "configure:16705: checking for $ac_func" >&5
16705 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16706 echo $ac_n "(cached) $ac_c" 1>&6
16708 cat > conftest.$ac_ext <<EOF
16709 #line 16710 "configure"
16710 #include "confdefs.h"
16711 /* System header to define __stub macros and hopefully few prototypes,
16712 which can conflict with char $ac_func(); below. */
16713 #include <assert.h>
16714 /* Override any gcc2 internal prototype to avoid an error. */
16715 /* We use char because int might match the return type of a gcc2
16716 builtin and then its argument prototype would still apply. */
16721 /* The GNU C library defines this for functions which it implements
16722 to always fail with ENOSYS. Some functions are actually named
16723 something starting with __ and the normal name is an alias. */
16724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16732 if { (eval echo configure:16733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16734 eval "ac_cv_func_$ac_func=yes"
16736 echo "configure: failed program was:" >&5
16737 cat conftest.$ac_ext >&5
16739 eval "ac_cv_func_$ac_func=no"
16744 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16745 echo "$ac_t""yes" 1>&6
16746 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16747 cat >> confdefs.h <<EOF
16748 #define $ac_tr_func 1
16752 echo "$ac_t""no" 1>&6
16758 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
16759 echo "configure:16760: checking for _fmodl declaration" >&5
16760 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
16761 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
16762 echo $ac_n "(cached) $ac_c" 1>&6
16767 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16768 ac_cpp='$CXXCPP $CPPFLAGS'
16769 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16770 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16771 cross_compiling=$ac_cv_prog_cxx_cross
16773 cat > conftest.$ac_ext <<EOF
16774 #line 16775 "configure"
16775 #include "confdefs.h"
16781 if { (eval echo configure:16782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16783 glibcpp_cv_func__fmodl_use=yes
16785 echo "configure: failed program was:" >&5
16786 cat conftest.$ac_ext >&5
16788 glibcpp_cv_func__fmodl_use=no
16792 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16793 ac_cpp='$CPP $CPPFLAGS'
16794 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16795 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16796 cross_compiling=$ac_cv_prog_cc_cross
16802 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
16804 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
16805 for ac_func in _fmodl
16807 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16808 echo "configure:16809: checking for $ac_func" >&5
16809 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16810 echo $ac_n "(cached) $ac_c" 1>&6
16812 cat > conftest.$ac_ext <<EOF
16813 #line 16814 "configure"
16814 #include "confdefs.h"
16815 /* System header to define __stub macros and hopefully few prototypes,
16816 which can conflict with char $ac_func(); below. */
16817 #include <assert.h>
16818 /* Override any gcc2 internal prototype to avoid an error. */
16819 /* We use char because int might match the return type of a gcc2
16820 builtin and then its argument prototype would still apply. */
16825 /* The GNU C library defines this for functions which it implements
16826 to always fail with ENOSYS. Some functions are actually named
16827 something starting with __ and the normal name is an alias. */
16828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16836 if { (eval echo configure:16837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16838 eval "ac_cv_func_$ac_func=yes"
16840 echo "configure: failed program was:" >&5
16841 cat conftest.$ac_ext >&5
16843 eval "ac_cv_func_$ac_func=no"
16848 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16849 echo "$ac_t""yes" 1>&6
16850 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16851 cat >> confdefs.h <<EOF
16852 #define $ac_tr_func 1
16856 echo "$ac_t""no" 1>&6
16865 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
16866 echo "configure:16867: checking for frexpl declaration" >&5
16867 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
16868 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
16869 echo $ac_n "(cached) $ac_c" 1>&6
16874 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16875 ac_cpp='$CXXCPP $CPPFLAGS'
16876 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16877 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16878 cross_compiling=$ac_cv_prog_cxx_cross
16880 cat > conftest.$ac_ext <<EOF
16881 #line 16882 "configure"
16882 #include "confdefs.h"
16888 if { (eval echo configure:16889: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16890 glibcpp_cv_func_frexpl_use=yes
16892 echo "configure: failed program was:" >&5
16893 cat conftest.$ac_ext >&5
16895 glibcpp_cv_func_frexpl_use=no
16899 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16900 ac_cpp='$CPP $CPPFLAGS'
16901 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16902 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16903 cross_compiling=$ac_cv_prog_cc_cross
16909 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
16911 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
16912 for ac_func in frexpl
16914 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16915 echo "configure:16916: checking for $ac_func" >&5
16916 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16917 echo $ac_n "(cached) $ac_c" 1>&6
16919 cat > conftest.$ac_ext <<EOF
16920 #line 16921 "configure"
16921 #include "confdefs.h"
16922 /* System header to define __stub macros and hopefully few prototypes,
16923 which can conflict with char $ac_func(); below. */
16924 #include <assert.h>
16925 /* Override any gcc2 internal prototype to avoid an error. */
16926 /* We use char because int might match the return type of a gcc2
16927 builtin and then its argument prototype would still apply. */
16932 /* The GNU C library defines this for functions which it implements
16933 to always fail with ENOSYS. Some functions are actually named
16934 something starting with __ and the normal name is an alias. */
16935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16943 if { (eval echo configure:16944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16945 eval "ac_cv_func_$ac_func=yes"
16947 echo "configure: failed program was:" >&5
16948 cat conftest.$ac_ext >&5
16950 eval "ac_cv_func_$ac_func=no"
16955 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16956 echo "$ac_t""yes" 1>&6
16957 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16958 cat >> confdefs.h <<EOF
16959 #define $ac_tr_func 1
16963 echo "$ac_t""no" 1>&6
16969 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
16970 echo "configure:16971: checking for _frexpl declaration" >&5
16971 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
16972 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
16973 echo $ac_n "(cached) $ac_c" 1>&6
16978 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16979 ac_cpp='$CXXCPP $CPPFLAGS'
16980 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16981 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16982 cross_compiling=$ac_cv_prog_cxx_cross
16984 cat > conftest.$ac_ext <<EOF
16985 #line 16986 "configure"
16986 #include "confdefs.h"
16992 if { (eval echo configure:16993: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16994 glibcpp_cv_func__frexpl_use=yes
16996 echo "configure: failed program was:" >&5
16997 cat conftest.$ac_ext >&5
16999 glibcpp_cv_func__frexpl_use=no
17003 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17004 ac_cpp='$CPP $CPPFLAGS'
17005 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17006 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17007 cross_compiling=$ac_cv_prog_cc_cross
17013 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
17015 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
17016 for ac_func in _frexpl
17018 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17019 echo "configure:17020: checking for $ac_func" >&5
17020 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17021 echo $ac_n "(cached) $ac_c" 1>&6
17023 cat > conftest.$ac_ext <<EOF
17024 #line 17025 "configure"
17025 #include "confdefs.h"
17026 /* System header to define __stub macros and hopefully few prototypes,
17027 which can conflict with char $ac_func(); below. */
17028 #include <assert.h>
17029 /* Override any gcc2 internal prototype to avoid an error. */
17030 /* We use char because int might match the return type of a gcc2
17031 builtin and then its argument prototype would still apply. */
17036 /* The GNU C library defines this for functions which it implements
17037 to always fail with ENOSYS. Some functions are actually named
17038 something starting with __ and the normal name is an alias. */
17039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17047 if { (eval echo configure:17048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17049 eval "ac_cv_func_$ac_func=yes"
17051 echo "configure: failed program was:" >&5
17052 cat conftest.$ac_ext >&5
17054 eval "ac_cv_func_$ac_func=no"
17059 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17060 echo "$ac_t""yes" 1>&6
17061 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17062 cat >> confdefs.h <<EOF
17063 #define $ac_tr_func 1
17067 echo "$ac_t""no" 1>&6
17076 echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
17077 echo "configure:17078: checking for hypotl declaration" >&5
17078 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
17079 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
17080 echo $ac_n "(cached) $ac_c" 1>&6
17085 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17086 ac_cpp='$CXXCPP $CPPFLAGS'
17087 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17088 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17089 cross_compiling=$ac_cv_prog_cxx_cross
17091 cat > conftest.$ac_ext <<EOF
17092 #line 17093 "configure"
17093 #include "confdefs.h"
17099 if { (eval echo configure:17100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17101 glibcpp_cv_func_hypotl_use=yes
17103 echo "configure: failed program was:" >&5
17104 cat conftest.$ac_ext >&5
17106 glibcpp_cv_func_hypotl_use=no
17110 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17111 ac_cpp='$CPP $CPPFLAGS'
17112 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17113 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17114 cross_compiling=$ac_cv_prog_cc_cross
17120 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
17122 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
17123 for ac_func in hypotl
17125 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17126 echo "configure:17127: checking for $ac_func" >&5
17127 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17128 echo $ac_n "(cached) $ac_c" 1>&6
17130 cat > conftest.$ac_ext <<EOF
17131 #line 17132 "configure"
17132 #include "confdefs.h"
17133 /* System header to define __stub macros and hopefully few prototypes,
17134 which can conflict with char $ac_func(); below. */
17135 #include <assert.h>
17136 /* Override any gcc2 internal prototype to avoid an error. */
17137 /* We use char because int might match the return type of a gcc2
17138 builtin and then its argument prototype would still apply. */
17143 /* The GNU C library defines this for functions which it implements
17144 to always fail with ENOSYS. Some functions are actually named
17145 something starting with __ and the normal name is an alias. */
17146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17154 if { (eval echo configure:17155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17156 eval "ac_cv_func_$ac_func=yes"
17158 echo "configure: failed program was:" >&5
17159 cat conftest.$ac_ext >&5
17161 eval "ac_cv_func_$ac_func=no"
17166 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17167 echo "$ac_t""yes" 1>&6
17168 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17169 cat >> confdefs.h <<EOF
17170 #define $ac_tr_func 1
17174 echo "$ac_t""no" 1>&6
17180 echo $ac_n "checking for _hypotl declaration""... $ac_c" 1>&6
17181 echo "configure:17182: checking for _hypotl declaration" >&5
17182 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
17183 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
17184 echo $ac_n "(cached) $ac_c" 1>&6
17189 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17190 ac_cpp='$CXXCPP $CPPFLAGS'
17191 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17192 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17193 cross_compiling=$ac_cv_prog_cxx_cross
17195 cat > conftest.$ac_ext <<EOF
17196 #line 17197 "configure"
17197 #include "confdefs.h"
17203 if { (eval echo configure:17204: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17205 glibcpp_cv_func__hypotl_use=yes
17207 echo "configure: failed program was:" >&5
17208 cat conftest.$ac_ext >&5
17210 glibcpp_cv_func__hypotl_use=no
17214 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17215 ac_cpp='$CPP $CPPFLAGS'
17216 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17217 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17218 cross_compiling=$ac_cv_prog_cc_cross
17224 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
17226 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
17227 for ac_func in _hypotl
17229 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17230 echo "configure:17231: checking for $ac_func" >&5
17231 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17232 echo $ac_n "(cached) $ac_c" 1>&6
17234 cat > conftest.$ac_ext <<EOF
17235 #line 17236 "configure"
17236 #include "confdefs.h"
17237 /* System header to define __stub macros and hopefully few prototypes,
17238 which can conflict with char $ac_func(); below. */
17239 #include <assert.h>
17240 /* Override any gcc2 internal prototype to avoid an error. */
17241 /* We use char because int might match the return type of a gcc2
17242 builtin and then its argument prototype would still apply. */
17247 /* The GNU C library defines this for functions which it implements
17248 to always fail with ENOSYS. Some functions are actually named
17249 something starting with __ and the normal name is an alias. */
17250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17258 if { (eval echo configure:17259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17260 eval "ac_cv_func_$ac_func=yes"
17262 echo "configure: failed program was:" >&5
17263 cat conftest.$ac_ext >&5
17265 eval "ac_cv_func_$ac_func=no"
17270 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17271 echo "$ac_t""yes" 1>&6
17272 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17273 cat >> confdefs.h <<EOF
17274 #define $ac_tr_func 1
17278 echo "$ac_t""no" 1>&6
17287 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
17288 echo "configure:17289: checking for ldexpl declaration" >&5
17289 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
17290 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
17291 echo $ac_n "(cached) $ac_c" 1>&6
17296 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17297 ac_cpp='$CXXCPP $CPPFLAGS'
17298 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17299 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17300 cross_compiling=$ac_cv_prog_cxx_cross
17302 cat > conftest.$ac_ext <<EOF
17303 #line 17304 "configure"
17304 #include "confdefs.h"
17310 if { (eval echo configure:17311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17312 glibcpp_cv_func_ldexpl_use=yes
17314 echo "configure: failed program was:" >&5
17315 cat conftest.$ac_ext >&5
17317 glibcpp_cv_func_ldexpl_use=no
17321 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17322 ac_cpp='$CPP $CPPFLAGS'
17323 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17324 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17325 cross_compiling=$ac_cv_prog_cc_cross
17331 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
17333 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
17334 for ac_func in ldexpl
17336 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17337 echo "configure:17338: checking for $ac_func" >&5
17338 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17339 echo $ac_n "(cached) $ac_c" 1>&6
17341 cat > conftest.$ac_ext <<EOF
17342 #line 17343 "configure"
17343 #include "confdefs.h"
17344 /* System header to define __stub macros and hopefully few prototypes,
17345 which can conflict with char $ac_func(); below. */
17346 #include <assert.h>
17347 /* Override any gcc2 internal prototype to avoid an error. */
17348 /* We use char because int might match the return type of a gcc2
17349 builtin and then its argument prototype would still apply. */
17354 /* The GNU C library defines this for functions which it implements
17355 to always fail with ENOSYS. Some functions are actually named
17356 something starting with __ and the normal name is an alias. */
17357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17365 if { (eval echo configure:17366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17367 eval "ac_cv_func_$ac_func=yes"
17369 echo "configure: failed program was:" >&5
17370 cat conftest.$ac_ext >&5
17372 eval "ac_cv_func_$ac_func=no"
17377 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17378 echo "$ac_t""yes" 1>&6
17379 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17380 cat >> confdefs.h <<EOF
17381 #define $ac_tr_func 1
17385 echo "$ac_t""no" 1>&6
17391 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
17392 echo "configure:17393: checking for _ldexpl declaration" >&5
17393 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
17394 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
17395 echo $ac_n "(cached) $ac_c" 1>&6
17400 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17401 ac_cpp='$CXXCPP $CPPFLAGS'
17402 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17403 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17404 cross_compiling=$ac_cv_prog_cxx_cross
17406 cat > conftest.$ac_ext <<EOF
17407 #line 17408 "configure"
17408 #include "confdefs.h"
17414 if { (eval echo configure:17415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17416 glibcpp_cv_func__ldexpl_use=yes
17418 echo "configure: failed program was:" >&5
17419 cat conftest.$ac_ext >&5
17421 glibcpp_cv_func__ldexpl_use=no
17425 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17426 ac_cpp='$CPP $CPPFLAGS'
17427 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17428 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17429 cross_compiling=$ac_cv_prog_cc_cross
17435 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
17437 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
17438 for ac_func in _ldexpl
17440 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17441 echo "configure:17442: checking for $ac_func" >&5
17442 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17443 echo $ac_n "(cached) $ac_c" 1>&6
17445 cat > conftest.$ac_ext <<EOF
17446 #line 17447 "configure"
17447 #include "confdefs.h"
17448 /* System header to define __stub macros and hopefully few prototypes,
17449 which can conflict with char $ac_func(); below. */
17450 #include <assert.h>
17451 /* Override any gcc2 internal prototype to avoid an error. */
17452 /* We use char because int might match the return type of a gcc2
17453 builtin and then its argument prototype would still apply. */
17458 /* The GNU C library defines this for functions which it implements
17459 to always fail with ENOSYS. Some functions are actually named
17460 something starting with __ and the normal name is an alias. */
17461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17469 if { (eval echo configure:17470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17471 eval "ac_cv_func_$ac_func=yes"
17473 echo "configure: failed program was:" >&5
17474 cat conftest.$ac_ext >&5
17476 eval "ac_cv_func_$ac_func=no"
17481 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17482 echo "$ac_t""yes" 1>&6
17483 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17484 cat >> confdefs.h <<EOF
17485 #define $ac_tr_func 1
17489 echo "$ac_t""no" 1>&6
17498 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
17499 echo "configure:17500: checking for logl declaration" >&5
17500 if test x${glibcpp_cv_func_logl_use+set} != xset; then
17501 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
17502 echo $ac_n "(cached) $ac_c" 1>&6
17507 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17508 ac_cpp='$CXXCPP $CPPFLAGS'
17509 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17510 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17511 cross_compiling=$ac_cv_prog_cxx_cross
17513 cat > conftest.$ac_ext <<EOF
17514 #line 17515 "configure"
17515 #include "confdefs.h"
17517 #ifdef HAVE_IEEEFP_H
17518 #include <ieeefp.h>
17525 if { (eval echo configure:17526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17527 glibcpp_cv_func_logl_use=yes
17529 echo "configure: failed program was:" >&5
17530 cat conftest.$ac_ext >&5
17532 glibcpp_cv_func_logl_use=no
17536 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17537 ac_cpp='$CPP $CPPFLAGS'
17538 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17539 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17540 cross_compiling=$ac_cv_prog_cc_cross
17546 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
17548 if test x$glibcpp_cv_func_logl_use = x"yes"; then
17549 for ac_func in logl
17551 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17552 echo "configure:17553: checking for $ac_func" >&5
17553 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17554 echo $ac_n "(cached) $ac_c" 1>&6
17556 cat > conftest.$ac_ext <<EOF
17557 #line 17558 "configure"
17558 #include "confdefs.h"
17559 /* System header to define __stub macros and hopefully few prototypes,
17560 which can conflict with char $ac_func(); below. */
17561 #include <assert.h>
17562 /* Override any gcc2 internal prototype to avoid an error. */
17563 /* We use char because int might match the return type of a gcc2
17564 builtin and then its argument prototype would still apply. */
17569 /* The GNU C library defines this for functions which it implements
17570 to always fail with ENOSYS. Some functions are actually named
17571 something starting with __ and the normal name is an alias. */
17572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17580 if { (eval echo configure:17581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17582 eval "ac_cv_func_$ac_func=yes"
17584 echo "configure: failed program was:" >&5
17585 cat conftest.$ac_ext >&5
17587 eval "ac_cv_func_$ac_func=no"
17592 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17593 echo "$ac_t""yes" 1>&6
17594 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17595 cat >> confdefs.h <<EOF
17596 #define $ac_tr_func 1
17600 echo "$ac_t""no" 1>&6
17606 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
17607 echo "configure:17608: checking for _logl declaration" >&5
17608 if test x${glibcpp_cv_func__logl_use+set} != xset; then
17609 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
17610 echo $ac_n "(cached) $ac_c" 1>&6
17615 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17616 ac_cpp='$CXXCPP $CPPFLAGS'
17617 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17618 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17619 cross_compiling=$ac_cv_prog_cxx_cross
17621 cat > conftest.$ac_ext <<EOF
17622 #line 17623 "configure"
17623 #include "confdefs.h"
17625 #ifdef HAVE_IEEEFP_H
17626 #include <ieeefp.h>
17633 if { (eval echo configure:17634: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17635 glibcpp_cv_func__logl_use=yes
17637 echo "configure: failed program was:" >&5
17638 cat conftest.$ac_ext >&5
17640 glibcpp_cv_func__logl_use=no
17644 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17645 ac_cpp='$CPP $CPPFLAGS'
17646 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17647 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17648 cross_compiling=$ac_cv_prog_cc_cross
17654 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
17656 if test x$glibcpp_cv_func__logl_use = x"yes"; then
17657 for ac_func in _logl
17659 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17660 echo "configure:17661: checking for $ac_func" >&5
17661 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17662 echo $ac_n "(cached) $ac_c" 1>&6
17664 cat > conftest.$ac_ext <<EOF
17665 #line 17666 "configure"
17666 #include "confdefs.h"
17667 /* System header to define __stub macros and hopefully few prototypes,
17668 which can conflict with char $ac_func(); below. */
17669 #include <assert.h>
17670 /* Override any gcc2 internal prototype to avoid an error. */
17671 /* We use char because int might match the return type of a gcc2
17672 builtin and then its argument prototype would still apply. */
17677 /* The GNU C library defines this for functions which it implements
17678 to always fail with ENOSYS. Some functions are actually named
17679 something starting with __ and the normal name is an alias. */
17680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17688 if { (eval echo configure:17689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17690 eval "ac_cv_func_$ac_func=yes"
17692 echo "configure: failed program was:" >&5
17693 cat conftest.$ac_ext >&5
17695 eval "ac_cv_func_$ac_func=no"
17700 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17701 echo "$ac_t""yes" 1>&6
17702 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17703 cat >> confdefs.h <<EOF
17704 #define $ac_tr_func 1
17708 echo "$ac_t""no" 1>&6
17717 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
17718 echo "configure:17719: checking for log10l declaration" >&5
17719 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
17720 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
17721 echo $ac_n "(cached) $ac_c" 1>&6
17726 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17727 ac_cpp='$CXXCPP $CPPFLAGS'
17728 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17729 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17730 cross_compiling=$ac_cv_prog_cxx_cross
17732 cat > conftest.$ac_ext <<EOF
17733 #line 17734 "configure"
17734 #include "confdefs.h"
17736 #ifdef HAVE_IEEEFP_H
17737 #include <ieeefp.h>
17744 if { (eval echo configure:17745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17746 glibcpp_cv_func_log10l_use=yes
17748 echo "configure: failed program was:" >&5
17749 cat conftest.$ac_ext >&5
17751 glibcpp_cv_func_log10l_use=no
17755 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17756 ac_cpp='$CPP $CPPFLAGS'
17757 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17758 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17759 cross_compiling=$ac_cv_prog_cc_cross
17765 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
17767 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
17768 for ac_func in log10l
17770 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17771 echo "configure:17772: checking for $ac_func" >&5
17772 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17773 echo $ac_n "(cached) $ac_c" 1>&6
17775 cat > conftest.$ac_ext <<EOF
17776 #line 17777 "configure"
17777 #include "confdefs.h"
17778 /* System header to define __stub macros and hopefully few prototypes,
17779 which can conflict with char $ac_func(); below. */
17780 #include <assert.h>
17781 /* Override any gcc2 internal prototype to avoid an error. */
17782 /* We use char because int might match the return type of a gcc2
17783 builtin and then its argument prototype would still apply. */
17788 /* The GNU C library defines this for functions which it implements
17789 to always fail with ENOSYS. Some functions are actually named
17790 something starting with __ and the normal name is an alias. */
17791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17799 if { (eval echo configure:17800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17801 eval "ac_cv_func_$ac_func=yes"
17803 echo "configure: failed program was:" >&5
17804 cat conftest.$ac_ext >&5
17806 eval "ac_cv_func_$ac_func=no"
17811 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17812 echo "$ac_t""yes" 1>&6
17813 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17814 cat >> confdefs.h <<EOF
17815 #define $ac_tr_func 1
17819 echo "$ac_t""no" 1>&6
17825 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
17826 echo "configure:17827: checking for _log10l declaration" >&5
17827 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
17828 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
17829 echo $ac_n "(cached) $ac_c" 1>&6
17834 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17835 ac_cpp='$CXXCPP $CPPFLAGS'
17836 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17837 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17838 cross_compiling=$ac_cv_prog_cxx_cross
17840 cat > conftest.$ac_ext <<EOF
17841 #line 17842 "configure"
17842 #include "confdefs.h"
17844 #ifdef HAVE_IEEEFP_H
17845 #include <ieeefp.h>
17852 if { (eval echo configure:17853: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17854 glibcpp_cv_func__log10l_use=yes
17856 echo "configure: failed program was:" >&5
17857 cat conftest.$ac_ext >&5
17859 glibcpp_cv_func__log10l_use=no
17863 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17864 ac_cpp='$CPP $CPPFLAGS'
17865 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17866 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17867 cross_compiling=$ac_cv_prog_cc_cross
17873 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
17875 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
17876 for ac_func in _log10l
17878 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17879 echo "configure:17880: checking for $ac_func" >&5
17880 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17881 echo $ac_n "(cached) $ac_c" 1>&6
17883 cat > conftest.$ac_ext <<EOF
17884 #line 17885 "configure"
17885 #include "confdefs.h"
17886 /* System header to define __stub macros and hopefully few prototypes,
17887 which can conflict with char $ac_func(); below. */
17888 #include <assert.h>
17889 /* Override any gcc2 internal prototype to avoid an error. */
17890 /* We use char because int might match the return type of a gcc2
17891 builtin and then its argument prototype would still apply. */
17896 /* The GNU C library defines this for functions which it implements
17897 to always fail with ENOSYS. Some functions are actually named
17898 something starting with __ and the normal name is an alias. */
17899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17907 if { (eval echo configure:17908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17909 eval "ac_cv_func_$ac_func=yes"
17911 echo "configure: failed program was:" >&5
17912 cat conftest.$ac_ext >&5
17914 eval "ac_cv_func_$ac_func=no"
17919 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17920 echo "$ac_t""yes" 1>&6
17921 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17922 cat >> confdefs.h <<EOF
17923 #define $ac_tr_func 1
17927 echo "$ac_t""no" 1>&6
17936 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
17937 echo "configure:17938: checking for modfl declaration" >&5
17938 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
17939 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
17940 echo $ac_n "(cached) $ac_c" 1>&6
17945 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17946 ac_cpp='$CXXCPP $CPPFLAGS'
17947 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17948 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17949 cross_compiling=$ac_cv_prog_cxx_cross
17951 cat > conftest.$ac_ext <<EOF
17952 #line 17953 "configure"
17953 #include "confdefs.h"
17959 if { (eval echo configure:17960: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17961 glibcpp_cv_func_modfl_use=yes
17963 echo "configure: failed program was:" >&5
17964 cat conftest.$ac_ext >&5
17966 glibcpp_cv_func_modfl_use=no
17970 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17971 ac_cpp='$CPP $CPPFLAGS'
17972 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17973 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17974 cross_compiling=$ac_cv_prog_cc_cross
17980 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
17982 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
17983 for ac_func in modfl
17985 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17986 echo "configure:17987: checking for $ac_func" >&5
17987 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17988 echo $ac_n "(cached) $ac_c" 1>&6
17990 cat > conftest.$ac_ext <<EOF
17991 #line 17992 "configure"
17992 #include "confdefs.h"
17993 /* System header to define __stub macros and hopefully few prototypes,
17994 which can conflict with char $ac_func(); below. */
17995 #include <assert.h>
17996 /* Override any gcc2 internal prototype to avoid an error. */
17997 /* We use char because int might match the return type of a gcc2
17998 builtin and then its argument prototype would still apply. */
18003 /* The GNU C library defines this for functions which it implements
18004 to always fail with ENOSYS. Some functions are actually named
18005 something starting with __ and the normal name is an alias. */
18006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18014 if { (eval echo configure:18015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18016 eval "ac_cv_func_$ac_func=yes"
18018 echo "configure: failed program was:" >&5
18019 cat conftest.$ac_ext >&5
18021 eval "ac_cv_func_$ac_func=no"
18026 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18027 echo "$ac_t""yes" 1>&6
18028 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18029 cat >> confdefs.h <<EOF
18030 #define $ac_tr_func 1
18034 echo "$ac_t""no" 1>&6
18040 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
18041 echo "configure:18042: checking for _modfl declaration" >&5
18042 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
18043 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
18044 echo $ac_n "(cached) $ac_c" 1>&6
18049 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18050 ac_cpp='$CXXCPP $CPPFLAGS'
18051 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18052 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18053 cross_compiling=$ac_cv_prog_cxx_cross
18055 cat > conftest.$ac_ext <<EOF
18056 #line 18057 "configure"
18057 #include "confdefs.h"
18063 if { (eval echo configure:18064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18065 glibcpp_cv_func__modfl_use=yes
18067 echo "configure: failed program was:" >&5
18068 cat conftest.$ac_ext >&5
18070 glibcpp_cv_func__modfl_use=no
18074 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18075 ac_cpp='$CPP $CPPFLAGS'
18076 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18077 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18078 cross_compiling=$ac_cv_prog_cc_cross
18084 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
18086 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
18087 for ac_func in _modfl
18089 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18090 echo "configure:18091: checking for $ac_func" >&5
18091 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18092 echo $ac_n "(cached) $ac_c" 1>&6
18094 cat > conftest.$ac_ext <<EOF
18095 #line 18096 "configure"
18096 #include "confdefs.h"
18097 /* System header to define __stub macros and hopefully few prototypes,
18098 which can conflict with char $ac_func(); below. */
18099 #include <assert.h>
18100 /* Override any gcc2 internal prototype to avoid an error. */
18101 /* We use char because int might match the return type of a gcc2
18102 builtin and then its argument prototype would still apply. */
18107 /* The GNU C library defines this for functions which it implements
18108 to always fail with ENOSYS. Some functions are actually named
18109 something starting with __ and the normal name is an alias. */
18110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18118 if { (eval echo configure:18119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18120 eval "ac_cv_func_$ac_func=yes"
18122 echo "configure: failed program was:" >&5
18123 cat conftest.$ac_ext >&5
18125 eval "ac_cv_func_$ac_func=no"
18130 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18131 echo "$ac_t""yes" 1>&6
18132 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18133 cat >> confdefs.h <<EOF
18134 #define $ac_tr_func 1
18138 echo "$ac_t""no" 1>&6
18147 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
18148 echo "configure:18149: checking for powl declaration" >&5
18149 if test x${glibcpp_cv_func_powl_use+set} != xset; then
18150 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
18151 echo $ac_n "(cached) $ac_c" 1>&6
18156 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18157 ac_cpp='$CXXCPP $CPPFLAGS'
18158 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18159 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18160 cross_compiling=$ac_cv_prog_cxx_cross
18162 cat > conftest.$ac_ext <<EOF
18163 #line 18164 "configure"
18164 #include "confdefs.h"
18170 if { (eval echo configure:18171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18172 glibcpp_cv_func_powl_use=yes
18174 echo "configure: failed program was:" >&5
18175 cat conftest.$ac_ext >&5
18177 glibcpp_cv_func_powl_use=no
18181 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18182 ac_cpp='$CPP $CPPFLAGS'
18183 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18184 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18185 cross_compiling=$ac_cv_prog_cc_cross
18191 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
18193 if test x$glibcpp_cv_func_powl_use = x"yes"; then
18194 for ac_func in powl
18196 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18197 echo "configure:18198: checking for $ac_func" >&5
18198 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18199 echo $ac_n "(cached) $ac_c" 1>&6
18201 cat > conftest.$ac_ext <<EOF
18202 #line 18203 "configure"
18203 #include "confdefs.h"
18204 /* System header to define __stub macros and hopefully few prototypes,
18205 which can conflict with char $ac_func(); below. */
18206 #include <assert.h>
18207 /* Override any gcc2 internal prototype to avoid an error. */
18208 /* We use char because int might match the return type of a gcc2
18209 builtin and then its argument prototype would still apply. */
18214 /* The GNU C library defines this for functions which it implements
18215 to always fail with ENOSYS. Some functions are actually named
18216 something starting with __ and the normal name is an alias. */
18217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18225 if { (eval echo configure:18226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18227 eval "ac_cv_func_$ac_func=yes"
18229 echo "configure: failed program was:" >&5
18230 cat conftest.$ac_ext >&5
18232 eval "ac_cv_func_$ac_func=no"
18237 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18238 echo "$ac_t""yes" 1>&6
18239 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18240 cat >> confdefs.h <<EOF
18241 #define $ac_tr_func 1
18245 echo "$ac_t""no" 1>&6
18251 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
18252 echo "configure:18253: checking for _powl declaration" >&5
18253 if test x${glibcpp_cv_func__powl_use+set} != xset; then
18254 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
18255 echo $ac_n "(cached) $ac_c" 1>&6
18260 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18261 ac_cpp='$CXXCPP $CPPFLAGS'
18262 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18263 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18264 cross_compiling=$ac_cv_prog_cxx_cross
18266 cat > conftest.$ac_ext <<EOF
18267 #line 18268 "configure"
18268 #include "confdefs.h"
18274 if { (eval echo configure:18275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18276 glibcpp_cv_func__powl_use=yes
18278 echo "configure: failed program was:" >&5
18279 cat conftest.$ac_ext >&5
18281 glibcpp_cv_func__powl_use=no
18285 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18286 ac_cpp='$CPP $CPPFLAGS'
18287 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18288 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18289 cross_compiling=$ac_cv_prog_cc_cross
18295 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
18297 if test x$glibcpp_cv_func__powl_use = x"yes"; then
18298 for ac_func in _powl
18300 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18301 echo "configure:18302: checking for $ac_func" >&5
18302 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18303 echo $ac_n "(cached) $ac_c" 1>&6
18305 cat > conftest.$ac_ext <<EOF
18306 #line 18307 "configure"
18307 #include "confdefs.h"
18308 /* System header to define __stub macros and hopefully few prototypes,
18309 which can conflict with char $ac_func(); below. */
18310 #include <assert.h>
18311 /* Override any gcc2 internal prototype to avoid an error. */
18312 /* We use char because int might match the return type of a gcc2
18313 builtin and then its argument prototype would still apply. */
18318 /* The GNU C library defines this for functions which it implements
18319 to always fail with ENOSYS. Some functions are actually named
18320 something starting with __ and the normal name is an alias. */
18321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18329 if { (eval echo configure:18330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18331 eval "ac_cv_func_$ac_func=yes"
18333 echo "configure: failed program was:" >&5
18334 cat conftest.$ac_ext >&5
18336 eval "ac_cv_func_$ac_func=no"
18341 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18342 echo "$ac_t""yes" 1>&6
18343 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18344 cat >> confdefs.h <<EOF
18345 #define $ac_tr_func 1
18349 echo "$ac_t""no" 1>&6
18358 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
18359 echo "configure:18360: checking for sqrtl declaration" >&5
18360 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
18361 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
18362 echo $ac_n "(cached) $ac_c" 1>&6
18367 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18368 ac_cpp='$CXXCPP $CPPFLAGS'
18369 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18370 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18371 cross_compiling=$ac_cv_prog_cxx_cross
18373 cat > conftest.$ac_ext <<EOF
18374 #line 18375 "configure"
18375 #include "confdefs.h"
18377 #ifdef HAVE_IEEEFP_H
18378 #include <ieeefp.h>
18385 if { (eval echo configure:18386: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18387 glibcpp_cv_func_sqrtl_use=yes
18389 echo "configure: failed program was:" >&5
18390 cat conftest.$ac_ext >&5
18392 glibcpp_cv_func_sqrtl_use=no
18396 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18397 ac_cpp='$CPP $CPPFLAGS'
18398 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18399 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18400 cross_compiling=$ac_cv_prog_cc_cross
18406 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
18408 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
18409 for ac_func in sqrtl
18411 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18412 echo "configure:18413: checking for $ac_func" >&5
18413 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18414 echo $ac_n "(cached) $ac_c" 1>&6
18416 cat > conftest.$ac_ext <<EOF
18417 #line 18418 "configure"
18418 #include "confdefs.h"
18419 /* System header to define __stub macros and hopefully few prototypes,
18420 which can conflict with char $ac_func(); below. */
18421 #include <assert.h>
18422 /* Override any gcc2 internal prototype to avoid an error. */
18423 /* We use char because int might match the return type of a gcc2
18424 builtin and then its argument prototype would still apply. */
18429 /* The GNU C library defines this for functions which it implements
18430 to always fail with ENOSYS. Some functions are actually named
18431 something starting with __ and the normal name is an alias. */
18432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18440 if { (eval echo configure:18441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18442 eval "ac_cv_func_$ac_func=yes"
18444 echo "configure: failed program was:" >&5
18445 cat conftest.$ac_ext >&5
18447 eval "ac_cv_func_$ac_func=no"
18452 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18453 echo "$ac_t""yes" 1>&6
18454 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18455 cat >> confdefs.h <<EOF
18456 #define $ac_tr_func 1
18460 echo "$ac_t""no" 1>&6
18466 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
18467 echo "configure:18468: checking for _sqrtl declaration" >&5
18468 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
18469 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
18470 echo $ac_n "(cached) $ac_c" 1>&6
18475 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18476 ac_cpp='$CXXCPP $CPPFLAGS'
18477 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18478 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18479 cross_compiling=$ac_cv_prog_cxx_cross
18481 cat > conftest.$ac_ext <<EOF
18482 #line 18483 "configure"
18483 #include "confdefs.h"
18485 #ifdef HAVE_IEEEFP_H
18486 #include <ieeefp.h>
18493 if { (eval echo configure:18494: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18495 glibcpp_cv_func__sqrtl_use=yes
18497 echo "configure: failed program was:" >&5
18498 cat conftest.$ac_ext >&5
18500 glibcpp_cv_func__sqrtl_use=no
18504 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18505 ac_cpp='$CPP $CPPFLAGS'
18506 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18507 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18508 cross_compiling=$ac_cv_prog_cc_cross
18514 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
18516 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
18517 for ac_func in _sqrtl
18519 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18520 echo "configure:18521: checking for $ac_func" >&5
18521 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18522 echo $ac_n "(cached) $ac_c" 1>&6
18524 cat > conftest.$ac_ext <<EOF
18525 #line 18526 "configure"
18526 #include "confdefs.h"
18527 /* System header to define __stub macros and hopefully few prototypes,
18528 which can conflict with char $ac_func(); below. */
18529 #include <assert.h>
18530 /* Override any gcc2 internal prototype to avoid an error. */
18531 /* We use char because int might match the return type of a gcc2
18532 builtin and then its argument prototype would still apply. */
18537 /* The GNU C library defines this for functions which it implements
18538 to always fail with ENOSYS. Some functions are actually named
18539 something starting with __ and the normal name is an alias. */
18540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18548 if { (eval echo configure:18549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18550 eval "ac_cv_func_$ac_func=yes"
18552 echo "configure: failed program was:" >&5
18553 cat conftest.$ac_ext >&5
18555 eval "ac_cv_func_$ac_func=no"
18560 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18561 echo "$ac_t""yes" 1>&6
18562 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18563 cat >> confdefs.h <<EOF
18564 #define $ac_tr_func 1
18568 echo "$ac_t""no" 1>&6
18577 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
18578 echo "configure:18579: checking for sincosl declaration" >&5
18579 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
18580 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
18581 echo $ac_n "(cached) $ac_c" 1>&6
18586 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18587 ac_cpp='$CXXCPP $CPPFLAGS'
18588 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18589 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18590 cross_compiling=$ac_cv_prog_cxx_cross
18592 cat > conftest.$ac_ext <<EOF
18593 #line 18594 "configure"
18594 #include "confdefs.h"
18600 if { (eval echo configure:18601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18602 glibcpp_cv_func_sincosl_use=yes
18604 echo "configure: failed program was:" >&5
18605 cat conftest.$ac_ext >&5
18607 glibcpp_cv_func_sincosl_use=no
18611 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18612 ac_cpp='$CPP $CPPFLAGS'
18613 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18614 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18615 cross_compiling=$ac_cv_prog_cc_cross
18621 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
18623 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
18624 for ac_func in sincosl
18626 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18627 echo "configure:18628: checking for $ac_func" >&5
18628 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18629 echo $ac_n "(cached) $ac_c" 1>&6
18631 cat > conftest.$ac_ext <<EOF
18632 #line 18633 "configure"
18633 #include "confdefs.h"
18634 /* System header to define __stub macros and hopefully few prototypes,
18635 which can conflict with char $ac_func(); below. */
18636 #include <assert.h>
18637 /* Override any gcc2 internal prototype to avoid an error. */
18638 /* We use char because int might match the return type of a gcc2
18639 builtin and then its argument prototype would still apply. */
18644 /* The GNU C library defines this for functions which it implements
18645 to always fail with ENOSYS. Some functions are actually named
18646 something starting with __ and the normal name is an alias. */
18647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18655 if { (eval echo configure:18656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18657 eval "ac_cv_func_$ac_func=yes"
18659 echo "configure: failed program was:" >&5
18660 cat conftest.$ac_ext >&5
18662 eval "ac_cv_func_$ac_func=no"
18667 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18668 echo "$ac_t""yes" 1>&6
18669 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18670 cat >> confdefs.h <<EOF
18671 #define $ac_tr_func 1
18675 echo "$ac_t""no" 1>&6
18681 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
18682 echo "configure:18683: checking for _sincosl declaration" >&5
18683 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
18684 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
18685 echo $ac_n "(cached) $ac_c" 1>&6
18690 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18691 ac_cpp='$CXXCPP $CPPFLAGS'
18692 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18693 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18694 cross_compiling=$ac_cv_prog_cxx_cross
18696 cat > conftest.$ac_ext <<EOF
18697 #line 18698 "configure"
18698 #include "confdefs.h"
18704 if { (eval echo configure:18705: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18706 glibcpp_cv_func__sincosl_use=yes
18708 echo "configure: failed program was:" >&5
18709 cat conftest.$ac_ext >&5
18711 glibcpp_cv_func__sincosl_use=no
18715 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18716 ac_cpp='$CPP $CPPFLAGS'
18717 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18718 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18719 cross_compiling=$ac_cv_prog_cc_cross
18725 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
18727 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
18728 for ac_func in _sincosl
18730 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18731 echo "configure:18732: checking for $ac_func" >&5
18732 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18733 echo $ac_n "(cached) $ac_c" 1>&6
18735 cat > conftest.$ac_ext <<EOF
18736 #line 18737 "configure"
18737 #include "confdefs.h"
18738 /* System header to define __stub macros and hopefully few prototypes,
18739 which can conflict with char $ac_func(); below. */
18740 #include <assert.h>
18741 /* Override any gcc2 internal prototype to avoid an error. */
18742 /* We use char because int might match the return type of a gcc2
18743 builtin and then its argument prototype would still apply. */
18748 /* The GNU C library defines this for functions which it implements
18749 to always fail with ENOSYS. Some functions are actually named
18750 something starting with __ and the normal name is an alias. */
18751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18759 if { (eval echo configure:18760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18761 eval "ac_cv_func_$ac_func=yes"
18763 echo "configure: failed program was:" >&5
18764 cat conftest.$ac_ext >&5
18766 eval "ac_cv_func_$ac_func=no"
18771 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18772 echo "$ac_t""yes" 1>&6
18773 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18774 cat >> confdefs.h <<EOF
18775 #define $ac_tr_func 1
18779 echo "$ac_t""no" 1>&6
18788 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
18789 echo "configure:18790: checking for finitel declaration" >&5
18790 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
18791 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
18792 echo $ac_n "(cached) $ac_c" 1>&6
18797 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18798 ac_cpp='$CXXCPP $CPPFLAGS'
18799 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18800 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18801 cross_compiling=$ac_cv_prog_cxx_cross
18803 cat > conftest.$ac_ext <<EOF
18804 #line 18805 "configure"
18805 #include "confdefs.h"
18807 #ifdef HAVE_IEEEFP_H
18808 #include <ieeefp.h>
18815 if { (eval echo configure:18816: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18817 glibcpp_cv_func_finitel_use=yes
18819 echo "configure: failed program was:" >&5
18820 cat conftest.$ac_ext >&5
18822 glibcpp_cv_func_finitel_use=no
18826 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18827 ac_cpp='$CPP $CPPFLAGS'
18828 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18829 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18830 cross_compiling=$ac_cv_prog_cc_cross
18836 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
18838 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
18839 for ac_func in finitel
18841 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18842 echo "configure:18843: checking for $ac_func" >&5
18843 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18844 echo $ac_n "(cached) $ac_c" 1>&6
18846 cat > conftest.$ac_ext <<EOF
18847 #line 18848 "configure"
18848 #include "confdefs.h"
18849 /* System header to define __stub macros and hopefully few prototypes,
18850 which can conflict with char $ac_func(); below. */
18851 #include <assert.h>
18852 /* Override any gcc2 internal prototype to avoid an error. */
18853 /* We use char because int might match the return type of a gcc2
18854 builtin and then its argument prototype would still apply. */
18859 /* The GNU C library defines this for functions which it implements
18860 to always fail with ENOSYS. Some functions are actually named
18861 something starting with __ and the normal name is an alias. */
18862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18870 if { (eval echo configure:18871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18872 eval "ac_cv_func_$ac_func=yes"
18874 echo "configure: failed program was:" >&5
18875 cat conftest.$ac_ext >&5
18877 eval "ac_cv_func_$ac_func=no"
18882 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18883 echo "$ac_t""yes" 1>&6
18884 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18885 cat >> confdefs.h <<EOF
18886 #define $ac_tr_func 1
18890 echo "$ac_t""no" 1>&6
18896 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
18897 echo "configure:18898: checking for _finitel declaration" >&5
18898 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
18899 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
18900 echo $ac_n "(cached) $ac_c" 1>&6
18905 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18906 ac_cpp='$CXXCPP $CPPFLAGS'
18907 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18908 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18909 cross_compiling=$ac_cv_prog_cxx_cross
18911 cat > conftest.$ac_ext <<EOF
18912 #line 18913 "configure"
18913 #include "confdefs.h"
18915 #ifdef HAVE_IEEEFP_H
18916 #include <ieeefp.h>
18923 if { (eval echo configure:18924: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18925 glibcpp_cv_func__finitel_use=yes
18927 echo "configure: failed program was:" >&5
18928 cat conftest.$ac_ext >&5
18930 glibcpp_cv_func__finitel_use=no
18934 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18935 ac_cpp='$CPP $CPPFLAGS'
18936 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18937 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18938 cross_compiling=$ac_cv_prog_cc_cross
18944 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
18946 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
18947 for ac_func in _finitel
18949 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18950 echo "configure:18951: checking for $ac_func" >&5
18951 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18952 echo $ac_n "(cached) $ac_c" 1>&6
18954 cat > conftest.$ac_ext <<EOF
18955 #line 18956 "configure"
18956 #include "confdefs.h"
18957 /* System header to define __stub macros and hopefully few prototypes,
18958 which can conflict with char $ac_func(); below. */
18959 #include <assert.h>
18960 /* Override any gcc2 internal prototype to avoid an error. */
18961 /* We use char because int might match the return type of a gcc2
18962 builtin and then its argument prototype would still apply. */
18967 /* The GNU C library defines this for functions which it implements
18968 to always fail with ENOSYS. Some functions are actually named
18969 something starting with __ and the normal name is an alias. */
18970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18978 if { (eval echo configure:18979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18980 eval "ac_cv_func_$ac_func=yes"
18982 echo "configure: failed program was:" >&5
18983 cat conftest.$ac_ext >&5
18985 eval "ac_cv_func_$ac_func=no"
18990 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18991 echo "$ac_t""yes" 1>&6
18992 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18993 cat >> confdefs.h <<EOF
18994 #define $ac_tr_func 1
18998 echo "$ac_t""no" 1>&6
19008 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
19009 echo "configure:19010: checking for _float trig functions" >&5
19010 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
19011 echo $ac_n "(cached) $ac_c" 1>&6
19016 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19017 ac_cpp='$CXXCPP $CPPFLAGS'
19018 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19019 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19020 cross_compiling=$ac_cv_prog_cxx_cross
19022 cat > conftest.$ac_ext <<EOF
19023 #line 19024 "configure"
19024 #include "confdefs.h"
19027 `for x in _acosf _asinf _atanf \
19028 _cosf _sinf _tanf \
19029 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
19032 if { (eval echo configure:19033: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19034 glibcpp_cv_func__float_trig_use=yes
19036 echo "configure: failed program was:" >&5
19037 cat conftest.$ac_ext >&5
19039 glibcpp_cv_func__float_trig_use=no
19043 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19044 ac_cpp='$CPP $CPPFLAGS'
19045 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19046 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19047 cross_compiling=$ac_cv_prog_cc_cross
19051 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
19052 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
19053 for ac_func in _acosf _asinf _atanf \
19054 _cosf _sinf _tanf \
19055 _coshf _sinhf _tanhf
19057 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19058 echo "configure:19059: checking for $ac_func" >&5
19059 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19060 echo $ac_n "(cached) $ac_c" 1>&6
19062 cat > conftest.$ac_ext <<EOF
19063 #line 19064 "configure"
19064 #include "confdefs.h"
19065 /* System header to define __stub macros and hopefully few prototypes,
19066 which can conflict with char $ac_func(); below. */
19067 #include <assert.h>
19068 /* Override any gcc2 internal prototype to avoid an error. */
19069 /* We use char because int might match the return type of a gcc2
19070 builtin and then its argument prototype would still apply. */
19075 /* The GNU C library defines this for functions which it implements
19076 to always fail with ENOSYS. Some functions are actually named
19077 something starting with __ and the normal name is an alias. */
19078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19086 if { (eval echo configure:19087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19088 eval "ac_cv_func_$ac_func=yes"
19090 echo "configure: failed program was:" >&5
19091 cat conftest.$ac_ext >&5
19093 eval "ac_cv_func_$ac_func=no"
19098 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19099 echo "$ac_t""yes" 1>&6
19100 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19101 cat >> confdefs.h <<EOF
19102 #define $ac_tr_func 1
19106 echo "$ac_t""no" 1>&6
19113 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
19114 echo "configure:19115: checking for _float round functions" >&5
19115 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
19116 echo $ac_n "(cached) $ac_c" 1>&6
19121 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19122 ac_cpp='$CXXCPP $CPPFLAGS'
19123 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19124 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19125 cross_compiling=$ac_cv_prog_cxx_cross
19127 cat > conftest.$ac_ext <<EOF
19128 #line 19129 "configure"
19129 #include "confdefs.h"
19132 `for x in _ceilf _floorf; do echo "$x (0);"; done`
19135 if { (eval echo configure:19136: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19137 glibcpp_cv_func__float_round_use=yes
19139 echo "configure: failed program was:" >&5
19140 cat conftest.$ac_ext >&5
19142 glibcpp_cv_func__float_round_use=no
19146 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19147 ac_cpp='$CPP $CPPFLAGS'
19148 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19149 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19150 cross_compiling=$ac_cv_prog_cc_cross
19154 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
19155 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
19156 for ac_func in _ceilf _floorf
19158 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19159 echo "configure:19160: checking for $ac_func" >&5
19160 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19161 echo $ac_n "(cached) $ac_c" 1>&6
19163 cat > conftest.$ac_ext <<EOF
19164 #line 19165 "configure"
19165 #include "confdefs.h"
19166 /* System header to define __stub macros and hopefully few prototypes,
19167 which can conflict with char $ac_func(); below. */
19168 #include <assert.h>
19169 /* Override any gcc2 internal prototype to avoid an error. */
19170 /* We use char because int might match the return type of a gcc2
19171 builtin and then its argument prototype would still apply. */
19176 /* The GNU C library defines this for functions which it implements
19177 to always fail with ENOSYS. Some functions are actually named
19178 something starting with __ and the normal name is an alias. */
19179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19187 if { (eval echo configure:19188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19189 eval "ac_cv_func_$ac_func=yes"
19191 echo "configure: failed program was:" >&5
19192 cat conftest.$ac_ext >&5
19194 eval "ac_cv_func_$ac_func=no"
19199 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19200 echo "$ac_t""yes" 1>&6
19201 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19202 cat >> confdefs.h <<EOF
19203 #define $ac_tr_func 1
19207 echo "$ac_t""no" 1>&6
19215 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
19216 echo "configure:19217: checking for _long double trig functions" >&5
19217 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
19218 echo $ac_n "(cached) $ac_c" 1>&6
19223 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19224 ac_cpp='$CXXCPP $CPPFLAGS'
19225 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19226 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19227 cross_compiling=$ac_cv_prog_cxx_cross
19229 cat > conftest.$ac_ext <<EOF
19230 #line 19231 "configure"
19231 #include "confdefs.h"
19234 `for x in _acosl _asinl _atanl \
19235 _cosl _sinl _tanl \
19236 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
19239 if { (eval echo configure:19240: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19241 glibcpp_cv_func__long_double_trig_use=yes
19243 echo "configure: failed program was:" >&5
19244 cat conftest.$ac_ext >&5
19246 glibcpp_cv_func__long_double_trig_use=no
19250 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19251 ac_cpp='$CPP $CPPFLAGS'
19252 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19253 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19254 cross_compiling=$ac_cv_prog_cc_cross
19258 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
19259 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
19260 for ac_func in _acosl _asinl _atanl \
19261 _cosl _sinl _tanl \
19262 _coshl _sinhl _tanhl
19264 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19265 echo "configure:19266: checking for $ac_func" >&5
19266 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19267 echo $ac_n "(cached) $ac_c" 1>&6
19269 cat > conftest.$ac_ext <<EOF
19270 #line 19271 "configure"
19271 #include "confdefs.h"
19272 /* System header to define __stub macros and hopefully few prototypes,
19273 which can conflict with char $ac_func(); below. */
19274 #include <assert.h>
19275 /* Override any gcc2 internal prototype to avoid an error. */
19276 /* We use char because int might match the return type of a gcc2
19277 builtin and then its argument prototype would still apply. */
19282 /* The GNU C library defines this for functions which it implements
19283 to always fail with ENOSYS. Some functions are actually named
19284 something starting with __ and the normal name is an alias. */
19285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19293 if { (eval echo configure:19294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19295 eval "ac_cv_func_$ac_func=yes"
19297 echo "configure: failed program was:" >&5
19298 cat conftest.$ac_ext >&5
19300 eval "ac_cv_func_$ac_func=no"
19305 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19306 echo "$ac_t""yes" 1>&6
19307 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19308 cat >> confdefs.h <<EOF
19309 #define $ac_tr_func 1
19313 echo "$ac_t""no" 1>&6
19320 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
19321 echo "configure:19322: checking for _long double round functions" >&5
19322 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
19323 echo $ac_n "(cached) $ac_c" 1>&6
19328 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19329 ac_cpp='$CXXCPP $CPPFLAGS'
19330 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19331 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19332 cross_compiling=$ac_cv_prog_cxx_cross
19334 cat > conftest.$ac_ext <<EOF
19335 #line 19336 "configure"
19336 #include "confdefs.h"
19339 `for x in _ceill _floorl; do echo "$x (0);"; done`
19342 if { (eval echo configure:19343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19344 glibcpp_cv_func__long_double_round_use=yes
19346 echo "configure: failed program was:" >&5
19347 cat conftest.$ac_ext >&5
19349 glibcpp_cv_func__long_double_round_use=no
19353 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19354 ac_cpp='$CPP $CPPFLAGS'
19355 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19356 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19357 cross_compiling=$ac_cv_prog_cc_cross
19361 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
19362 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
19363 for ac_func in _ceill _floorl
19365 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19366 echo "configure:19367: checking for $ac_func" >&5
19367 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19368 echo $ac_n "(cached) $ac_c" 1>&6
19370 cat > conftest.$ac_ext <<EOF
19371 #line 19372 "configure"
19372 #include "confdefs.h"
19373 /* System header to define __stub macros and hopefully few prototypes,
19374 which can conflict with char $ac_func(); below. */
19375 #include <assert.h>
19376 /* Override any gcc2 internal prototype to avoid an error. */
19377 /* We use char because int might match the return type of a gcc2
19378 builtin and then its argument prototype would still apply. */
19383 /* The GNU C library defines this for functions which it implements
19384 to always fail with ENOSYS. Some functions are actually named
19385 something starting with __ and the normal name is an alias. */
19386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19394 if { (eval echo configure:19395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19396 eval "ac_cv_func_$ac_func=yes"
19398 echo "configure: failed program was:" >&5
19399 cat conftest.$ac_ext >&5
19401 eval "ac_cv_func_$ac_func=no"
19406 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19407 echo "$ac_t""yes" 1>&6
19408 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19409 cat >> confdefs.h <<EOF
19410 #define $ac_tr_func 1
19414 echo "$ac_t""no" 1>&6
19421 LIBS="$ac_save_LIBS"
19422 CXXFLAGS="$ac_save_CXXFLAGS"
19425 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
19426 echo "configure:19427: checking for main in -lm" >&5
19427 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
19428 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19429 echo $ac_n "(cached) $ac_c" 1>&6
19431 ac_save_LIBS="$LIBS"
19433 cat > conftest.$ac_ext <<EOF
19434 #line 19435 "configure"
19435 #include "confdefs.h"
19441 if { (eval echo configure:19442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19443 eval "ac_cv_lib_$ac_lib_var=yes"
19445 echo "configure: failed program was:" >&5
19446 cat conftest.$ac_ext >&5
19448 eval "ac_cv_lib_$ac_lib_var=no"
19451 LIBS="$ac_save_LIBS"
19454 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19455 echo "$ac_t""yes" 1>&6
19456 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
19457 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
19458 cat >> confdefs.h <<EOF
19459 #define $ac_tr_lib 1
19465 echo "$ac_t""no" 1>&6
19468 for ac_func in nan copysignf
19470 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19471 echo "configure:19472: checking for $ac_func" >&5
19472 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19473 echo $ac_n "(cached) $ac_c" 1>&6
19475 cat > conftest.$ac_ext <<EOF
19476 #line 19477 "configure"
19477 #include "confdefs.h"
19478 /* System header to define __stub macros and hopefully few prototypes,
19479 which can conflict with char $ac_func(); below. */
19480 #include <assert.h>
19481 /* Override any gcc2 internal prototype to avoid an error. */
19482 /* We use char because int might match the return type of a gcc2
19483 builtin and then its argument prototype would still apply. */
19488 /* The GNU C library defines this for functions which it implements
19489 to always fail with ENOSYS. Some functions are actually named
19490 something starting with __ and the normal name is an alias. */
19491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19499 if { (eval echo configure:19500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19501 eval "ac_cv_func_$ac_func=yes"
19503 echo "configure: failed program was:" >&5
19504 cat conftest.$ac_ext >&5
19506 eval "ac_cv_func_$ac_func=no"
19511 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19512 echo "$ac_t""yes" 1>&6
19513 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19514 cat >> confdefs.h <<EOF
19515 #define $ac_tr_func 1
19519 echo "$ac_t""no" 1>&6
19520 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
19525 for ac_func in __signbit
19527 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19528 echo "configure:19529: checking for $ac_func" >&5
19529 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19530 echo $ac_n "(cached) $ac_c" 1>&6
19532 cat > conftest.$ac_ext <<EOF
19533 #line 19534 "configure"
19534 #include "confdefs.h"
19535 /* System header to define __stub macros and hopefully few prototypes,
19536 which can conflict with char $ac_func(); below. */
19537 #include <assert.h>
19538 /* Override any gcc2 internal prototype to avoid an error. */
19539 /* We use char because int might match the return type of a gcc2
19540 builtin and then its argument prototype would still apply. */
19545 /* The GNU C library defines this for functions which it implements
19546 to always fail with ENOSYS. Some functions are actually named
19547 something starting with __ and the normal name is an alias. */
19548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19556 if { (eval echo configure:19557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19558 eval "ac_cv_func_$ac_func=yes"
19560 echo "configure: failed program was:" >&5
19561 cat conftest.$ac_ext >&5
19563 eval "ac_cv_func_$ac_func=no"
19568 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19569 echo "$ac_t""yes" 1>&6
19570 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19571 cat >> confdefs.h <<EOF
19572 #define $ac_tr_func 1
19576 echo "$ac_t""no" 1>&6
19577 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
19581 for ac_func in __signbitf
19583 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19584 echo "configure:19585: checking for $ac_func" >&5
19585 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19586 echo $ac_n "(cached) $ac_c" 1>&6
19588 cat > conftest.$ac_ext <<EOF
19589 #line 19590 "configure"
19590 #include "confdefs.h"
19591 /* System header to define __stub macros and hopefully few prototypes,
19592 which can conflict with char $ac_func(); below. */
19593 #include <assert.h>
19594 /* Override any gcc2 internal prototype to avoid an error. */
19595 /* We use char because int might match the return type of a gcc2
19596 builtin and then its argument prototype would still apply. */
19601 /* The GNU C library defines this for functions which it implements
19602 to always fail with ENOSYS. Some functions are actually named
19603 something starting with __ and the normal name is an alias. */
19604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19612 if { (eval echo configure:19613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19614 eval "ac_cv_func_$ac_func=yes"
19616 echo "configure: failed program was:" >&5
19617 cat conftest.$ac_ext >&5
19619 eval "ac_cv_func_$ac_func=no"
19624 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19625 echo "$ac_t""yes" 1>&6
19626 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19627 cat >> confdefs.h <<EOF
19628 #define $ac_tr_func 1
19632 echo "$ac_t""no" 1>&6
19633 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
19638 if test x$ac_cv_func_copysignl = x"yes"; then
19639 for ac_func in __signbitl
19641 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19642 echo "configure:19643: checking for $ac_func" >&5
19643 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19644 echo $ac_n "(cached) $ac_c" 1>&6
19646 cat > conftest.$ac_ext <<EOF
19647 #line 19648 "configure"
19648 #include "confdefs.h"
19649 /* System header to define __stub macros and hopefully few prototypes,
19650 which can conflict with char $ac_func(); below. */
19651 #include <assert.h>
19652 /* Override any gcc2 internal prototype to avoid an error. */
19653 /* We use char because int might match the return type of a gcc2
19654 builtin and then its argument prototype would still apply. */
19659 /* The GNU C library defines this for functions which it implements
19660 to always fail with ENOSYS. Some functions are actually named
19661 something starting with __ and the normal name is an alias. */
19662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19670 if { (eval echo configure:19671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19672 eval "ac_cv_func_$ac_func=yes"
19674 echo "configure: failed program was:" >&5
19675 cat conftest.$ac_ext >&5
19677 eval "ac_cv_func_$ac_func=no"
19682 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19683 echo "$ac_t""yes" 1>&6
19684 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19685 cat >> confdefs.h <<EOF
19686 #define $ac_tr_func 1
19690 echo "$ac_t""no" 1>&6
19691 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
19701 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
19702 echo "configure:19703: checking for mbstate_t" >&5
19703 cat > conftest.$ac_ext <<EOF
19704 #line 19705 "configure"
19705 #include "confdefs.h"
19708 mbstate_t teststate;
19711 if { (eval echo configure:19712: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19715 echo "configure: failed program was:" >&5
19716 cat conftest.$ac_ext >&5
19721 echo "$ac_t""$have_mbstate_t" 1>&6
19722 if test x"$have_mbstate_t" = xyes; then
19723 cat >> confdefs.h <<\EOF
19724 #define HAVE_MBSTATE_T 1
19729 for ac_hdr in wchar.h
19731 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19732 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19733 echo "configure:19734: checking for $ac_hdr" >&5
19734 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19735 echo $ac_n "(cached) $ac_c" 1>&6
19737 cat > conftest.$ac_ext <<EOF
19738 #line 19739 "configure"
19739 #include "confdefs.h"
19742 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19743 { (eval echo configure:19744: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19744 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19745 if test -z "$ac_err"; then
19747 eval "ac_cv_header_$ac_safe=yes"
19750 echo "configure: failed program was:" >&5
19751 cat conftest.$ac_ext >&5
19753 eval "ac_cv_header_$ac_safe=no"
19757 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19758 echo "$ac_t""yes" 1>&6
19759 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19760 cat >> confdefs.h <<EOF
19761 #define $ac_tr_hdr 1
19765 echo "$ac_t""no" 1>&6
19770 for ac_hdr in wctype.h
19772 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19773 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19774 echo "configure:19775: checking for $ac_hdr" >&5
19775 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19776 echo $ac_n "(cached) $ac_c" 1>&6
19778 cat > conftest.$ac_ext <<EOF
19779 #line 19780 "configure"
19780 #include "confdefs.h"
19783 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19784 { (eval echo configure:19785: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19785 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19786 if test -z "$ac_err"; then
19788 eval "ac_cv_header_$ac_safe=yes"
19791 echo "configure: failed program was:" >&5
19792 cat conftest.$ac_ext >&5
19794 eval "ac_cv_header_$ac_safe=no"
19798 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19799 echo "$ac_t""yes" 1>&6
19800 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19801 cat >> confdefs.h <<EOF
19802 #define $ac_tr_hdr 1
19804 ac_has_wctype_h=yes
19806 echo "$ac_t""no" 1>&6
19812 if test x"$ac_has_wchar_h" = xyes &&
19813 test x"$ac_has_wctype_h" = xyes &&
19814 test x"$enable_c_mbchar" != xno; then
19816 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
19817 echo "configure:19818: checking for WCHAR_MIN and WCHAR_MAX" >&5
19818 cat > conftest.$ac_ext <<EOF
19819 #line 19820 "configure"
19820 #include "confdefs.h"
19823 int i = WCHAR_MIN; int j = WCHAR_MAX;
19826 if { (eval echo configure:19827: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19828 has_wchar_minmax=yes
19830 echo "configure: failed program was:" >&5
19831 cat conftest.$ac_ext >&5
19833 has_wchar_minmax=no
19836 echo "$ac_t""$has_wchar_minmax" 1>&6
19838 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
19839 echo "configure:19840: checking for WEOF" >&5
19840 cat > conftest.$ac_ext <<EOF
19841 #line 19842 "configure"
19842 #include "confdefs.h"
19845 #include <stddef.h>
19850 if { (eval echo configure:19851: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19854 echo "configure: failed program was:" >&5
19855 cat conftest.$ac_ext >&5
19860 echo "$ac_t""$has_weof" 1>&6
19863 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
19865 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19866 echo "configure:19867: checking for $ac_func" >&5
19867 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19868 echo $ac_n "(cached) $ac_c" 1>&6
19870 cat > conftest.$ac_ext <<EOF
19871 #line 19872 "configure"
19872 #include "confdefs.h"
19873 /* System header to define __stub macros and hopefully few prototypes,
19874 which can conflict with char $ac_func(); below. */
19875 #include <assert.h>
19876 /* Override any gcc2 internal prototype to avoid an error. */
19877 /* We use char because int might match the return type of a gcc2
19878 builtin and then its argument prototype would still apply. */
19883 /* The GNU C library defines this for functions which it implements
19884 to always fail with ENOSYS. Some functions are actually named
19885 something starting with __ and the normal name is an alias. */
19886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19894 if { (eval echo configure:19895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19896 eval "ac_cv_func_$ac_func=yes"
19898 echo "configure: failed program was:" >&5
19899 cat conftest.$ac_ext >&5
19901 eval "ac_cv_func_$ac_func=no"
19906 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19907 echo "$ac_t""yes" 1>&6
19908 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19909 cat >> confdefs.h <<EOF
19910 #define $ac_tr_func 1
19914 echo "$ac_t""no" 1>&6
19921 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
19922 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
19923 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
19924 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
19925 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
19926 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
19928 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19929 echo "configure:19930: checking for $ac_func" >&5
19930 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19931 echo $ac_n "(cached) $ac_c" 1>&6
19933 cat > conftest.$ac_ext <<EOF
19934 #line 19935 "configure"
19935 #include "confdefs.h"
19936 /* System header to define __stub macros and hopefully few prototypes,
19937 which can conflict with char $ac_func(); below. */
19938 #include <assert.h>
19939 /* Override any gcc2 internal prototype to avoid an error. */
19940 /* We use char because int might match the return type of a gcc2
19941 builtin and then its argument prototype would still apply. */
19946 /* The GNU C library defines this for functions which it implements
19947 to always fail with ENOSYS. Some functions are actually named
19948 something starting with __ and the normal name is an alias. */
19949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19957 if { (eval echo configure:19958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19959 eval "ac_cv_func_$ac_func=yes"
19961 echo "configure: failed program was:" >&5
19962 cat conftest.$ac_ext >&5
19964 eval "ac_cv_func_$ac_func=no"
19969 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19970 echo "$ac_t""yes" 1>&6
19971 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19972 cat >> confdefs.h <<EOF
19973 #define $ac_tr_func 1
19977 echo "$ac_t""no" 1>&6
19984 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
19985 echo "configure:19986: checking for ISO C99 wchar_t support" >&5
19986 if test x"$has_weof" = xyes &&
19987 test x"$has_wchar_minmax" = xyes &&
19988 test x"$ac_wfuncs" = xyes; then
19989 ac_isoC99_wchar_t=yes
19991 ac_isoC99_wchar_t=no
19993 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
19995 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
19996 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
19997 echo "configure:19998: checking for iconv.h" >&5
19998 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19999 echo $ac_n "(cached) $ac_c" 1>&6
20001 cat > conftest.$ac_ext <<EOF
20002 #line 20003 "configure"
20003 #include "confdefs.h"
20006 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20007 { (eval echo configure:20008: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20008 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20009 if test -z "$ac_err"; then
20011 eval "ac_cv_header_$ac_safe=yes"
20014 echo "configure: failed program was:" >&5
20015 cat conftest.$ac_ext >&5
20017 eval "ac_cv_header_$ac_safe=no"
20021 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20022 echo "$ac_t""yes" 1>&6
20025 echo "$ac_t""no" 1>&6
20029 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
20030 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
20031 echo "configure:20032: checking for langinfo.h" >&5
20032 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20033 echo $ac_n "(cached) $ac_c" 1>&6
20035 cat > conftest.$ac_ext <<EOF
20036 #line 20037 "configure"
20037 #include "confdefs.h"
20038 #include <langinfo.h>
20040 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20041 { (eval echo configure:20042: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20042 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20043 if test -z "$ac_err"; then
20045 eval "ac_cv_header_$ac_safe=yes"
20048 echo "configure: failed program was:" >&5
20049 cat conftest.$ac_ext >&5
20051 eval "ac_cv_header_$ac_safe=no"
20055 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20056 echo "$ac_t""yes" 1>&6
20057 ac_has_langinfo_h=yes
20059 echo "$ac_t""no" 1>&6
20060 ac_has_langinfo_h=no
20064 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
20065 echo "configure:20066: checking for iconv in -liconv" >&5
20066 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
20067 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20068 echo $ac_n "(cached) $ac_c" 1>&6
20070 ac_save_LIBS="$LIBS"
20071 LIBS="-liconv $LIBS"
20072 cat > conftest.$ac_ext <<EOF
20073 #line 20074 "configure"
20074 #include "confdefs.h"
20075 /* Override any gcc2 internal prototype to avoid an error. */
20076 /* We use char because int might match the return type of a gcc2
20077 builtin and then its argument prototype would still apply. */
20084 if { (eval echo configure:20085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20086 eval "ac_cv_lib_$ac_lib_var=yes"
20088 echo "configure: failed program was:" >&5
20089 cat conftest.$ac_ext >&5
20091 eval "ac_cv_lib_$ac_lib_var=no"
20094 LIBS="$ac_save_LIBS"
20097 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20098 echo "$ac_t""yes" 1>&6
20101 echo "$ac_t""no" 1>&6
20104 ac_save_LIBS="$LIBS"
20105 LIBS="$LIBS $libiconv"
20107 for ac_func in iconv_open iconv_close iconv nl_langinfo
20109 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20110 echo "configure:20111: checking for $ac_func" >&5
20111 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20112 echo $ac_n "(cached) $ac_c" 1>&6
20114 cat > conftest.$ac_ext <<EOF
20115 #line 20116 "configure"
20116 #include "confdefs.h"
20117 /* System header to define __stub macros and hopefully few prototypes,
20118 which can conflict with char $ac_func(); below. */
20119 #include <assert.h>
20120 /* Override any gcc2 internal prototype to avoid an error. */
20121 /* We use char because int might match the return type of a gcc2
20122 builtin and then its argument prototype would still apply. */
20127 /* The GNU C library defines this for functions which it implements
20128 to always fail with ENOSYS. Some functions are actually named
20129 something starting with __ and the normal name is an alias. */
20130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20138 if { (eval echo configure:20139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20140 eval "ac_cv_func_$ac_func=yes"
20142 echo "configure: failed program was:" >&5
20143 cat conftest.$ac_ext >&5
20145 eval "ac_cv_func_$ac_func=no"
20150 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20151 echo "$ac_t""yes" 1>&6
20152 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20153 cat >> confdefs.h <<EOF
20154 #define $ac_tr_func 1
20159 echo "$ac_t""no" 1>&6
20165 LIBS="$ac_save_LIBS"
20167 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
20168 echo "configure:20169: checking for XPG2 wchar_t support" >&5
20169 if test x"$ac_has_iconv_h" = xyes &&
20170 test x"$ac_has_langinfo_h" = xyes &&
20171 test x"$ac_XPG2funcs" = xyes; then
20172 ac_XPG2_wchar_t=yes
20176 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
20178 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
20179 echo "configure:20180: checking for enabled wchar_t specializations" >&5
20180 if test x"$ac_isoC99_wchar_t" = xyes &&
20181 test x"$ac_XPG2_wchar_t" = xyes; then
20182 cat >> confdefs.h <<\EOF
20183 #define _GLIBCPP_USE_WCHAR_T 1
20186 echo "$ac_t"""yes"" 1>&6
20188 echo "$ac_t"""no"" 1>&6
20191 echo "configure: warning: wchar_t support disabled." 1>&2
20195 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20196 ac_save_CXXFLAGS="$CXXFLAGS"
20197 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
20200 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
20201 echo "configure:20202: checking for strtold declaration" >&5
20202 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
20203 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
20204 echo $ac_n "(cached) $ac_c" 1>&6
20209 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20210 ac_cpp='$CXXCPP $CPPFLAGS'
20211 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20212 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20213 cross_compiling=$ac_cv_prog_cxx_cross
20215 cat > conftest.$ac_ext <<EOF
20216 #line 20217 "configure"
20217 #include "confdefs.h"
20218 #include <stdlib.h>
20223 if { (eval echo configure:20224: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20225 glibcpp_cv_func_strtold_use=yes
20227 echo "configure: failed program was:" >&5
20228 cat conftest.$ac_ext >&5
20230 glibcpp_cv_func_strtold_use=no
20234 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20235 ac_cpp='$CPP $CPPFLAGS'
20236 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20237 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20238 cross_compiling=$ac_cv_prog_cc_cross
20244 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
20245 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
20246 for ac_func in strtold
20248 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20249 echo "configure:20250: checking for $ac_func" >&5
20250 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20251 echo $ac_n "(cached) $ac_c" 1>&6
20253 cat > conftest.$ac_ext <<EOF
20254 #line 20255 "configure"
20255 #include "confdefs.h"
20256 /* System header to define __stub macros and hopefully few prototypes,
20257 which can conflict with char $ac_func(); below. */
20258 #include <assert.h>
20259 /* Override any gcc2 internal prototype to avoid an error. */
20260 /* We use char because int might match the return type of a gcc2
20261 builtin and then its argument prototype would still apply. */
20266 /* The GNU C library defines this for functions which it implements
20267 to always fail with ENOSYS. Some functions are actually named
20268 something starting with __ and the normal name is an alias. */
20269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20277 if { (eval echo configure:20278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20279 eval "ac_cv_func_$ac_func=yes"
20281 echo "configure: failed program was:" >&5
20282 cat conftest.$ac_ext >&5
20284 eval "ac_cv_func_$ac_func=no"
20289 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20290 echo "$ac_t""yes" 1>&6
20291 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20292 cat >> confdefs.h <<EOF
20293 #define $ac_tr_func 1
20297 echo "$ac_t""no" 1>&6
20304 echo $ac_n "checking for strtof declaration""... $ac_c" 1>&6
20305 echo "configure:20306: checking for strtof declaration" >&5
20306 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
20307 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
20308 echo $ac_n "(cached) $ac_c" 1>&6
20313 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20314 ac_cpp='$CXXCPP $CPPFLAGS'
20315 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20316 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20317 cross_compiling=$ac_cv_prog_cxx_cross
20319 cat > conftest.$ac_ext <<EOF
20320 #line 20321 "configure"
20321 #include "confdefs.h"
20322 #include <stdlib.h>
20327 if { (eval echo configure:20328: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20329 glibcpp_cv_func_strtof_use=yes
20331 echo "configure: failed program was:" >&5
20332 cat conftest.$ac_ext >&5
20334 glibcpp_cv_func_strtof_use=no
20338 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20339 ac_cpp='$CPP $CPPFLAGS'
20340 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20341 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20342 cross_compiling=$ac_cv_prog_cc_cross
20348 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
20349 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
20350 for ac_func in strtof
20352 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20353 echo "configure:20354: checking for $ac_func" >&5
20354 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20355 echo $ac_n "(cached) $ac_c" 1>&6
20357 cat > conftest.$ac_ext <<EOF
20358 #line 20359 "configure"
20359 #include "confdefs.h"
20360 /* System header to define __stub macros and hopefully few prototypes,
20361 which can conflict with char $ac_func(); below. */
20362 #include <assert.h>
20363 /* Override any gcc2 internal prototype to avoid an error. */
20364 /* We use char because int might match the return type of a gcc2
20365 builtin and then its argument prototype would still apply. */
20370 /* The GNU C library defines this for functions which it implements
20371 to always fail with ENOSYS. Some functions are actually named
20372 something starting with __ and the normal name is an alias. */
20373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20381 if { (eval echo configure:20382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20383 eval "ac_cv_func_$ac_func=yes"
20385 echo "configure: failed program was:" >&5
20386 cat conftest.$ac_ext >&5
20388 eval "ac_cv_func_$ac_func=no"
20393 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20394 echo "$ac_t""yes" 1>&6
20395 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20396 cat >> confdefs.h <<EOF
20397 #define $ac_tr_func 1
20401 echo "$ac_t""no" 1>&6
20407 for ac_func in drand48
20409 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20410 echo "configure:20411: checking for $ac_func" >&5
20411 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20412 echo $ac_n "(cached) $ac_c" 1>&6
20414 cat > conftest.$ac_ext <<EOF
20415 #line 20416 "configure"
20416 #include "confdefs.h"
20417 /* System header to define __stub macros and hopefully few prototypes,
20418 which can conflict with char $ac_func(); below. */
20419 #include <assert.h>
20420 /* Override any gcc2 internal prototype to avoid an error. */
20421 /* We use char because int might match the return type of a gcc2
20422 builtin and then its argument prototype would still apply. */
20427 /* The GNU C library defines this for functions which it implements
20428 to always fail with ENOSYS. Some functions are actually named
20429 something starting with __ and the normal name is an alias. */
20430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20438 if { (eval echo configure:20439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20440 eval "ac_cv_func_$ac_func=yes"
20442 echo "configure: failed program was:" >&5
20443 cat conftest.$ac_ext >&5
20445 eval "ac_cv_func_$ac_func=no"
20450 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20451 echo "$ac_t""yes" 1>&6
20452 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20453 cat >> confdefs.h <<EOF
20454 #define $ac_tr_func 1
20458 echo "$ac_t""no" 1>&6
20463 CXXFLAGS="$ac_save_CXXFLAGS"
20466 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
20467 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
20468 echo "configure:20469: checking for locale.h" >&5
20469 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20470 echo $ac_n "(cached) $ac_c" 1>&6
20472 cat > conftest.$ac_ext <<EOF
20473 #line 20474 "configure"
20474 #include "confdefs.h"
20475 #include <locale.h>
20477 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20478 { (eval echo configure:20479: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20479 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20480 if test -z "$ac_err"; then
20482 eval "ac_cv_header_$ac_safe=yes"
20485 echo "configure: failed program was:" >&5
20486 cat conftest.$ac_ext >&5
20488 eval "ac_cv_header_$ac_safe=no"
20492 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20493 echo "$ac_t""yes" 1>&6
20495 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
20496 echo "configure:20497: checking for LC_MESSAGES" >&5
20497 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
20498 echo $ac_n "(cached) $ac_c" 1>&6
20500 cat > conftest.$ac_ext <<EOF
20501 #line 20502 "configure"
20502 #include "confdefs.h"
20503 #include <locale.h>
20508 if { (eval echo configure:20509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20510 ac_cv_val_LC_MESSAGES=yes
20512 echo "configure: failed program was:" >&5
20513 cat conftest.$ac_ext >&5
20515 ac_cv_val_LC_MESSAGES=no
20520 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
20521 if test $ac_cv_val_LC_MESSAGES = yes; then
20522 cat >> confdefs.h <<\EOF
20523 #define HAVE_LC_MESSAGES 1
20529 echo "$ac_t""no" 1>&6
20534 cat > conftest.$ac_ext <<EOF
20535 #line 20536 "configure"
20536 #include "confdefs.h"
20538 #include <setjmp.h>
20541 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
20544 if { (eval echo configure:20545: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20546 cat >> confdefs.h <<\EOF
20547 #define HAVE_SIGSETJMP 1
20552 echo "configure: failed program was:" >&5
20553 cat conftest.$ac_ext >&5
20557 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
20559 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20560 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20561 echo "configure:20562: checking for $ac_hdr" >&5
20562 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20563 echo $ac_n "(cached) $ac_c" 1>&6
20565 cat > conftest.$ac_ext <<EOF
20566 #line 20567 "configure"
20567 #include "confdefs.h"
20570 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20571 { (eval echo configure:20572: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20572 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20573 if test -z "$ac_err"; then
20575 eval "ac_cv_header_$ac_safe=yes"
20578 echo "configure: failed program was:" >&5
20579 cat conftest.$ac_ext >&5
20581 eval "ac_cv_header_$ac_safe=no"
20585 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20586 echo "$ac_t""yes" 1>&6
20587 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20588 cat >> confdefs.h <<EOF
20589 #define $ac_tr_hdr 1
20593 echo "$ac_t""no" 1>&6
20597 for ac_func in getpagesize
20599 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20600 echo "configure:20601: checking for $ac_func" >&5
20601 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20602 echo $ac_n "(cached) $ac_c" 1>&6
20604 cat > conftest.$ac_ext <<EOF
20605 #line 20606 "configure"
20606 #include "confdefs.h"
20607 /* System header to define __stub macros and hopefully few prototypes,
20608 which can conflict with char $ac_func(); below. */
20609 #include <assert.h>
20610 /* Override any gcc2 internal prototype to avoid an error. */
20611 /* We use char because int might match the return type of a gcc2
20612 builtin and then its argument prototype would still apply. */
20617 /* The GNU C library defines this for functions which it implements
20618 to always fail with ENOSYS. Some functions are actually named
20619 something starting with __ and the normal name is an alias. */
20620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20628 if { (eval echo configure:20629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20630 eval "ac_cv_func_$ac_func=yes"
20632 echo "configure: failed program was:" >&5
20633 cat conftest.$ac_ext >&5
20635 eval "ac_cv_func_$ac_func=no"
20640 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20641 echo "$ac_t""yes" 1>&6
20642 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20643 cat >> confdefs.h <<EOF
20644 #define $ac_tr_func 1
20648 echo "$ac_t""no" 1>&6
20652 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
20653 echo "configure:20654: checking for working mmap" >&5
20654 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
20655 echo $ac_n "(cached) $ac_c" 1>&6
20657 if test "$cross_compiling" = yes; then
20658 ac_cv_func_mmap_fixed_mapped=no
20660 cat > conftest.$ac_ext <<EOF
20661 #line 20662 "configure"
20662 #include "confdefs.h"
20664 /* Thanks to Mike Haertel and Jim Avera for this test.
20665 Here is a matrix of mmap possibilities:
20666 mmap private not fixed
20667 mmap private fixed at somewhere currently unmapped
20668 mmap private fixed at somewhere already mapped
20669 mmap shared not fixed
20670 mmap shared fixed at somewhere currently unmapped
20671 mmap shared fixed at somewhere already mapped
20672 For private mappings, we should verify that changes cannot be read()
20673 back from the file, nor mmap's back from the file at a different
20674 address. (There have been systems where private was not correctly
20675 implemented like the infamous i386 svr4.0, and systems where the
20676 VM page cache was not coherent with the filesystem buffer cache
20677 like early versions of FreeBSD and possibly contemporary NetBSD.)
20678 For shared mappings, we should conversely verify that changes get
20679 propogated back to all the places they're supposed to be.
20681 Grep wants private fixed already mapped.
20682 The main things grep needs to know about mmap are:
20683 * does it exist and is it safe to write into the mmap'd area
20684 * how to use it (BSD variants) */
20685 #include <sys/types.h>
20687 #include <sys/mman.h>
20689 #if HAVE_SYS_TYPES_H
20690 # include <sys/types.h>
20694 # include <stdlib.h>
20697 #if HAVE_SYS_STAT_H
20698 # include <sys/stat.h>
20702 # include <unistd.h>
20705 /* This mess was copied from the GNU getpagesize.h. */
20706 #ifndef HAVE_GETPAGESIZE
20708 /* Assume that all systems that can run configure have sys/param.h. */
20709 # ifndef HAVE_SYS_PARAM_H
20710 # define HAVE_SYS_PARAM_H 1
20713 # ifdef _SC_PAGESIZE
20714 # define getpagesize() sysconf(_SC_PAGESIZE)
20715 # else /* no _SC_PAGESIZE */
20716 # ifdef HAVE_SYS_PARAM_H
20717 # include <sys/param.h>
20718 # ifdef EXEC_PAGESIZE
20719 # define getpagesize() EXEC_PAGESIZE
20720 # else /* no EXEC_PAGESIZE */
20722 # define getpagesize() NBPG * CLSIZE
20725 # endif /* no CLSIZE */
20726 # else /* no NBPG */
20728 # define getpagesize() NBPC
20729 # else /* no NBPC */
20731 # define getpagesize() PAGESIZE
20732 # endif /* PAGESIZE */
20733 # endif /* no NBPC */
20734 # endif /* no NBPG */
20735 # endif /* no EXEC_PAGESIZE */
20736 # else /* no HAVE_SYS_PARAM_H */
20737 # define getpagesize() 8192 /* punt totally */
20738 # endif /* no HAVE_SYS_PARAM_H */
20739 # endif /* no _SC_PAGESIZE */
20741 #endif /* no HAVE_GETPAGESIZE */
20744 extern "C" { void *malloc(unsigned); }
20752 char *data, *data2, *data3;
20756 pagesize = getpagesize();
20759 * First, make a file with some known garbage in it.
20761 data = malloc(pagesize);
20764 for (i = 0; i < pagesize; ++i)
20765 *(data + i) = rand();
20767 fd = creat("conftestmmap", 0600);
20770 if (write(fd, data, pagesize) != pagesize)
20775 * Next, try to mmap the file at a fixed address which
20776 * already has something else allocated at it. If we can,
20777 * also make sure that we see the same garbage.
20779 fd = open("conftestmmap", O_RDWR);
20782 data2 = malloc(2 * pagesize);
20785 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
20786 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
20787 MAP_PRIVATE | MAP_FIXED, fd, 0L))
20789 for (i = 0; i < pagesize; ++i)
20790 if (*(data + i) != *(data2 + i))
20794 * Finally, make sure that changes to the mapped area
20795 * do not percolate back to the file as seen by read().
20796 * (This is a bug on some variants of i386 svr4.0.)
20798 for (i = 0; i < pagesize; ++i)
20799 *(data2 + i) = *(data2 + i) + 1;
20800 data3 = malloc(pagesize);
20803 if (read(fd, data3, pagesize) != pagesize)
20805 for (i = 0; i < pagesize; ++i)
20806 if (*(data + i) != *(data3 + i))
20809 unlink("conftestmmap");
20814 if { (eval echo configure:20815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
20816 ac_cv_func_mmap_fixed_mapped=yes
20818 echo "configure: failed program was:" >&5
20819 cat conftest.$ac_ext >&5
20821 ac_cv_func_mmap_fixed_mapped=no
20828 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
20829 if test $ac_cv_func_mmap_fixed_mapped = yes; then
20830 cat >> confdefs.h <<\EOF
20831 #define HAVE_MMAP 1
20837 # Establish limits on memory usage during 'make check'
20840 setrlimit_have_headers=yes
20841 for ac_hdr in sys/resource.h unistd.h
20843 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20844 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20845 echo "configure:20846: checking for $ac_hdr" >&5
20846 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20847 echo $ac_n "(cached) $ac_c" 1>&6
20849 cat > conftest.$ac_ext <<EOF
20850 #line 20851 "configure"
20851 #include "confdefs.h"
20854 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20855 { (eval echo configure:20856: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20856 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20857 if test -z "$ac_err"; then
20859 eval "ac_cv_header_$ac_safe=yes"
20862 echo "configure: failed program was:" >&5
20863 cat conftest.$ac_ext >&5
20865 eval "ac_cv_header_$ac_safe=no"
20869 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20870 echo "$ac_t""yes" 1>&6
20871 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20872 cat >> confdefs.h <<EOF
20873 #define $ac_tr_hdr 1
20877 echo "$ac_t""no" 1>&6
20878 setrlimit_have_headers=no
20882 # If don't have the headers, then we can't run the tests now, and we
20883 # won't be seeing any of these during testsuite compilation.
20884 if test $setrlimit_have_headers = yes; then
20885 # Can't do these in a loop, else the resulting syntax is wrong.
20887 cat > conftest.$ac_ext <<EOF
20888 #line 20889 "configure"
20889 #include "confdefs.h"
20890 #include <sys/resource.h>
20891 #include <unistd.h>
20894 int f = RLIMIT_DATA ;
20897 if { (eval echo configure:20898: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20901 echo "configure: failed program was:" >&5
20902 cat conftest.$ac_ext >&5
20907 cat >> confdefs.h <<EOF
20908 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
20913 cat > conftest.$ac_ext <<EOF
20914 #line 20915 "configure"
20915 #include "confdefs.h"
20916 #include <sys/resource.h>
20917 #include <unistd.h>
20920 int f = RLIMIT_RSS ;
20923 if { (eval echo configure:20924: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20927 echo "configure: failed program was:" >&5
20928 cat conftest.$ac_ext >&5
20933 cat >> confdefs.h <<EOF
20934 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
20939 cat > conftest.$ac_ext <<EOF
20940 #line 20941 "configure"
20941 #include "confdefs.h"
20942 #include <sys/resource.h>
20943 #include <unistd.h>
20946 int f = RLIMIT_VMEM ;
20949 if { (eval echo configure:20950: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20953 echo "configure: failed program was:" >&5
20954 cat conftest.$ac_ext >&5
20959 cat >> confdefs.h <<EOF
20960 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
20965 cat > conftest.$ac_ext <<EOF
20966 #line 20967 "configure"
20967 #include "confdefs.h"
20968 #include <sys/resource.h>
20969 #include <unistd.h>
20972 int f = RLIMIT_AS ;
20975 if { (eval echo configure:20976: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20979 echo "configure: failed program was:" >&5
20980 cat conftest.$ac_ext >&5
20985 cat >> confdefs.h <<EOF
20986 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
20991 # Check for rlimit, setrlimit.
20992 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
20993 echo $ac_n "(cached) $ac_c" 1>&6
20996 cat > conftest.$ac_ext <<EOF
20997 #line 20998 "configure"
20998 #include "confdefs.h"
20999 #include <sys/resource.h>
21000 #include <unistd.h>
21003 struct rlimit r; setrlimit(0, &r);
21006 if { (eval echo configure:21007: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21010 echo "configure: failed program was:" >&5
21011 cat conftest.$ac_ext >&5
21021 echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
21022 echo "configure:21023: checking for testsuite memory limit support" >&5
21023 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
21025 cat >> confdefs.h <<\EOF
21026 #define _GLIBCPP_MEM_LIMITS 1
21032 echo "$ac_t""$ac_mem_limits" 1>&6
21035 # Look for setenv, so that extended locale tests can be performed.
21037 echo $ac_n "checking for setenv declaration""... $ac_c" 1>&6
21038 echo "configure:21039: checking for setenv declaration" >&5
21039 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
21040 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
21041 echo $ac_n "(cached) $ac_c" 1>&6
21046 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21047 ac_cpp='$CXXCPP $CPPFLAGS'
21048 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21049 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21050 cross_compiling=$ac_cv_prog_cxx_cross
21052 cat > conftest.$ac_ext <<EOF
21053 #line 21054 "configure"
21054 #include "confdefs.h"
21055 #include <stdlib.h>
21060 if { (eval echo configure:21061: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21062 glibcpp_cv_func_setenv_use=yes
21064 echo "configure: failed program was:" >&5
21065 cat conftest.$ac_ext >&5
21067 glibcpp_cv_func_setenv_use=no
21071 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21072 ac_cpp='$CPP $CPPFLAGS'
21073 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21074 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21075 cross_compiling=$ac_cv_prog_cc_cross
21081 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
21082 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
21083 for ac_func in setenv
21085 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21086 echo "configure:21087: checking for $ac_func" >&5
21087 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21088 echo $ac_n "(cached) $ac_c" 1>&6
21090 cat > conftest.$ac_ext <<EOF
21091 #line 21092 "configure"
21092 #include "confdefs.h"
21093 /* System header to define __stub macros and hopefully few prototypes,
21094 which can conflict with char $ac_func(); below. */
21095 #include <assert.h>
21096 /* Override any gcc2 internal prototype to avoid an error. */
21097 /* We use char because int might match the return type of a gcc2
21098 builtin and then its argument prototype would still apply. */
21103 /* The GNU C library defines this for functions which it implements
21104 to always fail with ENOSYS. Some functions are actually named
21105 something starting with __ and the normal name is an alias. */
21106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21114 if { (eval echo configure:21115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21116 eval "ac_cv_func_$ac_func=yes"
21118 echo "configure: failed program was:" >&5
21119 cat conftest.$ac_ext >&5
21121 eval "ac_cv_func_$ac_func=no"
21126 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21127 echo "$ac_t""yes" 1>&6
21128 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21129 cat >> confdefs.h <<EOF
21130 #define $ac_tr_func 1
21134 echo "$ac_t""no" 1>&6
21143 # This depends on the possibly-skipped linker test above.
21144 # Check whether --enable-symvers or --disable-symvers was given.
21145 if test "${enable_symvers+set}" = set; then
21146 enableval="$enable_symvers"
21147 case "$enableval" in
21148 yes) enable_symvers=yes ;;
21149 no) enable_symvers=no ;;
21150 # other names here, just as sanity checks
21151 #gnu|sun|etcetera) enable_symvers=$enableval ;;
21152 gnu) enable_symvers=$enableval ;;
21153 *) { echo "configure: error: Unknown argument to enable/disable symvers" 1>&2; exit 1; } ;;
21159 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
21160 # don't know enough about $LD to do tricks...
21161 if test x$enable_shared = xno ||
21163 test x$glibcpp_gnu_ld_version = x; then
21167 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
21168 echo $ac_n "checking for shared libgcc""... $ac_c" 1>&6
21169 echo "configure:21170: checking for shared libgcc" >&5
21170 ac_save_CFLAGS="$CFLAGS"
21172 cat > conftest.$ac_ext <<EOF
21173 #line 21174 "configure"
21174 #include "confdefs.h"
21180 if { (eval echo configure:21181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21182 glibcpp_shared_libgcc=yes
21184 echo "configure: failed program was:" >&5
21185 cat conftest.$ac_ext >&5
21187 glibcpp_shared_libgcc=no
21190 CFLAGS="$ac_save_CFLAGS"
21191 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
21193 # For GNU ld, we need at least this version. It's 2.12 in the same format
21194 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
21195 glibcpp_min_gnu_ld_version=21200
21197 # Check to see if unspecified "yes" value can win, given results
21199 if test $enable_symvers = yes ; then
21200 if test $with_gnu_ld = yes &&
21201 test $glibcpp_shared_libgcc = yes ;
21203 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
21206 ac_test_CFLAGS="${CFLAGS+set}"
21207 ac_save_CFLAGS="$CFLAGS"
21208 CFLAGS='-shared -Wl,--version-script,conftest.map'
21211 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
21213 cat > conftest.$ac_ext <<EOF
21214 #line 21215 "configure"
21215 #include "confdefs.h"
21221 if { (eval echo configure:21222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21225 echo "configure: failed program was:" >&5
21226 cat conftest.$ac_ext >&5
21229 if test "$ac_test_CFLAGS" = set; then
21230 CFLAGS="$ac_save_CFLAGS"
21232 # this is the suspicious part
21238 # just fail for now
21243 case $enable_symvers in
21245 LINKER_MAP=config/linker-map.dummy
21248 LINKER_MAP=config/linker-map.gnu
21255 if test $enable_symvers != no; then
21256 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
21257 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
21259 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
21260 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
21262 echo $ac_n "checking versioning on shared library symbols""... $ac_c" 1>&6
21263 echo "configure:21264: checking versioning on shared library symbols" >&5
21264 echo "$ac_t""$enable_symvers" 1>&6
21267 # Propagate the target-specific source directories through the build chain.
21268 OS_INC_SRCDIR=$os_include_dir/bits
21269 ATOMICITY_INC_SRCDIR=$ATOMICITYH/bits
21270 CPU_LIMITS_INC_SRCDIR=$CPULIMITSH/bits
21275 # Set up cross-compile flags
21279 if test "$CANADIAN" = yes; then
21287 cat > confcache <<\EOF
21288 # This file is a shell script that caches the results of configure
21289 # tests run on this system so they can be shared between configure
21290 # scripts and configure runs. It is not useful on other systems.
21291 # If it contains results you don't want to keep, you may remove or edit it.
21293 # By default, configure uses ./config.cache as the cache file,
21294 # creating it if it does not exist already. You can give configure
21295 # the --cache-file=FILE option to use a different cache file; that is
21296 # what configure does when it calls configure scripts in
21297 # subdirectories, so they share the cache.
21298 # Giving --cache-file=/dev/null disables caching, for debugging configure.
21299 # config.status only pays attention to the cache file if you give it the
21300 # --recheck option to rerun configure.
21303 # The following way of writing the cache mishandles newlines in values,
21304 # but we know of no workaround that is simple, portable, and efficient.
21305 # So, don't put newlines in cache variables' values.
21306 # Ultrix sh set writes to stderr and can't be redirected directly,
21307 # and sets the high bit in the cache file unless we assign to the vars.
21309 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21311 # `set' does not quote correctly, so add quotes (double-quote substitution
21312 # turns \\\\ into \\, and sed turns \\ into \).
21314 -e "s/'/'\\\\''/g" \
21315 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
21318 # `set' quotes correctly as required by POSIX, so do not add quotes.
21319 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
21322 if cmp -s $cache_file confcache; then
21325 if test -w $cache_file; then
21326 echo "updating cache $cache_file"
21327 cat confcache > $cache_file
21329 echo "not updating unwritable cache $cache_file"
21335 if test "${multilib}" = "yes"; then
21336 multilib_arg="--enable-multilib"
21341 # Needed so that g++ can find the correct include subdir automatically.
21344 # Export all the install information
21346 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
21347 # exported correctly in GLIBCPP_CONFIGURE.
21348 glibcpp_toolexecdir=no
21349 glibcpp_toolexeclibdir=no
21350 glibcpp_prefixdir=${prefix}
21352 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
21353 echo "configure:21354: checking for interface version number" >&5
21354 libstdcxx_interface=$INTERFACE
21355 echo "$ac_t""$libstdcxx_interface" 1>&6
21357 # Process the option --with-gxx-include-dir=<path to include-files directory>
21358 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
21359 echo "configure:21360: checking for --with-gxx-include-dir" >&5
21360 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
21361 if test "${with_gxx_include_dir+set}" = set; then
21362 withval="$with_gxx_include_dir"
21363 case "${withval}" in
21365 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
21372 gxx_include_dir=${withval}
21379 echo "$ac_t""$gxx_include_dir" 1>&6
21381 # Process the option "--enable-version-specific-runtime-libs"
21382 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
21383 echo "configure:21384: checking for --enable-version-specific-runtime-libs" >&5
21384 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
21385 if test "${enable_version_specific_runtime_libs+set}" = set; then
21386 enableval="$enable_version_specific_runtime_libs"
21387 case "$enableval" in
21388 yes) version_specific_libs=yes ;;
21389 no) version_specific_libs=no ;;
21390 *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
21393 version_specific_libs=no
21395 # Option set, now we can test it.
21396 echo "$ac_t""$version_specific_libs" 1>&6
21398 if test $version_specific_libs = yes; then
21399 # Need the gcc compiler version to know where to install libraries
21400 # and header files if --enable-version-specific-runtime-libs option
21402 gcc_version_trigger=${srcdir}/../gcc/version.c
21403 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
21404 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
21405 if test x"$gxx_include_dir" = x"no"; then
21406 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/g++
21408 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
21409 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
21412 # Default case for install directory for include files.
21413 if test $version_specific_libs = no &&
21414 test $gxx_include_dir = no; then
21415 gxx_include_dir='$(prefix)'/include/g++-${libstdcxx_interface}
21418 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
21419 # Install a library built with a cross compiler in tooldir, not libdir.
21420 if test x"$glibcpp_toolexecdir" = x"no"; then
21421 if test -n "$with_cross_host" &&
21422 test x"$with_cross_host" != x"no"; then
21423 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
21424 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
21426 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
21427 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
21431 echo $ac_n "checking for install location""... $ac_c" 1>&6
21432 echo "configure:21433: checking for install location" >&5
21433 echo "$ac_t""$gxx_include_dir" 1>&6
21441 # Export all the include and flag information to makefiles.
21443 # Root level of the build directory include sources.
21444 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
21446 # Passed down for canadian crosses.
21447 if test x"$CANADIAN" = xyes; then
21448 TOPLEVEL_INCLUDES='-I$(includedir)'
21451 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
21453 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
21455 if test x"$need_libio" = xyes; then
21456 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
21460 # Now, export this to all the little Makefiles....
21467 # Optimization flags that are probably a good idea for thrill-seekers. Just
21468 # uncomment the lines below and make, everything else is ready to go...
21469 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
21473 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
21477 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
21478 grep "enable shared" > /dev/null; then
21479 LIBSUPCXX_PICFLAGS=-prefer-pic
21481 LIBSUPCXX_PICFLAGS=
21485 # Generate the various Makefiles, include files, and scripts.
21486 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
21487 # and libsupc++/Makefile.am so that multilib installs will end up
21488 # installed in the correct place. To work around this not being passed
21489 # down from config-ml.in -> top_srcdir/Makefile.am ->
21490 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
21492 cat > confcache <<\EOF
21493 # This file is a shell script that caches the results of configure
21494 # tests run on this system so they can be shared between configure
21495 # scripts and configure runs. It is not useful on other systems.
21496 # If it contains results you don't want to keep, you may remove or edit it.
21498 # By default, configure uses ./config.cache as the cache file,
21499 # creating it if it does not exist already. You can give configure
21500 # the --cache-file=FILE option to use a different cache file; that is
21501 # what configure does when it calls configure scripts in
21502 # subdirectories, so they share the cache.
21503 # Giving --cache-file=/dev/null disables caching, for debugging configure.
21504 # config.status only pays attention to the cache file if you give it the
21505 # --recheck option to rerun configure.
21508 # The following way of writing the cache mishandles newlines in values,
21509 # but we know of no workaround that is simple, portable, and efficient.
21510 # So, don't put newlines in cache variables' values.
21511 # Ultrix sh set writes to stderr and can't be redirected directly,
21512 # and sets the high bit in the cache file unless we assign to the vars.
21514 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21516 # `set' does not quote correctly, so add quotes (double-quote substitution
21517 # turns \\\\ into \\, and sed turns \\ into \).
21519 -e "s/'/'\\\\''/g" \
21520 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
21523 # `set' quotes correctly as required by POSIX, so do not add quotes.
21524 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
21527 if cmp -s $cache_file confcache; then
21530 if test -w $cache_file; then
21531 echo "updating cache $cache_file"
21532 cat confcache > $cache_file
21534 echo "not updating unwritable cache $cache_file"
21539 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
21541 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21542 # Let make expand exec_prefix.
21543 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21545 # Any assignment to VPATH causes Sun make to only execute
21546 # the first set of double-colon rules, so remove it if not needed.
21547 # If there is a colon in the path, we need to keep it.
21548 if test "x$srcdir" = x.; then
21549 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
21552 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
21554 DEFS=-DHAVE_CONFIG_H
21556 # Without the "./", some shells look in PATH for config.status.
21557 : ${CONFIG_STATUS=./config.status}
21559 echo creating $CONFIG_STATUS
21560 rm -f $CONFIG_STATUS
21561 cat > $CONFIG_STATUS <<EOF
21563 # Generated automatically by configure.
21564 # Run this file to recreate the current configuration.
21565 # This directory was configured as follows,
21566 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21568 # $0 $ac_configure_args
21570 # Compiler output produced by configure, useful for debugging
21571 # configure, is in ./config.log if it exists.
21573 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
21576 case "\$ac_option" in
21577 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21578 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
21579 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
21580 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
21581 echo "$CONFIG_STATUS generated by autoconf version 2.13"
21583 -help | --help | --hel | --he | --h)
21584 echo "\$ac_cs_usage"; exit 0 ;;
21585 *) echo "\$ac_cs_usage"; exit 1 ;;
21589 ac_given_srcdir=$srcdir
21590 ac_given_INSTALL="$INSTALL"
21592 trap 'rm -fr `echo "Makefile \
21593 include/Makefile src/Makefile \
21594 libmath/Makefile libio/Makefile libsupc++/Makefile \
21595 po/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
21597 cat >> $CONFIG_STATUS <<EOF
21599 # Protect against being on the right side of a sed subst in config.status.
21600 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
21601 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
21605 s%@CFLAGS@%$CFLAGS%g
21606 s%@CPPFLAGS@%$CPPFLAGS%g
21607 s%@CXXFLAGS@%$CXXFLAGS%g
21608 s%@FFLAGS@%$FFLAGS%g
21610 s%@LDFLAGS@%$LDFLAGS%g
21612 s%@exec_prefix@%$exec_prefix%g
21613 s%@prefix@%$prefix%g
21614 s%@program_transform_name@%$program_transform_name%g
21615 s%@bindir@%$bindir%g
21616 s%@sbindir@%$sbindir%g
21617 s%@libexecdir@%$libexecdir%g
21618 s%@datadir@%$datadir%g
21619 s%@sysconfdir@%$sysconfdir%g
21620 s%@sharedstatedir@%$sharedstatedir%g
21621 s%@localstatedir@%$localstatedir%g
21622 s%@libdir@%$libdir%g
21623 s%@includedir@%$includedir%g
21624 s%@oldincludedir@%$oldincludedir%g
21625 s%@infodir@%$infodir%g
21626 s%@mandir@%$mandir%g
21627 s%@PACKAGE@%$PACKAGE%g
21628 s%@release_VERSION@%$release_VERSION%g
21629 s%@libtool_VERSION@%$libtool_VERSION%g
21631 s%@host_alias@%$host_alias%g
21632 s%@host_cpu@%$host_cpu%g
21633 s%@host_vendor@%$host_vendor%g
21634 s%@host_os@%$host_os%g
21635 s%@target@%$target%g
21636 s%@target_alias@%$target_alias%g
21637 s%@target_cpu@%$target_cpu%g
21638 s%@target_vendor@%$target_vendor%g
21639 s%@target_os@%$target_os%g
21641 s%@build_alias@%$build_alias%g
21642 s%@build_cpu@%$build_cpu%g
21643 s%@build_vendor@%$build_vendor%g
21644 s%@build_os@%$build_os%g
21645 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
21646 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
21647 s%@INSTALL_DATA@%$INSTALL_DATA%g
21648 s%@VERSION@%$VERSION%g
21649 s%@ACLOCAL@%$ACLOCAL%g
21650 s%@AUTOCONF@%$AUTOCONF%g
21651 s%@AUTOMAKE@%$AUTOMAKE%g
21652 s%@AUTOHEADER@%$AUTOHEADER%g
21653 s%@MAKEINFO@%$MAKEINFO%g
21654 s%@SET_MAKE@%$SET_MAKE%g
21655 s%@toplevel_srcdir@%$toplevel_srcdir%g
21656 s%@glibcpp_builddir@%$glibcpp_builddir%g
21657 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
21660 s%@glibcpp_basedir@%$glibcpp_basedir%g
21662 s%@glibcpp_CXX@%$glibcpp_CXX%g
21665 s%@RANLIB@%$RANLIB%g
21666 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
21667 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
21669 s%@EXEEXT@%$EXEEXT%g
21670 s%@OBJEXT@%$OBJEXT%g
21672 s%@LIBTOOL@%$LIBTOOL%g
21673 s%@CXXCPP@%$CXXCPP%g
21674 s%@enable_shared@%$enable_shared%g
21675 s%@enable_static@%$enable_static%g
21676 s%@ifGNUmake@%$ifGNUmake%g
21677 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
21679 s%@CSTDIO_H@%$CSTDIO_H%g
21680 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
21681 s%@CCODECVT_C@%$CCODECVT_C%g
21682 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
21683 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
21684 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
21685 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
21686 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
21687 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
21688 s%@libio_la@%$libio_la%g
21689 s%@check_msgfmt@%$check_msgfmt%g
21690 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
21691 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
21692 s%@glibcpp_localedir@%$glibcpp_localedir%g
21693 s%@USE_NLS@%$USE_NLS%g
21694 s%@CLOCALE_H@%$CLOCALE_H%g
21695 s%@CCODECVT_H@%$CCODECVT_H%g
21696 s%@CMESSAGES_H@%$CMESSAGES_H%g
21697 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
21698 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
21699 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
21700 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
21701 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
21702 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
21703 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
21704 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
21705 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
21706 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
21707 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
21708 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
21709 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
21710 s%@WERROR@%$WERROR%g
21711 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
21712 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
21713 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
21714 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
21715 s%@CPU_LIMITS_INC_SRCDIR@%$CPU_LIMITS_INC_SRCDIR%g
21716 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
21717 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
21718 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
21719 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
21720 s%@gxx_include_dir@%$gxx_include_dir%g
21721 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
21722 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
21723 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
21724 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
21725 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
21726 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
21727 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
21728 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
21729 s%@WARN_FLAGS@%$WARN_FLAGS%g
21730 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
21735 cat >> $CONFIG_STATUS <<\EOF
21737 # Split the substitutions into bite-sized pieces for seds with
21738 # small command number limits, like on Digital OSF/1 and HP-UX.
21739 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
21740 ac_file=1 # Number of current file.
21741 ac_beg=1 # First line for current file.
21742 ac_end=$ac_max_sed_cmds # Line after last line for current file.
21745 while $ac_more_lines; do
21746 if test $ac_beg -gt 1; then
21747 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
21749 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
21751 if test ! -s conftest.s$ac_file; then
21752 ac_more_lines=false
21753 rm -f conftest.s$ac_file
21755 if test -z "$ac_sed_cmds"; then
21756 ac_sed_cmds="sed -f conftest.s$ac_file"
21758 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
21760 ac_file=`expr $ac_file + 1`
21762 ac_end=`expr $ac_end + $ac_max_sed_cmds`
21765 if test -z "$ac_sed_cmds"; then
21770 cat >> $CONFIG_STATUS <<EOF
21772 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
21773 include/Makefile src/Makefile \
21774 libmath/Makefile libio/Makefile libsupc++/Makefile \
21775 po/Makefile testsuite/Makefile mkcheck testsuite_flags"}
21777 cat >> $CONFIG_STATUS <<\EOF
21778 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
21779 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21781 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
21782 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
21783 *) ac_file_in="${ac_file}.in" ;;
21786 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
21788 # Remove last slash and all that follows it. Not all systems have dirname.
21789 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
21790 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
21791 # The file is in a subdirectory.
21792 test ! -d "$ac_dir" && mkdir "$ac_dir"
21793 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
21794 # A "../" for each directory in $ac_dir_suffix.
21795 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
21797 ac_dir_suffix= ac_dots=
21800 case "$ac_given_srcdir" in
21802 if test -z "$ac_dots"; then top_srcdir=.
21803 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
21804 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
21805 *) # Relative path.
21806 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
21807 top_srcdir="$ac_dots$ac_given_srcdir" ;;
21810 case "$ac_given_INSTALL" in
21811 [/$]*) INSTALL="$ac_given_INSTALL" ;;
21812 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
21815 echo creating "$ac_file"
21817 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
21819 *Makefile*) ac_comsub="1i\\
21820 # $configure_input" ;;
21824 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
21826 s%@configure_input@%$configure_input%g
21827 s%@srcdir@%$srcdir%g
21828 s%@top_srcdir@%$top_srcdir%g
21829 s%@INSTALL@%$INSTALL%g
21830 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
21834 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21835 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21837 # ac_d sets the value in "#define NAME VALUE" lines.
21838 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21839 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
21842 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
21843 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21844 ac_uB='\([ ]\)%\1#\2define\3'
21847 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21848 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21849 ac_eB='$%\1#\2define\3'
21853 if test "${CONFIG_HEADERS+set}" != set; then
21855 cat >> $CONFIG_STATUS <<EOF
21856 CONFIG_HEADERS="config.h"
21858 cat >> $CONFIG_STATUS <<\EOF
21860 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
21861 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21863 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
21864 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
21865 *) ac_file_in="${ac_file}.in" ;;
21868 echo creating $ac_file
21870 rm -f conftest.frag conftest.in conftest.out
21871 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
21872 cat $ac_file_inputs > conftest.in
21876 # Transform confdefs.h into a sed script conftest.vals that substitutes
21877 # the proper values into config.h.in to produce config.h. And first:
21878 # Protect against being on the right side of a sed subst in config.status.
21879 # Protect against being in an unquoted here document in config.status.
21880 rm -f conftest.vals
21881 cat > conftest.hdr <<\EOF
21884 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
21888 sed -n -f conftest.hdr confdefs.h > conftest.vals
21891 # This sed command replaces #undef with comments. This is necessary, for
21892 # example, in the case of _POSIX_SOURCE, which is predefined and required
21893 # on some systems where configure will not decide to define it.
21894 cat >> conftest.vals <<\EOF
21895 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
21898 # Break up conftest.vals because some shells have a limit on
21899 # the size of here documents, and old seds have small limits too.
21901 rm -f conftest.tail
21904 ac_lines=`grep -c . conftest.vals`
21905 # grep -c gives empty output for an empty file on some AIX systems.
21906 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
21907 # Write a limited-size here document to conftest.frag.
21908 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
21909 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
21911 sed -f conftest.frag conftest.in > conftest.out
21913 mv conftest.out conftest.in
21914 ' >> $CONFIG_STATUS
21915 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
21916 rm -f conftest.vals
21917 mv conftest.tail conftest.vals
21919 rm -f conftest.vals
21921 cat >> $CONFIG_STATUS <<\EOF
21922 rm -f conftest.frag conftest.h
21923 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
21924 cat conftest.in >> conftest.h
21926 if cmp -s $ac_file conftest.h 2>/dev/null; then
21927 echo "$ac_file is unchanged"
21930 # Remove last slash and all that follows it. Not all systems have dirname.
21931 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
21932 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
21933 # The file is in a subdirectory.
21934 test ! -d "$ac_dir" && mkdir "$ac_dir"
21937 mv conftest.h $ac_file
21943 cat >> $CONFIG_STATUS <<EOF
21944 ac_sources="$BASIC_FILE_CC $CLOCALE_CC $CCOLLATE_CC $CCTYPE_CC $CMESSAGES_CC $CMONEY_CC $CNUMERIC_CC $CTIME_CC $LINKER_MAP"
21945 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"
21948 cat >> $CONFIG_STATUS <<\EOF
21949 srcdir=$ac_given_srcdir
21950 while test -n "$ac_sources"; do
21951 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
21952 set $ac_sources; ac_source=$1; shift; ac_sources=$*
21954 echo "linking $srcdir/$ac_source to $ac_dest"
21956 if test ! -r $srcdir/$ac_source; then
21957 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
21961 # Make relative symlinks.
21962 # Remove last slash and all that follows it. Not all systems have dirname.
21963 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
21964 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
21965 # The dest file is in a subdirectory.
21966 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
21967 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
21968 # A "../" for each directory in $ac_dest_dir_suffix.
21969 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
21971 ac_dest_dir_suffix= ac_dots=
21975 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
21976 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
21979 # Make a symlink if possible; otherwise try a hard link.
21980 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
21981 ln $srcdir/$ac_source $ac_dest; then :
21983 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
21987 cat >> $CONFIG_STATUS <<EOF
21992 with_multisubdir=${with_multisubdir}
21993 ac_configure_args="${multilib_arg} ${ac_configure_args}"
21994 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
21995 glibcpp_basedir=${glibcpp_basedir}
22000 cat >> $CONFIG_STATUS <<\EOF
22001 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
22002 if test -n "$CONFIG_FILES"; then
22003 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
22004 grep '^MULTISUBDIR =' Makefile >> src/Makefile
22005 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
22008 chmod +x testsuite_flags
22012 chmod +x $CONFIG_STATUS
22013 rm -fr confdefs* $ac_clean_files
22014 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
22018 # Sanity checking & User-visible messages.
22019 # Checks down here, otherwise they get scrolled off before
22020 # the user will notice.
22022 # Trying to get more people to read documentation. Possibly remove
22023 # check and warn all the time. There is no "informational" AC_MSG_
22024 # macro, so these are going to be printed even when --quiet/--silent
22026 if test ! -f stamp-sanity-warned; then
22027 touch stamp-sanity-warned
22029 echo "Please make certain that you read the installation information here:"
22030 echo " faster => ${srcdir}/docs/html/install.html"
22031 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
22033 echo "and the configuration information here:"
22034 echo " faster => ${srcdir}/docs/html/configopts.html"
22035 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
22037 echo "before proceeding with ${_cv_gnu_make_command}."