3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix=/usr/local
13 # Any additions from configure.in:
15 --enable-multilib build hella library versions (default)"
17 --with-target-subdir=SUBDIR
18 configuring in a subdirectory"
20 --with-cross-host=HOST configuring with a cross compiler"
22 --enable-maintainer-mode enable make rules and dependencies not useful
23 (and sometimes confusing) to the casual installer"
25 --enable-shared[=PKGS] build shared libraries [default=yes]"
27 --enable-static[=PKGS] build static libraries [default=yes]"
29 --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
31 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
33 --disable-libtool-lock avoid locking (might break parallel builds)"
35 --with-pic try to use only PIC/non-PIC objects [default=use both]"
37 --enable-debug extra debugging, turn off optimization [default=no]"
39 --enable-cstdio enable stdio for target io package.
40 --enable-cstdio=LIB use LIB target-speific io package. [default=stdio]
43 --enable-clocale enable model for target locale package.
44 --enable-clocale=MODEL use MODEL target-speific locale package. [default=generic]
47 --enable-c-mbchar enable multibyte (wide) characters [default=yes]"
49 --enable-c99 turns on 'ISO/IEC 9899:1999 support' [default=yes]"
51 --enable-long-long turns on 'long long' [default=yes]"
53 --enable-cheaders construct "C" header files for g++ [default=c_std]"
55 --enable-cxx-flags=FLAGS pass compiler FLAGS when building library;
58 --enable-sjlj-exceptions force use of builtin_setjmp for exceptions"
60 --with-gxx-include-dir the installation directory for include files"
62 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
64 # Initialize some variables set by options.
65 # The variables have the same names as the options, with
66 # dashes changed to underlines.
68 cache_file=./config.cache
77 program_transform_name=s,x,x,
85 bindir='${exec_prefix}/bin'
86 sbindir='${exec_prefix}/sbin'
87 libexecdir='${exec_prefix}/libexec'
88 datadir='${prefix}/share'
89 sysconfdir='${prefix}/etc'
90 sharedstatedir='${prefix}/com'
91 localstatedir='${prefix}/var'
92 libdir='${exec_prefix}/lib'
93 includedir='${prefix}/include'
94 oldincludedir='/usr/include'
95 infodir='${prefix}/info'
96 mandir='${prefix}/man'
98 # Initialize some other variables.
101 SHELL=${CONFIG_SHELL-/bin/sh}
102 # Maximum number of lines to put in a shell here document.
109 # If the previous option needs an argument, assign it.
110 if test -n "$ac_prev"; then
111 eval "$ac_prev=\$ac_option"
117 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
121 # Accept the important Cygnus configure options, so we can diagnose typos.
125 -bindir | --bindir | --bindi | --bind | --bin | --bi)
127 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
128 bindir="$ac_optarg" ;;
130 -build | --build | --buil | --bui | --bu)
132 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
133 build="$ac_optarg" ;;
135 -cache-file | --cache-file | --cache-fil | --cache-fi \
136 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
137 ac_prev=cache_file ;;
138 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
139 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
140 cache_file="$ac_optarg" ;;
142 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
144 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
146 datadir="$ac_optarg" ;;
148 -disable-* | --disable-*)
149 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
150 # Reject names that are not valid shell variable names.
151 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
152 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
154 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
155 eval "enable_${ac_feature}=no" ;;
157 -enable-* | --enable-*)
158 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
159 # Reject names that are not valid shell variable names.
160 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
161 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
163 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
168 eval "enable_${ac_feature}='$ac_optarg'" ;;
170 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
171 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
172 | --exec | --exe | --ex)
173 ac_prev=exec_prefix ;;
174 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
175 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
176 | --exec=* | --exe=* | --ex=*)
177 exec_prefix="$ac_optarg" ;;
179 -gas | --gas | --ga | --g)
180 # Obsolete; use --with-gas.
183 -help | --help | --hel | --he)
184 # Omit some internal or obsolete options to make the list less imposing.
185 # This message is too long to be a string in the A/UX 3.1 sh.
187 Usage: configure [options] [host]
188 Options: [defaults in brackets after descriptions]
190 --cache-file=FILE cache test results in FILE
191 --help print this message
192 --no-create do not create output files
193 --quiet, --silent do not print \`checking...' messages
194 --version print the version of autoconf that created configure
195 Directory and file names:
196 --prefix=PREFIX install architecture-independent files in PREFIX
198 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
200 --bindir=DIR user executables in DIR [EPREFIX/bin]
201 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
202 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
203 --datadir=DIR read-only architecture-independent data in DIR
205 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
206 --sharedstatedir=DIR modifiable architecture-independent data in DIR
208 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
209 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
210 --includedir=DIR C header files in DIR [PREFIX/include]
211 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
212 --infodir=DIR info documentation in DIR [PREFIX/info]
213 --mandir=DIR man documentation in DIR [PREFIX/man]
214 --srcdir=DIR find the sources in DIR [configure dir or ..]
215 --program-prefix=PREFIX prepend PREFIX to installed program names
216 --program-suffix=SUFFIX append SUFFIX to installed program names
217 --program-transform-name=PROGRAM
218 run sed PROGRAM on installed program names
222 --build=BUILD configure for building on BUILD [BUILD=HOST]
223 --host=HOST configure for HOST [guessed]
224 --target=TARGET configure for TARGET [TARGET=HOST]
225 Features and packages:
226 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
227 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
228 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
229 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
230 --x-includes=DIR X include files are in DIR
231 --x-libraries=DIR X library files are in DIR
233 if test -n "$ac_help"; then
234 echo "--enable and --with options recognized:$ac_help"
238 -host | --host | --hos | --ho)
240 -host=* | --host=* | --hos=* | --ho=*)
243 -includedir | --includedir | --includedi | --included | --include \
244 | --includ | --inclu | --incl | --inc)
245 ac_prev=includedir ;;
246 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
247 | --includ=* | --inclu=* | --incl=* | --inc=*)
248 includedir="$ac_optarg" ;;
250 -infodir | --infodir | --infodi | --infod | --info | --inf)
252 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
253 infodir="$ac_optarg" ;;
255 -libdir | --libdir | --libdi | --libd)
257 -libdir=* | --libdir=* | --libdi=* | --libd=*)
258 libdir="$ac_optarg" ;;
260 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
261 | --libexe | --libex | --libe)
262 ac_prev=libexecdir ;;
263 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
264 | --libexe=* | --libex=* | --libe=*)
265 libexecdir="$ac_optarg" ;;
267 -localstatedir | --localstatedir | --localstatedi | --localstated \
268 | --localstate | --localstat | --localsta | --localst \
269 | --locals | --local | --loca | --loc | --lo)
270 ac_prev=localstatedir ;;
271 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
272 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
273 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
274 localstatedir="$ac_optarg" ;;
276 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
278 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
279 mandir="$ac_optarg" ;;
282 # Obsolete; use --without-fp.
285 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
289 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
290 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
293 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
294 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
295 | --oldin | --oldi | --old | --ol | --o)
296 ac_prev=oldincludedir ;;
297 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
298 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
299 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
300 oldincludedir="$ac_optarg" ;;
302 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
304 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
305 prefix="$ac_optarg" ;;
307 -program-prefix | --program-prefix | --program-prefi | --program-pref \
308 | --program-pre | --program-pr | --program-p)
309 ac_prev=program_prefix ;;
310 -program-prefix=* | --program-prefix=* | --program-prefi=* \
311 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
312 program_prefix="$ac_optarg" ;;
314 -program-suffix | --program-suffix | --program-suffi | --program-suff \
315 | --program-suf | --program-su | --program-s)
316 ac_prev=program_suffix ;;
317 -program-suffix=* | --program-suffix=* | --program-suffi=* \
318 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
319 program_suffix="$ac_optarg" ;;
321 -program-transform-name | --program-transform-name \
322 | --program-transform-nam | --program-transform-na \
323 | --program-transform-n | --program-transform- \
324 | --program-transform | --program-transfor \
325 | --program-transfo | --program-transf \
326 | --program-trans | --program-tran \
327 | --progr-tra | --program-tr | --program-t)
328 ac_prev=program_transform_name ;;
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 program_transform_name="$ac_optarg" ;;
338 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
339 | -silent | --silent | --silen | --sile | --sil)
342 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
344 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
346 sbindir="$ac_optarg" ;;
348 -sharedstatedir | --sharedstatedir | --sharedstatedi \
349 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
350 | --sharedst | --shareds | --shared | --share | --shar \
352 ac_prev=sharedstatedir ;;
353 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
354 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
355 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
357 sharedstatedir="$ac_optarg" ;;
359 -site | --site | --sit)
361 -site=* | --site=* | --sit=*)
364 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
366 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
367 srcdir="$ac_optarg" ;;
369 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
370 | --syscon | --sysco | --sysc | --sys | --sy)
371 ac_prev=sysconfdir ;;
372 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
373 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
374 sysconfdir="$ac_optarg" ;;
376 -target | --target | --targe | --targ | --tar | --ta | --t)
378 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
379 target="$ac_optarg" ;;
381 -v | -verbose | --verbose | --verbos | --verbo | --verb)
384 -version | --version | --versio | --versi | --vers)
385 echo "configure generated by autoconf version 2.13"
389 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
390 # Reject names that are not valid shell variable names.
391 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
392 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
394 ac_package=`echo $ac_package| sed 's/-/_/g'`
399 eval "with_${ac_package}='$ac_optarg'" ;;
401 -without-* | --without-*)
402 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
403 # Reject names that are not valid shell variable names.
404 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
405 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
407 ac_package=`echo $ac_package| sed 's/-/_/g'`
408 eval "with_${ac_package}=no" ;;
411 # Obsolete; use --with-x.
414 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
415 | --x-incl | --x-inc | --x-in | --x-i)
416 ac_prev=x_includes ;;
417 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
418 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
419 x_includes="$ac_optarg" ;;
421 -x-libraries | --x-libraries | --x-librarie | --x-librari \
422 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
423 ac_prev=x_libraries ;;
424 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
425 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
426 x_libraries="$ac_optarg" ;;
428 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
432 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
433 echo "configure: warning: $ac_option: invalid host type" 1>&2
435 if test "x$nonopt" != xNONE; then
436 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
444 if test -n "$ac_prev"; then
445 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
448 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
450 # File descriptor usage:
453 # 2 errors and warnings
454 # 3 some systems may open it to /dev/tty
455 # 4 used on the Kubota Titan
456 # 6 checking for... messages and results
457 # 5 compiler messages saved in config.log
458 if test "$silent" = yes; then
466 This file contains any messages produced by compilers while
467 running configure, to aid debugging if configure makes a mistake.
470 # Strip out --no-create and --no-recursion so they do not pile up.
471 # Also quote any args containing shell metacharacters.
476 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
477 | --no-cr | --no-c) ;;
478 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
479 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
480 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
481 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
482 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
487 # Only set these to C if already set. These must not be set unconditionally
488 # because not all systems understand e.g. LANG=C (notably SCO).
489 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
490 # Non-C LC_CTYPE values break the ctype check.
491 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
492 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
493 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
494 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
496 # confdefs.h avoids OS command line length limits that DEFS can exceed.
497 rm -rf conftest* confdefs.h
498 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
501 # A filename unique to this package, relative to the directory that
502 # configure is in, which we can look for to find out if srcdir is correct.
503 ac_unique_file=src/ios.cc
505 # Find the source files, if location was not specified.
506 if test -z "$srcdir"; then
507 ac_srcdir_defaulted=yes
508 # Try the directory containing this script, then its parent.
510 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
511 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
513 if test ! -r $srcdir/$ac_unique_file; then
517 ac_srcdir_defaulted=no
519 if test ! -r $srcdir/$ac_unique_file; then
520 if test "$ac_srcdir_defaulted" = yes; then
521 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
523 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
526 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
528 # Prefer explicitly selected file to automatically selected ones.
529 if test -z "$CONFIG_SITE"; then
530 if test "x$prefix" != xNONE; then
531 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
533 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
536 for ac_site_file in $CONFIG_SITE; do
537 if test -r "$ac_site_file"; then
538 echo "loading site script $ac_site_file"
543 if test -r "$cache_file"; then
544 echo "loading cache $cache_file"
547 echo "creating cache $cache_file"
552 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
553 ac_cpp='$CPP $CPPFLAGS'
554 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
555 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
556 cross_compiling=$ac_cv_prog_cc_cross
560 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
561 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
562 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
569 ac_n= ac_c='\c' ac_t=
576 # For typical GNU versioning info, format is MAJOR.MINOR.MICRO
577 release_VERSION=3.1.0
579 # For libtool versioning info, format is CURRENT:REVISION:AGE
580 libtool_VERSION=4:0:0
583 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
584 # AC 2.50 sets target_alias iff the user specified --target, but we use it
585 # everywhere, so we set it here just to be sure.
587 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
588 if test -f $ac_dir/install-sh; then
590 ac_install_sh="$ac_aux_dir/install-sh -c"
592 elif test -f $ac_dir/install.sh; then
594 ac_install_sh="$ac_aux_dir/install.sh -c"
598 if test -z "$ac_aux_dir"; then
599 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
601 ac_config_guess=$ac_aux_dir/config.guess
602 ac_config_sub=$ac_aux_dir/config.sub
603 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
606 # Do some error checking and defaulting for the host and target type.
608 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
611 # 1. You are not allowed to specify --host, --target, and nonopt at the
613 # 2. Host defaults to nonopt.
614 # 3. If nonopt is not specified, then host defaults to the current host,
615 # as determined by config.guess.
616 # 4. Target and build default to nonopt.
617 # 5. If nonopt is not specified, then target and build default to host.
619 # The aliases save the names the user supplied, while $host etc.
620 # will get canonicalized.
621 case $host---$target---$nonopt in
622 NONE---*---* | *---NONE---* | *---*---NONE) ;;
623 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
627 # Make sure we can run config.sub.
628 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
629 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
632 echo $ac_n "checking host system type""... $ac_c" 1>&6
633 echo "configure:634: checking host system type" >&5
636 case "$host_alias" in
640 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
641 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
643 *) host_alias=$nonopt ;;
647 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
648 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
649 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
650 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
651 echo "$ac_t""$host" 1>&6
653 echo $ac_n "checking target system type""... $ac_c" 1>&6
654 echo "configure:655: checking target system type" >&5
657 case "$target_alias" in
660 NONE) target_alias=$host_alias ;;
661 *) target_alias=$nonopt ;;
665 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
666 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
667 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
668 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
669 echo "$ac_t""$target" 1>&6
671 echo $ac_n "checking build system type""... $ac_c" 1>&6
672 echo "configure:673: checking build system type" >&5
675 case "$build_alias" in
678 NONE) build_alias=$host_alias ;;
679 *) build_alias=$nonopt ;;
683 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
684 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
685 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
686 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
687 echo "$ac_t""$build" 1>&6
689 test "$host_alias" != "$target_alias" &&
690 test "$program_prefix$program_suffix$program_transform_name" = \
692 program_prefix=${target_alias}-
694 target_alias=${target_alias-$target}
697 # Find a good install program. We prefer a C program (faster),
698 # so one script is as good as another. But avoid the broken or
699 # incompatible versions:
700 # SysV /etc/install, /usr/sbin/install
701 # SunOS /usr/etc/install
704 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
705 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
706 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
707 # ./install, which can be erroneously created by make from ./install.sh.
708 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
709 echo "configure:710: checking for a BSD compatible install" >&5
710 if test -z "$INSTALL"; then
711 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
712 echo $ac_n "(cached) $ac_c" 1>&6
714 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
715 for ac_dir in $PATH; do
716 # Account for people who put trailing slashes in PATH elements.
718 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
720 # OSF1 and SCO ODT 3.0 have their own names for install.
721 # Don't use installbsd from OSF since it installs stuff as root
723 for ac_prog in ginstall scoinst install; do
724 if test -f $ac_dir/$ac_prog; then
725 if test $ac_prog = install &&
726 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
727 # AIX install. It has an incompatible calling convention.
730 ac_cv_path_install="$ac_dir/$ac_prog -c"
741 if test "${ac_cv_path_install+set}" = set; then
742 INSTALL="$ac_cv_path_install"
744 # As a last resort, use the slow shell script. We don't cache a
745 # path for INSTALL within a source directory, because that will
746 # break other packages using the cache if that directory is
747 # removed, or if the path is relative.
748 INSTALL="$ac_install_sh"
751 echo "$ac_t""$INSTALL" 1>&6
753 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
754 # It thinks the first close brace ends the variable substitution.
755 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
757 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
759 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
761 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
762 echo "configure:763: checking whether build environment is sane" >&5
765 echo timestamp > conftestfile
766 # Do `set' in a subshell so we don't clobber the current shell's
767 # arguments. Must try -L first in case configure is actually a
768 # symlink; some systems play weird games with the mod time of symlinks
769 # (eg FreeBSD returns the mod time of the symlink's containing
772 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
773 if test "$*" = "X"; then
775 set X `ls -t $srcdir/configure conftestfile`
777 if test "$*" != "X $srcdir/configure conftestfile" \
778 && test "$*" != "X conftestfile $srcdir/configure"; then
780 # If neither matched, then we have a broken ls. This can happen
781 # if, for instance, CONFIG_SHELL is bash and it inherits a
782 # broken ls alias from the environment. This has actually
783 # happened. Such a system could not be considered "sane".
784 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
785 alias in your environment" 1>&2; exit 1; }
788 test "$2" = conftestfile
794 { echo "configure: error: newly created file is older than distributed files!
795 Check your system clock" 1>&2; exit 1; }
798 echo "$ac_t""yes" 1>&6
799 if test "$program_transform_name" = s,x,x,; then
800 program_transform_name=
802 # Double any \ or $. echo might interpret backslashes.
803 cat <<\EOF_SED > conftestsed
804 s,\\,\\\\,g; s,\$,$$,g
806 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
809 test "$program_prefix" != NONE &&
810 program_transform_name="s,^,${program_prefix},; $program_transform_name"
811 # Use a double $ so make ignores it.
812 test "$program_suffix" != NONE &&
813 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
815 # sed with no file args requires a program.
816 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
818 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
819 echo "configure:820: checking whether ${MAKE-make} sets \${MAKE}" >&5
820 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
821 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
822 echo $ac_n "(cached) $ac_c" 1>&6
824 cat > conftestmake <<\EOF
826 @echo 'ac_maketemp="${MAKE}"'
828 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
829 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
830 if test -n "$ac_maketemp"; then
831 eval ac_cv_prog_make_${ac_make}_set=yes
833 eval ac_cv_prog_make_${ac_make}_set=no
837 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
838 echo "$ac_t""yes" 1>&6
841 echo "$ac_t""no" 1>&6
842 SET_MAKE="MAKE=${MAKE-make}"
848 VERSION=$release_VERSION
850 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
851 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
853 cat >> confdefs.h <<EOF
854 #define PACKAGE "$PACKAGE"
857 cat >> confdefs.h <<EOF
858 #define VERSION "$VERSION"
863 missing_dir=`cd $ac_aux_dir && pwd`
864 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
865 echo "configure:866: checking for working aclocal" >&5
866 # Run test in a subshell; some versions of sh will print an error if
867 # an executable is not found, even if stderr is redirected.
868 # Redirect stdin to placate older versions of autoconf. Sigh.
869 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
871 echo "$ac_t""found" 1>&6
873 ACLOCAL="$missing_dir/missing aclocal"
874 echo "$ac_t""missing" 1>&6
877 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
878 echo "configure:879: checking for working autoconf" >&5
879 # Run test in a subshell; some versions of sh will print an error if
880 # an executable is not found, even if stderr is redirected.
881 # Redirect stdin to placate older versions of autoconf. Sigh.
882 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
884 echo "$ac_t""found" 1>&6
886 AUTOCONF="$missing_dir/missing autoconf"
887 echo "$ac_t""missing" 1>&6
890 echo $ac_n "checking for working automake""... $ac_c" 1>&6
891 echo "configure:892: checking for working automake" >&5
892 # Run test in a subshell; some versions of sh will print an error if
893 # an executable is not found, even if stderr is redirected.
894 # Redirect stdin to placate older versions of autoconf. Sigh.
895 if (automake --version) < /dev/null > /dev/null 2>&1; then
897 echo "$ac_t""found" 1>&6
899 AUTOMAKE="$missing_dir/missing automake"
900 echo "$ac_t""missing" 1>&6
903 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
904 echo "configure:905: checking for working autoheader" >&5
905 # Run test in a subshell; some versions of sh will print an error if
906 # an executable is not found, even if stderr is redirected.
907 # Redirect stdin to placate older versions of autoconf. Sigh.
908 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
909 AUTOHEADER=autoheader
910 echo "$ac_t""found" 1>&6
912 AUTOHEADER="$missing_dir/missing autoheader"
913 echo "$ac_t""missing" 1>&6
916 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
917 echo "configure:918: checking for working makeinfo" >&5
918 # Run test in a subshell; some versions of sh will print an error if
919 # an executable is not found, even if stderr is redirected.
920 # Redirect stdin to placate older versions of autoconf. Sigh.
921 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
923 echo "$ac_t""found" 1>&6
925 MAKEINFO="$missing_dir/missing makeinfo"
926 echo "$ac_t""missing" 1>&6
934 # Runs configure.host and configure.target, as well as finds CC, CXX
935 # and assorted other critical bits. Have to run this before the
936 # GLIBCPP_ENABLE_* macros below.
937 if test $host != $build; then
938 ac_tool_prefix=${host_alias}-
943 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
944 echo "configure:945: checking for Cygwin environment" >&5
945 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
946 echo $ac_n "(cached) $ac_c" 1>&6
948 cat > conftest.$ac_ext <<EOF
949 #line 950 "configure"
950 #include "confdefs.h"
955 #define __CYGWIN__ __CYGWIN32__
960 if { (eval echo configure:961: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
964 echo "configure: failed program was:" >&5
965 cat conftest.$ac_ext >&5
973 echo "$ac_t""$ac_cv_cygwin" 1>&6
975 test "$ac_cv_cygwin" = yes && CYGWIN=yes
976 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
977 echo "configure:978: checking for mingw32 environment" >&5
978 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
979 echo $ac_n "(cached) $ac_c" 1>&6
981 cat > conftest.$ac_ext <<EOF
982 #line 983 "configure"
983 #include "confdefs.h"
989 if { (eval echo configure:990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
993 echo "configure: failed program was:" >&5
994 cat conftest.$ac_ext >&5
1002 echo "$ac_t""$ac_cv_mingw32" 1>&6
1004 test "$ac_cv_mingw32" = yes && MINGW32=yes
1006 # Check whether --enable-multilib or --disable-multilib was given.
1007 if test "${enable_multilib+set}" = set; then
1008 enableval="$enable_multilib"
1009 case "${enableval}" in
1010 yes) multilib=yes ;;
1012 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
1018 # When building with srcdir == objdir, links to the source files will
1019 # be created in directories within the target_subdir. We have to
1020 # adjust toplevel_srcdir accordingly, so that configure finds
1021 # install-sh and other auxiliary files that live in the top-level
1023 if test "${srcdir}" = "."; then
1024 if test -z "${with_target_subdir}"; then
1027 if test "${with_target_subdir}" != "."; then
1028 toprel="${with_multisrctop}../.."
1030 toprel="${with_multisrctop}.."
1037 for ac_dir in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
1038 if test -f $ac_dir/install-sh; then
1040 ac_install_sh="$ac_aux_dir/install-sh -c"
1042 elif test -f $ac_dir/install.sh; then
1044 ac_install_sh="$ac_aux_dir/install.sh -c"
1048 if test -z "$ac_aux_dir"; then
1049 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
1051 ac_config_guess=$ac_aux_dir/config.guess
1052 ac_config_sub=$ac_aux_dir/config.sub
1053 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
1055 toplevel_srcdir=\${top_srcdir}/$toprel
1058 # Export build and source directories.
1059 # These need to be absolute paths, yet at the same time need to
1060 # canonicalize only relative paths, because then amd will not unmount
1061 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1062 glibcpp_builddir=`pwd`
1064 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
1065 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1072 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.50+, can also
1073 # be 'cp -p' if linking isn't available.
1074 #ac_cv_prog_LN_S='cp -p'
1075 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1076 echo "configure:1077: checking whether ln -s works" >&5
1077 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1078 echo $ac_n "(cached) $ac_c" 1>&6
1081 if ln -s X conftestdata 2>/dev/null
1084 ac_cv_prog_LN_S="ln -s"
1089 LN_S="$ac_cv_prog_LN_S"
1090 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1091 echo "$ac_t""yes" 1>&6
1093 echo "$ac_t""no" 1>&6
1097 # We use these options to decide which functions to include.
1098 # Check whether --with-target-subdir or --without-target-subdir was given.
1099 if test "${with_target_subdir+set}" = set; then
1100 withval="$with_target_subdir"
1104 # Check whether --with-cross-host or --without-cross-host was given.
1105 if test "${with_cross_host+set}" = set; then
1106 withval="$with_cross_host"
1111 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
1114 # Never versions of autoconf add an underscore to these functions.
1115 # Prevent future problems ...
1123 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1124 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1125 # are probably using a cross compiler, which will not be able to fully
1126 # link an executable. This should really be fixed in autoconf
1132 # Extract the first word of "gcc", so it can be a program name with args.
1133 set dummy gcc; ac_word=$2
1134 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1135 echo "configure:1136: checking for $ac_word" >&5
1136 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1137 echo $ac_n "(cached) $ac_c" 1>&6
1139 if test -n "$CC"; then
1140 ac_cv_prog_CC="$CC" # Let the user override the test.
1142 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1144 for ac_dir in $ac_dummy; do
1145 test -z "$ac_dir" && ac_dir=.
1146 if test -f $ac_dir/$ac_word; then
1155 if test -n "$CC"; then
1156 echo "$ac_t""$CC" 1>&6
1158 echo "$ac_t""no" 1>&6
1161 if test -z "$CC"; then
1162 # Extract the first word of "cc", so it can be a program name with args.
1163 set dummy cc; ac_word=$2
1164 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1165 echo "configure:1166: checking for $ac_word" >&5
1166 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1167 echo $ac_n "(cached) $ac_c" 1>&6
1169 if test -n "$CC"; then
1170 ac_cv_prog_CC="$CC" # Let the user override the test.
1172 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1175 for ac_dir in $ac_dummy; do
1176 test -z "$ac_dir" && ac_dir=.
1177 if test -f $ac_dir/$ac_word; then
1178 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1179 ac_prog_rejected=yes
1187 if test $ac_prog_rejected = yes; then
1188 # We found a bogon in the path, so make sure we never use it.
1189 set dummy $ac_cv_prog_CC
1191 if test $# -gt 0; then
1192 # We chose a different compiler from the bogus one.
1193 # However, it has the same basename, so the bogon will be chosen
1194 # first if we set CC to just the basename; use the full file name.
1196 set dummy "$ac_dir/$ac_word" "$@"
1204 if test -n "$CC"; then
1205 echo "$ac_t""$CC" 1>&6
1207 echo "$ac_t""no" 1>&6
1210 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1213 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1214 echo "configure:1215: checking whether we are using GNU C" >&5
1215 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1216 echo $ac_n "(cached) $ac_c" 1>&6
1218 cat > conftest.c <<EOF
1223 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1230 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1232 if test $ac_cv_prog_gcc = yes; then
1234 ac_test_CFLAGS="${CFLAGS+set}"
1235 ac_save_CFLAGS="$CFLAGS"
1237 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1238 echo "configure:1239: checking whether ${CC-cc} accepts -g" >&5
1239 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1240 echo $ac_n "(cached) $ac_c" 1>&6
1242 echo 'void f(){}' > conftest.c
1243 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1252 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1253 if test "$ac_test_CFLAGS" = set; then
1254 CFLAGS="$ac_save_CFLAGS"
1255 elif test $ac_cv_prog_cc_g = yes; then
1262 test "${CFLAGS+set}" = set || CFLAGS="-g"
1266 # Can't just call these here as g++ requires libstc++ to be built....
1269 # Likewise for AC_PROG_CXX.
1273 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1274 # flags that come in CXX while configuring libstdc++. They're different
1275 # from those used for all other target libraries. If CXX is set in
1276 # the environment, respect that here.
1278 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1280 # Extract the first word of "$ac_prog", so it can be a program name with args.
1281 set dummy $ac_prog; ac_word=$2
1282 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1283 echo "configure:1284: checking for $ac_word" >&5
1284 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1285 echo $ac_n "(cached) $ac_c" 1>&6
1287 if test -n "$glibcpp_CXX"; then
1288 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1290 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1292 for ac_dir in $ac_dummy; do
1293 test -z "$ac_dir" && ac_dir=.
1294 if test -f $ac_dir/$ac_word; then
1295 ac_cv_prog_glibcpp_CXX="$ac_prog"
1302 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1303 if test -n "$glibcpp_CXX"; then
1304 echo "$ac_t""$glibcpp_CXX" 1>&6
1306 echo "$ac_t""no" 1>&6
1309 test -n "$glibcpp_CXX" && break
1311 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc"
1315 test -z "$glibcpp_CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1317 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1318 echo "configure:1319: checking whether we are using GNU C++" >&5
1319 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1320 echo $ac_n "(cached) $ac_c" 1>&6
1322 cat > conftest.C <<EOF
1327 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1328: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1334 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1336 if test $ac_cv_prog_gxx = yes; then
1338 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1339 ac_save_CXXFLAGS="$CXXFLAGS"
1341 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1342 echo "configure:1343: checking whether ${CXX-g++} accepts -g" >&5
1343 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1344 echo $ac_n "(cached) $ac_c" 1>&6
1346 echo 'void f(){}' > conftest.cc
1347 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1348 ac_cv_prog_cxx_g=yes
1356 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1357 if test "$ac_test_CXXFLAGS" = set; then
1358 CXXFLAGS="$ac_save_CXXFLAGS"
1359 elif test $ac_cv_prog_cxx_g = yes; then
1366 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1370 # For some reason, gettext needs this.
1372 echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
1373 echo "configure:1374: checking for strerror in -lcposix" >&5
1374 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
1375 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1376 echo $ac_n "(cached) $ac_c" 1>&6
1378 ac_save_LIBS="$LIBS"
1379 LIBS="-lcposix $LIBS"
1380 cat > conftest.$ac_ext <<EOF
1381 #line 1382 "configure"
1382 #include "confdefs.h"
1383 /* Override any gcc2 internal prototype to avoid an error. */
1384 /* We use char because int might match the return type of a gcc2
1385 builtin and then its argument prototype would still apply. */
1392 if { (eval echo configure:1393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1394 eval "ac_cv_lib_$ac_lib_var=yes"
1396 echo "configure: failed program was:" >&5
1397 cat conftest.$ac_ext >&5
1399 eval "ac_cv_lib_$ac_lib_var=no"
1402 LIBS="$ac_save_LIBS"
1405 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1406 echo "$ac_t""yes" 1>&6
1407 LIBS="$LIBS -lcposix"
1409 echo "$ac_t""no" 1>&6
1415 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1416 set dummy ${ac_tool_prefix}as; ac_word=$2
1417 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1418 echo "configure:1419: checking for $ac_word" >&5
1419 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1420 echo $ac_n "(cached) $ac_c" 1>&6
1422 if test -n "$AS"; then
1423 ac_cv_prog_AS="$AS" # Let the user override the test.
1425 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1427 for ac_dir in $ac_dummy; do
1428 test -z "$ac_dir" && ac_dir=.
1429 if test -f $ac_dir/$ac_word; then
1430 ac_cv_prog_AS="${ac_tool_prefix}as"
1435 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1439 if test -n "$AS"; then
1440 echo "$ac_t""$AS" 1>&6
1442 echo "$ac_t""no" 1>&6
1447 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1448 set dummy ${ac_tool_prefix}ar; ac_word=$2
1449 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1450 echo "configure:1451: checking for $ac_word" >&5
1451 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1452 echo $ac_n "(cached) $ac_c" 1>&6
1454 if test -n "$AR"; then
1455 ac_cv_prog_AR="$AR" # Let the user override the test.
1457 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1459 for ac_dir in $ac_dummy; do
1460 test -z "$ac_dir" && ac_dir=.
1461 if test -f $ac_dir/$ac_word; then
1462 ac_cv_prog_AR="${ac_tool_prefix}ar"
1467 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1471 if test -n "$AR"; then
1472 echo "$ac_t""$AR" 1>&6
1474 echo "$ac_t""no" 1>&6
1479 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1480 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1481 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1482 echo "configure:1483: checking for $ac_word" >&5
1483 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1484 echo $ac_n "(cached) $ac_c" 1>&6
1486 if test -n "$RANLIB"; then
1487 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1489 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1491 for ac_dir in $ac_dummy; do
1492 test -z "$ac_dir" && ac_dir=.
1493 if test -f $ac_dir/$ac_word; then
1494 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1501 RANLIB="$ac_cv_prog_RANLIB"
1502 if test -n "$RANLIB"; then
1503 echo "$ac_t""$RANLIB" 1>&6
1505 echo "$ac_t""no" 1>&6
1509 if test -z "$ac_cv_prog_RANLIB"; then
1510 if test -n "$ac_tool_prefix"; then
1511 # Extract the first word of "ranlib", so it can be a program name with args.
1512 set dummy ranlib; ac_word=$2
1513 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1514 echo "configure:1515: checking for $ac_word" >&5
1515 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1516 echo $ac_n "(cached) $ac_c" 1>&6
1518 if test -n "$RANLIB"; then
1519 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1521 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1523 for ac_dir in $ac_dummy; do
1524 test -z "$ac_dir" && ac_dir=.
1525 if test -f $ac_dir/$ac_word; then
1526 ac_cv_prog_RANLIB="ranlib"
1531 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
1534 RANLIB="$ac_cv_prog_RANLIB"
1535 if test -n "$RANLIB"; then
1536 echo "$ac_t""$RANLIB" 1>&6
1538 echo "$ac_t""no" 1>&6
1542 RANLIB="ranlib-not-found-in-path-error"
1546 # Find a good install program. We prefer a C program (faster),
1547 # so one script is as good as another. But avoid the broken or
1548 # incompatible versions:
1549 # SysV /etc/install, /usr/sbin/install
1550 # SunOS /usr/etc/install
1551 # IRIX /sbin/install
1553 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1554 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1555 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1556 # ./install, which can be erroneously created by make from ./install.sh.
1557 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1558 echo "configure:1559: checking for a BSD compatible install" >&5
1559 if test -z "$INSTALL"; then
1560 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1561 echo $ac_n "(cached) $ac_c" 1>&6
1563 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1564 for ac_dir in $PATH; do
1565 # Account for people who put trailing slashes in PATH elements.
1567 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1569 # OSF1 and SCO ODT 3.0 have their own names for install.
1570 # Don't use installbsd from OSF since it installs stuff as root
1572 for ac_prog in ginstall scoinst install; do
1573 if test -f $ac_dir/$ac_prog; then
1574 if test $ac_prog = install &&
1575 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1576 # AIX install. It has an incompatible calling convention.
1579 ac_cv_path_install="$ac_dir/$ac_prog -c"
1590 if test "${ac_cv_path_install+set}" = set; then
1591 INSTALL="$ac_cv_path_install"
1593 # As a last resort, use the slow shell script. We don't cache a
1594 # path for INSTALL within a source directory, because that will
1595 # break other packages using the cache if that directory is
1596 # removed, or if the path is relative.
1597 INSTALL="$ac_install_sh"
1600 echo "$ac_t""$INSTALL" 1>&6
1602 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1603 # It thinks the first close brace ends the variable substitution.
1604 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1606 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1608 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1611 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1612 echo "configure:1613: checking whether to enable maintainer-specific portions of Makefiles" >&5
1613 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1614 if test "${enable_maintainer_mode+set}" = set; then
1615 enableval="$enable_maintainer_mode"
1616 USE_MAINTAINER_MODE=$enableval
1618 USE_MAINTAINER_MODE=no
1621 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1624 if test $USE_MAINTAINER_MODE = yes; then
1625 MAINTAINER_MODE_TRUE=
1626 MAINTAINER_MODE_FALSE='#'
1628 MAINTAINER_MODE_TRUE='#'
1629 MAINTAINER_MODE_FALSE=
1631 MAINT=$MAINTAINER_MODE_TRUE
1635 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1636 # at least currently, we never actually build a program, so we never
1637 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1638 # fails, because we are probably configuring with a cross compiler
1639 # which cant create executables. So we include AC_EXEEXT to keep
1640 # automake happy, but we dont execute it, since we dont care about
1643 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1644 # to nothing, so nothing would remain between `then' and `fi' if it
1645 # were not for the `:' below.
1649 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1650 echo "configure:1651: checking for executable suffix" >&5
1651 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1652 echo $ac_n "(cached) $ac_c" 1>&6
1654 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1658 echo 'int main () { return 0; }' > conftest.$ac_ext
1660 if { (eval echo configure:1661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1661 for file in conftest.*; do
1663 *.c | *.o | *.obj) ;;
1664 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1668 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1671 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1676 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1677 echo "$ac_t""${ac_cv_exeext}" 1>&6
1682 . ${glibcpp_basedir}/configure.host
1684 case ${glibcpp_basedir} in
1685 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1686 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1689 # This does for the target what configure.host does for the host. In
1690 # addition to possibly modifying the same flags, it also sets up symlinks.
1692 . ${glibcpp_basedir}/configure.target
1693 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1694 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1701 # Check whether --enable-shared or --disable-shared was given.
1702 if test "${enable_shared+set}" = set; then
1703 enableval="$enable_shared"
1704 p=${PACKAGE-default}
1706 yes) enable_shared=yes ;;
1707 no) enable_shared=no ;;
1710 # Look at the argument we got. We use all the common list separators.
1711 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1712 for pkg in $enableval; do
1713 if test "X$pkg" = "X$p"; then
1724 # Check whether --enable-static or --disable-static was given.
1725 if test "${enable_static+set}" = set; then
1726 enableval="$enable_static"
1727 p=${PACKAGE-default}
1729 yes) enable_static=yes ;;
1730 no) enable_static=no ;;
1733 # Look at the argument we got. We use all the common list separators.
1734 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1735 for pkg in $enableval; do
1736 if test "X$pkg" = "X$p"; then
1747 # Check whether --enable-fast-install or --disable-fast-install was given.
1748 if test "${enable_fast_install+set}" = set; then
1749 enableval="$enable_fast_install"
1750 p=${PACKAGE-default}
1752 yes) enable_fast_install=yes ;;
1753 no) enable_fast_install=no ;;
1755 enable_fast_install=no
1756 # Look at the argument we got. We use all the common list separators.
1757 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1758 for pkg in $enableval; do
1759 if test "X$pkg" = "X$p"; then
1760 enable_fast_install=yes
1767 enable_fast_install=yes
1770 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1771 if test "${with_gnu_ld+set}" = set; then
1772 withval="$with_gnu_ld"
1773 test "$withval" = no || with_gnu_ld=yes
1779 if test "$GCC" = yes; then
1780 # Check if gcc -print-prog-name=ld gives a path.
1781 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1782 echo "configure:1783: checking for ld used by GCC" >&5
1785 # gcc leaves a trailing carriage return which upsets mingw
1786 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1788 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1791 # Accept absolute paths.
1792 [\\/]* | [A-Za-z]:[\\/]*)
1793 re_direlt='/[^/][^/]*/\.\./'
1794 # Canonicalize the path of ld
1795 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1796 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1797 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1799 test -z "$LD" && LD="$ac_prog"
1802 # If it fails, then pretend we aren't using GCC.
1806 # If it is relative, then search for the first ld in PATH.
1810 elif test "$with_gnu_ld" = yes; then
1811 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1812 echo "configure:1813: checking for GNU ld" >&5
1814 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1815 echo "configure:1816: checking for non-GNU ld" >&5
1817 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1818 echo $ac_n "(cached) $ac_c" 1>&6
1820 if test -z "$LD"; then
1821 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1822 for ac_dir in $PATH; do
1823 test -z "$ac_dir" && ac_dir=.
1824 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1825 lt_cv_path_LD="$ac_dir/$ac_prog"
1826 # Check to see if the program is GNU ld. I'd rather use --version,
1827 # but apparently some GNU ld's only accept -v.
1828 # Break only if it was the GNU/non-GNU ld that we prefer.
1829 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1830 test "$with_gnu_ld" != no && break
1832 test "$with_gnu_ld" != yes && break
1838 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1843 if test -n "$LD"; then
1844 echo "$ac_t""$LD" 1>&6
1846 echo "$ac_t""no" 1>&6
1848 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1849 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1850 echo "configure:1851: checking if the linker ($LD) is GNU ld" >&5
1851 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1852 echo $ac_n "(cached) $ac_c" 1>&6
1854 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1855 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1856 lt_cv_prog_gnu_ld=yes
1858 lt_cv_prog_gnu_ld=no
1862 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1863 with_gnu_ld=$lt_cv_prog_gnu_ld
1866 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1867 echo "configure:1868: checking for $LD option to reload object files" >&5
1868 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1869 echo $ac_n "(cached) $ac_c" 1>&6
1871 lt_cv_ld_reload_flag='-r'
1874 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1875 reload_flag=$lt_cv_ld_reload_flag
1876 test -n "$reload_flag" && reload_flag=" $reload_flag"
1878 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1879 echo "configure:1880: checking for BSD-compatible nm" >&5
1880 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1881 echo $ac_n "(cached) $ac_c" 1>&6
1883 if test -n "$NM"; then
1884 # Let the user override the test.
1887 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1888 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1889 test -z "$ac_dir" && ac_dir=.
1890 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1891 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1892 # Check to see if the nm accepts a BSD-compat flag.
1893 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1894 # nm: unknown option "B" ignored
1895 # Tru64's nm complains that /dev/null is an invalid object file
1896 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1897 lt_cv_path_NM="$tmp_nm -B"
1899 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1900 lt_cv_path_NM="$tmp_nm -p"
1903 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1904 continue # so that we can try to find one that supports BSD flags
1909 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1914 echo "$ac_t""$NM" 1>&6
1916 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1917 echo "configure:1918: checking how to recognise dependant libraries" >&5
1918 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1919 echo $ac_n "(cached) $ac_c" 1>&6
1921 lt_cv_file_magic_cmd='$MAGIC_CMD'
1922 lt_cv_file_magic_test_file=
1923 lt_cv_deplibs_check_method='unknown'
1924 # Need to set the preceding variable on all platforms that support
1925 # interlibrary dependencies.
1926 # 'none' -- dependencies not supported.
1927 # `unknown' -- same as none, but documents that we really don't know.
1928 # 'pass_all' -- all dependencies passed with no checks.
1929 # 'test_compile' -- check by making test program.
1930 # 'file_magic [regex]' -- check by looking for files in library path
1931 # which responds to the $file_magic_cmd with a given egrep regex.
1932 # If you have `file' or equivalent on your system and you're not sure
1933 # whether `pass_all' will *always* work, you probably want this one.
1937 lt_cv_deplibs_check_method=pass_all
1941 lt_cv_deplibs_check_method=pass_all
1945 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1946 lt_cv_file_magic_cmd='/usr/bin/file -L'
1947 lt_cv_file_magic_test_file=/shlib/libc.so
1950 cygwin* | mingw* |pw32*)
1951 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1952 lt_cv_file_magic_cmd='$OBJDUMP -f'
1955 darwin* | rhapsody*)
1956 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1957 lt_cv_file_magic_cmd='/usr/bin/file -L'
1959 rhapsody* | darwin1.012)
1960 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1963 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1969 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1972 # Not sure whether the presence of OpenBSD here was a mistake.
1973 # Let's accept both of them until this is cleared up.
1974 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1975 lt_cv_file_magic_cmd=/usr/bin/file
1976 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1980 lt_cv_deplibs_check_method=pass_all
1985 lt_cv_deplibs_check_method=pass_all
1989 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1990 lt_cv_file_magic_cmd=/usr/bin/file
1991 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1997 # this will be overridden with pass_all, but let us keep it just in case
1998 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
2002 *-32|*"-32 ") libmagic=32-bit;;
2003 *-n32|*"-n32 ") libmagic=N32;;
2004 *-64|*"-64 ") libmagic=64-bit;;
2005 *) libmagic=never-match;;
2007 # this will be overridden with pass_all, but let us keep it just in case
2008 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
2011 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
2012 lt_cv_deplibs_check_method=pass_all
2015 # This must be Linux ELF.
2018 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2019 lt_cv_deplibs_check_method=pass_all ;;
2021 # glibc up to 2.1.1 does not perform some relocations on ARM
2022 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2024 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2028 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2029 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2031 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2036 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2037 lt_cv_file_magic_cmd=/usr/bin/file
2038 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2041 osf3* | osf4* | osf5*)
2042 # this will be overridden with pass_all, but let us keep it just in case
2043 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2044 lt_cv_file_magic_test_file=/shlib/libc.so
2045 lt_cv_deplibs_check_method=pass_all
2049 lt_cv_deplibs_check_method=pass_all
2053 lt_cv_deplibs_check_method=pass_all
2054 lt_cv_file_magic_test_file=/lib/libc.so
2057 sysv5uw[78]* | sysv4*uw2*)
2058 lt_cv_deplibs_check_method=pass_all
2061 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2062 case $host_vendor in
2064 lt_cv_deplibs_check_method=pass_all
2067 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]'
2068 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2076 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2077 file_magic_cmd=$lt_cv_file_magic_cmd
2078 deplibs_check_method=$lt_cv_deplibs_check_method
2080 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2081 echo "configure:2082: checking for object suffix" >&5
2082 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2083 echo $ac_n "(cached) $ac_c" 1>&6
2086 echo 'int i = 1;' > conftest.$ac_ext
2087 if { (eval echo configure:2088: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2088 for ac_file in conftest.*; do
2091 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2095 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2100 echo "$ac_t""$ac_cv_objext" 1>&6
2101 OBJEXT=$ac_cv_objext
2102 ac_objext=$ac_cv_objext
2104 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2106 # Only perform the check for file, if the check method requires it
2107 case $deplibs_check_method in
2109 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2110 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2111 echo "configure:2112: checking for ${ac_tool_prefix}file" >&5
2112 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2113 echo $ac_n "(cached) $ac_c" 1>&6
2117 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2120 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2123 ac_save_MAGIC_CMD="$MAGIC_CMD"
2124 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2125 ac_dummy="/usr/bin:$PATH"
2126 for ac_dir in $ac_dummy; do
2127 test -z "$ac_dir" && ac_dir=.
2128 if test -f $ac_dir/${ac_tool_prefix}file; then
2129 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2130 if test -n "$file_magic_test_file"; then
2131 case $deplibs_check_method in
2133 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2134 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2135 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2136 egrep "$file_magic_regex" > /dev/null; then
2141 *** Warning: the command libtool uses to detect shared libraries,
2142 *** $file_magic_cmd, produces output that libtool cannot recognize.
2143 *** The result is that libtool may fail to recognize shared libraries
2144 *** as such. This will affect the creation of libtool libraries that
2145 *** depend on shared libraries, but programs linked with such libtool
2146 *** libraries will work regardless of this problem. Nevertheless, you
2147 *** may want to report the problem to your system manager and/or to
2148 *** bug-libtool@gnu.org
2158 MAGIC_CMD="$ac_save_MAGIC_CMD"
2163 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2164 if test -n "$MAGIC_CMD"; then
2165 echo "$ac_t""$MAGIC_CMD" 1>&6
2167 echo "$ac_t""no" 1>&6
2170 if test -z "$lt_cv_path_MAGIC_CMD"; then
2171 if test -n "$ac_tool_prefix"; then
2172 echo $ac_n "checking for file""... $ac_c" 1>&6
2173 echo "configure:2174: checking for file" >&5
2174 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2175 echo $ac_n "(cached) $ac_c" 1>&6
2179 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2182 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2185 ac_save_MAGIC_CMD="$MAGIC_CMD"
2186 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2187 ac_dummy="/usr/bin:$PATH"
2188 for ac_dir in $ac_dummy; do
2189 test -z "$ac_dir" && ac_dir=.
2190 if test -f $ac_dir/file; then
2191 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2192 if test -n "$file_magic_test_file"; then
2193 case $deplibs_check_method in
2195 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2196 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2197 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2198 egrep "$file_magic_regex" > /dev/null; then
2203 *** Warning: the command libtool uses to detect shared libraries,
2204 *** $file_magic_cmd, produces output that libtool cannot recognize.
2205 *** The result is that libtool may fail to recognize shared libraries
2206 *** as such. This will affect the creation of libtool libraries that
2207 *** depend on shared libraries, but programs linked with such libtool
2208 *** libraries will work regardless of this problem. Nevertheless, you
2209 *** may want to report the problem to your system manager and/or to
2210 *** bug-libtool@gnu.org
2220 MAGIC_CMD="$ac_save_MAGIC_CMD"
2225 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2226 if test -n "$MAGIC_CMD"; then
2227 echo "$ac_t""$MAGIC_CMD" 1>&6
2229 echo "$ac_t""no" 1>&6
2241 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2242 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2243 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2244 echo "configure:2245: checking for $ac_word" >&5
2245 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2246 echo $ac_n "(cached) $ac_c" 1>&6
2248 if test -n "$RANLIB"; then
2249 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2251 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2253 for ac_dir in $ac_dummy; do
2254 test -z "$ac_dir" && ac_dir=.
2255 if test -f $ac_dir/$ac_word; then
2256 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2263 RANLIB="$ac_cv_prog_RANLIB"
2264 if test -n "$RANLIB"; then
2265 echo "$ac_t""$RANLIB" 1>&6
2267 echo "$ac_t""no" 1>&6
2271 if test -z "$ac_cv_prog_RANLIB"; then
2272 if test -n "$ac_tool_prefix"; then
2273 # Extract the first word of "ranlib", so it can be a program name with args.
2274 set dummy ranlib; ac_word=$2
2275 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2276 echo "configure:2277: checking for $ac_word" >&5
2277 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2278 echo $ac_n "(cached) $ac_c" 1>&6
2280 if test -n "$RANLIB"; then
2281 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2283 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2285 for ac_dir in $ac_dummy; do
2286 test -z "$ac_dir" && ac_dir=.
2287 if test -f $ac_dir/$ac_word; then
2288 ac_cv_prog_RANLIB="ranlib"
2293 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2296 RANLIB="$ac_cv_prog_RANLIB"
2297 if test -n "$RANLIB"; then
2298 echo "$ac_t""$RANLIB" 1>&6
2300 echo "$ac_t""no" 1>&6
2308 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2309 set dummy ${ac_tool_prefix}strip; ac_word=$2
2310 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2311 echo "configure:2312: checking for $ac_word" >&5
2312 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2313 echo $ac_n "(cached) $ac_c" 1>&6
2315 if test -n "$STRIP"; then
2316 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2318 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2320 for ac_dir in $ac_dummy; do
2321 test -z "$ac_dir" && ac_dir=.
2322 if test -f $ac_dir/$ac_word; then
2323 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2330 STRIP="$ac_cv_prog_STRIP"
2331 if test -n "$STRIP"; then
2332 echo "$ac_t""$STRIP" 1>&6
2334 echo "$ac_t""no" 1>&6
2338 if test -z "$ac_cv_prog_STRIP"; then
2339 if test -n "$ac_tool_prefix"; then
2340 # Extract the first word of "strip", so it can be a program name with args.
2341 set dummy strip; ac_word=$2
2342 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2343 echo "configure:2344: checking for $ac_word" >&5
2344 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2345 echo $ac_n "(cached) $ac_c" 1>&6
2347 if test -n "$STRIP"; then
2348 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2350 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2352 for ac_dir in $ac_dummy; do
2353 test -z "$ac_dir" && ac_dir=.
2354 if test -f $ac_dir/$ac_word; then
2355 ac_cv_prog_STRIP="strip"
2360 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2363 STRIP="$ac_cv_prog_STRIP"
2364 if test -n "$STRIP"; then
2365 echo "$ac_t""$STRIP" 1>&6
2367 echo "$ac_t""no" 1>&6
2376 # Check for any special flags to pass to ltconfig.
2377 libtool_flags="--cache-file=$cache_file"
2378 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2379 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2380 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2381 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2382 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2383 libtool_flags="$libtool_flags --enable-dlopen"
2385 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2386 if test "${enable_libtool_lock+set}" = set; then
2387 enableval="$enable_libtool_lock"
2391 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2392 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2394 # Check whether --with-pic or --without-pic was given.
2395 if test "${with_pic+set}" = set; then
2402 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2403 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2405 # Some flags need to be propagated to the compiler or linker for good
2409 # Find out which ABI we are using.
2410 echo '#line 2411 "configure"' > conftest.$ac_ext
2411 if { (eval echo configure:2412: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2412 case `/usr/bin/file conftest.$ac_objext` in
2428 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2429 SAVE_CFLAGS="$CFLAGS"
2430 CFLAGS="$CFLAGS -belf"
2431 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2432 echo "configure:2433: checking whether the C compiler needs -belf" >&5
2433 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2434 echo $ac_n "(cached) $ac_c" 1>&6
2438 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2439 ac_cpp='$CPP $CPPFLAGS'
2440 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2441 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2442 cross_compiling=$ac_cv_prog_cc_cross
2444 cat > conftest.$ac_ext <<EOF
2445 #line 2446 "configure"
2446 #include "confdefs.h"
2452 if { (eval echo configure:2453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2454 lt_cv_cc_needs_belf=yes
2456 echo "configure: failed program was:" >&5
2457 cat conftest.$ac_ext >&5
2459 lt_cv_cc_needs_belf=no
2463 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2464 ac_cpp='$CPP $CPPFLAGS'
2465 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2466 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2467 cross_compiling=$ac_cv_prog_cc_cross
2471 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2472 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2473 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2474 CFLAGS="$SAVE_CFLAGS"
2481 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2482 echo "configure:2483: checking how to run the C++ preprocessor" >&5
2483 if test -z "$CXXCPP"; then
2484 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2485 echo $ac_n "(cached) $ac_c" 1>&6
2488 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2489 ac_cpp='$CXXCPP $CPPFLAGS'
2490 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2491 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2492 cross_compiling=$ac_cv_prog_cxx_cross
2493 CXXCPP="${CXX-g++} -E"
2494 cat > conftest.$ac_ext <<EOF
2495 #line 2496 "configure"
2496 #include "confdefs.h"
2499 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2500 { (eval echo configure:2501: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2501 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2502 if test -z "$ac_err"; then
2506 echo "configure: failed program was:" >&5
2507 cat conftest.$ac_ext >&5
2512 ac_cv_prog_CXXCPP="$CXXCPP"
2514 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2515 ac_cpp='$CPP $CPPFLAGS'
2516 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2517 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2518 cross_compiling=$ac_cv_prog_cc_cross
2521 CXXCPP="$ac_cv_prog_CXXCPP"
2522 echo "$ac_t""$CXXCPP" 1>&6
2525 # Save cache, so that ltconfig can load it
2526 cat > confcache <<\EOF
2527 # This file is a shell script that caches the results of configure
2528 # tests run on this system so they can be shared between configure
2529 # scripts and configure runs. It is not useful on other systems.
2530 # If it contains results you don't want to keep, you may remove or edit it.
2532 # By default, configure uses ./config.cache as the cache file,
2533 # creating it if it does not exist already. You can give configure
2534 # the --cache-file=FILE option to use a different cache file; that is
2535 # what configure does when it calls configure scripts in
2536 # subdirectories, so they share the cache.
2537 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2538 # config.status only pays attention to the cache file if you give it the
2539 # --recheck option to rerun configure.
2542 # The following way of writing the cache mishandles newlines in values,
2543 # but we know of no workaround that is simple, portable, and efficient.
2544 # So, don't put newlines in cache variables' values.
2545 # Ultrix sh set writes to stderr and can't be redirected directly,
2546 # and sets the high bit in the cache file unless we assign to the vars.
2548 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2550 # `set' does not quote correctly, so add quotes (double-quote substitution
2551 # turns \\\\ into \\, and sed turns \\ into \).
2553 -e "s/'/'\\\\''/g" \
2554 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2557 # `set' quotes correctly as required by POSIX, so do not add quotes.
2558 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2561 if cmp -s $cache_file confcache; then
2564 if test -w $cache_file; then
2565 echo "updating cache $cache_file"
2566 cat confcache > $cache_file
2568 echo "not updating unwritable cache $cache_file"
2574 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2575 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2576 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2577 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2578 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2579 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2580 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2581 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2582 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2583 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2585 # Reload cache, that may have been modified by ltconfig
2586 if test -r "$cache_file"; then
2587 echo "loading cache $cache_file"
2590 echo "creating cache $cache_file"
2595 # This can be used to rebuild libtool when needed
2596 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2598 # Always use our own libtool.
2599 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2601 # Redirect the config.log output again, so that the ltconfig log is not
2602 # clobbered by the next message.
2603 exec 5>>./config.log
2607 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2609 lt_save_CFLAGS="$CFLAGS"
2610 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2611 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2612 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2613 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2614 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2615 deplibs_check_method="$deplibs_check_method" \
2616 file_magic_cmd="$file_magic_cmd" \
2617 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2618 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2619 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2621 CFLAGS="$lt_save_CFLAGS"
2623 # Redirect the config.log output again, so that the ltconfig log is not
2624 # clobbered by the next message.
2625 exec 5>>./config.log
2635 # Check for c++ or library specific bits that don't require linking.
2636 #GLIBCPP_CHECK_COMPILER_VERSION
2637 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2638 echo "configure:2639: checking for GNU make" >&5
2639 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2640 echo $ac_n "(cached) $ac_c" 1>&6
2642 _cv_gnu_make_command='' ;
2643 for a in "${MAKE-make}" make gmake gnumake ; do
2644 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2646 _cv_gnu_make_command=$a ;
2653 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2654 if test "x$_cv_gnu_make_command" != "x" ; then
2662 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2663 # Check whether --enable-debug or --disable-debug was given.
2664 if test "${enable_debug+set}" = set; then
2665 enableval="$enable_debug"
2666 case "${enableval}" in
2667 yes) enable_debug=yes ;;
2668 no) enable_debug=no ;;
2669 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2675 case "${enable_debug}" in
2677 DEBUG_FLAGS='-O0 -ggdb3'
2685 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2686 echo "configure:2687: checking how to run the C preprocessor" >&5
2687 # On Suns, sometimes $CPP names a directory.
2688 if test -n "$CPP" && test -d "$CPP"; then
2691 if test -z "$CPP"; then
2692 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2693 echo $ac_n "(cached) $ac_c" 1>&6
2695 # This must be in double quotes, not single quotes, because CPP may get
2696 # substituted into the Makefile and "${CC-cc}" will confuse make.
2698 # On the NeXT, cc -E runs the code through the compiler's parser,
2699 # not just through cpp.
2700 cat > conftest.$ac_ext <<EOF
2701 #line 2702 "configure"
2702 #include "confdefs.h"
2706 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2707 { (eval echo configure:2708: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2708 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2709 if test -z "$ac_err"; then
2713 echo "configure: failed program was:" >&5
2714 cat conftest.$ac_ext >&5
2716 CPP="${CC-cc} -E -traditional-cpp"
2717 cat > conftest.$ac_ext <<EOF
2718 #line 2719 "configure"
2719 #include "confdefs.h"
2723 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2724 { (eval echo configure:2725: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2725 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2726 if test -z "$ac_err"; then
2730 echo "configure: failed program was:" >&5
2731 cat conftest.$ac_ext >&5
2733 CPP="${CC-cc} -nologo -E"
2734 cat > conftest.$ac_ext <<EOF
2735 #line 2736 "configure"
2736 #include "confdefs.h"
2740 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2741 { (eval echo configure:2742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2742 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2743 if test -z "$ac_err"; then
2747 echo "configure: failed program was:" >&5
2748 cat conftest.$ac_ext >&5
2757 ac_cv_prog_CPP="$CPP"
2759 CPP="$ac_cv_prog_CPP"
2761 ac_cv_prog_CPP="$CPP"
2763 echo "$ac_t""$CPP" 1>&6
2766 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2767 echo "configure:2768: checking for cstdio to use" >&5
2768 # Check whether --enable-cstdio or --disable-cstdio was given.
2769 if test "${enable_cstdio+set}" = set; then
2770 enableval="$enable_cstdio"
2771 if test x$enable_cstdio = xno; then
2779 enable_cstdio_flag=$enable_cstdio
2781 case x${enable_cstdio_flag} in
2783 CSTDIO_H=config/io/c_io_libio.h
2784 BASIC_FILE_H=config/io/basic_file_libio.h
2785 BASIC_FILE_CC=config/io/basic_file_libio.cc
2786 echo "$ac_t""libio" 1>&6
2788 # see if we are on a system with libio native (ie, linux)
2789 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2790 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2791 echo "configure:2792: checking for libio.h" >&5
2792 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2793 echo $ac_n "(cached) $ac_c" 1>&6
2795 cat > conftest.$ac_ext <<EOF
2796 #line 2797 "configure"
2797 #include "confdefs.h"
2800 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2801 { (eval echo configure:2802: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2802 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2803 if test -z "$ac_err"; then
2805 eval "ac_cv_header_$ac_safe=yes"
2808 echo "configure: failed program was:" >&5
2809 cat conftest.$ac_ext >&5
2811 eval "ac_cv_header_$ac_safe=no"
2815 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2816 echo "$ac_t""yes" 1>&6
2819 echo "$ac_t""no" 1>&6
2824 # Need to check and see what version of glibc is being used. If
2825 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2826 # compile most of libio for linux systems.
2827 if test x$has_libio = x"yes"; then
2830 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2831 echo "configure:2832: checking for glibc version >= 2.2" >&5
2832 cat > conftest.$ac_ext <<EOF
2833 #line 2834 "configure"
2834 #include "confdefs.h"
2836 #include <features.h>
2837 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2842 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2843 egrep "ok" >/dev/null 2>&1; then
2845 glibc_satisfactory=yes
2848 glibc_satisfactory=no
2852 echo "$ac_t""$glibc_satisfactory" 1>&6
2856 # XXX at the moment, admit defeat and force the recompilation
2857 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2858 glibc_satisfactory=no
2860 if test x$glibc_satisfactory = x"yes"; then
2865 # bkoz XXX need to add checks to enable this
2866 # pme XXX here's a first pass at such a check
2867 if test x$enable_c_mbchar != xno; then
2875 # Using libio, but <libio.h> doesn't exist on the target system. . .
2877 # bkoz XXX need to add checks to enable this
2878 # pme XXX here's a first pass at such a check
2879 if test x$enable_c_mbchar != xno; then
2886 xstdio | x | xno | xnone | xyes)
2888 CSTDIO_H=config/io/c_io_stdio.h
2889 BASIC_FILE_H=config/io/basic_file_stdio.h
2890 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2891 echo "$ac_t""stdio" 1>&6
2893 # We're not using stdio.
2898 echo "$enable_cstdio is an unknown io package" 1>&2
2906 # 2000-08-04 bkoz hack
2907 CCODECVT_C=config/io/c_io_libio_codecvt.c
2909 # 2000-08-04 bkoz hack
2913 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2914 GLIBCPP_BUILD_LIBIO_TRUE=
2915 GLIBCPP_BUILD_LIBIO_FALSE='#'
2917 GLIBCPP_BUILD_LIBIO_TRUE='#'
2918 GLIBCPP_BUILD_LIBIO_FALSE=
2922 if test "$need_libio" = yes; then
2923 GLIBCPP_NEED_LIBIO_TRUE=
2924 GLIBCPP_NEED_LIBIO_FALSE='#'
2926 GLIBCPP_NEED_LIBIO_TRUE='#'
2927 GLIBCPP_NEED_LIBIO_FALSE=
2931 if test "$need_wlibio" = yes; then
2932 GLIBCPP_NEED_WLIBIO_TRUE=
2933 GLIBCPP_NEED_WLIBIO_FALSE='#'
2935 GLIBCPP_NEED_WLIBIO_TRUE='#'
2936 GLIBCPP_NEED_WLIBIO_FALSE=
2938 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2939 libio_la=../libio/libio.la
2946 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
2947 echo "configure:2948: checking for clocale to use" >&5
2948 # Check whether --enable-clocale or --disable-clocale was given.
2949 if test "${enable_clocale+set}" = set; then
2950 enableval="$enable_clocale"
2951 if test x$enable_clocale = xno; then
2952 enable_clocale=generic
2955 enable_clocale=generic
2959 enable_clocale_flag=$enable_clocale
2961 case x${enable_clocale_flag} in
2963 echo "$ac_t""generic" 1>&6
2965 # Don't use gettext.
2968 CLOCALE_H=config/locale/c_locale_generic.h
2969 CLOCALE_CC=config/locale/c_locale_generic.cc
2970 CCODECVT_H=config/locale/codecvt_specializations_generic.h
2971 CCOLLATE_CC=config/locale/collate_members_generic.cc
2972 CMESSAGES_H=config/locale/messages_members_generic.h
2973 CMESSAGES_CC=config/locale/messages_members_generic.cc
2974 CMONEY_CC=config/locale/moneypunct_members_generic.cc
2975 CNUMERIC_CC=config/locale/numpunct_members_generic.cc
2976 CTIME_CC=config/locale/time_members_generic.cc
2979 echo "$ac_t""gnu" 1>&6
2981 # Declare intention to use gettext, and add support for specific
2983 # For some reason, ALL_LINGUAS has to be before AM_GNU_GETTEXT
2985 # Don't call AM_GNU_GETTEXT here. Instead, assume glibc.
2986 # Need to deal with MSGFMT, USE_NLS, and glibcpp_[P,M]OFILES
2989 # Export the build objects.
2990 for ling in $ALL_LINGUAS; do \
2991 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo"; \
2992 glibcpp_POFILES="$glibcpp_POFILES $ling.po"; \
2997 CLOCALE_H=config/locale/c_locale_gnu.h
2998 CLOCALE_CC=config/locale/c_locale_gnu.cc
2999 CCODECVT_H=config/locale/codecvt_specializations_ieee_1003.1-200x.h
3000 CCOLLATE_CC=config/locale/collate_members_gnu.cc
3001 CMESSAGES_H=config/locale/messages_members_gnu.h
3002 CMESSAGES_CC=config/locale/messages_members_gnu.cc
3003 CMONEY_CC=config/locale/moneypunct_members_gnu.cc
3004 CNUMERIC_CC=config/locale/numpunct_members_gnu.cc
3005 CTIME_CC=config/locale/time_members_gnu.cc
3008 echo "$ac_t""generic" 1>&6
3010 # Don't use gettext.
3013 CLOCALE_H=config/locale/c_locale_ieee_1003.1-200x.h
3014 CLOCALE_CC=config/locale/c_locale_ieee_1003.1-200x.cc
3015 CCODECVT_H=config/locale/codecvt_specializations_ieee_1003.1-200x.h
3016 CCOLLATE_CC=config/locale/collate_members_generic.cc
3017 CMESSAGES_H=config/locale/messages_members_ieee_1003.1-200x.h
3018 CMESSAGES_CC=config/locale/messages_members_ieee_1003.1-200x.cc
3019 CMONEY_CC=config/locale/moneypunct_members_generic.cc
3020 CNUMERIC_CC=config/locale/numpunct_members_generic.cc
3021 CTIME_CC=config/locale/time_members_generic.cc
3024 echo "$enable_clocale is an unknown locale package" 1>&2
3029 # This is where the testsuite looks for locale catalogs, using the
3030 # -DLOCALEDIR define during testsuite compilation.
3031 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3045 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3046 if test "${enable_c_mbchar+set}" = set; then
3047 enableval="$enable_c_mbchar"
3048 case "$enableval" in
3049 yes) enable_c_mbchar=yes ;;
3050 no) enable_c_mbchar=no ;;
3051 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
3058 # Check whether --enable-c99 or --disable-c99 was given.
3059 if test "${enable_c99+set}" = set; then
3060 enableval="$enable_c99"
3061 case "$enableval" in
3062 yes) enable_c99=yes ;;
3063 no) enable_c99=no ;;
3064 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
3072 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3073 ac_cpp='$CXXCPP $CPPFLAGS'
3074 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3075 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3076 cross_compiling=$ac_cv_prog_cxx_cross
3079 # Check for the existence of <math.h> functions used if C99 is enabled.
3081 echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
3082 echo "configure:3083: checking for ISO C99 support in <math.h>" >&5
3083 cat > conftest.$ac_ext <<EOF
3084 #line 3085 "configure"
3085 #include "confdefs.h"
3091 if { (eval echo configure:3092: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3094 echo "configure: failed program was:" >&5
3095 cat conftest.$ac_ext >&5
3100 cat > conftest.$ac_ext <<EOF
3101 #line 3102 "configure"
3102 #include "confdefs.h"
3108 if { (eval echo configure:3109: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3111 echo "configure: failed program was:" >&5
3112 cat conftest.$ac_ext >&5
3117 cat > conftest.$ac_ext <<EOF
3118 #line 3119 "configure"
3119 #include "confdefs.h"
3125 if { (eval echo configure:3126: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3128 echo "configure: failed program was:" >&5
3129 cat conftest.$ac_ext >&5
3134 cat > conftest.$ac_ext <<EOF
3135 #line 3136 "configure"
3136 #include "confdefs.h"
3142 if { (eval echo configure:3143: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3145 echo "configure: failed program was:" >&5
3146 cat conftest.$ac_ext >&5
3151 cat > conftest.$ac_ext <<EOF
3152 #line 3153 "configure"
3153 #include "confdefs.h"
3159 if { (eval echo configure:3160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3162 echo "configure: failed program was:" >&5
3163 cat conftest.$ac_ext >&5
3168 cat > conftest.$ac_ext <<EOF
3169 #line 3170 "configure"
3170 #include "confdefs.h"
3176 if { (eval echo configure:3177: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3179 echo "configure: failed program was:" >&5
3180 cat conftest.$ac_ext >&5
3185 cat > conftest.$ac_ext <<EOF
3186 #line 3187 "configure"
3187 #include "confdefs.h"
3193 if { (eval echo configure:3194: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3196 echo "configure: failed program was:" >&5
3197 cat conftest.$ac_ext >&5
3202 cat > conftest.$ac_ext <<EOF
3203 #line 3204 "configure"
3204 #include "confdefs.h"
3207 isgreaterequal(0.0,0.0);
3210 if { (eval echo configure:3211: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3213 echo "configure: failed program was:" >&5
3214 cat conftest.$ac_ext >&5
3219 cat > conftest.$ac_ext <<EOF
3220 #line 3221 "configure"
3221 #include "confdefs.h"
3227 if { (eval echo configure:3228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3230 echo "configure: failed program was:" >&5
3231 cat conftest.$ac_ext >&5
3236 cat > conftest.$ac_ext <<EOF
3237 #line 3238 "configure"
3238 #include "confdefs.h"
3241 islessequal(0.0,0.0);
3244 if { (eval echo configure:3245: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3247 echo "configure: failed program was:" >&5
3248 cat conftest.$ac_ext >&5
3253 cat > conftest.$ac_ext <<EOF
3254 #line 3255 "configure"
3255 #include "confdefs.h"
3258 islessgreater(0.0,0.0);
3261 if { (eval echo configure:3262: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3264 echo "configure: failed program was:" >&5
3265 cat conftest.$ac_ext >&5
3270 cat > conftest.$ac_ext <<EOF
3271 #line 3272 "configure"
3272 #include "confdefs.h"
3275 isunordered(0.0,0.0);
3278 if { (eval echo configure:3279: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3281 echo "configure: failed program was:" >&5
3282 cat conftest.$ac_ext >&5
3287 echo "$ac_t""$ac_c99_math" 1>&6
3289 # Check for the existence in <stdio.h> of vscanf, et. al.
3291 echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
3292 echo "configure:3293: checking for ISO C99 support in <stdio.h>" >&5
3293 cat > conftest.$ac_ext <<EOF
3294 #line 3295 "configure"
3295 #include "confdefs.h"
3298 snprintf("12", 0, "%i");
3301 if { (eval echo configure:3302: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3304 echo "configure: failed program was:" >&5
3305 cat conftest.$ac_ext >&5
3310 cat > conftest.$ac_ext <<EOF
3311 #line 3312 "configure"
3312 #include "confdefs.h"
3315 void foo(char* fmt, ...)
3316 {va_list args; va_start(args, fmt);
3317 vfscanf(stderr, "%i", args);}
3322 if { (eval echo configure:3323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3325 echo "configure: failed program was:" >&5
3326 cat conftest.$ac_ext >&5
3331 cat > conftest.$ac_ext <<EOF
3332 #line 3333 "configure"
3333 #include "confdefs.h"
3336 void foo(char* fmt, ...)
3337 {va_list args; va_start(args, fmt);
3338 vscanf("%i", args);}
3343 if { (eval echo configure:3344: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3346 echo "configure: failed program was:" >&5
3347 cat conftest.$ac_ext >&5
3352 cat > conftest.$ac_ext <<EOF
3353 #line 3354 "configure"
3354 #include "confdefs.h"
3357 void foo(char* fmt, ...)
3358 {va_list args; va_start(args, fmt);
3359 vsnprintf(fmt, 0, "%i", args);}
3364 if { (eval echo configure:3365: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3367 echo "configure: failed program was:" >&5
3368 cat conftest.$ac_ext >&5
3373 cat > conftest.$ac_ext <<EOF
3374 #line 3375 "configure"
3375 #include "confdefs.h"
3378 void foo(char* fmt, ...)
3379 {va_list args; va_start(args, fmt);
3380 vsscanf(fmt, "%i", args);}
3385 if { (eval echo configure:3386: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3388 echo "configure: failed program was:" >&5
3389 cat conftest.$ac_ext >&5
3394 echo "$ac_t""$ac_c99_stdio" 1>&6
3396 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3398 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3399 echo "configure:3400: checking for lldiv_t declaration" >&5
3400 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3401 echo $ac_n "(cached) $ac_c" 1>&6
3404 cat > conftest.$ac_ext <<EOF
3405 #line 3406 "configure"
3406 #include "confdefs.h"
3412 if { (eval echo configure:3413: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3416 echo "configure: failed program was:" >&5
3417 cat conftest.$ac_ext >&5
3425 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3427 echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
3428 echo "configure:3429: checking for ISO C99 support in <stdlib.h>" >&5
3429 cat > conftest.$ac_ext <<EOF
3430 #line 3431 "configure"
3431 #include "confdefs.h"
3434 char* tmp; strtof("gnu", &tmp);
3437 if { (eval echo configure:3438: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3440 echo "configure: failed program was:" >&5
3441 cat conftest.$ac_ext >&5
3446 cat > conftest.$ac_ext <<EOF
3447 #line 3448 "configure"
3448 #include "confdefs.h"
3451 char* tmp; strtold("gnu", &tmp);
3454 if { (eval echo configure:3455: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3457 echo "configure: failed program was:" >&5
3458 cat conftest.$ac_ext >&5
3463 cat > conftest.$ac_ext <<EOF
3464 #line 3465 "configure"
3465 #include "confdefs.h"
3468 char* tmp; strtoll("gnu", &tmp, 10);
3471 if { (eval echo configure:3472: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3474 echo "configure: failed program was:" >&5
3475 cat conftest.$ac_ext >&5
3480 cat > conftest.$ac_ext <<EOF
3481 #line 3482 "configure"
3482 #include "confdefs.h"
3485 char* tmp; strtoull("gnu", &tmp, 10);
3488 if { (eval echo configure:3489: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3491 echo "configure: failed program was:" >&5
3492 cat conftest.$ac_ext >&5
3497 cat > conftest.$ac_ext <<EOF
3498 #line 3499 "configure"
3499 #include "confdefs.h"
3505 if { (eval echo configure:3506: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3508 echo "configure: failed program was:" >&5
3509 cat conftest.$ac_ext >&5
3514 cat > conftest.$ac_ext <<EOF
3515 #line 3516 "configure"
3516 #include "confdefs.h"
3522 if { (eval echo configure:3523: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3525 echo "configure: failed program was:" >&5
3526 cat conftest.$ac_ext >&5
3531 cat > conftest.$ac_ext <<EOF
3532 #line 3533 "configure"
3533 #include "confdefs.h"
3539 if { (eval echo configure:3540: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3542 echo "configure: failed program was:" >&5
3543 cat conftest.$ac_ext >&5
3548 cat > conftest.$ac_ext <<EOF
3549 #line 3550 "configure"
3550 #include "confdefs.h"
3556 if { (eval echo configure:3557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3559 echo "configure: failed program was:" >&5
3560 cat conftest.$ac_ext >&5
3565 if test x"$ac_c99_lldiv_t" = x"no"; then
3568 echo "$ac_t""$ac_c99_stdlib" 1>&6
3570 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3571 # XXX the wchar.h checks should be rolled into the general C99 bits.
3573 echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
3574 echo "configure:3575: checking for additional ISO C99 support in <wchar.h>" >&5
3575 cat > conftest.$ac_ext <<EOF
3576 #line 3577 "configure"
3577 #include "confdefs.h"
3580 wcstold(L"10.0", NULL);
3583 if { (eval echo configure:3584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3586 echo "configure: failed program was:" >&5
3587 cat conftest.$ac_ext >&5
3592 cat > conftest.$ac_ext <<EOF
3593 #line 3594 "configure"
3594 #include "confdefs.h"
3597 wcstoll(L"10", NULL, 10);
3600 if { (eval echo configure:3601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3603 echo "configure: failed program was:" >&5
3604 cat conftest.$ac_ext >&5
3609 cat > conftest.$ac_ext <<EOF
3610 #line 3611 "configure"
3611 #include "confdefs.h"
3614 wcstoull(L"10", NULL, 10);
3617 if { (eval echo configure:3618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3620 echo "configure: failed program was:" >&5
3621 cat conftest.$ac_ext >&5
3626 echo "$ac_t""$ac_c99_wchar" 1>&6
3628 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3629 echo "configure:3630: checking for enabled ISO C99 support" >&5
3630 if test x"$ac_c99_math" = x"no" ||
3631 test x"$ac_c99_stdio" = x"no" ||
3632 test x"$ac_c99_stdlib" = x"no" ||
3633 test x"$ac_c99_wchar" = x"no"; then
3636 echo "$ac_t""$enable_c99" 1>&6
3638 # Option parsed, now set things appropriately
3639 if test x"$enable_c99" = x"yes"; then
3640 cat >> confdefs.h <<\EOF
3641 #define _GLIBCPP_USE_C99 1
3647 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3648 ac_cpp='$CPP $CPPFLAGS'
3649 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3650 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3651 cross_compiling=$ac_cv_prog_cc_cross
3655 # Check whether --enable-long-long or --disable-long-long was given.
3656 if test "${enable_long_long+set}" = set; then
3657 enableval="$enable_long_long"
3658 case "$enableval" in
3659 yes) enable_long_long=yes ;;
3660 no) enable_long_long=no ;;
3661 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3664 enable_long_long=yes
3667 # iostreams require strtoll, strtoull to compile. If the
3668 # GLIBCPP_ENABLE_C99 tests found these, and if C99 support is enabled,
3669 # go ahead and allow long long to be used.
3670 if test x"$enable_c99" = x"no"; then
3671 enable_long_long=no;
3674 # Option parsed, now set things appropriately
3675 echo $ac_n "checking for enabled long long support""... $ac_c" 1>&6
3676 echo "configure:3677: checking for enabled long long support" >&5
3677 if test x"$enable_long_long" = xyes; then
3678 cat >> confdefs.h <<\EOF
3679 #define _GLIBCPP_USE_LONG_LONG 1
3683 echo "$ac_t""$enable_long_long" 1>&6
3685 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3686 echo "configure:3687: checking for c header strategy to use" >&5
3687 # Check whether --enable-cheaders or --disable-cheaders was given.
3688 if test "${enable_cheaders+set}" = set; then
3689 enableval="$enable_cheaders"
3691 case "$enableval" in
3696 enable_cheaders=c_std
3699 enable_cheaders=c_shadow
3701 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3705 enable_cheaders=c_std
3708 echo "$ac_t""$enable_cheaders" 1>&6
3710 case "$enable_cheaders" in
3712 CSHADOW_FLAGS="-fno-builtin"
3713 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow'
3714 cat >> confdefs.h <<\EOF
3715 #define _GLIBCPP_USE_SHADOW_HEADERS 1
3721 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3725 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3733 if test "$enable_cheaders" = c_shadow; then
3734 GLIBCPP_USE_CSHADOW_TRUE=
3735 GLIBCPP_USE_CSHADOW_FALSE='#'
3737 GLIBCPP_USE_CSHADOW_TRUE='#'
3738 GLIBCPP_USE_CSHADOW_FALSE=
3742 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3743 echo "configure:3744: checking for thread model used by GCC" >&5
3744 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3745 echo "$ac_t""$target_thread_file" 1>&6
3747 if test $target_thread_file != single; then
3748 cat >> confdefs.h <<\EOF
3749 #define HAVE_GTHR_DEFAULT 1
3752 cat >> confdefs.h <<\EOF
3753 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3758 glibcpp_thread_h=gthr-$target_thread_file.h
3761 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3762 if test "${enable_cxx_flags+set}" = set; then
3763 enableval="$enable_cxx_flags"
3764 case "x$enableval" in
3766 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3768 enable_cxx_flags='' ;;
3770 enable_cxx_flags="$enableval" ;;
3773 enable_cxx_flags='none'
3777 if test "$enable_cxx_flags" = "none"; then
3778 enable_cxx_flags='';
3781 if test -n "$enable_cxx_flags"; then
3782 for f in $enable_cxx_flags; do
3786 *) # and we're trying to pass /what/ exactly?
3787 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3791 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3795 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3796 echo "configure:3797: checking for exception model to use" >&5
3799 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3800 ac_cpp='$CXXCPP $CPPFLAGS'
3801 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3802 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3803 cross_compiling=$ac_cv_prog_cxx_cross
3805 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3806 if test "${enable_sjlj_exceptions+set}" = set; then
3807 enableval="$enable_sjlj_exceptions"
3810 cat > conftest.$ac_ext << EOF
3811 #line 3812 "configure"
3820 old_CXXFLAGS="$CXXFLAGS"
3822 if { (eval echo configure:3823: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3823 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3824 enable_sjlj_exceptions=yes
3825 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3826 enable_sjlj_exceptions=no
3829 CXXFLAGS="$old_CXXFLAGS"
3833 if test x$enable_sjlj_exceptions = xyes; then
3834 cat >> confdefs.h <<\EOF
3835 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3838 ac_exception_model_name=sjlj
3839 elif test x$enable_sjlj_exceptions = xno; then
3840 ac_exception_model_name="call frame"
3842 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
3845 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3846 ac_cpp='$CPP $CPPFLAGS'
3847 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3848 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3849 cross_compiling=$ac_cv_prog_cc_cross
3851 echo "$ac_t""$ac_exception_model_name" 1>&6
3855 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
3857 # This lets us hard-code the functionality we know
3858 # we'll have in the cross target environment. "Let" is a
3859 # sugar-coated word placed on an especially dull and tedious hack, actually.
3860 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
3861 # that involve linking can't be used:
3862 # "cannot open sim-crt0.o"
3863 # "cannot open crt0.o"
3864 # etc. All this is because there currently exists no unified,
3865 # consistent way for top level CC information to be passed down
3866 # to target directories: newlib includes, newlib linking info,
3867 # libgloss versus newlib crt0.o, etc. When all of this is done, all
3868 # of this hokey, excessive AC_DEFINE junk for crosses can be removed.
3870 # We are being configured with some form of cross compiler.
3871 GLIBCPP_IS_CROSS_COMPILING=1
3873 # If Canadian cross, then don't pick up tools from the build
3875 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
3881 case "$target_alias" in
3883 # Construct linux crosses by hand, eliminating bits that need ld...
3884 # Check for available headers.
3885 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
3886 machine/endian.h machine/param.h sys/machine.h sys/types.h \
3887 fp.h locale.h float.h inttypes.h
3889 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3890 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3891 echo "configure:3892: checking for $ac_hdr" >&5
3892 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3893 echo $ac_n "(cached) $ac_c" 1>&6
3895 cat > conftest.$ac_ext <<EOF
3896 #line 3897 "configure"
3897 #include "confdefs.h"
3900 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3901 { (eval echo configure:3902: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3902 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3903 if test -z "$ac_err"; then
3905 eval "ac_cv_header_$ac_safe=yes"
3908 echo "configure: failed program was:" >&5
3909 cat conftest.$ac_ext >&5
3911 eval "ac_cv_header_$ac_safe=no"
3915 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3916 echo "$ac_t""yes" 1>&6
3917 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3918 cat >> confdefs.h <<EOF
3919 #define $ac_tr_hdr 1
3923 echo "$ac_t""no" 1>&6
3928 # GLIBCPP_CHECK_COMPILER_FEATURES
3929 SECTION_FLAGS='-ffunction-sections -fdata-sections'
3932 # If we're not using GNU ld, then there's no point in even trying these
3933 # tests. Check for that first. We should have already tested for gld
3934 # by now (in libtool), but require it now just to be safe...
3939 # Set --gc-sections.
3940 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
3941 # GNU ld it is! Joy and bunny rabbits!
3943 # All these tests are for C++; save the language and the compiler flags.
3944 # Need to do this so that g++ won't try to link in libstdc++
3945 ac_test_CFLAGS="${CFLAGS+set}"
3946 ac_save_CFLAGS="$CFLAGS"
3947 CFLAGS='-x c++ -Wl,--gc-sections'
3949 # Check for -Wl,--gc-sections
3950 # XXX This test is broken at the moment, as symbols required for
3951 # linking are now in libsupc++ (not built yet.....). In addition,
3952 # this test has cored on solaris in the past. In addition,
3953 # --gc-sections doesn't really work at the moment (keeps on discarding
3954 # used sections, first .eh_frame and now some of the glibc sections for
3955 # iconv). Bzzzzt. Thanks for playing, maybe next time.
3956 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
3957 echo "configure:3958: checking for ld that supports -Wl,--gc-sections" >&5
3958 if test "$cross_compiling" = yes; then
3959 ac_sectionLDflags=yes
3961 cat > conftest.$ac_ext <<EOF
3962 #line 3963 "configure"
3963 #include "confdefs.h"
3973 if { (eval echo configure:3974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3975 ac_sectionLDflags=yes
3977 echo "configure: failed program was:" >&5
3978 cat conftest.$ac_ext >&5
3980 ac_sectionLFflags=no
3985 if test "$ac_test_CFLAGS" = set; then
3986 CFLAGS="$ac_save_CFLAGS"
3988 # this is the suspicious part
3991 if test "$ac_sectionLDflags" = "yes"; then
3992 SECTION_LDFLAGS='-Wl,--gc-sections'
3994 echo "$ac_t""$ac_sectionLDflags" 1>&6
3997 # Set linker optimization flags.
3998 if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
3999 test x"$enable_debug" = x"no"; then
4000 OPT_LDFLAGS='-Wl,-O1'
4006 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4007 # GLIBCPP_CHECK_MATH_SUPPORT
4008 cat >> confdefs.h <<\EOF
4009 #define HAVE_ACOSF 1
4012 cat >> confdefs.h <<\EOF
4013 #define HAVE_ASINF 1
4016 cat >> confdefs.h <<\EOF
4017 #define HAVE_ATAN2F 1
4020 cat >> confdefs.h <<\EOF
4021 #define HAVE_ATANF 1
4024 cat >> confdefs.h <<\EOF
4025 #define HAVE_CEILF 1
4028 cat >> confdefs.h <<\EOF
4029 #define HAVE_COPYSIGN 1
4032 cat >> confdefs.h <<\EOF
4033 #define HAVE_COPYSIGNF 1
4036 cat >> confdefs.h <<\EOF
4040 cat >> confdefs.h <<\EOF
4041 #define HAVE_COSHF 1
4044 cat >> confdefs.h <<\EOF
4048 cat >> confdefs.h <<\EOF
4049 #define HAVE_FABSF 1
4052 cat >> confdefs.h <<\EOF
4053 #define HAVE_FINITE 1
4056 cat >> confdefs.h <<\EOF
4057 #define HAVE_FINITEF 1
4060 cat >> confdefs.h <<\EOF
4061 #define HAVE_FLOORF 1
4064 cat >> confdefs.h <<\EOF
4065 #define HAVE_FMODF 1
4068 cat >> confdefs.h <<\EOF
4069 #define HAVE_FREXPF 1
4072 cat >> confdefs.h <<\EOF
4073 #define HAVE_HYPOTF 1
4076 cat >> confdefs.h <<\EOF
4077 #define HAVE_ISINF 1
4080 cat >> confdefs.h <<\EOF
4081 #define HAVE_ISINFF 1
4084 cat >> confdefs.h <<\EOF
4085 #define HAVE_ISNAN 1
4088 cat >> confdefs.h <<\EOF
4089 #define HAVE_ISNANF 1
4092 cat >> confdefs.h <<\EOF
4093 #define HAVE_LDEXPF 1
4096 cat >> confdefs.h <<\EOF
4097 #define HAVE_LOG10F 1
4100 cat >> confdefs.h <<\EOF
4104 cat >> confdefs.h <<\EOF
4105 #define HAVE_MODFF 1
4108 cat >> confdefs.h <<\EOF
4112 cat >> confdefs.h <<\EOF
4113 #define HAVE_SINCOS 1
4116 cat >> confdefs.h <<\EOF
4117 #define HAVE_SINCOSF 1
4120 cat >> confdefs.h <<\EOF
4124 cat >> confdefs.h <<\EOF
4125 #define HAVE_SINHF 1
4128 cat >> confdefs.h <<\EOF
4129 #define HAVE_SQRTF 1
4132 cat >> confdefs.h <<\EOF
4136 cat >> confdefs.h <<\EOF
4137 #define HAVE_TANHF 1
4141 # At some point, we should differentiate between architectures
4142 # like x86, which have long double versions, and alpha/powerpc/etc.,
4143 # which don't. For the time being, punt.
4144 if test x"long_double_math_on_this_cpu" = x"yes"; then
4145 cat >> confdefs.h <<\EOF
4146 #define HAVE_ACOSL 1
4149 cat >> confdefs.h <<\EOF
4150 #define HAVE_ASINL 1
4153 cat >> confdefs.h <<\EOF
4154 #define HAVE_ATAN2L 1
4157 cat >> confdefs.h <<\EOF
4158 #define HAVE_ATANL 1
4161 cat >> confdefs.h <<\EOF
4162 #define HAVE_CEILL 1
4165 cat >> confdefs.h <<\EOF
4166 #define HAVE_COPYSIGNL 1
4169 cat >> confdefs.h <<\EOF
4173 cat >> confdefs.h <<\EOF
4174 #define HAVE_COSHL 1
4177 cat >> confdefs.h <<\EOF
4181 cat >> confdefs.h <<\EOF
4182 #define HAVE_FABSL 1
4185 cat >> confdefs.h <<\EOF
4186 #define HAVE_FINITEL 1
4189 cat >> confdefs.h <<\EOF
4190 #define HAVE_FLOORL 1
4193 cat >> confdefs.h <<\EOF
4194 #define HAVE_FMODL 1
4197 cat >> confdefs.h <<\EOF
4198 #define HAVE_FREXPL 1
4201 cat >> confdefs.h <<\EOF
4202 #define HAVE_HYPOTL 1
4205 cat >> confdefs.h <<\EOF
4206 #define HAVE_ISINFL 1
4209 cat >> confdefs.h <<\EOF
4210 #define HAVE_ISNANL 1
4213 cat >> confdefs.h <<\EOF
4214 #define HAVE_LDEXPL 1
4217 cat >> confdefs.h <<\EOF
4218 #define HAVE_LOG10L 1
4221 cat >> confdefs.h <<\EOF
4225 cat >> confdefs.h <<\EOF
4226 #define HAVE_MODFL 1
4229 cat >> confdefs.h <<\EOF
4233 cat >> confdefs.h <<\EOF
4234 #define HAVE_SINCOSL 1
4237 cat >> confdefs.h <<\EOF
4241 cat >> confdefs.h <<\EOF
4242 #define HAVE_SINHL 1
4245 cat >> confdefs.h <<\EOF
4246 #define HAVE_SQRTL 1
4249 cat >> confdefs.h <<\EOF
4253 cat >> confdefs.h <<\EOF
4254 #define HAVE_TANHL 1
4259 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4260 echo "configure:4261: checking for main in -lm" >&5
4261 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4262 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4263 echo $ac_n "(cached) $ac_c" 1>&6
4265 ac_save_LIBS="$LIBS"
4267 cat > conftest.$ac_ext <<EOF
4268 #line 4269 "configure"
4269 #include "confdefs.h"
4275 if { (eval echo configure:4276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4277 eval "ac_cv_lib_$ac_lib_var=yes"
4279 echo "configure: failed program was:" >&5
4280 cat conftest.$ac_ext >&5
4282 eval "ac_cv_lib_$ac_lib_var=no"
4285 LIBS="$ac_save_LIBS"
4288 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4289 echo "$ac_t""yes" 1>&6
4290 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4291 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4292 cat >> confdefs.h <<EOF
4293 #define $ac_tr_lib 1
4299 echo "$ac_t""no" 1>&6
4302 for ac_func in nan copysignf
4304 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4305 echo "configure:4306: checking for $ac_func" >&5
4306 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4307 echo $ac_n "(cached) $ac_c" 1>&6
4309 cat > conftest.$ac_ext <<EOF
4310 #line 4311 "configure"
4311 #include "confdefs.h"
4312 /* System header to define __stub macros and hopefully few prototypes,
4313 which can conflict with char $ac_func(); below. */
4315 /* Override any gcc2 internal prototype to avoid an error. */
4316 /* We use char because int might match the return type of a gcc2
4317 builtin and then its argument prototype would still apply. */
4322 /* The GNU C library defines this for functions which it implements
4323 to always fail with ENOSYS. Some functions are actually named
4324 something starting with __ and the normal name is an alias. */
4325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4333 if { (eval echo configure:4334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4335 eval "ac_cv_func_$ac_func=yes"
4337 echo "configure: failed program was:" >&5
4338 cat conftest.$ac_ext >&5
4340 eval "ac_cv_func_$ac_func=no"
4345 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4346 echo "$ac_t""yes" 1>&6
4347 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4348 cat >> confdefs.h <<EOF
4349 #define $ac_tr_func 1
4353 echo "$ac_t""no" 1>&6
4354 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4360 USE_COMPLEX_LONG_DOUBLE=no
4361 if test x$ac_cv_func_copysignl = x"yes"; then
4362 USE_COMPLEX_LONG_DOUBLE=yes
4363 for ac_func in signbitl
4365 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4366 echo "configure:4367: checking for $ac_func" >&5
4367 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4368 echo $ac_n "(cached) $ac_c" 1>&6
4370 cat > conftest.$ac_ext <<EOF
4371 #line 4372 "configure"
4372 #include "confdefs.h"
4373 /* System header to define __stub macros and hopefully few prototypes,
4374 which can conflict with char $ac_func(); below. */
4376 /* Override any gcc2 internal prototype to avoid an error. */
4377 /* We use char because int might match the return type of a gcc2
4378 builtin and then its argument prototype would still apply. */
4383 /* The GNU C library defines this for functions which it implements
4384 to always fail with ENOSYS. Some functions are actually named
4385 something starting with __ and the normal name is an alias. */
4386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4394 if { (eval echo configure:4395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4396 eval "ac_cv_func_$ac_func=yes"
4398 echo "configure: failed program was:" >&5
4399 cat conftest.$ac_ext >&5
4401 eval "ac_cv_func_$ac_func=no"
4406 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4407 echo "$ac_t""yes" 1>&6
4408 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4409 cat >> confdefs.h <<EOF
4410 #define $ac_tr_func 1
4414 echo "$ac_t""no" 1>&6
4415 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4426 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4427 echo "configure:4428: checking for mbstate_t" >&5
4428 cat > conftest.$ac_ext <<EOF
4429 #line 4430 "configure"
4430 #include "confdefs.h"
4433 mbstate_t teststate;
4436 if { (eval echo configure:4437: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4440 echo "configure: failed program was:" >&5
4441 cat conftest.$ac_ext >&5
4446 echo "$ac_t""$have_mbstate_t" 1>&6
4447 if test x"$have_mbstate_t" = xyes; then
4448 cat >> confdefs.h <<\EOF
4449 #define HAVE_MBSTATE_T 1
4454 for ac_hdr in wchar.h
4456 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4457 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4458 echo "configure:4459: checking for $ac_hdr" >&5
4459 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4460 echo $ac_n "(cached) $ac_c" 1>&6
4462 cat > conftest.$ac_ext <<EOF
4463 #line 4464 "configure"
4464 #include "confdefs.h"
4467 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4468 { (eval echo configure:4469: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4469 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4470 if test -z "$ac_err"; then
4472 eval "ac_cv_header_$ac_safe=yes"
4475 echo "configure: failed program was:" >&5
4476 cat conftest.$ac_ext >&5
4478 eval "ac_cv_header_$ac_safe=no"
4482 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4483 echo "$ac_t""yes" 1>&6
4484 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4485 cat >> confdefs.h <<EOF
4486 #define $ac_tr_hdr 1
4490 echo "$ac_t""no" 1>&6
4495 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
4496 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
4497 echo "configure:4498: checking for wctype.h" >&5
4498 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4499 echo $ac_n "(cached) $ac_c" 1>&6
4501 cat > conftest.$ac_ext <<EOF
4502 #line 4503 "configure"
4503 #include "confdefs.h"
4506 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4507 { (eval echo configure:4508: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4508 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4509 if test -z "$ac_err"; then
4511 eval "ac_cv_header_$ac_safe=yes"
4514 echo "configure: failed program was:" >&5
4515 cat conftest.$ac_ext >&5
4517 eval "ac_cv_header_$ac_safe=no"
4521 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4522 echo "$ac_t""yes" 1>&6
4525 echo "$ac_t""no" 1>&6
4530 if test x"$ac_has_wchar_h" = xyes &&
4531 test x"$ac_has_wctype_h" = xyes &&
4532 test x"$enable_c_mbchar" != xno; then
4534 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4535 echo "configure:4536: checking for WCHAR_MIN and WCHAR_MAX" >&5
4536 cat > conftest.$ac_ext <<EOF
4537 #line 4538 "configure"
4538 #include "confdefs.h"
4541 int i = WCHAR_MIN; int j = WCHAR_MAX;
4544 if { (eval echo configure:4545: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4546 has_wchar_minmax=yes
4548 echo "configure: failed program was:" >&5
4549 cat conftest.$ac_ext >&5
4554 echo "$ac_t""$has_wchar_minmax" 1>&6
4556 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4557 echo "configure:4558: checking for WEOF" >&5
4558 cat > conftest.$ac_ext <<EOF
4559 #line 4560 "configure"
4560 #include "confdefs.h"
4568 if { (eval echo configure:4569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4572 echo "configure: failed program was:" >&5
4573 cat conftest.$ac_ext >&5
4578 echo "$ac_t""$has_weof" 1>&6
4581 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4583 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4584 echo "configure:4585: checking for $ac_func" >&5
4585 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4586 echo $ac_n "(cached) $ac_c" 1>&6
4588 cat > conftest.$ac_ext <<EOF
4589 #line 4590 "configure"
4590 #include "confdefs.h"
4591 /* System header to define __stub macros and hopefully few prototypes,
4592 which can conflict with char $ac_func(); below. */
4594 /* Override any gcc2 internal prototype to avoid an error. */
4595 /* We use char because int might match the return type of a gcc2
4596 builtin and then its argument prototype would still apply. */
4601 /* The GNU C library defines this for functions which it implements
4602 to always fail with ENOSYS. Some functions are actually named
4603 something starting with __ and the normal name is an alias. */
4604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4612 if { (eval echo configure:4613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4614 eval "ac_cv_func_$ac_func=yes"
4616 echo "configure: failed program was:" >&5
4617 cat conftest.$ac_ext >&5
4619 eval "ac_cv_func_$ac_func=no"
4624 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4625 echo "$ac_t""yes" 1>&6
4626 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4627 cat >> confdefs.h <<EOF
4628 #define $ac_tr_func 1
4632 echo "$ac_t""no" 1>&6
4639 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4640 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4641 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4642 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4643 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4644 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4646 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4647 echo "configure:4648: checking for $ac_func" >&5
4648 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4649 echo $ac_n "(cached) $ac_c" 1>&6
4651 cat > conftest.$ac_ext <<EOF
4652 #line 4653 "configure"
4653 #include "confdefs.h"
4654 /* System header to define __stub macros and hopefully few prototypes,
4655 which can conflict with char $ac_func(); below. */
4657 /* Override any gcc2 internal prototype to avoid an error. */
4658 /* We use char because int might match the return type of a gcc2
4659 builtin and then its argument prototype would still apply. */
4664 /* The GNU C library defines this for functions which it implements
4665 to always fail with ENOSYS. Some functions are actually named
4666 something starting with __ and the normal name is an alias. */
4667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4675 if { (eval echo configure:4676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4677 eval "ac_cv_func_$ac_func=yes"
4679 echo "configure: failed program was:" >&5
4680 cat conftest.$ac_ext >&5
4682 eval "ac_cv_func_$ac_func=no"
4687 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4688 echo "$ac_t""yes" 1>&6
4689 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4690 cat >> confdefs.h <<EOF
4691 #define $ac_tr_func 1
4695 echo "$ac_t""no" 1>&6
4702 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4703 echo "configure:4704: checking for ISO C99 wchar_t support" >&5
4704 if test x"$has_weof" = xyes &&
4705 test x"$has_wchar_minmax" = xyes &&
4706 test x"$ac_wfuncs" = xyes; then
4707 ac_isoC99_wchar_t=yes
4709 ac_isoC99_wchar_t=no
4711 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4713 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4714 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4715 echo "configure:4716: checking for iconv.h" >&5
4716 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4717 echo $ac_n "(cached) $ac_c" 1>&6
4719 cat > conftest.$ac_ext <<EOF
4720 #line 4721 "configure"
4721 #include "confdefs.h"
4724 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4725 { (eval echo configure:4726: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4726 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4727 if test -z "$ac_err"; then
4729 eval "ac_cv_header_$ac_safe=yes"
4732 echo "configure: failed program was:" >&5
4733 cat conftest.$ac_ext >&5
4735 eval "ac_cv_header_$ac_safe=no"
4739 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4740 echo "$ac_t""yes" 1>&6
4743 echo "$ac_t""no" 1>&6
4747 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4748 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4749 echo "configure:4750: checking for langinfo.h" >&5
4750 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4751 echo $ac_n "(cached) $ac_c" 1>&6
4753 cat > conftest.$ac_ext <<EOF
4754 #line 4755 "configure"
4755 #include "confdefs.h"
4756 #include <langinfo.h>
4758 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4759 { (eval echo configure:4760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4760 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4761 if test -z "$ac_err"; then
4763 eval "ac_cv_header_$ac_safe=yes"
4766 echo "configure: failed program was:" >&5
4767 cat conftest.$ac_ext >&5
4769 eval "ac_cv_header_$ac_safe=no"
4773 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4774 echo "$ac_t""yes" 1>&6
4775 ac_has_langinfo_h=yes
4777 echo "$ac_t""no" 1>&6
4778 ac_has_langinfo_h=no
4782 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4783 echo "configure:4784: checking for iconv in -liconv" >&5
4784 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4785 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4786 echo $ac_n "(cached) $ac_c" 1>&6
4788 ac_save_LIBS="$LIBS"
4789 LIBS="-liconv $LIBS"
4790 cat > conftest.$ac_ext <<EOF
4791 #line 4792 "configure"
4792 #include "confdefs.h"
4793 /* Override any gcc2 internal prototype to avoid an error. */
4794 /* We use char because int might match the return type of a gcc2
4795 builtin and then its argument prototype would still apply. */
4802 if { (eval echo configure:4803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4804 eval "ac_cv_lib_$ac_lib_var=yes"
4806 echo "configure: failed program was:" >&5
4807 cat conftest.$ac_ext >&5
4809 eval "ac_cv_lib_$ac_lib_var=no"
4812 LIBS="$ac_save_LIBS"
4815 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4816 echo "$ac_t""yes" 1>&6
4819 echo "$ac_t""no" 1>&6
4822 ac_save_LIBS="$LIBS"
4823 LIBS="$LIBS $libiconv"
4825 for ac_func in iconv_open iconv_close iconv nl_langinfo
4827 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4828 echo "configure:4829: checking for $ac_func" >&5
4829 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4830 echo $ac_n "(cached) $ac_c" 1>&6
4832 cat > conftest.$ac_ext <<EOF
4833 #line 4834 "configure"
4834 #include "confdefs.h"
4835 /* System header to define __stub macros and hopefully few prototypes,
4836 which can conflict with char $ac_func(); below. */
4838 /* Override any gcc2 internal prototype to avoid an error. */
4839 /* We use char because int might match the return type of a gcc2
4840 builtin and then its argument prototype would still apply. */
4845 /* The GNU C library defines this for functions which it implements
4846 to always fail with ENOSYS. Some functions are actually named
4847 something starting with __ and the normal name is an alias. */
4848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4856 if { (eval echo configure:4857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4858 eval "ac_cv_func_$ac_func=yes"
4860 echo "configure: failed program was:" >&5
4861 cat conftest.$ac_ext >&5
4863 eval "ac_cv_func_$ac_func=no"
4868 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4869 echo "$ac_t""yes" 1>&6
4870 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4871 cat >> confdefs.h <<EOF
4872 #define $ac_tr_func 1
4877 echo "$ac_t""no" 1>&6
4883 LIBS="$ac_save_LIBS"
4885 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
4886 echo "configure:4887: checking for XPG2 wchar_t support" >&5
4887 if test x"$ac_has_iconv_h" = xyes &&
4888 test x"$ac_has_langinfo_h" = xyes &&
4889 test x"$ac_XPG2funcs" = xyes; then
4894 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
4896 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
4897 echo "configure:4898: checking for enabled wchar_t specializations" >&5
4898 if test x"$ac_isoC99_wchar_t" = xyes &&
4899 test x"$ac_XPG2_wchar_t" = xyes; then
4900 cat >> confdefs.h <<\EOF
4901 #define _GLIBCPP_USE_WCHAR_T 1
4904 echo "$ac_t"""yes"" 1>&6
4906 echo "$ac_t"""no"" 1>&6
4909 echo "configure: warning: wchar_t support disabled." 1>&2
4912 os_include_dir="config/os/gnu-linux"
4913 # GLIBCPP_CHECK_STDLIB_SUPPORT
4914 cat >> confdefs.h <<\EOF
4915 #define HAVE_STRTOF 1
4918 cat >> confdefs.h <<\EOF
4919 #define HAVE_STRTOLD 1
4923 cat >> confdefs.h <<\EOF
4930 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4931 # GLIBCPP_CHECK_MATH_SUPPORT
4932 cat >> confdefs.h <<\EOF
4933 #define HAVE_FINITE 1
4936 cat >> confdefs.h <<\EOF
4937 #define HAVE_HYPOT 1
4940 cat >> confdefs.h <<\EOF
4941 #define HAVE_ISNAN 1
4944 cat >> confdefs.h <<\EOF
4945 #define HAVE_ISINF 1
4949 cat >> confdefs.h <<\EOF
4950 #define HAVE_ACOSF 1
4953 cat >> confdefs.h <<\EOF
4954 #define HAVE_ASINF 1
4957 cat >> confdefs.h <<\EOF
4958 #define HAVE_ATAN2F 1
4961 cat >> confdefs.h <<\EOF
4962 #define HAVE_ATANF 1
4965 cat >> confdefs.h <<\EOF
4966 #define HAVE_CEILF 1
4969 cat >> confdefs.h <<\EOF
4973 cat >> confdefs.h <<\EOF
4974 #define HAVE_COSHF 1
4977 cat >> confdefs.h <<\EOF
4981 cat >> confdefs.h <<\EOF
4982 #define HAVE_FABSF 1
4985 cat >> confdefs.h <<\EOF
4986 #define HAVE_FLOORF 1
4989 cat >> confdefs.h <<\EOF
4990 #define HAVE_FMODF 1
4993 cat >> confdefs.h <<\EOF
4994 #define HAVE_HYPOTF 1
4997 cat >> confdefs.h <<\EOF
4998 #define HAVE_ISNANF 1
5001 cat >> confdefs.h <<\EOF
5002 #define HAVE_ISINFF 1
5005 cat >> confdefs.h <<\EOF
5006 #define HAVE_LDEXPF 1
5009 cat >> confdefs.h <<\EOF
5010 #define HAVE_LOG10F 1
5013 cat >> confdefs.h <<\EOF
5017 cat >> confdefs.h <<\EOF
5018 #define HAVE_MODFF 1
5021 cat >> confdefs.h <<\EOF
5025 cat >> confdefs.h <<\EOF
5029 cat >> confdefs.h <<\EOF
5030 #define HAVE_SINHF 1
5033 cat >> confdefs.h <<\EOF
5034 #define HAVE_SQRTF 1
5037 cat >> confdefs.h <<\EOF
5041 cat >> confdefs.h <<\EOF
5042 #define HAVE_TANHF 1
5046 os_include_dir="config/os/newlib"
5051 # We are being configured natively. We can do more elaborate tests
5052 # that include AC_TRY_COMPILE now, as the linker is assumed to be
5054 GLIBCPP_IS_CROSS_COMPILING=0
5057 # Check for available headers.
5058 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
5059 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h
5061 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5062 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5063 echo "configure:5064: checking for $ac_hdr" >&5
5064 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5065 echo $ac_n "(cached) $ac_c" 1>&6
5067 cat > conftest.$ac_ext <<EOF
5068 #line 5069 "configure"
5069 #include "confdefs.h"
5072 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5073 { (eval echo configure:5074: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5074 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5075 if test -z "$ac_err"; then
5077 eval "ac_cv_header_$ac_safe=yes"
5080 echo "configure: failed program was:" >&5
5081 cat conftest.$ac_ext >&5
5083 eval "ac_cv_header_$ac_safe=no"
5087 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5088 echo "$ac_t""yes" 1>&6
5089 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5090 cat >> confdefs.h <<EOF
5091 #define $ac_tr_hdr 1
5095 echo "$ac_t""no" 1>&6
5101 # All these tests are for C++; save the language and the compiler flags.
5102 # The CXXFLAGS thing is suspicious, but based on similar bits previously
5103 # found in GLIBCPP_CONFIGURE.
5106 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5107 ac_cpp='$CXXCPP $CPPFLAGS'
5108 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5109 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5110 cross_compiling=$ac_cv_prog_cxx_cross
5112 ac_test_CXXFLAGS="${CXXFLAGS+set}"
5113 ac_save_CXXFLAGS="$CXXFLAGS"
5115 # Check for maintainer-mode bits.
5116 if test x"$USE_MAINTAINER_MODE" = xno; then
5122 # Check for -ffunction-sections -fdata-sections
5123 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
5124 echo "configure:5125: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
5125 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
5126 cat > conftest.$ac_ext <<EOF
5127 #line 5128 "configure"
5128 #include "confdefs.h"
5135 if { (eval echo configure:5136: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5139 echo "configure: failed program was:" >&5
5140 cat conftest.$ac_ext >&5
5145 if test "$ac_test_CXXFLAGS" = set; then
5146 CXXFLAGS="$ac_save_CXXFLAGS"
5148 # this is the suspicious part
5151 if test x"$ac_fdsections" = x"yes" &&
5152 test x"$enable_debug" = x"no"; then
5153 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5155 echo "$ac_t""$ac_fdsections" 1>&6
5158 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5159 ac_cpp='$CPP $CPPFLAGS'
5160 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5161 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5162 cross_compiling=$ac_cv_prog_cc_cross
5168 # If we're not using GNU ld, then there's no point in even trying these
5169 # tests. Check for that first. We should have already tested for gld
5170 # by now (in libtool), but require it now just to be safe...
5175 # Set --gc-sections.
5176 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
5177 # GNU ld it is! Joy and bunny rabbits!
5179 # All these tests are for C++; save the language and the compiler flags.
5180 # Need to do this so that g++ won't try to link in libstdc++
5181 ac_test_CFLAGS="${CFLAGS+set}"
5182 ac_save_CFLAGS="$CFLAGS"
5183 CFLAGS='-x c++ -Wl,--gc-sections'
5185 # Check for -Wl,--gc-sections
5186 # XXX This test is broken at the moment, as symbols required for
5187 # linking are now in libsupc++ (not built yet.....). In addition,
5188 # this test has cored on solaris in the past. In addition,
5189 # --gc-sections doesn't really work at the moment (keeps on discarding
5190 # used sections, first .eh_frame and now some of the glibc sections for
5191 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5192 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5193 echo "configure:5194: checking for ld that supports -Wl,--gc-sections" >&5
5194 if test "$cross_compiling" = yes; then
5195 ac_sectionLDflags=yes
5197 cat > conftest.$ac_ext <<EOF
5198 #line 5199 "configure"
5199 #include "confdefs.h"
5209 if { (eval echo configure:5210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5211 ac_sectionLDflags=yes
5213 echo "configure: failed program was:" >&5
5214 cat conftest.$ac_ext >&5
5216 ac_sectionLFflags=no
5221 if test "$ac_test_CFLAGS" = set; then
5222 CFLAGS="$ac_save_CFLAGS"
5224 # this is the suspicious part
5227 if test "$ac_sectionLDflags" = "yes"; then
5228 SECTION_LDFLAGS='-Wl,--gc-sections'
5230 echo "$ac_t""$ac_sectionLDflags" 1>&6
5233 # Set linker optimization flags.
5234 if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
5235 test x"$enable_debug" = x"no"; then
5236 OPT_LDFLAGS='-Wl,-O1'
5244 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
5245 echo "configure:5246: checking for __builtin_abs declaration" >&5
5246 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
5247 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
5248 echo $ac_n "(cached) $ac_c" 1>&6
5253 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5254 ac_cpp='$CXXCPP $CPPFLAGS'
5255 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5256 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5257 cross_compiling=$ac_cv_prog_cxx_cross
5259 cat > conftest.$ac_ext <<EOF
5260 #line 5261 "configure"
5261 #include "confdefs.h"
5267 if { (eval echo configure:5268: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5269 glibcpp_cv_func___builtin_abs_use=yes
5271 echo "configure: failed program was:" >&5
5272 cat conftest.$ac_ext >&5
5274 glibcpp_cv_func___builtin_abs_use=no
5278 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5279 ac_cpp='$CPP $CPPFLAGS'
5280 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5281 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5282 cross_compiling=$ac_cv_prog_cc_cross
5288 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
5289 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
5290 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
5291 echo "configure:5292: checking for __builtin_abs linkage" >&5
5292 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
5293 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
5294 echo $ac_n "(cached) $ac_c" 1>&6
5297 cat > conftest.$ac_ext <<EOF
5298 #line 5299 "configure"
5299 #include "confdefs.h"
5305 if { (eval echo configure:5306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5307 glibcpp_cv_func___builtin_abs_link=yes
5309 echo "configure: failed program was:" >&5
5310 cat conftest.$ac_ext >&5
5312 glibcpp_cv_func___builtin_abs_link=no
5319 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
5320 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
5321 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5322 cat >> confdefs.h <<EOF
5323 #define ${ac_tr_func} 1
5330 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
5331 echo "configure:5332: checking for __builtin_fabsf declaration" >&5
5332 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
5333 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
5334 echo $ac_n "(cached) $ac_c" 1>&6
5339 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5340 ac_cpp='$CXXCPP $CPPFLAGS'
5341 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5342 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5343 cross_compiling=$ac_cv_prog_cxx_cross
5345 cat > conftest.$ac_ext <<EOF
5346 #line 5347 "configure"
5347 #include "confdefs.h"
5353 if { (eval echo configure:5354: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5355 glibcpp_cv_func___builtin_fabsf_use=yes
5357 echo "configure: failed program was:" >&5
5358 cat conftest.$ac_ext >&5
5360 glibcpp_cv_func___builtin_fabsf_use=no
5364 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5365 ac_cpp='$CPP $CPPFLAGS'
5366 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5367 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5368 cross_compiling=$ac_cv_prog_cc_cross
5374 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
5375 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
5376 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
5377 echo "configure:5378: checking for __builtin_fabsf linkage" >&5
5378 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
5379 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
5380 echo $ac_n "(cached) $ac_c" 1>&6
5383 cat > conftest.$ac_ext <<EOF
5384 #line 5385 "configure"
5385 #include "confdefs.h"
5391 if { (eval echo configure:5392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5393 glibcpp_cv_func___builtin_fabsf_link=yes
5395 echo "configure: failed program was:" >&5
5396 cat conftest.$ac_ext >&5
5398 glibcpp_cv_func___builtin_fabsf_link=no
5405 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
5406 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
5407 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5408 cat >> confdefs.h <<EOF
5409 #define ${ac_tr_func} 1
5416 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
5417 echo "configure:5418: checking for __builtin_fabs declaration" >&5
5418 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
5419 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
5420 echo $ac_n "(cached) $ac_c" 1>&6
5425 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5426 ac_cpp='$CXXCPP $CPPFLAGS'
5427 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5428 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5429 cross_compiling=$ac_cv_prog_cxx_cross
5431 cat > conftest.$ac_ext <<EOF
5432 #line 5433 "configure"
5433 #include "confdefs.h"
5439 if { (eval echo configure:5440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5441 glibcpp_cv_func___builtin_fabs_use=yes
5443 echo "configure: failed program was:" >&5
5444 cat conftest.$ac_ext >&5
5446 glibcpp_cv_func___builtin_fabs_use=no
5450 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5451 ac_cpp='$CPP $CPPFLAGS'
5452 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5453 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5454 cross_compiling=$ac_cv_prog_cc_cross
5460 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
5461 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
5462 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
5463 echo "configure:5464: checking for __builtin_fabs linkage" >&5
5464 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
5465 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
5466 echo $ac_n "(cached) $ac_c" 1>&6
5469 cat > conftest.$ac_ext <<EOF
5470 #line 5471 "configure"
5471 #include "confdefs.h"
5477 if { (eval echo configure:5478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5479 glibcpp_cv_func___builtin_fabs_link=yes
5481 echo "configure: failed program was:" >&5
5482 cat conftest.$ac_ext >&5
5484 glibcpp_cv_func___builtin_fabs_link=no
5491 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
5492 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
5493 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5494 cat >> confdefs.h <<EOF
5495 #define ${ac_tr_func} 1
5502 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
5503 echo "configure:5504: checking for __builtin_fabsl declaration" >&5
5504 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
5505 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
5506 echo $ac_n "(cached) $ac_c" 1>&6
5511 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5512 ac_cpp='$CXXCPP $CPPFLAGS'
5513 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5514 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5515 cross_compiling=$ac_cv_prog_cxx_cross
5517 cat > conftest.$ac_ext <<EOF
5518 #line 5519 "configure"
5519 #include "confdefs.h"
5525 if { (eval echo configure:5526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5527 glibcpp_cv_func___builtin_fabsl_use=yes
5529 echo "configure: failed program was:" >&5
5530 cat conftest.$ac_ext >&5
5532 glibcpp_cv_func___builtin_fabsl_use=no
5536 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5537 ac_cpp='$CPP $CPPFLAGS'
5538 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5539 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5540 cross_compiling=$ac_cv_prog_cc_cross
5546 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
5547 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
5548 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
5549 echo "configure:5550: checking for __builtin_fabsl linkage" >&5
5550 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
5551 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
5552 echo $ac_n "(cached) $ac_c" 1>&6
5555 cat > conftest.$ac_ext <<EOF
5556 #line 5557 "configure"
5557 #include "confdefs.h"
5563 if { (eval echo configure:5564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5565 glibcpp_cv_func___builtin_fabsl_link=yes
5567 echo "configure: failed program was:" >&5
5568 cat conftest.$ac_ext >&5
5570 glibcpp_cv_func___builtin_fabsl_link=no
5577 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
5578 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
5579 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5580 cat >> confdefs.h <<EOF
5581 #define ${ac_tr_func} 1
5588 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
5589 echo "configure:5590: checking for __builtin_labs declaration" >&5
5590 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
5591 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
5592 echo $ac_n "(cached) $ac_c" 1>&6
5597 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5598 ac_cpp='$CXXCPP $CPPFLAGS'
5599 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5600 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5601 cross_compiling=$ac_cv_prog_cxx_cross
5603 cat > conftest.$ac_ext <<EOF
5604 #line 5605 "configure"
5605 #include "confdefs.h"
5611 if { (eval echo configure:5612: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5613 glibcpp_cv_func___builtin_labs_use=yes
5615 echo "configure: failed program was:" >&5
5616 cat conftest.$ac_ext >&5
5618 glibcpp_cv_func___builtin_labs_use=no
5622 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5623 ac_cpp='$CPP $CPPFLAGS'
5624 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5625 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5626 cross_compiling=$ac_cv_prog_cc_cross
5632 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
5633 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
5634 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
5635 echo "configure:5636: checking for __builtin_labs linkage" >&5
5636 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
5637 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
5638 echo $ac_n "(cached) $ac_c" 1>&6
5641 cat > conftest.$ac_ext <<EOF
5642 #line 5643 "configure"
5643 #include "confdefs.h"
5649 if { (eval echo configure:5650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5651 glibcpp_cv_func___builtin_labs_link=yes
5653 echo "configure: failed program was:" >&5
5654 cat conftest.$ac_ext >&5
5656 glibcpp_cv_func___builtin_labs_link=no
5663 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
5664 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
5665 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5666 cat >> confdefs.h <<EOF
5667 #define ${ac_tr_func} 1
5675 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
5676 echo "configure:5677: checking for __builtin_sqrtf declaration" >&5
5677 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
5678 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
5679 echo $ac_n "(cached) $ac_c" 1>&6
5684 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5685 ac_cpp='$CXXCPP $CPPFLAGS'
5686 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5687 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5688 cross_compiling=$ac_cv_prog_cxx_cross
5690 cat > conftest.$ac_ext <<EOF
5691 #line 5692 "configure"
5692 #include "confdefs.h"
5698 if { (eval echo configure:5699: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5700 glibcpp_cv_func___builtin_sqrtf_use=yes
5702 echo "configure: failed program was:" >&5
5703 cat conftest.$ac_ext >&5
5705 glibcpp_cv_func___builtin_sqrtf_use=no
5709 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5710 ac_cpp='$CPP $CPPFLAGS'
5711 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5712 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5713 cross_compiling=$ac_cv_prog_cc_cross
5719 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
5720 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
5721 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
5722 echo "configure:5723: checking for __builtin_sqrtf linkage" >&5
5723 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
5724 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
5725 echo $ac_n "(cached) $ac_c" 1>&6
5728 cat > conftest.$ac_ext <<EOF
5729 #line 5730 "configure"
5730 #include "confdefs.h"
5736 if { (eval echo configure:5737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5738 glibcpp_cv_func___builtin_sqrtf_link=yes
5740 echo "configure: failed program was:" >&5
5741 cat conftest.$ac_ext >&5
5743 glibcpp_cv_func___builtin_sqrtf_link=no
5750 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
5751 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
5752 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5753 cat >> confdefs.h <<EOF
5754 #define ${ac_tr_func} 1
5761 echo $ac_n "checking for __builtin_fsqrt declaration""... $ac_c" 1>&6
5762 echo "configure:5763: checking for __builtin_fsqrt declaration" >&5
5763 if test x${glibcpp_cv_func___builtin_fsqrt_use+set} != xset; then
5764 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_use'+set}'`\" = set"; then
5765 echo $ac_n "(cached) $ac_c" 1>&6
5770 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5771 ac_cpp='$CXXCPP $CPPFLAGS'
5772 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5773 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5774 cross_compiling=$ac_cv_prog_cxx_cross
5776 cat > conftest.$ac_ext <<EOF
5777 #line 5778 "configure"
5778 #include "confdefs.h"
5784 if { (eval echo configure:5785: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5786 glibcpp_cv_func___builtin_fsqrt_use=yes
5788 echo "configure: failed program was:" >&5
5789 cat conftest.$ac_ext >&5
5791 glibcpp_cv_func___builtin_fsqrt_use=no
5795 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5796 ac_cpp='$CPP $CPPFLAGS'
5797 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5798 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5799 cross_compiling=$ac_cv_prog_cc_cross
5805 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_use" 1>&6
5806 if test x$glibcpp_cv_func___builtin_fsqrt_use = x"yes"; then
5807 echo $ac_n "checking for __builtin_fsqrt linkage""... $ac_c" 1>&6
5808 echo "configure:5809: checking for __builtin_fsqrt linkage" >&5
5809 if test x${glibcpp_cv_func___builtin_fsqrt_link+set} != xset; then
5810 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_link'+set}'`\" = set"; then
5811 echo $ac_n "(cached) $ac_c" 1>&6
5814 cat > conftest.$ac_ext <<EOF
5815 #line 5816 "configure"
5816 #include "confdefs.h"
5822 if { (eval echo configure:5823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5824 glibcpp_cv_func___builtin_fsqrt_link=yes
5826 echo "configure: failed program was:" >&5
5827 cat conftest.$ac_ext >&5
5829 glibcpp_cv_func___builtin_fsqrt_link=no
5836 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_link" 1>&6
5837 if test x$glibcpp_cv_func___builtin_fsqrt_link = x"yes"; then
5838 ac_tr_func=HAVE_`echo __builtin_fsqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5839 cat >> confdefs.h <<EOF
5840 #define ${ac_tr_func} 1
5847 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
5848 echo "configure:5849: checking for __builtin_sqrtl declaration" >&5
5849 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
5850 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
5851 echo $ac_n "(cached) $ac_c" 1>&6
5856 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5857 ac_cpp='$CXXCPP $CPPFLAGS'
5858 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5859 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5860 cross_compiling=$ac_cv_prog_cxx_cross
5862 cat > conftest.$ac_ext <<EOF
5863 #line 5864 "configure"
5864 #include "confdefs.h"
5870 if { (eval echo configure:5871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5872 glibcpp_cv_func___builtin_sqrtl_use=yes
5874 echo "configure: failed program was:" >&5
5875 cat conftest.$ac_ext >&5
5877 glibcpp_cv_func___builtin_sqrtl_use=no
5881 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5882 ac_cpp='$CPP $CPPFLAGS'
5883 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5884 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5885 cross_compiling=$ac_cv_prog_cc_cross
5891 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
5892 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
5893 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
5894 echo "configure:5895: checking for __builtin_sqrtl linkage" >&5
5895 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
5896 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
5897 echo $ac_n "(cached) $ac_c" 1>&6
5900 cat > conftest.$ac_ext <<EOF
5901 #line 5902 "configure"
5902 #include "confdefs.h"
5908 if { (eval echo configure:5909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5910 glibcpp_cv_func___builtin_sqrtl_link=yes
5912 echo "configure: failed program was:" >&5
5913 cat conftest.$ac_ext >&5
5915 glibcpp_cv_func___builtin_sqrtl_link=no
5922 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
5923 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
5924 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5925 cat >> confdefs.h <<EOF
5926 #define ${ac_tr_func} 1
5934 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
5935 echo "configure:5936: checking for __builtin_sinf declaration" >&5
5936 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
5937 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
5938 echo $ac_n "(cached) $ac_c" 1>&6
5943 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5944 ac_cpp='$CXXCPP $CPPFLAGS'
5945 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5946 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5947 cross_compiling=$ac_cv_prog_cxx_cross
5949 cat > conftest.$ac_ext <<EOF
5950 #line 5951 "configure"
5951 #include "confdefs.h"
5957 if { (eval echo configure:5958: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5959 glibcpp_cv_func___builtin_sinf_use=yes
5961 echo "configure: failed program was:" >&5
5962 cat conftest.$ac_ext >&5
5964 glibcpp_cv_func___builtin_sinf_use=no
5968 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5969 ac_cpp='$CPP $CPPFLAGS'
5970 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5971 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5972 cross_compiling=$ac_cv_prog_cc_cross
5978 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
5979 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
5980 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
5981 echo "configure:5982: checking for __builtin_sinf linkage" >&5
5982 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
5983 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
5984 echo $ac_n "(cached) $ac_c" 1>&6
5987 cat > conftest.$ac_ext <<EOF
5988 #line 5989 "configure"
5989 #include "confdefs.h"
5995 if { (eval echo configure:5996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5997 glibcpp_cv_func___builtin_sinf_link=yes
5999 echo "configure: failed program was:" >&5
6000 cat conftest.$ac_ext >&5
6002 glibcpp_cv_func___builtin_sinf_link=no
6009 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
6010 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
6011 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6012 cat >> confdefs.h <<EOF
6013 #define ${ac_tr_func} 1
6020 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
6021 echo "configure:6022: checking for __builtin_sin declaration" >&5
6022 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
6023 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
6024 echo $ac_n "(cached) $ac_c" 1>&6
6029 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6030 ac_cpp='$CXXCPP $CPPFLAGS'
6031 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6032 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6033 cross_compiling=$ac_cv_prog_cxx_cross
6035 cat > conftest.$ac_ext <<EOF
6036 #line 6037 "configure"
6037 #include "confdefs.h"
6043 if { (eval echo configure:6044: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6045 glibcpp_cv_func___builtin_sin_use=yes
6047 echo "configure: failed program was:" >&5
6048 cat conftest.$ac_ext >&5
6050 glibcpp_cv_func___builtin_sin_use=no
6054 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6055 ac_cpp='$CPP $CPPFLAGS'
6056 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6057 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6058 cross_compiling=$ac_cv_prog_cc_cross
6064 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
6065 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
6066 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
6067 echo "configure:6068: checking for __builtin_sin linkage" >&5
6068 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
6069 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
6070 echo $ac_n "(cached) $ac_c" 1>&6
6073 cat > conftest.$ac_ext <<EOF
6074 #line 6075 "configure"
6075 #include "confdefs.h"
6081 if { (eval echo configure:6082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6083 glibcpp_cv_func___builtin_sin_link=yes
6085 echo "configure: failed program was:" >&5
6086 cat conftest.$ac_ext >&5
6088 glibcpp_cv_func___builtin_sin_link=no
6095 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
6096 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
6097 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6098 cat >> confdefs.h <<EOF
6099 #define ${ac_tr_func} 1
6106 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
6107 echo "configure:6108: checking for __builtin_sinl declaration" >&5
6108 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
6109 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
6110 echo $ac_n "(cached) $ac_c" 1>&6
6115 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6116 ac_cpp='$CXXCPP $CPPFLAGS'
6117 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6118 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6119 cross_compiling=$ac_cv_prog_cxx_cross
6121 cat > conftest.$ac_ext <<EOF
6122 #line 6123 "configure"
6123 #include "confdefs.h"
6129 if { (eval echo configure:6130: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6131 glibcpp_cv_func___builtin_sinl_use=yes
6133 echo "configure: failed program was:" >&5
6134 cat conftest.$ac_ext >&5
6136 glibcpp_cv_func___builtin_sinl_use=no
6140 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6141 ac_cpp='$CPP $CPPFLAGS'
6142 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6143 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6144 cross_compiling=$ac_cv_prog_cc_cross
6150 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
6151 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
6152 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
6153 echo "configure:6154: checking for __builtin_sinl linkage" >&5
6154 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
6155 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
6156 echo $ac_n "(cached) $ac_c" 1>&6
6159 cat > conftest.$ac_ext <<EOF
6160 #line 6161 "configure"
6161 #include "confdefs.h"
6167 if { (eval echo configure:6168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6169 glibcpp_cv_func___builtin_sinl_link=yes
6171 echo "configure: failed program was:" >&5
6172 cat conftest.$ac_ext >&5
6174 glibcpp_cv_func___builtin_sinl_link=no
6181 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
6182 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
6183 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6184 cat >> confdefs.h <<EOF
6185 #define ${ac_tr_func} 1
6193 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
6194 echo "configure:6195: checking for __builtin_cosf declaration" >&5
6195 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
6196 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
6197 echo $ac_n "(cached) $ac_c" 1>&6
6202 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6203 ac_cpp='$CXXCPP $CPPFLAGS'
6204 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6205 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6206 cross_compiling=$ac_cv_prog_cxx_cross
6208 cat > conftest.$ac_ext <<EOF
6209 #line 6210 "configure"
6210 #include "confdefs.h"
6216 if { (eval echo configure:6217: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6218 glibcpp_cv_func___builtin_cosf_use=yes
6220 echo "configure: failed program was:" >&5
6221 cat conftest.$ac_ext >&5
6223 glibcpp_cv_func___builtin_cosf_use=no
6227 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6228 ac_cpp='$CPP $CPPFLAGS'
6229 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6230 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6231 cross_compiling=$ac_cv_prog_cc_cross
6237 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
6238 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
6239 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
6240 echo "configure:6241: checking for __builtin_cosf linkage" >&5
6241 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
6242 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
6243 echo $ac_n "(cached) $ac_c" 1>&6
6246 cat > conftest.$ac_ext <<EOF
6247 #line 6248 "configure"
6248 #include "confdefs.h"
6254 if { (eval echo configure:6255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6256 glibcpp_cv_func___builtin_cosf_link=yes
6258 echo "configure: failed program was:" >&5
6259 cat conftest.$ac_ext >&5
6261 glibcpp_cv_func___builtin_cosf_link=no
6268 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
6269 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
6270 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6271 cat >> confdefs.h <<EOF
6272 #define ${ac_tr_func} 1
6279 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
6280 echo "configure:6281: checking for __builtin_cos declaration" >&5
6281 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
6282 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
6283 echo $ac_n "(cached) $ac_c" 1>&6
6288 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6289 ac_cpp='$CXXCPP $CPPFLAGS'
6290 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6291 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6292 cross_compiling=$ac_cv_prog_cxx_cross
6294 cat > conftest.$ac_ext <<EOF
6295 #line 6296 "configure"
6296 #include "confdefs.h"
6302 if { (eval echo configure:6303: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6304 glibcpp_cv_func___builtin_cos_use=yes
6306 echo "configure: failed program was:" >&5
6307 cat conftest.$ac_ext >&5
6309 glibcpp_cv_func___builtin_cos_use=no
6313 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6314 ac_cpp='$CPP $CPPFLAGS'
6315 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6316 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6317 cross_compiling=$ac_cv_prog_cc_cross
6323 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
6324 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
6325 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
6326 echo "configure:6327: checking for __builtin_cos linkage" >&5
6327 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
6328 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
6329 echo $ac_n "(cached) $ac_c" 1>&6
6332 cat > conftest.$ac_ext <<EOF
6333 #line 6334 "configure"
6334 #include "confdefs.h"
6340 if { (eval echo configure:6341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6342 glibcpp_cv_func___builtin_cos_link=yes
6344 echo "configure: failed program was:" >&5
6345 cat conftest.$ac_ext >&5
6347 glibcpp_cv_func___builtin_cos_link=no
6354 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
6355 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
6356 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6357 cat >> confdefs.h <<EOF
6358 #define ${ac_tr_func} 1
6365 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
6366 echo "configure:6367: checking for __builtin_cosl declaration" >&5
6367 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
6368 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
6369 echo $ac_n "(cached) $ac_c" 1>&6
6374 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6375 ac_cpp='$CXXCPP $CPPFLAGS'
6376 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6377 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6378 cross_compiling=$ac_cv_prog_cxx_cross
6380 cat > conftest.$ac_ext <<EOF
6381 #line 6382 "configure"
6382 #include "confdefs.h"
6388 if { (eval echo configure:6389: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6390 glibcpp_cv_func___builtin_cosl_use=yes
6392 echo "configure: failed program was:" >&5
6393 cat conftest.$ac_ext >&5
6395 glibcpp_cv_func___builtin_cosl_use=no
6399 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6400 ac_cpp='$CPP $CPPFLAGS'
6401 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6402 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6403 cross_compiling=$ac_cv_prog_cc_cross
6409 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
6410 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
6411 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
6412 echo "configure:6413: checking for __builtin_cosl linkage" >&5
6413 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
6414 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
6415 echo $ac_n "(cached) $ac_c" 1>&6
6418 cat > conftest.$ac_ext <<EOF
6419 #line 6420 "configure"
6420 #include "confdefs.h"
6426 if { (eval echo configure:6427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6428 glibcpp_cv_func___builtin_cosl_link=yes
6430 echo "configure: failed program was:" >&5
6431 cat conftest.$ac_ext >&5
6433 glibcpp_cv_func___builtin_cosl_link=no
6440 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
6441 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
6442 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6443 cat >> confdefs.h <<EOF
6444 #define ${ac_tr_func} 1
6452 if test x$dummyvar = x"yes"; then
6453 cat >> confdefs.h <<\EOF
6454 #define HAVE___BUILTIN_ABS 1
6457 cat >> confdefs.h <<\EOF
6458 #define HAVE___BUILTIN_LABS 1
6461 cat >> confdefs.h <<\EOF
6462 #define HAVE___BUILTIN_COS 1
6465 cat >> confdefs.h <<\EOF
6466 #define HAVE___BUILTIN_COSF 1
6469 cat >> confdefs.h <<\EOF
6470 #define HAVE___BUILTIN_COSL 1
6473 cat >> confdefs.h <<\EOF
6474 #define HAVE___BUILTIN_FABS 1
6477 cat >> confdefs.h <<\EOF
6478 #define HAVE___BUILTIN_FABSF 1
6481 cat >> confdefs.h <<\EOF
6482 #define HAVE___BUILTIN_FABSL 1
6485 cat >> confdefs.h <<\EOF
6486 #define HAVE___BUILTIN_SIN 1
6489 cat >> confdefs.h <<\EOF
6490 #define HAVE___BUILTIN_SINF 1
6493 cat >> confdefs.h <<\EOF
6494 #define HAVE___BUILTIN_SINL 1
6497 cat >> confdefs.h <<\EOF
6498 #define HAVE___BUILTIN_FSQRT 1
6501 cat >> confdefs.h <<\EOF
6502 #define HAVE___BUILTIN_SQRTF 1
6505 cat >> confdefs.h <<\EOF
6506 #define HAVE___BUILTIN_SQRTL 1
6512 ac_test_CXXFLAGS="${CXXFLAGS+set}"
6513 ac_save_CXXFLAGS="$CXXFLAGS"
6514 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
6516 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
6517 echo "configure:6518: checking for sin in -lm" >&5
6518 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
6519 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6520 echo $ac_n "(cached) $ac_c" 1>&6
6522 ac_save_LIBS="$LIBS"
6524 cat > conftest.$ac_ext <<EOF
6525 #line 6526 "configure"
6526 #include "confdefs.h"
6527 /* Override any gcc2 internal prototype to avoid an error. */
6528 /* We use char because int might match the return type of a gcc2
6529 builtin and then its argument prototype would still apply. */
6536 if { (eval echo configure:6537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6538 eval "ac_cv_lib_$ac_lib_var=yes"
6540 echo "configure: failed program was:" >&5
6541 cat conftest.$ac_ext >&5
6543 eval "ac_cv_lib_$ac_lib_var=no"
6546 LIBS="$ac_save_LIBS"
6549 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6550 echo "$ac_t""yes" 1>&6
6553 echo "$ac_t""no" 1>&6
6556 ac_save_LIBS="$LIBS"
6561 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
6562 echo "configure:6563: checking for isinf declaration" >&5
6563 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
6564 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
6565 echo $ac_n "(cached) $ac_c" 1>&6
6570 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6571 ac_cpp='$CXXCPP $CPPFLAGS'
6572 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6573 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6574 cross_compiling=$ac_cv_prog_cxx_cross
6576 cat > conftest.$ac_ext <<EOF
6577 #line 6578 "configure"
6578 #include "confdefs.h"
6580 #ifdef HAVE_IEEEFP_H
6588 if { (eval echo configure:6589: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6590 glibcpp_cv_func_isinf_use=yes
6592 echo "configure: failed program was:" >&5
6593 cat conftest.$ac_ext >&5
6595 glibcpp_cv_func_isinf_use=no
6599 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6600 ac_cpp='$CPP $CPPFLAGS'
6601 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6602 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6603 cross_compiling=$ac_cv_prog_cc_cross
6609 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
6611 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
6612 for ac_func in isinf
6614 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6615 echo "configure:6616: checking for $ac_func" >&5
6616 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6617 echo $ac_n "(cached) $ac_c" 1>&6
6619 cat > conftest.$ac_ext <<EOF
6620 #line 6621 "configure"
6621 #include "confdefs.h"
6622 /* System header to define __stub macros and hopefully few prototypes,
6623 which can conflict with char $ac_func(); below. */
6625 /* Override any gcc2 internal prototype to avoid an error. */
6626 /* We use char because int might match the return type of a gcc2
6627 builtin and then its argument prototype would still apply. */
6632 /* The GNU C library defines this for functions which it implements
6633 to always fail with ENOSYS. Some functions are actually named
6634 something starting with __ and the normal name is an alias. */
6635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6643 if { (eval echo configure:6644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6645 eval "ac_cv_func_$ac_func=yes"
6647 echo "configure: failed program was:" >&5
6648 cat conftest.$ac_ext >&5
6650 eval "ac_cv_func_$ac_func=no"
6655 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6656 echo "$ac_t""yes" 1>&6
6657 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6658 cat >> confdefs.h <<EOF
6659 #define $ac_tr_func 1
6663 echo "$ac_t""no" 1>&6
6669 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
6670 echo "configure:6671: checking for _isinf declaration" >&5
6671 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
6672 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
6673 echo $ac_n "(cached) $ac_c" 1>&6
6678 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6679 ac_cpp='$CXXCPP $CPPFLAGS'
6680 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6681 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6682 cross_compiling=$ac_cv_prog_cxx_cross
6684 cat > conftest.$ac_ext <<EOF
6685 #line 6686 "configure"
6686 #include "confdefs.h"
6688 #ifdef HAVE_IEEEFP_H
6696 if { (eval echo configure:6697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6698 glibcpp_cv_func__isinf_use=yes
6700 echo "configure: failed program was:" >&5
6701 cat conftest.$ac_ext >&5
6703 glibcpp_cv_func__isinf_use=no
6707 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6708 ac_cpp='$CPP $CPPFLAGS'
6709 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6710 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6711 cross_compiling=$ac_cv_prog_cc_cross
6717 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
6719 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
6720 for ac_func in _isinf
6722 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6723 echo "configure:6724: checking for $ac_func" >&5
6724 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6725 echo $ac_n "(cached) $ac_c" 1>&6
6727 cat > conftest.$ac_ext <<EOF
6728 #line 6729 "configure"
6729 #include "confdefs.h"
6730 /* System header to define __stub macros and hopefully few prototypes,
6731 which can conflict with char $ac_func(); below. */
6733 /* Override any gcc2 internal prototype to avoid an error. */
6734 /* We use char because int might match the return type of a gcc2
6735 builtin and then its argument prototype would still apply. */
6740 /* The GNU C library defines this for functions which it implements
6741 to always fail with ENOSYS. Some functions are actually named
6742 something starting with __ and the normal name is an alias. */
6743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6751 if { (eval echo configure:6752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6753 eval "ac_cv_func_$ac_func=yes"
6755 echo "configure: failed program was:" >&5
6756 cat conftest.$ac_ext >&5
6758 eval "ac_cv_func_$ac_func=no"
6763 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6764 echo "$ac_t""yes" 1>&6
6765 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6766 cat >> confdefs.h <<EOF
6767 #define $ac_tr_func 1
6771 echo "$ac_t""no" 1>&6
6780 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
6781 echo "configure:6782: checking for isnan declaration" >&5
6782 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
6783 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
6784 echo $ac_n "(cached) $ac_c" 1>&6
6789 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6790 ac_cpp='$CXXCPP $CPPFLAGS'
6791 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6792 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6793 cross_compiling=$ac_cv_prog_cxx_cross
6795 cat > conftest.$ac_ext <<EOF
6796 #line 6797 "configure"
6797 #include "confdefs.h"
6799 #ifdef HAVE_IEEEFP_H
6807 if { (eval echo configure:6808: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6809 glibcpp_cv_func_isnan_use=yes
6811 echo "configure: failed program was:" >&5
6812 cat conftest.$ac_ext >&5
6814 glibcpp_cv_func_isnan_use=no
6818 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6819 ac_cpp='$CPP $CPPFLAGS'
6820 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6821 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6822 cross_compiling=$ac_cv_prog_cc_cross
6828 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
6830 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
6831 for ac_func in isnan
6833 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6834 echo "configure:6835: checking for $ac_func" >&5
6835 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6836 echo $ac_n "(cached) $ac_c" 1>&6
6838 cat > conftest.$ac_ext <<EOF
6839 #line 6840 "configure"
6840 #include "confdefs.h"
6841 /* System header to define __stub macros and hopefully few prototypes,
6842 which can conflict with char $ac_func(); below. */
6844 /* Override any gcc2 internal prototype to avoid an error. */
6845 /* We use char because int might match the return type of a gcc2
6846 builtin and then its argument prototype would still apply. */
6851 /* The GNU C library defines this for functions which it implements
6852 to always fail with ENOSYS. Some functions are actually named
6853 something starting with __ and the normal name is an alias. */
6854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6862 if { (eval echo configure:6863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6864 eval "ac_cv_func_$ac_func=yes"
6866 echo "configure: failed program was:" >&5
6867 cat conftest.$ac_ext >&5
6869 eval "ac_cv_func_$ac_func=no"
6874 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6875 echo "$ac_t""yes" 1>&6
6876 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6877 cat >> confdefs.h <<EOF
6878 #define $ac_tr_func 1
6882 echo "$ac_t""no" 1>&6
6888 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
6889 echo "configure:6890: checking for _isnan declaration" >&5
6890 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
6891 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
6892 echo $ac_n "(cached) $ac_c" 1>&6
6897 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6898 ac_cpp='$CXXCPP $CPPFLAGS'
6899 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6900 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6901 cross_compiling=$ac_cv_prog_cxx_cross
6903 cat > conftest.$ac_ext <<EOF
6904 #line 6905 "configure"
6905 #include "confdefs.h"
6907 #ifdef HAVE_IEEEFP_H
6915 if { (eval echo configure:6916: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6917 glibcpp_cv_func__isnan_use=yes
6919 echo "configure: failed program was:" >&5
6920 cat conftest.$ac_ext >&5
6922 glibcpp_cv_func__isnan_use=no
6926 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6927 ac_cpp='$CPP $CPPFLAGS'
6928 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6929 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6930 cross_compiling=$ac_cv_prog_cc_cross
6936 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
6938 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
6939 for ac_func in _isnan
6941 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6942 echo "configure:6943: checking for $ac_func" >&5
6943 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6944 echo $ac_n "(cached) $ac_c" 1>&6
6946 cat > conftest.$ac_ext <<EOF
6947 #line 6948 "configure"
6948 #include "confdefs.h"
6949 /* System header to define __stub macros and hopefully few prototypes,
6950 which can conflict with char $ac_func(); below. */
6952 /* Override any gcc2 internal prototype to avoid an error. */
6953 /* We use char because int might match the return type of a gcc2
6954 builtin and then its argument prototype would still apply. */
6959 /* The GNU C library defines this for functions which it implements
6960 to always fail with ENOSYS. Some functions are actually named
6961 something starting with __ and the normal name is an alias. */
6962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6970 if { (eval echo configure:6971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6972 eval "ac_cv_func_$ac_func=yes"
6974 echo "configure: failed program was:" >&5
6975 cat conftest.$ac_ext >&5
6977 eval "ac_cv_func_$ac_func=no"
6982 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6983 echo "$ac_t""yes" 1>&6
6984 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6985 cat >> confdefs.h <<EOF
6986 #define $ac_tr_func 1
6990 echo "$ac_t""no" 1>&6
6999 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
7000 echo "configure:7001: checking for finite declaration" >&5
7001 if test x${glibcpp_cv_func_finite_use+set} != xset; then
7002 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
7003 echo $ac_n "(cached) $ac_c" 1>&6
7008 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7009 ac_cpp='$CXXCPP $CPPFLAGS'
7010 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7011 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7012 cross_compiling=$ac_cv_prog_cxx_cross
7014 cat > conftest.$ac_ext <<EOF
7015 #line 7016 "configure"
7016 #include "confdefs.h"
7018 #ifdef HAVE_IEEEFP_H
7026 if { (eval echo configure:7027: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7028 glibcpp_cv_func_finite_use=yes
7030 echo "configure: failed program was:" >&5
7031 cat conftest.$ac_ext >&5
7033 glibcpp_cv_func_finite_use=no
7037 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7038 ac_cpp='$CPP $CPPFLAGS'
7039 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7040 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7041 cross_compiling=$ac_cv_prog_cc_cross
7047 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
7049 if test x$glibcpp_cv_func_finite_use = x"yes"; then
7050 for ac_func in finite
7052 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7053 echo "configure:7054: checking for $ac_func" >&5
7054 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7055 echo $ac_n "(cached) $ac_c" 1>&6
7057 cat > conftest.$ac_ext <<EOF
7058 #line 7059 "configure"
7059 #include "confdefs.h"
7060 /* System header to define __stub macros and hopefully few prototypes,
7061 which can conflict with char $ac_func(); below. */
7063 /* Override any gcc2 internal prototype to avoid an error. */
7064 /* We use char because int might match the return type of a gcc2
7065 builtin and then its argument prototype would still apply. */
7070 /* The GNU C library defines this for functions which it implements
7071 to always fail with ENOSYS. Some functions are actually named
7072 something starting with __ and the normal name is an alias. */
7073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7081 if { (eval echo configure:7082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7083 eval "ac_cv_func_$ac_func=yes"
7085 echo "configure: failed program was:" >&5
7086 cat conftest.$ac_ext >&5
7088 eval "ac_cv_func_$ac_func=no"
7093 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7094 echo "$ac_t""yes" 1>&6
7095 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7096 cat >> confdefs.h <<EOF
7097 #define $ac_tr_func 1
7101 echo "$ac_t""no" 1>&6
7107 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
7108 echo "configure:7109: checking for _finite declaration" >&5
7109 if test x${glibcpp_cv_func__finite_use+set} != xset; then
7110 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
7111 echo $ac_n "(cached) $ac_c" 1>&6
7116 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7117 ac_cpp='$CXXCPP $CPPFLAGS'
7118 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7119 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7120 cross_compiling=$ac_cv_prog_cxx_cross
7122 cat > conftest.$ac_ext <<EOF
7123 #line 7124 "configure"
7124 #include "confdefs.h"
7126 #ifdef HAVE_IEEEFP_H
7134 if { (eval echo configure:7135: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7136 glibcpp_cv_func__finite_use=yes
7138 echo "configure: failed program was:" >&5
7139 cat conftest.$ac_ext >&5
7141 glibcpp_cv_func__finite_use=no
7145 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7146 ac_cpp='$CPP $CPPFLAGS'
7147 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7148 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7149 cross_compiling=$ac_cv_prog_cc_cross
7155 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
7157 if test x$glibcpp_cv_func__finite_use = x"yes"; then
7158 for ac_func in _finite
7160 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7161 echo "configure:7162: checking for $ac_func" >&5
7162 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7163 echo $ac_n "(cached) $ac_c" 1>&6
7165 cat > conftest.$ac_ext <<EOF
7166 #line 7167 "configure"
7167 #include "confdefs.h"
7168 /* System header to define __stub macros and hopefully few prototypes,
7169 which can conflict with char $ac_func(); below. */
7171 /* Override any gcc2 internal prototype to avoid an error. */
7172 /* We use char because int might match the return type of a gcc2
7173 builtin and then its argument prototype would still apply. */
7178 /* The GNU C library defines this for functions which it implements
7179 to always fail with ENOSYS. Some functions are actually named
7180 something starting with __ and the normal name is an alias. */
7181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7189 if { (eval echo configure:7190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7191 eval "ac_cv_func_$ac_func=yes"
7193 echo "configure: failed program was:" >&5
7194 cat conftest.$ac_ext >&5
7196 eval "ac_cv_func_$ac_func=no"
7201 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7202 echo "$ac_t""yes" 1>&6
7203 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7204 cat >> confdefs.h <<EOF
7205 #define $ac_tr_func 1
7209 echo "$ac_t""no" 1>&6
7218 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
7219 echo "configure:7220: checking for copysign declaration" >&5
7220 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
7221 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
7222 echo $ac_n "(cached) $ac_c" 1>&6
7227 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7228 ac_cpp='$CXXCPP $CPPFLAGS'
7229 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7230 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7231 cross_compiling=$ac_cv_prog_cxx_cross
7233 cat > conftest.$ac_ext <<EOF
7234 #line 7235 "configure"
7235 #include "confdefs.h"
7241 if { (eval echo configure:7242: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7243 glibcpp_cv_func_copysign_use=yes
7245 echo "configure: failed program was:" >&5
7246 cat conftest.$ac_ext >&5
7248 glibcpp_cv_func_copysign_use=no
7252 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7253 ac_cpp='$CPP $CPPFLAGS'
7254 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7255 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7256 cross_compiling=$ac_cv_prog_cc_cross
7262 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
7264 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
7265 for ac_func in copysign
7267 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7268 echo "configure:7269: checking for $ac_func" >&5
7269 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7270 echo $ac_n "(cached) $ac_c" 1>&6
7272 cat > conftest.$ac_ext <<EOF
7273 #line 7274 "configure"
7274 #include "confdefs.h"
7275 /* System header to define __stub macros and hopefully few prototypes,
7276 which can conflict with char $ac_func(); below. */
7278 /* Override any gcc2 internal prototype to avoid an error. */
7279 /* We use char because int might match the return type of a gcc2
7280 builtin and then its argument prototype would still apply. */
7285 /* The GNU C library defines this for functions which it implements
7286 to always fail with ENOSYS. Some functions are actually named
7287 something starting with __ and the normal name is an alias. */
7288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7296 if { (eval echo configure:7297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7298 eval "ac_cv_func_$ac_func=yes"
7300 echo "configure: failed program was:" >&5
7301 cat conftest.$ac_ext >&5
7303 eval "ac_cv_func_$ac_func=no"
7308 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7309 echo "$ac_t""yes" 1>&6
7310 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7311 cat >> confdefs.h <<EOF
7312 #define $ac_tr_func 1
7316 echo "$ac_t""no" 1>&6
7322 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
7323 echo "configure:7324: checking for _copysign declaration" >&5
7324 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
7325 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
7326 echo $ac_n "(cached) $ac_c" 1>&6
7331 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7332 ac_cpp='$CXXCPP $CPPFLAGS'
7333 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7334 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7335 cross_compiling=$ac_cv_prog_cxx_cross
7337 cat > conftest.$ac_ext <<EOF
7338 #line 7339 "configure"
7339 #include "confdefs.h"
7345 if { (eval echo configure:7346: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7347 glibcpp_cv_func__copysign_use=yes
7349 echo "configure: failed program was:" >&5
7350 cat conftest.$ac_ext >&5
7352 glibcpp_cv_func__copysign_use=no
7356 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7357 ac_cpp='$CPP $CPPFLAGS'
7358 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7359 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7360 cross_compiling=$ac_cv_prog_cc_cross
7366 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
7368 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
7369 for ac_func in _copysign
7371 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7372 echo "configure:7373: checking for $ac_func" >&5
7373 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7374 echo $ac_n "(cached) $ac_c" 1>&6
7376 cat > conftest.$ac_ext <<EOF
7377 #line 7378 "configure"
7378 #include "confdefs.h"
7379 /* System header to define __stub macros and hopefully few prototypes,
7380 which can conflict with char $ac_func(); below. */
7382 /* Override any gcc2 internal prototype to avoid an error. */
7383 /* We use char because int might match the return type of a gcc2
7384 builtin and then its argument prototype would still apply. */
7389 /* The GNU C library defines this for functions which it implements
7390 to always fail with ENOSYS. Some functions are actually named
7391 something starting with __ and the normal name is an alias. */
7392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7400 if { (eval echo configure:7401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7402 eval "ac_cv_func_$ac_func=yes"
7404 echo "configure: failed program was:" >&5
7405 cat conftest.$ac_ext >&5
7407 eval "ac_cv_func_$ac_func=no"
7412 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7413 echo "$ac_t""yes" 1>&6
7414 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7415 cat >> confdefs.h <<EOF
7416 #define $ac_tr_func 1
7420 echo "$ac_t""no" 1>&6
7429 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
7430 echo "configure:7431: checking for sincos declaration" >&5
7431 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
7432 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
7433 echo $ac_n "(cached) $ac_c" 1>&6
7438 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7439 ac_cpp='$CXXCPP $CPPFLAGS'
7440 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7441 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7442 cross_compiling=$ac_cv_prog_cxx_cross
7444 cat > conftest.$ac_ext <<EOF
7445 #line 7446 "configure"
7446 #include "confdefs.h"
7452 if { (eval echo configure:7453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7454 glibcpp_cv_func_sincos_use=yes
7456 echo "configure: failed program was:" >&5
7457 cat conftest.$ac_ext >&5
7459 glibcpp_cv_func_sincos_use=no
7463 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7464 ac_cpp='$CPP $CPPFLAGS'
7465 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7466 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7467 cross_compiling=$ac_cv_prog_cc_cross
7473 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
7475 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
7476 for ac_func in sincos
7478 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7479 echo "configure:7480: checking for $ac_func" >&5
7480 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7481 echo $ac_n "(cached) $ac_c" 1>&6
7483 cat > conftest.$ac_ext <<EOF
7484 #line 7485 "configure"
7485 #include "confdefs.h"
7486 /* System header to define __stub macros and hopefully few prototypes,
7487 which can conflict with char $ac_func(); below. */
7489 /* Override any gcc2 internal prototype to avoid an error. */
7490 /* We use char because int might match the return type of a gcc2
7491 builtin and then its argument prototype would still apply. */
7496 /* The GNU C library defines this for functions which it implements
7497 to always fail with ENOSYS. Some functions are actually named
7498 something starting with __ and the normal name is an alias. */
7499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7507 if { (eval echo configure:7508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7509 eval "ac_cv_func_$ac_func=yes"
7511 echo "configure: failed program was:" >&5
7512 cat conftest.$ac_ext >&5
7514 eval "ac_cv_func_$ac_func=no"
7519 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7520 echo "$ac_t""yes" 1>&6
7521 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7522 cat >> confdefs.h <<EOF
7523 #define $ac_tr_func 1
7527 echo "$ac_t""no" 1>&6
7533 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
7534 echo "configure:7535: checking for _sincos declaration" >&5
7535 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
7536 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
7537 echo $ac_n "(cached) $ac_c" 1>&6
7542 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7543 ac_cpp='$CXXCPP $CPPFLAGS'
7544 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7545 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7546 cross_compiling=$ac_cv_prog_cxx_cross
7548 cat > conftest.$ac_ext <<EOF
7549 #line 7550 "configure"
7550 #include "confdefs.h"
7556 if { (eval echo configure:7557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7558 glibcpp_cv_func__sincos_use=yes
7560 echo "configure: failed program was:" >&5
7561 cat conftest.$ac_ext >&5
7563 glibcpp_cv_func__sincos_use=no
7567 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7568 ac_cpp='$CPP $CPPFLAGS'
7569 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7570 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7571 cross_compiling=$ac_cv_prog_cc_cross
7577 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
7579 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
7580 for ac_func in _sincos
7582 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7583 echo "configure:7584: checking for $ac_func" >&5
7584 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7585 echo $ac_n "(cached) $ac_c" 1>&6
7587 cat > conftest.$ac_ext <<EOF
7588 #line 7589 "configure"
7589 #include "confdefs.h"
7590 /* System header to define __stub macros and hopefully few prototypes,
7591 which can conflict with char $ac_func(); below. */
7593 /* Override any gcc2 internal prototype to avoid an error. */
7594 /* We use char because int might match the return type of a gcc2
7595 builtin and then its argument prototype would still apply. */
7600 /* The GNU C library defines this for functions which it implements
7601 to always fail with ENOSYS. Some functions are actually named
7602 something starting with __ and the normal name is an alias. */
7603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7611 if { (eval echo configure:7612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7613 eval "ac_cv_func_$ac_func=yes"
7615 echo "configure: failed program was:" >&5
7616 cat conftest.$ac_ext >&5
7618 eval "ac_cv_func_$ac_func=no"
7623 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7624 echo "$ac_t""yes" 1>&6
7625 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7626 cat >> confdefs.h <<EOF
7627 #define $ac_tr_func 1
7631 echo "$ac_t""no" 1>&6
7640 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
7641 echo "configure:7642: checking for fpclass declaration" >&5
7642 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
7643 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
7644 echo $ac_n "(cached) $ac_c" 1>&6
7649 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7650 ac_cpp='$CXXCPP $CPPFLAGS'
7651 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7652 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7653 cross_compiling=$ac_cv_prog_cxx_cross
7655 cat > conftest.$ac_ext <<EOF
7656 #line 7657 "configure"
7657 #include "confdefs.h"
7659 #ifdef HAVE_IEEEFP_H
7667 if { (eval echo configure:7668: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7669 glibcpp_cv_func_fpclass_use=yes
7671 echo "configure: failed program was:" >&5
7672 cat conftest.$ac_ext >&5
7674 glibcpp_cv_func_fpclass_use=no
7678 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7679 ac_cpp='$CPP $CPPFLAGS'
7680 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7681 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7682 cross_compiling=$ac_cv_prog_cc_cross
7688 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
7690 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
7691 for ac_func in fpclass
7693 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7694 echo "configure:7695: checking for $ac_func" >&5
7695 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7696 echo $ac_n "(cached) $ac_c" 1>&6
7698 cat > conftest.$ac_ext <<EOF
7699 #line 7700 "configure"
7700 #include "confdefs.h"
7701 /* System header to define __stub macros and hopefully few prototypes,
7702 which can conflict with char $ac_func(); below. */
7704 /* Override any gcc2 internal prototype to avoid an error. */
7705 /* We use char because int might match the return type of a gcc2
7706 builtin and then its argument prototype would still apply. */
7711 /* The GNU C library defines this for functions which it implements
7712 to always fail with ENOSYS. Some functions are actually named
7713 something starting with __ and the normal name is an alias. */
7714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7722 if { (eval echo configure:7723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7724 eval "ac_cv_func_$ac_func=yes"
7726 echo "configure: failed program was:" >&5
7727 cat conftest.$ac_ext >&5
7729 eval "ac_cv_func_$ac_func=no"
7734 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7735 echo "$ac_t""yes" 1>&6
7736 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7737 cat >> confdefs.h <<EOF
7738 #define $ac_tr_func 1
7742 echo "$ac_t""no" 1>&6
7748 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
7749 echo "configure:7750: checking for _fpclass declaration" >&5
7750 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
7751 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
7752 echo $ac_n "(cached) $ac_c" 1>&6
7757 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7758 ac_cpp='$CXXCPP $CPPFLAGS'
7759 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7760 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7761 cross_compiling=$ac_cv_prog_cxx_cross
7763 cat > conftest.$ac_ext <<EOF
7764 #line 7765 "configure"
7765 #include "confdefs.h"
7767 #ifdef HAVE_IEEEFP_H
7775 if { (eval echo configure:7776: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7777 glibcpp_cv_func__fpclass_use=yes
7779 echo "configure: failed program was:" >&5
7780 cat conftest.$ac_ext >&5
7782 glibcpp_cv_func__fpclass_use=no
7786 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7787 ac_cpp='$CPP $CPPFLAGS'
7788 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7789 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7790 cross_compiling=$ac_cv_prog_cc_cross
7796 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
7798 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
7799 for ac_func in _fpclass
7801 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7802 echo "configure:7803: checking for $ac_func" >&5
7803 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7804 echo $ac_n "(cached) $ac_c" 1>&6
7806 cat > conftest.$ac_ext <<EOF
7807 #line 7808 "configure"
7808 #include "confdefs.h"
7809 /* System header to define __stub macros and hopefully few prototypes,
7810 which can conflict with char $ac_func(); below. */
7812 /* Override any gcc2 internal prototype to avoid an error. */
7813 /* We use char because int might match the return type of a gcc2
7814 builtin and then its argument prototype would still apply. */
7819 /* The GNU C library defines this for functions which it implements
7820 to always fail with ENOSYS. Some functions are actually named
7821 something starting with __ and the normal name is an alias. */
7822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7830 if { (eval echo configure:7831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7832 eval "ac_cv_func_$ac_func=yes"
7834 echo "configure: failed program was:" >&5
7835 cat conftest.$ac_ext >&5
7837 eval "ac_cv_func_$ac_func=no"
7842 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7843 echo "$ac_t""yes" 1>&6
7844 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7845 cat >> confdefs.h <<EOF
7846 #define $ac_tr_func 1
7850 echo "$ac_t""no" 1>&6
7859 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
7860 echo "configure:7861: checking for qfpclass declaration" >&5
7861 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
7862 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
7863 echo $ac_n "(cached) $ac_c" 1>&6
7868 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7869 ac_cpp='$CXXCPP $CPPFLAGS'
7870 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7871 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7872 cross_compiling=$ac_cv_prog_cxx_cross
7874 cat > conftest.$ac_ext <<EOF
7875 #line 7876 "configure"
7876 #include "confdefs.h"
7878 #ifdef HAVE_IEEEFP_H
7886 if { (eval echo configure:7887: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7888 glibcpp_cv_func_qfpclass_use=yes
7890 echo "configure: failed program was:" >&5
7891 cat conftest.$ac_ext >&5
7893 glibcpp_cv_func_qfpclass_use=no
7897 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7898 ac_cpp='$CPP $CPPFLAGS'
7899 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7900 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7901 cross_compiling=$ac_cv_prog_cc_cross
7907 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
7909 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
7910 for ac_func in qfpclass
7912 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7913 echo "configure:7914: checking for $ac_func" >&5
7914 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7915 echo $ac_n "(cached) $ac_c" 1>&6
7917 cat > conftest.$ac_ext <<EOF
7918 #line 7919 "configure"
7919 #include "confdefs.h"
7920 /* System header to define __stub macros and hopefully few prototypes,
7921 which can conflict with char $ac_func(); below. */
7923 /* Override any gcc2 internal prototype to avoid an error. */
7924 /* We use char because int might match the return type of a gcc2
7925 builtin and then its argument prototype would still apply. */
7930 /* The GNU C library defines this for functions which it implements
7931 to always fail with ENOSYS. Some functions are actually named
7932 something starting with __ and the normal name is an alias. */
7933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7941 if { (eval echo configure:7942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7943 eval "ac_cv_func_$ac_func=yes"
7945 echo "configure: failed program was:" >&5
7946 cat conftest.$ac_ext >&5
7948 eval "ac_cv_func_$ac_func=no"
7953 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7954 echo "$ac_t""yes" 1>&6
7955 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7956 cat >> confdefs.h <<EOF
7957 #define $ac_tr_func 1
7961 echo "$ac_t""no" 1>&6
7967 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
7968 echo "configure:7969: checking for _qfpclass declaration" >&5
7969 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
7970 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
7971 echo $ac_n "(cached) $ac_c" 1>&6
7976 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7977 ac_cpp='$CXXCPP $CPPFLAGS'
7978 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7979 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7980 cross_compiling=$ac_cv_prog_cxx_cross
7982 cat > conftest.$ac_ext <<EOF
7983 #line 7984 "configure"
7984 #include "confdefs.h"
7986 #ifdef HAVE_IEEEFP_H
7994 if { (eval echo configure:7995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7996 glibcpp_cv_func__qfpclass_use=yes
7998 echo "configure: failed program was:" >&5
7999 cat conftest.$ac_ext >&5
8001 glibcpp_cv_func__qfpclass_use=no
8005 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8006 ac_cpp='$CPP $CPPFLAGS'
8007 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8008 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8009 cross_compiling=$ac_cv_prog_cc_cross
8015 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
8017 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
8018 for ac_func in _qfpclass
8020 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8021 echo "configure:8022: checking for $ac_func" >&5
8022 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8023 echo $ac_n "(cached) $ac_c" 1>&6
8025 cat > conftest.$ac_ext <<EOF
8026 #line 8027 "configure"
8027 #include "confdefs.h"
8028 /* System header to define __stub macros and hopefully few prototypes,
8029 which can conflict with char $ac_func(); below. */
8031 /* Override any gcc2 internal prototype to avoid an error. */
8032 /* We use char because int might match the return type of a gcc2
8033 builtin and then its argument prototype would still apply. */
8038 /* The GNU C library defines this for functions which it implements
8039 to always fail with ENOSYS. Some functions are actually named
8040 something starting with __ and the normal name is an alias. */
8041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8049 if { (eval echo configure:8050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8051 eval "ac_cv_func_$ac_func=yes"
8053 echo "configure: failed program was:" >&5
8054 cat conftest.$ac_ext >&5
8056 eval "ac_cv_func_$ac_func=no"
8061 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8062 echo "$ac_t""yes" 1>&6
8063 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8064 cat >> confdefs.h <<EOF
8065 #define $ac_tr_func 1
8069 echo "$ac_t""no" 1>&6
8078 echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
8079 echo "configure:8080: checking for hypot declaration" >&5
8080 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
8081 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
8082 echo $ac_n "(cached) $ac_c" 1>&6
8087 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8088 ac_cpp='$CXXCPP $CPPFLAGS'
8089 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8090 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8091 cross_compiling=$ac_cv_prog_cxx_cross
8093 cat > conftest.$ac_ext <<EOF
8094 #line 8095 "configure"
8095 #include "confdefs.h"
8101 if { (eval echo configure:8102: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8103 glibcpp_cv_func_hypot_use=yes
8105 echo "configure: failed program was:" >&5
8106 cat conftest.$ac_ext >&5
8108 glibcpp_cv_func_hypot_use=no
8112 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8113 ac_cpp='$CPP $CPPFLAGS'
8114 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8115 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8116 cross_compiling=$ac_cv_prog_cc_cross
8122 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
8124 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
8125 for ac_func in hypot
8127 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8128 echo "configure:8129: checking for $ac_func" >&5
8129 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8130 echo $ac_n "(cached) $ac_c" 1>&6
8132 cat > conftest.$ac_ext <<EOF
8133 #line 8134 "configure"
8134 #include "confdefs.h"
8135 /* System header to define __stub macros and hopefully few prototypes,
8136 which can conflict with char $ac_func(); below. */
8138 /* Override any gcc2 internal prototype to avoid an error. */
8139 /* We use char because int might match the return type of a gcc2
8140 builtin and then its argument prototype would still apply. */
8145 /* The GNU C library defines this for functions which it implements
8146 to always fail with ENOSYS. Some functions are actually named
8147 something starting with __ and the normal name is an alias. */
8148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8156 if { (eval echo configure:8157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8158 eval "ac_cv_func_$ac_func=yes"
8160 echo "configure: failed program was:" >&5
8161 cat conftest.$ac_ext >&5
8163 eval "ac_cv_func_$ac_func=no"
8168 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8169 echo "$ac_t""yes" 1>&6
8170 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8171 cat >> confdefs.h <<EOF
8172 #define $ac_tr_func 1
8176 echo "$ac_t""no" 1>&6
8182 echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
8183 echo "configure:8184: checking for _hypot declaration" >&5
8184 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
8185 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
8186 echo $ac_n "(cached) $ac_c" 1>&6
8191 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8192 ac_cpp='$CXXCPP $CPPFLAGS'
8193 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8194 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8195 cross_compiling=$ac_cv_prog_cxx_cross
8197 cat > conftest.$ac_ext <<EOF
8198 #line 8199 "configure"
8199 #include "confdefs.h"
8205 if { (eval echo configure:8206: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8207 glibcpp_cv_func__hypot_use=yes
8209 echo "configure: failed program was:" >&5
8210 cat conftest.$ac_ext >&5
8212 glibcpp_cv_func__hypot_use=no
8216 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8217 ac_cpp='$CPP $CPPFLAGS'
8218 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8219 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8220 cross_compiling=$ac_cv_prog_cc_cross
8226 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
8228 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
8229 for ac_func in _hypot
8231 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8232 echo "configure:8233: checking for $ac_func" >&5
8233 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8234 echo $ac_n "(cached) $ac_c" 1>&6
8236 cat > conftest.$ac_ext <<EOF
8237 #line 8238 "configure"
8238 #include "confdefs.h"
8239 /* System header to define __stub macros and hopefully few prototypes,
8240 which can conflict with char $ac_func(); below. */
8242 /* Override any gcc2 internal prototype to avoid an error. */
8243 /* We use char because int might match the return type of a gcc2
8244 builtin and then its argument prototype would still apply. */
8249 /* The GNU C library defines this for functions which it implements
8250 to always fail with ENOSYS. Some functions are actually named
8251 something starting with __ and the normal name is an alias. */
8252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8260 if { (eval echo configure:8261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8262 eval "ac_cv_func_$ac_func=yes"
8264 echo "configure: failed program was:" >&5
8265 cat conftest.$ac_ext >&5
8267 eval "ac_cv_func_$ac_func=no"
8272 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8273 echo "$ac_t""yes" 1>&6
8274 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8275 cat >> confdefs.h <<EOF
8276 #define $ac_tr_func 1
8280 echo "$ac_t""no" 1>&6
8289 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
8290 echo "configure:8291: checking for float trig functions" >&5
8291 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
8292 echo $ac_n "(cached) $ac_c" 1>&6
8297 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8298 ac_cpp='$CXXCPP $CPPFLAGS'
8299 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8300 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8301 cross_compiling=$ac_cv_prog_cxx_cross
8303 cat > conftest.$ac_ext <<EOF
8304 #line 8305 "configure"
8305 #include "confdefs.h"
8308 `for x in acosf asinf atanf \
8310 coshf sinhf tanhf; do echo "$x (0);"; done`
8313 if { (eval echo configure:8314: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8315 glibcpp_cv_func_float_trig_use=yes
8317 echo "configure: failed program was:" >&5
8318 cat conftest.$ac_ext >&5
8320 glibcpp_cv_func_float_trig_use=no
8324 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8325 ac_cpp='$CPP $CPPFLAGS'
8326 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8327 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8328 cross_compiling=$ac_cv_prog_cc_cross
8332 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
8333 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
8334 for ac_func in acosf asinf atanf \
8338 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8339 echo "configure:8340: checking for $ac_func" >&5
8340 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8341 echo $ac_n "(cached) $ac_c" 1>&6
8343 cat > conftest.$ac_ext <<EOF
8344 #line 8345 "configure"
8345 #include "confdefs.h"
8346 /* System header to define __stub macros and hopefully few prototypes,
8347 which can conflict with char $ac_func(); below. */
8349 /* Override any gcc2 internal prototype to avoid an error. */
8350 /* We use char because int might match the return type of a gcc2
8351 builtin and then its argument prototype would still apply. */
8356 /* The GNU C library defines this for functions which it implements
8357 to always fail with ENOSYS. Some functions are actually named
8358 something starting with __ and the normal name is an alias. */
8359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8367 if { (eval echo configure:8368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8369 eval "ac_cv_func_$ac_func=yes"
8371 echo "configure: failed program was:" >&5
8372 cat conftest.$ac_ext >&5
8374 eval "ac_cv_func_$ac_func=no"
8379 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8380 echo "$ac_t""yes" 1>&6
8381 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8382 cat >> confdefs.h <<EOF
8383 #define $ac_tr_func 1
8387 echo "$ac_t""no" 1>&6
8394 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
8395 echo "configure:8396: checking for float round functions" >&5
8396 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
8397 echo $ac_n "(cached) $ac_c" 1>&6
8402 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8403 ac_cpp='$CXXCPP $CPPFLAGS'
8404 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8405 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8406 cross_compiling=$ac_cv_prog_cxx_cross
8408 cat > conftest.$ac_ext <<EOF
8409 #line 8410 "configure"
8410 #include "confdefs.h"
8413 `for x in ceilf floorf; do echo "$x (0);"; done`
8416 if { (eval echo configure:8417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8418 glibcpp_cv_func_float_round_use=yes
8420 echo "configure: failed program was:" >&5
8421 cat conftest.$ac_ext >&5
8423 glibcpp_cv_func_float_round_use=no
8427 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8428 ac_cpp='$CPP $CPPFLAGS'
8429 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8430 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8431 cross_compiling=$ac_cv_prog_cc_cross
8435 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
8436 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
8437 for ac_func in ceilf floorf
8439 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8440 echo "configure:8441: checking for $ac_func" >&5
8441 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8442 echo $ac_n "(cached) $ac_c" 1>&6
8444 cat > conftest.$ac_ext <<EOF
8445 #line 8446 "configure"
8446 #include "confdefs.h"
8447 /* System header to define __stub macros and hopefully few prototypes,
8448 which can conflict with char $ac_func(); below. */
8450 /* Override any gcc2 internal prototype to avoid an error. */
8451 /* We use char because int might match the return type of a gcc2
8452 builtin and then its argument prototype would still apply. */
8457 /* The GNU C library defines this for functions which it implements
8458 to always fail with ENOSYS. Some functions are actually named
8459 something starting with __ and the normal name is an alias. */
8460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8468 if { (eval echo configure:8469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8470 eval "ac_cv_func_$ac_func=yes"
8472 echo "configure: failed program was:" >&5
8473 cat conftest.$ac_ext >&5
8475 eval "ac_cv_func_$ac_func=no"
8480 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8481 echo "$ac_t""yes" 1>&6
8482 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8483 cat >> confdefs.h <<EOF
8484 #define $ac_tr_func 1
8488 echo "$ac_t""no" 1>&6
8496 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
8497 echo "configure:8498: checking for isnanf declaration" >&5
8498 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
8499 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
8500 echo $ac_n "(cached) $ac_c" 1>&6
8505 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8506 ac_cpp='$CXXCPP $CPPFLAGS'
8507 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8508 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8509 cross_compiling=$ac_cv_prog_cxx_cross
8511 cat > conftest.$ac_ext <<EOF
8512 #line 8513 "configure"
8513 #include "confdefs.h"
8515 #ifdef HAVE_IEEEFP_H
8523 if { (eval echo configure:8524: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8525 glibcpp_cv_func_isnanf_use=yes
8527 echo "configure: failed program was:" >&5
8528 cat conftest.$ac_ext >&5
8530 glibcpp_cv_func_isnanf_use=no
8534 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8535 ac_cpp='$CPP $CPPFLAGS'
8536 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8537 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8538 cross_compiling=$ac_cv_prog_cc_cross
8544 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
8546 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
8547 for ac_func in isnanf
8549 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8550 echo "configure:8551: checking for $ac_func" >&5
8551 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8552 echo $ac_n "(cached) $ac_c" 1>&6
8554 cat > conftest.$ac_ext <<EOF
8555 #line 8556 "configure"
8556 #include "confdefs.h"
8557 /* System header to define __stub macros and hopefully few prototypes,
8558 which can conflict with char $ac_func(); below. */
8560 /* Override any gcc2 internal prototype to avoid an error. */
8561 /* We use char because int might match the return type of a gcc2
8562 builtin and then its argument prototype would still apply. */
8567 /* The GNU C library defines this for functions which it implements
8568 to always fail with ENOSYS. Some functions are actually named
8569 something starting with __ and the normal name is an alias. */
8570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8578 if { (eval echo configure:8579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8580 eval "ac_cv_func_$ac_func=yes"
8582 echo "configure: failed program was:" >&5
8583 cat conftest.$ac_ext >&5
8585 eval "ac_cv_func_$ac_func=no"
8590 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8591 echo "$ac_t""yes" 1>&6
8592 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8593 cat >> confdefs.h <<EOF
8594 #define $ac_tr_func 1
8598 echo "$ac_t""no" 1>&6
8604 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
8605 echo "configure:8606: checking for _isnanf declaration" >&5
8606 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
8607 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
8608 echo $ac_n "(cached) $ac_c" 1>&6
8613 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8614 ac_cpp='$CXXCPP $CPPFLAGS'
8615 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8616 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8617 cross_compiling=$ac_cv_prog_cxx_cross
8619 cat > conftest.$ac_ext <<EOF
8620 #line 8621 "configure"
8621 #include "confdefs.h"
8623 #ifdef HAVE_IEEEFP_H
8631 if { (eval echo configure:8632: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8633 glibcpp_cv_func__isnanf_use=yes
8635 echo "configure: failed program was:" >&5
8636 cat conftest.$ac_ext >&5
8638 glibcpp_cv_func__isnanf_use=no
8642 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8643 ac_cpp='$CPP $CPPFLAGS'
8644 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8645 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8646 cross_compiling=$ac_cv_prog_cc_cross
8652 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
8654 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
8655 for ac_func in _isnanf
8657 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8658 echo "configure:8659: checking for $ac_func" >&5
8659 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8660 echo $ac_n "(cached) $ac_c" 1>&6
8662 cat > conftest.$ac_ext <<EOF
8663 #line 8664 "configure"
8664 #include "confdefs.h"
8665 /* System header to define __stub macros and hopefully few prototypes,
8666 which can conflict with char $ac_func(); below. */
8668 /* Override any gcc2 internal prototype to avoid an error. */
8669 /* We use char because int might match the return type of a gcc2
8670 builtin and then its argument prototype would still apply. */
8675 /* The GNU C library defines this for functions which it implements
8676 to always fail with ENOSYS. Some functions are actually named
8677 something starting with __ and the normal name is an alias. */
8678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8686 if { (eval echo configure:8687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8688 eval "ac_cv_func_$ac_func=yes"
8690 echo "configure: failed program was:" >&5
8691 cat conftest.$ac_ext >&5
8693 eval "ac_cv_func_$ac_func=no"
8698 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8699 echo "$ac_t""yes" 1>&6
8700 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8701 cat >> confdefs.h <<EOF
8702 #define $ac_tr_func 1
8706 echo "$ac_t""no" 1>&6
8715 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
8716 echo "configure:8717: checking for isinff declaration" >&5
8717 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
8718 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_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"
8734 #ifdef HAVE_IEEEFP_H
8742 if { (eval echo configure:8743: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8744 glibcpp_cv_func_isinff_use=yes
8746 echo "configure: failed program was:" >&5
8747 cat conftest.$ac_ext >&5
8749 glibcpp_cv_func_isinff_use=no
8753 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8754 ac_cpp='$CPP $CPPFLAGS'
8755 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8756 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8757 cross_compiling=$ac_cv_prog_cc_cross
8763 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
8765 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
8766 for ac_func in isinff
8768 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8769 echo "configure:8770: checking for $ac_func" >&5
8770 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8771 echo $ac_n "(cached) $ac_c" 1>&6
8773 cat > conftest.$ac_ext <<EOF
8774 #line 8775 "configure"
8775 #include "confdefs.h"
8776 /* System header to define __stub macros and hopefully few prototypes,
8777 which can conflict with char $ac_func(); below. */
8779 /* Override any gcc2 internal prototype to avoid an error. */
8780 /* We use char because int might match the return type of a gcc2
8781 builtin and then its argument prototype would still apply. */
8786 /* The GNU C library defines this for functions which it implements
8787 to always fail with ENOSYS. Some functions are actually named
8788 something starting with __ and the normal name is an alias. */
8789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8797 if { (eval echo configure:8798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8799 eval "ac_cv_func_$ac_func=yes"
8801 echo "configure: failed program was:" >&5
8802 cat conftest.$ac_ext >&5
8804 eval "ac_cv_func_$ac_func=no"
8809 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8810 echo "$ac_t""yes" 1>&6
8811 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8812 cat >> confdefs.h <<EOF
8813 #define $ac_tr_func 1
8817 echo "$ac_t""no" 1>&6
8823 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
8824 echo "configure:8825: checking for _isinff declaration" >&5
8825 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
8826 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
8827 echo $ac_n "(cached) $ac_c" 1>&6
8832 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8833 ac_cpp='$CXXCPP $CPPFLAGS'
8834 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8835 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8836 cross_compiling=$ac_cv_prog_cxx_cross
8838 cat > conftest.$ac_ext <<EOF
8839 #line 8840 "configure"
8840 #include "confdefs.h"
8842 #ifdef HAVE_IEEEFP_H
8850 if { (eval echo configure:8851: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8852 glibcpp_cv_func__isinff_use=yes
8854 echo "configure: failed program was:" >&5
8855 cat conftest.$ac_ext >&5
8857 glibcpp_cv_func__isinff_use=no
8861 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8862 ac_cpp='$CPP $CPPFLAGS'
8863 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8864 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8865 cross_compiling=$ac_cv_prog_cc_cross
8871 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
8873 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
8874 for ac_func in _isinff
8876 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8877 echo "configure:8878: checking for $ac_func" >&5
8878 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8879 echo $ac_n "(cached) $ac_c" 1>&6
8881 cat > conftest.$ac_ext <<EOF
8882 #line 8883 "configure"
8883 #include "confdefs.h"
8884 /* System header to define __stub macros and hopefully few prototypes,
8885 which can conflict with char $ac_func(); below. */
8887 /* Override any gcc2 internal prototype to avoid an error. */
8888 /* We use char because int might match the return type of a gcc2
8889 builtin and then its argument prototype would still apply. */
8894 /* The GNU C library defines this for functions which it implements
8895 to always fail with ENOSYS. Some functions are actually named
8896 something starting with __ and the normal name is an alias. */
8897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8905 if { (eval echo configure:8906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8907 eval "ac_cv_func_$ac_func=yes"
8909 echo "configure: failed program was:" >&5
8910 cat conftest.$ac_ext >&5
8912 eval "ac_cv_func_$ac_func=no"
8917 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8918 echo "$ac_t""yes" 1>&6
8919 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8920 cat >> confdefs.h <<EOF
8921 #define $ac_tr_func 1
8925 echo "$ac_t""no" 1>&6
8934 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
8935 echo "configure:8936: checking for atan2f declaration" >&5
8936 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
8937 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
8938 echo $ac_n "(cached) $ac_c" 1>&6
8943 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8944 ac_cpp='$CXXCPP $CPPFLAGS'
8945 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8946 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8947 cross_compiling=$ac_cv_prog_cxx_cross
8949 cat > conftest.$ac_ext <<EOF
8950 #line 8951 "configure"
8951 #include "confdefs.h"
8957 if { (eval echo configure:8958: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8959 glibcpp_cv_func_atan2f_use=yes
8961 echo "configure: failed program was:" >&5
8962 cat conftest.$ac_ext >&5
8964 glibcpp_cv_func_atan2f_use=no
8968 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8969 ac_cpp='$CPP $CPPFLAGS'
8970 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8971 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8972 cross_compiling=$ac_cv_prog_cc_cross
8978 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
8980 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
8981 for ac_func in atan2f
8983 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8984 echo "configure:8985: checking for $ac_func" >&5
8985 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8986 echo $ac_n "(cached) $ac_c" 1>&6
8988 cat > conftest.$ac_ext <<EOF
8989 #line 8990 "configure"
8990 #include "confdefs.h"
8991 /* System header to define __stub macros and hopefully few prototypes,
8992 which can conflict with char $ac_func(); below. */
8994 /* Override any gcc2 internal prototype to avoid an error. */
8995 /* We use char because int might match the return type of a gcc2
8996 builtin and then its argument prototype would still apply. */
9001 /* The GNU C library defines this for functions which it implements
9002 to always fail with ENOSYS. Some functions are actually named
9003 something starting with __ and the normal name is an alias. */
9004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9012 if { (eval echo configure:9013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9014 eval "ac_cv_func_$ac_func=yes"
9016 echo "configure: failed program was:" >&5
9017 cat conftest.$ac_ext >&5
9019 eval "ac_cv_func_$ac_func=no"
9024 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9025 echo "$ac_t""yes" 1>&6
9026 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9027 cat >> confdefs.h <<EOF
9028 #define $ac_tr_func 1
9032 echo "$ac_t""no" 1>&6
9038 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
9039 echo "configure:9040: checking for _atan2f declaration" >&5
9040 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
9041 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
9042 echo $ac_n "(cached) $ac_c" 1>&6
9047 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9048 ac_cpp='$CXXCPP $CPPFLAGS'
9049 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9050 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9051 cross_compiling=$ac_cv_prog_cxx_cross
9053 cat > conftest.$ac_ext <<EOF
9054 #line 9055 "configure"
9055 #include "confdefs.h"
9061 if { (eval echo configure:9062: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9063 glibcpp_cv_func__atan2f_use=yes
9065 echo "configure: failed program was:" >&5
9066 cat conftest.$ac_ext >&5
9068 glibcpp_cv_func__atan2f_use=no
9072 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9073 ac_cpp='$CPP $CPPFLAGS'
9074 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9075 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9076 cross_compiling=$ac_cv_prog_cc_cross
9082 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
9084 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
9085 for ac_func in _atan2f
9087 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9088 echo "configure:9089: checking for $ac_func" >&5
9089 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9090 echo $ac_n "(cached) $ac_c" 1>&6
9092 cat > conftest.$ac_ext <<EOF
9093 #line 9094 "configure"
9094 #include "confdefs.h"
9095 /* System header to define __stub macros and hopefully few prototypes,
9096 which can conflict with char $ac_func(); below. */
9098 /* Override any gcc2 internal prototype to avoid an error. */
9099 /* We use char because int might match the return type of a gcc2
9100 builtin and then its argument prototype would still apply. */
9105 /* The GNU C library defines this for functions which it implements
9106 to always fail with ENOSYS. Some functions are actually named
9107 something starting with __ and the normal name is an alias. */
9108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9116 if { (eval echo configure:9117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9118 eval "ac_cv_func_$ac_func=yes"
9120 echo "configure: failed program was:" >&5
9121 cat conftest.$ac_ext >&5
9123 eval "ac_cv_func_$ac_func=no"
9128 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9129 echo "$ac_t""yes" 1>&6
9130 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9131 cat >> confdefs.h <<EOF
9132 #define $ac_tr_func 1
9136 echo "$ac_t""no" 1>&6
9145 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
9146 echo "configure:9147: checking for fabsf declaration" >&5
9147 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
9148 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
9149 echo $ac_n "(cached) $ac_c" 1>&6
9154 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9155 ac_cpp='$CXXCPP $CPPFLAGS'
9156 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9157 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9158 cross_compiling=$ac_cv_prog_cxx_cross
9160 cat > conftest.$ac_ext <<EOF
9161 #line 9162 "configure"
9162 #include "confdefs.h"
9164 #ifdef HAVE_IEEEFP_H
9172 if { (eval echo configure:9173: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9174 glibcpp_cv_func_fabsf_use=yes
9176 echo "configure: failed program was:" >&5
9177 cat conftest.$ac_ext >&5
9179 glibcpp_cv_func_fabsf_use=no
9183 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9184 ac_cpp='$CPP $CPPFLAGS'
9185 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9186 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9187 cross_compiling=$ac_cv_prog_cc_cross
9193 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
9195 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
9196 for ac_func in fabsf
9198 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9199 echo "configure:9200: checking for $ac_func" >&5
9200 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9201 echo $ac_n "(cached) $ac_c" 1>&6
9203 cat > conftest.$ac_ext <<EOF
9204 #line 9205 "configure"
9205 #include "confdefs.h"
9206 /* System header to define __stub macros and hopefully few prototypes,
9207 which can conflict with char $ac_func(); below. */
9209 /* Override any gcc2 internal prototype to avoid an error. */
9210 /* We use char because int might match the return type of a gcc2
9211 builtin and then its argument prototype would still apply. */
9216 /* The GNU C library defines this for functions which it implements
9217 to always fail with ENOSYS. Some functions are actually named
9218 something starting with __ and the normal name is an alias. */
9219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9227 if { (eval echo configure:9228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9229 eval "ac_cv_func_$ac_func=yes"
9231 echo "configure: failed program was:" >&5
9232 cat conftest.$ac_ext >&5
9234 eval "ac_cv_func_$ac_func=no"
9239 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9240 echo "$ac_t""yes" 1>&6
9241 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9242 cat >> confdefs.h <<EOF
9243 #define $ac_tr_func 1
9247 echo "$ac_t""no" 1>&6
9253 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
9254 echo "configure:9255: checking for _fabsf declaration" >&5
9255 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
9256 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
9257 echo $ac_n "(cached) $ac_c" 1>&6
9262 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9263 ac_cpp='$CXXCPP $CPPFLAGS'
9264 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9265 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9266 cross_compiling=$ac_cv_prog_cxx_cross
9268 cat > conftest.$ac_ext <<EOF
9269 #line 9270 "configure"
9270 #include "confdefs.h"
9272 #ifdef HAVE_IEEEFP_H
9280 if { (eval echo configure:9281: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9282 glibcpp_cv_func__fabsf_use=yes
9284 echo "configure: failed program was:" >&5
9285 cat conftest.$ac_ext >&5
9287 glibcpp_cv_func__fabsf_use=no
9291 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9292 ac_cpp='$CPP $CPPFLAGS'
9293 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9294 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9295 cross_compiling=$ac_cv_prog_cc_cross
9301 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
9303 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
9304 for ac_func in _fabsf
9306 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9307 echo "configure:9308: checking for $ac_func" >&5
9308 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9309 echo $ac_n "(cached) $ac_c" 1>&6
9311 cat > conftest.$ac_ext <<EOF
9312 #line 9313 "configure"
9313 #include "confdefs.h"
9314 /* System header to define __stub macros and hopefully few prototypes,
9315 which can conflict with char $ac_func(); below. */
9317 /* Override any gcc2 internal prototype to avoid an error. */
9318 /* We use char because int might match the return type of a gcc2
9319 builtin and then its argument prototype would still apply. */
9324 /* The GNU C library defines this for functions which it implements
9325 to always fail with ENOSYS. Some functions are actually named
9326 something starting with __ and the normal name is an alias. */
9327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9335 if { (eval echo configure:9336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9337 eval "ac_cv_func_$ac_func=yes"
9339 echo "configure: failed program was:" >&5
9340 cat conftest.$ac_ext >&5
9342 eval "ac_cv_func_$ac_func=no"
9347 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9348 echo "$ac_t""yes" 1>&6
9349 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9350 cat >> confdefs.h <<EOF
9351 #define $ac_tr_func 1
9355 echo "$ac_t""no" 1>&6
9364 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
9365 echo "configure:9366: checking for fmodf declaration" >&5
9366 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
9367 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
9368 echo $ac_n "(cached) $ac_c" 1>&6
9373 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9374 ac_cpp='$CXXCPP $CPPFLAGS'
9375 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9376 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9377 cross_compiling=$ac_cv_prog_cxx_cross
9379 cat > conftest.$ac_ext <<EOF
9380 #line 9381 "configure"
9381 #include "confdefs.h"
9387 if { (eval echo configure:9388: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9389 glibcpp_cv_func_fmodf_use=yes
9391 echo "configure: failed program was:" >&5
9392 cat conftest.$ac_ext >&5
9394 glibcpp_cv_func_fmodf_use=no
9398 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9399 ac_cpp='$CPP $CPPFLAGS'
9400 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9401 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9402 cross_compiling=$ac_cv_prog_cc_cross
9408 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
9410 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
9411 for ac_func in fmodf
9413 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9414 echo "configure:9415: checking for $ac_func" >&5
9415 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9416 echo $ac_n "(cached) $ac_c" 1>&6
9418 cat > conftest.$ac_ext <<EOF
9419 #line 9420 "configure"
9420 #include "confdefs.h"
9421 /* System header to define __stub macros and hopefully few prototypes,
9422 which can conflict with char $ac_func(); below. */
9424 /* Override any gcc2 internal prototype to avoid an error. */
9425 /* We use char because int might match the return type of a gcc2
9426 builtin and then its argument prototype would still apply. */
9431 /* The GNU C library defines this for functions which it implements
9432 to always fail with ENOSYS. Some functions are actually named
9433 something starting with __ and the normal name is an alias. */
9434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9442 if { (eval echo configure:9443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9444 eval "ac_cv_func_$ac_func=yes"
9446 echo "configure: failed program was:" >&5
9447 cat conftest.$ac_ext >&5
9449 eval "ac_cv_func_$ac_func=no"
9454 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9455 echo "$ac_t""yes" 1>&6
9456 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9457 cat >> confdefs.h <<EOF
9458 #define $ac_tr_func 1
9462 echo "$ac_t""no" 1>&6
9468 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
9469 echo "configure:9470: checking for _fmodf declaration" >&5
9470 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
9471 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
9472 echo $ac_n "(cached) $ac_c" 1>&6
9477 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9478 ac_cpp='$CXXCPP $CPPFLAGS'
9479 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9480 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9481 cross_compiling=$ac_cv_prog_cxx_cross
9483 cat > conftest.$ac_ext <<EOF
9484 #line 9485 "configure"
9485 #include "confdefs.h"
9491 if { (eval echo configure:9492: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9493 glibcpp_cv_func__fmodf_use=yes
9495 echo "configure: failed program was:" >&5
9496 cat conftest.$ac_ext >&5
9498 glibcpp_cv_func__fmodf_use=no
9502 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9503 ac_cpp='$CPP $CPPFLAGS'
9504 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9505 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9506 cross_compiling=$ac_cv_prog_cc_cross
9512 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
9514 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
9515 for ac_func in _fmodf
9517 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9518 echo "configure:9519: checking for $ac_func" >&5
9519 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9520 echo $ac_n "(cached) $ac_c" 1>&6
9522 cat > conftest.$ac_ext <<EOF
9523 #line 9524 "configure"
9524 #include "confdefs.h"
9525 /* System header to define __stub macros and hopefully few prototypes,
9526 which can conflict with char $ac_func(); below. */
9528 /* Override any gcc2 internal prototype to avoid an error. */
9529 /* We use char because int might match the return type of a gcc2
9530 builtin and then its argument prototype would still apply. */
9535 /* The GNU C library defines this for functions which it implements
9536 to always fail with ENOSYS. Some functions are actually named
9537 something starting with __ and the normal name is an alias. */
9538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9546 if { (eval echo configure:9547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9548 eval "ac_cv_func_$ac_func=yes"
9550 echo "configure: failed program was:" >&5
9551 cat conftest.$ac_ext >&5
9553 eval "ac_cv_func_$ac_func=no"
9558 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9559 echo "$ac_t""yes" 1>&6
9560 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9561 cat >> confdefs.h <<EOF
9562 #define $ac_tr_func 1
9566 echo "$ac_t""no" 1>&6
9575 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
9576 echo "configure:9577: checking for frexpf declaration" >&5
9577 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
9578 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
9579 echo $ac_n "(cached) $ac_c" 1>&6
9584 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9585 ac_cpp='$CXXCPP $CPPFLAGS'
9586 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9587 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9588 cross_compiling=$ac_cv_prog_cxx_cross
9590 cat > conftest.$ac_ext <<EOF
9591 #line 9592 "configure"
9592 #include "confdefs.h"
9598 if { (eval echo configure:9599: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9600 glibcpp_cv_func_frexpf_use=yes
9602 echo "configure: failed program was:" >&5
9603 cat conftest.$ac_ext >&5
9605 glibcpp_cv_func_frexpf_use=no
9609 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9610 ac_cpp='$CPP $CPPFLAGS'
9611 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9612 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9613 cross_compiling=$ac_cv_prog_cc_cross
9619 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
9621 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
9622 for ac_func in frexpf
9624 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9625 echo "configure:9626: checking for $ac_func" >&5
9626 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9627 echo $ac_n "(cached) $ac_c" 1>&6
9629 cat > conftest.$ac_ext <<EOF
9630 #line 9631 "configure"
9631 #include "confdefs.h"
9632 /* System header to define __stub macros and hopefully few prototypes,
9633 which can conflict with char $ac_func(); below. */
9635 /* Override any gcc2 internal prototype to avoid an error. */
9636 /* We use char because int might match the return type of a gcc2
9637 builtin and then its argument prototype would still apply. */
9642 /* The GNU C library defines this for functions which it implements
9643 to always fail with ENOSYS. Some functions are actually named
9644 something starting with __ and the normal name is an alias. */
9645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9653 if { (eval echo configure:9654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9655 eval "ac_cv_func_$ac_func=yes"
9657 echo "configure: failed program was:" >&5
9658 cat conftest.$ac_ext >&5
9660 eval "ac_cv_func_$ac_func=no"
9665 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9666 echo "$ac_t""yes" 1>&6
9667 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9668 cat >> confdefs.h <<EOF
9669 #define $ac_tr_func 1
9673 echo "$ac_t""no" 1>&6
9679 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
9680 echo "configure:9681: checking for _frexpf declaration" >&5
9681 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
9682 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
9683 echo $ac_n "(cached) $ac_c" 1>&6
9688 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9689 ac_cpp='$CXXCPP $CPPFLAGS'
9690 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9691 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9692 cross_compiling=$ac_cv_prog_cxx_cross
9694 cat > conftest.$ac_ext <<EOF
9695 #line 9696 "configure"
9696 #include "confdefs.h"
9702 if { (eval echo configure:9703: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9704 glibcpp_cv_func__frexpf_use=yes
9706 echo "configure: failed program was:" >&5
9707 cat conftest.$ac_ext >&5
9709 glibcpp_cv_func__frexpf_use=no
9713 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9714 ac_cpp='$CPP $CPPFLAGS'
9715 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9716 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9717 cross_compiling=$ac_cv_prog_cc_cross
9723 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
9725 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
9726 for ac_func in _frexpf
9728 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9729 echo "configure:9730: checking for $ac_func" >&5
9730 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9731 echo $ac_n "(cached) $ac_c" 1>&6
9733 cat > conftest.$ac_ext <<EOF
9734 #line 9735 "configure"
9735 #include "confdefs.h"
9736 /* System header to define __stub macros and hopefully few prototypes,
9737 which can conflict with char $ac_func(); below. */
9739 /* Override any gcc2 internal prototype to avoid an error. */
9740 /* We use char because int might match the return type of a gcc2
9741 builtin and then its argument prototype would still apply. */
9746 /* The GNU C library defines this for functions which it implements
9747 to always fail with ENOSYS. Some functions are actually named
9748 something starting with __ and the normal name is an alias. */
9749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9757 if { (eval echo configure:9758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9759 eval "ac_cv_func_$ac_func=yes"
9761 echo "configure: failed program was:" >&5
9762 cat conftest.$ac_ext >&5
9764 eval "ac_cv_func_$ac_func=no"
9769 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9770 echo "$ac_t""yes" 1>&6
9771 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9772 cat >> confdefs.h <<EOF
9773 #define $ac_tr_func 1
9777 echo "$ac_t""no" 1>&6
9786 echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
9787 echo "configure:9788: checking for hypotf declaration" >&5
9788 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
9789 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
9790 echo $ac_n "(cached) $ac_c" 1>&6
9795 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9796 ac_cpp='$CXXCPP $CPPFLAGS'
9797 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9798 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9799 cross_compiling=$ac_cv_prog_cxx_cross
9801 cat > conftest.$ac_ext <<EOF
9802 #line 9803 "configure"
9803 #include "confdefs.h"
9809 if { (eval echo configure:9810: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9811 glibcpp_cv_func_hypotf_use=yes
9813 echo "configure: failed program was:" >&5
9814 cat conftest.$ac_ext >&5
9816 glibcpp_cv_func_hypotf_use=no
9820 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9821 ac_cpp='$CPP $CPPFLAGS'
9822 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9823 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9824 cross_compiling=$ac_cv_prog_cc_cross
9830 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
9832 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
9833 for ac_func in hypotf
9835 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9836 echo "configure:9837: checking for $ac_func" >&5
9837 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9838 echo $ac_n "(cached) $ac_c" 1>&6
9840 cat > conftest.$ac_ext <<EOF
9841 #line 9842 "configure"
9842 #include "confdefs.h"
9843 /* System header to define __stub macros and hopefully few prototypes,
9844 which can conflict with char $ac_func(); below. */
9846 /* Override any gcc2 internal prototype to avoid an error. */
9847 /* We use char because int might match the return type of a gcc2
9848 builtin and then its argument prototype would still apply. */
9853 /* The GNU C library defines this for functions which it implements
9854 to always fail with ENOSYS. Some functions are actually named
9855 something starting with __ and the normal name is an alias. */
9856 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9864 if { (eval echo configure:9865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9866 eval "ac_cv_func_$ac_func=yes"
9868 echo "configure: failed program was:" >&5
9869 cat conftest.$ac_ext >&5
9871 eval "ac_cv_func_$ac_func=no"
9876 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9877 echo "$ac_t""yes" 1>&6
9878 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9879 cat >> confdefs.h <<EOF
9880 #define $ac_tr_func 1
9884 echo "$ac_t""no" 1>&6
9890 echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
9891 echo "configure:9892: checking for _hypotf declaration" >&5
9892 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
9893 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
9894 echo $ac_n "(cached) $ac_c" 1>&6
9899 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9900 ac_cpp='$CXXCPP $CPPFLAGS'
9901 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9902 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9903 cross_compiling=$ac_cv_prog_cxx_cross
9905 cat > conftest.$ac_ext <<EOF
9906 #line 9907 "configure"
9907 #include "confdefs.h"
9913 if { (eval echo configure:9914: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9915 glibcpp_cv_func__hypotf_use=yes
9917 echo "configure: failed program was:" >&5
9918 cat conftest.$ac_ext >&5
9920 glibcpp_cv_func__hypotf_use=no
9924 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9925 ac_cpp='$CPP $CPPFLAGS'
9926 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9927 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9928 cross_compiling=$ac_cv_prog_cc_cross
9934 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
9936 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
9937 for ac_func in _hypotf
9939 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9940 echo "configure:9941: checking for $ac_func" >&5
9941 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9942 echo $ac_n "(cached) $ac_c" 1>&6
9944 cat > conftest.$ac_ext <<EOF
9945 #line 9946 "configure"
9946 #include "confdefs.h"
9947 /* System header to define __stub macros and hopefully few prototypes,
9948 which can conflict with char $ac_func(); below. */
9950 /* Override any gcc2 internal prototype to avoid an error. */
9951 /* We use char because int might match the return type of a gcc2
9952 builtin and then its argument prototype would still apply. */
9957 /* The GNU C library defines this for functions which it implements
9958 to always fail with ENOSYS. Some functions are actually named
9959 something starting with __ and the normal name is an alias. */
9960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9968 if { (eval echo configure:9969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9970 eval "ac_cv_func_$ac_func=yes"
9972 echo "configure: failed program was:" >&5
9973 cat conftest.$ac_ext >&5
9975 eval "ac_cv_func_$ac_func=no"
9980 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9981 echo "$ac_t""yes" 1>&6
9982 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9983 cat >> confdefs.h <<EOF
9984 #define $ac_tr_func 1
9988 echo "$ac_t""no" 1>&6
9997 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
9998 echo "configure:9999: checking for ldexpf declaration" >&5
9999 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
10000 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
10001 echo $ac_n "(cached) $ac_c" 1>&6
10006 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10007 ac_cpp='$CXXCPP $CPPFLAGS'
10008 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10009 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10010 cross_compiling=$ac_cv_prog_cxx_cross
10012 cat > conftest.$ac_ext <<EOF
10013 #line 10014 "configure"
10014 #include "confdefs.h"
10020 if { (eval echo configure:10021: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10022 glibcpp_cv_func_ldexpf_use=yes
10024 echo "configure: failed program was:" >&5
10025 cat conftest.$ac_ext >&5
10027 glibcpp_cv_func_ldexpf_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_ldexpf_use" 1>&6
10043 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
10044 for ac_func in ldexpf
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 _ldexpf declaration""... $ac_c" 1>&6
10102 echo "configure:10103: checking for _ldexpf declaration" >&5
10103 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
10104 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_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"
10124 if { (eval echo configure:10125: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10126 glibcpp_cv_func__ldexpf_use=yes
10128 echo "configure: failed program was:" >&5
10129 cat conftest.$ac_ext >&5
10131 glibcpp_cv_func__ldexpf_use=no
10135 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10136 ac_cpp='$CPP $CPPFLAGS'
10137 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10138 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10139 cross_compiling=$ac_cv_prog_cc_cross
10145 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
10147 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
10148 for ac_func in _ldexpf
10150 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10151 echo "configure:10152: checking for $ac_func" >&5
10152 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10153 echo $ac_n "(cached) $ac_c" 1>&6
10155 cat > conftest.$ac_ext <<EOF
10156 #line 10157 "configure"
10157 #include "confdefs.h"
10158 /* System header to define __stub macros and hopefully few prototypes,
10159 which can conflict with char $ac_func(); below. */
10160 #include <assert.h>
10161 /* Override any gcc2 internal prototype to avoid an error. */
10162 /* We use char because int might match the return type of a gcc2
10163 builtin and then its argument prototype would still apply. */
10168 /* The GNU C library defines this for functions which it implements
10169 to always fail with ENOSYS. Some functions are actually named
10170 something starting with __ and the normal name is an alias. */
10171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10179 if { (eval echo configure:10180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10181 eval "ac_cv_func_$ac_func=yes"
10183 echo "configure: failed program was:" >&5
10184 cat conftest.$ac_ext >&5
10186 eval "ac_cv_func_$ac_func=no"
10191 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10192 echo "$ac_t""yes" 1>&6
10193 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10194 cat >> confdefs.h <<EOF
10195 #define $ac_tr_func 1
10199 echo "$ac_t""no" 1>&6
10208 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
10209 echo "configure:10210: checking for logf declaration" >&5
10210 if test x${glibcpp_cv_func_logf_use+set} != xset; then
10211 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
10212 echo $ac_n "(cached) $ac_c" 1>&6
10217 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10218 ac_cpp='$CXXCPP $CPPFLAGS'
10219 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10220 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10221 cross_compiling=$ac_cv_prog_cxx_cross
10223 cat > conftest.$ac_ext <<EOF
10224 #line 10225 "configure"
10225 #include "confdefs.h"
10227 #ifdef HAVE_IEEEFP_H
10228 #include <ieeefp.h>
10235 if { (eval echo configure:10236: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10237 glibcpp_cv_func_logf_use=yes
10239 echo "configure: failed program was:" >&5
10240 cat conftest.$ac_ext >&5
10242 glibcpp_cv_func_logf_use=no
10246 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10247 ac_cpp='$CPP $CPPFLAGS'
10248 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10249 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10250 cross_compiling=$ac_cv_prog_cc_cross
10256 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
10258 if test x$glibcpp_cv_func_logf_use = x"yes"; then
10259 for ac_func in logf
10261 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10262 echo "configure:10263: checking for $ac_func" >&5
10263 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10264 echo $ac_n "(cached) $ac_c" 1>&6
10266 cat > conftest.$ac_ext <<EOF
10267 #line 10268 "configure"
10268 #include "confdefs.h"
10269 /* System header to define __stub macros and hopefully few prototypes,
10270 which can conflict with char $ac_func(); below. */
10271 #include <assert.h>
10272 /* Override any gcc2 internal prototype to avoid an error. */
10273 /* We use char because int might match the return type of a gcc2
10274 builtin and then its argument prototype would still apply. */
10279 /* The GNU C library defines this for functions which it implements
10280 to always fail with ENOSYS. Some functions are actually named
10281 something starting with __ and the normal name is an alias. */
10282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10290 if { (eval echo configure:10291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10292 eval "ac_cv_func_$ac_func=yes"
10294 echo "configure: failed program was:" >&5
10295 cat conftest.$ac_ext >&5
10297 eval "ac_cv_func_$ac_func=no"
10302 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10303 echo "$ac_t""yes" 1>&6
10304 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10305 cat >> confdefs.h <<EOF
10306 #define $ac_tr_func 1
10310 echo "$ac_t""no" 1>&6
10316 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
10317 echo "configure:10318: checking for _logf declaration" >&5
10318 if test x${glibcpp_cv_func__logf_use+set} != xset; then
10319 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
10320 echo $ac_n "(cached) $ac_c" 1>&6
10325 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10326 ac_cpp='$CXXCPP $CPPFLAGS'
10327 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10328 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10329 cross_compiling=$ac_cv_prog_cxx_cross
10331 cat > conftest.$ac_ext <<EOF
10332 #line 10333 "configure"
10333 #include "confdefs.h"
10335 #ifdef HAVE_IEEEFP_H
10336 #include <ieeefp.h>
10343 if { (eval echo configure:10344: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10345 glibcpp_cv_func__logf_use=yes
10347 echo "configure: failed program was:" >&5
10348 cat conftest.$ac_ext >&5
10350 glibcpp_cv_func__logf_use=no
10354 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10355 ac_cpp='$CPP $CPPFLAGS'
10356 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10357 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10358 cross_compiling=$ac_cv_prog_cc_cross
10364 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
10366 if test x$glibcpp_cv_func__logf_use = x"yes"; then
10367 for ac_func in _logf
10369 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10370 echo "configure:10371: checking for $ac_func" >&5
10371 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10372 echo $ac_n "(cached) $ac_c" 1>&6
10374 cat > conftest.$ac_ext <<EOF
10375 #line 10376 "configure"
10376 #include "confdefs.h"
10377 /* System header to define __stub macros and hopefully few prototypes,
10378 which can conflict with char $ac_func(); below. */
10379 #include <assert.h>
10380 /* Override any gcc2 internal prototype to avoid an error. */
10381 /* We use char because int might match the return type of a gcc2
10382 builtin and then its argument prototype would still apply. */
10387 /* The GNU C library defines this for functions which it implements
10388 to always fail with ENOSYS. Some functions are actually named
10389 something starting with __ and the normal name is an alias. */
10390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10398 if { (eval echo configure:10399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10400 eval "ac_cv_func_$ac_func=yes"
10402 echo "configure: failed program was:" >&5
10403 cat conftest.$ac_ext >&5
10405 eval "ac_cv_func_$ac_func=no"
10410 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10411 echo "$ac_t""yes" 1>&6
10412 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10413 cat >> confdefs.h <<EOF
10414 #define $ac_tr_func 1
10418 echo "$ac_t""no" 1>&6
10427 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
10428 echo "configure:10429: checking for log10f declaration" >&5
10429 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
10430 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
10431 echo $ac_n "(cached) $ac_c" 1>&6
10436 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10437 ac_cpp='$CXXCPP $CPPFLAGS'
10438 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10439 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10440 cross_compiling=$ac_cv_prog_cxx_cross
10442 cat > conftest.$ac_ext <<EOF
10443 #line 10444 "configure"
10444 #include "confdefs.h"
10446 #ifdef HAVE_IEEEFP_H
10447 #include <ieeefp.h>
10454 if { (eval echo configure:10455: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10456 glibcpp_cv_func_log10f_use=yes
10458 echo "configure: failed program was:" >&5
10459 cat conftest.$ac_ext >&5
10461 glibcpp_cv_func_log10f_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_log10f_use" 1>&6
10477 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
10478 for ac_func in log10f
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 _log10f declaration""... $ac_c" 1>&6
10536 echo "configure:10537: checking for _log10f declaration" >&5
10537 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
10538 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_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"
10554 #ifdef HAVE_IEEEFP_H
10555 #include <ieeefp.h>
10562 if { (eval echo configure:10563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10564 glibcpp_cv_func__log10f_use=yes
10566 echo "configure: failed program was:" >&5
10567 cat conftest.$ac_ext >&5
10569 glibcpp_cv_func__log10f_use=no
10573 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10574 ac_cpp='$CPP $CPPFLAGS'
10575 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10576 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10577 cross_compiling=$ac_cv_prog_cc_cross
10583 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
10585 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
10586 for ac_func in _log10f
10588 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10589 echo "configure:10590: checking for $ac_func" >&5
10590 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10591 echo $ac_n "(cached) $ac_c" 1>&6
10593 cat > conftest.$ac_ext <<EOF
10594 #line 10595 "configure"
10595 #include "confdefs.h"
10596 /* System header to define __stub macros and hopefully few prototypes,
10597 which can conflict with char $ac_func(); below. */
10598 #include <assert.h>
10599 /* Override any gcc2 internal prototype to avoid an error. */
10600 /* We use char because int might match the return type of a gcc2
10601 builtin and then its argument prototype would still apply. */
10606 /* The GNU C library defines this for functions which it implements
10607 to always fail with ENOSYS. Some functions are actually named
10608 something starting with __ and the normal name is an alias. */
10609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10617 if { (eval echo configure:10618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10619 eval "ac_cv_func_$ac_func=yes"
10621 echo "configure: failed program was:" >&5
10622 cat conftest.$ac_ext >&5
10624 eval "ac_cv_func_$ac_func=no"
10629 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10630 echo "$ac_t""yes" 1>&6
10631 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10632 cat >> confdefs.h <<EOF
10633 #define $ac_tr_func 1
10637 echo "$ac_t""no" 1>&6
10646 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
10647 echo "configure:10648: checking for modff declaration" >&5
10648 if test x${glibcpp_cv_func_modff_use+set} != xset; then
10649 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
10650 echo $ac_n "(cached) $ac_c" 1>&6
10655 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10656 ac_cpp='$CXXCPP $CPPFLAGS'
10657 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10658 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10659 cross_compiling=$ac_cv_prog_cxx_cross
10661 cat > conftest.$ac_ext <<EOF
10662 #line 10663 "configure"
10663 #include "confdefs.h"
10669 if { (eval echo configure:10670: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10671 glibcpp_cv_func_modff_use=yes
10673 echo "configure: failed program was:" >&5
10674 cat conftest.$ac_ext >&5
10676 glibcpp_cv_func_modff_use=no
10680 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10681 ac_cpp='$CPP $CPPFLAGS'
10682 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10683 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10684 cross_compiling=$ac_cv_prog_cc_cross
10690 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
10692 if test x$glibcpp_cv_func_modff_use = x"yes"; then
10693 for ac_func in modff
10695 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10696 echo "configure:10697: checking for $ac_func" >&5
10697 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10698 echo $ac_n "(cached) $ac_c" 1>&6
10700 cat > conftest.$ac_ext <<EOF
10701 #line 10702 "configure"
10702 #include "confdefs.h"
10703 /* System header to define __stub macros and hopefully few prototypes,
10704 which can conflict with char $ac_func(); below. */
10705 #include <assert.h>
10706 /* Override any gcc2 internal prototype to avoid an error. */
10707 /* We use char because int might match the return type of a gcc2
10708 builtin and then its argument prototype would still apply. */
10713 /* The GNU C library defines this for functions which it implements
10714 to always fail with ENOSYS. Some functions are actually named
10715 something starting with __ and the normal name is an alias. */
10716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10724 if { (eval echo configure:10725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10726 eval "ac_cv_func_$ac_func=yes"
10728 echo "configure: failed program was:" >&5
10729 cat conftest.$ac_ext >&5
10731 eval "ac_cv_func_$ac_func=no"
10736 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10737 echo "$ac_t""yes" 1>&6
10738 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10739 cat >> confdefs.h <<EOF
10740 #define $ac_tr_func 1
10744 echo "$ac_t""no" 1>&6
10750 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
10751 echo "configure:10752: checking for _modff declaration" >&5
10752 if test x${glibcpp_cv_func__modff_use+set} != xset; then
10753 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
10754 echo $ac_n "(cached) $ac_c" 1>&6
10759 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10760 ac_cpp='$CXXCPP $CPPFLAGS'
10761 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10762 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10763 cross_compiling=$ac_cv_prog_cxx_cross
10765 cat > conftest.$ac_ext <<EOF
10766 #line 10767 "configure"
10767 #include "confdefs.h"
10773 if { (eval echo configure:10774: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10775 glibcpp_cv_func__modff_use=yes
10777 echo "configure: failed program was:" >&5
10778 cat conftest.$ac_ext >&5
10780 glibcpp_cv_func__modff_use=no
10784 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10785 ac_cpp='$CPP $CPPFLAGS'
10786 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10787 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10788 cross_compiling=$ac_cv_prog_cc_cross
10794 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
10796 if test x$glibcpp_cv_func__modff_use = x"yes"; then
10797 for ac_func in _modff
10799 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10800 echo "configure:10801: checking for $ac_func" >&5
10801 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10802 echo $ac_n "(cached) $ac_c" 1>&6
10804 cat > conftest.$ac_ext <<EOF
10805 #line 10806 "configure"
10806 #include "confdefs.h"
10807 /* System header to define __stub macros and hopefully few prototypes,
10808 which can conflict with char $ac_func(); below. */
10809 #include <assert.h>
10810 /* Override any gcc2 internal prototype to avoid an error. */
10811 /* We use char because int might match the return type of a gcc2
10812 builtin and then its argument prototype would still apply. */
10817 /* The GNU C library defines this for functions which it implements
10818 to always fail with ENOSYS. Some functions are actually named
10819 something starting with __ and the normal name is an alias. */
10820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10828 if { (eval echo configure:10829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10830 eval "ac_cv_func_$ac_func=yes"
10832 echo "configure: failed program was:" >&5
10833 cat conftest.$ac_ext >&5
10835 eval "ac_cv_func_$ac_func=no"
10840 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10841 echo "$ac_t""yes" 1>&6
10842 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10843 cat >> confdefs.h <<EOF
10844 #define $ac_tr_func 1
10848 echo "$ac_t""no" 1>&6
10857 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
10858 echo "configure:10859: checking for powf declaration" >&5
10859 if test x${glibcpp_cv_func_powf_use+set} != xset; then
10860 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
10861 echo $ac_n "(cached) $ac_c" 1>&6
10866 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10867 ac_cpp='$CXXCPP $CPPFLAGS'
10868 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10869 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10870 cross_compiling=$ac_cv_prog_cxx_cross
10872 cat > conftest.$ac_ext <<EOF
10873 #line 10874 "configure"
10874 #include "confdefs.h"
10880 if { (eval echo configure:10881: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10882 glibcpp_cv_func_powf_use=yes
10884 echo "configure: failed program was:" >&5
10885 cat conftest.$ac_ext >&5
10887 glibcpp_cv_func_powf_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_powf_use" 1>&6
10903 if test x$glibcpp_cv_func_powf_use = x"yes"; then
10904 for ac_func in powf
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 _powf declaration""... $ac_c" 1>&6
10962 echo "configure:10963: checking for _powf declaration" >&5
10963 if test x${glibcpp_cv_func__powf_use+set} != xset; then
10964 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_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"
10984 if { (eval echo configure:10985: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10986 glibcpp_cv_func__powf_use=yes
10988 echo "configure: failed program was:" >&5
10989 cat conftest.$ac_ext >&5
10991 glibcpp_cv_func__powf_use=no
10995 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10996 ac_cpp='$CPP $CPPFLAGS'
10997 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10998 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10999 cross_compiling=$ac_cv_prog_cc_cross
11005 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
11007 if test x$glibcpp_cv_func__powf_use = x"yes"; then
11008 for ac_func in _powf
11010 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11011 echo "configure:11012: checking for $ac_func" >&5
11012 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11013 echo $ac_n "(cached) $ac_c" 1>&6
11015 cat > conftest.$ac_ext <<EOF
11016 #line 11017 "configure"
11017 #include "confdefs.h"
11018 /* System header to define __stub macros and hopefully few prototypes,
11019 which can conflict with char $ac_func(); below. */
11020 #include <assert.h>
11021 /* Override any gcc2 internal prototype to avoid an error. */
11022 /* We use char because int might match the return type of a gcc2
11023 builtin and then its argument prototype would still apply. */
11028 /* The GNU C library defines this for functions which it implements
11029 to always fail with ENOSYS. Some functions are actually named
11030 something starting with __ and the normal name is an alias. */
11031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11039 if { (eval echo configure:11040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11041 eval "ac_cv_func_$ac_func=yes"
11043 echo "configure: failed program was:" >&5
11044 cat conftest.$ac_ext >&5
11046 eval "ac_cv_func_$ac_func=no"
11051 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11052 echo "$ac_t""yes" 1>&6
11053 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11054 cat >> confdefs.h <<EOF
11055 #define $ac_tr_func 1
11059 echo "$ac_t""no" 1>&6
11068 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
11069 echo "configure:11070: checking for sqrtf declaration" >&5
11070 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
11071 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
11072 echo $ac_n "(cached) $ac_c" 1>&6
11077 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11078 ac_cpp='$CXXCPP $CPPFLAGS'
11079 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11080 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11081 cross_compiling=$ac_cv_prog_cxx_cross
11083 cat > conftest.$ac_ext <<EOF
11084 #line 11085 "configure"
11085 #include "confdefs.h"
11087 #ifdef HAVE_IEEEFP_H
11088 #include <ieeefp.h>
11095 if { (eval echo configure:11096: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11097 glibcpp_cv_func_sqrtf_use=yes
11099 echo "configure: failed program was:" >&5
11100 cat conftest.$ac_ext >&5
11102 glibcpp_cv_func_sqrtf_use=no
11106 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11107 ac_cpp='$CPP $CPPFLAGS'
11108 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11109 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11110 cross_compiling=$ac_cv_prog_cc_cross
11116 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
11118 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
11119 for ac_func in sqrtf
11121 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11122 echo "configure:11123: checking for $ac_func" >&5
11123 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11124 echo $ac_n "(cached) $ac_c" 1>&6
11126 cat > conftest.$ac_ext <<EOF
11127 #line 11128 "configure"
11128 #include "confdefs.h"
11129 /* System header to define __stub macros and hopefully few prototypes,
11130 which can conflict with char $ac_func(); below. */
11131 #include <assert.h>
11132 /* Override any gcc2 internal prototype to avoid an error. */
11133 /* We use char because int might match the return type of a gcc2
11134 builtin and then its argument prototype would still apply. */
11139 /* The GNU C library defines this for functions which it implements
11140 to always fail with ENOSYS. Some functions are actually named
11141 something starting with __ and the normal name is an alias. */
11142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11150 if { (eval echo configure:11151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11152 eval "ac_cv_func_$ac_func=yes"
11154 echo "configure: failed program was:" >&5
11155 cat conftest.$ac_ext >&5
11157 eval "ac_cv_func_$ac_func=no"
11162 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11163 echo "$ac_t""yes" 1>&6
11164 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11165 cat >> confdefs.h <<EOF
11166 #define $ac_tr_func 1
11170 echo "$ac_t""no" 1>&6
11176 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
11177 echo "configure:11178: checking for _sqrtf declaration" >&5
11178 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
11179 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
11180 echo $ac_n "(cached) $ac_c" 1>&6
11185 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11186 ac_cpp='$CXXCPP $CPPFLAGS'
11187 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11188 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11189 cross_compiling=$ac_cv_prog_cxx_cross
11191 cat > conftest.$ac_ext <<EOF
11192 #line 11193 "configure"
11193 #include "confdefs.h"
11195 #ifdef HAVE_IEEEFP_H
11196 #include <ieeefp.h>
11203 if { (eval echo configure:11204: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11205 glibcpp_cv_func__sqrtf_use=yes
11207 echo "configure: failed program was:" >&5
11208 cat conftest.$ac_ext >&5
11210 glibcpp_cv_func__sqrtf_use=no
11214 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11215 ac_cpp='$CPP $CPPFLAGS'
11216 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11217 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11218 cross_compiling=$ac_cv_prog_cc_cross
11224 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
11226 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
11227 for ac_func in _sqrtf
11229 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11230 echo "configure:11231: checking for $ac_func" >&5
11231 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11232 echo $ac_n "(cached) $ac_c" 1>&6
11234 cat > conftest.$ac_ext <<EOF
11235 #line 11236 "configure"
11236 #include "confdefs.h"
11237 /* System header to define __stub macros and hopefully few prototypes,
11238 which can conflict with char $ac_func(); below. */
11239 #include <assert.h>
11240 /* Override any gcc2 internal prototype to avoid an error. */
11241 /* We use char because int might match the return type of a gcc2
11242 builtin and then its argument prototype would still apply. */
11247 /* The GNU C library defines this for functions which it implements
11248 to always fail with ENOSYS. Some functions are actually named
11249 something starting with __ and the normal name is an alias. */
11250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11258 if { (eval echo configure:11259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11260 eval "ac_cv_func_$ac_func=yes"
11262 echo "configure: failed program was:" >&5
11263 cat conftest.$ac_ext >&5
11265 eval "ac_cv_func_$ac_func=no"
11270 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11271 echo "$ac_t""yes" 1>&6
11272 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11273 cat >> confdefs.h <<EOF
11274 #define $ac_tr_func 1
11278 echo "$ac_t""no" 1>&6
11287 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
11288 echo "configure:11289: checking for sincosf declaration" >&5
11289 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
11290 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
11291 echo $ac_n "(cached) $ac_c" 1>&6
11296 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11297 ac_cpp='$CXXCPP $CPPFLAGS'
11298 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11299 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11300 cross_compiling=$ac_cv_prog_cxx_cross
11302 cat > conftest.$ac_ext <<EOF
11303 #line 11304 "configure"
11304 #include "confdefs.h"
11310 if { (eval echo configure:11311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11312 glibcpp_cv_func_sincosf_use=yes
11314 echo "configure: failed program was:" >&5
11315 cat conftest.$ac_ext >&5
11317 glibcpp_cv_func_sincosf_use=no
11321 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11322 ac_cpp='$CPP $CPPFLAGS'
11323 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11324 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11325 cross_compiling=$ac_cv_prog_cc_cross
11331 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
11333 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
11334 for ac_func in sincosf
11336 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11337 echo "configure:11338: checking for $ac_func" >&5
11338 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11339 echo $ac_n "(cached) $ac_c" 1>&6
11341 cat > conftest.$ac_ext <<EOF
11342 #line 11343 "configure"
11343 #include "confdefs.h"
11344 /* System header to define __stub macros and hopefully few prototypes,
11345 which can conflict with char $ac_func(); below. */
11346 #include <assert.h>
11347 /* Override any gcc2 internal prototype to avoid an error. */
11348 /* We use char because int might match the return type of a gcc2
11349 builtin and then its argument prototype would still apply. */
11354 /* The GNU C library defines this for functions which it implements
11355 to always fail with ENOSYS. Some functions are actually named
11356 something starting with __ and the normal name is an alias. */
11357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11365 if { (eval echo configure:11366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11367 eval "ac_cv_func_$ac_func=yes"
11369 echo "configure: failed program was:" >&5
11370 cat conftest.$ac_ext >&5
11372 eval "ac_cv_func_$ac_func=no"
11377 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11378 echo "$ac_t""yes" 1>&6
11379 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11380 cat >> confdefs.h <<EOF
11381 #define $ac_tr_func 1
11385 echo "$ac_t""no" 1>&6
11391 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
11392 echo "configure:11393: checking for _sincosf declaration" >&5
11393 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
11394 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
11395 echo $ac_n "(cached) $ac_c" 1>&6
11400 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11401 ac_cpp='$CXXCPP $CPPFLAGS'
11402 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11403 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11404 cross_compiling=$ac_cv_prog_cxx_cross
11406 cat > conftest.$ac_ext <<EOF
11407 #line 11408 "configure"
11408 #include "confdefs.h"
11414 if { (eval echo configure:11415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11416 glibcpp_cv_func__sincosf_use=yes
11418 echo "configure: failed program was:" >&5
11419 cat conftest.$ac_ext >&5
11421 glibcpp_cv_func__sincosf_use=no
11425 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11426 ac_cpp='$CPP $CPPFLAGS'
11427 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11428 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11429 cross_compiling=$ac_cv_prog_cc_cross
11435 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
11437 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
11438 for ac_func in _sincosf
11440 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11441 echo "configure:11442: checking for $ac_func" >&5
11442 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11443 echo $ac_n "(cached) $ac_c" 1>&6
11445 cat > conftest.$ac_ext <<EOF
11446 #line 11447 "configure"
11447 #include "confdefs.h"
11448 /* System header to define __stub macros and hopefully few prototypes,
11449 which can conflict with char $ac_func(); below. */
11450 #include <assert.h>
11451 /* Override any gcc2 internal prototype to avoid an error. */
11452 /* We use char because int might match the return type of a gcc2
11453 builtin and then its argument prototype would still apply. */
11458 /* The GNU C library defines this for functions which it implements
11459 to always fail with ENOSYS. Some functions are actually named
11460 something starting with __ and the normal name is an alias. */
11461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11469 if { (eval echo configure:11470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11471 eval "ac_cv_func_$ac_func=yes"
11473 echo "configure: failed program was:" >&5
11474 cat conftest.$ac_ext >&5
11476 eval "ac_cv_func_$ac_func=no"
11481 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11482 echo "$ac_t""yes" 1>&6
11483 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11484 cat >> confdefs.h <<EOF
11485 #define $ac_tr_func 1
11489 echo "$ac_t""no" 1>&6
11498 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
11499 echo "configure:11500: checking for finitef declaration" >&5
11500 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
11501 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
11502 echo $ac_n "(cached) $ac_c" 1>&6
11507 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11508 ac_cpp='$CXXCPP $CPPFLAGS'
11509 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11510 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11511 cross_compiling=$ac_cv_prog_cxx_cross
11513 cat > conftest.$ac_ext <<EOF
11514 #line 11515 "configure"
11515 #include "confdefs.h"
11517 #ifdef HAVE_IEEEFP_H
11518 #include <ieeefp.h>
11525 if { (eval echo configure:11526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11527 glibcpp_cv_func_finitef_use=yes
11529 echo "configure: failed program was:" >&5
11530 cat conftest.$ac_ext >&5
11532 glibcpp_cv_func_finitef_use=no
11536 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11537 ac_cpp='$CPP $CPPFLAGS'
11538 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11539 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11540 cross_compiling=$ac_cv_prog_cc_cross
11546 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
11548 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
11549 for ac_func in finitef
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
11606 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
11607 echo "configure:11608: checking for _finitef declaration" >&5
11608 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
11609 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_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"
11625 #ifdef HAVE_IEEEFP_H
11626 #include <ieeefp.h>
11633 if { (eval echo configure:11634: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11635 glibcpp_cv_func__finitef_use=yes
11637 echo "configure: failed program was:" >&5
11638 cat conftest.$ac_ext >&5
11640 glibcpp_cv_func__finitef_use=no
11644 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11645 ac_cpp='$CPP $CPPFLAGS'
11646 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11647 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11648 cross_compiling=$ac_cv_prog_cc_cross
11654 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
11656 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
11657 for ac_func in _finitef
11659 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11660 echo "configure:11661: checking for $ac_func" >&5
11661 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11662 echo $ac_n "(cached) $ac_c" 1>&6
11664 cat > conftest.$ac_ext <<EOF
11665 #line 11666 "configure"
11666 #include "confdefs.h"
11667 /* System header to define __stub macros and hopefully few prototypes,
11668 which can conflict with char $ac_func(); below. */
11669 #include <assert.h>
11670 /* Override any gcc2 internal prototype to avoid an error. */
11671 /* We use char because int might match the return type of a gcc2
11672 builtin and then its argument prototype would still apply. */
11677 /* The GNU C library defines this for functions which it implements
11678 to always fail with ENOSYS. Some functions are actually named
11679 something starting with __ and the normal name is an alias. */
11680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11688 if { (eval echo configure:11689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11690 eval "ac_cv_func_$ac_func=yes"
11692 echo "configure: failed program was:" >&5
11693 cat conftest.$ac_ext >&5
11695 eval "ac_cv_func_$ac_func=no"
11700 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11701 echo "$ac_t""yes" 1>&6
11702 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11703 cat >> confdefs.h <<EOF
11704 #define $ac_tr_func 1
11708 echo "$ac_t""no" 1>&6
11717 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
11718 echo "configure:11719: checking for long double trig functions" >&5
11719 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
11720 echo $ac_n "(cached) $ac_c" 1>&6
11725 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11726 ac_cpp='$CXXCPP $CPPFLAGS'
11727 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11728 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11729 cross_compiling=$ac_cv_prog_cxx_cross
11731 cat > conftest.$ac_ext <<EOF
11732 #line 11733 "configure"
11733 #include "confdefs.h"
11736 `for x in acosl asinl atanl \
11738 coshl sinhl tanhl; do echo "$x (0);"; done`
11741 if { (eval echo configure:11742: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11743 glibcpp_cv_func_long_double_trig_use=yes
11745 echo "configure: failed program was:" >&5
11746 cat conftest.$ac_ext >&5
11748 glibcpp_cv_func_long_double_trig_use=no
11752 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11753 ac_cpp='$CPP $CPPFLAGS'
11754 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11755 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11756 cross_compiling=$ac_cv_prog_cc_cross
11760 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
11761 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
11762 for ac_func in acosl asinl atanl \
11766 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11767 echo "configure:11768: checking for $ac_func" >&5
11768 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11769 echo $ac_n "(cached) $ac_c" 1>&6
11771 cat > conftest.$ac_ext <<EOF
11772 #line 11773 "configure"
11773 #include "confdefs.h"
11774 /* System header to define __stub macros and hopefully few prototypes,
11775 which can conflict with char $ac_func(); below. */
11776 #include <assert.h>
11777 /* Override any gcc2 internal prototype to avoid an error. */
11778 /* We use char because int might match the return type of a gcc2
11779 builtin and then its argument prototype would still apply. */
11784 /* The GNU C library defines this for functions which it implements
11785 to always fail with ENOSYS. Some functions are actually named
11786 something starting with __ and the normal name is an alias. */
11787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11795 if { (eval echo configure:11796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11797 eval "ac_cv_func_$ac_func=yes"
11799 echo "configure: failed program was:" >&5
11800 cat conftest.$ac_ext >&5
11802 eval "ac_cv_func_$ac_func=no"
11807 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11808 echo "$ac_t""yes" 1>&6
11809 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11810 cat >> confdefs.h <<EOF
11811 #define $ac_tr_func 1
11815 echo "$ac_t""no" 1>&6
11822 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
11823 echo "configure:11824: checking for long double round functions" >&5
11824 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
11825 echo $ac_n "(cached) $ac_c" 1>&6
11830 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11831 ac_cpp='$CXXCPP $CPPFLAGS'
11832 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11833 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11834 cross_compiling=$ac_cv_prog_cxx_cross
11836 cat > conftest.$ac_ext <<EOF
11837 #line 11838 "configure"
11838 #include "confdefs.h"
11841 `for x in ceill floorl; do echo "$x (0);"; done`
11844 if { (eval echo configure:11845: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11846 glibcpp_cv_func_long_double_round_use=yes
11848 echo "configure: failed program was:" >&5
11849 cat conftest.$ac_ext >&5
11851 glibcpp_cv_func_long_double_round_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
11863 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
11864 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
11865 for ac_func in ceill floorl
11867 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11868 echo "configure:11869: checking for $ac_func" >&5
11869 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11870 echo $ac_n "(cached) $ac_c" 1>&6
11872 cat > conftest.$ac_ext <<EOF
11873 #line 11874 "configure"
11874 #include "confdefs.h"
11875 /* System header to define __stub macros and hopefully few prototypes,
11876 which can conflict with char $ac_func(); below. */
11877 #include <assert.h>
11878 /* Override any gcc2 internal prototype to avoid an error. */
11879 /* We use char because int might match the return type of a gcc2
11880 builtin and then its argument prototype would still apply. */
11885 /* The GNU C library defines this for functions which it implements
11886 to always fail with ENOSYS. Some functions are actually named
11887 something starting with __ and the normal name is an alias. */
11888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11896 if { (eval echo configure:11897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11898 eval "ac_cv_func_$ac_func=yes"
11900 echo "configure: failed program was:" >&5
11901 cat conftest.$ac_ext >&5
11903 eval "ac_cv_func_$ac_func=no"
11908 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11909 echo "$ac_t""yes" 1>&6
11910 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11911 cat >> confdefs.h <<EOF
11912 #define $ac_tr_func 1
11916 echo "$ac_t""no" 1>&6
11924 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
11925 echo "configure:11926: checking for isnanl declaration" >&5
11926 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
11927 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
11928 echo $ac_n "(cached) $ac_c" 1>&6
11933 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11934 ac_cpp='$CXXCPP $CPPFLAGS'
11935 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11936 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11937 cross_compiling=$ac_cv_prog_cxx_cross
11939 cat > conftest.$ac_ext <<EOF
11940 #line 11941 "configure"
11941 #include "confdefs.h"
11943 #ifdef HAVE_IEEEFP_H
11944 #include <ieeefp.h>
11951 if { (eval echo configure:11952: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11953 glibcpp_cv_func_isnanl_use=yes
11955 echo "configure: failed program was:" >&5
11956 cat conftest.$ac_ext >&5
11958 glibcpp_cv_func_isnanl_use=no
11962 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11963 ac_cpp='$CPP $CPPFLAGS'
11964 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11965 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11966 cross_compiling=$ac_cv_prog_cc_cross
11972 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
11974 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
11975 for ac_func in isnanl
11977 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11978 echo "configure:11979: checking for $ac_func" >&5
11979 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11980 echo $ac_n "(cached) $ac_c" 1>&6
11982 cat > conftest.$ac_ext <<EOF
11983 #line 11984 "configure"
11984 #include "confdefs.h"
11985 /* System header to define __stub macros and hopefully few prototypes,
11986 which can conflict with char $ac_func(); below. */
11987 #include <assert.h>
11988 /* Override any gcc2 internal prototype to avoid an error. */
11989 /* We use char because int might match the return type of a gcc2
11990 builtin and then its argument prototype would still apply. */
11995 /* The GNU C library defines this for functions which it implements
11996 to always fail with ENOSYS. Some functions are actually named
11997 something starting with __ and the normal name is an alias. */
11998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12006 if { (eval echo configure:12007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12008 eval "ac_cv_func_$ac_func=yes"
12010 echo "configure: failed program was:" >&5
12011 cat conftest.$ac_ext >&5
12013 eval "ac_cv_func_$ac_func=no"
12018 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12019 echo "$ac_t""yes" 1>&6
12020 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12021 cat >> confdefs.h <<EOF
12022 #define $ac_tr_func 1
12026 echo "$ac_t""no" 1>&6
12032 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
12033 echo "configure:12034: checking for _isnanl declaration" >&5
12034 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
12035 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
12036 echo $ac_n "(cached) $ac_c" 1>&6
12041 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12042 ac_cpp='$CXXCPP $CPPFLAGS'
12043 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12044 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12045 cross_compiling=$ac_cv_prog_cxx_cross
12047 cat > conftest.$ac_ext <<EOF
12048 #line 12049 "configure"
12049 #include "confdefs.h"
12051 #ifdef HAVE_IEEEFP_H
12052 #include <ieeefp.h>
12059 if { (eval echo configure:12060: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12061 glibcpp_cv_func__isnanl_use=yes
12063 echo "configure: failed program was:" >&5
12064 cat conftest.$ac_ext >&5
12066 glibcpp_cv_func__isnanl_use=no
12070 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12071 ac_cpp='$CPP $CPPFLAGS'
12072 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12073 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12074 cross_compiling=$ac_cv_prog_cc_cross
12080 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
12082 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
12083 for ac_func in _isnanl
12085 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12086 echo "configure:12087: checking for $ac_func" >&5
12087 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12088 echo $ac_n "(cached) $ac_c" 1>&6
12090 cat > conftest.$ac_ext <<EOF
12091 #line 12092 "configure"
12092 #include "confdefs.h"
12093 /* System header to define __stub macros and hopefully few prototypes,
12094 which can conflict with char $ac_func(); below. */
12095 #include <assert.h>
12096 /* Override any gcc2 internal prototype to avoid an error. */
12097 /* We use char because int might match the return type of a gcc2
12098 builtin and then its argument prototype would still apply. */
12103 /* The GNU C library defines this for functions which it implements
12104 to always fail with ENOSYS. Some functions are actually named
12105 something starting with __ and the normal name is an alias. */
12106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12114 if { (eval echo configure:12115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12116 eval "ac_cv_func_$ac_func=yes"
12118 echo "configure: failed program was:" >&5
12119 cat conftest.$ac_ext >&5
12121 eval "ac_cv_func_$ac_func=no"
12126 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12127 echo "$ac_t""yes" 1>&6
12128 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12129 cat >> confdefs.h <<EOF
12130 #define $ac_tr_func 1
12134 echo "$ac_t""no" 1>&6
12143 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
12144 echo "configure:12145: checking for isinfl declaration" >&5
12145 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
12146 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
12147 echo $ac_n "(cached) $ac_c" 1>&6
12152 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12153 ac_cpp='$CXXCPP $CPPFLAGS'
12154 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12155 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12156 cross_compiling=$ac_cv_prog_cxx_cross
12158 cat > conftest.$ac_ext <<EOF
12159 #line 12160 "configure"
12160 #include "confdefs.h"
12162 #ifdef HAVE_IEEEFP_H
12163 #include <ieeefp.h>
12170 if { (eval echo configure:12171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12172 glibcpp_cv_func_isinfl_use=yes
12174 echo "configure: failed program was:" >&5
12175 cat conftest.$ac_ext >&5
12177 glibcpp_cv_func_isinfl_use=no
12181 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12182 ac_cpp='$CPP $CPPFLAGS'
12183 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12184 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12185 cross_compiling=$ac_cv_prog_cc_cross
12191 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
12193 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
12194 for ac_func in isinfl
12196 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12197 echo "configure:12198: checking for $ac_func" >&5
12198 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12199 echo $ac_n "(cached) $ac_c" 1>&6
12201 cat > conftest.$ac_ext <<EOF
12202 #line 12203 "configure"
12203 #include "confdefs.h"
12204 /* System header to define __stub macros and hopefully few prototypes,
12205 which can conflict with char $ac_func(); below. */
12206 #include <assert.h>
12207 /* Override any gcc2 internal prototype to avoid an error. */
12208 /* We use char because int might match the return type of a gcc2
12209 builtin and then its argument prototype would still apply. */
12214 /* The GNU C library defines this for functions which it implements
12215 to always fail with ENOSYS. Some functions are actually named
12216 something starting with __ and the normal name is an alias. */
12217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12225 if { (eval echo configure:12226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12227 eval "ac_cv_func_$ac_func=yes"
12229 echo "configure: failed program was:" >&5
12230 cat conftest.$ac_ext >&5
12232 eval "ac_cv_func_$ac_func=no"
12237 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12238 echo "$ac_t""yes" 1>&6
12239 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12240 cat >> confdefs.h <<EOF
12241 #define $ac_tr_func 1
12245 echo "$ac_t""no" 1>&6
12251 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
12252 echo "configure:12253: checking for _isinfl declaration" >&5
12253 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
12254 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
12255 echo $ac_n "(cached) $ac_c" 1>&6
12260 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12261 ac_cpp='$CXXCPP $CPPFLAGS'
12262 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12263 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12264 cross_compiling=$ac_cv_prog_cxx_cross
12266 cat > conftest.$ac_ext <<EOF
12267 #line 12268 "configure"
12268 #include "confdefs.h"
12270 #ifdef HAVE_IEEEFP_H
12271 #include <ieeefp.h>
12278 if { (eval echo configure:12279: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12280 glibcpp_cv_func__isinfl_use=yes
12282 echo "configure: failed program was:" >&5
12283 cat conftest.$ac_ext >&5
12285 glibcpp_cv_func__isinfl_use=no
12289 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12290 ac_cpp='$CPP $CPPFLAGS'
12291 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12292 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12293 cross_compiling=$ac_cv_prog_cc_cross
12299 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
12301 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
12302 for ac_func in _isinfl
12304 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12305 echo "configure:12306: checking for $ac_func" >&5
12306 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12307 echo $ac_n "(cached) $ac_c" 1>&6
12309 cat > conftest.$ac_ext <<EOF
12310 #line 12311 "configure"
12311 #include "confdefs.h"
12312 /* System header to define __stub macros and hopefully few prototypes,
12313 which can conflict with char $ac_func(); below. */
12314 #include <assert.h>
12315 /* Override any gcc2 internal prototype to avoid an error. */
12316 /* We use char because int might match the return type of a gcc2
12317 builtin and then its argument prototype would still apply. */
12322 /* The GNU C library defines this for functions which it implements
12323 to always fail with ENOSYS. Some functions are actually named
12324 something starting with __ and the normal name is an alias. */
12325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12333 if { (eval echo configure:12334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12335 eval "ac_cv_func_$ac_func=yes"
12337 echo "configure: failed program was:" >&5
12338 cat conftest.$ac_ext >&5
12340 eval "ac_cv_func_$ac_func=no"
12345 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12346 echo "$ac_t""yes" 1>&6
12347 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12348 cat >> confdefs.h <<EOF
12349 #define $ac_tr_func 1
12353 echo "$ac_t""no" 1>&6
12362 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
12363 echo "configure:12364: checking for copysignl declaration" >&5
12364 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
12365 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
12366 echo $ac_n "(cached) $ac_c" 1>&6
12371 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12372 ac_cpp='$CXXCPP $CPPFLAGS'
12373 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12374 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12375 cross_compiling=$ac_cv_prog_cxx_cross
12377 cat > conftest.$ac_ext <<EOF
12378 #line 12379 "configure"
12379 #include "confdefs.h"
12385 if { (eval echo configure:12386: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12387 glibcpp_cv_func_copysignl_use=yes
12389 echo "configure: failed program was:" >&5
12390 cat conftest.$ac_ext >&5
12392 glibcpp_cv_func_copysignl_use=no
12396 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12397 ac_cpp='$CPP $CPPFLAGS'
12398 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12399 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12400 cross_compiling=$ac_cv_prog_cc_cross
12406 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
12408 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
12409 for ac_func in copysignl
12411 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12412 echo "configure:12413: checking for $ac_func" >&5
12413 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12414 echo $ac_n "(cached) $ac_c" 1>&6
12416 cat > conftest.$ac_ext <<EOF
12417 #line 12418 "configure"
12418 #include "confdefs.h"
12419 /* System header to define __stub macros and hopefully few prototypes,
12420 which can conflict with char $ac_func(); below. */
12421 #include <assert.h>
12422 /* Override any gcc2 internal prototype to avoid an error. */
12423 /* We use char because int might match the return type of a gcc2
12424 builtin and then its argument prototype would still apply. */
12429 /* The GNU C library defines this for functions which it implements
12430 to always fail with ENOSYS. Some functions are actually named
12431 something starting with __ and the normal name is an alias. */
12432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12440 if { (eval echo configure:12441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12442 eval "ac_cv_func_$ac_func=yes"
12444 echo "configure: failed program was:" >&5
12445 cat conftest.$ac_ext >&5
12447 eval "ac_cv_func_$ac_func=no"
12452 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12453 echo "$ac_t""yes" 1>&6
12454 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12455 cat >> confdefs.h <<EOF
12456 #define $ac_tr_func 1
12460 echo "$ac_t""no" 1>&6
12466 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
12467 echo "configure:12468: checking for _copysignl declaration" >&5
12468 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
12469 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
12470 echo $ac_n "(cached) $ac_c" 1>&6
12475 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12476 ac_cpp='$CXXCPP $CPPFLAGS'
12477 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12478 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12479 cross_compiling=$ac_cv_prog_cxx_cross
12481 cat > conftest.$ac_ext <<EOF
12482 #line 12483 "configure"
12483 #include "confdefs.h"
12489 if { (eval echo configure:12490: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12491 glibcpp_cv_func__copysignl_use=yes
12493 echo "configure: failed program was:" >&5
12494 cat conftest.$ac_ext >&5
12496 glibcpp_cv_func__copysignl_use=no
12500 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12501 ac_cpp='$CPP $CPPFLAGS'
12502 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12503 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12504 cross_compiling=$ac_cv_prog_cc_cross
12510 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
12512 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
12513 for ac_func in _copysignl
12515 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12516 echo "configure:12517: checking for $ac_func" >&5
12517 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12518 echo $ac_n "(cached) $ac_c" 1>&6
12520 cat > conftest.$ac_ext <<EOF
12521 #line 12522 "configure"
12522 #include "confdefs.h"
12523 /* System header to define __stub macros and hopefully few prototypes,
12524 which can conflict with char $ac_func(); below. */
12525 #include <assert.h>
12526 /* Override any gcc2 internal prototype to avoid an error. */
12527 /* We use char because int might match the return type of a gcc2
12528 builtin and then its argument prototype would still apply. */
12533 /* The GNU C library defines this for functions which it implements
12534 to always fail with ENOSYS. Some functions are actually named
12535 something starting with __ and the normal name is an alias. */
12536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12544 if { (eval echo configure:12545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12546 eval "ac_cv_func_$ac_func=yes"
12548 echo "configure: failed program was:" >&5
12549 cat conftest.$ac_ext >&5
12551 eval "ac_cv_func_$ac_func=no"
12556 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12557 echo "$ac_t""yes" 1>&6
12558 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12559 cat >> confdefs.h <<EOF
12560 #define $ac_tr_func 1
12564 echo "$ac_t""no" 1>&6
12573 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
12574 echo "configure:12575: checking for atan2l declaration" >&5
12575 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
12576 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
12577 echo $ac_n "(cached) $ac_c" 1>&6
12582 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12583 ac_cpp='$CXXCPP $CPPFLAGS'
12584 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12585 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12586 cross_compiling=$ac_cv_prog_cxx_cross
12588 cat > conftest.$ac_ext <<EOF
12589 #line 12590 "configure"
12590 #include "confdefs.h"
12596 if { (eval echo configure:12597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12598 glibcpp_cv_func_atan2l_use=yes
12600 echo "configure: failed program was:" >&5
12601 cat conftest.$ac_ext >&5
12603 glibcpp_cv_func_atan2l_use=no
12607 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12608 ac_cpp='$CPP $CPPFLAGS'
12609 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12610 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12611 cross_compiling=$ac_cv_prog_cc_cross
12617 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
12619 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
12620 for ac_func in atan2l
12622 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12623 echo "configure:12624: checking for $ac_func" >&5
12624 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12625 echo $ac_n "(cached) $ac_c" 1>&6
12627 cat > conftest.$ac_ext <<EOF
12628 #line 12629 "configure"
12629 #include "confdefs.h"
12630 /* System header to define __stub macros and hopefully few prototypes,
12631 which can conflict with char $ac_func(); below. */
12632 #include <assert.h>
12633 /* Override any gcc2 internal prototype to avoid an error. */
12634 /* We use char because int might match the return type of a gcc2
12635 builtin and then its argument prototype would still apply. */
12640 /* The GNU C library defines this for functions which it implements
12641 to always fail with ENOSYS. Some functions are actually named
12642 something starting with __ and the normal name is an alias. */
12643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12651 if { (eval echo configure:12652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12653 eval "ac_cv_func_$ac_func=yes"
12655 echo "configure: failed program was:" >&5
12656 cat conftest.$ac_ext >&5
12658 eval "ac_cv_func_$ac_func=no"
12663 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12664 echo "$ac_t""yes" 1>&6
12665 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12666 cat >> confdefs.h <<EOF
12667 #define $ac_tr_func 1
12671 echo "$ac_t""no" 1>&6
12677 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
12678 echo "configure:12679: checking for _atan2l declaration" >&5
12679 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
12680 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
12681 echo $ac_n "(cached) $ac_c" 1>&6
12686 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12687 ac_cpp='$CXXCPP $CPPFLAGS'
12688 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12689 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12690 cross_compiling=$ac_cv_prog_cxx_cross
12692 cat > conftest.$ac_ext <<EOF
12693 #line 12694 "configure"
12694 #include "confdefs.h"
12700 if { (eval echo configure:12701: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12702 glibcpp_cv_func__atan2l_use=yes
12704 echo "configure: failed program was:" >&5
12705 cat conftest.$ac_ext >&5
12707 glibcpp_cv_func__atan2l_use=no
12711 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12712 ac_cpp='$CPP $CPPFLAGS'
12713 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12714 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12715 cross_compiling=$ac_cv_prog_cc_cross
12721 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
12723 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
12724 for ac_func in _atan2l
12726 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12727 echo "configure:12728: checking for $ac_func" >&5
12728 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12729 echo $ac_n "(cached) $ac_c" 1>&6
12731 cat > conftest.$ac_ext <<EOF
12732 #line 12733 "configure"
12733 #include "confdefs.h"
12734 /* System header to define __stub macros and hopefully few prototypes,
12735 which can conflict with char $ac_func(); below. */
12736 #include <assert.h>
12737 /* Override any gcc2 internal prototype to avoid an error. */
12738 /* We use char because int might match the return type of a gcc2
12739 builtin and then its argument prototype would still apply. */
12744 /* The GNU C library defines this for functions which it implements
12745 to always fail with ENOSYS. Some functions are actually named
12746 something starting with __ and the normal name is an alias. */
12747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12755 if { (eval echo configure:12756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12757 eval "ac_cv_func_$ac_func=yes"
12759 echo "configure: failed program was:" >&5
12760 cat conftest.$ac_ext >&5
12762 eval "ac_cv_func_$ac_func=no"
12767 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12768 echo "$ac_t""yes" 1>&6
12769 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12770 cat >> confdefs.h <<EOF
12771 #define $ac_tr_func 1
12775 echo "$ac_t""no" 1>&6
12784 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
12785 echo "configure:12786: checking for expl declaration" >&5
12786 if test x${glibcpp_cv_func_expl_use+set} != xset; then
12787 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
12788 echo $ac_n "(cached) $ac_c" 1>&6
12793 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12794 ac_cpp='$CXXCPP $CPPFLAGS'
12795 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12796 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12797 cross_compiling=$ac_cv_prog_cxx_cross
12799 cat > conftest.$ac_ext <<EOF
12800 #line 12801 "configure"
12801 #include "confdefs.h"
12803 #ifdef HAVE_IEEEFP_H
12804 #include <ieeefp.h>
12811 if { (eval echo configure:12812: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12813 glibcpp_cv_func_expl_use=yes
12815 echo "configure: failed program was:" >&5
12816 cat conftest.$ac_ext >&5
12818 glibcpp_cv_func_expl_use=no
12822 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12823 ac_cpp='$CPP $CPPFLAGS'
12824 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12825 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12826 cross_compiling=$ac_cv_prog_cc_cross
12832 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
12834 if test x$glibcpp_cv_func_expl_use = x"yes"; then
12835 for ac_func in expl
12837 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12838 echo "configure:12839: checking for $ac_func" >&5
12839 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12840 echo $ac_n "(cached) $ac_c" 1>&6
12842 cat > conftest.$ac_ext <<EOF
12843 #line 12844 "configure"
12844 #include "confdefs.h"
12845 /* System header to define __stub macros and hopefully few prototypes,
12846 which can conflict with char $ac_func(); below. */
12847 #include <assert.h>
12848 /* Override any gcc2 internal prototype to avoid an error. */
12849 /* We use char because int might match the return type of a gcc2
12850 builtin and then its argument prototype would still apply. */
12855 /* The GNU C library defines this for functions which it implements
12856 to always fail with ENOSYS. Some functions are actually named
12857 something starting with __ and the normal name is an alias. */
12858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12866 if { (eval echo configure:12867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12868 eval "ac_cv_func_$ac_func=yes"
12870 echo "configure: failed program was:" >&5
12871 cat conftest.$ac_ext >&5
12873 eval "ac_cv_func_$ac_func=no"
12878 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12879 echo "$ac_t""yes" 1>&6
12880 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12881 cat >> confdefs.h <<EOF
12882 #define $ac_tr_func 1
12886 echo "$ac_t""no" 1>&6
12892 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
12893 echo "configure:12894: checking for _expl declaration" >&5
12894 if test x${glibcpp_cv_func__expl_use+set} != xset; then
12895 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
12896 echo $ac_n "(cached) $ac_c" 1>&6
12901 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12902 ac_cpp='$CXXCPP $CPPFLAGS'
12903 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12904 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12905 cross_compiling=$ac_cv_prog_cxx_cross
12907 cat > conftest.$ac_ext <<EOF
12908 #line 12909 "configure"
12909 #include "confdefs.h"
12911 #ifdef HAVE_IEEEFP_H
12912 #include <ieeefp.h>
12919 if { (eval echo configure:12920: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12921 glibcpp_cv_func__expl_use=yes
12923 echo "configure: failed program was:" >&5
12924 cat conftest.$ac_ext >&5
12926 glibcpp_cv_func__expl_use=no
12930 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12931 ac_cpp='$CPP $CPPFLAGS'
12932 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12933 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12934 cross_compiling=$ac_cv_prog_cc_cross
12940 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
12942 if test x$glibcpp_cv_func__expl_use = x"yes"; then
12943 for ac_func in _expl
12945 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12946 echo "configure:12947: checking for $ac_func" >&5
12947 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12948 echo $ac_n "(cached) $ac_c" 1>&6
12950 cat > conftest.$ac_ext <<EOF
12951 #line 12952 "configure"
12952 #include "confdefs.h"
12953 /* System header to define __stub macros and hopefully few prototypes,
12954 which can conflict with char $ac_func(); below. */
12955 #include <assert.h>
12956 /* Override any gcc2 internal prototype to avoid an error. */
12957 /* We use char because int might match the return type of a gcc2
12958 builtin and then its argument prototype would still apply. */
12963 /* The GNU C library defines this for functions which it implements
12964 to always fail with ENOSYS. Some functions are actually named
12965 something starting with __ and the normal name is an alias. */
12966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12974 if { (eval echo configure:12975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12976 eval "ac_cv_func_$ac_func=yes"
12978 echo "configure: failed program was:" >&5
12979 cat conftest.$ac_ext >&5
12981 eval "ac_cv_func_$ac_func=no"
12986 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12987 echo "$ac_t""yes" 1>&6
12988 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12989 cat >> confdefs.h <<EOF
12990 #define $ac_tr_func 1
12994 echo "$ac_t""no" 1>&6
13003 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
13004 echo "configure:13005: checking for fabsl declaration" >&5
13005 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
13006 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
13007 echo $ac_n "(cached) $ac_c" 1>&6
13012 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13013 ac_cpp='$CXXCPP $CPPFLAGS'
13014 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13015 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13016 cross_compiling=$ac_cv_prog_cxx_cross
13018 cat > conftest.$ac_ext <<EOF
13019 #line 13020 "configure"
13020 #include "confdefs.h"
13022 #ifdef HAVE_IEEEFP_H
13023 #include <ieeefp.h>
13030 if { (eval echo configure:13031: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13032 glibcpp_cv_func_fabsl_use=yes
13034 echo "configure: failed program was:" >&5
13035 cat conftest.$ac_ext >&5
13037 glibcpp_cv_func_fabsl_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_fabsl_use" 1>&6
13053 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
13054 for ac_func in fabsl
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 _fabsl declaration""... $ac_c" 1>&6
13112 echo "configure:13113: checking for _fabsl declaration" >&5
13113 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
13114 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_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"
13130 #ifdef HAVE_IEEEFP_H
13131 #include <ieeefp.h>
13138 if { (eval echo configure:13139: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13140 glibcpp_cv_func__fabsl_use=yes
13142 echo "configure: failed program was:" >&5
13143 cat conftest.$ac_ext >&5
13145 glibcpp_cv_func__fabsl_use=no
13149 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13150 ac_cpp='$CPP $CPPFLAGS'
13151 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13152 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13153 cross_compiling=$ac_cv_prog_cc_cross
13159 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
13161 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
13162 for ac_func in _fabsl
13164 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13165 echo "configure:13166: checking for $ac_func" >&5
13166 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13167 echo $ac_n "(cached) $ac_c" 1>&6
13169 cat > conftest.$ac_ext <<EOF
13170 #line 13171 "configure"
13171 #include "confdefs.h"
13172 /* System header to define __stub macros and hopefully few prototypes,
13173 which can conflict with char $ac_func(); below. */
13174 #include <assert.h>
13175 /* Override any gcc2 internal prototype to avoid an error. */
13176 /* We use char because int might match the return type of a gcc2
13177 builtin and then its argument prototype would still apply. */
13182 /* The GNU C library defines this for functions which it implements
13183 to always fail with ENOSYS. Some functions are actually named
13184 something starting with __ and the normal name is an alias. */
13185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13193 if { (eval echo configure:13194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13195 eval "ac_cv_func_$ac_func=yes"
13197 echo "configure: failed program was:" >&5
13198 cat conftest.$ac_ext >&5
13200 eval "ac_cv_func_$ac_func=no"
13205 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13206 echo "$ac_t""yes" 1>&6
13207 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13208 cat >> confdefs.h <<EOF
13209 #define $ac_tr_func 1
13213 echo "$ac_t""no" 1>&6
13222 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
13223 echo "configure:13224: checking for fmodl declaration" >&5
13224 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
13225 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
13226 echo $ac_n "(cached) $ac_c" 1>&6
13231 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13232 ac_cpp='$CXXCPP $CPPFLAGS'
13233 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13234 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13235 cross_compiling=$ac_cv_prog_cxx_cross
13237 cat > conftest.$ac_ext <<EOF
13238 #line 13239 "configure"
13239 #include "confdefs.h"
13245 if { (eval echo configure:13246: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13247 glibcpp_cv_func_fmodl_use=yes
13249 echo "configure: failed program was:" >&5
13250 cat conftest.$ac_ext >&5
13252 glibcpp_cv_func_fmodl_use=no
13256 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13257 ac_cpp='$CPP $CPPFLAGS'
13258 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13259 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13260 cross_compiling=$ac_cv_prog_cc_cross
13266 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
13268 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
13269 for ac_func in fmodl
13271 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13272 echo "configure:13273: checking for $ac_func" >&5
13273 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13274 echo $ac_n "(cached) $ac_c" 1>&6
13276 cat > conftest.$ac_ext <<EOF
13277 #line 13278 "configure"
13278 #include "confdefs.h"
13279 /* System header to define __stub macros and hopefully few prototypes,
13280 which can conflict with char $ac_func(); below. */
13281 #include <assert.h>
13282 /* Override any gcc2 internal prototype to avoid an error. */
13283 /* We use char because int might match the return type of a gcc2
13284 builtin and then its argument prototype would still apply. */
13289 /* The GNU C library defines this for functions which it implements
13290 to always fail with ENOSYS. Some functions are actually named
13291 something starting with __ and the normal name is an alias. */
13292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13300 if { (eval echo configure:13301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13302 eval "ac_cv_func_$ac_func=yes"
13304 echo "configure: failed program was:" >&5
13305 cat conftest.$ac_ext >&5
13307 eval "ac_cv_func_$ac_func=no"
13312 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13313 echo "$ac_t""yes" 1>&6
13314 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13315 cat >> confdefs.h <<EOF
13316 #define $ac_tr_func 1
13320 echo "$ac_t""no" 1>&6
13326 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
13327 echo "configure:13328: checking for _fmodl declaration" >&5
13328 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
13329 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
13330 echo $ac_n "(cached) $ac_c" 1>&6
13335 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13336 ac_cpp='$CXXCPP $CPPFLAGS'
13337 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13338 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13339 cross_compiling=$ac_cv_prog_cxx_cross
13341 cat > conftest.$ac_ext <<EOF
13342 #line 13343 "configure"
13343 #include "confdefs.h"
13349 if { (eval echo configure:13350: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13351 glibcpp_cv_func__fmodl_use=yes
13353 echo "configure: failed program was:" >&5
13354 cat conftest.$ac_ext >&5
13356 glibcpp_cv_func__fmodl_use=no
13360 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13361 ac_cpp='$CPP $CPPFLAGS'
13362 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13363 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13364 cross_compiling=$ac_cv_prog_cc_cross
13370 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
13372 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
13373 for ac_func in _fmodl
13375 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13376 echo "configure:13377: checking for $ac_func" >&5
13377 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13378 echo $ac_n "(cached) $ac_c" 1>&6
13380 cat > conftest.$ac_ext <<EOF
13381 #line 13382 "configure"
13382 #include "confdefs.h"
13383 /* System header to define __stub macros and hopefully few prototypes,
13384 which can conflict with char $ac_func(); below. */
13385 #include <assert.h>
13386 /* Override any gcc2 internal prototype to avoid an error. */
13387 /* We use char because int might match the return type of a gcc2
13388 builtin and then its argument prototype would still apply. */
13393 /* The GNU C library defines this for functions which it implements
13394 to always fail with ENOSYS. Some functions are actually named
13395 something starting with __ and the normal name is an alias. */
13396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13404 if { (eval echo configure:13405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13406 eval "ac_cv_func_$ac_func=yes"
13408 echo "configure: failed program was:" >&5
13409 cat conftest.$ac_ext >&5
13411 eval "ac_cv_func_$ac_func=no"
13416 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13417 echo "$ac_t""yes" 1>&6
13418 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13419 cat >> confdefs.h <<EOF
13420 #define $ac_tr_func 1
13424 echo "$ac_t""no" 1>&6
13433 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
13434 echo "configure:13435: checking for frexpl declaration" >&5
13435 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
13436 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
13437 echo $ac_n "(cached) $ac_c" 1>&6
13442 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13443 ac_cpp='$CXXCPP $CPPFLAGS'
13444 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13445 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13446 cross_compiling=$ac_cv_prog_cxx_cross
13448 cat > conftest.$ac_ext <<EOF
13449 #line 13450 "configure"
13450 #include "confdefs.h"
13456 if { (eval echo configure:13457: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13458 glibcpp_cv_func_frexpl_use=yes
13460 echo "configure: failed program was:" >&5
13461 cat conftest.$ac_ext >&5
13463 glibcpp_cv_func_frexpl_use=no
13467 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13468 ac_cpp='$CPP $CPPFLAGS'
13469 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13470 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13471 cross_compiling=$ac_cv_prog_cc_cross
13477 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
13479 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
13480 for ac_func in frexpl
13482 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13483 echo "configure:13484: checking for $ac_func" >&5
13484 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13485 echo $ac_n "(cached) $ac_c" 1>&6
13487 cat > conftest.$ac_ext <<EOF
13488 #line 13489 "configure"
13489 #include "confdefs.h"
13490 /* System header to define __stub macros and hopefully few prototypes,
13491 which can conflict with char $ac_func(); below. */
13492 #include <assert.h>
13493 /* Override any gcc2 internal prototype to avoid an error. */
13494 /* We use char because int might match the return type of a gcc2
13495 builtin and then its argument prototype would still apply. */
13500 /* The GNU C library defines this for functions which it implements
13501 to always fail with ENOSYS. Some functions are actually named
13502 something starting with __ and the normal name is an alias. */
13503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13511 if { (eval echo configure:13512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13513 eval "ac_cv_func_$ac_func=yes"
13515 echo "configure: failed program was:" >&5
13516 cat conftest.$ac_ext >&5
13518 eval "ac_cv_func_$ac_func=no"
13523 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13524 echo "$ac_t""yes" 1>&6
13525 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13526 cat >> confdefs.h <<EOF
13527 #define $ac_tr_func 1
13531 echo "$ac_t""no" 1>&6
13537 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
13538 echo "configure:13539: checking for _frexpl declaration" >&5
13539 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
13540 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
13541 echo $ac_n "(cached) $ac_c" 1>&6
13546 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13547 ac_cpp='$CXXCPP $CPPFLAGS'
13548 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13549 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13550 cross_compiling=$ac_cv_prog_cxx_cross
13552 cat > conftest.$ac_ext <<EOF
13553 #line 13554 "configure"
13554 #include "confdefs.h"
13560 if { (eval echo configure:13561: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13562 glibcpp_cv_func__frexpl_use=yes
13564 echo "configure: failed program was:" >&5
13565 cat conftest.$ac_ext >&5
13567 glibcpp_cv_func__frexpl_use=no
13571 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13572 ac_cpp='$CPP $CPPFLAGS'
13573 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13574 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13575 cross_compiling=$ac_cv_prog_cc_cross
13581 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
13583 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
13584 for ac_func in _frexpl
13586 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13587 echo "configure:13588: checking for $ac_func" >&5
13588 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13589 echo $ac_n "(cached) $ac_c" 1>&6
13591 cat > conftest.$ac_ext <<EOF
13592 #line 13593 "configure"
13593 #include "confdefs.h"
13594 /* System header to define __stub macros and hopefully few prototypes,
13595 which can conflict with char $ac_func(); below. */
13596 #include <assert.h>
13597 /* Override any gcc2 internal prototype to avoid an error. */
13598 /* We use char because int might match the return type of a gcc2
13599 builtin and then its argument prototype would still apply. */
13604 /* The GNU C library defines this for functions which it implements
13605 to always fail with ENOSYS. Some functions are actually named
13606 something starting with __ and the normal name is an alias. */
13607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13615 if { (eval echo configure:13616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13617 eval "ac_cv_func_$ac_func=yes"
13619 echo "configure: failed program was:" >&5
13620 cat conftest.$ac_ext >&5
13622 eval "ac_cv_func_$ac_func=no"
13627 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13628 echo "$ac_t""yes" 1>&6
13629 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13630 cat >> confdefs.h <<EOF
13631 #define $ac_tr_func 1
13635 echo "$ac_t""no" 1>&6
13644 echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
13645 echo "configure:13646: checking for hypotl declaration" >&5
13646 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
13647 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
13648 echo $ac_n "(cached) $ac_c" 1>&6
13653 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13654 ac_cpp='$CXXCPP $CPPFLAGS'
13655 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13656 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13657 cross_compiling=$ac_cv_prog_cxx_cross
13659 cat > conftest.$ac_ext <<EOF
13660 #line 13661 "configure"
13661 #include "confdefs.h"
13667 if { (eval echo configure:13668: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13669 glibcpp_cv_func_hypotl_use=yes
13671 echo "configure: failed program was:" >&5
13672 cat conftest.$ac_ext >&5
13674 glibcpp_cv_func_hypotl_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_hypotl_use" 1>&6
13690 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
13691 for ac_func in hypotl
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 _hypotl declaration""... $ac_c" 1>&6
13749 echo "configure:13750: checking for _hypotl declaration" >&5
13750 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
13751 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_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"
13771 if { (eval echo configure:13772: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13773 glibcpp_cv_func__hypotl_use=yes
13775 echo "configure: failed program was:" >&5
13776 cat conftest.$ac_ext >&5
13778 glibcpp_cv_func__hypotl_use=no
13782 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13783 ac_cpp='$CPP $CPPFLAGS'
13784 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13785 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13786 cross_compiling=$ac_cv_prog_cc_cross
13792 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
13794 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
13795 for ac_func in _hypotl
13797 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13798 echo "configure:13799: checking for $ac_func" >&5
13799 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13800 echo $ac_n "(cached) $ac_c" 1>&6
13802 cat > conftest.$ac_ext <<EOF
13803 #line 13804 "configure"
13804 #include "confdefs.h"
13805 /* System header to define __stub macros and hopefully few prototypes,
13806 which can conflict with char $ac_func(); below. */
13807 #include <assert.h>
13808 /* Override any gcc2 internal prototype to avoid an error. */
13809 /* We use char because int might match the return type of a gcc2
13810 builtin and then its argument prototype would still apply. */
13815 /* The GNU C library defines this for functions which it implements
13816 to always fail with ENOSYS. Some functions are actually named
13817 something starting with __ and the normal name is an alias. */
13818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13826 if { (eval echo configure:13827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13828 eval "ac_cv_func_$ac_func=yes"
13830 echo "configure: failed program was:" >&5
13831 cat conftest.$ac_ext >&5
13833 eval "ac_cv_func_$ac_func=no"
13838 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13839 echo "$ac_t""yes" 1>&6
13840 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13841 cat >> confdefs.h <<EOF
13842 #define $ac_tr_func 1
13846 echo "$ac_t""no" 1>&6
13855 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
13856 echo "configure:13857: checking for ldexpl declaration" >&5
13857 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
13858 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
13859 echo $ac_n "(cached) $ac_c" 1>&6
13864 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13865 ac_cpp='$CXXCPP $CPPFLAGS'
13866 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13867 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13868 cross_compiling=$ac_cv_prog_cxx_cross
13870 cat > conftest.$ac_ext <<EOF
13871 #line 13872 "configure"
13872 #include "confdefs.h"
13878 if { (eval echo configure:13879: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13880 glibcpp_cv_func_ldexpl_use=yes
13882 echo "configure: failed program was:" >&5
13883 cat conftest.$ac_ext >&5
13885 glibcpp_cv_func_ldexpl_use=no
13889 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13890 ac_cpp='$CPP $CPPFLAGS'
13891 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13892 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13893 cross_compiling=$ac_cv_prog_cc_cross
13899 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
13901 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
13902 for ac_func in ldexpl
13904 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13905 echo "configure:13906: checking for $ac_func" >&5
13906 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13907 echo $ac_n "(cached) $ac_c" 1>&6
13909 cat > conftest.$ac_ext <<EOF
13910 #line 13911 "configure"
13911 #include "confdefs.h"
13912 /* System header to define __stub macros and hopefully few prototypes,
13913 which can conflict with char $ac_func(); below. */
13914 #include <assert.h>
13915 /* Override any gcc2 internal prototype to avoid an error. */
13916 /* We use char because int might match the return type of a gcc2
13917 builtin and then its argument prototype would still apply. */
13922 /* The GNU C library defines this for functions which it implements
13923 to always fail with ENOSYS. Some functions are actually named
13924 something starting with __ and the normal name is an alias. */
13925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13933 if { (eval echo configure:13934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13935 eval "ac_cv_func_$ac_func=yes"
13937 echo "configure: failed program was:" >&5
13938 cat conftest.$ac_ext >&5
13940 eval "ac_cv_func_$ac_func=no"
13945 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13946 echo "$ac_t""yes" 1>&6
13947 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13948 cat >> confdefs.h <<EOF
13949 #define $ac_tr_func 1
13953 echo "$ac_t""no" 1>&6
13959 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
13960 echo "configure:13961: checking for _ldexpl declaration" >&5
13961 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
13962 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
13963 echo $ac_n "(cached) $ac_c" 1>&6
13968 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13969 ac_cpp='$CXXCPP $CPPFLAGS'
13970 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13971 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13972 cross_compiling=$ac_cv_prog_cxx_cross
13974 cat > conftest.$ac_ext <<EOF
13975 #line 13976 "configure"
13976 #include "confdefs.h"
13982 if { (eval echo configure:13983: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13984 glibcpp_cv_func__ldexpl_use=yes
13986 echo "configure: failed program was:" >&5
13987 cat conftest.$ac_ext >&5
13989 glibcpp_cv_func__ldexpl_use=no
13993 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13994 ac_cpp='$CPP $CPPFLAGS'
13995 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13996 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13997 cross_compiling=$ac_cv_prog_cc_cross
14003 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
14005 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
14006 for ac_func in _ldexpl
14008 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14009 echo "configure:14010: checking for $ac_func" >&5
14010 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14011 echo $ac_n "(cached) $ac_c" 1>&6
14013 cat > conftest.$ac_ext <<EOF
14014 #line 14015 "configure"
14015 #include "confdefs.h"
14016 /* System header to define __stub macros and hopefully few prototypes,
14017 which can conflict with char $ac_func(); below. */
14018 #include <assert.h>
14019 /* Override any gcc2 internal prototype to avoid an error. */
14020 /* We use char because int might match the return type of a gcc2
14021 builtin and then its argument prototype would still apply. */
14026 /* The GNU C library defines this for functions which it implements
14027 to always fail with ENOSYS. Some functions are actually named
14028 something starting with __ and the normal name is an alias. */
14029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14037 if { (eval echo configure:14038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14039 eval "ac_cv_func_$ac_func=yes"
14041 echo "configure: failed program was:" >&5
14042 cat conftest.$ac_ext >&5
14044 eval "ac_cv_func_$ac_func=no"
14049 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14050 echo "$ac_t""yes" 1>&6
14051 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14052 cat >> confdefs.h <<EOF
14053 #define $ac_tr_func 1
14057 echo "$ac_t""no" 1>&6
14066 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
14067 echo "configure:14068: checking for logl declaration" >&5
14068 if test x${glibcpp_cv_func_logl_use+set} != xset; then
14069 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
14070 echo $ac_n "(cached) $ac_c" 1>&6
14075 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14076 ac_cpp='$CXXCPP $CPPFLAGS'
14077 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14078 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14079 cross_compiling=$ac_cv_prog_cxx_cross
14081 cat > conftest.$ac_ext <<EOF
14082 #line 14083 "configure"
14083 #include "confdefs.h"
14085 #ifdef HAVE_IEEEFP_H
14086 #include <ieeefp.h>
14093 if { (eval echo configure:14094: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14095 glibcpp_cv_func_logl_use=yes
14097 echo "configure: failed program was:" >&5
14098 cat conftest.$ac_ext >&5
14100 glibcpp_cv_func_logl_use=no
14104 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14105 ac_cpp='$CPP $CPPFLAGS'
14106 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14107 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14108 cross_compiling=$ac_cv_prog_cc_cross
14114 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
14116 if test x$glibcpp_cv_func_logl_use = x"yes"; then
14117 for ac_func in logl
14119 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14120 echo "configure:14121: checking for $ac_func" >&5
14121 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14122 echo $ac_n "(cached) $ac_c" 1>&6
14124 cat > conftest.$ac_ext <<EOF
14125 #line 14126 "configure"
14126 #include "confdefs.h"
14127 /* System header to define __stub macros and hopefully few prototypes,
14128 which can conflict with char $ac_func(); below. */
14129 #include <assert.h>
14130 /* Override any gcc2 internal prototype to avoid an error. */
14131 /* We use char because int might match the return type of a gcc2
14132 builtin and then its argument prototype would still apply. */
14137 /* The GNU C library defines this for functions which it implements
14138 to always fail with ENOSYS. Some functions are actually named
14139 something starting with __ and the normal name is an alias. */
14140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14148 if { (eval echo configure:14149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14150 eval "ac_cv_func_$ac_func=yes"
14152 echo "configure: failed program was:" >&5
14153 cat conftest.$ac_ext >&5
14155 eval "ac_cv_func_$ac_func=no"
14160 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14161 echo "$ac_t""yes" 1>&6
14162 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14163 cat >> confdefs.h <<EOF
14164 #define $ac_tr_func 1
14168 echo "$ac_t""no" 1>&6
14174 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
14175 echo "configure:14176: checking for _logl declaration" >&5
14176 if test x${glibcpp_cv_func__logl_use+set} != xset; then
14177 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
14178 echo $ac_n "(cached) $ac_c" 1>&6
14183 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14184 ac_cpp='$CXXCPP $CPPFLAGS'
14185 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14186 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14187 cross_compiling=$ac_cv_prog_cxx_cross
14189 cat > conftest.$ac_ext <<EOF
14190 #line 14191 "configure"
14191 #include "confdefs.h"
14193 #ifdef HAVE_IEEEFP_H
14194 #include <ieeefp.h>
14201 if { (eval echo configure:14202: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14203 glibcpp_cv_func__logl_use=yes
14205 echo "configure: failed program was:" >&5
14206 cat conftest.$ac_ext >&5
14208 glibcpp_cv_func__logl_use=no
14212 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14213 ac_cpp='$CPP $CPPFLAGS'
14214 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14215 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14216 cross_compiling=$ac_cv_prog_cc_cross
14222 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
14224 if test x$glibcpp_cv_func__logl_use = x"yes"; then
14225 for ac_func in _logl
14227 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14228 echo "configure:14229: checking for $ac_func" >&5
14229 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14230 echo $ac_n "(cached) $ac_c" 1>&6
14232 cat > conftest.$ac_ext <<EOF
14233 #line 14234 "configure"
14234 #include "confdefs.h"
14235 /* System header to define __stub macros and hopefully few prototypes,
14236 which can conflict with char $ac_func(); below. */
14237 #include <assert.h>
14238 /* Override any gcc2 internal prototype to avoid an error. */
14239 /* We use char because int might match the return type of a gcc2
14240 builtin and then its argument prototype would still apply. */
14245 /* The GNU C library defines this for functions which it implements
14246 to always fail with ENOSYS. Some functions are actually named
14247 something starting with __ and the normal name is an alias. */
14248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14256 if { (eval echo configure:14257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14258 eval "ac_cv_func_$ac_func=yes"
14260 echo "configure: failed program was:" >&5
14261 cat conftest.$ac_ext >&5
14263 eval "ac_cv_func_$ac_func=no"
14268 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14269 echo "$ac_t""yes" 1>&6
14270 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14271 cat >> confdefs.h <<EOF
14272 #define $ac_tr_func 1
14276 echo "$ac_t""no" 1>&6
14285 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
14286 echo "configure:14287: checking for log10l declaration" >&5
14287 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
14288 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
14289 echo $ac_n "(cached) $ac_c" 1>&6
14294 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14295 ac_cpp='$CXXCPP $CPPFLAGS'
14296 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14297 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14298 cross_compiling=$ac_cv_prog_cxx_cross
14300 cat > conftest.$ac_ext <<EOF
14301 #line 14302 "configure"
14302 #include "confdefs.h"
14304 #ifdef HAVE_IEEEFP_H
14305 #include <ieeefp.h>
14312 if { (eval echo configure:14313: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14314 glibcpp_cv_func_log10l_use=yes
14316 echo "configure: failed program was:" >&5
14317 cat conftest.$ac_ext >&5
14319 glibcpp_cv_func_log10l_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_log10l_use" 1>&6
14335 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
14336 for ac_func in log10l
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 _log10l declaration""... $ac_c" 1>&6
14394 echo "configure:14395: checking for _log10l declaration" >&5
14395 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
14396 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_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"
14412 #ifdef HAVE_IEEEFP_H
14413 #include <ieeefp.h>
14420 if { (eval echo configure:14421: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14422 glibcpp_cv_func__log10l_use=yes
14424 echo "configure: failed program was:" >&5
14425 cat conftest.$ac_ext >&5
14427 glibcpp_cv_func__log10l_use=no
14431 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14432 ac_cpp='$CPP $CPPFLAGS'
14433 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14434 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14435 cross_compiling=$ac_cv_prog_cc_cross
14441 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
14443 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
14444 for ac_func in _log10l
14446 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14447 echo "configure:14448: checking for $ac_func" >&5
14448 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14449 echo $ac_n "(cached) $ac_c" 1>&6
14451 cat > conftest.$ac_ext <<EOF
14452 #line 14453 "configure"
14453 #include "confdefs.h"
14454 /* System header to define __stub macros and hopefully few prototypes,
14455 which can conflict with char $ac_func(); below. */
14456 #include <assert.h>
14457 /* Override any gcc2 internal prototype to avoid an error. */
14458 /* We use char because int might match the return type of a gcc2
14459 builtin and then its argument prototype would still apply. */
14464 /* The GNU C library defines this for functions which it implements
14465 to always fail with ENOSYS. Some functions are actually named
14466 something starting with __ and the normal name is an alias. */
14467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14475 if { (eval echo configure:14476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14477 eval "ac_cv_func_$ac_func=yes"
14479 echo "configure: failed program was:" >&5
14480 cat conftest.$ac_ext >&5
14482 eval "ac_cv_func_$ac_func=no"
14487 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14488 echo "$ac_t""yes" 1>&6
14489 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14490 cat >> confdefs.h <<EOF
14491 #define $ac_tr_func 1
14495 echo "$ac_t""no" 1>&6
14504 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
14505 echo "configure:14506: checking for modfl declaration" >&5
14506 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
14507 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
14508 echo $ac_n "(cached) $ac_c" 1>&6
14513 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14514 ac_cpp='$CXXCPP $CPPFLAGS'
14515 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14516 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14517 cross_compiling=$ac_cv_prog_cxx_cross
14519 cat > conftest.$ac_ext <<EOF
14520 #line 14521 "configure"
14521 #include "confdefs.h"
14527 if { (eval echo configure:14528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14529 glibcpp_cv_func_modfl_use=yes
14531 echo "configure: failed program was:" >&5
14532 cat conftest.$ac_ext >&5
14534 glibcpp_cv_func_modfl_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_modfl_use" 1>&6
14550 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
14551 for ac_func in modfl
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 _modfl declaration""... $ac_c" 1>&6
14609 echo "configure:14610: checking for _modfl declaration" >&5
14610 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
14611 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_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"
14631 if { (eval echo configure:14632: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14633 glibcpp_cv_func__modfl_use=yes
14635 echo "configure: failed program was:" >&5
14636 cat conftest.$ac_ext >&5
14638 glibcpp_cv_func__modfl_use=no
14642 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14643 ac_cpp='$CPP $CPPFLAGS'
14644 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14645 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14646 cross_compiling=$ac_cv_prog_cc_cross
14652 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
14654 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
14655 for ac_func in _modfl
14657 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14658 echo "configure:14659: checking for $ac_func" >&5
14659 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14660 echo $ac_n "(cached) $ac_c" 1>&6
14662 cat > conftest.$ac_ext <<EOF
14663 #line 14664 "configure"
14664 #include "confdefs.h"
14665 /* System header to define __stub macros and hopefully few prototypes,
14666 which can conflict with char $ac_func(); below. */
14667 #include <assert.h>
14668 /* Override any gcc2 internal prototype to avoid an error. */
14669 /* We use char because int might match the return type of a gcc2
14670 builtin and then its argument prototype would still apply. */
14675 /* The GNU C library defines this for functions which it implements
14676 to always fail with ENOSYS. Some functions are actually named
14677 something starting with __ and the normal name is an alias. */
14678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14686 if { (eval echo configure:14687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14688 eval "ac_cv_func_$ac_func=yes"
14690 echo "configure: failed program was:" >&5
14691 cat conftest.$ac_ext >&5
14693 eval "ac_cv_func_$ac_func=no"
14698 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14699 echo "$ac_t""yes" 1>&6
14700 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14701 cat >> confdefs.h <<EOF
14702 #define $ac_tr_func 1
14706 echo "$ac_t""no" 1>&6
14715 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
14716 echo "configure:14717: checking for powl declaration" >&5
14717 if test x${glibcpp_cv_func_powl_use+set} != xset; then
14718 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
14719 echo $ac_n "(cached) $ac_c" 1>&6
14724 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14725 ac_cpp='$CXXCPP $CPPFLAGS'
14726 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14727 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14728 cross_compiling=$ac_cv_prog_cxx_cross
14730 cat > conftest.$ac_ext <<EOF
14731 #line 14732 "configure"
14732 #include "confdefs.h"
14738 if { (eval echo configure:14739: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14740 glibcpp_cv_func_powl_use=yes
14742 echo "configure: failed program was:" >&5
14743 cat conftest.$ac_ext >&5
14745 glibcpp_cv_func_powl_use=no
14749 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14750 ac_cpp='$CPP $CPPFLAGS'
14751 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14752 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14753 cross_compiling=$ac_cv_prog_cc_cross
14759 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
14761 if test x$glibcpp_cv_func_powl_use = x"yes"; then
14762 for ac_func in powl
14764 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14765 echo "configure:14766: checking for $ac_func" >&5
14766 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14767 echo $ac_n "(cached) $ac_c" 1>&6
14769 cat > conftest.$ac_ext <<EOF
14770 #line 14771 "configure"
14771 #include "confdefs.h"
14772 /* System header to define __stub macros and hopefully few prototypes,
14773 which can conflict with char $ac_func(); below. */
14774 #include <assert.h>
14775 /* Override any gcc2 internal prototype to avoid an error. */
14776 /* We use char because int might match the return type of a gcc2
14777 builtin and then its argument prototype would still apply. */
14782 /* The GNU C library defines this for functions which it implements
14783 to always fail with ENOSYS. Some functions are actually named
14784 something starting with __ and the normal name is an alias. */
14785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14793 if { (eval echo configure:14794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14795 eval "ac_cv_func_$ac_func=yes"
14797 echo "configure: failed program was:" >&5
14798 cat conftest.$ac_ext >&5
14800 eval "ac_cv_func_$ac_func=no"
14805 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14806 echo "$ac_t""yes" 1>&6
14807 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14808 cat >> confdefs.h <<EOF
14809 #define $ac_tr_func 1
14813 echo "$ac_t""no" 1>&6
14819 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
14820 echo "configure:14821: checking for _powl declaration" >&5
14821 if test x${glibcpp_cv_func__powl_use+set} != xset; then
14822 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
14823 echo $ac_n "(cached) $ac_c" 1>&6
14828 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14829 ac_cpp='$CXXCPP $CPPFLAGS'
14830 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14831 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14832 cross_compiling=$ac_cv_prog_cxx_cross
14834 cat > conftest.$ac_ext <<EOF
14835 #line 14836 "configure"
14836 #include "confdefs.h"
14842 if { (eval echo configure:14843: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14844 glibcpp_cv_func__powl_use=yes
14846 echo "configure: failed program was:" >&5
14847 cat conftest.$ac_ext >&5
14849 glibcpp_cv_func__powl_use=no
14853 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14854 ac_cpp='$CPP $CPPFLAGS'
14855 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14856 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14857 cross_compiling=$ac_cv_prog_cc_cross
14863 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
14865 if test x$glibcpp_cv_func__powl_use = x"yes"; then
14866 for ac_func in _powl
14868 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14869 echo "configure:14870: checking for $ac_func" >&5
14870 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14871 echo $ac_n "(cached) $ac_c" 1>&6
14873 cat > conftest.$ac_ext <<EOF
14874 #line 14875 "configure"
14875 #include "confdefs.h"
14876 /* System header to define __stub macros and hopefully few prototypes,
14877 which can conflict with char $ac_func(); below. */
14878 #include <assert.h>
14879 /* Override any gcc2 internal prototype to avoid an error. */
14880 /* We use char because int might match the return type of a gcc2
14881 builtin and then its argument prototype would still apply. */
14886 /* The GNU C library defines this for functions which it implements
14887 to always fail with ENOSYS. Some functions are actually named
14888 something starting with __ and the normal name is an alias. */
14889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14897 if { (eval echo configure:14898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14899 eval "ac_cv_func_$ac_func=yes"
14901 echo "configure: failed program was:" >&5
14902 cat conftest.$ac_ext >&5
14904 eval "ac_cv_func_$ac_func=no"
14909 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14910 echo "$ac_t""yes" 1>&6
14911 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14912 cat >> confdefs.h <<EOF
14913 #define $ac_tr_func 1
14917 echo "$ac_t""no" 1>&6
14926 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
14927 echo "configure:14928: checking for sqrtl declaration" >&5
14928 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
14929 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
14930 echo $ac_n "(cached) $ac_c" 1>&6
14935 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14936 ac_cpp='$CXXCPP $CPPFLAGS'
14937 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14938 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14939 cross_compiling=$ac_cv_prog_cxx_cross
14941 cat > conftest.$ac_ext <<EOF
14942 #line 14943 "configure"
14943 #include "confdefs.h"
14945 #ifdef HAVE_IEEEFP_H
14946 #include <ieeefp.h>
14953 if { (eval echo configure:14954: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14955 glibcpp_cv_func_sqrtl_use=yes
14957 echo "configure: failed program was:" >&5
14958 cat conftest.$ac_ext >&5
14960 glibcpp_cv_func_sqrtl_use=no
14964 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14965 ac_cpp='$CPP $CPPFLAGS'
14966 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14967 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14968 cross_compiling=$ac_cv_prog_cc_cross
14974 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
14976 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
14977 for ac_func in sqrtl
14979 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14980 echo "configure:14981: checking for $ac_func" >&5
14981 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14982 echo $ac_n "(cached) $ac_c" 1>&6
14984 cat > conftest.$ac_ext <<EOF
14985 #line 14986 "configure"
14986 #include "confdefs.h"
14987 /* System header to define __stub macros and hopefully few prototypes,
14988 which can conflict with char $ac_func(); below. */
14989 #include <assert.h>
14990 /* Override any gcc2 internal prototype to avoid an error. */
14991 /* We use char because int might match the return type of a gcc2
14992 builtin and then its argument prototype would still apply. */
14997 /* The GNU C library defines this for functions which it implements
14998 to always fail with ENOSYS. Some functions are actually named
14999 something starting with __ and the normal name is an alias. */
15000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15008 if { (eval echo configure:15009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15010 eval "ac_cv_func_$ac_func=yes"
15012 echo "configure: failed program was:" >&5
15013 cat conftest.$ac_ext >&5
15015 eval "ac_cv_func_$ac_func=no"
15020 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15021 echo "$ac_t""yes" 1>&6
15022 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15023 cat >> confdefs.h <<EOF
15024 #define $ac_tr_func 1
15028 echo "$ac_t""no" 1>&6
15034 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
15035 echo "configure:15036: checking for _sqrtl declaration" >&5
15036 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
15037 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
15038 echo $ac_n "(cached) $ac_c" 1>&6
15043 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15044 ac_cpp='$CXXCPP $CPPFLAGS'
15045 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15046 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15047 cross_compiling=$ac_cv_prog_cxx_cross
15049 cat > conftest.$ac_ext <<EOF
15050 #line 15051 "configure"
15051 #include "confdefs.h"
15053 #ifdef HAVE_IEEEFP_H
15054 #include <ieeefp.h>
15061 if { (eval echo configure:15062: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15063 glibcpp_cv_func__sqrtl_use=yes
15065 echo "configure: failed program was:" >&5
15066 cat conftest.$ac_ext >&5
15068 glibcpp_cv_func__sqrtl_use=no
15072 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15073 ac_cpp='$CPP $CPPFLAGS'
15074 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15075 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15076 cross_compiling=$ac_cv_prog_cc_cross
15082 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
15084 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
15085 for ac_func in _sqrtl
15087 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15088 echo "configure:15089: checking for $ac_func" >&5
15089 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15090 echo $ac_n "(cached) $ac_c" 1>&6
15092 cat > conftest.$ac_ext <<EOF
15093 #line 15094 "configure"
15094 #include "confdefs.h"
15095 /* System header to define __stub macros and hopefully few prototypes,
15096 which can conflict with char $ac_func(); below. */
15097 #include <assert.h>
15098 /* Override any gcc2 internal prototype to avoid an error. */
15099 /* We use char because int might match the return type of a gcc2
15100 builtin and then its argument prototype would still apply. */
15105 /* The GNU C library defines this for functions which it implements
15106 to always fail with ENOSYS. Some functions are actually named
15107 something starting with __ and the normal name is an alias. */
15108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15116 if { (eval echo configure:15117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15118 eval "ac_cv_func_$ac_func=yes"
15120 echo "configure: failed program was:" >&5
15121 cat conftest.$ac_ext >&5
15123 eval "ac_cv_func_$ac_func=no"
15128 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15129 echo "$ac_t""yes" 1>&6
15130 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15131 cat >> confdefs.h <<EOF
15132 #define $ac_tr_func 1
15136 echo "$ac_t""no" 1>&6
15145 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
15146 echo "configure:15147: checking for sincosl declaration" >&5
15147 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
15148 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
15149 echo $ac_n "(cached) $ac_c" 1>&6
15154 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15155 ac_cpp='$CXXCPP $CPPFLAGS'
15156 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15157 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15158 cross_compiling=$ac_cv_prog_cxx_cross
15160 cat > conftest.$ac_ext <<EOF
15161 #line 15162 "configure"
15162 #include "confdefs.h"
15168 if { (eval echo configure:15169: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15170 glibcpp_cv_func_sincosl_use=yes
15172 echo "configure: failed program was:" >&5
15173 cat conftest.$ac_ext >&5
15175 glibcpp_cv_func_sincosl_use=no
15179 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15180 ac_cpp='$CPP $CPPFLAGS'
15181 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15182 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15183 cross_compiling=$ac_cv_prog_cc_cross
15189 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
15191 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
15192 for ac_func in sincosl
15194 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15195 echo "configure:15196: checking for $ac_func" >&5
15196 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15197 echo $ac_n "(cached) $ac_c" 1>&6
15199 cat > conftest.$ac_ext <<EOF
15200 #line 15201 "configure"
15201 #include "confdefs.h"
15202 /* System header to define __stub macros and hopefully few prototypes,
15203 which can conflict with char $ac_func(); below. */
15204 #include <assert.h>
15205 /* Override any gcc2 internal prototype to avoid an error. */
15206 /* We use char because int might match the return type of a gcc2
15207 builtin and then its argument prototype would still apply. */
15212 /* The GNU C library defines this for functions which it implements
15213 to always fail with ENOSYS. Some functions are actually named
15214 something starting with __ and the normal name is an alias. */
15215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15223 if { (eval echo configure:15224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15225 eval "ac_cv_func_$ac_func=yes"
15227 echo "configure: failed program was:" >&5
15228 cat conftest.$ac_ext >&5
15230 eval "ac_cv_func_$ac_func=no"
15235 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15236 echo "$ac_t""yes" 1>&6
15237 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15238 cat >> confdefs.h <<EOF
15239 #define $ac_tr_func 1
15243 echo "$ac_t""no" 1>&6
15249 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
15250 echo "configure:15251: checking for _sincosl declaration" >&5
15251 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
15252 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
15253 echo $ac_n "(cached) $ac_c" 1>&6
15258 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15259 ac_cpp='$CXXCPP $CPPFLAGS'
15260 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15261 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15262 cross_compiling=$ac_cv_prog_cxx_cross
15264 cat > conftest.$ac_ext <<EOF
15265 #line 15266 "configure"
15266 #include "confdefs.h"
15272 if { (eval echo configure:15273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15274 glibcpp_cv_func__sincosl_use=yes
15276 echo "configure: failed program was:" >&5
15277 cat conftest.$ac_ext >&5
15279 glibcpp_cv_func__sincosl_use=no
15283 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15284 ac_cpp='$CPP $CPPFLAGS'
15285 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15286 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15287 cross_compiling=$ac_cv_prog_cc_cross
15293 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
15295 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
15296 for ac_func in _sincosl
15298 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15299 echo "configure:15300: checking for $ac_func" >&5
15300 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15301 echo $ac_n "(cached) $ac_c" 1>&6
15303 cat > conftest.$ac_ext <<EOF
15304 #line 15305 "configure"
15305 #include "confdefs.h"
15306 /* System header to define __stub macros and hopefully few prototypes,
15307 which can conflict with char $ac_func(); below. */
15308 #include <assert.h>
15309 /* Override any gcc2 internal prototype to avoid an error. */
15310 /* We use char because int might match the return type of a gcc2
15311 builtin and then its argument prototype would still apply. */
15316 /* The GNU C library defines this for functions which it implements
15317 to always fail with ENOSYS. Some functions are actually named
15318 something starting with __ and the normal name is an alias. */
15319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15327 if { (eval echo configure:15328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15329 eval "ac_cv_func_$ac_func=yes"
15331 echo "configure: failed program was:" >&5
15332 cat conftest.$ac_ext >&5
15334 eval "ac_cv_func_$ac_func=no"
15339 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15340 echo "$ac_t""yes" 1>&6
15341 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15342 cat >> confdefs.h <<EOF
15343 #define $ac_tr_func 1
15347 echo "$ac_t""no" 1>&6
15356 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
15357 echo "configure:15358: checking for finitel declaration" >&5
15358 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
15359 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_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_finitel_use=yes
15387 echo "configure: failed program was:" >&5
15388 cat conftest.$ac_ext >&5
15390 glibcpp_cv_func_finitel_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_finitel_use" 1>&6
15406 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
15407 for ac_func in finitel
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 _finitel declaration""... $ac_c" 1>&6
15465 echo "configure:15466: checking for _finitel declaration" >&5
15466 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
15467 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_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__finitel_use=yes
15495 echo "configure: failed program was:" >&5
15496 cat conftest.$ac_ext >&5
15498 glibcpp_cv_func__finitel_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__finitel_use" 1>&6
15514 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
15515 for ac_func in _finitel
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
15576 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
15577 echo "configure:15578: checking for _float trig functions" >&5
15578 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_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"
15595 `for x in _acosf _asinf _atanf \
15596 _cosf _sinf _tanf \
15597 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
15600 if { (eval echo configure:15601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15602 glibcpp_cv_func__float_trig_use=yes
15604 echo "configure: failed program was:" >&5
15605 cat conftest.$ac_ext >&5
15607 glibcpp_cv_func__float_trig_use=no
15611 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15612 ac_cpp='$CPP $CPPFLAGS'
15613 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15614 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15615 cross_compiling=$ac_cv_prog_cc_cross
15619 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
15620 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
15621 for ac_func in _acosf _asinf _atanf \
15622 _cosf _sinf _tanf \
15623 _coshf _sinhf _tanhf
15625 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15626 echo "configure:15627: checking for $ac_func" >&5
15627 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15628 echo $ac_n "(cached) $ac_c" 1>&6
15630 cat > conftest.$ac_ext <<EOF
15631 #line 15632 "configure"
15632 #include "confdefs.h"
15633 /* System header to define __stub macros and hopefully few prototypes,
15634 which can conflict with char $ac_func(); below. */
15635 #include <assert.h>
15636 /* Override any gcc2 internal prototype to avoid an error. */
15637 /* We use char because int might match the return type of a gcc2
15638 builtin and then its argument prototype would still apply. */
15643 /* The GNU C library defines this for functions which it implements
15644 to always fail with ENOSYS. Some functions are actually named
15645 something starting with __ and the normal name is an alias. */
15646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15654 if { (eval echo configure:15655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15656 eval "ac_cv_func_$ac_func=yes"
15658 echo "configure: failed program was:" >&5
15659 cat conftest.$ac_ext >&5
15661 eval "ac_cv_func_$ac_func=no"
15666 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15667 echo "$ac_t""yes" 1>&6
15668 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15669 cat >> confdefs.h <<EOF
15670 #define $ac_tr_func 1
15674 echo "$ac_t""no" 1>&6
15681 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
15682 echo "configure:15683: checking for _float round functions" >&5
15683 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
15684 echo $ac_n "(cached) $ac_c" 1>&6
15689 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15690 ac_cpp='$CXXCPP $CPPFLAGS'
15691 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15692 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15693 cross_compiling=$ac_cv_prog_cxx_cross
15695 cat > conftest.$ac_ext <<EOF
15696 #line 15697 "configure"
15697 #include "confdefs.h"
15700 `for x in _ceilf _floorf; do echo "$x (0);"; done`
15703 if { (eval echo configure:15704: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15705 glibcpp_cv_func__float_round_use=yes
15707 echo "configure: failed program was:" >&5
15708 cat conftest.$ac_ext >&5
15710 glibcpp_cv_func__float_round_use=no
15714 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15715 ac_cpp='$CPP $CPPFLAGS'
15716 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15717 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15718 cross_compiling=$ac_cv_prog_cc_cross
15722 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
15723 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
15724 for ac_func in _ceilf _floorf
15726 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15727 echo "configure:15728: checking for $ac_func" >&5
15728 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15729 echo $ac_n "(cached) $ac_c" 1>&6
15731 cat > conftest.$ac_ext <<EOF
15732 #line 15733 "configure"
15733 #include "confdefs.h"
15734 /* System header to define __stub macros and hopefully few prototypes,
15735 which can conflict with char $ac_func(); below. */
15736 #include <assert.h>
15737 /* Override any gcc2 internal prototype to avoid an error. */
15738 /* We use char because int might match the return type of a gcc2
15739 builtin and then its argument prototype would still apply. */
15744 /* The GNU C library defines this for functions which it implements
15745 to always fail with ENOSYS. Some functions are actually named
15746 something starting with __ and the normal name is an alias. */
15747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15755 if { (eval echo configure:15756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15757 eval "ac_cv_func_$ac_func=yes"
15759 echo "configure: failed program was:" >&5
15760 cat conftest.$ac_ext >&5
15762 eval "ac_cv_func_$ac_func=no"
15767 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15768 echo "$ac_t""yes" 1>&6
15769 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15770 cat >> confdefs.h <<EOF
15771 #define $ac_tr_func 1
15775 echo "$ac_t""no" 1>&6
15783 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
15784 echo "configure:15785: checking for _long double trig functions" >&5
15785 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
15786 echo $ac_n "(cached) $ac_c" 1>&6
15791 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15792 ac_cpp='$CXXCPP $CPPFLAGS'
15793 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15794 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15795 cross_compiling=$ac_cv_prog_cxx_cross
15797 cat > conftest.$ac_ext <<EOF
15798 #line 15799 "configure"
15799 #include "confdefs.h"
15802 `for x in _acosl _asinl _atanl \
15803 _cosl _sinl _tanl \
15804 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
15807 if { (eval echo configure:15808: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15809 glibcpp_cv_func__long_double_trig_use=yes
15811 echo "configure: failed program was:" >&5
15812 cat conftest.$ac_ext >&5
15814 glibcpp_cv_func__long_double_trig_use=no
15818 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15819 ac_cpp='$CPP $CPPFLAGS'
15820 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15821 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15822 cross_compiling=$ac_cv_prog_cc_cross
15826 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
15827 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
15828 for ac_func in _acosl _asinl _atanl \
15829 _cosl _sinl _tanl \
15830 _coshl _sinhl _tanhl
15832 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15833 echo "configure:15834: checking for $ac_func" >&5
15834 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15835 echo $ac_n "(cached) $ac_c" 1>&6
15837 cat > conftest.$ac_ext <<EOF
15838 #line 15839 "configure"
15839 #include "confdefs.h"
15840 /* System header to define __stub macros and hopefully few prototypes,
15841 which can conflict with char $ac_func(); below. */
15842 #include <assert.h>
15843 /* Override any gcc2 internal prototype to avoid an error. */
15844 /* We use char because int might match the return type of a gcc2
15845 builtin and then its argument prototype would still apply. */
15850 /* The GNU C library defines this for functions which it implements
15851 to always fail with ENOSYS. Some functions are actually named
15852 something starting with __ and the normal name is an alias. */
15853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15861 if { (eval echo configure:15862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15863 eval "ac_cv_func_$ac_func=yes"
15865 echo "configure: failed program was:" >&5
15866 cat conftest.$ac_ext >&5
15868 eval "ac_cv_func_$ac_func=no"
15873 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15874 echo "$ac_t""yes" 1>&6
15875 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15876 cat >> confdefs.h <<EOF
15877 #define $ac_tr_func 1
15881 echo "$ac_t""no" 1>&6
15888 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
15889 echo "configure:15890: checking for _long double round functions" >&5
15890 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
15891 echo $ac_n "(cached) $ac_c" 1>&6
15896 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15897 ac_cpp='$CXXCPP $CPPFLAGS'
15898 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15899 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15900 cross_compiling=$ac_cv_prog_cxx_cross
15902 cat > conftest.$ac_ext <<EOF
15903 #line 15904 "configure"
15904 #include "confdefs.h"
15907 `for x in _ceill _floorl; do echo "$x (0);"; done`
15910 if { (eval echo configure:15911: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15912 glibcpp_cv_func__long_double_round_use=yes
15914 echo "configure: failed program was:" >&5
15915 cat conftest.$ac_ext >&5
15917 glibcpp_cv_func__long_double_round_use=no
15921 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15922 ac_cpp='$CPP $CPPFLAGS'
15923 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15924 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15925 cross_compiling=$ac_cv_prog_cc_cross
15929 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
15930 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
15931 for ac_func in _ceill _floorl
15933 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15934 echo "configure:15935: checking for $ac_func" >&5
15935 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15936 echo $ac_n "(cached) $ac_c" 1>&6
15938 cat > conftest.$ac_ext <<EOF
15939 #line 15940 "configure"
15940 #include "confdefs.h"
15941 /* System header to define __stub macros and hopefully few prototypes,
15942 which can conflict with char $ac_func(); below. */
15943 #include <assert.h>
15944 /* Override any gcc2 internal prototype to avoid an error. */
15945 /* We use char because int might match the return type of a gcc2
15946 builtin and then its argument prototype would still apply. */
15951 /* The GNU C library defines this for functions which it implements
15952 to always fail with ENOSYS. Some functions are actually named
15953 something starting with __ and the normal name is an alias. */
15954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15962 if { (eval echo configure:15963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15964 eval "ac_cv_func_$ac_func=yes"
15966 echo "configure: failed program was:" >&5
15967 cat conftest.$ac_ext >&5
15969 eval "ac_cv_func_$ac_func=no"
15974 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15975 echo "$ac_t""yes" 1>&6
15976 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15977 cat >> confdefs.h <<EOF
15978 #define $ac_tr_func 1
15982 echo "$ac_t""no" 1>&6
15989 LIBS="$ac_save_LIBS"
15990 CXXFLAGS="$ac_save_CXXFLAGS"
15993 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
15994 echo "configure:15995: checking for main in -lm" >&5
15995 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
15996 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15997 echo $ac_n "(cached) $ac_c" 1>&6
15999 ac_save_LIBS="$LIBS"
16001 cat > conftest.$ac_ext <<EOF
16002 #line 16003 "configure"
16003 #include "confdefs.h"
16009 if { (eval echo configure:16010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16011 eval "ac_cv_lib_$ac_lib_var=yes"
16013 echo "configure: failed program was:" >&5
16014 cat conftest.$ac_ext >&5
16016 eval "ac_cv_lib_$ac_lib_var=no"
16019 LIBS="$ac_save_LIBS"
16022 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16023 echo "$ac_t""yes" 1>&6
16024 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
16025 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
16026 cat >> confdefs.h <<EOF
16027 #define $ac_tr_lib 1
16033 echo "$ac_t""no" 1>&6
16036 for ac_func in nan copysignf
16038 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16039 echo "configure:16040: checking for $ac_func" >&5
16040 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16041 echo $ac_n "(cached) $ac_c" 1>&6
16043 cat > conftest.$ac_ext <<EOF
16044 #line 16045 "configure"
16045 #include "confdefs.h"
16046 /* System header to define __stub macros and hopefully few prototypes,
16047 which can conflict with char $ac_func(); below. */
16048 #include <assert.h>
16049 /* Override any gcc2 internal prototype to avoid an error. */
16050 /* We use char because int might match the return type of a gcc2
16051 builtin and then its argument prototype would still apply. */
16056 /* The GNU C library defines this for functions which it implements
16057 to always fail with ENOSYS. Some functions are actually named
16058 something starting with __ and the normal name is an alias. */
16059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16067 if { (eval echo configure:16068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16069 eval "ac_cv_func_$ac_func=yes"
16071 echo "configure: failed program was:" >&5
16072 cat conftest.$ac_ext >&5
16074 eval "ac_cv_func_$ac_func=no"
16079 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16080 echo "$ac_t""yes" 1>&6
16081 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16082 cat >> confdefs.h <<EOF
16083 #define $ac_tr_func 1
16087 echo "$ac_t""no" 1>&6
16088 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
16094 USE_COMPLEX_LONG_DOUBLE=no
16095 if test x$ac_cv_func_copysignl = x"yes"; then
16096 USE_COMPLEX_LONG_DOUBLE=yes
16097 for ac_func in signbitl
16099 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16100 echo "configure:16101: checking for $ac_func" >&5
16101 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16102 echo $ac_n "(cached) $ac_c" 1>&6
16104 cat > conftest.$ac_ext <<EOF
16105 #line 16106 "configure"
16106 #include "confdefs.h"
16107 /* System header to define __stub macros and hopefully few prototypes,
16108 which can conflict with char $ac_func(); below. */
16109 #include <assert.h>
16110 /* Override any gcc2 internal prototype to avoid an error. */
16111 /* We use char because int might match the return type of a gcc2
16112 builtin and then its argument prototype would still apply. */
16117 /* The GNU C library defines this for functions which it implements
16118 to always fail with ENOSYS. Some functions are actually named
16119 something starting with __ and the normal name is an alias. */
16120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16128 if { (eval echo configure:16129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16130 eval "ac_cv_func_$ac_func=yes"
16132 echo "configure: failed program was:" >&5
16133 cat conftest.$ac_ext >&5
16135 eval "ac_cv_func_$ac_func=no"
16140 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16141 echo "$ac_t""yes" 1>&6
16142 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16143 cat >> confdefs.h <<EOF
16144 #define $ac_tr_func 1
16148 echo "$ac_t""no" 1>&6
16149 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
16160 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
16161 echo "configure:16162: checking for mbstate_t" >&5
16162 cat > conftest.$ac_ext <<EOF
16163 #line 16164 "configure"
16164 #include "confdefs.h"
16167 mbstate_t teststate;
16170 if { (eval echo configure:16171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16174 echo "configure: failed program was:" >&5
16175 cat conftest.$ac_ext >&5
16180 echo "$ac_t""$have_mbstate_t" 1>&6
16181 if test x"$have_mbstate_t" = xyes; then
16182 cat >> confdefs.h <<\EOF
16183 #define HAVE_MBSTATE_T 1
16188 for ac_hdr in wchar.h
16190 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16191 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16192 echo "configure:16193: checking for $ac_hdr" >&5
16193 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16194 echo $ac_n "(cached) $ac_c" 1>&6
16196 cat > conftest.$ac_ext <<EOF
16197 #line 16198 "configure"
16198 #include "confdefs.h"
16201 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16202 { (eval echo configure:16203: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16203 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16204 if test -z "$ac_err"; then
16206 eval "ac_cv_header_$ac_safe=yes"
16209 echo "configure: failed program was:" >&5
16210 cat conftest.$ac_ext >&5
16212 eval "ac_cv_header_$ac_safe=no"
16216 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16217 echo "$ac_t""yes" 1>&6
16218 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16219 cat >> confdefs.h <<EOF
16220 #define $ac_tr_hdr 1
16224 echo "$ac_t""no" 1>&6
16229 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
16230 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
16231 echo "configure:16232: checking for wctype.h" >&5
16232 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16233 echo $ac_n "(cached) $ac_c" 1>&6
16235 cat > conftest.$ac_ext <<EOF
16236 #line 16237 "configure"
16237 #include "confdefs.h"
16238 #include <wctype.h>
16240 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16241 { (eval echo configure:16242: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16242 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16243 if test -z "$ac_err"; then
16245 eval "ac_cv_header_$ac_safe=yes"
16248 echo "configure: failed program was:" >&5
16249 cat conftest.$ac_ext >&5
16251 eval "ac_cv_header_$ac_safe=no"
16255 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16256 echo "$ac_t""yes" 1>&6
16257 ac_has_wctype_h=yes
16259 echo "$ac_t""no" 1>&6
16264 if test x"$ac_has_wchar_h" = xyes &&
16265 test x"$ac_has_wctype_h" = xyes &&
16266 test x"$enable_c_mbchar" != xno; then
16268 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
16269 echo "configure:16270: checking for WCHAR_MIN and WCHAR_MAX" >&5
16270 cat > conftest.$ac_ext <<EOF
16271 #line 16272 "configure"
16272 #include "confdefs.h"
16275 int i = WCHAR_MIN; int j = WCHAR_MAX;
16278 if { (eval echo configure:16279: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16280 has_wchar_minmax=yes
16282 echo "configure: failed program was:" >&5
16283 cat conftest.$ac_ext >&5
16285 has_wchar_minmax=no
16288 echo "$ac_t""$has_wchar_minmax" 1>&6
16290 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
16291 echo "configure:16292: checking for WEOF" >&5
16292 cat > conftest.$ac_ext <<EOF
16293 #line 16294 "configure"
16294 #include "confdefs.h"
16297 #include <stddef.h>
16302 if { (eval echo configure:16303: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16306 echo "configure: failed program was:" >&5
16307 cat conftest.$ac_ext >&5
16312 echo "$ac_t""$has_weof" 1>&6
16315 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
16317 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16318 echo "configure:16319: checking for $ac_func" >&5
16319 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16320 echo $ac_n "(cached) $ac_c" 1>&6
16322 cat > conftest.$ac_ext <<EOF
16323 #line 16324 "configure"
16324 #include "confdefs.h"
16325 /* System header to define __stub macros and hopefully few prototypes,
16326 which can conflict with char $ac_func(); below. */
16327 #include <assert.h>
16328 /* Override any gcc2 internal prototype to avoid an error. */
16329 /* We use char because int might match the return type of a gcc2
16330 builtin and then its argument prototype would still apply. */
16335 /* The GNU C library defines this for functions which it implements
16336 to always fail with ENOSYS. Some functions are actually named
16337 something starting with __ and the normal name is an alias. */
16338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16346 if { (eval echo configure:16347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16348 eval "ac_cv_func_$ac_func=yes"
16350 echo "configure: failed program was:" >&5
16351 cat conftest.$ac_ext >&5
16353 eval "ac_cv_func_$ac_func=no"
16358 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16359 echo "$ac_t""yes" 1>&6
16360 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16361 cat >> confdefs.h <<EOF
16362 #define $ac_tr_func 1
16366 echo "$ac_t""no" 1>&6
16373 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
16374 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
16375 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
16376 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
16377 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
16378 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
16380 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16381 echo "configure:16382: checking for $ac_func" >&5
16382 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16383 echo $ac_n "(cached) $ac_c" 1>&6
16385 cat > conftest.$ac_ext <<EOF
16386 #line 16387 "configure"
16387 #include "confdefs.h"
16388 /* System header to define __stub macros and hopefully few prototypes,
16389 which can conflict with char $ac_func(); below. */
16390 #include <assert.h>
16391 /* Override any gcc2 internal prototype to avoid an error. */
16392 /* We use char because int might match the return type of a gcc2
16393 builtin and then its argument prototype would still apply. */
16398 /* The GNU C library defines this for functions which it implements
16399 to always fail with ENOSYS. Some functions are actually named
16400 something starting with __ and the normal name is an alias. */
16401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16409 if { (eval echo configure:16410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16411 eval "ac_cv_func_$ac_func=yes"
16413 echo "configure: failed program was:" >&5
16414 cat conftest.$ac_ext >&5
16416 eval "ac_cv_func_$ac_func=no"
16421 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16422 echo "$ac_t""yes" 1>&6
16423 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16424 cat >> confdefs.h <<EOF
16425 #define $ac_tr_func 1
16429 echo "$ac_t""no" 1>&6
16436 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
16437 echo "configure:16438: checking for ISO C99 wchar_t support" >&5
16438 if test x"$has_weof" = xyes &&
16439 test x"$has_wchar_minmax" = xyes &&
16440 test x"$ac_wfuncs" = xyes; then
16441 ac_isoC99_wchar_t=yes
16443 ac_isoC99_wchar_t=no
16445 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
16447 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
16448 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
16449 echo "configure:16450: checking for iconv.h" >&5
16450 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16451 echo $ac_n "(cached) $ac_c" 1>&6
16453 cat > conftest.$ac_ext <<EOF
16454 #line 16455 "configure"
16455 #include "confdefs.h"
16458 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16459 { (eval echo configure:16460: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16460 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16461 if test -z "$ac_err"; then
16463 eval "ac_cv_header_$ac_safe=yes"
16466 echo "configure: failed program was:" >&5
16467 cat conftest.$ac_ext >&5
16469 eval "ac_cv_header_$ac_safe=no"
16473 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16474 echo "$ac_t""yes" 1>&6
16477 echo "$ac_t""no" 1>&6
16481 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
16482 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
16483 echo "configure:16484: checking for langinfo.h" >&5
16484 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16485 echo $ac_n "(cached) $ac_c" 1>&6
16487 cat > conftest.$ac_ext <<EOF
16488 #line 16489 "configure"
16489 #include "confdefs.h"
16490 #include <langinfo.h>
16492 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16493 { (eval echo configure:16494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16494 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16495 if test -z "$ac_err"; then
16497 eval "ac_cv_header_$ac_safe=yes"
16500 echo "configure: failed program was:" >&5
16501 cat conftest.$ac_ext >&5
16503 eval "ac_cv_header_$ac_safe=no"
16507 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16508 echo "$ac_t""yes" 1>&6
16509 ac_has_langinfo_h=yes
16511 echo "$ac_t""no" 1>&6
16512 ac_has_langinfo_h=no
16516 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
16517 echo "configure:16518: checking for iconv in -liconv" >&5
16518 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
16519 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16520 echo $ac_n "(cached) $ac_c" 1>&6
16522 ac_save_LIBS="$LIBS"
16523 LIBS="-liconv $LIBS"
16524 cat > conftest.$ac_ext <<EOF
16525 #line 16526 "configure"
16526 #include "confdefs.h"
16527 /* Override any gcc2 internal prototype to avoid an error. */
16528 /* We use char because int might match the return type of a gcc2
16529 builtin and then its argument prototype would still apply. */
16536 if { (eval echo configure:16537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16538 eval "ac_cv_lib_$ac_lib_var=yes"
16540 echo "configure: failed program was:" >&5
16541 cat conftest.$ac_ext >&5
16543 eval "ac_cv_lib_$ac_lib_var=no"
16546 LIBS="$ac_save_LIBS"
16549 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16550 echo "$ac_t""yes" 1>&6
16553 echo "$ac_t""no" 1>&6
16556 ac_save_LIBS="$LIBS"
16557 LIBS="$LIBS $libiconv"
16559 for ac_func in iconv_open iconv_close iconv nl_langinfo
16561 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16562 echo "configure:16563: checking for $ac_func" >&5
16563 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16564 echo $ac_n "(cached) $ac_c" 1>&6
16566 cat > conftest.$ac_ext <<EOF
16567 #line 16568 "configure"
16568 #include "confdefs.h"
16569 /* System header to define __stub macros and hopefully few prototypes,
16570 which can conflict with char $ac_func(); below. */
16571 #include <assert.h>
16572 /* Override any gcc2 internal prototype to avoid an error. */
16573 /* We use char because int might match the return type of a gcc2
16574 builtin and then its argument prototype would still apply. */
16579 /* The GNU C library defines this for functions which it implements
16580 to always fail with ENOSYS. Some functions are actually named
16581 something starting with __ and the normal name is an alias. */
16582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16590 if { (eval echo configure:16591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16592 eval "ac_cv_func_$ac_func=yes"
16594 echo "configure: failed program was:" >&5
16595 cat conftest.$ac_ext >&5
16597 eval "ac_cv_func_$ac_func=no"
16602 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16603 echo "$ac_t""yes" 1>&6
16604 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16605 cat >> confdefs.h <<EOF
16606 #define $ac_tr_func 1
16611 echo "$ac_t""no" 1>&6
16617 LIBS="$ac_save_LIBS"
16619 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
16620 echo "configure:16621: checking for XPG2 wchar_t support" >&5
16621 if test x"$ac_has_iconv_h" = xyes &&
16622 test x"$ac_has_langinfo_h" = xyes &&
16623 test x"$ac_XPG2funcs" = xyes; then
16624 ac_XPG2_wchar_t=yes
16628 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
16630 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
16631 echo "configure:16632: checking for enabled wchar_t specializations" >&5
16632 if test x"$ac_isoC99_wchar_t" = xyes &&
16633 test x"$ac_XPG2_wchar_t" = xyes; then
16634 cat >> confdefs.h <<\EOF
16635 #define _GLIBCPP_USE_WCHAR_T 1
16638 echo "$ac_t"""yes"" 1>&6
16640 echo "$ac_t"""no"" 1>&6
16643 echo "configure: warning: wchar_t support disabled." 1>&2
16647 ac_test_CXXFLAGS="${CXXFLAGS+set}"
16648 ac_save_CXXFLAGS="$CXXFLAGS"
16649 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
16652 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
16653 echo "configure:16654: checking for strtold declaration" >&5
16654 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
16655 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
16656 echo $ac_n "(cached) $ac_c" 1>&6
16661 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16662 ac_cpp='$CXXCPP $CPPFLAGS'
16663 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16664 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16665 cross_compiling=$ac_cv_prog_cxx_cross
16667 cat > conftest.$ac_ext <<EOF
16668 #line 16669 "configure"
16669 #include "confdefs.h"
16670 #include <stdlib.h>
16675 if { (eval echo configure:16676: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16677 glibcpp_cv_func_strtold_use=yes
16679 echo "configure: failed program was:" >&5
16680 cat conftest.$ac_ext >&5
16682 glibcpp_cv_func_strtold_use=no
16686 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16687 ac_cpp='$CPP $CPPFLAGS'
16688 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16689 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16690 cross_compiling=$ac_cv_prog_cc_cross
16696 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
16697 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
16698 for ac_func in strtold
16700 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16701 echo "configure:16702: checking for $ac_func" >&5
16702 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16703 echo $ac_n "(cached) $ac_c" 1>&6
16705 cat > conftest.$ac_ext <<EOF
16706 #line 16707 "configure"
16707 #include "confdefs.h"
16708 /* System header to define __stub macros and hopefully few prototypes,
16709 which can conflict with char $ac_func(); below. */
16710 #include <assert.h>
16711 /* Override any gcc2 internal prototype to avoid an error. */
16712 /* We use char because int might match the return type of a gcc2
16713 builtin and then its argument prototype would still apply. */
16718 /* The GNU C library defines this for functions which it implements
16719 to always fail with ENOSYS. Some functions are actually named
16720 something starting with __ and the normal name is an alias. */
16721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16729 if { (eval echo configure:16730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16731 eval "ac_cv_func_$ac_func=yes"
16733 echo "configure: failed program was:" >&5
16734 cat conftest.$ac_ext >&5
16736 eval "ac_cv_func_$ac_func=no"
16741 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16742 echo "$ac_t""yes" 1>&6
16743 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16744 cat >> confdefs.h <<EOF
16745 #define $ac_tr_func 1
16749 echo "$ac_t""no" 1>&6
16755 for ac_func in drand48
16757 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16758 echo "configure:16759: checking for $ac_func" >&5
16759 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16760 echo $ac_n "(cached) $ac_c" 1>&6
16762 cat > conftest.$ac_ext <<EOF
16763 #line 16764 "configure"
16764 #include "confdefs.h"
16765 /* System header to define __stub macros and hopefully few prototypes,
16766 which can conflict with char $ac_func(); below. */
16767 #include <assert.h>
16768 /* Override any gcc2 internal prototype to avoid an error. */
16769 /* We use char because int might match the return type of a gcc2
16770 builtin and then its argument prototype would still apply. */
16775 /* The GNU C library defines this for functions which it implements
16776 to always fail with ENOSYS. Some functions are actually named
16777 something starting with __ and the normal name is an alias. */
16778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16786 if { (eval echo configure:16787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16788 eval "ac_cv_func_$ac_func=yes"
16790 echo "configure: failed program was:" >&5
16791 cat conftest.$ac_ext >&5
16793 eval "ac_cv_func_$ac_func=no"
16798 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16799 echo "$ac_t""yes" 1>&6
16800 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16801 cat >> confdefs.h <<EOF
16802 #define $ac_tr_func 1
16806 echo "$ac_t""no" 1>&6
16811 CXXFLAGS="$ac_save_CXXFLAGS"
16814 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
16815 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
16816 echo "configure:16817: checking for locale.h" >&5
16817 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16818 echo $ac_n "(cached) $ac_c" 1>&6
16820 cat > conftest.$ac_ext <<EOF
16821 #line 16822 "configure"
16822 #include "confdefs.h"
16823 #include <locale.h>
16825 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16826 { (eval echo configure:16827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16827 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16828 if test -z "$ac_err"; then
16830 eval "ac_cv_header_$ac_safe=yes"
16833 echo "configure: failed program was:" >&5
16834 cat conftest.$ac_ext >&5
16836 eval "ac_cv_header_$ac_safe=no"
16840 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16841 echo "$ac_t""yes" 1>&6
16843 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
16844 echo "configure:16845: checking for LC_MESSAGES" >&5
16845 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
16846 echo $ac_n "(cached) $ac_c" 1>&6
16848 cat > conftest.$ac_ext <<EOF
16849 #line 16850 "configure"
16850 #include "confdefs.h"
16851 #include <locale.h>
16856 if { (eval echo configure:16857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16858 ac_cv_val_LC_MESSAGES=yes
16860 echo "configure: failed program was:" >&5
16861 cat conftest.$ac_ext >&5
16863 ac_cv_val_LC_MESSAGES=no
16868 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
16869 if test $ac_cv_val_LC_MESSAGES = yes; then
16870 cat >> confdefs.h <<\EOF
16871 #define HAVE_LC_MESSAGES 1
16877 echo "$ac_t""no" 1>&6
16882 cat > conftest.$ac_ext <<EOF
16883 #line 16884 "configure"
16884 #include "confdefs.h"
16886 #include <setjmp.h>
16889 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
16892 if { (eval echo configure:16893: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16894 cat >> confdefs.h <<\EOF
16895 #define HAVE_SIGSETJMP 1
16900 echo "configure: failed program was:" >&5
16901 cat conftest.$ac_ext >&5
16905 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
16907 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16908 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16909 echo "configure:16910: checking for $ac_hdr" >&5
16910 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16911 echo $ac_n "(cached) $ac_c" 1>&6
16913 cat > conftest.$ac_ext <<EOF
16914 #line 16915 "configure"
16915 #include "confdefs.h"
16918 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16919 { (eval echo configure:16920: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16920 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16921 if test -z "$ac_err"; then
16923 eval "ac_cv_header_$ac_safe=yes"
16926 echo "configure: failed program was:" >&5
16927 cat conftest.$ac_ext >&5
16929 eval "ac_cv_header_$ac_safe=no"
16933 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16934 echo "$ac_t""yes" 1>&6
16935 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16936 cat >> confdefs.h <<EOF
16937 #define $ac_tr_hdr 1
16941 echo "$ac_t""no" 1>&6
16945 for ac_func in getpagesize
16947 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16948 echo "configure:16949: checking for $ac_func" >&5
16949 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16950 echo $ac_n "(cached) $ac_c" 1>&6
16952 cat > conftest.$ac_ext <<EOF
16953 #line 16954 "configure"
16954 #include "confdefs.h"
16955 /* System header to define __stub macros and hopefully few prototypes,
16956 which can conflict with char $ac_func(); below. */
16957 #include <assert.h>
16958 /* Override any gcc2 internal prototype to avoid an error. */
16959 /* We use char because int might match the return type of a gcc2
16960 builtin and then its argument prototype would still apply. */
16965 /* The GNU C library defines this for functions which it implements
16966 to always fail with ENOSYS. Some functions are actually named
16967 something starting with __ and the normal name is an alias. */
16968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16976 if { (eval echo configure:16977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16978 eval "ac_cv_func_$ac_func=yes"
16980 echo "configure: failed program was:" >&5
16981 cat conftest.$ac_ext >&5
16983 eval "ac_cv_func_$ac_func=no"
16988 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16989 echo "$ac_t""yes" 1>&6
16990 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16991 cat >> confdefs.h <<EOF
16992 #define $ac_tr_func 1
16996 echo "$ac_t""no" 1>&6
17000 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
17001 echo "configure:17002: checking for working mmap" >&5
17002 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
17003 echo $ac_n "(cached) $ac_c" 1>&6
17005 if test "$cross_compiling" = yes; then
17006 ac_cv_func_mmap_fixed_mapped=no
17008 cat > conftest.$ac_ext <<EOF
17009 #line 17010 "configure"
17010 #include "confdefs.h"
17012 /* Thanks to Mike Haertel and Jim Avera for this test.
17013 Here is a matrix of mmap possibilities:
17014 mmap private not fixed
17015 mmap private fixed at somewhere currently unmapped
17016 mmap private fixed at somewhere already mapped
17017 mmap shared not fixed
17018 mmap shared fixed at somewhere currently unmapped
17019 mmap shared fixed at somewhere already mapped
17020 For private mappings, we should verify that changes cannot be read()
17021 back from the file, nor mmap's back from the file at a different
17022 address. (There have been systems where private was not correctly
17023 implemented like the infamous i386 svr4.0, and systems where the
17024 VM page cache was not coherent with the filesystem buffer cache
17025 like early versions of FreeBSD and possibly contemporary NetBSD.)
17026 For shared mappings, we should conversely verify that changes get
17027 propogated back to all the places they're supposed to be.
17029 Grep wants private fixed already mapped.
17030 The main things grep needs to know about mmap are:
17031 * does it exist and is it safe to write into the mmap'd area
17032 * how to use it (BSD variants) */
17033 #include <sys/types.h>
17035 #include <sys/mman.h>
17037 #if HAVE_SYS_TYPES_H
17038 # include <sys/types.h>
17042 # include <stdlib.h>
17045 #if HAVE_SYS_STAT_H
17046 # include <sys/stat.h>
17050 # include <unistd.h>
17053 /* This mess was copied from the GNU getpagesize.h. */
17054 #ifndef HAVE_GETPAGESIZE
17056 /* Assume that all systems that can run configure have sys/param.h. */
17057 # ifndef HAVE_SYS_PARAM_H
17058 # define HAVE_SYS_PARAM_H 1
17061 # ifdef _SC_PAGESIZE
17062 # define getpagesize() sysconf(_SC_PAGESIZE)
17063 # else /* no _SC_PAGESIZE */
17064 # ifdef HAVE_SYS_PARAM_H
17065 # include <sys/param.h>
17066 # ifdef EXEC_PAGESIZE
17067 # define getpagesize() EXEC_PAGESIZE
17068 # else /* no EXEC_PAGESIZE */
17070 # define getpagesize() NBPG * CLSIZE
17073 # endif /* no CLSIZE */
17074 # else /* no NBPG */
17076 # define getpagesize() NBPC
17077 # else /* no NBPC */
17079 # define getpagesize() PAGESIZE
17080 # endif /* PAGESIZE */
17081 # endif /* no NBPC */
17082 # endif /* no NBPG */
17083 # endif /* no EXEC_PAGESIZE */
17084 # else /* no HAVE_SYS_PARAM_H */
17085 # define getpagesize() 8192 /* punt totally */
17086 # endif /* no HAVE_SYS_PARAM_H */
17087 # endif /* no _SC_PAGESIZE */
17089 #endif /* no HAVE_GETPAGESIZE */
17092 extern "C" { void *malloc(unsigned); }
17100 char *data, *data2, *data3;
17104 pagesize = getpagesize();
17107 * First, make a file with some known garbage in it.
17109 data = malloc(pagesize);
17112 for (i = 0; i < pagesize; ++i)
17113 *(data + i) = rand();
17115 fd = creat("conftestmmap", 0600);
17118 if (write(fd, data, pagesize) != pagesize)
17123 * Next, try to mmap the file at a fixed address which
17124 * already has something else allocated at it. If we can,
17125 * also make sure that we see the same garbage.
17127 fd = open("conftestmmap", O_RDWR);
17130 data2 = malloc(2 * pagesize);
17133 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
17134 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
17135 MAP_PRIVATE | MAP_FIXED, fd, 0L))
17137 for (i = 0; i < pagesize; ++i)
17138 if (*(data + i) != *(data2 + i))
17142 * Finally, make sure that changes to the mapped area
17143 * do not percolate back to the file as seen by read().
17144 * (This is a bug on some variants of i386 svr4.0.)
17146 for (i = 0; i < pagesize; ++i)
17147 *(data2 + i) = *(data2 + i) + 1;
17148 data3 = malloc(pagesize);
17151 if (read(fd, data3, pagesize) != pagesize)
17153 for (i = 0; i < pagesize; ++i)
17154 if (*(data + i) != *(data3 + i))
17157 unlink("conftestmmap");
17162 if { (eval echo configure:17163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
17164 ac_cv_func_mmap_fixed_mapped=yes
17166 echo "configure: failed program was:" >&5
17167 cat conftest.$ac_ext >&5
17169 ac_cv_func_mmap_fixed_mapped=no
17176 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
17177 if test $ac_cv_func_mmap_fixed_mapped = yes; then
17178 cat >> confdefs.h <<\EOF
17179 #define HAVE_MMAP 1
17185 # Establish limits on memory usage during 'make check'
17188 setrlimit_have_headers=yes
17189 for ac_hdr in sys/resource.h unistd.h
17191 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17192 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17193 echo "configure:17194: checking for $ac_hdr" >&5
17194 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17195 echo $ac_n "(cached) $ac_c" 1>&6
17197 cat > conftest.$ac_ext <<EOF
17198 #line 17199 "configure"
17199 #include "confdefs.h"
17202 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17203 { (eval echo configure:17204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17204 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17205 if test -z "$ac_err"; then
17207 eval "ac_cv_header_$ac_safe=yes"
17210 echo "configure: failed program was:" >&5
17211 cat conftest.$ac_ext >&5
17213 eval "ac_cv_header_$ac_safe=no"
17217 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17218 echo "$ac_t""yes" 1>&6
17219 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17220 cat >> confdefs.h <<EOF
17221 #define $ac_tr_hdr 1
17225 echo "$ac_t""no" 1>&6
17226 setrlimit_have_headers=no
17230 # If don't have the headers, then we can't run the tests now, and we
17231 # won't be seeing any of these during testsuite compilation.
17232 if test $setrlimit_have_headers = yes; then
17233 # Can't do these in a loop, else the resulting syntax is wrong.
17235 cat > conftest.$ac_ext <<EOF
17236 #line 17237 "configure"
17237 #include "confdefs.h"
17238 #include <sys/resource.h>
17239 #include <unistd.h>
17242 int f = RLIMIT_DATA ;
17245 if { (eval echo configure:17246: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17249 echo "configure: failed program was:" >&5
17250 cat conftest.$ac_ext >&5
17255 cat >> confdefs.h <<EOF
17256 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
17261 cat > conftest.$ac_ext <<EOF
17262 #line 17263 "configure"
17263 #include "confdefs.h"
17264 #include <sys/resource.h>
17265 #include <unistd.h>
17268 int f = RLIMIT_RSS ;
17271 if { (eval echo configure:17272: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17275 echo "configure: failed program was:" >&5
17276 cat conftest.$ac_ext >&5
17281 cat >> confdefs.h <<EOF
17282 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
17287 cat > conftest.$ac_ext <<EOF
17288 #line 17289 "configure"
17289 #include "confdefs.h"
17290 #include <sys/resource.h>
17291 #include <unistd.h>
17294 int f = RLIMIT_VMEM ;
17297 if { (eval echo configure:17298: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17301 echo "configure: failed program was:" >&5
17302 cat conftest.$ac_ext >&5
17307 cat >> confdefs.h <<EOF
17308 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
17313 cat > conftest.$ac_ext <<EOF
17314 #line 17315 "configure"
17315 #include "confdefs.h"
17316 #include <sys/resource.h>
17317 #include <unistd.h>
17320 int f = RLIMIT_AS ;
17323 if { (eval echo configure:17324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17327 echo "configure: failed program was:" >&5
17328 cat conftest.$ac_ext >&5
17333 cat >> confdefs.h <<EOF
17334 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
17339 # Check for rlimit, setrlimit.
17340 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
17341 echo $ac_n "(cached) $ac_c" 1>&6
17344 cat > conftest.$ac_ext <<EOF
17345 #line 17346 "configure"
17346 #include "confdefs.h"
17347 #include <sys/resource.h>
17348 #include <unistd.h>
17351 struct rlimit r; setrlimit(0, &r);
17354 if { (eval echo configure:17355: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17358 echo "configure: failed program was:" >&5
17359 cat conftest.$ac_ext >&5
17369 echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
17370 echo "configure:17371: checking for testsuite memory limit support" >&5
17371 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
17373 cat >> confdefs.h <<\EOF
17374 #define _GLIBCPP_MEM_LIMITS 1
17380 echo "$ac_t""$ac_mem_limits" 1>&6
17386 # Propagate the target-specific source directories through the build chain.
17387 OS_INC_SRCDIR=$os_include_dir/bits
17388 ATOMICITY_INC_SRCDIR=$ATOMICITYH/bits
17389 CPU_LIMITS_INC_SRCDIR=$CPULIMITSH/bits
17394 # Set up cross-compile flags
17398 if test "$CANADIAN" = yes; then
17406 cat > confcache <<\EOF
17407 # This file is a shell script that caches the results of configure
17408 # tests run on this system so they can be shared between configure
17409 # scripts and configure runs. It is not useful on other systems.
17410 # If it contains results you don't want to keep, you may remove or edit it.
17412 # By default, configure uses ./config.cache as the cache file,
17413 # creating it if it does not exist already. You can give configure
17414 # the --cache-file=FILE option to use a different cache file; that is
17415 # what configure does when it calls configure scripts in
17416 # subdirectories, so they share the cache.
17417 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17418 # config.status only pays attention to the cache file if you give it the
17419 # --recheck option to rerun configure.
17422 # The following way of writing the cache mishandles newlines in values,
17423 # but we know of no workaround that is simple, portable, and efficient.
17424 # So, don't put newlines in cache variables' values.
17425 # Ultrix sh set writes to stderr and can't be redirected directly,
17426 # and sets the high bit in the cache file unless we assign to the vars.
17428 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17430 # `set' does not quote correctly, so add quotes (double-quote substitution
17431 # turns \\\\ into \\, and sed turns \\ into \).
17433 -e "s/'/'\\\\''/g" \
17434 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17437 # `set' quotes correctly as required by POSIX, so do not add quotes.
17438 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17441 if cmp -s $cache_file confcache; then
17444 if test -w $cache_file; then
17445 echo "updating cache $cache_file"
17446 cat confcache > $cache_file
17448 echo "not updating unwritable cache $cache_file"
17454 if test "${multilib}" = "yes"; then
17455 multilib_arg="--enable-multilib"
17460 # Needed so that g++ can find the correct include subdir automatically.
17463 # Export all the install information
17465 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
17466 # exported correctly in GLIBCPP_CONFIGURE.
17467 glibcpp_toolexecdir=no
17468 glibcpp_toolexeclibdir=no
17469 glibcpp_prefixdir=${prefix}
17471 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
17472 echo "configure:17473: checking for interface version number" >&5
17473 libstdcxx_interface=$INTERFACE
17474 echo "$ac_t""$libstdcxx_interface" 1>&6
17476 # Process the option --with-gxx-include-dir=<path to include-files directory>
17477 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
17478 echo "configure:17479: checking for --with-gxx-include-dir" >&5
17479 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
17480 if test "${with_gxx_include_dir+set}" = set; then
17481 withval="$with_gxx_include_dir"
17482 case "${withval}" in
17484 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
17491 gxx_include_dir=${withval}
17498 echo "$ac_t""$gxx_include_dir" 1>&6
17500 # Process the option "--enable-version-specific-runtime-libs"
17501 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
17502 echo "configure:17503: checking for --enable-version-specific-runtime-libs" >&5
17503 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
17504 if test "${enable_version_specific_runtime_libs+set}" = set; then
17505 enableval="$enable_version_specific_runtime_libs"
17506 case "$enableval" in
17507 yes) version_specific_libs=yes ;;
17508 no) version_specific_libs=no ;;
17509 *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
17512 version_specific_libs=no
17514 # Option set, now we can test it.
17515 echo "$ac_t""$version_specific_libs" 1>&6
17517 if test $version_specific_libs = yes; then
17518 # Need the gcc compiler version to know where to install libraries
17519 # and header files if --enable-version-specific-runtime-libs option
17521 gcc_version_trigger=${srcdir}/../gcc/version.c
17522 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
17523 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
17524 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/g++
17525 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
17526 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
17529 # Default case for install directory for include files.
17530 if test $version_specific_libs = no &&
17531 test $gxx_include_dir = no; then
17532 gxx_include_dir='$(prefix)'/include/g++-${libstdcxx_interface}
17535 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
17536 # Install a library built with a cross compiler in tooldir, not libdir.
17537 if test x"$glibcpp_toolexecdir" = x"no"; then
17538 if test -n "$with_cross_host" &&
17539 test x"$with_cross_host" != x"no"; then
17540 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
17541 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
17543 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
17544 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
17548 echo $ac_n "checking for install location""... $ac_c" 1>&6
17549 echo "configure:17550: checking for install location" >&5
17550 echo "$ac_t""$gxx_include_dir" 1>&6
17558 # Export all the include and flag information to makefiles.
17560 # Root level of the build directory include sources.
17561 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
17563 # Passed down for canadian crosses.
17564 if test x"$CANADIAN" = xyes; then
17565 TOPLEVEL_INCLUDES='-I$(includedir)'
17568 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
17570 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
17572 if test x"$need_libio" = xyes; then
17573 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
17577 # Now, export this to all the little Makefiles....
17584 # Optimization flags that are probably a good idea for thrill-seekers. Just
17585 # uncomment the lines below and make, everything else is ready to go...
17586 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
17590 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
17594 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
17595 grep "enable shared" > /dev/null; then
17596 LIBSUPCXX_PICFLAGS=-prefer-pic
17598 LIBSUPCXX_PICFLAGS=
17602 # Generate the various Makefiles, include files, and scripts.
17603 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
17604 # and libsupc++/Makefile.am so that multilib installs will end up
17605 # installed in the correct place. To work around this not being passed
17606 # down from config-ml.in -> top_srcdir/Makefile.am ->
17607 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
17609 cat > confcache <<\EOF
17610 # This file is a shell script that caches the results of configure
17611 # tests run on this system so they can be shared between configure
17612 # scripts and configure runs. It is not useful on other systems.
17613 # If it contains results you don't want to keep, you may remove or edit it.
17615 # By default, configure uses ./config.cache as the cache file,
17616 # creating it if it does not exist already. You can give configure
17617 # the --cache-file=FILE option to use a different cache file; that is
17618 # what configure does when it calls configure scripts in
17619 # subdirectories, so they share the cache.
17620 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17621 # config.status only pays attention to the cache file if you give it the
17622 # --recheck option to rerun configure.
17625 # The following way of writing the cache mishandles newlines in values,
17626 # but we know of no workaround that is simple, portable, and efficient.
17627 # So, don't put newlines in cache variables' values.
17628 # Ultrix sh set writes to stderr and can't be redirected directly,
17629 # and sets the high bit in the cache file unless we assign to the vars.
17631 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17633 # `set' does not quote correctly, so add quotes (double-quote substitution
17634 # turns \\\\ into \\, and sed turns \\ into \).
17636 -e "s/'/'\\\\''/g" \
17637 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17640 # `set' quotes correctly as required by POSIX, so do not add quotes.
17641 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17644 if cmp -s $cache_file confcache; then
17647 if test -w $cache_file; then
17648 echo "updating cache $cache_file"
17649 cat confcache > $cache_file
17651 echo "not updating unwritable cache $cache_file"
17656 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
17658 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17659 # Let make expand exec_prefix.
17660 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17662 # Any assignment to VPATH causes Sun make to only execute
17663 # the first set of double-colon rules, so remove it if not needed.
17664 # If there is a colon in the path, we need to keep it.
17665 if test "x$srcdir" = x.; then
17666 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
17669 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
17671 DEFS=-DHAVE_CONFIG_H
17673 # Without the "./", some shells look in PATH for config.status.
17674 : ${CONFIG_STATUS=./config.status}
17676 echo creating $CONFIG_STATUS
17677 rm -f $CONFIG_STATUS
17678 cat > $CONFIG_STATUS <<EOF
17680 # Generated automatically by configure.
17681 # Run this file to recreate the current configuration.
17682 # This directory was configured as follows,
17683 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17685 # $0 $ac_configure_args
17687 # Compiler output produced by configure, useful for debugging
17688 # configure, is in ./config.log if it exists.
17690 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
17693 case "\$ac_option" in
17694 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17695 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
17696 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
17697 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
17698 echo "$CONFIG_STATUS generated by autoconf version 2.13"
17700 -help | --help | --hel | --he | --h)
17701 echo "\$ac_cs_usage"; exit 0 ;;
17702 *) echo "\$ac_cs_usage"; exit 1 ;;
17706 ac_given_srcdir=$srcdir
17707 ac_given_INSTALL="$INSTALL"
17709 trap 'rm -fr `echo "Makefile \
17710 include/Makefile src/Makefile \
17711 libmath/Makefile libio/Makefile libsupc++/Makefile \
17712 po/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
17714 cat >> $CONFIG_STATUS <<EOF
17716 # Protect against being on the right side of a sed subst in config.status.
17717 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
17718 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
17722 s%@CFLAGS@%$CFLAGS%g
17723 s%@CPPFLAGS@%$CPPFLAGS%g
17724 s%@CXXFLAGS@%$CXXFLAGS%g
17725 s%@FFLAGS@%$FFLAGS%g
17727 s%@LDFLAGS@%$LDFLAGS%g
17729 s%@exec_prefix@%$exec_prefix%g
17730 s%@prefix@%$prefix%g
17731 s%@program_transform_name@%$program_transform_name%g
17732 s%@bindir@%$bindir%g
17733 s%@sbindir@%$sbindir%g
17734 s%@libexecdir@%$libexecdir%g
17735 s%@datadir@%$datadir%g
17736 s%@sysconfdir@%$sysconfdir%g
17737 s%@sharedstatedir@%$sharedstatedir%g
17738 s%@localstatedir@%$localstatedir%g
17739 s%@libdir@%$libdir%g
17740 s%@includedir@%$includedir%g
17741 s%@oldincludedir@%$oldincludedir%g
17742 s%@infodir@%$infodir%g
17743 s%@mandir@%$mandir%g
17744 s%@PACKAGE@%$PACKAGE%g
17745 s%@release_VERSION@%$release_VERSION%g
17746 s%@libtool_VERSION@%$libtool_VERSION%g
17748 s%@host_alias@%$host_alias%g
17749 s%@host_cpu@%$host_cpu%g
17750 s%@host_vendor@%$host_vendor%g
17751 s%@host_os@%$host_os%g
17752 s%@target@%$target%g
17753 s%@target_alias@%$target_alias%g
17754 s%@target_cpu@%$target_cpu%g
17755 s%@target_vendor@%$target_vendor%g
17756 s%@target_os@%$target_os%g
17758 s%@build_alias@%$build_alias%g
17759 s%@build_cpu@%$build_cpu%g
17760 s%@build_vendor@%$build_vendor%g
17761 s%@build_os@%$build_os%g
17762 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
17763 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
17764 s%@INSTALL_DATA@%$INSTALL_DATA%g
17765 s%@VERSION@%$VERSION%g
17766 s%@ACLOCAL@%$ACLOCAL%g
17767 s%@AUTOCONF@%$AUTOCONF%g
17768 s%@AUTOMAKE@%$AUTOMAKE%g
17769 s%@AUTOHEADER@%$AUTOHEADER%g
17770 s%@MAKEINFO@%$MAKEINFO%g
17771 s%@SET_MAKE@%$SET_MAKE%g
17772 s%@toplevel_srcdir@%$toplevel_srcdir%g
17773 s%@glibcpp_builddir@%$glibcpp_builddir%g
17774 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
17776 s%@glibcpp_basedir@%$glibcpp_basedir%g
17778 s%@glibcpp_CXX@%$glibcpp_CXX%g
17781 s%@RANLIB@%$RANLIB%g
17782 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
17783 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
17785 s%@EXEEXT@%$EXEEXT%g
17786 s%@OBJEXT@%$OBJEXT%g
17788 s%@LIBTOOL@%$LIBTOOL%g
17789 s%@CXXCPP@%$CXXCPP%g
17790 s%@enable_shared@%$enable_shared%g
17791 s%@enable_static@%$enable_static%g
17792 s%@ifGNUmake@%$ifGNUmake%g
17793 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
17795 s%@CSTDIO_H@%$CSTDIO_H%g
17796 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
17797 s%@CCODECVT_C@%$CCODECVT_C%g
17798 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
17799 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
17800 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
17801 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
17802 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
17803 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
17804 s%@libio_la@%$libio_la%g
17805 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
17806 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
17807 s%@glibcpp_localedir@%$glibcpp_localedir%g
17808 s%@USE_NLS@%$USE_NLS%g
17809 s%@CLOCALE_H@%$CLOCALE_H%g
17810 s%@CCODECVT_H@%$CCODECVT_H%g
17811 s%@CMESSAGES_H@%$CMESSAGES_H%g
17812 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
17813 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
17814 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
17815 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
17816 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
17817 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
17818 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
17819 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
17820 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
17821 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
17822 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
17823 s%@WERROR@%$WERROR%g
17824 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
17825 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
17826 s%@CPU_LIMITS_INC_SRCDIR@%$CPU_LIMITS_INC_SRCDIR%g
17827 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
17828 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
17829 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
17830 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
17831 s%@gxx_include_dir@%$gxx_include_dir%g
17832 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
17833 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
17834 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
17835 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
17836 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
17837 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
17838 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
17839 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
17840 s%@WARN_FLAGS@%$WARN_FLAGS%g
17841 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
17846 cat >> $CONFIG_STATUS <<\EOF
17848 # Split the substitutions into bite-sized pieces for seds with
17849 # small command number limits, like on Digital OSF/1 and HP-UX.
17850 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
17851 ac_file=1 # Number of current file.
17852 ac_beg=1 # First line for current file.
17853 ac_end=$ac_max_sed_cmds # Line after last line for current file.
17856 while $ac_more_lines; do
17857 if test $ac_beg -gt 1; then
17858 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
17860 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
17862 if test ! -s conftest.s$ac_file; then
17863 ac_more_lines=false
17864 rm -f conftest.s$ac_file
17866 if test -z "$ac_sed_cmds"; then
17867 ac_sed_cmds="sed -f conftest.s$ac_file"
17869 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
17871 ac_file=`expr $ac_file + 1`
17873 ac_end=`expr $ac_end + $ac_max_sed_cmds`
17876 if test -z "$ac_sed_cmds"; then
17881 cat >> $CONFIG_STATUS <<EOF
17883 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
17884 include/Makefile src/Makefile \
17885 libmath/Makefile libio/Makefile libsupc++/Makefile \
17886 po/Makefile testsuite/Makefile mkcheck testsuite_flags"}
17888 cat >> $CONFIG_STATUS <<\EOF
17889 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
17890 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17892 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
17893 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
17894 *) ac_file_in="${ac_file}.in" ;;
17897 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
17899 # Remove last slash and all that follows it. Not all systems have dirname.
17900 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
17901 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
17902 # The file is in a subdirectory.
17903 test ! -d "$ac_dir" && mkdir "$ac_dir"
17904 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
17905 # A "../" for each directory in $ac_dir_suffix.
17906 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
17908 ac_dir_suffix= ac_dots=
17911 case "$ac_given_srcdir" in
17913 if test -z "$ac_dots"; then top_srcdir=.
17914 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
17915 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
17916 *) # Relative path.
17917 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
17918 top_srcdir="$ac_dots$ac_given_srcdir" ;;
17921 case "$ac_given_INSTALL" in
17922 [/$]*) INSTALL="$ac_given_INSTALL" ;;
17923 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
17926 echo creating "$ac_file"
17928 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
17930 *Makefile*) ac_comsub="1i\\
17931 # $configure_input" ;;
17935 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
17937 s%@configure_input@%$configure_input%g
17938 s%@srcdir@%$srcdir%g
17939 s%@top_srcdir@%$top_srcdir%g
17940 s%@INSTALL@%$INSTALL%g
17941 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
17945 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
17946 # NAME is the cpp macro being defined and VALUE is the value it is being given.
17948 # ac_d sets the value in "#define NAME VALUE" lines.
17949 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
17950 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
17953 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
17954 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17955 ac_uB='\([ ]\)%\1#\2define\3'
17958 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
17959 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17960 ac_eB='$%\1#\2define\3'
17964 if test "${CONFIG_HEADERS+set}" != set; then
17966 cat >> $CONFIG_STATUS <<EOF
17967 CONFIG_HEADERS="config.h"
17969 cat >> $CONFIG_STATUS <<\EOF
17971 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
17972 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17974 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
17975 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
17976 *) ac_file_in="${ac_file}.in" ;;
17979 echo creating $ac_file
17981 rm -f conftest.frag conftest.in conftest.out
17982 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
17983 cat $ac_file_inputs > conftest.in
17987 # Transform confdefs.h into a sed script conftest.vals that substitutes
17988 # the proper values into config.h.in to produce config.h. And first:
17989 # Protect against being on the right side of a sed subst in config.status.
17990 # Protect against being in an unquoted here document in config.status.
17991 rm -f conftest.vals
17992 cat > conftest.hdr <<\EOF
17995 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
17999 sed -n -f conftest.hdr confdefs.h > conftest.vals
18002 # This sed command replaces #undef with comments. This is necessary, for
18003 # example, in the case of _POSIX_SOURCE, which is predefined and required
18004 # on some systems where configure will not decide to define it.
18005 cat >> conftest.vals <<\EOF
18006 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
18009 # Break up conftest.vals because some shells have a limit on
18010 # the size of here documents, and old seds have small limits too.
18012 rm -f conftest.tail
18015 ac_lines=`grep -c . conftest.vals`
18016 # grep -c gives empty output for an empty file on some AIX systems.
18017 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
18018 # Write a limited-size here document to conftest.frag.
18019 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
18020 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
18022 sed -f conftest.frag conftest.in > conftest.out
18024 mv conftest.out conftest.in
18025 ' >> $CONFIG_STATUS
18026 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
18027 rm -f conftest.vals
18028 mv conftest.tail conftest.vals
18030 rm -f conftest.vals
18032 cat >> $CONFIG_STATUS <<\EOF
18033 rm -f conftest.frag conftest.h
18034 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
18035 cat conftest.in >> conftest.h
18037 if cmp -s $ac_file conftest.h 2>/dev/null; then
18038 echo "$ac_file is unchanged"
18041 # Remove last slash and all that follows it. Not all systems have dirname.
18042 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18043 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18044 # The file is in a subdirectory.
18045 test ! -d "$ac_dir" && mkdir "$ac_dir"
18048 mv conftest.h $ac_file
18054 cat >> $CONFIG_STATUS <<EOF
18055 ac_sources="$BASIC_FILE_CC $CLOCALE_CC $CCOLLATE_CC $CMESSAGES_CC $CMONEY_CC $CNUMERIC_CC $CTIME_CC"
18056 ac_dests="src/basic_file.cc src/c++locale.cc src/collate.cc src/messages.cc src/moneypunct.cc src/numpunct.cc src/time.cc"
18059 cat >> $CONFIG_STATUS <<\EOF
18060 srcdir=$ac_given_srcdir
18061 while test -n "$ac_sources"; do
18062 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
18063 set $ac_sources; ac_source=$1; shift; ac_sources=$*
18065 echo "linking $srcdir/$ac_source to $ac_dest"
18067 if test ! -r $srcdir/$ac_source; then
18068 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
18072 # Make relative symlinks.
18073 # Remove last slash and all that follows it. Not all systems have dirname.
18074 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
18075 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
18076 # The dest file is in a subdirectory.
18077 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
18078 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
18079 # A "../" for each directory in $ac_dest_dir_suffix.
18080 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
18082 ac_dest_dir_suffix= ac_dots=
18086 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
18087 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
18090 # Make a symlink if possible; otherwise try a hard link.
18091 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
18092 ln $srcdir/$ac_source $ac_dest; then :
18094 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
18098 cat >> $CONFIG_STATUS <<EOF
18103 with_multisubdir=${with_multisubdir}
18104 ac_configure_args="${multilib_arg} ${ac_configure_args}"
18105 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
18106 glibcpp_basedir=${glibcpp_basedir}
18111 cat >> $CONFIG_STATUS <<\EOF
18112 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
18113 if test -n "$CONFIG_FILES"; then
18114 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
18115 grep '^MULTISUBDIR =' Makefile >> src/Makefile
18116 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
18119 chmod +x testsuite_flags
18123 chmod +x $CONFIG_STATUS
18124 rm -fr confdefs* $ac_clean_files
18125 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
18129 # Sanity checking & User-visible messages.
18130 # Checks down here, otherwise they get scrolled off before
18131 # the user will notice.
18133 # Trying to get more people to read documentation. Possibly remove
18134 # check and warn all the time. There is no "informational" AC_MSG_
18135 # macro, so these are going to be printed even when --quiet/--silent
18137 if test ! -f stamp-sanity-warned; then
18138 touch stamp-sanity-warned
18140 echo "Please make certain that you read the installation information here:"
18141 echo " faster => ${srcdir}/docs/install.html"
18142 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
18144 echo "and the configuration information here:"
18145 echo " faster => ${srcdir}/docs/configopts.html"
18146 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
18148 echo "before proceeding with ${_cv_gnu_make_command}."