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 --with-target-subdir=SUBDIR
16 configuring in a subdirectory"
18 --with-cross-host=HOST configuring with a cross compiler"
20 --enable-multilib build hella library versions (default)"
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
56 --enable-cxx-flags=FLAGS pass compiler FLAGS when building library;
59 --enable-sjlj-exceptions force use of builtin_setjmp for exceptions"
61 --with-gxx-include-dir the installation directory for include files"
63 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
65 # Initialize some variables set by options.
66 # The variables have the same names as the options, with
67 # dashes changed to underlines.
69 cache_file=./config.cache
78 program_transform_name=s,x,x,
87 bindir='${exec_prefix}/bin'
88 sbindir='${exec_prefix}/sbin'
89 libexecdir='${exec_prefix}/libexec'
90 datadir='${prefix}/share'
91 sysconfdir='${prefix}/etc'
92 sharedstatedir='${prefix}/com'
93 localstatedir='${prefix}/var'
94 libdir='${exec_prefix}/lib'
95 includedir='${prefix}/include'
96 oldincludedir='/usr/include'
97 infodir='${prefix}/info'
98 mandir='${prefix}/man'
100 # Initialize some other variables.
103 SHELL=${CONFIG_SHELL-/bin/sh}
104 # Maximum number of lines to put in a shell here document.
111 # If the previous option needs an argument, assign it.
112 if test -n "$ac_prev"; then
113 eval "$ac_prev=\$ac_option"
119 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
123 # Accept the important Cygnus configure options, so we can diagnose typos.
127 -bindir | --bindir | --bindi | --bind | --bin | --bi)
129 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
130 bindir="$ac_optarg" ;;
132 -build | --build | --buil | --bui | --bu)
134 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
135 build="$ac_optarg" ;;
137 -cache-file | --cache-file | --cache-fil | --cache-fi \
138 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
139 ac_prev=cache_file ;;
140 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
141 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
142 cache_file="$ac_optarg" ;;
144 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
146 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
148 datadir="$ac_optarg" ;;
150 -disable-* | --disable-*)
151 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
152 # Reject names that are not valid shell variable names.
153 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
154 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
156 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
157 eval "enable_${ac_feature}=no" ;;
159 -enable-* | --enable-*)
160 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
161 # Reject names that are not valid shell variable names.
162 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
163 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
165 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
170 eval "enable_${ac_feature}='$ac_optarg'" ;;
172 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
173 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
174 | --exec | --exe | --ex)
175 ac_prev=exec_prefix ;;
176 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
177 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
178 | --exec=* | --exe=* | --ex=*)
179 exec_prefix="$ac_optarg" ;;
181 -gas | --gas | --ga | --g)
182 # Obsolete; use --with-gas.
185 -help | --help | --hel | --he)
186 # Omit some internal or obsolete options to make the list less imposing.
187 # This message is too long to be a string in the A/UX 3.1 sh.
189 Usage: configure [options] [host]
190 Options: [defaults in brackets after descriptions]
192 --cache-file=FILE cache test results in FILE
193 --help print this message
194 --no-create do not create output files
195 --quiet, --silent do not print \`checking...' messages
196 --site-file=FILE use FILE as the site file
197 --version print the version of autoconf that created configure
198 Directory and file names:
199 --prefix=PREFIX install architecture-independent files in PREFIX
201 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
203 --bindir=DIR user executables in DIR [EPREFIX/bin]
204 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
205 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
206 --datadir=DIR read-only architecture-independent data in DIR
208 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
209 --sharedstatedir=DIR modifiable architecture-independent data in DIR
211 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
212 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
213 --includedir=DIR C header files in DIR [PREFIX/include]
214 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
215 --infodir=DIR info documentation in DIR [PREFIX/info]
216 --mandir=DIR man documentation in DIR [PREFIX/man]
217 --srcdir=DIR find the sources in DIR [configure dir or ..]
218 --program-prefix=PREFIX prepend PREFIX to installed program names
219 --program-suffix=SUFFIX append SUFFIX to installed program names
220 --program-transform-name=PROGRAM
221 run sed PROGRAM on installed program names
225 --build=BUILD configure for building on BUILD [BUILD=HOST]
226 --host=HOST configure for HOST [guessed]
227 --target=TARGET configure for TARGET [TARGET=HOST]
228 Features and packages:
229 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
230 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
231 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
232 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
233 --x-includes=DIR X include files are in DIR
234 --x-libraries=DIR X library files are in DIR
236 if test -n "$ac_help"; then
237 echo "--enable and --with options recognized:$ac_help"
241 -host | --host | --hos | --ho)
243 -host=* | --host=* | --hos=* | --ho=*)
246 -includedir | --includedir | --includedi | --included | --include \
247 | --includ | --inclu | --incl | --inc)
248 ac_prev=includedir ;;
249 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
250 | --includ=* | --inclu=* | --incl=* | --inc=*)
251 includedir="$ac_optarg" ;;
253 -infodir | --infodir | --infodi | --infod | --info | --inf)
255 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
256 infodir="$ac_optarg" ;;
258 -libdir | --libdir | --libdi | --libd)
260 -libdir=* | --libdir=* | --libdi=* | --libd=*)
261 libdir="$ac_optarg" ;;
263 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
264 | --libexe | --libex | --libe)
265 ac_prev=libexecdir ;;
266 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
267 | --libexe=* | --libex=* | --libe=*)
268 libexecdir="$ac_optarg" ;;
270 -localstatedir | --localstatedir | --localstatedi | --localstated \
271 | --localstate | --localstat | --localsta | --localst \
272 | --locals | --local | --loca | --loc | --lo)
273 ac_prev=localstatedir ;;
274 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
275 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
276 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
277 localstatedir="$ac_optarg" ;;
279 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
281 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
282 mandir="$ac_optarg" ;;
285 # Obsolete; use --without-fp.
288 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
292 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
293 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
296 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
297 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
298 | --oldin | --oldi | --old | --ol | --o)
299 ac_prev=oldincludedir ;;
300 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
301 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
302 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
303 oldincludedir="$ac_optarg" ;;
305 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
307 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
308 prefix="$ac_optarg" ;;
310 -program-prefix | --program-prefix | --program-prefi | --program-pref \
311 | --program-pre | --program-pr | --program-p)
312 ac_prev=program_prefix ;;
313 -program-prefix=* | --program-prefix=* | --program-prefi=* \
314 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
315 program_prefix="$ac_optarg" ;;
317 -program-suffix | --program-suffix | --program-suffi | --program-suff \
318 | --program-suf | --program-su | --program-s)
319 ac_prev=program_suffix ;;
320 -program-suffix=* | --program-suffix=* | --program-suffi=* \
321 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
322 program_suffix="$ac_optarg" ;;
324 -program-transform-name | --program-transform-name \
325 | --program-transform-nam | --program-transform-na \
326 | --program-transform-n | --program-transform- \
327 | --program-transform | --program-transfor \
328 | --program-transfo | --program-transf \
329 | --program-trans | --program-tran \
330 | --progr-tra | --program-tr | --program-t)
331 ac_prev=program_transform_name ;;
332 -program-transform-name=* | --program-transform-name=* \
333 | --program-transform-nam=* | --program-transform-na=* \
334 | --program-transform-n=* | --program-transform-=* \
335 | --program-transform=* | --program-transfor=* \
336 | --program-transfo=* | --program-transf=* \
337 | --program-trans=* | --program-tran=* \
338 | --progr-tra=* | --program-tr=* | --program-t=*)
339 program_transform_name="$ac_optarg" ;;
341 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
342 | -silent | --silent | --silen | --sile | --sil)
345 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
347 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
349 sbindir="$ac_optarg" ;;
351 -sharedstatedir | --sharedstatedir | --sharedstatedi \
352 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
353 | --sharedst | --shareds | --shared | --share | --shar \
355 ac_prev=sharedstatedir ;;
356 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
357 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
358 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
360 sharedstatedir="$ac_optarg" ;;
362 -site | --site | --sit)
364 -site=* | --site=* | --sit=*)
367 -site-file | --site-file | --site-fil | --site-fi | --site-f)
369 -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*)
370 sitefile="$ac_optarg" ;;
372 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
374 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
375 srcdir="$ac_optarg" ;;
377 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
378 | --syscon | --sysco | --sysc | --sys | --sy)
379 ac_prev=sysconfdir ;;
380 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
381 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
382 sysconfdir="$ac_optarg" ;;
384 -target | --target | --targe | --targ | --tar | --ta | --t)
386 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
387 target="$ac_optarg" ;;
389 -v | -verbose | --verbose | --verbos | --verbo | --verb)
392 -version | --version | --versio | --versi | --vers)
393 echo "configure generated by autoconf version 2.13"
397 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
398 # Reject names that are not valid shell variable names.
399 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
400 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
402 ac_package=`echo $ac_package| sed 's/-/_/g'`
407 eval "with_${ac_package}='$ac_optarg'" ;;
409 -without-* | --without-*)
410 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
411 # Reject names that are not valid shell variable names.
412 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
413 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
415 ac_package=`echo $ac_package| sed 's/-/_/g'`
416 eval "with_${ac_package}=no" ;;
419 # Obsolete; use --with-x.
422 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
423 | --x-incl | --x-inc | --x-in | --x-i)
424 ac_prev=x_includes ;;
425 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
426 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
427 x_includes="$ac_optarg" ;;
429 -x-libraries | --x-libraries | --x-librarie | --x-librari \
430 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
431 ac_prev=x_libraries ;;
432 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
433 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
434 x_libraries="$ac_optarg" ;;
436 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
440 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
441 echo "configure: warning: $ac_option: invalid host type" 1>&2
443 if test "x$nonopt" != xNONE; then
444 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
452 if test -n "$ac_prev"; then
453 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
456 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
458 # File descriptor usage:
461 # 2 errors and warnings
462 # 3 some systems may open it to /dev/tty
463 # 4 used on the Kubota Titan
464 # 6 checking for... messages and results
465 # 5 compiler messages saved in config.log
466 if test "$silent" = yes; then
474 This file contains any messages produced by compilers while
475 running configure, to aid debugging if configure makes a mistake.
478 # Strip out --no-create and --no-recursion so they do not pile up.
479 # Also quote any args containing shell metacharacters.
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c) ;;
486 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
487 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
488 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
489 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
490 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
495 # Only set these to C if already set. These must not be set unconditionally
496 # because not all systems understand e.g. LANG=C (notably SCO).
497 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
498 # Non-C LC_CTYPE values break the ctype check.
499 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
500 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
501 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
502 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
504 # confdefs.h avoids OS command line length limits that DEFS can exceed.
505 rm -rf conftest* confdefs.h
506 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
509 # A filename unique to this package, relative to the directory that
510 # configure is in, which we can look for to find out if srcdir is correct.
511 ac_unique_file=src/ios.cc
513 # Find the source files, if location was not specified.
514 if test -z "$srcdir"; then
515 ac_srcdir_defaulted=yes
516 # Try the directory containing this script, then its parent.
518 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
519 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
521 if test ! -r $srcdir/$ac_unique_file; then
525 ac_srcdir_defaulted=no
527 if test ! -r $srcdir/$ac_unique_file; then
528 if test "$ac_srcdir_defaulted" = yes; then
529 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
531 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
534 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
536 # Prefer explicitly selected file to automatically selected ones.
537 if test -z "$sitefile"; then
538 if test -z "$CONFIG_SITE"; then
539 if test "x$prefix" != xNONE; then
540 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
542 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
546 CONFIG_SITE="$sitefile"
548 for ac_site_file in $CONFIG_SITE; do
549 if test -r "$ac_site_file"; then
550 echo "loading site script $ac_site_file"
555 if test -r "$cache_file"; then
556 echo "loading cache $cache_file"
559 echo "creating cache $cache_file"
564 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
565 ac_cpp='$CPP $CPPFLAGS'
566 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
567 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
568 cross_compiling=$ac_cv_prog_cc_cross
572 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
573 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
574 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
581 ac_n= ac_c='\c' ac_t=
586 # When building with srcdir == objdir, links to the source files will
587 # be created in directories within the target_subdir. We have to
588 # adjust toplevel_srcdir accordingly, so that configure finds
589 # install-sh and other auxiliary files that live in the top-level
591 if test "${srcdir}" = "."; then
592 if test -z "${with_target_subdir}"; then
593 toplevel_srcdir="\${top_srcdir}/.."
594 auxdir="${srcdir}/.."
596 if test "${with_target_subdir}" != "."; then
597 toplevel_srcdir="\${top_srcdir}/${with_multisrctop}../.."
598 auxdir="${srcdir}/${with_multisrctop}../.."
600 toplevel_srcdir="\${top_srcdir}/${with_multisrctop}.."
601 auxdir="${srcdir}/${with_multisrctop}.."
605 toplevel_srcdir="\${top_srcdir}/.."
606 auxdir="${srcdir}/.."
609 for ac_dir in $auxdir $srcdir/$auxdir; do
610 if test -f $ac_dir/install-sh; then
612 ac_install_sh="$ac_aux_dir/install-sh -c"
614 elif test -f $ac_dir/install.sh; then
616 ac_install_sh="$ac_aux_dir/install.sh -c"
620 if test -z "$ac_aux_dir"; then
621 { echo "configure: error: can not find install-sh or install.sh in $auxdir $srcdir/$auxdir" 1>&2; exit 1; }
623 ac_config_guess=$ac_aux_dir/config.guess
624 ac_config_sub=$ac_aux_dir/config.sub
625 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
631 # Gets and sets build, host, target, *_vendor, *_cpu, *_os, etc.
633 # Do some error checking and defaulting for the host and target type.
635 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
638 # 1. You are not allowed to specify --host, --target, and nonopt at the
640 # 2. Host defaults to nonopt.
641 # 3. If nonopt is not specified, then host defaults to the current host,
642 # as determined by config.guess.
643 # 4. Target and build default to nonopt.
644 # 5. If nonopt is not specified, then target and build default to host.
646 # The aliases save the names the user supplied, while $host etc.
647 # will get canonicalized.
648 case $host---$target---$nonopt in
649 NONE---*---* | *---NONE---* | *---*---NONE) ;;
650 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
654 # Make sure we can run config.sub.
655 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
656 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
659 echo $ac_n "checking host system type""... $ac_c" 1>&6
660 echo "configure:661: checking host system type" >&5
663 case "$host_alias" in
667 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
668 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
670 *) host_alias=$nonopt ;;
674 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
675 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
676 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
677 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
678 echo "$ac_t""$host" 1>&6
680 echo $ac_n "checking target system type""... $ac_c" 1>&6
681 echo "configure:682: checking target system type" >&5
684 case "$target_alias" in
687 NONE) target_alias=$host_alias ;;
688 *) target_alias=$nonopt ;;
692 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
693 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
694 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
695 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
696 echo "$ac_t""$target" 1>&6
698 echo $ac_n "checking build system type""... $ac_c" 1>&6
699 echo "configure:700: checking build system type" >&5
702 case "$build_alias" in
705 NONE) build_alias=$host_alias ;;
706 *) build_alias=$nonopt ;;
710 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
711 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
712 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
713 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
714 echo "$ac_t""$build" 1>&6
716 test "$host_alias" != "$target_alias" &&
717 test "$program_prefix$program_suffix$program_transform_name" = \
719 program_prefix=${target_alias}-
722 # We use these options to decide which functions to include.
723 # Check whether --with-target-subdir or --without-target-subdir was given.
724 if test "${with_target_subdir+set}" = set; then
725 withval="$with_target_subdir"
729 # Check whether --with-cross-host or --without-cross-host was given.
730 if test "${with_cross_host+set}" = set; then
731 withval="$with_cross_host"
736 # Runs configure.host and configure.target. Have to run this before
737 # the GLIBCPP_ENABLE_* macros below.
738 # Find a good install program. We prefer a C program (faster),
739 # so one script is as good as another. But avoid the broken or
740 # incompatible versions:
741 # SysV /etc/install, /usr/sbin/install
742 # SunOS /usr/etc/install
745 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
746 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
747 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
748 # ./install, which can be erroneously created by make from ./install.sh.
749 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
750 echo "configure:751: checking for a BSD compatible install" >&5
751 if test -z "$INSTALL"; then
752 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
753 echo $ac_n "(cached) $ac_c" 1>&6
755 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
756 for ac_dir in $PATH; do
757 # Account for people who put trailing slashes in PATH elements.
759 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
761 # OSF1 and SCO ODT 3.0 have their own names for install.
762 # Don't use installbsd from OSF since it installs stuff as root
764 for ac_prog in ginstall scoinst install; do
765 if test -f $ac_dir/$ac_prog; then
766 if test $ac_prog = install &&
767 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
768 # AIX install. It has an incompatible calling convention.
771 ac_cv_path_install="$ac_dir/$ac_prog -c"
782 if test "${ac_cv_path_install+set}" = set; then
783 INSTALL="$ac_cv_path_install"
785 # As a last resort, use the slow shell script. We don't cache a
786 # path for INSTALL within a source directory, because that will
787 # break other packages using the cache if that directory is
788 # removed, or if the path is relative.
789 INSTALL="$ac_install_sh"
792 echo "$ac_t""$INSTALL" 1>&6
794 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
795 # It thinks the first close brace ends the variable substitution.
796 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
798 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
800 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
802 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
803 echo "configure:804: checking whether build environment is sane" >&5
806 echo timestamp > conftestfile
807 # Do `set' in a subshell so we don't clobber the current shell's
808 # arguments. Must try -L first in case configure is actually a
809 # symlink; some systems play weird games with the mod time of symlinks
810 # (eg FreeBSD returns the mod time of the symlink's containing
813 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
814 if test "$*" = "X"; then
816 set X `ls -t $srcdir/configure conftestfile`
818 if test "$*" != "X $srcdir/configure conftestfile" \
819 && test "$*" != "X conftestfile $srcdir/configure"; then
821 # If neither matched, then we have a broken ls. This can happen
822 # if, for instance, CONFIG_SHELL is bash and it inherits a
823 # broken ls alias from the environment. This has actually
824 # happened. Such a system could not be considered "sane".
825 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
826 alias in your environment" 1>&2; exit 1; }
829 test "$2" = conftestfile
835 { echo "configure: error: newly created file is older than distributed files!
836 Check your system clock" 1>&2; exit 1; }
839 echo "$ac_t""yes" 1>&6
840 if test "$program_transform_name" = s,x,x,; then
841 program_transform_name=
843 # Double any \ or $. echo might interpret backslashes.
844 cat <<\EOF_SED > conftestsed
845 s,\\,\\\\,g; s,\$,$$,g
847 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
850 test "$program_prefix" != NONE &&
851 program_transform_name="s,^,${program_prefix},; $program_transform_name"
852 # Use a double $ so make ignores it.
853 test "$program_suffix" != NONE &&
854 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
856 # sed with no file args requires a program.
857 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
859 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
860 echo "configure:861: checking whether ${MAKE-make} sets \${MAKE}" >&5
861 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
862 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
863 echo $ac_n "(cached) $ac_c" 1>&6
865 cat > conftestmake <<\EOF
867 @echo 'ac_maketemp="${MAKE}"'
869 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
870 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
871 if test -n "$ac_maketemp"; then
872 eval ac_cv_prog_make_${ac_make}_set=yes
874 eval ac_cv_prog_make_${ac_make}_set=no
878 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
879 echo "$ac_t""yes" 1>&6
882 echo "$ac_t""no" 1>&6
883 SET_MAKE="MAKE=${MAKE-make}"
886 if test $host != $build; then
887 ac_tool_prefix=${host_alias}-
892 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
893 echo "configure:894: checking for Cygwin environment" >&5
894 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
895 echo $ac_n "(cached) $ac_c" 1>&6
897 cat > conftest.$ac_ext <<EOF
898 #line 899 "configure"
899 #include "confdefs.h"
904 #define __CYGWIN__ __CYGWIN32__
909 if { (eval echo configure:910: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
913 echo "configure: failed program was:" >&5
914 cat conftest.$ac_ext >&5
922 echo "$ac_t""$ac_cv_cygwin" 1>&6
924 test "$ac_cv_cygwin" = yes && CYGWIN=yes
925 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
926 echo "configure:927: checking for mingw32 environment" >&5
927 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
928 echo $ac_n "(cached) $ac_c" 1>&6
930 cat > conftest.$ac_ext <<EOF
931 #line 932 "configure"
932 #include "confdefs.h"
938 if { (eval echo configure:939: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
942 echo "configure: failed program was:" >&5
943 cat conftest.$ac_ext >&5
951 echo "$ac_t""$ac_cv_mingw32" 1>&6
953 test "$ac_cv_mingw32" = yes && MINGW32=yes
955 # Check whether --enable-multilib or --disable-multilib was given.
956 if test "${enable_multilib+set}" = set; then
957 enableval="$enable_multilib"
958 case "${enableval}" in
961 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
967 glibcpp_basedir=$auxdir/./libstdc++-v3
975 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
976 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
978 cat >> confdefs.h <<EOF
979 #define PACKAGE "$PACKAGE"
982 cat >> confdefs.h <<EOF
983 #define VERSION "$VERSION"
988 missing_dir=`cd $ac_aux_dir && pwd`
989 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
990 echo "configure:991: checking for working aclocal" >&5
991 # Run test in a subshell; some versions of sh will print an error if
992 # an executable is not found, even if stderr is redirected.
993 # Redirect stdin to placate older versions of autoconf. Sigh.
994 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
996 echo "$ac_t""found" 1>&6
998 ACLOCAL="$missing_dir/missing aclocal"
999 echo "$ac_t""missing" 1>&6
1002 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
1003 echo "configure:1004: checking for working autoconf" >&5
1004 # Run test in a subshell; some versions of sh will print an error if
1005 # an executable is not found, even if stderr is redirected.
1006 # Redirect stdin to placate older versions of autoconf. Sigh.
1007 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1009 echo "$ac_t""found" 1>&6
1011 AUTOCONF="$missing_dir/missing autoconf"
1012 echo "$ac_t""missing" 1>&6
1015 echo $ac_n "checking for working automake""... $ac_c" 1>&6
1016 echo "configure:1017: checking for working automake" >&5
1017 # Run test in a subshell; some versions of sh will print an error if
1018 # an executable is not found, even if stderr is redirected.
1019 # Redirect stdin to placate older versions of autoconf. Sigh.
1020 if (automake --version) < /dev/null > /dev/null 2>&1; then
1022 echo "$ac_t""found" 1>&6
1024 AUTOMAKE="$missing_dir/missing automake"
1025 echo "$ac_t""missing" 1>&6
1028 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
1029 echo "configure:1030: checking for working autoheader" >&5
1030 # Run test in a subshell; some versions of sh will print an error if
1031 # an executable is not found, even if stderr is redirected.
1032 # Redirect stdin to placate older versions of autoconf. Sigh.
1033 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1034 AUTOHEADER=autoheader
1035 echo "$ac_t""found" 1>&6
1037 AUTOHEADER="$missing_dir/missing autoheader"
1038 echo "$ac_t""missing" 1>&6
1041 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1042 echo "configure:1043: checking for working makeinfo" >&5
1043 # Run test in a subshell; some versions of sh will print an error if
1044 # an executable is not found, even if stderr is redirected.
1045 # Redirect stdin to placate older versions of autoconf. Sigh.
1046 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1048 echo "$ac_t""found" 1>&6
1050 MAKEINFO="$missing_dir/missing makeinfo"
1051 echo "$ac_t""missing" 1>&6
1056 # Never versions of autoconf add an underscore to these functions.
1057 # Prevent future problems ...
1065 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1066 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1067 # are probably using a cross compiler, which will not be able to fully
1068 # link an executable. This should really be fixed in autoconf
1074 # Extract the first word of "gcc", so it can be a program name with args.
1075 set dummy gcc; ac_word=$2
1076 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1077 echo "configure:1078: checking for $ac_word" >&5
1078 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1079 echo $ac_n "(cached) $ac_c" 1>&6
1081 if test -n "$CC"; then
1082 ac_cv_prog_CC="$CC" # Let the user override the test.
1084 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1086 for ac_dir in $ac_dummy; do
1087 test -z "$ac_dir" && ac_dir=.
1088 if test -f $ac_dir/$ac_word; then
1097 if test -n "$CC"; then
1098 echo "$ac_t""$CC" 1>&6
1100 echo "$ac_t""no" 1>&6
1103 if test -z "$CC"; then
1104 # Extract the first word of "cc", so it can be a program name with args.
1105 set dummy cc; ac_word=$2
1106 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1107 echo "configure:1108: checking for $ac_word" >&5
1108 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1109 echo $ac_n "(cached) $ac_c" 1>&6
1111 if test -n "$CC"; then
1112 ac_cv_prog_CC="$CC" # Let the user override the test.
1114 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1117 for ac_dir in $ac_dummy; do
1118 test -z "$ac_dir" && ac_dir=.
1119 if test -f $ac_dir/$ac_word; then
1120 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1121 ac_prog_rejected=yes
1129 if test $ac_prog_rejected = yes; then
1130 # We found a bogon in the path, so make sure we never use it.
1131 set dummy $ac_cv_prog_CC
1133 if test $# -gt 0; then
1134 # We chose a different compiler from the bogus one.
1135 # However, it has the same basename, so the bogon will be chosen
1136 # first if we set CC to just the basename; use the full file name.
1138 set dummy "$ac_dir/$ac_word" "$@"
1146 if test -n "$CC"; then
1147 echo "$ac_t""$CC" 1>&6
1149 echo "$ac_t""no" 1>&6
1152 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1155 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1156 echo "configure:1157: checking whether we are using GNU C" >&5
1157 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1158 echo $ac_n "(cached) $ac_c" 1>&6
1160 cat > conftest.c <<EOF
1165 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1166: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1172 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1174 if test $ac_cv_prog_gcc = yes; then
1176 ac_test_CFLAGS="${CFLAGS+set}"
1177 ac_save_CFLAGS="$CFLAGS"
1179 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1180 echo "configure:1181: checking whether ${CC-cc} accepts -g" >&5
1181 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1182 echo $ac_n "(cached) $ac_c" 1>&6
1184 echo 'void f(){}' > conftest.c
1185 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1194 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1195 if test "$ac_test_CFLAGS" = set; then
1196 CFLAGS="$ac_save_CFLAGS"
1197 elif test $ac_cv_prog_cc_g = yes; then
1204 test "${CFLAGS+set}" = set || CFLAGS="-g"
1208 # Can't just call these here as g++ requires libstc++ to be built....
1211 # Likewise for AC_PROG_CXX.
1215 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1216 # flags that come in CXX while configuring libstdc++. They're different
1217 # from those used for all other target libraries. If CXX is set in
1218 # the environment, respect that here.
1220 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1222 # Extract the first word of "$ac_prog", so it can be a program name with args.
1223 set dummy $ac_prog; ac_word=$2
1224 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1225 echo "configure:1226: checking for $ac_word" >&5
1226 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1227 echo $ac_n "(cached) $ac_c" 1>&6
1229 if test -n "$glibcpp_CXX"; then
1230 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1232 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1234 for ac_dir in $ac_dummy; do
1235 test -z "$ac_dir" && ac_dir=.
1236 if test -f $ac_dir/$ac_word; then
1237 ac_cv_prog_glibcpp_CXX="$ac_prog"
1244 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1245 if test -n "$glibcpp_CXX"; then
1246 echo "$ac_t""$glibcpp_CXX" 1>&6
1248 echo "$ac_t""no" 1>&6
1251 test -n "$glibcpp_CXX" && break
1253 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc"
1257 test -z "$glibcpp_CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1259 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1260 echo "configure:1261: checking whether we are using GNU C++" >&5
1261 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1262 echo $ac_n "(cached) $ac_c" 1>&6
1264 cat > conftest.C <<EOF
1269 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1276 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1278 if test $ac_cv_prog_gxx = yes; then
1280 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1281 ac_save_CXXFLAGS="$CXXFLAGS"
1283 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1284 echo "configure:1285: checking whether ${CXX-g++} accepts -g" >&5
1285 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1286 echo $ac_n "(cached) $ac_c" 1>&6
1288 echo 'void f(){}' > conftest.cc
1289 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1290 ac_cv_prog_cxx_g=yes
1298 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1299 if test "$ac_test_CXXFLAGS" = set; then
1300 CXXFLAGS="$ac_save_CXXFLAGS"
1301 elif test $ac_cv_prog_cxx_g = yes; then
1308 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1312 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1313 set dummy ${ac_tool_prefix}as; ac_word=$2
1314 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1315 echo "configure:1316: checking for $ac_word" >&5
1316 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1317 echo $ac_n "(cached) $ac_c" 1>&6
1319 if test -n "$AS"; then
1320 ac_cv_prog_AS="$AS" # Let the user override the test.
1322 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1324 for ac_dir in $ac_dummy; do
1325 test -z "$ac_dir" && ac_dir=.
1326 if test -f $ac_dir/$ac_word; then
1327 ac_cv_prog_AS="${ac_tool_prefix}as"
1332 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1336 if test -n "$AS"; then
1337 echo "$ac_t""$AS" 1>&6
1339 echo "$ac_t""no" 1>&6
1344 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1345 set dummy ${ac_tool_prefix}ar; ac_word=$2
1346 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1347 echo "configure:1348: checking for $ac_word" >&5
1348 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1349 echo $ac_n "(cached) $ac_c" 1>&6
1351 if test -n "$AR"; then
1352 ac_cv_prog_AR="$AR" # Let the user override the test.
1354 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1356 for ac_dir in $ac_dummy; do
1357 test -z "$ac_dir" && ac_dir=.
1358 if test -f $ac_dir/$ac_word; then
1359 ac_cv_prog_AR="${ac_tool_prefix}ar"
1364 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1368 if test -n "$AR"; then
1369 echo "$ac_t""$AR" 1>&6
1371 echo "$ac_t""no" 1>&6
1376 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1377 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1378 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1379 echo "configure:1380: checking for $ac_word" >&5
1380 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1381 echo $ac_n "(cached) $ac_c" 1>&6
1383 if test -n "$RANLIB"; then
1384 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1386 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1388 for ac_dir in $ac_dummy; do
1389 test -z "$ac_dir" && ac_dir=.
1390 if test -f $ac_dir/$ac_word; then
1391 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1398 RANLIB="$ac_cv_prog_RANLIB"
1399 if test -n "$RANLIB"; then
1400 echo "$ac_t""$RANLIB" 1>&6
1402 echo "$ac_t""no" 1>&6
1406 if test -z "$ac_cv_prog_RANLIB"; then
1407 if test -n "$ac_tool_prefix"; then
1408 # Extract the first word of "ranlib", so it can be a program name with args.
1409 set dummy ranlib; ac_word=$2
1410 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1411 echo "configure:1412: checking for $ac_word" >&5
1412 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1413 echo $ac_n "(cached) $ac_c" 1>&6
1415 if test -n "$RANLIB"; then
1416 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1418 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1420 for ac_dir in $ac_dummy; do
1421 test -z "$ac_dir" && ac_dir=.
1422 if test -f $ac_dir/$ac_word; then
1423 ac_cv_prog_RANLIB="ranlib"
1428 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
1431 RANLIB="$ac_cv_prog_RANLIB"
1432 if test -n "$RANLIB"; then
1433 echo "$ac_t""$RANLIB" 1>&6
1435 echo "$ac_t""no" 1>&6
1439 RANLIB="ranlib-not-found-in-path-error"
1443 # Extract the first word of "${ac_tool_prefix}expect", so it can be a program name with args.
1444 set dummy ${ac_tool_prefix}expect; ac_word=$2
1445 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1446 echo "configure:1447: checking for $ac_word" >&5
1447 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_expect'+set}'`\" = set"; then
1448 echo $ac_n "(cached) $ac_c" 1>&6
1450 if test -n "$glibcpp_expect"; then
1451 ac_cv_prog_glibcpp_expect="$glibcpp_expect" # Let the user override the test.
1453 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1455 for ac_dir in $ac_dummy; do
1456 test -z "$ac_dir" && ac_dir=.
1457 if test -f $ac_dir/$ac_word; then
1458 ac_cv_prog_glibcpp_expect="${ac_tool_prefix}expect"
1465 glibcpp_expect="$ac_cv_prog_glibcpp_expect"
1466 if test -n "$glibcpp_expect"; then
1467 echo "$ac_t""$glibcpp_expect" 1>&6
1469 echo "$ac_t""no" 1>&6
1473 if test -z "$ac_cv_prog_glibcpp_expect"; then
1474 if test -n "$ac_tool_prefix"; then
1475 # Extract the first word of "expect", so it can be a program name with args.
1476 set dummy expect; ac_word=$2
1477 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1478 echo "configure:1479: checking for $ac_word" >&5
1479 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_expect'+set}'`\" = set"; then
1480 echo $ac_n "(cached) $ac_c" 1>&6
1482 if test -n "$glibcpp_expect"; then
1483 ac_cv_prog_glibcpp_expect="$glibcpp_expect" # Let the user override the test.
1485 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1487 for ac_dir in $ac_dummy; do
1488 test -z "$ac_dir" && ac_dir=.
1489 if test -f $ac_dir/$ac_word; then
1490 ac_cv_prog_glibcpp_expect="expect"
1495 test -z "$ac_cv_prog_glibcpp_expect" && ac_cv_prog_glibcpp_expect="expect-not-found-in-path-error"
1498 glibcpp_expect="$ac_cv_prog_glibcpp_expect"
1499 if test -n "$glibcpp_expect"; then
1500 echo "$ac_t""$glibcpp_expect" 1>&6
1502 echo "$ac_t""no" 1>&6
1506 glibcpp_expect="expect-not-found-in-path-error"
1510 # Extract the first word of "${ac_tool_prefix}runtest", so it can be a program name with args.
1511 set dummy ${ac_tool_prefix}runtest; ac_word=$2
1512 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1513 echo "configure:1514: checking for $ac_word" >&5
1514 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_runtest'+set}'`\" = set"; then
1515 echo $ac_n "(cached) $ac_c" 1>&6
1517 if test -n "$glibcpp_runtest"; then
1518 ac_cv_prog_glibcpp_runtest="$glibcpp_runtest" # Let the user override the test.
1520 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1522 for ac_dir in $ac_dummy; do
1523 test -z "$ac_dir" && ac_dir=.
1524 if test -f $ac_dir/$ac_word; then
1525 ac_cv_prog_glibcpp_runtest="${ac_tool_prefix}runtest"
1532 glibcpp_runtest="$ac_cv_prog_glibcpp_runtest"
1533 if test -n "$glibcpp_runtest"; then
1534 echo "$ac_t""$glibcpp_runtest" 1>&6
1536 echo "$ac_t""no" 1>&6
1540 if test -z "$ac_cv_prog_glibcpp_runtest"; then
1541 if test -n "$ac_tool_prefix"; then
1542 # Extract the first word of "runtest", so it can be a program name with args.
1543 set dummy runtest; ac_word=$2
1544 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1545 echo "configure:1546: checking for $ac_word" >&5
1546 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_runtest'+set}'`\" = set"; then
1547 echo $ac_n "(cached) $ac_c" 1>&6
1549 if test -n "$glibcpp_runtest"; then
1550 ac_cv_prog_glibcpp_runtest="$glibcpp_runtest" # Let the user override the test.
1552 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1554 for ac_dir in $ac_dummy; do
1555 test -z "$ac_dir" && ac_dir=.
1556 if test -f $ac_dir/$ac_word; then
1557 ac_cv_prog_glibcpp_runtest="runtest"
1562 test -z "$ac_cv_prog_glibcpp_runtest" && ac_cv_prog_glibcpp_runtest="runtest-not-found-in-path-error"
1565 glibcpp_runtest="$ac_cv_prog_glibcpp_runtest"
1566 if test -n "$glibcpp_runtest"; then
1567 echo "$ac_t""$glibcpp_runtest" 1>&6
1569 echo "$ac_t""no" 1>&6
1573 glibcpp_runtest="runtest-not-found-in-path-error"
1579 # Find a good install program. We prefer a C program (faster),
1580 # so one script is as good as another. But avoid the broken or
1581 # incompatible versions:
1582 # SysV /etc/install, /usr/sbin/install
1583 # SunOS /usr/etc/install
1584 # IRIX /sbin/install
1586 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1587 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1588 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1589 # ./install, which can be erroneously created by make from ./install.sh.
1590 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1591 echo "configure:1592: checking for a BSD compatible install" >&5
1592 if test -z "$INSTALL"; then
1593 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1594 echo $ac_n "(cached) $ac_c" 1>&6
1596 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1597 for ac_dir in $PATH; do
1598 # Account for people who put trailing slashes in PATH elements.
1600 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1602 # OSF1 and SCO ODT 3.0 have their own names for install.
1603 # Don't use installbsd from OSF since it installs stuff as root
1605 for ac_prog in ginstall scoinst install; do
1606 if test -f $ac_dir/$ac_prog; then
1607 if test $ac_prog = install &&
1608 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1609 # AIX install. It has an incompatible calling convention.
1612 ac_cv_path_install="$ac_dir/$ac_prog -c"
1623 if test "${ac_cv_path_install+set}" = set; then
1624 INSTALL="$ac_cv_path_install"
1626 # As a last resort, use the slow shell script. We don't cache a
1627 # path for INSTALL within a source directory, because that will
1628 # break other packages using the cache if that directory is
1629 # removed, or if the path is relative.
1630 INSTALL="$ac_install_sh"
1633 echo "$ac_t""$INSTALL" 1>&6
1635 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1636 # It thinks the first close brace ends the variable substitution.
1637 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1639 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1641 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1644 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1645 echo "configure:1646: checking whether to enable maintainer-specific portions of Makefiles" >&5
1646 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1647 if test "${enable_maintainer_mode+set}" = set; then
1648 enableval="$enable_maintainer_mode"
1649 USE_MAINTAINER_MODE=$enableval
1651 USE_MAINTAINER_MODE=no
1654 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1657 if test $USE_MAINTAINER_MODE = yes; then
1658 MAINTAINER_MODE_TRUE=
1659 MAINTAINER_MODE_FALSE='#'
1661 MAINTAINER_MODE_TRUE='#'
1662 MAINTAINER_MODE_FALSE=
1664 MAINT=$MAINTAINER_MODE_TRUE
1668 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1669 # at least currently, we never actually build a program, so we never
1670 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1671 # fails, because we are probably configuring with a cross compiler
1672 # which cant create executables. So we include AC_EXEEXT to keep
1673 # automake happy, but we dont execute it, since we dont care about
1678 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1679 echo "configure:1680: checking for executable suffix" >&5
1680 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1681 echo $ac_n "(cached) $ac_c" 1>&6
1683 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1687 echo 'int main () { return 0; }' > conftest.$ac_ext
1689 if { (eval echo configure:1690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1690 for file in conftest.*; do
1692 *.c | *.o | *.obj | *.ilk | *.pdb) ;;
1693 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1697 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1700 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1705 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1706 echo "$ac_t""${ac_cv_exeext}" 1>&6
1711 . ${glibcpp_basedir}/configure.host
1713 case ${glibcpp_basedir} in
1714 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1715 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1718 # This does for the target what configure.host does for the host. In
1719 # addition to possibly modifying the same flags, it also sets up symlinks.
1721 . ${glibcpp_basedir}/configure.target
1722 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1723 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1729 # Check whether --enable-shared or --disable-shared was given.
1730 if test "${enable_shared+set}" = set; then
1731 enableval="$enable_shared"
1732 p=${PACKAGE-default}
1734 yes) enable_shared=yes ;;
1735 no) enable_shared=no ;;
1738 # Look at the argument we got. We use all the common list separators.
1739 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1740 for pkg in $enableval; do
1741 if test "X$pkg" = "X$p"; then
1752 # Check whether --enable-static or --disable-static was given.
1753 if test "${enable_static+set}" = set; then
1754 enableval="$enable_static"
1755 p=${PACKAGE-default}
1757 yes) enable_static=yes ;;
1758 no) enable_static=no ;;
1761 # Look at the argument we got. We use all the common list separators.
1762 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1763 for pkg in $enableval; do
1764 if test "X$pkg" = "X$p"; then
1775 # Check whether --enable-fast-install or --disable-fast-install was given.
1776 if test "${enable_fast_install+set}" = set; then
1777 enableval="$enable_fast_install"
1778 p=${PACKAGE-default}
1780 yes) enable_fast_install=yes ;;
1781 no) enable_fast_install=no ;;
1783 enable_fast_install=no
1784 # Look at the argument we got. We use all the common list separators.
1785 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1786 for pkg in $enableval; do
1787 if test "X$pkg" = "X$p"; then
1788 enable_fast_install=yes
1795 enable_fast_install=yes
1798 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1799 if test "${with_gnu_ld+set}" = set; then
1800 withval="$with_gnu_ld"
1801 test "$withval" = no || with_gnu_ld=yes
1807 if test "$GCC" = yes; then
1808 # Check if gcc -print-prog-name=ld gives a path.
1809 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1810 echo "configure:1811: checking for ld used by GCC" >&5
1813 # gcc leaves a trailing carriage return which upsets mingw
1814 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1816 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1819 # Accept absolute paths.
1820 [\\/]* | [A-Za-z]:[\\/]*)
1821 re_direlt='/[^/][^/]*/\.\./'
1822 # Canonicalize the path of ld
1823 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1824 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1825 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1827 test -z "$LD" && LD="$ac_prog"
1830 # If it fails, then pretend we aren't using GCC.
1834 # If it is relative, then search for the first ld in PATH.
1838 elif test "$with_gnu_ld" = yes; then
1839 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1840 echo "configure:1841: checking for GNU ld" >&5
1842 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1843 echo "configure:1844: checking for non-GNU ld" >&5
1845 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1846 echo $ac_n "(cached) $ac_c" 1>&6
1848 if test -z "$LD"; then
1849 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1850 for ac_dir in $PATH; do
1851 test -z "$ac_dir" && ac_dir=.
1852 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1853 lt_cv_path_LD="$ac_dir/$ac_prog"
1854 # Check to see if the program is GNU ld. I'd rather use --version,
1855 # but apparently some GNU ld's only accept -v.
1856 # Break only if it was the GNU/non-GNU ld that we prefer.
1857 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1858 test "$with_gnu_ld" != no && break
1860 test "$with_gnu_ld" != yes && break
1866 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1871 if test -n "$LD"; then
1872 echo "$ac_t""$LD" 1>&6
1874 echo "$ac_t""no" 1>&6
1876 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1877 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1878 echo "configure:1879: checking if the linker ($LD) is GNU ld" >&5
1879 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1880 echo $ac_n "(cached) $ac_c" 1>&6
1882 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1883 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1884 lt_cv_prog_gnu_ld=yes
1886 lt_cv_prog_gnu_ld=no
1890 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1891 with_gnu_ld=$lt_cv_prog_gnu_ld
1894 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1895 echo "configure:1896: checking for $LD option to reload object files" >&5
1896 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1897 echo $ac_n "(cached) $ac_c" 1>&6
1899 lt_cv_ld_reload_flag='-r'
1902 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1903 reload_flag=$lt_cv_ld_reload_flag
1904 test -n "$reload_flag" && reload_flag=" $reload_flag"
1906 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1907 echo "configure:1908: checking for BSD-compatible nm" >&5
1908 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1909 echo $ac_n "(cached) $ac_c" 1>&6
1911 if test -n "$NM"; then
1912 # Let the user override the test.
1915 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1916 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1917 test -z "$ac_dir" && ac_dir=.
1918 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1919 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1920 # Check to see if the nm accepts a BSD-compat flag.
1921 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1922 # nm: unknown option "B" ignored
1923 # Tru64's nm complains that /dev/null is an invalid object file
1924 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1925 lt_cv_path_NM="$tmp_nm -B"
1927 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1928 lt_cv_path_NM="$tmp_nm -p"
1931 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1932 continue # so that we can try to find one that supports BSD flags
1937 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1942 echo "$ac_t""$NM" 1>&6
1944 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1945 echo "configure:1946: checking whether ln -s works" >&5
1946 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1947 echo $ac_n "(cached) $ac_c" 1>&6
1950 if ln -s X conftestdata 2>/dev/null
1953 ac_cv_prog_LN_S="ln -s"
1958 LN_S="$ac_cv_prog_LN_S"
1959 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1960 echo "$ac_t""yes" 1>&6
1962 echo "$ac_t""no" 1>&6
1965 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1966 echo "configure:1967: checking how to recognise dependant libraries" >&5
1967 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1968 echo $ac_n "(cached) $ac_c" 1>&6
1970 lt_cv_file_magic_cmd='$MAGIC_CMD'
1971 lt_cv_file_magic_test_file=
1972 lt_cv_deplibs_check_method='unknown'
1973 # Need to set the preceding variable on all platforms that support
1974 # interlibrary dependencies.
1975 # 'none' -- dependencies not supported.
1976 # `unknown' -- same as none, but documents that we really don't know.
1977 # 'pass_all' -- all dependencies passed with no checks.
1978 # 'test_compile' -- check by making test program.
1979 # 'file_magic [regex]' -- check by looking for files in library path
1980 # which responds to the $file_magic_cmd with a given egrep regex.
1981 # If you have `file' or equivalent on your system and you're not sure
1982 # whether `pass_all' will *always* work, you probably want this one.
1986 lt_cv_deplibs_check_method=pass_all
1990 lt_cv_deplibs_check_method=pass_all
1994 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1995 lt_cv_file_magic_cmd='/usr/bin/file -L'
1996 lt_cv_file_magic_test_file=/shlib/libc.so
1999 cygwin* | mingw* |pw32*)
2000 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
2001 lt_cv_file_magic_cmd='$OBJDUMP -f'
2004 darwin* | rhapsody*)
2005 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
2006 lt_cv_file_magic_cmd='/usr/bin/file -L'
2008 rhapsody* | darwin1.012)
2009 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
2012 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
2018 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2021 # Not sure whether the presence of OpenBSD here was a mistake.
2022 # Let's accept both of them until this is cleared up.
2023 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
2024 lt_cv_file_magic_cmd=/usr/bin/file
2025 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
2029 lt_cv_deplibs_check_method=pass_all
2034 lt_cv_deplibs_check_method=pass_all
2038 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
2039 lt_cv_file_magic_cmd=/usr/bin/file
2040 lt_cv_file_magic_test_file=/usr/lib/libc.sl
2046 # this will be overridden with pass_all, but let us keep it just in case
2047 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
2051 *-32|*"-32 ") libmagic=32-bit;;
2052 *-n32|*"-n32 ") libmagic=N32;;
2053 *-64|*"-64 ") libmagic=64-bit;;
2054 *) libmagic=never-match;;
2056 # this will be overridden with pass_all, but let us keep it just in case
2057 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
2060 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
2061 lt_cv_deplibs_check_method=pass_all
2064 # This must be Linux ELF.
2067 alpha* | i*86 | powerpc* | sparc* | ia64* )
2068 lt_cv_deplibs_check_method=pass_all ;;
2070 # glibc up to 2.1.1 does not perform some relocations on ARM
2071 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2073 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2077 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2078 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2080 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2085 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2086 lt_cv_file_magic_cmd=/usr/bin/file
2087 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2090 osf3* | osf4* | osf5*)
2091 # this will be overridden with pass_all, but let us keep it just in case
2092 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2093 lt_cv_file_magic_test_file=/shlib/libc.so
2094 lt_cv_deplibs_check_method=pass_all
2098 lt_cv_deplibs_check_method=pass_all
2102 lt_cv_deplibs_check_method=pass_all
2103 lt_cv_file_magic_test_file=/lib/libc.so
2106 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2107 case $host_vendor in
2109 lt_cv_deplibs_check_method=pass_all
2112 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]'
2113 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2121 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2122 file_magic_cmd=$lt_cv_file_magic_cmd
2123 deplibs_check_method=$lt_cv_deplibs_check_method
2125 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2126 echo "configure:2127: checking for object suffix" >&5
2127 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2128 echo $ac_n "(cached) $ac_c" 1>&6
2131 echo 'int i = 1;' > conftest.$ac_ext
2132 if { (eval echo configure:2133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2133 for ac_file in conftest.*; do
2136 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2140 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2145 echo "$ac_t""$ac_cv_objext" 1>&6
2146 OBJEXT=$ac_cv_objext
2147 ac_objext=$ac_cv_objext
2149 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2151 # Only perform the check for file, if the check method requires it
2152 case $deplibs_check_method in
2154 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2155 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2156 echo "configure:2157: checking for ${ac_tool_prefix}file" >&5
2157 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2158 echo $ac_n "(cached) $ac_c" 1>&6
2162 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2165 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2168 ac_save_MAGIC_CMD="$MAGIC_CMD"
2169 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2170 ac_dummy="/usr/bin:$PATH"
2171 for ac_dir in $ac_dummy; do
2172 test -z "$ac_dir" && ac_dir=.
2173 if test -f $ac_dir/${ac_tool_prefix}file; then
2174 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2175 if test -n "$file_magic_test_file"; then
2176 case $deplibs_check_method in
2178 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2179 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2180 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2181 egrep "$file_magic_regex" > /dev/null; then
2186 *** Warning: the command libtool uses to detect shared libraries,
2187 *** $file_magic_cmd, produces output that libtool cannot recognize.
2188 *** The result is that libtool may fail to recognize shared libraries
2189 *** as such. This will affect the creation of libtool libraries that
2190 *** depend on shared libraries, but programs linked with such libtool
2191 *** libraries will work regardless of this problem. Nevertheless, you
2192 *** may want to report the problem to your system manager and/or to
2193 *** bug-libtool@gnu.org
2203 MAGIC_CMD="$ac_save_MAGIC_CMD"
2208 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2209 if test -n "$MAGIC_CMD"; then
2210 echo "$ac_t""$MAGIC_CMD" 1>&6
2212 echo "$ac_t""no" 1>&6
2215 if test -z "$lt_cv_path_MAGIC_CMD"; then
2216 if test -n "$ac_tool_prefix"; then
2217 echo $ac_n "checking for file""... $ac_c" 1>&6
2218 echo "configure:2219: checking for file" >&5
2219 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2220 echo $ac_n "(cached) $ac_c" 1>&6
2224 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2227 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2230 ac_save_MAGIC_CMD="$MAGIC_CMD"
2231 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2232 ac_dummy="/usr/bin:$PATH"
2233 for ac_dir in $ac_dummy; do
2234 test -z "$ac_dir" && ac_dir=.
2235 if test -f $ac_dir/file; then
2236 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2237 if test -n "$file_magic_test_file"; then
2238 case $deplibs_check_method in
2240 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2241 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2242 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2243 egrep "$file_magic_regex" > /dev/null; then
2248 *** Warning: the command libtool uses to detect shared libraries,
2249 *** $file_magic_cmd, produces output that libtool cannot recognize.
2250 *** The result is that libtool may fail to recognize shared libraries
2251 *** as such. This will affect the creation of libtool libraries that
2252 *** depend on shared libraries, but programs linked with such libtool
2253 *** libraries will work regardless of this problem. Nevertheless, you
2254 *** may want to report the problem to your system manager and/or to
2255 *** bug-libtool@gnu.org
2265 MAGIC_CMD="$ac_save_MAGIC_CMD"
2270 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2271 if test -n "$MAGIC_CMD"; then
2272 echo "$ac_t""$MAGIC_CMD" 1>&6
2274 echo "$ac_t""no" 1>&6
2286 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2287 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2288 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2289 echo "configure:2290: checking for $ac_word" >&5
2290 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2291 echo $ac_n "(cached) $ac_c" 1>&6
2293 if test -n "$RANLIB"; then
2294 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2296 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2298 for ac_dir in $ac_dummy; do
2299 test -z "$ac_dir" && ac_dir=.
2300 if test -f $ac_dir/$ac_word; then
2301 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2308 RANLIB="$ac_cv_prog_RANLIB"
2309 if test -n "$RANLIB"; then
2310 echo "$ac_t""$RANLIB" 1>&6
2312 echo "$ac_t""no" 1>&6
2316 if test -z "$ac_cv_prog_RANLIB"; then
2317 if test -n "$ac_tool_prefix"; then
2318 # Extract the first word of "ranlib", so it can be a program name with args.
2319 set dummy ranlib; ac_word=$2
2320 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2321 echo "configure:2322: checking for $ac_word" >&5
2322 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2323 echo $ac_n "(cached) $ac_c" 1>&6
2325 if test -n "$RANLIB"; then
2326 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2328 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2330 for ac_dir in $ac_dummy; do
2331 test -z "$ac_dir" && ac_dir=.
2332 if test -f $ac_dir/$ac_word; then
2333 ac_cv_prog_RANLIB="ranlib"
2338 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2341 RANLIB="$ac_cv_prog_RANLIB"
2342 if test -n "$RANLIB"; then
2343 echo "$ac_t""$RANLIB" 1>&6
2345 echo "$ac_t""no" 1>&6
2353 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2354 set dummy ${ac_tool_prefix}strip; ac_word=$2
2355 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2356 echo "configure:2357: checking for $ac_word" >&5
2357 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2358 echo $ac_n "(cached) $ac_c" 1>&6
2360 if test -n "$STRIP"; then
2361 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2363 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2365 for ac_dir in $ac_dummy; do
2366 test -z "$ac_dir" && ac_dir=.
2367 if test -f $ac_dir/$ac_word; then
2368 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2375 STRIP="$ac_cv_prog_STRIP"
2376 if test -n "$STRIP"; then
2377 echo "$ac_t""$STRIP" 1>&6
2379 echo "$ac_t""no" 1>&6
2383 if test -z "$ac_cv_prog_STRIP"; then
2384 if test -n "$ac_tool_prefix"; then
2385 # Extract the first word of "strip", so it can be a program name with args.
2386 set dummy strip; ac_word=$2
2387 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2388 echo "configure:2389: checking for $ac_word" >&5
2389 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2390 echo $ac_n "(cached) $ac_c" 1>&6
2392 if test -n "$STRIP"; then
2393 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2395 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2397 for ac_dir in $ac_dummy; do
2398 test -z "$ac_dir" && ac_dir=.
2399 if test -f $ac_dir/$ac_word; then
2400 ac_cv_prog_STRIP="strip"
2405 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2408 STRIP="$ac_cv_prog_STRIP"
2409 if test -n "$STRIP"; then
2410 echo "$ac_t""$STRIP" 1>&6
2412 echo "$ac_t""no" 1>&6
2421 # Check for any special flags to pass to ltconfig.
2422 libtool_flags="--cache-file=$cache_file"
2423 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2424 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2425 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2426 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2427 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2428 libtool_flags="$libtool_flags --enable-dlopen"
2430 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2431 if test "${enable_libtool_lock+set}" = set; then
2432 enableval="$enable_libtool_lock"
2436 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2437 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2439 # Check whether --with-pic or --without-pic was given.
2440 if test "${with_pic+set}" = set; then
2447 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2448 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2450 # Some flags need to be propagated to the compiler or linker for good
2454 # Find out which ABI we are using.
2455 echo '#line 2456 "configure"' > conftest.$ac_ext
2456 if { (eval echo configure:2457: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2457 case `/usr/bin/file conftest.$ac_objext` in
2473 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2474 SAVE_CFLAGS="$CFLAGS"
2475 CFLAGS="$CFLAGS -belf"
2476 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2477 echo "configure:2478: checking whether the C compiler needs -belf" >&5
2478 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2479 echo $ac_n "(cached) $ac_c" 1>&6
2483 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2484 ac_cpp='$CPP $CPPFLAGS'
2485 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2486 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2487 cross_compiling=$ac_cv_prog_cc_cross
2489 cat > conftest.$ac_ext <<EOF
2490 #line 2491 "configure"
2491 #include "confdefs.h"
2497 if { (eval echo configure:2498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2499 lt_cv_cc_needs_belf=yes
2501 echo "configure: failed program was:" >&5
2502 cat conftest.$ac_ext >&5
2504 lt_cv_cc_needs_belf=no
2508 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2509 ac_cpp='$CPP $CPPFLAGS'
2510 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2511 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2512 cross_compiling=$ac_cv_prog_cc_cross
2516 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2517 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2518 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2519 CFLAGS="$SAVE_CFLAGS"
2526 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2527 echo "configure:2528: checking how to run the C++ preprocessor" >&5
2528 if test -z "$CXXCPP"; then
2529 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2530 echo $ac_n "(cached) $ac_c" 1>&6
2533 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2534 ac_cpp='$CXXCPP $CPPFLAGS'
2535 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2536 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2537 cross_compiling=$ac_cv_prog_cxx_cross
2538 CXXCPP="${CXX-g++} -E"
2539 cat > conftest.$ac_ext <<EOF
2540 #line 2541 "configure"
2541 #include "confdefs.h"
2544 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2545 { (eval echo configure:2546: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2546 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2547 if test -z "$ac_err"; then
2551 echo "configure: failed program was:" >&5
2552 cat conftest.$ac_ext >&5
2557 ac_cv_prog_CXXCPP="$CXXCPP"
2559 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2560 ac_cpp='$CPP $CPPFLAGS'
2561 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2562 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2563 cross_compiling=$ac_cv_prog_cc_cross
2566 CXXCPP="$ac_cv_prog_CXXCPP"
2567 echo "$ac_t""$CXXCPP" 1>&6
2570 # Save cache, so that ltconfig can load it
2571 cat > confcache <<\EOF
2572 # This file is a shell script that caches the results of configure
2573 # tests run on this system so they can be shared between configure
2574 # scripts and configure runs. It is not useful on other systems.
2575 # If it contains results you don't want to keep, you may remove or edit it.
2577 # By default, configure uses ./config.cache as the cache file,
2578 # creating it if it does not exist already. You can give configure
2579 # the --cache-file=FILE option to use a different cache file; that is
2580 # what configure does when it calls configure scripts in
2581 # subdirectories, so they share the cache.
2582 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2583 # config.status only pays attention to the cache file if you give it the
2584 # --recheck option to rerun configure.
2587 # The following way of writing the cache mishandles newlines in values,
2588 # but we know of no workaround that is simple, portable, and efficient.
2589 # So, don't put newlines in cache variables' values.
2590 # Ultrix sh set writes to stderr and can't be redirected directly,
2591 # and sets the high bit in the cache file unless we assign to the vars.
2593 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2595 # `set' does not quote correctly, so add quotes (double-quote substitution
2596 # turns \\\\ into \\, and sed turns \\ into \).
2598 -e "s/'/'\\\\''/g" \
2599 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2602 # `set' quotes correctly as required by POSIX, so do not add quotes.
2603 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2606 if cmp -s $cache_file confcache; then
2609 if test -w $cache_file; then
2610 echo "updating cache $cache_file"
2611 cat confcache > $cache_file
2613 echo "not updating unwritable cache $cache_file"
2619 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2620 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2621 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2622 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2623 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2624 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2625 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2626 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2627 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2628 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2630 # Reload cache, that may have been modified by ltconfig
2631 if test -r "$cache_file"; then
2632 echo "loading cache $cache_file"
2635 echo "creating cache $cache_file"
2640 # This can be used to rebuild libtool when needed
2641 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2643 # Always use our own libtool.
2644 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2646 # Redirect the config.log output again, so that the ltconfig log is not
2647 # clobbered by the next message.
2648 exec 5>>./config.log
2652 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2654 lt_save_CFLAGS="$CFLAGS"
2655 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2656 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2657 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2658 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2659 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2660 deplibs_check_method="$deplibs_check_method" \
2661 file_magic_cmd="$file_magic_cmd" \
2662 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2663 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2664 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2666 CFLAGS="$lt_save_CFLAGS"
2668 # Redirect the config.log output again, so that the ltconfig log is not
2669 # clobbered by the next message.
2670 exec 5>>./config.log
2679 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2680 echo "configure:2681: checking for GNU make" >&5
2681 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2682 echo $ac_n "(cached) $ac_c" 1>&6
2684 _cv_gnu_make_command='' ;
2685 for a in "${MAKE-make}" make gmake gnumake ; do
2686 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2688 _cv_gnu_make_command=$a ;
2695 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2696 if test "x$_cv_gnu_make_command" != "x" ; then
2703 if test "x$_cv_gnu_make_command" = "x"; then
2704 { echo "configure: error: GNU make not found. Please install it or correct your path." 1>&2; exit 1; }
2710 # Check for c++ or library specific bits that don't require linking.
2712 if test ! -f stamp-sanity-compiler; then
2713 echo $ac_n "checking for g++ that will successfully compile libstdc++-v3""... $ac_c" 1>&6
2714 echo "configure:2715: checking for g++ that will successfully compile libstdc++-v3" >&5
2717 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2718 ac_cpp='$CXXCPP $CPPFLAGS'
2719 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2720 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2721 cross_compiling=$ac_cv_prog_cxx_cross
2723 cat > conftest.$ac_ext <<EOF
2724 #line 2725 "configure"
2725 #include "confdefs.h"
2732 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2733 egrep "ok" >/dev/null 2>&1; then
2735 gpp_satisfactory=yes
2738 { echo "configure: error: please upgrade to GCC 3.0 or above" 1>&2; exit 1; }
2743 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2744 ac_cpp='$CPP $CPPFLAGS'
2745 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2746 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2747 cross_compiling=$ac_cv_prog_cc_cross
2749 echo "$ac_t""$gpp_satisfactory" 1>&6
2750 touch stamp-sanity-compiler
2754 # Enable all the crazy c++ stuff. C_MBCHAR must come early.
2755 # Check whether --enable-debug or --disable-debug was given.
2756 if test "${enable_debug+set}" = set; then
2757 enableval="$enable_debug"
2758 case "${enableval}" in
2759 yes) enable_debug=yes ;;
2760 no) enable_debug=no ;;
2761 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2767 case "${enable_debug}" in
2769 DEBUG_FLAGS='-O0 -ggdb3'
2777 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2778 echo "configure:2779: checking how to run the C preprocessor" >&5
2779 # On Suns, sometimes $CPP names a directory.
2780 if test -n "$CPP" && test -d "$CPP"; then
2783 if test -z "$CPP"; then
2784 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2785 echo $ac_n "(cached) $ac_c" 1>&6
2787 # This must be in double quotes, not single quotes, because CPP may get
2788 # substituted into the Makefile and "${CC-cc}" will confuse make.
2790 # On the NeXT, cc -E runs the code through the compiler's parser,
2791 # not just through cpp.
2792 cat > conftest.$ac_ext <<EOF
2793 #line 2794 "configure"
2794 #include "confdefs.h"
2798 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2799 { (eval echo configure:2800: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2800 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2801 if test -z "$ac_err"; then
2805 echo "configure: failed program was:" >&5
2806 cat conftest.$ac_ext >&5
2808 CPP="${CC-cc} -E -traditional-cpp"
2809 cat > conftest.$ac_ext <<EOF
2810 #line 2811 "configure"
2811 #include "confdefs.h"
2815 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2816 { (eval echo configure:2817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2817 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2818 if test -z "$ac_err"; then
2822 echo "configure: failed program was:" >&5
2823 cat conftest.$ac_ext >&5
2825 CPP="${CC-cc} -nologo -E"
2826 cat > conftest.$ac_ext <<EOF
2827 #line 2828 "configure"
2828 #include "confdefs.h"
2832 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2833 { (eval echo configure:2834: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2834 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2835 if test -z "$ac_err"; then
2839 echo "configure: failed program was:" >&5
2840 cat conftest.$ac_ext >&5
2849 ac_cv_prog_CPP="$CPP"
2851 CPP="$ac_cv_prog_CPP"
2853 ac_cv_prog_CPP="$CPP"
2855 echo "$ac_t""$CPP" 1>&6
2858 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2859 echo "configure:2860: checking for cstdio to use" >&5
2860 # Check whether --enable-cstdio or --disable-cstdio was given.
2861 if test "${enable_cstdio+set}" = set; then
2862 enableval="$enable_cstdio"
2863 if test x$enable_cstdio = xno; then
2871 enable_cstdio_flag=$enable_cstdio
2873 case x${enable_cstdio_flag} in
2875 CSTDIO_H=config/c_io_libio.h
2876 BASIC_FILE_H=config/basic_file_libio.h
2877 BASIC_FILE_CC=config/basic_file_libio.cc
2878 echo "$ac_t""libio" 1>&6
2880 # see if we are on a system with libio native (ie, linux)
2881 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2882 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2883 echo "configure:2884: checking for libio.h" >&5
2884 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2885 echo $ac_n "(cached) $ac_c" 1>&6
2887 cat > conftest.$ac_ext <<EOF
2888 #line 2889 "configure"
2889 #include "confdefs.h"
2892 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2893 { (eval echo configure:2894: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2894 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2895 if test -z "$ac_err"; then
2897 eval "ac_cv_header_$ac_safe=yes"
2900 echo "configure: failed program was:" >&5
2901 cat conftest.$ac_ext >&5
2903 eval "ac_cv_header_$ac_safe=no"
2907 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2908 echo "$ac_t""yes" 1>&6
2911 echo "$ac_t""no" 1>&6
2916 # Need to check and see what version of glibc is being used. If
2917 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2918 # compile most of libio for linux systems.
2919 if test x$has_libio = x"yes"; then
2922 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2923 echo "configure:2924: checking for glibc version >= 2.2" >&5
2924 cat > conftest.$ac_ext <<EOF
2925 #line 2926 "configure"
2926 #include "confdefs.h"
2928 #include <features.h>
2929 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2934 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2935 egrep "ok" >/dev/null 2>&1; then
2937 glibc_satisfactory=yes
2940 glibc_satisfactory=no
2944 echo "$ac_t""$glibc_satisfactory" 1>&6
2948 # XXX at the moment, admit defeat and force the recompilation
2949 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2950 glibc_satisfactory=no
2952 if test x$glibc_satisfactory = x"yes"; then
2957 # bkoz XXX need to add checks to enable this
2958 # pme XXX here's a first pass at such a check
2959 if test x$enable_c_mbchar != xno; then
2967 # Using libio, but <libio.h> doesn't exist on the target system. . .
2969 # bkoz XXX need to add checks to enable this
2970 # pme XXX here's a first pass at such a check
2971 if test x$enable_c_mbchar != xno; then
2978 xstdio | x | xno | xnone | xyes)
2980 CSTDIO_H=config/c_io_stdio.h
2981 BASIC_FILE_H=config/basic_file_stdio.h
2982 BASIC_FILE_CC=config/basic_file_stdio.cc
2983 echo "$ac_t""stdio" 1>&6
2985 # We're not using stdio.
2990 echo "$enable_cstdio is an unknown io package" 1>&2
2998 # 2000-08-04 bkoz hack
2999 CCODECVT_C=config/c_io_libio_codecvt.c
3001 # 2000-08-04 bkoz hack
3005 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
3006 GLIBCPP_BUILD_LIBIO_TRUE=
3007 GLIBCPP_BUILD_LIBIO_FALSE='#'
3009 GLIBCPP_BUILD_LIBIO_TRUE='#'
3010 GLIBCPP_BUILD_LIBIO_FALSE=
3014 if test "$need_libio" = yes; then
3015 GLIBCPP_NEED_LIBIO_TRUE=
3016 GLIBCPP_NEED_LIBIO_FALSE='#'
3018 GLIBCPP_NEED_LIBIO_TRUE='#'
3019 GLIBCPP_NEED_LIBIO_FALSE=
3023 if test "$need_wlibio" = yes; then
3024 GLIBCPP_NEED_WLIBIO_TRUE=
3025 GLIBCPP_NEED_WLIBIO_FALSE='#'
3027 GLIBCPP_NEED_WLIBIO_TRUE='#'
3028 GLIBCPP_NEED_WLIBIO_FALSE=
3030 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
3031 libio_la=../libio/libio.la
3038 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
3039 echo "configure:3040: checking for clocale to use" >&5
3040 # Check whether --enable-clocale or --disable-clocale was given.
3041 if test "${enable_clocale+set}" = set; then
3042 enableval="$enable_clocale"
3043 if test x$enable_clocale = xno; then
3044 enable_clocale=generic
3047 enable_clocale=generic
3051 enable_clocale_flag=$enable_clocale
3053 case x${enable_clocale_flag} in
3055 CLOCALE_H=config/c_locale_gnu.h
3056 CLOCALE_CC=config/c_locale_gnu.cc
3057 echo "$ac_t""gnu" 1>&6
3060 CLOCALE_H=config/c_locale_generic.h
3061 CLOCALE_CC=config/c_locale_generic.cc
3062 echo "$ac_t""generic" 1>&6
3065 echo "$enable_clocale is an unknown locale package" 1>&2
3073 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3074 if test "${enable_c_mbchar+set}" = set; then
3075 enableval="$enable_c_mbchar"
3076 case "$enableval" in
3077 yes) enable_c_mbchar=yes ;;
3078 no) enable_c_mbchar=no ;;
3079 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
3086 # Check whether --enable-c99 or --disable-c99 was given.
3087 if test "${enable_c99+set}" = set; then
3088 enableval="$enable_c99"
3089 case "$enableval" in
3090 yes) enable_c99=yes ;;
3091 no) enable_c99=no ;;
3092 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
3100 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3101 ac_cpp='$CXXCPP $CPPFLAGS'
3102 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3103 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3104 cross_compiling=$ac_cv_prog_cxx_cross
3107 # Check for the existence of <math.h> functions used if C99 is enabled.
3108 cat > conftest.$ac_ext <<EOF
3109 #line 3110 "configure"
3110 #include "confdefs.h"
3116 if { (eval echo configure:3117: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3119 echo "configure: failed program was:" >&5
3120 cat conftest.$ac_ext >&5
3125 cat > conftest.$ac_ext <<EOF
3126 #line 3127 "configure"
3127 #include "confdefs.h"
3133 if { (eval echo configure:3134: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3136 echo "configure: failed program was:" >&5
3137 cat conftest.$ac_ext >&5
3142 cat > conftest.$ac_ext <<EOF
3143 #line 3144 "configure"
3144 #include "confdefs.h"
3150 if { (eval echo configure:3151: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3153 echo "configure: failed program was:" >&5
3154 cat conftest.$ac_ext >&5
3159 cat > conftest.$ac_ext <<EOF
3160 #line 3161 "configure"
3161 #include "confdefs.h"
3167 if { (eval echo configure:3168: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3170 echo "configure: failed program was:" >&5
3171 cat conftest.$ac_ext >&5
3176 cat > conftest.$ac_ext <<EOF
3177 #line 3178 "configure"
3178 #include "confdefs.h"
3184 if { (eval echo configure:3185: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3187 echo "configure: failed program was:" >&5
3188 cat conftest.$ac_ext >&5
3193 cat > conftest.$ac_ext <<EOF
3194 #line 3195 "configure"
3195 #include "confdefs.h"
3201 if { (eval echo configure:3202: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3204 echo "configure: failed program was:" >&5
3205 cat conftest.$ac_ext >&5
3210 cat > conftest.$ac_ext <<EOF
3211 #line 3212 "configure"
3212 #include "confdefs.h"
3218 if { (eval echo configure:3219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3221 echo "configure: failed program was:" >&5
3222 cat conftest.$ac_ext >&5
3227 cat > conftest.$ac_ext <<EOF
3228 #line 3229 "configure"
3229 #include "confdefs.h"
3232 isgreaterequal(0.0,0.0);
3235 if { (eval echo configure:3236: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3238 echo "configure: failed program was:" >&5
3239 cat conftest.$ac_ext >&5
3244 cat > conftest.$ac_ext <<EOF
3245 #line 3246 "configure"
3246 #include "confdefs.h"
3252 if { (eval echo configure:3253: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3255 echo "configure: failed program was:" >&5
3256 cat conftest.$ac_ext >&5
3261 cat > conftest.$ac_ext <<EOF
3262 #line 3263 "configure"
3263 #include "confdefs.h"
3266 islessequal(0.0,0.0);
3269 if { (eval echo configure:3270: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3272 echo "configure: failed program was:" >&5
3273 cat conftest.$ac_ext >&5
3278 cat > conftest.$ac_ext <<EOF
3279 #line 3280 "configure"
3280 #include "confdefs.h"
3283 islessgreater(0.0,0.0);
3286 if { (eval echo configure:3287: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3289 echo "configure: failed program was:" >&5
3290 cat conftest.$ac_ext >&5
3295 cat > conftest.$ac_ext <<EOF
3296 #line 3297 "configure"
3297 #include "confdefs.h"
3300 isunordered(0.0,0.0);
3303 if { (eval echo configure:3304: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3306 echo "configure: failed program was:" >&5
3307 cat conftest.$ac_ext >&5
3313 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3314 echo $ac_n "checking for strtoll""... $ac_c" 1>&6
3315 echo "configure:3316: checking for strtoll" >&5
3316 if eval "test \"`echo '$''{'ac_cv_func_strtoll'+set}'`\" = set"; then
3317 echo $ac_n "(cached) $ac_c" 1>&6
3319 cat > conftest.$ac_ext <<EOF
3320 #line 3321 "configure"
3321 #include "confdefs.h"
3322 /* System header to define __stub macros and hopefully few prototypes,
3323 which can conflict with char strtoll(); below. */
3325 /* Override any gcc2 internal prototype to avoid an error. */
3329 /* We use char because int might match the return type of a gcc2
3330 builtin and then its argument prototype would still apply. */
3335 /* The GNU C library defines this for functions which it implements
3336 to always fail with ENOSYS. Some functions are actually named
3337 something starting with __ and the normal name is an alias. */
3338 #if defined (__stub_strtoll) || defined (__stub___strtoll)
3346 if { (eval echo configure:3347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3348 eval "ac_cv_func_strtoll=yes"
3350 echo "configure: failed program was:" >&5
3351 cat conftest.$ac_ext >&5
3353 eval "ac_cv_func_strtoll=no"
3358 if eval "test \"`echo '$ac_cv_func_'strtoll`\" = yes"; then
3359 echo "$ac_t""yes" 1>&6
3362 echo "$ac_t""no" 1>&6
3366 echo $ac_n "checking for strtoull""... $ac_c" 1>&6
3367 echo "configure:3368: checking for strtoull" >&5
3368 if eval "test \"`echo '$''{'ac_cv_func_strtoull'+set}'`\" = set"; then
3369 echo $ac_n "(cached) $ac_c" 1>&6
3371 cat > conftest.$ac_ext <<EOF
3372 #line 3373 "configure"
3373 #include "confdefs.h"
3374 /* System header to define __stub macros and hopefully few prototypes,
3375 which can conflict with char strtoull(); below. */
3377 /* Override any gcc2 internal prototype to avoid an error. */
3381 /* We use char because int might match the return type of a gcc2
3382 builtin and then its argument prototype would still apply. */
3387 /* The GNU C library defines this for functions which it implements
3388 to always fail with ENOSYS. Some functions are actually named
3389 something starting with __ and the normal name is an alias. */
3390 #if defined (__stub_strtoull) || defined (__stub___strtoull)
3398 if { (eval echo configure:3399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3400 eval "ac_cv_func_strtoull=yes"
3402 echo "configure: failed program was:" >&5
3403 cat conftest.$ac_ext >&5
3405 eval "ac_cv_func_strtoull=no"
3410 if eval "test \"`echo '$ac_cv_func_'strtoull`\" = yes"; then
3411 echo "$ac_t""yes" 1>&6
3414 echo "$ac_t""no" 1>&6
3418 echo $ac_n "checking for llabs""... $ac_c" 1>&6
3419 echo "configure:3420: checking for llabs" >&5
3420 if eval "test \"`echo '$''{'ac_cv_func_llabs'+set}'`\" = set"; then
3421 echo $ac_n "(cached) $ac_c" 1>&6
3423 cat > conftest.$ac_ext <<EOF
3424 #line 3425 "configure"
3425 #include "confdefs.h"
3426 /* System header to define __stub macros and hopefully few prototypes,
3427 which can conflict with char llabs(); below. */
3429 /* Override any gcc2 internal prototype to avoid an error. */
3433 /* We use char because int might match the return type of a gcc2
3434 builtin and then its argument prototype would still apply. */
3439 /* The GNU C library defines this for functions which it implements
3440 to always fail with ENOSYS. Some functions are actually named
3441 something starting with __ and the normal name is an alias. */
3442 #if defined (__stub_llabs) || defined (__stub___llabs)
3450 if { (eval echo configure:3451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3452 eval "ac_cv_func_llabs=yes"
3454 echo "configure: failed program was:" >&5
3455 cat conftest.$ac_ext >&5
3457 eval "ac_cv_func_llabs=no"
3462 if eval "test \"`echo '$ac_cv_func_'llabs`\" = yes"; then
3463 echo "$ac_t""yes" 1>&6
3466 echo "$ac_t""no" 1>&6
3470 echo $ac_n "checking for lldiv""... $ac_c" 1>&6
3471 echo "configure:3472: checking for lldiv" >&5
3472 if eval "test \"`echo '$''{'ac_cv_func_lldiv'+set}'`\" = set"; then
3473 echo $ac_n "(cached) $ac_c" 1>&6
3475 cat > conftest.$ac_ext <<EOF
3476 #line 3477 "configure"
3477 #include "confdefs.h"
3478 /* System header to define __stub macros and hopefully few prototypes,
3479 which can conflict with char lldiv(); below. */
3481 /* Override any gcc2 internal prototype to avoid an error. */
3485 /* We use char because int might match the return type of a gcc2
3486 builtin and then its argument prototype would still apply. */
3491 /* The GNU C library defines this for functions which it implements
3492 to always fail with ENOSYS. Some functions are actually named
3493 something starting with __ and the normal name is an alias. */
3494 #if defined (__stub_lldiv) || defined (__stub___lldiv)
3502 if { (eval echo configure:3503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3504 eval "ac_cv_func_lldiv=yes"
3506 echo "configure: failed program was:" >&5
3507 cat conftest.$ac_ext >&5
3509 eval "ac_cv_func_lldiv=no"
3514 if eval "test \"`echo '$ac_cv_func_'lldiv`\" = yes"; then
3515 echo "$ac_t""yes" 1>&6
3518 echo "$ac_t""no" 1>&6
3522 echo $ac_n "checking for atoll""... $ac_c" 1>&6
3523 echo "configure:3524: checking for atoll" >&5
3524 if eval "test \"`echo '$''{'ac_cv_func_atoll'+set}'`\" = set"; then
3525 echo $ac_n "(cached) $ac_c" 1>&6
3527 cat > conftest.$ac_ext <<EOF
3528 #line 3529 "configure"
3529 #include "confdefs.h"
3530 /* System header to define __stub macros and hopefully few prototypes,
3531 which can conflict with char atoll(); below. */
3533 /* Override any gcc2 internal prototype to avoid an error. */
3537 /* We use char because int might match the return type of a gcc2
3538 builtin and then its argument prototype would still apply. */
3543 /* The GNU C library defines this for functions which it implements
3544 to always fail with ENOSYS. Some functions are actually named
3545 something starting with __ and the normal name is an alias. */
3546 #if defined (__stub_atoll) || defined (__stub___atoll)
3554 if { (eval echo configure:3555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3556 eval "ac_cv_func_atoll=yes"
3558 echo "configure: failed program was:" >&5
3559 cat conftest.$ac_ext >&5
3561 eval "ac_cv_func_atoll=no"
3566 if eval "test \"`echo '$ac_cv_func_'atoll`\" = yes"; then
3567 echo "$ac_t""yes" 1>&6
3570 echo "$ac_t""no" 1>&6
3575 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3576 echo "configure:3577: checking for lldiv_t declaration" >&5
3577 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3578 echo $ac_n "(cached) $ac_c" 1>&6
3581 cat > conftest.$ac_ext <<EOF
3582 #line 3583 "configure"
3583 #include "confdefs.h"
3589 if { (eval echo configure:3590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3593 echo "configure: failed program was:" >&5
3594 cat conftest.$ac_ext >&5
3602 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3603 if test x"$ac_c99_lldiv_t" = x"no"; then
3607 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3608 echo $ac_n "checking for wcstold""... $ac_c" 1>&6
3609 echo "configure:3610: checking for wcstold" >&5
3610 if eval "test \"`echo '$''{'ac_cv_func_wcstold'+set}'`\" = set"; then
3611 echo $ac_n "(cached) $ac_c" 1>&6
3613 cat > conftest.$ac_ext <<EOF
3614 #line 3615 "configure"
3615 #include "confdefs.h"
3616 /* System header to define __stub macros and hopefully few prototypes,
3617 which can conflict with char wcstold(); below. */
3619 /* Override any gcc2 internal prototype to avoid an error. */
3623 /* We use char because int might match the return type of a gcc2
3624 builtin and then its argument prototype would still apply. */
3629 /* The GNU C library defines this for functions which it implements
3630 to always fail with ENOSYS. Some functions are actually named
3631 something starting with __ and the normal name is an alias. */
3632 #if defined (__stub_wcstold) || defined (__stub___wcstold)
3640 if { (eval echo configure:3641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3642 eval "ac_cv_func_wcstold=yes"
3644 echo "configure: failed program was:" >&5
3645 cat conftest.$ac_ext >&5
3647 eval "ac_cv_func_wcstold=no"
3652 if eval "test \"`echo '$ac_cv_func_'wcstold`\" = yes"; then
3653 echo "$ac_t""yes" 1>&6
3656 echo "$ac_t""no" 1>&6
3660 echo $ac_n "checking for wcstoll""... $ac_c" 1>&6
3661 echo "configure:3662: checking for wcstoll" >&5
3662 if eval "test \"`echo '$''{'ac_cv_func_wcstoll'+set}'`\" = set"; then
3663 echo $ac_n "(cached) $ac_c" 1>&6
3665 cat > conftest.$ac_ext <<EOF
3666 #line 3667 "configure"
3667 #include "confdefs.h"
3668 /* System header to define __stub macros and hopefully few prototypes,
3669 which can conflict with char wcstoll(); below. */
3671 /* Override any gcc2 internal prototype to avoid an error. */
3675 /* We use char because int might match the return type of a gcc2
3676 builtin and then its argument prototype would still apply. */
3681 /* The GNU C library defines this for functions which it implements
3682 to always fail with ENOSYS. Some functions are actually named
3683 something starting with __ and the normal name is an alias. */
3684 #if defined (__stub_wcstoll) || defined (__stub___wcstoll)
3692 if { (eval echo configure:3693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3694 eval "ac_cv_func_wcstoll=yes"
3696 echo "configure: failed program was:" >&5
3697 cat conftest.$ac_ext >&5
3699 eval "ac_cv_func_wcstoll=no"
3704 if eval "test \"`echo '$ac_cv_func_'wcstoll`\" = yes"; then
3705 echo "$ac_t""yes" 1>&6
3708 echo "$ac_t""no" 1>&6
3712 echo $ac_n "checking for wcstoull""... $ac_c" 1>&6
3713 echo "configure:3714: checking for wcstoull" >&5
3714 if eval "test \"`echo '$''{'ac_cv_func_wcstoull'+set}'`\" = set"; then
3715 echo $ac_n "(cached) $ac_c" 1>&6
3717 cat > conftest.$ac_ext <<EOF
3718 #line 3719 "configure"
3719 #include "confdefs.h"
3720 /* System header to define __stub macros and hopefully few prototypes,
3721 which can conflict with char wcstoull(); below. */
3723 /* Override any gcc2 internal prototype to avoid an error. */
3727 /* We use char because int might match the return type of a gcc2
3728 builtin and then its argument prototype would still apply. */
3733 /* The GNU C library defines this for functions which it implements
3734 to always fail with ENOSYS. Some functions are actually named
3735 something starting with __ and the normal name is an alias. */
3736 #if defined (__stub_wcstoull) || defined (__stub___wcstoull)
3744 if { (eval echo configure:3745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3746 eval "ac_cv_func_wcstoull=yes"
3748 echo "configure: failed program was:" >&5
3749 cat conftest.$ac_ext >&5
3751 eval "ac_cv_func_wcstoull=no"
3756 if eval "test \"`echo '$ac_cv_func_'wcstoull`\" = yes"; then
3757 echo "$ac_t""yes" 1>&6
3760 echo "$ac_t""no" 1>&6
3765 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3766 echo "configure:3767: checking for enabled ISO C99 support" >&5
3767 if test x"$ac_c99_math" = x"no" || test x"$ac_c99_wchar" = x"no" \
3768 || test x"$ac_c99_stdlib" = x"no"; then
3771 echo "$ac_t""$enable_c99" 1>&6
3773 # Option parsed, now set things appropriately
3774 if test x"$enable_c99" = x"yes"; then
3775 cat >> confdefs.h <<\EOF
3776 #define _GLIBCPP_USE_C99 1
3782 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3783 ac_cpp='$CPP $CPPFLAGS'
3784 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3785 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3786 cross_compiling=$ac_cv_prog_cc_cross
3790 # Check whether --enable-long-long or --disable-long-long was given.
3791 if test "${enable_long_long+set}" = set; then
3792 enableval="$enable_long_long"
3793 case "$enableval" in
3794 yes) enable_long_long=yes ;;
3795 no) enable_long_long=no ;;
3796 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3799 enable_long_long=yes
3802 # iostreams require strtoll, strtoull to compile. If the
3803 # GLIBCPP_ENABLE_C99 tests found these, and if C99 support is enabled,
3804 # go ahead and allow long long to be used.
3805 if test x"$enable_c99" = x"no"; then
3806 enable_long_long=no;
3809 # Option parsed, now set things appropriately
3810 echo $ac_n "checking for enabled long long support""... $ac_c" 1>&6
3811 echo "configure:3812: checking for enabled long long support" >&5
3812 if test x"$enable_long_long" = xyes; then
3813 cat >> confdefs.h <<\EOF
3814 #define _GLIBCPP_USE_LONG_LONG 1
3818 echo "$ac_t""$enable_long_long" 1>&6
3820 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3821 echo "configure:3822: checking for c header strategy to use" >&5
3822 # Check whether --enable-cheaders or --disable-cheaders was given.
3823 if test "${enable_cheaders+set}" = set; then
3824 enableval="$enable_cheaders"
3826 case "$enableval" in
3831 enable_cheaders=c_std
3834 enable_cheaders=c_shadow
3836 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3840 enable_cheaders=c_std
3843 echo "$ac_t""$enable_cheaders" 1>&6
3845 case "$enable_cheaders" in
3847 CSHADOW_FLAGS="-fno-builtin"
3848 C_INCLUDE_DIR='${top_srcdir}/include/c_shadow'
3849 cat >> confdefs.h <<\EOF
3850 #define _GLIBCPP_USE_SHADOW_HEADERS 1
3856 C_INCLUDE_DIR='${top_srcdir}/include/c_std'
3860 C_INCLUDE_DIR='${top_srcdir}/include/c'
3868 if test "$enable_cheaders" = c_shadow; then
3869 GLIBCPP_USE_CSHADOW_TRUE=
3870 GLIBCPP_USE_CSHADOW_FALSE='#'
3872 GLIBCPP_USE_CSHADOW_TRUE='#'
3873 GLIBCPP_USE_CSHADOW_FALSE=
3877 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3878 echo "configure:3879: checking for thread model used by GCC" >&5
3879 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3880 echo "$ac_t""$target_thread_file" 1>&6
3883 case "$target_thread_file" in
3885 THREADH=threads-no.h
3888 THREADH=threads-posix.h
3890 decosf1 | irix | mach | os2 | solaris | win32 | dce | vxworks)
3891 echo "configure: warning: disabling unsupported thread package $target_thread_file" 1>&2
3892 THREADH=threads-no.h
3895 { echo "configure: error: $target_thread_file: unsupported/unknown thread package" 1>&2; exit 1; }
3900 if test $THREADH != threads-no.h; then
3901 cat >> confdefs.h <<\EOF
3902 #define _GLIBCPP_USE_THREADS 1
3907 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3908 if test "${enable_cxx_flags+set}" = set; then
3909 enableval="$enable_cxx_flags"
3910 case "x$enableval" in
3912 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3914 enable_cxx_flags='' ;;
3916 enable_cxx_flags="$enableval" ;;
3919 enable_cxx_flags='none'
3923 if test "$enable_cxx_flags" = "none"; then
3924 enable_cxx_flags='';
3927 if test -n "$enable_cxx_flags"; then
3928 for f in $enable_cxx_flags; do
3932 *) # and we're trying to pass /what/ exactly?
3933 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3937 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3941 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3942 echo "configure:3943: checking for exception model to use" >&5
3945 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3946 ac_cpp='$CXXCPP $CPPFLAGS'
3947 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3948 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3949 cross_compiling=$ac_cv_prog_cxx_cross
3951 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3952 if test "${enable_sjlj_exceptions+set}" = set; then
3953 enableval="$enable_sjlj_exceptions"
3956 cat > conftest.$ac_ext << EOF
3957 #line 3958 "configure"
3966 old_CXXFLAGS="$CXXFLAGS"
3968 if { (eval echo configure:3969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3969 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3970 enable_sjlj_exceptions=yes
3971 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3972 enable_sjlj_exceptions=no
3975 CXXFLAGS="$old_CXXFLAGS"
3979 if test x$enable_sjlj_exceptions = xyes; then
3980 cat >> confdefs.h <<\EOF
3981 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3984 ac_exception_model_name=sjlj
3985 elif test x$enable_sjlj_exceptions = xno; then
3986 ac_exception_model_name="call frame"
3988 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
3991 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3992 ac_cpp='$CPP $CPPFLAGS'
3993 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3994 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3995 cross_compiling=$ac_cv_prog_cc_cross
3997 echo "$ac_t""$ac_exception_model_name" 1>&6
4000 if test -n "$with_cross_host"; then
4002 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
4003 # may not work correctly, because the compiler may not be able to
4008 # If Canadian cross, then don't pick up tools from the build
4010 if test x"$build" != x"$with_cross_host" && x"$build" != x"$target"; then
4018 case "$target_alias" in
4020 # Construct linux crosses by hand, eliminating bits that need ld...
4021 # Check for available headers.
4022 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4023 machine/endian.h machine/param.h sys/machine.h fp.h locale.h \
4026 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4027 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4028 echo "configure:4029: checking for $ac_hdr" >&5
4029 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4030 echo $ac_n "(cached) $ac_c" 1>&6
4032 cat > conftest.$ac_ext <<EOF
4033 #line 4034 "configure"
4034 #include "confdefs.h"
4037 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4038 { (eval echo configure:4039: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4039 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4040 if test -z "$ac_err"; then
4042 eval "ac_cv_header_$ac_safe=yes"
4045 echo "configure: failed program was:" >&5
4046 cat conftest.$ac_ext >&5
4048 eval "ac_cv_header_$ac_safe=no"
4052 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4053 echo "$ac_t""yes" 1>&6
4054 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4055 cat >> confdefs.h <<EOF
4056 #define $ac_tr_hdr 1
4060 echo "$ac_t""no" 1>&6
4065 # GLIBCPP_CHECK_COMPILER_FEATURES
4066 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4069 # If we're not using GNU ld, then there's no point in even trying these
4070 # tests. Check for that first. We should have already tested for gld
4071 # by now (in libtool), but require it now just to be safe...
4076 # Set --gc-sections.
4077 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
4078 # GNU ld it is! Joy and bunny rabbits!
4080 # All these tests are for C++; save the language and the compiler flags.
4081 # Need to do this so that g++ won't try to link in libstdc++
4082 ac_test_CFLAGS="${CFLAGS+set}"
4083 ac_save_CFLAGS="$CFLAGS"
4084 CFLAGS='-x c++ -Wl,--gc-sections'
4086 # Check for -Wl,--gc-sections
4087 # XXX This test is broken at the moment, as symbols required for
4088 # linking are now in libsupc++ (not built yet.....). In addition,
4089 # this test has cored on solaris in the past. In addition,
4090 # --gc-sections doesn't really work at the moment (keeps on discarding
4091 # used sections, first .eh_frame and now some of the glibc sections for
4092 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4093 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4094 echo "configure:4095: checking for ld that supports -Wl,--gc-sections" >&5
4095 if test "$cross_compiling" = yes; then
4096 ac_sectionLDflags=yes
4098 cat > conftest.$ac_ext <<EOF
4099 #line 4100 "configure"
4100 #include "confdefs.h"
4110 if { (eval echo configure:4111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4112 ac_sectionLDflags=yes
4114 echo "configure: failed program was:" >&5
4115 cat conftest.$ac_ext >&5
4117 ac_sectionLFflags=no
4122 if test "$ac_test_CFLAGS" = set; then
4123 CFLAGS="$ac_save_CFLAGS"
4125 # this is the suspicious part
4128 if test "$ac_sectionLDflags" = "yes"; then
4129 SECTION_LDFLAGS='-Wl,--gc-sections'
4131 echo "$ac_t""$ac_sectionLDflags" 1>&6
4134 # Set linker optimization flags.
4135 if test x"$ac_cv_prog_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
4136 OPT_LDFLAGS='-Wl,-O1'
4142 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4143 # GLIBCPP_CHECK_MATH_SUPPORT
4144 cat >> confdefs.h <<\EOF
4145 #define HAVE_ACOSF 1
4148 cat >> confdefs.h <<\EOF
4149 #define HAVE_ASINF 1
4152 cat >> confdefs.h <<\EOF
4153 #define HAVE_ATAN2F 1
4156 cat >> confdefs.h <<\EOF
4157 #define HAVE_ATANF 1
4160 cat >> confdefs.h <<\EOF
4161 #define HAVE_CEILF 1
4164 cat >> confdefs.h <<\EOF
4165 #define HAVE_COPYSIGN 1
4168 cat >> confdefs.h <<\EOF
4169 #define HAVE_COPYSIGNF 1
4172 cat >> confdefs.h <<\EOF
4176 cat >> confdefs.h <<\EOF
4177 #define HAVE_COSHF 1
4180 cat >> confdefs.h <<\EOF
4184 cat >> confdefs.h <<\EOF
4185 #define HAVE_FABSF 1
4188 cat >> confdefs.h <<\EOF
4189 #define HAVE_FINITE 1
4192 cat >> confdefs.h <<\EOF
4193 #define HAVE_FINITEF 1
4196 cat >> confdefs.h <<\EOF
4197 #define HAVE_FLOORF 1
4200 cat >> confdefs.h <<\EOF
4201 #define HAVE_FMODF 1
4204 cat >> confdefs.h <<\EOF
4205 #define HAVE_FREXPF 1
4208 cat >> confdefs.h <<\EOF
4209 #define HAVE_ISINF 1
4212 cat >> confdefs.h <<\EOF
4213 #define HAVE_ISINFF 1
4216 cat >> confdefs.h <<\EOF
4217 #define HAVE_ISNAN 1
4220 cat >> confdefs.h <<\EOF
4221 #define HAVE_ISNANF 1
4224 cat >> confdefs.h <<\EOF
4225 #define HAVE_LDEXPF 1
4228 cat >> confdefs.h <<\EOF
4229 #define HAVE_LOG10F 1
4232 cat >> confdefs.h <<\EOF
4236 cat >> confdefs.h <<\EOF
4237 #define HAVE_MODFF 1
4240 cat >> confdefs.h <<\EOF
4244 cat >> confdefs.h <<\EOF
4245 #define HAVE_SINCOS 1
4248 cat >> confdefs.h <<\EOF
4249 #define HAVE_SINCOSF 1
4252 cat >> confdefs.h <<\EOF
4256 cat >> confdefs.h <<\EOF
4257 #define HAVE_SINHF 1
4260 cat >> confdefs.h <<\EOF
4261 #define HAVE_SQRTF 1
4264 cat >> confdefs.h <<\EOF
4268 cat >> confdefs.h <<\EOF
4269 #define HAVE_TANHF 1
4273 # At some point, we should differentiate between architectures
4274 # like x86, which have long double versions, and alpha/powerpc/etc.,
4275 # which don't. For the time being, punt.
4276 if test x"long_double_math_on_this_cpu" = x"yes"; then
4277 cat >> confdefs.h <<\EOF
4278 #define HAVE_ACOSL 1
4281 cat >> confdefs.h <<\EOF
4282 #define HAVE_ASINL 1
4285 cat >> confdefs.h <<\EOF
4286 #define HAVE_ATAN2L 1
4289 cat >> confdefs.h <<\EOF
4290 #define HAVE_ATANL 1
4293 cat >> confdefs.h <<\EOF
4294 #define HAVE_CEILL 1
4297 cat >> confdefs.h <<\EOF
4298 #define HAVE_COPYSIGNL 1
4301 cat >> confdefs.h <<\EOF
4305 cat >> confdefs.h <<\EOF
4306 #define HAVE_COSHL 1
4309 cat >> confdefs.h <<\EOF
4313 cat >> confdefs.h <<\EOF
4314 #define HAVE_FABSL 1
4317 cat >> confdefs.h <<\EOF
4318 #define HAVE_FINITEL 1
4321 cat >> confdefs.h <<\EOF
4322 #define HAVE_FLOORL 1
4325 cat >> confdefs.h <<\EOF
4326 #define HAVE_FMODL 1
4329 cat >> confdefs.h <<\EOF
4330 #define HAVE_FREXPL 1
4333 cat >> confdefs.h <<\EOF
4334 #define HAVE_ISINFL 1
4337 cat >> confdefs.h <<\EOF
4338 #define HAVE_ISNANL 1
4341 cat >> confdefs.h <<\EOF
4342 #define HAVE_LDEXPL 1
4345 cat >> confdefs.h <<\EOF
4346 #define HAVE_LOG10L 1
4349 cat >> confdefs.h <<\EOF
4353 cat >> confdefs.h <<\EOF
4354 #define HAVE_MODFL 1
4357 cat >> confdefs.h <<\EOF
4361 cat >> confdefs.h <<\EOF
4362 #define HAVE_SINCOSL 1
4365 cat >> confdefs.h <<\EOF
4369 cat >> confdefs.h <<\EOF
4370 #define HAVE_SINHL 1
4373 cat >> confdefs.h <<\EOF
4374 #define HAVE_SQRTL 1
4377 cat >> confdefs.h <<\EOF
4381 cat >> confdefs.h <<\EOF
4382 #define HAVE_TANHL 1
4387 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4388 echo "configure:4389: checking for main in -lm" >&5
4389 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4390 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4391 echo $ac_n "(cached) $ac_c" 1>&6
4393 ac_save_LIBS="$LIBS"
4395 cat > conftest.$ac_ext <<EOF
4396 #line 4397 "configure"
4397 #include "confdefs.h"
4403 if { (eval echo configure:4404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4405 eval "ac_cv_lib_$ac_lib_var=yes"
4407 echo "configure: failed program was:" >&5
4408 cat conftest.$ac_ext >&5
4410 eval "ac_cv_lib_$ac_lib_var=no"
4413 LIBS="$ac_save_LIBS"
4416 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4417 echo "$ac_t""yes" 1>&6
4418 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4419 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4420 cat >> confdefs.h <<EOF
4421 #define $ac_tr_lib 1
4427 echo "$ac_t""no" 1>&6
4430 for ac_func in nan hypot hypotf atan2f expf copysignf
4432 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4433 echo "configure:4434: checking for $ac_func" >&5
4434 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4435 echo $ac_n "(cached) $ac_c" 1>&6
4437 cat > conftest.$ac_ext <<EOF
4438 #line 4439 "configure"
4439 #include "confdefs.h"
4440 /* System header to define __stub macros and hopefully few prototypes,
4441 which can conflict with char $ac_func(); below. */
4443 /* Override any gcc2 internal prototype to avoid an error. */
4444 /* We use char because int might match the return type of a gcc2
4445 builtin and then its argument prototype would still apply. */
4450 /* The GNU C library defines this for functions which it implements
4451 to always fail with ENOSYS. Some functions are actually named
4452 something starting with __ and the normal name is an alias. */
4453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4461 if { (eval echo configure:4462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4463 eval "ac_cv_func_$ac_func=yes"
4465 echo "configure: failed program was:" >&5
4466 cat conftest.$ac_ext >&5
4468 eval "ac_cv_func_$ac_func=no"
4473 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4474 echo "$ac_t""yes" 1>&6
4475 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4476 cat >> confdefs.h <<EOF
4477 #define $ac_tr_func 1
4481 echo "$ac_t""no" 1>&6
4482 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4488 USE_COMPLEX_LONG_DOUBLE=no
4489 if test x$ac_cv_func_atan2l = x"yes" \
4490 && test x$ac_cv_func_copysignl = x"yes"; then
4491 USE_COMPLEX_LONG_DOUBLE=yes
4492 for ac_func in hypotl signbitl
4494 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4495 echo "configure:4496: checking for $ac_func" >&5
4496 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4497 echo $ac_n "(cached) $ac_c" 1>&6
4499 cat > conftest.$ac_ext <<EOF
4500 #line 4501 "configure"
4501 #include "confdefs.h"
4502 /* System header to define __stub macros and hopefully few prototypes,
4503 which can conflict with char $ac_func(); below. */
4505 /* Override any gcc2 internal prototype to avoid an error. */
4506 /* We use char because int might match the return type of a gcc2
4507 builtin and then its argument prototype would still apply. */
4512 /* The GNU C library defines this for functions which it implements
4513 to always fail with ENOSYS. Some functions are actually named
4514 something starting with __ and the normal name is an alias. */
4515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4523 if { (eval echo configure:4524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4525 eval "ac_cv_func_$ac_func=yes"
4527 echo "configure: failed program was:" >&5
4528 cat conftest.$ac_ext >&5
4530 eval "ac_cv_func_$ac_func=no"
4535 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4536 echo "$ac_t""yes" 1>&6
4537 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4538 cat >> confdefs.h <<EOF
4539 #define $ac_tr_func 1
4543 echo "$ac_t""no" 1>&6
4544 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4556 echo $ac_n "checking for GNU C++ __complex__ support""... $ac_c" 1>&6
4557 echo "configure:4558: checking for GNU C++ __complex__ support" >&5
4558 if eval "test \"`echo '$''{'glibcpp_cv_complex'+set}'`\" = set"; then
4559 echo $ac_n "(cached) $ac_c" 1>&6
4564 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4565 ac_cpp='$CXXCPP $CPPFLAGS'
4566 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4567 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4568 cross_compiling=$ac_cv_prog_cxx_cross
4570 cat > conftest.$ac_ext <<EOF
4571 #line 4572 "configure"
4572 #include "confdefs.h"
4573 struct dcomplex { __complex__ double x; }; \
4574 dcomplex f(const dcomplex& x) { return dcomplex(x); }
4580 if { (eval echo configure:4581: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4582 glibcpp_cv_complex=ok
4584 echo "configure: failed program was:" >&5
4585 cat conftest.$ac_ext >&5
4587 glibcpp_cv_complex=buggy
4592 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4593 ac_cpp='$CPP $CPPFLAGS'
4594 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4595 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4596 cross_compiling=$ac_cv_prog_cc_cross
4601 echo "$ac_t""$glibcpp_cv_complex" 1>&6
4602 if test $glibcpp_cv_complex = buggy; then
4603 cat >> confdefs.h <<\EOF
4604 #define _GLIBCPP_BUGGY_COMPLEX 1
4609 echo $ac_n "checking for GNU C++ __complex__ float support""... $ac_c" 1>&6
4610 echo "configure:4611: checking for GNU C++ __complex__ float support" >&5
4611 if eval "test \"`echo '$''{'glibcpp_cv_float_complex'+set}'`\" = set"; then
4612 echo $ac_n "(cached) $ac_c" 1>&6
4617 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4618 ac_cpp='$CXXCPP $CPPFLAGS'
4619 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4620 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4621 cross_compiling=$ac_cv_prog_cxx_cross
4624 cat > conftest.h <<EOB
4626 // Check for buggy __complex__ that causes ICE in most versions of egcs
4627 // and gcc-2.95.x on certain platforms (eg., x86-win32).
4629 // See http://gcc.gnu.org/ml/gcc-bugs/1999-07n/msg00845.html for
4630 // more info on the bug itself.
4635 __complex__ float m_value;
4636 float_complex (float = 0.0f, float = 0.0f);
4637 float_complex (__complex__ float val) : m_value (val) {}
4638 float_complex foo (const float_complex &val)
4639 { return float_complex (~val.m_value); }
4642 cat > conftest.$ac_ext <<EOF
4643 #line 4644 "configure"
4644 #include "confdefs.h"
4645 #include "conftest.h"
4650 if { (eval echo configure:4651: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4652 glibcpp_cv_float_complex=ok
4654 echo "configure: failed program was:" >&5
4655 cat conftest.$ac_ext >&5
4657 glibcpp_cv_float_complex=buggy
4662 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4663 ac_cpp='$CPP $CPPFLAGS'
4664 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4665 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4666 cross_compiling=$ac_cv_prog_cc_cross
4671 echo "$ac_t""$glibcpp_cv_float_complex" 1>&6
4672 if test $glibcpp_cv_float_complex = buggy; then
4673 cat >> confdefs.h <<\EOF
4674 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
4681 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4682 echo "configure:4683: checking for mbstate_t" >&5
4683 cat > conftest.$ac_ext <<EOF
4684 #line 4685 "configure"
4685 #include "confdefs.h"
4688 mbstate_t teststate;
4691 if { (eval echo configure:4692: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4695 echo "configure: failed program was:" >&5
4696 cat conftest.$ac_ext >&5
4701 echo "$ac_t""$have_mbstate_t" 1>&6
4702 if test x"$have_mbstate_t" = xyes; then
4703 cat >> confdefs.h <<\EOF
4704 #define HAVE_MBSTATE_T 1
4709 for ac_hdr in wchar.h
4711 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4712 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4713 echo "configure:4714: checking for $ac_hdr" >&5
4714 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4715 echo $ac_n "(cached) $ac_c" 1>&6
4717 cat > conftest.$ac_ext <<EOF
4718 #line 4719 "configure"
4719 #include "confdefs.h"
4722 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4723 { (eval echo configure:4724: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4724 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4725 if test -z "$ac_err"; then
4727 eval "ac_cv_header_$ac_safe=yes"
4730 echo "configure: failed program was:" >&5
4731 cat conftest.$ac_ext >&5
4733 eval "ac_cv_header_$ac_safe=no"
4737 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4738 echo "$ac_t""yes" 1>&6
4739 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4740 cat >> confdefs.h <<EOF
4741 #define $ac_tr_hdr 1
4745 echo "$ac_t""no" 1>&6
4750 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
4751 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
4752 echo "configure:4753: checking for wctype.h" >&5
4753 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4754 echo $ac_n "(cached) $ac_c" 1>&6
4756 cat > conftest.$ac_ext <<EOF
4757 #line 4758 "configure"
4758 #include "confdefs.h"
4761 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4762 { (eval echo configure:4763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4763 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4764 if test -z "$ac_err"; then
4766 eval "ac_cv_header_$ac_safe=yes"
4769 echo "configure: failed program was:" >&5
4770 cat conftest.$ac_ext >&5
4772 eval "ac_cv_header_$ac_safe=no"
4776 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4777 echo "$ac_t""yes" 1>&6
4780 echo "$ac_t""no" 1>&6
4785 if test x"$ac_has_wchar_h" = xyes && test x"$ac_has_wctype_h" = xyes \
4786 && test x"$enable_c_mbchar" != xno; then
4788 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4789 echo "configure:4790: checking for WCHAR_MIN and WCHAR_MAX" >&5
4790 cat > conftest.$ac_ext <<EOF
4791 #line 4792 "configure"
4792 #include "confdefs.h"
4795 int i = WCHAR_MIN; int j = WCHAR_MAX;
4798 if { (eval echo configure:4799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4800 has_wchar_minmax=yes
4802 echo "configure: failed program was:" >&5
4803 cat conftest.$ac_ext >&5
4808 echo "$ac_t""$has_wchar_minmax" 1>&6
4810 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4811 echo "configure:4812: checking for WEOF" >&5
4812 cat > conftest.$ac_ext <<EOF
4813 #line 4814 "configure"
4814 #include "confdefs.h"
4822 if { (eval echo configure:4823: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4826 echo "configure: failed program was:" >&5
4827 cat conftest.$ac_ext >&5
4832 echo "$ac_t""$has_weof" 1>&6
4834 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset \
4837 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4838 echo "configure:4839: checking for $ac_func" >&5
4839 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4840 echo $ac_n "(cached) $ac_c" 1>&6
4842 cat > conftest.$ac_ext <<EOF
4843 #line 4844 "configure"
4844 #include "confdefs.h"
4845 /* System header to define __stub macros and hopefully few prototypes,
4846 which can conflict with char $ac_func(); below. */
4848 /* Override any gcc2 internal prototype to avoid an error. */
4849 /* We use char because int might match the return type of a gcc2
4850 builtin and then its argument prototype would still apply. */
4855 /* The GNU C library defines this for functions which it implements
4856 to always fail with ENOSYS. Some functions are actually named
4857 something starting with __ and the normal name is an alias. */
4858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4866 if { (eval echo configure:4867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4868 eval "ac_cv_func_$ac_func=yes"
4870 echo "configure: failed program was:" >&5
4871 cat conftest.$ac_ext >&5
4873 eval "ac_cv_func_$ac_func=no"
4878 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4879 echo "$ac_t""yes" 1>&6
4880 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4881 cat >> confdefs.h <<EOF
4882 #define $ac_tr_func 1
4886 echo "$ac_t""no" 1>&6
4892 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4893 echo "configure:4894: checking for ISO C99 wchar_t support" >&5
4894 if test x"$has_weof" = xyes && test x"$has_wchar_minmax" = xyes \
4895 && test x"$ac_wfuncs" = xyes; then
4896 ac_isoC99_wchar_t=yes
4898 ac_isoC99_wchar_t=no
4900 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4902 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4903 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4904 echo "configure:4905: checking for iconv.h" >&5
4905 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4906 echo $ac_n "(cached) $ac_c" 1>&6
4908 cat > conftest.$ac_ext <<EOF
4909 #line 4910 "configure"
4910 #include "confdefs.h"
4913 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4914 { (eval echo configure:4915: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4915 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4916 if test -z "$ac_err"; then
4918 eval "ac_cv_header_$ac_safe=yes"
4921 echo "configure: failed program was:" >&5
4922 cat conftest.$ac_ext >&5
4924 eval "ac_cv_header_$ac_safe=no"
4928 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4929 echo "$ac_t""yes" 1>&6
4932 echo "$ac_t""no" 1>&6
4936 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4937 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4938 echo "configure:4939: checking for langinfo.h" >&5
4939 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4940 echo $ac_n "(cached) $ac_c" 1>&6
4942 cat > conftest.$ac_ext <<EOF
4943 #line 4944 "configure"
4944 #include "confdefs.h"
4945 #include <langinfo.h>
4947 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4948 { (eval echo configure:4949: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4949 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4950 if test -z "$ac_err"; then
4952 eval "ac_cv_header_$ac_safe=yes"
4955 echo "configure: failed program was:" >&5
4956 cat conftest.$ac_ext >&5
4958 eval "ac_cv_header_$ac_safe=no"
4962 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4963 echo "$ac_t""yes" 1>&6
4964 ac_has_langinfo_h=yes
4966 echo "$ac_t""no" 1>&6
4967 ac_has_langinfo_h=no
4971 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4972 echo "configure:4973: checking for iconv in -liconv" >&5
4973 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4974 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4975 echo $ac_n "(cached) $ac_c" 1>&6
4977 ac_save_LIBS="$LIBS"
4978 LIBS="-liconv $LIBS"
4979 cat > conftest.$ac_ext <<EOF
4980 #line 4981 "configure"
4981 #include "confdefs.h"
4982 /* Override any gcc2 internal prototype to avoid an error. */
4983 /* We use char because int might match the return type of a gcc2
4984 builtin and then its argument prototype would still apply. */
4991 if { (eval echo configure:4992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4993 eval "ac_cv_lib_$ac_lib_var=yes"
4995 echo "configure: failed program was:" >&5
4996 cat conftest.$ac_ext >&5
4998 eval "ac_cv_lib_$ac_lib_var=no"
5001 LIBS="$ac_save_LIBS"
5004 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5005 echo "$ac_t""yes" 1>&6
5008 echo "$ac_t""no" 1>&6
5011 ac_save_LIBS="$LIBS"
5012 LIBS="$LIBS $libiconv"
5014 for ac_func in iconv_open iconv_close iconv nl_langinfo
5016 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5017 echo "configure:5018: checking for $ac_func" >&5
5018 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5019 echo $ac_n "(cached) $ac_c" 1>&6
5021 cat > conftest.$ac_ext <<EOF
5022 #line 5023 "configure"
5023 #include "confdefs.h"
5024 /* System header to define __stub macros and hopefully few prototypes,
5025 which can conflict with char $ac_func(); below. */
5027 /* Override any gcc2 internal prototype to avoid an error. */
5028 /* We use char because int might match the return type of a gcc2
5029 builtin and then its argument prototype would still apply. */
5034 /* The GNU C library defines this for functions which it implements
5035 to always fail with ENOSYS. Some functions are actually named
5036 something starting with __ and the normal name is an alias. */
5037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5045 if { (eval echo configure:5046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5047 eval "ac_cv_func_$ac_func=yes"
5049 echo "configure: failed program was:" >&5
5050 cat conftest.$ac_ext >&5
5052 eval "ac_cv_func_$ac_func=no"
5057 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5058 echo "$ac_t""yes" 1>&6
5059 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5060 cat >> confdefs.h <<EOF
5061 #define $ac_tr_func 1
5066 echo "$ac_t""no" 1>&6
5072 LIBS="$ac_save_LIBS"
5074 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5075 echo "configure:5076: checking for XPG2 wchar_t support" >&5
5076 if test x"$ac_has_iconv_h" = xyes && test x"$ac_has_langinfo_h" = xyes \
5077 && test x"$ac_XPG2funcs" = xyes; then
5082 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5084 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5085 echo "configure:5086: checking for enabled wchar_t specializations" >&5
5086 if test x"$ac_isoC99_wchar_t" = xyes \
5087 && test x"$ac_XPG2_wchar_t" = xyes; then
5088 cat >> confdefs.h <<\EOF
5089 #define _GLIBCPP_USE_WCHAR_T 1
5092 echo "$ac_t"""yes"" 1>&6
5094 echo "$ac_t"""no"" 1>&6
5097 echo "configure: warning: wchar_t support disabled." 1>&2
5100 os_include_dir="config/os/gnu-linux"
5101 # GLIBCPP_CHECK_STDLIB_SUPPORT
5102 cat >> confdefs.h <<\EOF
5103 #define HAVE_STRTOF 1
5106 cat >> confdefs.h <<\EOF
5107 #define HAVE_STRTOLD 1
5111 cat >> confdefs.h <<\EOF
5117 # We assume newlib. This lets us hard-code the functions we know
5119 cat >> confdefs.h <<\EOF
5120 #define HAVE_FINITE 1
5123 cat >> confdefs.h <<\EOF
5124 #define HAVE_ISNAN 1
5127 cat >> confdefs.h <<\EOF
5128 #define HAVE_ISNANF 1
5131 cat >> confdefs.h <<\EOF
5132 #define HAVE_ISINF 1
5135 cat >> confdefs.h <<\EOF
5136 #define HAVE_ISINFF 1
5140 os_include_dir="config/os/newlib"
5142 cat >> confdefs.h <<\EOF
5143 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
5146 cat >> confdefs.h <<\EOF
5147 #define _GLIBCPP_BUGGY_COMPLEX 1
5150 # need to check for faster f versions of math functions, ie sinf?
5155 # We are being configured natively. We can do more elaborate tests
5156 # that include AC_TRY_COMPILE now, as the linker is assumed to be
5163 # Check for available headers.
5164 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
5165 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h
5167 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5168 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5169 echo "configure:5170: checking for $ac_hdr" >&5
5170 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5171 echo $ac_n "(cached) $ac_c" 1>&6
5173 cat > conftest.$ac_ext <<EOF
5174 #line 5175 "configure"
5175 #include "confdefs.h"
5178 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5179 { (eval echo configure:5180: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5180 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5181 if test -z "$ac_err"; then
5183 eval "ac_cv_header_$ac_safe=yes"
5186 echo "configure: failed program was:" >&5
5187 cat conftest.$ac_ext >&5
5189 eval "ac_cv_header_$ac_safe=no"
5193 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5194 echo "$ac_t""yes" 1>&6
5195 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5196 cat >> confdefs.h <<EOF
5197 #define $ac_tr_hdr 1
5201 echo "$ac_t""no" 1>&6
5207 # All these tests are for C++; save the language and the compiler flags.
5208 # The CXXFLAGS thing is suspicious, but based on similar bits
5209 # found in GLIBCPP_CONFIGURE.
5212 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5213 ac_cpp='$CXXCPP $CPPFLAGS'
5214 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5215 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5216 cross_compiling=$ac_cv_prog_cxx_cross
5218 ac_test_CXXFLAGS="${CXXFLAGS+set}"
5219 ac_save_CXXFLAGS="$CXXFLAGS"
5221 # Check for maintainer-mode bits.
5222 if test x"$USE_MAINTAINER_MODE" = xno; then
5228 # Check for -ffunction-sections -fdata-sections
5229 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
5230 echo "configure:5231: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
5231 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
5232 cat > conftest.$ac_ext <<EOF
5233 #line 5234 "configure"
5234 #include "confdefs.h"
5241 if { (eval echo configure:5242: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5245 echo "configure: failed program was:" >&5
5246 cat conftest.$ac_ext >&5
5251 if test "$ac_test_CXXFLAGS" = set; then
5252 CXXFLAGS="$ac_save_CXXFLAGS"
5254 # this is the suspicious part
5257 if test x"$ac_fdsections" = x"yes" && test x"$enable_debug" = x"no"; then
5258 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5260 echo "$ac_t""$ac_fdsections" 1>&6
5263 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5264 ac_cpp='$CPP $CPPFLAGS'
5265 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5266 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5267 cross_compiling=$ac_cv_prog_cc_cross
5273 # If we're not using GNU ld, then there's no point in even trying these
5274 # tests. Check for that first. We should have already tested for gld
5275 # by now (in libtool), but require it now just to be safe...
5280 # Set --gc-sections.
5281 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
5282 # GNU ld it is! Joy and bunny rabbits!
5284 # All these tests are for C++; save the language and the compiler flags.
5285 # Need to do this so that g++ won't try to link in libstdc++
5286 ac_test_CFLAGS="${CFLAGS+set}"
5287 ac_save_CFLAGS="$CFLAGS"
5288 CFLAGS='-x c++ -Wl,--gc-sections'
5290 # Check for -Wl,--gc-sections
5291 # XXX This test is broken at the moment, as symbols required for
5292 # linking are now in libsupc++ (not built yet.....). In addition,
5293 # this test has cored on solaris in the past. In addition,
5294 # --gc-sections doesn't really work at the moment (keeps on discarding
5295 # used sections, first .eh_frame and now some of the glibc sections for
5296 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5297 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5298 echo "configure:5299: checking for ld that supports -Wl,--gc-sections" >&5
5299 if test "$cross_compiling" = yes; then
5300 ac_sectionLDflags=yes
5302 cat > conftest.$ac_ext <<EOF
5303 #line 5304 "configure"
5304 #include "confdefs.h"
5314 if { (eval echo configure:5315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5316 ac_sectionLDflags=yes
5318 echo "configure: failed program was:" >&5
5319 cat conftest.$ac_ext >&5
5321 ac_sectionLFflags=no
5326 if test "$ac_test_CFLAGS" = set; then
5327 CFLAGS="$ac_save_CFLAGS"
5329 # this is the suspicious part
5332 if test "$ac_sectionLDflags" = "yes"; then
5333 SECTION_LDFLAGS='-Wl,--gc-sections'
5335 echo "$ac_t""$ac_sectionLDflags" 1>&6
5338 # Set linker optimization flags.
5339 if test x"$ac_cv_prog_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
5340 OPT_LDFLAGS='-Wl,-O1'
5348 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
5349 echo "configure:5350: checking for __builtin_abs declaration" >&5
5350 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
5351 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
5352 echo $ac_n "(cached) $ac_c" 1>&6
5357 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5358 ac_cpp='$CXXCPP $CPPFLAGS'
5359 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5360 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5361 cross_compiling=$ac_cv_prog_cxx_cross
5363 cat > conftest.$ac_ext <<EOF
5364 #line 5365 "configure"
5365 #include "confdefs.h"
5371 if { (eval echo configure:5372: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5373 glibcpp_cv_func___builtin_abs_use=yes
5375 echo "configure: failed program was:" >&5
5376 cat conftest.$ac_ext >&5
5378 glibcpp_cv_func___builtin_abs_use=no
5382 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5383 ac_cpp='$CPP $CPPFLAGS'
5384 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5385 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5386 cross_compiling=$ac_cv_prog_cc_cross
5392 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
5393 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
5394 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
5395 echo "configure:5396: checking for __builtin_abs linkage" >&5
5396 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
5397 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
5398 echo $ac_n "(cached) $ac_c" 1>&6
5401 cat > conftest.$ac_ext <<EOF
5402 #line 5403 "configure"
5403 #include "confdefs.h"
5409 if { (eval echo configure:5410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5411 glibcpp_cv_func___builtin_abs_link=yes
5413 echo "configure: failed program was:" >&5
5414 cat conftest.$ac_ext >&5
5416 glibcpp_cv_func___builtin_abs_link=no
5423 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
5424 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
5425 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5426 cat >> confdefs.h <<EOF
5427 #define ${ac_tr_func} 1
5434 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
5435 echo "configure:5436: checking for __builtin_fabsf declaration" >&5
5436 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
5437 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
5438 echo $ac_n "(cached) $ac_c" 1>&6
5443 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5444 ac_cpp='$CXXCPP $CPPFLAGS'
5445 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5446 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5447 cross_compiling=$ac_cv_prog_cxx_cross
5449 cat > conftest.$ac_ext <<EOF
5450 #line 5451 "configure"
5451 #include "confdefs.h"
5457 if { (eval echo configure:5458: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5459 glibcpp_cv_func___builtin_fabsf_use=yes
5461 echo "configure: failed program was:" >&5
5462 cat conftest.$ac_ext >&5
5464 glibcpp_cv_func___builtin_fabsf_use=no
5468 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5469 ac_cpp='$CPP $CPPFLAGS'
5470 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5471 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5472 cross_compiling=$ac_cv_prog_cc_cross
5478 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
5479 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
5480 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
5481 echo "configure:5482: checking for __builtin_fabsf linkage" >&5
5482 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
5483 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
5484 echo $ac_n "(cached) $ac_c" 1>&6
5487 cat > conftest.$ac_ext <<EOF
5488 #line 5489 "configure"
5489 #include "confdefs.h"
5495 if { (eval echo configure:5496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5497 glibcpp_cv_func___builtin_fabsf_link=yes
5499 echo "configure: failed program was:" >&5
5500 cat conftest.$ac_ext >&5
5502 glibcpp_cv_func___builtin_fabsf_link=no
5509 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
5510 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
5511 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5512 cat >> confdefs.h <<EOF
5513 #define ${ac_tr_func} 1
5520 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
5521 echo "configure:5522: checking for __builtin_fabs declaration" >&5
5522 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
5523 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
5524 echo $ac_n "(cached) $ac_c" 1>&6
5529 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5530 ac_cpp='$CXXCPP $CPPFLAGS'
5531 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5532 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5533 cross_compiling=$ac_cv_prog_cxx_cross
5535 cat > conftest.$ac_ext <<EOF
5536 #line 5537 "configure"
5537 #include "confdefs.h"
5543 if { (eval echo configure:5544: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5545 glibcpp_cv_func___builtin_fabs_use=yes
5547 echo "configure: failed program was:" >&5
5548 cat conftest.$ac_ext >&5
5550 glibcpp_cv_func___builtin_fabs_use=no
5554 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5555 ac_cpp='$CPP $CPPFLAGS'
5556 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5557 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5558 cross_compiling=$ac_cv_prog_cc_cross
5564 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
5565 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
5566 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
5567 echo "configure:5568: checking for __builtin_fabs linkage" >&5
5568 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
5569 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
5570 echo $ac_n "(cached) $ac_c" 1>&6
5573 cat > conftest.$ac_ext <<EOF
5574 #line 5575 "configure"
5575 #include "confdefs.h"
5581 if { (eval echo configure:5582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5583 glibcpp_cv_func___builtin_fabs_link=yes
5585 echo "configure: failed program was:" >&5
5586 cat conftest.$ac_ext >&5
5588 glibcpp_cv_func___builtin_fabs_link=no
5595 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
5596 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
5597 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5598 cat >> confdefs.h <<EOF
5599 #define ${ac_tr_func} 1
5606 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
5607 echo "configure:5608: checking for __builtin_fabsl declaration" >&5
5608 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
5609 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
5610 echo $ac_n "(cached) $ac_c" 1>&6
5615 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5616 ac_cpp='$CXXCPP $CPPFLAGS'
5617 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5618 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5619 cross_compiling=$ac_cv_prog_cxx_cross
5621 cat > conftest.$ac_ext <<EOF
5622 #line 5623 "configure"
5623 #include "confdefs.h"
5629 if { (eval echo configure:5630: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5631 glibcpp_cv_func___builtin_fabsl_use=yes
5633 echo "configure: failed program was:" >&5
5634 cat conftest.$ac_ext >&5
5636 glibcpp_cv_func___builtin_fabsl_use=no
5640 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5641 ac_cpp='$CPP $CPPFLAGS'
5642 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5643 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5644 cross_compiling=$ac_cv_prog_cc_cross
5650 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
5651 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
5652 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
5653 echo "configure:5654: checking for __builtin_fabsl linkage" >&5
5654 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
5655 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
5656 echo $ac_n "(cached) $ac_c" 1>&6
5659 cat > conftest.$ac_ext <<EOF
5660 #line 5661 "configure"
5661 #include "confdefs.h"
5667 if { (eval echo configure:5668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5669 glibcpp_cv_func___builtin_fabsl_link=yes
5671 echo "configure: failed program was:" >&5
5672 cat conftest.$ac_ext >&5
5674 glibcpp_cv_func___builtin_fabsl_link=no
5681 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
5682 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
5683 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5684 cat >> confdefs.h <<EOF
5685 #define ${ac_tr_func} 1
5692 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
5693 echo "configure:5694: checking for __builtin_labs declaration" >&5
5694 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
5695 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
5696 echo $ac_n "(cached) $ac_c" 1>&6
5701 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5702 ac_cpp='$CXXCPP $CPPFLAGS'
5703 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5704 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5705 cross_compiling=$ac_cv_prog_cxx_cross
5707 cat > conftest.$ac_ext <<EOF
5708 #line 5709 "configure"
5709 #include "confdefs.h"
5715 if { (eval echo configure:5716: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5717 glibcpp_cv_func___builtin_labs_use=yes
5719 echo "configure: failed program was:" >&5
5720 cat conftest.$ac_ext >&5
5722 glibcpp_cv_func___builtin_labs_use=no
5726 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5727 ac_cpp='$CPP $CPPFLAGS'
5728 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5729 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5730 cross_compiling=$ac_cv_prog_cc_cross
5736 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
5737 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
5738 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
5739 echo "configure:5740: checking for __builtin_labs linkage" >&5
5740 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
5741 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
5742 echo $ac_n "(cached) $ac_c" 1>&6
5745 cat > conftest.$ac_ext <<EOF
5746 #line 5747 "configure"
5747 #include "confdefs.h"
5753 if { (eval echo configure:5754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5755 glibcpp_cv_func___builtin_labs_link=yes
5757 echo "configure: failed program was:" >&5
5758 cat conftest.$ac_ext >&5
5760 glibcpp_cv_func___builtin_labs_link=no
5767 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
5768 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
5769 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5770 cat >> confdefs.h <<EOF
5771 #define ${ac_tr_func} 1
5779 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
5780 echo "configure:5781: checking for __builtin_sqrtf declaration" >&5
5781 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
5782 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
5783 echo $ac_n "(cached) $ac_c" 1>&6
5788 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5789 ac_cpp='$CXXCPP $CPPFLAGS'
5790 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5791 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5792 cross_compiling=$ac_cv_prog_cxx_cross
5794 cat > conftest.$ac_ext <<EOF
5795 #line 5796 "configure"
5796 #include "confdefs.h"
5802 if { (eval echo configure:5803: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5804 glibcpp_cv_func___builtin_sqrtf_use=yes
5806 echo "configure: failed program was:" >&5
5807 cat conftest.$ac_ext >&5
5809 glibcpp_cv_func___builtin_sqrtf_use=no
5813 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5814 ac_cpp='$CPP $CPPFLAGS'
5815 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5816 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5817 cross_compiling=$ac_cv_prog_cc_cross
5823 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
5824 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
5825 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
5826 echo "configure:5827: checking for __builtin_sqrtf linkage" >&5
5827 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
5828 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
5829 echo $ac_n "(cached) $ac_c" 1>&6
5832 cat > conftest.$ac_ext <<EOF
5833 #line 5834 "configure"
5834 #include "confdefs.h"
5840 if { (eval echo configure:5841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5842 glibcpp_cv_func___builtin_sqrtf_link=yes
5844 echo "configure: failed program was:" >&5
5845 cat conftest.$ac_ext >&5
5847 glibcpp_cv_func___builtin_sqrtf_link=no
5854 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
5855 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
5856 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5857 cat >> confdefs.h <<EOF
5858 #define ${ac_tr_func} 1
5865 echo $ac_n "checking for __builtin_fsqrt declaration""... $ac_c" 1>&6
5866 echo "configure:5867: checking for __builtin_fsqrt declaration" >&5
5867 if test x${glibcpp_cv_func___builtin_fsqrt_use+set} != xset; then
5868 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_use'+set}'`\" = set"; then
5869 echo $ac_n "(cached) $ac_c" 1>&6
5874 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5875 ac_cpp='$CXXCPP $CPPFLAGS'
5876 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5877 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5878 cross_compiling=$ac_cv_prog_cxx_cross
5880 cat > conftest.$ac_ext <<EOF
5881 #line 5882 "configure"
5882 #include "confdefs.h"
5888 if { (eval echo configure:5889: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5890 glibcpp_cv_func___builtin_fsqrt_use=yes
5892 echo "configure: failed program was:" >&5
5893 cat conftest.$ac_ext >&5
5895 glibcpp_cv_func___builtin_fsqrt_use=no
5899 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5900 ac_cpp='$CPP $CPPFLAGS'
5901 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5902 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5903 cross_compiling=$ac_cv_prog_cc_cross
5909 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_use" 1>&6
5910 if test x$glibcpp_cv_func___builtin_fsqrt_use = x"yes"; then
5911 echo $ac_n "checking for __builtin_fsqrt linkage""... $ac_c" 1>&6
5912 echo "configure:5913: checking for __builtin_fsqrt linkage" >&5
5913 if test x${glibcpp_cv_func___builtin_fsqrt_link+set} != xset; then
5914 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_link'+set}'`\" = set"; then
5915 echo $ac_n "(cached) $ac_c" 1>&6
5918 cat > conftest.$ac_ext <<EOF
5919 #line 5920 "configure"
5920 #include "confdefs.h"
5926 if { (eval echo configure:5927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5928 glibcpp_cv_func___builtin_fsqrt_link=yes
5930 echo "configure: failed program was:" >&5
5931 cat conftest.$ac_ext >&5
5933 glibcpp_cv_func___builtin_fsqrt_link=no
5940 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_link" 1>&6
5941 if test x$glibcpp_cv_func___builtin_fsqrt_link = x"yes"; then
5942 ac_tr_func=HAVE_`echo __builtin_fsqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5943 cat >> confdefs.h <<EOF
5944 #define ${ac_tr_func} 1
5951 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
5952 echo "configure:5953: checking for __builtin_sqrtl declaration" >&5
5953 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
5954 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
5955 echo $ac_n "(cached) $ac_c" 1>&6
5960 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5961 ac_cpp='$CXXCPP $CPPFLAGS'
5962 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5963 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5964 cross_compiling=$ac_cv_prog_cxx_cross
5966 cat > conftest.$ac_ext <<EOF
5967 #line 5968 "configure"
5968 #include "confdefs.h"
5974 if { (eval echo configure:5975: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5976 glibcpp_cv_func___builtin_sqrtl_use=yes
5978 echo "configure: failed program was:" >&5
5979 cat conftest.$ac_ext >&5
5981 glibcpp_cv_func___builtin_sqrtl_use=no
5985 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5986 ac_cpp='$CPP $CPPFLAGS'
5987 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5988 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5989 cross_compiling=$ac_cv_prog_cc_cross
5995 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
5996 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
5997 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
5998 echo "configure:5999: checking for __builtin_sqrtl linkage" >&5
5999 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
6000 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
6001 echo $ac_n "(cached) $ac_c" 1>&6
6004 cat > conftest.$ac_ext <<EOF
6005 #line 6006 "configure"
6006 #include "confdefs.h"
6012 if { (eval echo configure:6013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6014 glibcpp_cv_func___builtin_sqrtl_link=yes
6016 echo "configure: failed program was:" >&5
6017 cat conftest.$ac_ext >&5
6019 glibcpp_cv_func___builtin_sqrtl_link=no
6026 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
6027 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
6028 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6029 cat >> confdefs.h <<EOF
6030 #define ${ac_tr_func} 1
6038 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
6039 echo "configure:6040: checking for __builtin_sinf declaration" >&5
6040 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
6041 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
6042 echo $ac_n "(cached) $ac_c" 1>&6
6047 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6048 ac_cpp='$CXXCPP $CPPFLAGS'
6049 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6050 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6051 cross_compiling=$ac_cv_prog_cxx_cross
6053 cat > conftest.$ac_ext <<EOF
6054 #line 6055 "configure"
6055 #include "confdefs.h"
6061 if { (eval echo configure:6062: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6063 glibcpp_cv_func___builtin_sinf_use=yes
6065 echo "configure: failed program was:" >&5
6066 cat conftest.$ac_ext >&5
6068 glibcpp_cv_func___builtin_sinf_use=no
6072 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6073 ac_cpp='$CPP $CPPFLAGS'
6074 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6075 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6076 cross_compiling=$ac_cv_prog_cc_cross
6082 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
6083 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
6084 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
6085 echo "configure:6086: checking for __builtin_sinf linkage" >&5
6086 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
6087 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
6088 echo $ac_n "(cached) $ac_c" 1>&6
6091 cat > conftest.$ac_ext <<EOF
6092 #line 6093 "configure"
6093 #include "confdefs.h"
6099 if { (eval echo configure:6100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6101 glibcpp_cv_func___builtin_sinf_link=yes
6103 echo "configure: failed program was:" >&5
6104 cat conftest.$ac_ext >&5
6106 glibcpp_cv_func___builtin_sinf_link=no
6113 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
6114 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
6115 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6116 cat >> confdefs.h <<EOF
6117 #define ${ac_tr_func} 1
6124 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
6125 echo "configure:6126: checking for __builtin_sin declaration" >&5
6126 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
6127 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
6128 echo $ac_n "(cached) $ac_c" 1>&6
6133 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6134 ac_cpp='$CXXCPP $CPPFLAGS'
6135 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6136 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6137 cross_compiling=$ac_cv_prog_cxx_cross
6139 cat > conftest.$ac_ext <<EOF
6140 #line 6141 "configure"
6141 #include "confdefs.h"
6147 if { (eval echo configure:6148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6149 glibcpp_cv_func___builtin_sin_use=yes
6151 echo "configure: failed program was:" >&5
6152 cat conftest.$ac_ext >&5
6154 glibcpp_cv_func___builtin_sin_use=no
6158 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6159 ac_cpp='$CPP $CPPFLAGS'
6160 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6161 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6162 cross_compiling=$ac_cv_prog_cc_cross
6168 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
6169 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
6170 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
6171 echo "configure:6172: checking for __builtin_sin linkage" >&5
6172 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
6173 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
6174 echo $ac_n "(cached) $ac_c" 1>&6
6177 cat > conftest.$ac_ext <<EOF
6178 #line 6179 "configure"
6179 #include "confdefs.h"
6185 if { (eval echo configure:6186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6187 glibcpp_cv_func___builtin_sin_link=yes
6189 echo "configure: failed program was:" >&5
6190 cat conftest.$ac_ext >&5
6192 glibcpp_cv_func___builtin_sin_link=no
6199 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
6200 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
6201 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6202 cat >> confdefs.h <<EOF
6203 #define ${ac_tr_func} 1
6210 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
6211 echo "configure:6212: checking for __builtin_sinl declaration" >&5
6212 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
6213 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
6214 echo $ac_n "(cached) $ac_c" 1>&6
6219 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6220 ac_cpp='$CXXCPP $CPPFLAGS'
6221 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6222 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6223 cross_compiling=$ac_cv_prog_cxx_cross
6225 cat > conftest.$ac_ext <<EOF
6226 #line 6227 "configure"
6227 #include "confdefs.h"
6233 if { (eval echo configure:6234: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6235 glibcpp_cv_func___builtin_sinl_use=yes
6237 echo "configure: failed program was:" >&5
6238 cat conftest.$ac_ext >&5
6240 glibcpp_cv_func___builtin_sinl_use=no
6244 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6245 ac_cpp='$CPP $CPPFLAGS'
6246 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6247 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6248 cross_compiling=$ac_cv_prog_cc_cross
6254 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
6255 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
6256 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
6257 echo "configure:6258: checking for __builtin_sinl linkage" >&5
6258 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
6259 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
6260 echo $ac_n "(cached) $ac_c" 1>&6
6263 cat > conftest.$ac_ext <<EOF
6264 #line 6265 "configure"
6265 #include "confdefs.h"
6271 if { (eval echo configure:6272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6273 glibcpp_cv_func___builtin_sinl_link=yes
6275 echo "configure: failed program was:" >&5
6276 cat conftest.$ac_ext >&5
6278 glibcpp_cv_func___builtin_sinl_link=no
6285 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
6286 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
6287 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6288 cat >> confdefs.h <<EOF
6289 #define ${ac_tr_func} 1
6297 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
6298 echo "configure:6299: checking for __builtin_cosf declaration" >&5
6299 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
6300 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
6301 echo $ac_n "(cached) $ac_c" 1>&6
6306 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6307 ac_cpp='$CXXCPP $CPPFLAGS'
6308 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6309 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6310 cross_compiling=$ac_cv_prog_cxx_cross
6312 cat > conftest.$ac_ext <<EOF
6313 #line 6314 "configure"
6314 #include "confdefs.h"
6320 if { (eval echo configure:6321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6322 glibcpp_cv_func___builtin_cosf_use=yes
6324 echo "configure: failed program was:" >&5
6325 cat conftest.$ac_ext >&5
6327 glibcpp_cv_func___builtin_cosf_use=no
6331 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6332 ac_cpp='$CPP $CPPFLAGS'
6333 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6334 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6335 cross_compiling=$ac_cv_prog_cc_cross
6341 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
6342 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
6343 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
6344 echo "configure:6345: checking for __builtin_cosf linkage" >&5
6345 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
6346 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
6347 echo $ac_n "(cached) $ac_c" 1>&6
6350 cat > conftest.$ac_ext <<EOF
6351 #line 6352 "configure"
6352 #include "confdefs.h"
6358 if { (eval echo configure:6359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6360 glibcpp_cv_func___builtin_cosf_link=yes
6362 echo "configure: failed program was:" >&5
6363 cat conftest.$ac_ext >&5
6365 glibcpp_cv_func___builtin_cosf_link=no
6372 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
6373 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
6374 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6375 cat >> confdefs.h <<EOF
6376 #define ${ac_tr_func} 1
6383 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
6384 echo "configure:6385: checking for __builtin_cos declaration" >&5
6385 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
6386 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
6387 echo $ac_n "(cached) $ac_c" 1>&6
6392 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6393 ac_cpp='$CXXCPP $CPPFLAGS'
6394 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6395 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6396 cross_compiling=$ac_cv_prog_cxx_cross
6398 cat > conftest.$ac_ext <<EOF
6399 #line 6400 "configure"
6400 #include "confdefs.h"
6406 if { (eval echo configure:6407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6408 glibcpp_cv_func___builtin_cos_use=yes
6410 echo "configure: failed program was:" >&5
6411 cat conftest.$ac_ext >&5
6413 glibcpp_cv_func___builtin_cos_use=no
6417 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6418 ac_cpp='$CPP $CPPFLAGS'
6419 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6420 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6421 cross_compiling=$ac_cv_prog_cc_cross
6427 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
6428 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
6429 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
6430 echo "configure:6431: checking for __builtin_cos linkage" >&5
6431 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
6432 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
6433 echo $ac_n "(cached) $ac_c" 1>&6
6436 cat > conftest.$ac_ext <<EOF
6437 #line 6438 "configure"
6438 #include "confdefs.h"
6444 if { (eval echo configure:6445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6446 glibcpp_cv_func___builtin_cos_link=yes
6448 echo "configure: failed program was:" >&5
6449 cat conftest.$ac_ext >&5
6451 glibcpp_cv_func___builtin_cos_link=no
6458 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
6459 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
6460 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6461 cat >> confdefs.h <<EOF
6462 #define ${ac_tr_func} 1
6469 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
6470 echo "configure:6471: checking for __builtin_cosl declaration" >&5
6471 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
6472 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
6473 echo $ac_n "(cached) $ac_c" 1>&6
6478 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6479 ac_cpp='$CXXCPP $CPPFLAGS'
6480 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6481 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6482 cross_compiling=$ac_cv_prog_cxx_cross
6484 cat > conftest.$ac_ext <<EOF
6485 #line 6486 "configure"
6486 #include "confdefs.h"
6492 if { (eval echo configure:6493: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6494 glibcpp_cv_func___builtin_cosl_use=yes
6496 echo "configure: failed program was:" >&5
6497 cat conftest.$ac_ext >&5
6499 glibcpp_cv_func___builtin_cosl_use=no
6503 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6504 ac_cpp='$CPP $CPPFLAGS'
6505 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6506 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6507 cross_compiling=$ac_cv_prog_cc_cross
6513 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
6514 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
6515 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
6516 echo "configure:6517: checking for __builtin_cosl linkage" >&5
6517 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
6518 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
6519 echo $ac_n "(cached) $ac_c" 1>&6
6522 cat > conftest.$ac_ext <<EOF
6523 #line 6524 "configure"
6524 #include "confdefs.h"
6530 if { (eval echo configure:6531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6532 glibcpp_cv_func___builtin_cosl_link=yes
6534 echo "configure: failed program was:" >&5
6535 cat conftest.$ac_ext >&5
6537 glibcpp_cv_func___builtin_cosl_link=no
6544 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
6545 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
6546 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6547 cat >> confdefs.h <<EOF
6548 #define ${ac_tr_func} 1
6556 if test x$dummyvar = x"yes"; then
6557 cat >> confdefs.h <<\EOF
6558 #define HAVE___BUILTIN_ABS 1
6561 cat >> confdefs.h <<\EOF
6562 #define HAVE___BUILTIN_LABS 1
6565 cat >> confdefs.h <<\EOF
6566 #define HAVE___BUILTIN_COS 1
6569 cat >> confdefs.h <<\EOF
6570 #define HAVE___BUILTIN_COSF 1
6573 cat >> confdefs.h <<\EOF
6574 #define HAVE___BUILTIN_COSL 1
6577 cat >> confdefs.h <<\EOF
6578 #define HAVE___BUILTIN_FABS 1
6581 cat >> confdefs.h <<\EOF
6582 #define HAVE___BUILTIN_FABSF 1
6585 cat >> confdefs.h <<\EOF
6586 #define HAVE___BUILTIN_FABSL 1
6589 cat >> confdefs.h <<\EOF
6590 #define HAVE___BUILTIN_SIN 1
6593 cat >> confdefs.h <<\EOF
6594 #define HAVE___BUILTIN_SINF 1
6597 cat >> confdefs.h <<\EOF
6598 #define HAVE___BUILTIN_SINL 1
6601 cat >> confdefs.h <<\EOF
6602 #define HAVE___BUILTIN_FSQRT 1
6605 cat >> confdefs.h <<\EOF
6606 #define HAVE___BUILTIN_SQRTF 1
6609 cat >> confdefs.h <<\EOF
6610 #define HAVE___BUILTIN_SQRTL 1
6616 ac_test_CXXFLAGS="${CXXFLAGS+set}"
6617 ac_save_CXXFLAGS="$CXXFLAGS"
6618 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
6620 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
6621 echo "configure:6622: checking for sin in -lm" >&5
6622 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
6623 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6624 echo $ac_n "(cached) $ac_c" 1>&6
6626 ac_save_LIBS="$LIBS"
6628 cat > conftest.$ac_ext <<EOF
6629 #line 6630 "configure"
6630 #include "confdefs.h"
6631 /* Override any gcc2 internal prototype to avoid an error. */
6632 /* We use char because int might match the return type of a gcc2
6633 builtin and then its argument prototype would still apply. */
6640 if { (eval echo configure:6641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6642 eval "ac_cv_lib_$ac_lib_var=yes"
6644 echo "configure: failed program was:" >&5
6645 cat conftest.$ac_ext >&5
6647 eval "ac_cv_lib_$ac_lib_var=no"
6650 LIBS="$ac_save_LIBS"
6653 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6654 echo "$ac_t""yes" 1>&6
6657 echo "$ac_t""no" 1>&6
6660 ac_save_LIBS="$LIBS"
6665 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
6666 echo "configure:6667: checking for isinf declaration" >&5
6667 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
6668 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
6669 echo $ac_n "(cached) $ac_c" 1>&6
6674 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6675 ac_cpp='$CXXCPP $CPPFLAGS'
6676 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6677 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6678 cross_compiling=$ac_cv_prog_cxx_cross
6680 cat > conftest.$ac_ext <<EOF
6681 #line 6682 "configure"
6682 #include "confdefs.h"
6684 #ifdef HAVE_IEEEFP_H
6692 if { (eval echo configure:6693: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6694 glibcpp_cv_func_isinf_use=yes
6696 echo "configure: failed program was:" >&5
6697 cat conftest.$ac_ext >&5
6699 glibcpp_cv_func_isinf_use=no
6703 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6704 ac_cpp='$CPP $CPPFLAGS'
6705 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6706 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6707 cross_compiling=$ac_cv_prog_cc_cross
6713 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
6715 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
6716 for ac_func in isinf
6718 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6719 echo "configure:6720: checking for $ac_func" >&5
6720 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6721 echo $ac_n "(cached) $ac_c" 1>&6
6723 cat > conftest.$ac_ext <<EOF
6724 #line 6725 "configure"
6725 #include "confdefs.h"
6726 /* System header to define __stub macros and hopefully few prototypes,
6727 which can conflict with char $ac_func(); below. */
6729 /* Override any gcc2 internal prototype to avoid an error. */
6730 /* We use char because int might match the return type of a gcc2
6731 builtin and then its argument prototype would still apply. */
6736 /* The GNU C library defines this for functions which it implements
6737 to always fail with ENOSYS. Some functions are actually named
6738 something starting with __ and the normal name is an alias. */
6739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6747 if { (eval echo configure:6748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6749 eval "ac_cv_func_$ac_func=yes"
6751 echo "configure: failed program was:" >&5
6752 cat conftest.$ac_ext >&5
6754 eval "ac_cv_func_$ac_func=no"
6759 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6760 echo "$ac_t""yes" 1>&6
6761 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6762 cat >> confdefs.h <<EOF
6763 #define $ac_tr_func 1
6767 echo "$ac_t""no" 1>&6
6773 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
6774 echo "configure:6775: checking for _isinf declaration" >&5
6775 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
6776 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
6777 echo $ac_n "(cached) $ac_c" 1>&6
6782 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6783 ac_cpp='$CXXCPP $CPPFLAGS'
6784 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6785 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6786 cross_compiling=$ac_cv_prog_cxx_cross
6788 cat > conftest.$ac_ext <<EOF
6789 #line 6790 "configure"
6790 #include "confdefs.h"
6792 #ifdef HAVE_IEEEFP_H
6800 if { (eval echo configure:6801: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6802 glibcpp_cv_func__isinf_use=yes
6804 echo "configure: failed program was:" >&5
6805 cat conftest.$ac_ext >&5
6807 glibcpp_cv_func__isinf_use=no
6811 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6812 ac_cpp='$CPP $CPPFLAGS'
6813 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6814 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6815 cross_compiling=$ac_cv_prog_cc_cross
6821 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
6823 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
6824 for ac_func in _isinf
6826 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6827 echo "configure:6828: checking for $ac_func" >&5
6828 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6829 echo $ac_n "(cached) $ac_c" 1>&6
6831 cat > conftest.$ac_ext <<EOF
6832 #line 6833 "configure"
6833 #include "confdefs.h"
6834 /* System header to define __stub macros and hopefully few prototypes,
6835 which can conflict with char $ac_func(); below. */
6837 /* Override any gcc2 internal prototype to avoid an error. */
6838 /* We use char because int might match the return type of a gcc2
6839 builtin and then its argument prototype would still apply. */
6844 /* The GNU C library defines this for functions which it implements
6845 to always fail with ENOSYS. Some functions are actually named
6846 something starting with __ and the normal name is an alias. */
6847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6855 if { (eval echo configure:6856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6857 eval "ac_cv_func_$ac_func=yes"
6859 echo "configure: failed program was:" >&5
6860 cat conftest.$ac_ext >&5
6862 eval "ac_cv_func_$ac_func=no"
6867 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6868 echo "$ac_t""yes" 1>&6
6869 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6870 cat >> confdefs.h <<EOF
6871 #define $ac_tr_func 1
6875 echo "$ac_t""no" 1>&6
6884 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
6885 echo "configure:6886: checking for isnan declaration" >&5
6886 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
6887 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
6888 echo $ac_n "(cached) $ac_c" 1>&6
6893 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6894 ac_cpp='$CXXCPP $CPPFLAGS'
6895 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6896 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6897 cross_compiling=$ac_cv_prog_cxx_cross
6899 cat > conftest.$ac_ext <<EOF
6900 #line 6901 "configure"
6901 #include "confdefs.h"
6903 #ifdef HAVE_IEEEFP_H
6911 if { (eval echo configure:6912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6913 glibcpp_cv_func_isnan_use=yes
6915 echo "configure: failed program was:" >&5
6916 cat conftest.$ac_ext >&5
6918 glibcpp_cv_func_isnan_use=no
6922 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6923 ac_cpp='$CPP $CPPFLAGS'
6924 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6925 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6926 cross_compiling=$ac_cv_prog_cc_cross
6932 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
6934 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
6935 for ac_func in isnan
6937 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6938 echo "configure:6939: checking for $ac_func" >&5
6939 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6940 echo $ac_n "(cached) $ac_c" 1>&6
6942 cat > conftest.$ac_ext <<EOF
6943 #line 6944 "configure"
6944 #include "confdefs.h"
6945 /* System header to define __stub macros and hopefully few prototypes,
6946 which can conflict with char $ac_func(); below. */
6948 /* Override any gcc2 internal prototype to avoid an error. */
6949 /* We use char because int might match the return type of a gcc2
6950 builtin and then its argument prototype would still apply. */
6955 /* The GNU C library defines this for functions which it implements
6956 to always fail with ENOSYS. Some functions are actually named
6957 something starting with __ and the normal name is an alias. */
6958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6966 if { (eval echo configure:6967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6968 eval "ac_cv_func_$ac_func=yes"
6970 echo "configure: failed program was:" >&5
6971 cat conftest.$ac_ext >&5
6973 eval "ac_cv_func_$ac_func=no"
6978 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6979 echo "$ac_t""yes" 1>&6
6980 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6981 cat >> confdefs.h <<EOF
6982 #define $ac_tr_func 1
6986 echo "$ac_t""no" 1>&6
6992 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
6993 echo "configure:6994: checking for _isnan declaration" >&5
6994 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
6995 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
6996 echo $ac_n "(cached) $ac_c" 1>&6
7001 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7002 ac_cpp='$CXXCPP $CPPFLAGS'
7003 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7004 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7005 cross_compiling=$ac_cv_prog_cxx_cross
7007 cat > conftest.$ac_ext <<EOF
7008 #line 7009 "configure"
7009 #include "confdefs.h"
7011 #ifdef HAVE_IEEEFP_H
7019 if { (eval echo configure:7020: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7021 glibcpp_cv_func__isnan_use=yes
7023 echo "configure: failed program was:" >&5
7024 cat conftest.$ac_ext >&5
7026 glibcpp_cv_func__isnan_use=no
7030 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7031 ac_cpp='$CPP $CPPFLAGS'
7032 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7033 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7034 cross_compiling=$ac_cv_prog_cc_cross
7040 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
7042 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
7043 for ac_func in _isnan
7045 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7046 echo "configure:7047: checking for $ac_func" >&5
7047 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7048 echo $ac_n "(cached) $ac_c" 1>&6
7050 cat > conftest.$ac_ext <<EOF
7051 #line 7052 "configure"
7052 #include "confdefs.h"
7053 /* System header to define __stub macros and hopefully few prototypes,
7054 which can conflict with char $ac_func(); below. */
7056 /* Override any gcc2 internal prototype to avoid an error. */
7057 /* We use char because int might match the return type of a gcc2
7058 builtin and then its argument prototype would still apply. */
7063 /* The GNU C library defines this for functions which it implements
7064 to always fail with ENOSYS. Some functions are actually named
7065 something starting with __ and the normal name is an alias. */
7066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7074 if { (eval echo configure:7075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7076 eval "ac_cv_func_$ac_func=yes"
7078 echo "configure: failed program was:" >&5
7079 cat conftest.$ac_ext >&5
7081 eval "ac_cv_func_$ac_func=no"
7086 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7087 echo "$ac_t""yes" 1>&6
7088 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7089 cat >> confdefs.h <<EOF
7090 #define $ac_tr_func 1
7094 echo "$ac_t""no" 1>&6
7103 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
7104 echo "configure:7105: checking for finite declaration" >&5
7105 if test x${glibcpp_cv_func_finite_use+set} != xset; then
7106 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
7107 echo $ac_n "(cached) $ac_c" 1>&6
7112 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7113 ac_cpp='$CXXCPP $CPPFLAGS'
7114 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7115 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7116 cross_compiling=$ac_cv_prog_cxx_cross
7118 cat > conftest.$ac_ext <<EOF
7119 #line 7120 "configure"
7120 #include "confdefs.h"
7122 #ifdef HAVE_IEEEFP_H
7130 if { (eval echo configure:7131: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7132 glibcpp_cv_func_finite_use=yes
7134 echo "configure: failed program was:" >&5
7135 cat conftest.$ac_ext >&5
7137 glibcpp_cv_func_finite_use=no
7141 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7142 ac_cpp='$CPP $CPPFLAGS'
7143 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7144 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7145 cross_compiling=$ac_cv_prog_cc_cross
7151 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
7153 if test x$glibcpp_cv_func_finite_use = x"yes"; then
7154 for ac_func in finite
7156 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7157 echo "configure:7158: checking for $ac_func" >&5
7158 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7159 echo $ac_n "(cached) $ac_c" 1>&6
7161 cat > conftest.$ac_ext <<EOF
7162 #line 7163 "configure"
7163 #include "confdefs.h"
7164 /* System header to define __stub macros and hopefully few prototypes,
7165 which can conflict with char $ac_func(); below. */
7167 /* Override any gcc2 internal prototype to avoid an error. */
7168 /* We use char because int might match the return type of a gcc2
7169 builtin and then its argument prototype would still apply. */
7174 /* The GNU C library defines this for functions which it implements
7175 to always fail with ENOSYS. Some functions are actually named
7176 something starting with __ and the normal name is an alias. */
7177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7185 if { (eval echo configure:7186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7187 eval "ac_cv_func_$ac_func=yes"
7189 echo "configure: failed program was:" >&5
7190 cat conftest.$ac_ext >&5
7192 eval "ac_cv_func_$ac_func=no"
7197 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7198 echo "$ac_t""yes" 1>&6
7199 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7200 cat >> confdefs.h <<EOF
7201 #define $ac_tr_func 1
7205 echo "$ac_t""no" 1>&6
7211 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
7212 echo "configure:7213: checking for _finite declaration" >&5
7213 if test x${glibcpp_cv_func__finite_use+set} != xset; then
7214 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
7215 echo $ac_n "(cached) $ac_c" 1>&6
7220 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7221 ac_cpp='$CXXCPP $CPPFLAGS'
7222 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7223 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7224 cross_compiling=$ac_cv_prog_cxx_cross
7226 cat > conftest.$ac_ext <<EOF
7227 #line 7228 "configure"
7228 #include "confdefs.h"
7230 #ifdef HAVE_IEEEFP_H
7238 if { (eval echo configure:7239: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7240 glibcpp_cv_func__finite_use=yes
7242 echo "configure: failed program was:" >&5
7243 cat conftest.$ac_ext >&5
7245 glibcpp_cv_func__finite_use=no
7249 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7250 ac_cpp='$CPP $CPPFLAGS'
7251 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7252 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7253 cross_compiling=$ac_cv_prog_cc_cross
7259 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
7261 if test x$glibcpp_cv_func__finite_use = x"yes"; then
7262 for ac_func in _finite
7264 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7265 echo "configure:7266: checking for $ac_func" >&5
7266 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7267 echo $ac_n "(cached) $ac_c" 1>&6
7269 cat > conftest.$ac_ext <<EOF
7270 #line 7271 "configure"
7271 #include "confdefs.h"
7272 /* System header to define __stub macros and hopefully few prototypes,
7273 which can conflict with char $ac_func(); below. */
7275 /* Override any gcc2 internal prototype to avoid an error. */
7276 /* We use char because int might match the return type of a gcc2
7277 builtin and then its argument prototype would still apply. */
7282 /* The GNU C library defines this for functions which it implements
7283 to always fail with ENOSYS. Some functions are actually named
7284 something starting with __ and the normal name is an alias. */
7285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7293 if { (eval echo configure:7294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7295 eval "ac_cv_func_$ac_func=yes"
7297 echo "configure: failed program was:" >&5
7298 cat conftest.$ac_ext >&5
7300 eval "ac_cv_func_$ac_func=no"
7305 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7306 echo "$ac_t""yes" 1>&6
7307 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7308 cat >> confdefs.h <<EOF
7309 #define $ac_tr_func 1
7313 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
7426 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
7427 echo "configure:7428: checking for _copysign declaration" >&5
7428 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
7429 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
7430 echo $ac_n "(cached) $ac_c" 1>&6
7435 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7436 ac_cpp='$CXXCPP $CPPFLAGS'
7437 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7438 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7439 cross_compiling=$ac_cv_prog_cxx_cross
7441 cat > conftest.$ac_ext <<EOF
7442 #line 7443 "configure"
7443 #include "confdefs.h"
7449 if { (eval echo configure:7450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7451 glibcpp_cv_func__copysign_use=yes
7453 echo "configure: failed program was:" >&5
7454 cat conftest.$ac_ext >&5
7456 glibcpp_cv_func__copysign_use=no
7460 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7461 ac_cpp='$CPP $CPPFLAGS'
7462 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7463 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7464 cross_compiling=$ac_cv_prog_cc_cross
7470 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
7472 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
7473 for ac_func in _copysign
7475 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7476 echo "configure:7477: checking for $ac_func" >&5
7477 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7478 echo $ac_n "(cached) $ac_c" 1>&6
7480 cat > conftest.$ac_ext <<EOF
7481 #line 7482 "configure"
7482 #include "confdefs.h"
7483 /* System header to define __stub macros and hopefully few prototypes,
7484 which can conflict with char $ac_func(); below. */
7486 /* Override any gcc2 internal prototype to avoid an error. */
7487 /* We use char because int might match the return type of a gcc2
7488 builtin and then its argument prototype would still apply. */
7493 /* The GNU C library defines this for functions which it implements
7494 to always fail with ENOSYS. Some functions are actually named
7495 something starting with __ and the normal name is an alias. */
7496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7504 if { (eval echo configure:7505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7506 eval "ac_cv_func_$ac_func=yes"
7508 echo "configure: failed program was:" >&5
7509 cat conftest.$ac_ext >&5
7511 eval "ac_cv_func_$ac_func=no"
7516 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7517 echo "$ac_t""yes" 1>&6
7518 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7519 cat >> confdefs.h <<EOF
7520 #define $ac_tr_func 1
7524 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
7637 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
7638 echo "configure:7639: checking for _sincos declaration" >&5
7639 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
7640 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
7641 echo $ac_n "(cached) $ac_c" 1>&6
7646 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7647 ac_cpp='$CXXCPP $CPPFLAGS'
7648 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7649 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7650 cross_compiling=$ac_cv_prog_cxx_cross
7652 cat > conftest.$ac_ext <<EOF
7653 #line 7654 "configure"
7654 #include "confdefs.h"
7660 if { (eval echo configure:7661: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7662 glibcpp_cv_func__sincos_use=yes
7664 echo "configure: failed program was:" >&5
7665 cat conftest.$ac_ext >&5
7667 glibcpp_cv_func__sincos_use=no
7671 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7672 ac_cpp='$CPP $CPPFLAGS'
7673 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7674 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7675 cross_compiling=$ac_cv_prog_cc_cross
7681 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
7683 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
7684 for ac_func in _sincos
7686 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7687 echo "configure:7688: checking for $ac_func" >&5
7688 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7689 echo $ac_n "(cached) $ac_c" 1>&6
7691 cat > conftest.$ac_ext <<EOF
7692 #line 7693 "configure"
7693 #include "confdefs.h"
7694 /* System header to define __stub macros and hopefully few prototypes,
7695 which can conflict with char $ac_func(); below. */
7697 /* Override any gcc2 internal prototype to avoid an error. */
7698 /* We use char because int might match the return type of a gcc2
7699 builtin and then its argument prototype would still apply. */
7704 /* The GNU C library defines this for functions which it implements
7705 to always fail with ENOSYS. Some functions are actually named
7706 something starting with __ and the normal name is an alias. */
7707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7715 if { (eval echo configure:7716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7717 eval "ac_cv_func_$ac_func=yes"
7719 echo "configure: failed program was:" >&5
7720 cat conftest.$ac_ext >&5
7722 eval "ac_cv_func_$ac_func=no"
7727 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7728 echo "$ac_t""yes" 1>&6
7729 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7730 cat >> confdefs.h <<EOF
7731 #define $ac_tr_func 1
7735 echo "$ac_t""no" 1>&6
7744 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
7745 echo "configure:7746: checking for fpclass declaration" >&5
7746 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
7747 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
7748 echo $ac_n "(cached) $ac_c" 1>&6
7753 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7754 ac_cpp='$CXXCPP $CPPFLAGS'
7755 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7756 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7757 cross_compiling=$ac_cv_prog_cxx_cross
7759 cat > conftest.$ac_ext <<EOF
7760 #line 7761 "configure"
7761 #include "confdefs.h"
7763 #ifdef HAVE_IEEEFP_H
7771 if { (eval echo configure:7772: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7773 glibcpp_cv_func_fpclass_use=yes
7775 echo "configure: failed program was:" >&5
7776 cat conftest.$ac_ext >&5
7778 glibcpp_cv_func_fpclass_use=no
7782 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7783 ac_cpp='$CPP $CPPFLAGS'
7784 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7785 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7786 cross_compiling=$ac_cv_prog_cc_cross
7792 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
7794 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
7795 for ac_func in fpclass
7797 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7798 echo "configure:7799: checking for $ac_func" >&5
7799 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7800 echo $ac_n "(cached) $ac_c" 1>&6
7802 cat > conftest.$ac_ext <<EOF
7803 #line 7804 "configure"
7804 #include "confdefs.h"
7805 /* System header to define __stub macros and hopefully few prototypes,
7806 which can conflict with char $ac_func(); below. */
7808 /* Override any gcc2 internal prototype to avoid an error. */
7809 /* We use char because int might match the return type of a gcc2
7810 builtin and then its argument prototype would still apply. */
7815 /* The GNU C library defines this for functions which it implements
7816 to always fail with ENOSYS. Some functions are actually named
7817 something starting with __ and the normal name is an alias. */
7818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7826 if { (eval echo configure:7827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7828 eval "ac_cv_func_$ac_func=yes"
7830 echo "configure: failed program was:" >&5
7831 cat conftest.$ac_ext >&5
7833 eval "ac_cv_func_$ac_func=no"
7838 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7839 echo "$ac_t""yes" 1>&6
7840 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7841 cat >> confdefs.h <<EOF
7842 #define $ac_tr_func 1
7846 echo "$ac_t""no" 1>&6
7852 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
7853 echo "configure:7854: checking for _fpclass declaration" >&5
7854 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
7855 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
7856 echo $ac_n "(cached) $ac_c" 1>&6
7861 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7862 ac_cpp='$CXXCPP $CPPFLAGS'
7863 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7864 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7865 cross_compiling=$ac_cv_prog_cxx_cross
7867 cat > conftest.$ac_ext <<EOF
7868 #line 7869 "configure"
7869 #include "confdefs.h"
7871 #ifdef HAVE_IEEEFP_H
7879 if { (eval echo configure:7880: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7881 glibcpp_cv_func__fpclass_use=yes
7883 echo "configure: failed program was:" >&5
7884 cat conftest.$ac_ext >&5
7886 glibcpp_cv_func__fpclass_use=no
7890 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7891 ac_cpp='$CPP $CPPFLAGS'
7892 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7893 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7894 cross_compiling=$ac_cv_prog_cc_cross
7900 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
7902 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
7903 for ac_func in _fpclass
7905 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7906 echo "configure:7907: checking for $ac_func" >&5
7907 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7908 echo $ac_n "(cached) $ac_c" 1>&6
7910 cat > conftest.$ac_ext <<EOF
7911 #line 7912 "configure"
7912 #include "confdefs.h"
7913 /* System header to define __stub macros and hopefully few prototypes,
7914 which can conflict with char $ac_func(); below. */
7916 /* Override any gcc2 internal prototype to avoid an error. */
7917 /* We use char because int might match the return type of a gcc2
7918 builtin and then its argument prototype would still apply. */
7923 /* The GNU C library defines this for functions which it implements
7924 to always fail with ENOSYS. Some functions are actually named
7925 something starting with __ and the normal name is an alias. */
7926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7934 if { (eval echo configure:7935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7936 eval "ac_cv_func_$ac_func=yes"
7938 echo "configure: failed program was:" >&5
7939 cat conftest.$ac_ext >&5
7941 eval "ac_cv_func_$ac_func=no"
7946 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7947 echo "$ac_t""yes" 1>&6
7948 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7949 cat >> confdefs.h <<EOF
7950 #define $ac_tr_func 1
7954 echo "$ac_t""no" 1>&6
7963 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
7964 echo "configure:7965: checking for qfpclass declaration" >&5
7965 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
7966 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
7967 echo $ac_n "(cached) $ac_c" 1>&6
7972 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7973 ac_cpp='$CXXCPP $CPPFLAGS'
7974 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7975 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7976 cross_compiling=$ac_cv_prog_cxx_cross
7978 cat > conftest.$ac_ext <<EOF
7979 #line 7980 "configure"
7980 #include "confdefs.h"
7982 #ifdef HAVE_IEEEFP_H
7990 if { (eval echo configure:7991: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7992 glibcpp_cv_func_qfpclass_use=yes
7994 echo "configure: failed program was:" >&5
7995 cat conftest.$ac_ext >&5
7997 glibcpp_cv_func_qfpclass_use=no
8001 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8002 ac_cpp='$CPP $CPPFLAGS'
8003 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8004 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8005 cross_compiling=$ac_cv_prog_cc_cross
8011 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
8013 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
8014 for ac_func in qfpclass
8016 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8017 echo "configure:8018: checking for $ac_func" >&5
8018 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8019 echo $ac_n "(cached) $ac_c" 1>&6
8021 cat > conftest.$ac_ext <<EOF
8022 #line 8023 "configure"
8023 #include "confdefs.h"
8024 /* System header to define __stub macros and hopefully few prototypes,
8025 which can conflict with char $ac_func(); below. */
8027 /* Override any gcc2 internal prototype to avoid an error. */
8028 /* We use char because int might match the return type of a gcc2
8029 builtin and then its argument prototype would still apply. */
8034 /* The GNU C library defines this for functions which it implements
8035 to always fail with ENOSYS. Some functions are actually named
8036 something starting with __ and the normal name is an alias. */
8037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8045 if { (eval echo configure:8046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8047 eval "ac_cv_func_$ac_func=yes"
8049 echo "configure: failed program was:" >&5
8050 cat conftest.$ac_ext >&5
8052 eval "ac_cv_func_$ac_func=no"
8057 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8058 echo "$ac_t""yes" 1>&6
8059 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8060 cat >> confdefs.h <<EOF
8061 #define $ac_tr_func 1
8065 echo "$ac_t""no" 1>&6
8071 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
8072 echo "configure:8073: checking for _qfpclass declaration" >&5
8073 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
8074 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
8075 echo $ac_n "(cached) $ac_c" 1>&6
8080 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8081 ac_cpp='$CXXCPP $CPPFLAGS'
8082 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8083 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8084 cross_compiling=$ac_cv_prog_cxx_cross
8086 cat > conftest.$ac_ext <<EOF
8087 #line 8088 "configure"
8088 #include "confdefs.h"
8090 #ifdef HAVE_IEEEFP_H
8098 if { (eval echo configure:8099: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8100 glibcpp_cv_func__qfpclass_use=yes
8102 echo "configure: failed program was:" >&5
8103 cat conftest.$ac_ext >&5
8105 glibcpp_cv_func__qfpclass_use=no
8109 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8110 ac_cpp='$CPP $CPPFLAGS'
8111 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8112 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8113 cross_compiling=$ac_cv_prog_cc_cross
8119 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
8121 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
8122 for ac_func in _qfpclass
8124 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8125 echo "configure:8126: checking for $ac_func" >&5
8126 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8127 echo $ac_n "(cached) $ac_c" 1>&6
8129 cat > conftest.$ac_ext <<EOF
8130 #line 8131 "configure"
8131 #include "confdefs.h"
8132 /* System header to define __stub macros and hopefully few prototypes,
8133 which can conflict with char $ac_func(); below. */
8135 /* Override any gcc2 internal prototype to avoid an error. */
8136 /* We use char because int might match the return type of a gcc2
8137 builtin and then its argument prototype would still apply. */
8142 /* The GNU C library defines this for functions which it implements
8143 to always fail with ENOSYS. Some functions are actually named
8144 something starting with __ and the normal name is an alias. */
8145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8153 if { (eval echo configure:8154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8155 eval "ac_cv_func_$ac_func=yes"
8157 echo "configure: failed program was:" >&5
8158 cat conftest.$ac_ext >&5
8160 eval "ac_cv_func_$ac_func=no"
8165 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8166 echo "$ac_t""yes" 1>&6
8167 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8168 cat >> confdefs.h <<EOF
8169 #define $ac_tr_func 1
8173 echo "$ac_t""no" 1>&6
8182 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
8183 echo "configure:8184: checking for float trig functions" >&5
8184 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
8185 echo $ac_n "(cached) $ac_c" 1>&6
8190 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8191 ac_cpp='$CXXCPP $CPPFLAGS'
8192 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8193 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8194 cross_compiling=$ac_cv_prog_cxx_cross
8196 cat > conftest.$ac_ext <<EOF
8197 #line 8198 "configure"
8198 #include "confdefs.h"
8201 `for x in acosf asinf atanf \
8203 coshf sinhf tanhf; do echo "$x (0);"; done`
8206 if { (eval echo configure:8207: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8208 glibcpp_cv_func_float_trig_use=yes
8210 echo "configure: failed program was:" >&5
8211 cat conftest.$ac_ext >&5
8213 glibcpp_cv_func_float_trig_use=no
8217 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8218 ac_cpp='$CPP $CPPFLAGS'
8219 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8220 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8221 cross_compiling=$ac_cv_prog_cc_cross
8225 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
8226 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
8227 for ac_func in acosf asinf atanf \
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
8287 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
8288 echo "configure:8289: checking for float round functions" >&5
8289 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
8290 echo $ac_n "(cached) $ac_c" 1>&6
8295 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8296 ac_cpp='$CXXCPP $CPPFLAGS'
8297 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8298 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8299 cross_compiling=$ac_cv_prog_cxx_cross
8301 cat > conftest.$ac_ext <<EOF
8302 #line 8303 "configure"
8303 #include "confdefs.h"
8306 `for x in ceilf floorf; do echo "$x (0);"; done`
8309 if { (eval echo configure:8310: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8311 glibcpp_cv_func_float_round_use=yes
8313 echo "configure: failed program was:" >&5
8314 cat conftest.$ac_ext >&5
8316 glibcpp_cv_func_float_round_use=no
8320 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8321 ac_cpp='$CPP $CPPFLAGS'
8322 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8323 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8324 cross_compiling=$ac_cv_prog_cc_cross
8328 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
8329 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
8330 for ac_func in ceilf floorf
8332 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8333 echo "configure:8334: checking for $ac_func" >&5
8334 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8335 echo $ac_n "(cached) $ac_c" 1>&6
8337 cat > conftest.$ac_ext <<EOF
8338 #line 8339 "configure"
8339 #include "confdefs.h"
8340 /* System header to define __stub macros and hopefully few prototypes,
8341 which can conflict with char $ac_func(); below. */
8343 /* Override any gcc2 internal prototype to avoid an error. */
8344 /* We use char because int might match the return type of a gcc2
8345 builtin and then its argument prototype would still apply. */
8350 /* The GNU C library defines this for functions which it implements
8351 to always fail with ENOSYS. Some functions are actually named
8352 something starting with __ and the normal name is an alias. */
8353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8361 if { (eval echo configure:8362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8363 eval "ac_cv_func_$ac_func=yes"
8365 echo "configure: failed program was:" >&5
8366 cat conftest.$ac_ext >&5
8368 eval "ac_cv_func_$ac_func=no"
8373 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8374 echo "$ac_t""yes" 1>&6
8375 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8376 cat >> confdefs.h <<EOF
8377 #define $ac_tr_func 1
8381 echo "$ac_t""no" 1>&6
8389 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
8390 echo "configure:8391: checking for isnanf declaration" >&5
8391 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
8392 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
8393 echo $ac_n "(cached) $ac_c" 1>&6
8398 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8399 ac_cpp='$CXXCPP $CPPFLAGS'
8400 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8401 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8402 cross_compiling=$ac_cv_prog_cxx_cross
8404 cat > conftest.$ac_ext <<EOF
8405 #line 8406 "configure"
8406 #include "confdefs.h"
8408 #ifdef HAVE_IEEEFP_H
8416 if { (eval echo configure:8417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8418 glibcpp_cv_func_isnanf_use=yes
8420 echo "configure: failed program was:" >&5
8421 cat conftest.$ac_ext >&5
8423 glibcpp_cv_func_isnanf_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
8437 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
8439 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
8440 for ac_func in isnanf
8442 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8443 echo "configure:8444: checking for $ac_func" >&5
8444 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8445 echo $ac_n "(cached) $ac_c" 1>&6
8447 cat > conftest.$ac_ext <<EOF
8448 #line 8449 "configure"
8449 #include "confdefs.h"
8450 /* System header to define __stub macros and hopefully few prototypes,
8451 which can conflict with char $ac_func(); below. */
8453 /* Override any gcc2 internal prototype to avoid an error. */
8454 /* We use char because int might match the return type of a gcc2
8455 builtin and then its argument prototype would still apply. */
8460 /* The GNU C library defines this for functions which it implements
8461 to always fail with ENOSYS. Some functions are actually named
8462 something starting with __ and the normal name is an alias. */
8463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8471 if { (eval echo configure:8472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8473 eval "ac_cv_func_$ac_func=yes"
8475 echo "configure: failed program was:" >&5
8476 cat conftest.$ac_ext >&5
8478 eval "ac_cv_func_$ac_func=no"
8483 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8484 echo "$ac_t""yes" 1>&6
8485 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8486 cat >> confdefs.h <<EOF
8487 #define $ac_tr_func 1
8491 echo "$ac_t""no" 1>&6
8497 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
8498 echo "configure:8499: checking for _isnanf declaration" >&5
8499 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
8500 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
8501 echo $ac_n "(cached) $ac_c" 1>&6
8506 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8507 ac_cpp='$CXXCPP $CPPFLAGS'
8508 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8509 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8510 cross_compiling=$ac_cv_prog_cxx_cross
8512 cat > conftest.$ac_ext <<EOF
8513 #line 8514 "configure"
8514 #include "confdefs.h"
8516 #ifdef HAVE_IEEEFP_H
8524 if { (eval echo configure:8525: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8526 glibcpp_cv_func__isnanf_use=yes
8528 echo "configure: failed program was:" >&5
8529 cat conftest.$ac_ext >&5
8531 glibcpp_cv_func__isnanf_use=no
8535 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8536 ac_cpp='$CPP $CPPFLAGS'
8537 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8538 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8539 cross_compiling=$ac_cv_prog_cc_cross
8545 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
8547 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
8548 for ac_func in _isnanf
8550 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8551 echo "configure:8552: checking for $ac_func" >&5
8552 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8553 echo $ac_n "(cached) $ac_c" 1>&6
8555 cat > conftest.$ac_ext <<EOF
8556 #line 8557 "configure"
8557 #include "confdefs.h"
8558 /* System header to define __stub macros and hopefully few prototypes,
8559 which can conflict with char $ac_func(); below. */
8561 /* Override any gcc2 internal prototype to avoid an error. */
8562 /* We use char because int might match the return type of a gcc2
8563 builtin and then its argument prototype would still apply. */
8568 /* The GNU C library defines this for functions which it implements
8569 to always fail with ENOSYS. Some functions are actually named
8570 something starting with __ and the normal name is an alias. */
8571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8579 if { (eval echo configure:8580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8581 eval "ac_cv_func_$ac_func=yes"
8583 echo "configure: failed program was:" >&5
8584 cat conftest.$ac_ext >&5
8586 eval "ac_cv_func_$ac_func=no"
8591 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8592 echo "$ac_t""yes" 1>&6
8593 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8594 cat >> confdefs.h <<EOF
8595 #define $ac_tr_func 1
8599 echo "$ac_t""no" 1>&6
8608 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
8609 echo "configure:8610: checking for isinff declaration" >&5
8610 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
8611 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
8612 echo $ac_n "(cached) $ac_c" 1>&6
8617 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8618 ac_cpp='$CXXCPP $CPPFLAGS'
8619 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8620 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8621 cross_compiling=$ac_cv_prog_cxx_cross
8623 cat > conftest.$ac_ext <<EOF
8624 #line 8625 "configure"
8625 #include "confdefs.h"
8627 #ifdef HAVE_IEEEFP_H
8635 if { (eval echo configure:8636: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8637 glibcpp_cv_func_isinff_use=yes
8639 echo "configure: failed program was:" >&5
8640 cat conftest.$ac_ext >&5
8642 glibcpp_cv_func_isinff_use=no
8646 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8647 ac_cpp='$CPP $CPPFLAGS'
8648 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8649 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8650 cross_compiling=$ac_cv_prog_cc_cross
8656 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
8658 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
8659 for ac_func in isinff
8661 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8662 echo "configure:8663: checking for $ac_func" >&5
8663 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8664 echo $ac_n "(cached) $ac_c" 1>&6
8666 cat > conftest.$ac_ext <<EOF
8667 #line 8668 "configure"
8668 #include "confdefs.h"
8669 /* System header to define __stub macros and hopefully few prototypes,
8670 which can conflict with char $ac_func(); below. */
8672 /* Override any gcc2 internal prototype to avoid an error. */
8673 /* We use char because int might match the return type of a gcc2
8674 builtin and then its argument prototype would still apply. */
8679 /* The GNU C library defines this for functions which it implements
8680 to always fail with ENOSYS. Some functions are actually named
8681 something starting with __ and the normal name is an alias. */
8682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8690 if { (eval echo configure:8691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8692 eval "ac_cv_func_$ac_func=yes"
8694 echo "configure: failed program was:" >&5
8695 cat conftest.$ac_ext >&5
8697 eval "ac_cv_func_$ac_func=no"
8702 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8703 echo "$ac_t""yes" 1>&6
8704 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8705 cat >> confdefs.h <<EOF
8706 #define $ac_tr_func 1
8710 echo "$ac_t""no" 1>&6
8716 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
8717 echo "configure:8718: checking for _isinff declaration" >&5
8718 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
8719 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
8720 echo $ac_n "(cached) $ac_c" 1>&6
8725 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8726 ac_cpp='$CXXCPP $CPPFLAGS'
8727 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8728 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8729 cross_compiling=$ac_cv_prog_cxx_cross
8731 cat > conftest.$ac_ext <<EOF
8732 #line 8733 "configure"
8733 #include "confdefs.h"
8735 #ifdef HAVE_IEEEFP_H
8743 if { (eval echo configure:8744: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8745 glibcpp_cv_func__isinff_use=yes
8747 echo "configure: failed program was:" >&5
8748 cat conftest.$ac_ext >&5
8750 glibcpp_cv_func__isinff_use=no
8754 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8755 ac_cpp='$CPP $CPPFLAGS'
8756 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8757 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8758 cross_compiling=$ac_cv_prog_cc_cross
8764 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
8766 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
8767 for ac_func in _isinff
8769 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8770 echo "configure:8771: checking for $ac_func" >&5
8771 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8772 echo $ac_n "(cached) $ac_c" 1>&6
8774 cat > conftest.$ac_ext <<EOF
8775 #line 8776 "configure"
8776 #include "confdefs.h"
8777 /* System header to define __stub macros and hopefully few prototypes,
8778 which can conflict with char $ac_func(); below. */
8780 /* Override any gcc2 internal prototype to avoid an error. */
8781 /* We use char because int might match the return type of a gcc2
8782 builtin and then its argument prototype would still apply. */
8787 /* The GNU C library defines this for functions which it implements
8788 to always fail with ENOSYS. Some functions are actually named
8789 something starting with __ and the normal name is an alias. */
8790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8798 if { (eval echo configure:8799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8800 eval "ac_cv_func_$ac_func=yes"
8802 echo "configure: failed program was:" >&5
8803 cat conftest.$ac_ext >&5
8805 eval "ac_cv_func_$ac_func=no"
8810 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8811 echo "$ac_t""yes" 1>&6
8812 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8813 cat >> confdefs.h <<EOF
8814 #define $ac_tr_func 1
8818 echo "$ac_t""no" 1>&6
8827 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
8828 echo "configure:8829: checking for fabsf declaration" >&5
8829 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
8830 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
8831 echo $ac_n "(cached) $ac_c" 1>&6
8836 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8837 ac_cpp='$CXXCPP $CPPFLAGS'
8838 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8839 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8840 cross_compiling=$ac_cv_prog_cxx_cross
8842 cat > conftest.$ac_ext <<EOF
8843 #line 8844 "configure"
8844 #include "confdefs.h"
8846 #ifdef HAVE_IEEEFP_H
8854 if { (eval echo configure:8855: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8856 glibcpp_cv_func_fabsf_use=yes
8858 echo "configure: failed program was:" >&5
8859 cat conftest.$ac_ext >&5
8861 glibcpp_cv_func_fabsf_use=no
8865 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8866 ac_cpp='$CPP $CPPFLAGS'
8867 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8868 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8869 cross_compiling=$ac_cv_prog_cc_cross
8875 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
8877 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
8878 for ac_func in fabsf
8880 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8881 echo "configure:8882: checking for $ac_func" >&5
8882 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8883 echo $ac_n "(cached) $ac_c" 1>&6
8885 cat > conftest.$ac_ext <<EOF
8886 #line 8887 "configure"
8887 #include "confdefs.h"
8888 /* System header to define __stub macros and hopefully few prototypes,
8889 which can conflict with char $ac_func(); below. */
8891 /* Override any gcc2 internal prototype to avoid an error. */
8892 /* We use char because int might match the return type of a gcc2
8893 builtin and then its argument prototype would still apply. */
8898 /* The GNU C library defines this for functions which it implements
8899 to always fail with ENOSYS. Some functions are actually named
8900 something starting with __ and the normal name is an alias. */
8901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8909 if { (eval echo configure:8910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8911 eval "ac_cv_func_$ac_func=yes"
8913 echo "configure: failed program was:" >&5
8914 cat conftest.$ac_ext >&5
8916 eval "ac_cv_func_$ac_func=no"
8921 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8922 echo "$ac_t""yes" 1>&6
8923 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8924 cat >> confdefs.h <<EOF
8925 #define $ac_tr_func 1
8929 echo "$ac_t""no" 1>&6
8935 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
8936 echo "configure:8937: checking for _fabsf declaration" >&5
8937 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
8938 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
8939 echo $ac_n "(cached) $ac_c" 1>&6
8944 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8945 ac_cpp='$CXXCPP $CPPFLAGS'
8946 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8947 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8948 cross_compiling=$ac_cv_prog_cxx_cross
8950 cat > conftest.$ac_ext <<EOF
8951 #line 8952 "configure"
8952 #include "confdefs.h"
8954 #ifdef HAVE_IEEEFP_H
8962 if { (eval echo configure:8963: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8964 glibcpp_cv_func__fabsf_use=yes
8966 echo "configure: failed program was:" >&5
8967 cat conftest.$ac_ext >&5
8969 glibcpp_cv_func__fabsf_use=no
8973 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8974 ac_cpp='$CPP $CPPFLAGS'
8975 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8976 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8977 cross_compiling=$ac_cv_prog_cc_cross
8983 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
8985 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
8986 for ac_func in _fabsf
8988 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8989 echo "configure:8990: checking for $ac_func" >&5
8990 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8991 echo $ac_n "(cached) $ac_c" 1>&6
8993 cat > conftest.$ac_ext <<EOF
8994 #line 8995 "configure"
8995 #include "confdefs.h"
8996 /* System header to define __stub macros and hopefully few prototypes,
8997 which can conflict with char $ac_func(); below. */
8999 /* Override any gcc2 internal prototype to avoid an error. */
9000 /* We use char because int might match the return type of a gcc2
9001 builtin and then its argument prototype would still apply. */
9006 /* The GNU C library defines this for functions which it implements
9007 to always fail with ENOSYS. Some functions are actually named
9008 something starting with __ and the normal name is an alias. */
9009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9017 if { (eval echo configure:9018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9019 eval "ac_cv_func_$ac_func=yes"
9021 echo "configure: failed program was:" >&5
9022 cat conftest.$ac_ext >&5
9024 eval "ac_cv_func_$ac_func=no"
9029 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9030 echo "$ac_t""yes" 1>&6
9031 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9032 cat >> confdefs.h <<EOF
9033 #define $ac_tr_func 1
9037 echo "$ac_t""no" 1>&6
9046 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
9047 echo "configure:9048: checking for fmodf declaration" >&5
9048 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
9049 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
9050 echo $ac_n "(cached) $ac_c" 1>&6
9055 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9056 ac_cpp='$CXXCPP $CPPFLAGS'
9057 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9058 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9059 cross_compiling=$ac_cv_prog_cxx_cross
9061 cat > conftest.$ac_ext <<EOF
9062 #line 9063 "configure"
9063 #include "confdefs.h"
9069 if { (eval echo configure:9070: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9071 glibcpp_cv_func_fmodf_use=yes
9073 echo "configure: failed program was:" >&5
9074 cat conftest.$ac_ext >&5
9076 glibcpp_cv_func_fmodf_use=no
9080 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9081 ac_cpp='$CPP $CPPFLAGS'
9082 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9083 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9084 cross_compiling=$ac_cv_prog_cc_cross
9090 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
9092 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
9093 for ac_func in fmodf
9095 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9096 echo "configure:9097: checking for $ac_func" >&5
9097 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9098 echo $ac_n "(cached) $ac_c" 1>&6
9100 cat > conftest.$ac_ext <<EOF
9101 #line 9102 "configure"
9102 #include "confdefs.h"
9103 /* System header to define __stub macros and hopefully few prototypes,
9104 which can conflict with char $ac_func(); below. */
9106 /* Override any gcc2 internal prototype to avoid an error. */
9107 /* We use char because int might match the return type of a gcc2
9108 builtin and then its argument prototype would still apply. */
9113 /* The GNU C library defines this for functions which it implements
9114 to always fail with ENOSYS. Some functions are actually named
9115 something starting with __ and the normal name is an alias. */
9116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9124 if { (eval echo configure:9125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9126 eval "ac_cv_func_$ac_func=yes"
9128 echo "configure: failed program was:" >&5
9129 cat conftest.$ac_ext >&5
9131 eval "ac_cv_func_$ac_func=no"
9136 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9137 echo "$ac_t""yes" 1>&6
9138 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9139 cat >> confdefs.h <<EOF
9140 #define $ac_tr_func 1
9144 echo "$ac_t""no" 1>&6
9150 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
9151 echo "configure:9152: checking for _fmodf declaration" >&5
9152 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
9153 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
9154 echo $ac_n "(cached) $ac_c" 1>&6
9159 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9160 ac_cpp='$CXXCPP $CPPFLAGS'
9161 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9162 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9163 cross_compiling=$ac_cv_prog_cxx_cross
9165 cat > conftest.$ac_ext <<EOF
9166 #line 9167 "configure"
9167 #include "confdefs.h"
9173 if { (eval echo configure:9174: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9175 glibcpp_cv_func__fmodf_use=yes
9177 echo "configure: failed program was:" >&5
9178 cat conftest.$ac_ext >&5
9180 glibcpp_cv_func__fmodf_use=no
9184 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9185 ac_cpp='$CPP $CPPFLAGS'
9186 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9187 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9188 cross_compiling=$ac_cv_prog_cc_cross
9194 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
9196 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
9197 for ac_func in _fmodf
9199 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9200 echo "configure:9201: checking for $ac_func" >&5
9201 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9202 echo $ac_n "(cached) $ac_c" 1>&6
9204 cat > conftest.$ac_ext <<EOF
9205 #line 9206 "configure"
9206 #include "confdefs.h"
9207 /* System header to define __stub macros and hopefully few prototypes,
9208 which can conflict with char $ac_func(); below. */
9210 /* Override any gcc2 internal prototype to avoid an error. */
9211 /* We use char because int might match the return type of a gcc2
9212 builtin and then its argument prototype would still apply. */
9217 /* The GNU C library defines this for functions which it implements
9218 to always fail with ENOSYS. Some functions are actually named
9219 something starting with __ and the normal name is an alias. */
9220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9228 if { (eval echo configure:9229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9230 eval "ac_cv_func_$ac_func=yes"
9232 echo "configure: failed program was:" >&5
9233 cat conftest.$ac_ext >&5
9235 eval "ac_cv_func_$ac_func=no"
9240 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9241 echo "$ac_t""yes" 1>&6
9242 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9243 cat >> confdefs.h <<EOF
9244 #define $ac_tr_func 1
9248 echo "$ac_t""no" 1>&6
9257 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
9258 echo "configure:9259: checking for frexpf declaration" >&5
9259 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
9260 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
9261 echo $ac_n "(cached) $ac_c" 1>&6
9266 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9267 ac_cpp='$CXXCPP $CPPFLAGS'
9268 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9269 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9270 cross_compiling=$ac_cv_prog_cxx_cross
9272 cat > conftest.$ac_ext <<EOF
9273 #line 9274 "configure"
9274 #include "confdefs.h"
9280 if { (eval echo configure:9281: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9282 glibcpp_cv_func_frexpf_use=yes
9284 echo "configure: failed program was:" >&5
9285 cat conftest.$ac_ext >&5
9287 glibcpp_cv_func_frexpf_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_frexpf_use" 1>&6
9303 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
9304 for ac_func in frexpf
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
9361 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
9362 echo "configure:9363: checking for _frexpf declaration" >&5
9363 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
9364 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
9365 echo $ac_n "(cached) $ac_c" 1>&6
9370 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9371 ac_cpp='$CXXCPP $CPPFLAGS'
9372 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9373 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9374 cross_compiling=$ac_cv_prog_cxx_cross
9376 cat > conftest.$ac_ext <<EOF
9377 #line 9378 "configure"
9378 #include "confdefs.h"
9384 if { (eval echo configure:9385: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9386 glibcpp_cv_func__frexpf_use=yes
9388 echo "configure: failed program was:" >&5
9389 cat conftest.$ac_ext >&5
9391 glibcpp_cv_func__frexpf_use=no
9395 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9396 ac_cpp='$CPP $CPPFLAGS'
9397 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9398 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9399 cross_compiling=$ac_cv_prog_cc_cross
9405 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
9407 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
9408 for ac_func in _frexpf
9410 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9411 echo "configure:9412: checking for $ac_func" >&5
9412 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9413 echo $ac_n "(cached) $ac_c" 1>&6
9415 cat > conftest.$ac_ext <<EOF
9416 #line 9417 "configure"
9417 #include "confdefs.h"
9418 /* System header to define __stub macros and hopefully few prototypes,
9419 which can conflict with char $ac_func(); below. */
9421 /* Override any gcc2 internal prototype to avoid an error. */
9422 /* We use char because int might match the return type of a gcc2
9423 builtin and then its argument prototype would still apply. */
9428 /* The GNU C library defines this for functions which it implements
9429 to always fail with ENOSYS. Some functions are actually named
9430 something starting with __ and the normal name is an alias. */
9431 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9439 if { (eval echo configure:9440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9441 eval "ac_cv_func_$ac_func=yes"
9443 echo "configure: failed program was:" >&5
9444 cat conftest.$ac_ext >&5
9446 eval "ac_cv_func_$ac_func=no"
9451 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9452 echo "$ac_t""yes" 1>&6
9453 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9454 cat >> confdefs.h <<EOF
9455 #define $ac_tr_func 1
9459 echo "$ac_t""no" 1>&6
9468 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
9469 echo "configure:9470: checking for ldexpf declaration" >&5
9470 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
9471 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_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_ldexpf_use=yes
9495 echo "configure: failed program was:" >&5
9496 cat conftest.$ac_ext >&5
9498 glibcpp_cv_func_ldexpf_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_ldexpf_use" 1>&6
9514 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
9515 for ac_func in ldexpf
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
9572 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
9573 echo "configure:9574: checking for _ldexpf declaration" >&5
9574 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
9575 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
9576 echo $ac_n "(cached) $ac_c" 1>&6
9581 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9582 ac_cpp='$CXXCPP $CPPFLAGS'
9583 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9584 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9585 cross_compiling=$ac_cv_prog_cxx_cross
9587 cat > conftest.$ac_ext <<EOF
9588 #line 9589 "configure"
9589 #include "confdefs.h"
9595 if { (eval echo configure:9596: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9597 glibcpp_cv_func__ldexpf_use=yes
9599 echo "configure: failed program was:" >&5
9600 cat conftest.$ac_ext >&5
9602 glibcpp_cv_func__ldexpf_use=no
9606 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9607 ac_cpp='$CPP $CPPFLAGS'
9608 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9609 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9610 cross_compiling=$ac_cv_prog_cc_cross
9616 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
9618 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
9619 for ac_func in _ldexpf
9621 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9622 echo "configure:9623: checking for $ac_func" >&5
9623 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9624 echo $ac_n "(cached) $ac_c" 1>&6
9626 cat > conftest.$ac_ext <<EOF
9627 #line 9628 "configure"
9628 #include "confdefs.h"
9629 /* System header to define __stub macros and hopefully few prototypes,
9630 which can conflict with char $ac_func(); below. */
9632 /* Override any gcc2 internal prototype to avoid an error. */
9633 /* We use char because int might match the return type of a gcc2
9634 builtin and then its argument prototype would still apply. */
9639 /* The GNU C library defines this for functions which it implements
9640 to always fail with ENOSYS. Some functions are actually named
9641 something starting with __ and the normal name is an alias. */
9642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9650 if { (eval echo configure:9651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9652 eval "ac_cv_func_$ac_func=yes"
9654 echo "configure: failed program was:" >&5
9655 cat conftest.$ac_ext >&5
9657 eval "ac_cv_func_$ac_func=no"
9662 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9663 echo "$ac_t""yes" 1>&6
9664 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9665 cat >> confdefs.h <<EOF
9666 #define $ac_tr_func 1
9670 echo "$ac_t""no" 1>&6
9679 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
9680 echo "configure:9681: checking for logf declaration" >&5
9681 if test x${glibcpp_cv_func_logf_use+set} != xset; then
9682 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_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"
9698 #ifdef HAVE_IEEEFP_H
9706 if { (eval echo configure:9707: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9708 glibcpp_cv_func_logf_use=yes
9710 echo "configure: failed program was:" >&5
9711 cat conftest.$ac_ext >&5
9713 glibcpp_cv_func_logf_use=no
9717 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9718 ac_cpp='$CPP $CPPFLAGS'
9719 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9720 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9721 cross_compiling=$ac_cv_prog_cc_cross
9727 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
9729 if test x$glibcpp_cv_func_logf_use = x"yes"; then
9732 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9733 echo "configure:9734: checking for $ac_func" >&5
9734 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9735 echo $ac_n "(cached) $ac_c" 1>&6
9737 cat > conftest.$ac_ext <<EOF
9738 #line 9739 "configure"
9739 #include "confdefs.h"
9740 /* System header to define __stub macros and hopefully few prototypes,
9741 which can conflict with char $ac_func(); below. */
9743 /* Override any gcc2 internal prototype to avoid an error. */
9744 /* We use char because int might match the return type of a gcc2
9745 builtin and then its argument prototype would still apply. */
9750 /* The GNU C library defines this for functions which it implements
9751 to always fail with ENOSYS. Some functions are actually named
9752 something starting with __ and the normal name is an alias. */
9753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9761 if { (eval echo configure:9762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9763 eval "ac_cv_func_$ac_func=yes"
9765 echo "configure: failed program was:" >&5
9766 cat conftest.$ac_ext >&5
9768 eval "ac_cv_func_$ac_func=no"
9773 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9774 echo "$ac_t""yes" 1>&6
9775 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9776 cat >> confdefs.h <<EOF
9777 #define $ac_tr_func 1
9781 echo "$ac_t""no" 1>&6
9787 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
9788 echo "configure:9789: checking for _logf declaration" >&5
9789 if test x${glibcpp_cv_func__logf_use+set} != xset; then
9790 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
9791 echo $ac_n "(cached) $ac_c" 1>&6
9796 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9797 ac_cpp='$CXXCPP $CPPFLAGS'
9798 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9799 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9800 cross_compiling=$ac_cv_prog_cxx_cross
9802 cat > conftest.$ac_ext <<EOF
9803 #line 9804 "configure"
9804 #include "confdefs.h"
9806 #ifdef HAVE_IEEEFP_H
9814 if { (eval echo configure:9815: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9816 glibcpp_cv_func__logf_use=yes
9818 echo "configure: failed program was:" >&5
9819 cat conftest.$ac_ext >&5
9821 glibcpp_cv_func__logf_use=no
9825 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9826 ac_cpp='$CPP $CPPFLAGS'
9827 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9828 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9829 cross_compiling=$ac_cv_prog_cc_cross
9835 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
9837 if test x$glibcpp_cv_func__logf_use = x"yes"; then
9838 for ac_func in _logf
9840 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9841 echo "configure:9842: checking for $ac_func" >&5
9842 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9843 echo $ac_n "(cached) $ac_c" 1>&6
9845 cat > conftest.$ac_ext <<EOF
9846 #line 9847 "configure"
9847 #include "confdefs.h"
9848 /* System header to define __stub macros and hopefully few prototypes,
9849 which can conflict with char $ac_func(); below. */
9851 /* Override any gcc2 internal prototype to avoid an error. */
9852 /* We use char because int might match the return type of a gcc2
9853 builtin and then its argument prototype would still apply. */
9858 /* The GNU C library defines this for functions which it implements
9859 to always fail with ENOSYS. Some functions are actually named
9860 something starting with __ and the normal name is an alias. */
9861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9869 if { (eval echo configure:9870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9871 eval "ac_cv_func_$ac_func=yes"
9873 echo "configure: failed program was:" >&5
9874 cat conftest.$ac_ext >&5
9876 eval "ac_cv_func_$ac_func=no"
9881 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9882 echo "$ac_t""yes" 1>&6
9883 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9884 cat >> confdefs.h <<EOF
9885 #define $ac_tr_func 1
9889 echo "$ac_t""no" 1>&6
9898 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
9899 echo "configure:9900: checking for log10f declaration" >&5
9900 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
9901 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
9902 echo $ac_n "(cached) $ac_c" 1>&6
9907 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9908 ac_cpp='$CXXCPP $CPPFLAGS'
9909 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9910 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9911 cross_compiling=$ac_cv_prog_cxx_cross
9913 cat > conftest.$ac_ext <<EOF
9914 #line 9915 "configure"
9915 #include "confdefs.h"
9917 #ifdef HAVE_IEEEFP_H
9925 if { (eval echo configure:9926: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9927 glibcpp_cv_func_log10f_use=yes
9929 echo "configure: failed program was:" >&5
9930 cat conftest.$ac_ext >&5
9932 glibcpp_cv_func_log10f_use=no
9936 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9937 ac_cpp='$CPP $CPPFLAGS'
9938 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9939 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9940 cross_compiling=$ac_cv_prog_cc_cross
9946 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
9948 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
9949 for ac_func in log10f
9951 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9952 echo "configure:9953: checking for $ac_func" >&5
9953 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9954 echo $ac_n "(cached) $ac_c" 1>&6
9956 cat > conftest.$ac_ext <<EOF
9957 #line 9958 "configure"
9958 #include "confdefs.h"
9959 /* System header to define __stub macros and hopefully few prototypes,
9960 which can conflict with char $ac_func(); below. */
9962 /* Override any gcc2 internal prototype to avoid an error. */
9963 /* We use char because int might match the return type of a gcc2
9964 builtin and then its argument prototype would still apply. */
9969 /* The GNU C library defines this for functions which it implements
9970 to always fail with ENOSYS. Some functions are actually named
9971 something starting with __ and the normal name is an alias. */
9972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9980 if { (eval echo configure:9981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9982 eval "ac_cv_func_$ac_func=yes"
9984 echo "configure: failed program was:" >&5
9985 cat conftest.$ac_ext >&5
9987 eval "ac_cv_func_$ac_func=no"
9992 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9993 echo "$ac_t""yes" 1>&6
9994 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9995 cat >> confdefs.h <<EOF
9996 #define $ac_tr_func 1
10000 echo "$ac_t""no" 1>&6
10006 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
10007 echo "configure:10008: checking for _log10f declaration" >&5
10008 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
10009 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
10010 echo $ac_n "(cached) $ac_c" 1>&6
10015 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10016 ac_cpp='$CXXCPP $CPPFLAGS'
10017 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10018 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10019 cross_compiling=$ac_cv_prog_cxx_cross
10021 cat > conftest.$ac_ext <<EOF
10022 #line 10023 "configure"
10023 #include "confdefs.h"
10025 #ifdef HAVE_IEEEFP_H
10026 #include <ieeefp.h>
10033 if { (eval echo configure:10034: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10035 glibcpp_cv_func__log10f_use=yes
10037 echo "configure: failed program was:" >&5
10038 cat conftest.$ac_ext >&5
10040 glibcpp_cv_func__log10f_use=no
10044 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10045 ac_cpp='$CPP $CPPFLAGS'
10046 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10047 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10048 cross_compiling=$ac_cv_prog_cc_cross
10054 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
10056 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
10057 for ac_func in _log10f
10059 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10060 echo "configure:10061: checking for $ac_func" >&5
10061 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10062 echo $ac_n "(cached) $ac_c" 1>&6
10064 cat > conftest.$ac_ext <<EOF
10065 #line 10066 "configure"
10066 #include "confdefs.h"
10067 /* System header to define __stub macros and hopefully few prototypes,
10068 which can conflict with char $ac_func(); below. */
10069 #include <assert.h>
10070 /* Override any gcc2 internal prototype to avoid an error. */
10071 /* We use char because int might match the return type of a gcc2
10072 builtin and then its argument prototype would still apply. */
10077 /* The GNU C library defines this for functions which it implements
10078 to always fail with ENOSYS. Some functions are actually named
10079 something starting with __ and the normal name is an alias. */
10080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10088 if { (eval echo configure:10089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10090 eval "ac_cv_func_$ac_func=yes"
10092 echo "configure: failed program was:" >&5
10093 cat conftest.$ac_ext >&5
10095 eval "ac_cv_func_$ac_func=no"
10100 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10101 echo "$ac_t""yes" 1>&6
10102 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10103 cat >> confdefs.h <<EOF
10104 #define $ac_tr_func 1
10108 echo "$ac_t""no" 1>&6
10117 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
10118 echo "configure:10119: checking for modff declaration" >&5
10119 if test x${glibcpp_cv_func_modff_use+set} != xset; then
10120 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
10121 echo $ac_n "(cached) $ac_c" 1>&6
10126 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10127 ac_cpp='$CXXCPP $CPPFLAGS'
10128 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10129 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10130 cross_compiling=$ac_cv_prog_cxx_cross
10132 cat > conftest.$ac_ext <<EOF
10133 #line 10134 "configure"
10134 #include "confdefs.h"
10140 if { (eval echo configure:10141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10142 glibcpp_cv_func_modff_use=yes
10144 echo "configure: failed program was:" >&5
10145 cat conftest.$ac_ext >&5
10147 glibcpp_cv_func_modff_use=no
10151 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10152 ac_cpp='$CPP $CPPFLAGS'
10153 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10154 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10155 cross_compiling=$ac_cv_prog_cc_cross
10161 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
10163 if test x$glibcpp_cv_func_modff_use = x"yes"; then
10164 for ac_func in modff
10166 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10167 echo "configure:10168: checking for $ac_func" >&5
10168 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10169 echo $ac_n "(cached) $ac_c" 1>&6
10171 cat > conftest.$ac_ext <<EOF
10172 #line 10173 "configure"
10173 #include "confdefs.h"
10174 /* System header to define __stub macros and hopefully few prototypes,
10175 which can conflict with char $ac_func(); below. */
10176 #include <assert.h>
10177 /* Override any gcc2 internal prototype to avoid an error. */
10178 /* We use char because int might match the return type of a gcc2
10179 builtin and then its argument prototype would still apply. */
10184 /* The GNU C library defines this for functions which it implements
10185 to always fail with ENOSYS. Some functions are actually named
10186 something starting with __ and the normal name is an alias. */
10187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10195 if { (eval echo configure:10196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10197 eval "ac_cv_func_$ac_func=yes"
10199 echo "configure: failed program was:" >&5
10200 cat conftest.$ac_ext >&5
10202 eval "ac_cv_func_$ac_func=no"
10207 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10208 echo "$ac_t""yes" 1>&6
10209 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10210 cat >> confdefs.h <<EOF
10211 #define $ac_tr_func 1
10215 echo "$ac_t""no" 1>&6
10221 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
10222 echo "configure:10223: checking for _modff declaration" >&5
10223 if test x${glibcpp_cv_func__modff_use+set} != xset; then
10224 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
10225 echo $ac_n "(cached) $ac_c" 1>&6
10230 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10231 ac_cpp='$CXXCPP $CPPFLAGS'
10232 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10233 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10234 cross_compiling=$ac_cv_prog_cxx_cross
10236 cat > conftest.$ac_ext <<EOF
10237 #line 10238 "configure"
10238 #include "confdefs.h"
10244 if { (eval echo configure:10245: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10246 glibcpp_cv_func__modff_use=yes
10248 echo "configure: failed program was:" >&5
10249 cat conftest.$ac_ext >&5
10251 glibcpp_cv_func__modff_use=no
10255 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10256 ac_cpp='$CPP $CPPFLAGS'
10257 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10258 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10259 cross_compiling=$ac_cv_prog_cc_cross
10265 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
10267 if test x$glibcpp_cv_func__modff_use = x"yes"; then
10268 for ac_func in _modff
10270 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10271 echo "configure:10272: checking for $ac_func" >&5
10272 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10273 echo $ac_n "(cached) $ac_c" 1>&6
10275 cat > conftest.$ac_ext <<EOF
10276 #line 10277 "configure"
10277 #include "confdefs.h"
10278 /* System header to define __stub macros and hopefully few prototypes,
10279 which can conflict with char $ac_func(); below. */
10280 #include <assert.h>
10281 /* Override any gcc2 internal prototype to avoid an error. */
10282 /* We use char because int might match the return type of a gcc2
10283 builtin and then its argument prototype would still apply. */
10288 /* The GNU C library defines this for functions which it implements
10289 to always fail with ENOSYS. Some functions are actually named
10290 something starting with __ and the normal name is an alias. */
10291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10299 if { (eval echo configure:10300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10301 eval "ac_cv_func_$ac_func=yes"
10303 echo "configure: failed program was:" >&5
10304 cat conftest.$ac_ext >&5
10306 eval "ac_cv_func_$ac_func=no"
10311 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10312 echo "$ac_t""yes" 1>&6
10313 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10314 cat >> confdefs.h <<EOF
10315 #define $ac_tr_func 1
10319 echo "$ac_t""no" 1>&6
10328 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
10329 echo "configure:10330: checking for powf declaration" >&5
10330 if test x${glibcpp_cv_func_powf_use+set} != xset; then
10331 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
10332 echo $ac_n "(cached) $ac_c" 1>&6
10337 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10338 ac_cpp='$CXXCPP $CPPFLAGS'
10339 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10340 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10341 cross_compiling=$ac_cv_prog_cxx_cross
10343 cat > conftest.$ac_ext <<EOF
10344 #line 10345 "configure"
10345 #include "confdefs.h"
10351 if { (eval echo configure:10352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10353 glibcpp_cv_func_powf_use=yes
10355 echo "configure: failed program was:" >&5
10356 cat conftest.$ac_ext >&5
10358 glibcpp_cv_func_powf_use=no
10362 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10363 ac_cpp='$CPP $CPPFLAGS'
10364 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10365 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10366 cross_compiling=$ac_cv_prog_cc_cross
10372 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
10374 if test x$glibcpp_cv_func_powf_use = x"yes"; then
10375 for ac_func in powf
10377 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10378 echo "configure:10379: checking for $ac_func" >&5
10379 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10380 echo $ac_n "(cached) $ac_c" 1>&6
10382 cat > conftest.$ac_ext <<EOF
10383 #line 10384 "configure"
10384 #include "confdefs.h"
10385 /* System header to define __stub macros and hopefully few prototypes,
10386 which can conflict with char $ac_func(); below. */
10387 #include <assert.h>
10388 /* Override any gcc2 internal prototype to avoid an error. */
10389 /* We use char because int might match the return type of a gcc2
10390 builtin and then its argument prototype would still apply. */
10395 /* The GNU C library defines this for functions which it implements
10396 to always fail with ENOSYS. Some functions are actually named
10397 something starting with __ and the normal name is an alias. */
10398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10406 if { (eval echo configure:10407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10408 eval "ac_cv_func_$ac_func=yes"
10410 echo "configure: failed program was:" >&5
10411 cat conftest.$ac_ext >&5
10413 eval "ac_cv_func_$ac_func=no"
10418 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10419 echo "$ac_t""yes" 1>&6
10420 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10421 cat >> confdefs.h <<EOF
10422 #define $ac_tr_func 1
10426 echo "$ac_t""no" 1>&6
10432 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
10433 echo "configure:10434: checking for _powf declaration" >&5
10434 if test x${glibcpp_cv_func__powf_use+set} != xset; then
10435 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
10436 echo $ac_n "(cached) $ac_c" 1>&6
10441 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10442 ac_cpp='$CXXCPP $CPPFLAGS'
10443 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10444 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10445 cross_compiling=$ac_cv_prog_cxx_cross
10447 cat > conftest.$ac_ext <<EOF
10448 #line 10449 "configure"
10449 #include "confdefs.h"
10455 if { (eval echo configure:10456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10457 glibcpp_cv_func__powf_use=yes
10459 echo "configure: failed program was:" >&5
10460 cat conftest.$ac_ext >&5
10462 glibcpp_cv_func__powf_use=no
10466 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10467 ac_cpp='$CPP $CPPFLAGS'
10468 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10469 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10470 cross_compiling=$ac_cv_prog_cc_cross
10476 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
10478 if test x$glibcpp_cv_func__powf_use = x"yes"; then
10479 for ac_func in _powf
10481 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10482 echo "configure:10483: checking for $ac_func" >&5
10483 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10484 echo $ac_n "(cached) $ac_c" 1>&6
10486 cat > conftest.$ac_ext <<EOF
10487 #line 10488 "configure"
10488 #include "confdefs.h"
10489 /* System header to define __stub macros and hopefully few prototypes,
10490 which can conflict with char $ac_func(); below. */
10491 #include <assert.h>
10492 /* Override any gcc2 internal prototype to avoid an error. */
10493 /* We use char because int might match the return type of a gcc2
10494 builtin and then its argument prototype would still apply. */
10499 /* The GNU C library defines this for functions which it implements
10500 to always fail with ENOSYS. Some functions are actually named
10501 something starting with __ and the normal name is an alias. */
10502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10510 if { (eval echo configure:10511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10512 eval "ac_cv_func_$ac_func=yes"
10514 echo "configure: failed program was:" >&5
10515 cat conftest.$ac_ext >&5
10517 eval "ac_cv_func_$ac_func=no"
10522 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10523 echo "$ac_t""yes" 1>&6
10524 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10525 cat >> confdefs.h <<EOF
10526 #define $ac_tr_func 1
10530 echo "$ac_t""no" 1>&6
10539 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
10540 echo "configure:10541: checking for sqrtf declaration" >&5
10541 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
10542 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
10543 echo $ac_n "(cached) $ac_c" 1>&6
10548 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10549 ac_cpp='$CXXCPP $CPPFLAGS'
10550 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10551 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10552 cross_compiling=$ac_cv_prog_cxx_cross
10554 cat > conftest.$ac_ext <<EOF
10555 #line 10556 "configure"
10556 #include "confdefs.h"
10558 #ifdef HAVE_IEEEFP_H
10559 #include <ieeefp.h>
10566 if { (eval echo configure:10567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10568 glibcpp_cv_func_sqrtf_use=yes
10570 echo "configure: failed program was:" >&5
10571 cat conftest.$ac_ext >&5
10573 glibcpp_cv_func_sqrtf_use=no
10577 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10578 ac_cpp='$CPP $CPPFLAGS'
10579 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10580 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10581 cross_compiling=$ac_cv_prog_cc_cross
10587 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
10589 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
10590 for ac_func in sqrtf
10592 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10593 echo "configure:10594: checking for $ac_func" >&5
10594 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10595 echo $ac_n "(cached) $ac_c" 1>&6
10597 cat > conftest.$ac_ext <<EOF
10598 #line 10599 "configure"
10599 #include "confdefs.h"
10600 /* System header to define __stub macros and hopefully few prototypes,
10601 which can conflict with char $ac_func(); below. */
10602 #include <assert.h>
10603 /* Override any gcc2 internal prototype to avoid an error. */
10604 /* We use char because int might match the return type of a gcc2
10605 builtin and then its argument prototype would still apply. */
10610 /* The GNU C library defines this for functions which it implements
10611 to always fail with ENOSYS. Some functions are actually named
10612 something starting with __ and the normal name is an alias. */
10613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10621 if { (eval echo configure:10622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10623 eval "ac_cv_func_$ac_func=yes"
10625 echo "configure: failed program was:" >&5
10626 cat conftest.$ac_ext >&5
10628 eval "ac_cv_func_$ac_func=no"
10633 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10634 echo "$ac_t""yes" 1>&6
10635 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10636 cat >> confdefs.h <<EOF
10637 #define $ac_tr_func 1
10641 echo "$ac_t""no" 1>&6
10647 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
10648 echo "configure:10649: checking for _sqrtf declaration" >&5
10649 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
10650 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
10651 echo $ac_n "(cached) $ac_c" 1>&6
10656 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10657 ac_cpp='$CXXCPP $CPPFLAGS'
10658 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10659 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10660 cross_compiling=$ac_cv_prog_cxx_cross
10662 cat > conftest.$ac_ext <<EOF
10663 #line 10664 "configure"
10664 #include "confdefs.h"
10666 #ifdef HAVE_IEEEFP_H
10667 #include <ieeefp.h>
10674 if { (eval echo configure:10675: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10676 glibcpp_cv_func__sqrtf_use=yes
10678 echo "configure: failed program was:" >&5
10679 cat conftest.$ac_ext >&5
10681 glibcpp_cv_func__sqrtf_use=no
10685 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10686 ac_cpp='$CPP $CPPFLAGS'
10687 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10688 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10689 cross_compiling=$ac_cv_prog_cc_cross
10695 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
10697 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
10698 for ac_func in _sqrtf
10700 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10701 echo "configure:10702: checking for $ac_func" >&5
10702 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10703 echo $ac_n "(cached) $ac_c" 1>&6
10705 cat > conftest.$ac_ext <<EOF
10706 #line 10707 "configure"
10707 #include "confdefs.h"
10708 /* System header to define __stub macros and hopefully few prototypes,
10709 which can conflict with char $ac_func(); below. */
10710 #include <assert.h>
10711 /* Override any gcc2 internal prototype to avoid an error. */
10712 /* We use char because int might match the return type of a gcc2
10713 builtin and then its argument prototype would still apply. */
10718 /* The GNU C library defines this for functions which it implements
10719 to always fail with ENOSYS. Some functions are actually named
10720 something starting with __ and the normal name is an alias. */
10721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10729 if { (eval echo configure:10730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10731 eval "ac_cv_func_$ac_func=yes"
10733 echo "configure: failed program was:" >&5
10734 cat conftest.$ac_ext >&5
10736 eval "ac_cv_func_$ac_func=no"
10741 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10742 echo "$ac_t""yes" 1>&6
10743 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10744 cat >> confdefs.h <<EOF
10745 #define $ac_tr_func 1
10749 echo "$ac_t""no" 1>&6
10758 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
10759 echo "configure:10760: checking for sincosf declaration" >&5
10760 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
10761 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
10762 echo $ac_n "(cached) $ac_c" 1>&6
10767 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10768 ac_cpp='$CXXCPP $CPPFLAGS'
10769 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10770 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10771 cross_compiling=$ac_cv_prog_cxx_cross
10773 cat > conftest.$ac_ext <<EOF
10774 #line 10775 "configure"
10775 #include "confdefs.h"
10781 if { (eval echo configure:10782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10783 glibcpp_cv_func_sincosf_use=yes
10785 echo "configure: failed program was:" >&5
10786 cat conftest.$ac_ext >&5
10788 glibcpp_cv_func_sincosf_use=no
10792 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10793 ac_cpp='$CPP $CPPFLAGS'
10794 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10795 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10796 cross_compiling=$ac_cv_prog_cc_cross
10802 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
10804 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
10805 for ac_func in sincosf
10807 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10808 echo "configure:10809: checking for $ac_func" >&5
10809 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10810 echo $ac_n "(cached) $ac_c" 1>&6
10812 cat > conftest.$ac_ext <<EOF
10813 #line 10814 "configure"
10814 #include "confdefs.h"
10815 /* System header to define __stub macros and hopefully few prototypes,
10816 which can conflict with char $ac_func(); below. */
10817 #include <assert.h>
10818 /* Override any gcc2 internal prototype to avoid an error. */
10819 /* We use char because int might match the return type of a gcc2
10820 builtin and then its argument prototype would still apply. */
10825 /* The GNU C library defines this for functions which it implements
10826 to always fail with ENOSYS. Some functions are actually named
10827 something starting with __ and the normal name is an alias. */
10828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10836 if { (eval echo configure:10837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10838 eval "ac_cv_func_$ac_func=yes"
10840 echo "configure: failed program was:" >&5
10841 cat conftest.$ac_ext >&5
10843 eval "ac_cv_func_$ac_func=no"
10848 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10849 echo "$ac_t""yes" 1>&6
10850 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10851 cat >> confdefs.h <<EOF
10852 #define $ac_tr_func 1
10856 echo "$ac_t""no" 1>&6
10862 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
10863 echo "configure:10864: checking for _sincosf declaration" >&5
10864 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
10865 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
10866 echo $ac_n "(cached) $ac_c" 1>&6
10871 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10872 ac_cpp='$CXXCPP $CPPFLAGS'
10873 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10874 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10875 cross_compiling=$ac_cv_prog_cxx_cross
10877 cat > conftest.$ac_ext <<EOF
10878 #line 10879 "configure"
10879 #include "confdefs.h"
10885 if { (eval echo configure:10886: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10887 glibcpp_cv_func__sincosf_use=yes
10889 echo "configure: failed program was:" >&5
10890 cat conftest.$ac_ext >&5
10892 glibcpp_cv_func__sincosf_use=no
10896 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10897 ac_cpp='$CPP $CPPFLAGS'
10898 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10899 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10900 cross_compiling=$ac_cv_prog_cc_cross
10906 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
10908 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
10909 for ac_func in _sincosf
10911 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10912 echo "configure:10913: checking for $ac_func" >&5
10913 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10914 echo $ac_n "(cached) $ac_c" 1>&6
10916 cat > conftest.$ac_ext <<EOF
10917 #line 10918 "configure"
10918 #include "confdefs.h"
10919 /* System header to define __stub macros and hopefully few prototypes,
10920 which can conflict with char $ac_func(); below. */
10921 #include <assert.h>
10922 /* Override any gcc2 internal prototype to avoid an error. */
10923 /* We use char because int might match the return type of a gcc2
10924 builtin and then its argument prototype would still apply. */
10929 /* The GNU C library defines this for functions which it implements
10930 to always fail with ENOSYS. Some functions are actually named
10931 something starting with __ and the normal name is an alias. */
10932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10940 if { (eval echo configure:10941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10942 eval "ac_cv_func_$ac_func=yes"
10944 echo "configure: failed program was:" >&5
10945 cat conftest.$ac_ext >&5
10947 eval "ac_cv_func_$ac_func=no"
10952 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10953 echo "$ac_t""yes" 1>&6
10954 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10955 cat >> confdefs.h <<EOF
10956 #define $ac_tr_func 1
10960 echo "$ac_t""no" 1>&6
10969 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
10970 echo "configure:10971: checking for finitef declaration" >&5
10971 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
10972 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
10973 echo $ac_n "(cached) $ac_c" 1>&6
10978 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10979 ac_cpp='$CXXCPP $CPPFLAGS'
10980 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10981 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10982 cross_compiling=$ac_cv_prog_cxx_cross
10984 cat > conftest.$ac_ext <<EOF
10985 #line 10986 "configure"
10986 #include "confdefs.h"
10988 #ifdef HAVE_IEEEFP_H
10989 #include <ieeefp.h>
10996 if { (eval echo configure:10997: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10998 glibcpp_cv_func_finitef_use=yes
11000 echo "configure: failed program was:" >&5
11001 cat conftest.$ac_ext >&5
11003 glibcpp_cv_func_finitef_use=no
11007 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11008 ac_cpp='$CPP $CPPFLAGS'
11009 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11010 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11011 cross_compiling=$ac_cv_prog_cc_cross
11017 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
11019 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
11020 for ac_func in finitef
11022 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11023 echo "configure:11024: checking for $ac_func" >&5
11024 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11025 echo $ac_n "(cached) $ac_c" 1>&6
11027 cat > conftest.$ac_ext <<EOF
11028 #line 11029 "configure"
11029 #include "confdefs.h"
11030 /* System header to define __stub macros and hopefully few prototypes,
11031 which can conflict with char $ac_func(); below. */
11032 #include <assert.h>
11033 /* Override any gcc2 internal prototype to avoid an error. */
11034 /* We use char because int might match the return type of a gcc2
11035 builtin and then its argument prototype would still apply. */
11040 /* The GNU C library defines this for functions which it implements
11041 to always fail with ENOSYS. Some functions are actually named
11042 something starting with __ and the normal name is an alias. */
11043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11051 if { (eval echo configure:11052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11053 eval "ac_cv_func_$ac_func=yes"
11055 echo "configure: failed program was:" >&5
11056 cat conftest.$ac_ext >&5
11058 eval "ac_cv_func_$ac_func=no"
11063 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11064 echo "$ac_t""yes" 1>&6
11065 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11066 cat >> confdefs.h <<EOF
11067 #define $ac_tr_func 1
11071 echo "$ac_t""no" 1>&6
11077 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
11078 echo "configure:11079: checking for _finitef declaration" >&5
11079 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
11080 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
11081 echo $ac_n "(cached) $ac_c" 1>&6
11086 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11087 ac_cpp='$CXXCPP $CPPFLAGS'
11088 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11089 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11090 cross_compiling=$ac_cv_prog_cxx_cross
11092 cat > conftest.$ac_ext <<EOF
11093 #line 11094 "configure"
11094 #include "confdefs.h"
11096 #ifdef HAVE_IEEEFP_H
11097 #include <ieeefp.h>
11104 if { (eval echo configure:11105: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11106 glibcpp_cv_func__finitef_use=yes
11108 echo "configure: failed program was:" >&5
11109 cat conftest.$ac_ext >&5
11111 glibcpp_cv_func__finitef_use=no
11115 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11116 ac_cpp='$CPP $CPPFLAGS'
11117 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11118 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11119 cross_compiling=$ac_cv_prog_cc_cross
11125 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
11127 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
11128 for ac_func in _finitef
11130 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11131 echo "configure:11132: checking for $ac_func" >&5
11132 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11133 echo $ac_n "(cached) $ac_c" 1>&6
11135 cat > conftest.$ac_ext <<EOF
11136 #line 11137 "configure"
11137 #include "confdefs.h"
11138 /* System header to define __stub macros and hopefully few prototypes,
11139 which can conflict with char $ac_func(); below. */
11140 #include <assert.h>
11141 /* Override any gcc2 internal prototype to avoid an error. */
11142 /* We use char because int might match the return type of a gcc2
11143 builtin and then its argument prototype would still apply. */
11148 /* The GNU C library defines this for functions which it implements
11149 to always fail with ENOSYS. Some functions are actually named
11150 something starting with __ and the normal name is an alias. */
11151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11159 if { (eval echo configure:11160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11161 eval "ac_cv_func_$ac_func=yes"
11163 echo "configure: failed program was:" >&5
11164 cat conftest.$ac_ext >&5
11166 eval "ac_cv_func_$ac_func=no"
11171 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11172 echo "$ac_t""yes" 1>&6
11173 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11174 cat >> confdefs.h <<EOF
11175 #define $ac_tr_func 1
11179 echo "$ac_t""no" 1>&6
11188 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
11189 echo "configure:11190: checking for long double trig functions" >&5
11190 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
11191 echo $ac_n "(cached) $ac_c" 1>&6
11196 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11197 ac_cpp='$CXXCPP $CPPFLAGS'
11198 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11199 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11200 cross_compiling=$ac_cv_prog_cxx_cross
11202 cat > conftest.$ac_ext <<EOF
11203 #line 11204 "configure"
11204 #include "confdefs.h"
11207 `for x in acosl asinl atanl \
11209 coshl sinhl tanhl; do echo "$x (0);"; done`
11212 if { (eval echo configure:11213: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11214 glibcpp_cv_func_long_double_trig_use=yes
11216 echo "configure: failed program was:" >&5
11217 cat conftest.$ac_ext >&5
11219 glibcpp_cv_func_long_double_trig_use=no
11223 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11224 ac_cpp='$CPP $CPPFLAGS'
11225 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11226 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11227 cross_compiling=$ac_cv_prog_cc_cross
11231 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
11232 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
11233 for ac_func in acosl asinl atanl \
11237 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11238 echo "configure:11239: checking for $ac_func" >&5
11239 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11240 echo $ac_n "(cached) $ac_c" 1>&6
11242 cat > conftest.$ac_ext <<EOF
11243 #line 11244 "configure"
11244 #include "confdefs.h"
11245 /* System header to define __stub macros and hopefully few prototypes,
11246 which can conflict with char $ac_func(); below. */
11247 #include <assert.h>
11248 /* Override any gcc2 internal prototype to avoid an error. */
11249 /* We use char because int might match the return type of a gcc2
11250 builtin and then its argument prototype would still apply. */
11255 /* The GNU C library defines this for functions which it implements
11256 to always fail with ENOSYS. Some functions are actually named
11257 something starting with __ and the normal name is an alias. */
11258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11266 if { (eval echo configure:11267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11268 eval "ac_cv_func_$ac_func=yes"
11270 echo "configure: failed program was:" >&5
11271 cat conftest.$ac_ext >&5
11273 eval "ac_cv_func_$ac_func=no"
11278 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11279 echo "$ac_t""yes" 1>&6
11280 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11281 cat >> confdefs.h <<EOF
11282 #define $ac_tr_func 1
11286 echo "$ac_t""no" 1>&6
11293 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
11294 echo "configure:11295: checking for long double round functions" >&5
11295 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
11296 echo $ac_n "(cached) $ac_c" 1>&6
11301 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11302 ac_cpp='$CXXCPP $CPPFLAGS'
11303 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11304 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11305 cross_compiling=$ac_cv_prog_cxx_cross
11307 cat > conftest.$ac_ext <<EOF
11308 #line 11309 "configure"
11309 #include "confdefs.h"
11312 `for x in ceill floorl; do echo "$x (0);"; done`
11315 if { (eval echo configure:11316: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11317 glibcpp_cv_func_long_double_round_use=yes
11319 echo "configure: failed program was:" >&5
11320 cat conftest.$ac_ext >&5
11322 glibcpp_cv_func_long_double_round_use=no
11326 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11327 ac_cpp='$CPP $CPPFLAGS'
11328 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11329 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11330 cross_compiling=$ac_cv_prog_cc_cross
11334 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
11335 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
11336 for ac_func in ceill floorl
11338 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11339 echo "configure:11340: checking for $ac_func" >&5
11340 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11341 echo $ac_n "(cached) $ac_c" 1>&6
11343 cat > conftest.$ac_ext <<EOF
11344 #line 11345 "configure"
11345 #include "confdefs.h"
11346 /* System header to define __stub macros and hopefully few prototypes,
11347 which can conflict with char $ac_func(); below. */
11348 #include <assert.h>
11349 /* Override any gcc2 internal prototype to avoid an error. */
11350 /* We use char because int might match the return type of a gcc2
11351 builtin and then its argument prototype would still apply. */
11356 /* The GNU C library defines this for functions which it implements
11357 to always fail with ENOSYS. Some functions are actually named
11358 something starting with __ and the normal name is an alias. */
11359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11367 if { (eval echo configure:11368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11369 eval "ac_cv_func_$ac_func=yes"
11371 echo "configure: failed program was:" >&5
11372 cat conftest.$ac_ext >&5
11374 eval "ac_cv_func_$ac_func=no"
11379 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11380 echo "$ac_t""yes" 1>&6
11381 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11382 cat >> confdefs.h <<EOF
11383 #define $ac_tr_func 1
11387 echo "$ac_t""no" 1>&6
11395 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
11396 echo "configure:11397: checking for isnanl declaration" >&5
11397 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
11398 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
11399 echo $ac_n "(cached) $ac_c" 1>&6
11404 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11405 ac_cpp='$CXXCPP $CPPFLAGS'
11406 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11407 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11408 cross_compiling=$ac_cv_prog_cxx_cross
11410 cat > conftest.$ac_ext <<EOF
11411 #line 11412 "configure"
11412 #include "confdefs.h"
11414 #ifdef HAVE_IEEEFP_H
11415 #include <ieeefp.h>
11422 if { (eval echo configure:11423: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11424 glibcpp_cv_func_isnanl_use=yes
11426 echo "configure: failed program was:" >&5
11427 cat conftest.$ac_ext >&5
11429 glibcpp_cv_func_isnanl_use=no
11433 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11434 ac_cpp='$CPP $CPPFLAGS'
11435 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11436 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11437 cross_compiling=$ac_cv_prog_cc_cross
11443 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
11445 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
11446 for ac_func in isnanl
11448 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11449 echo "configure:11450: checking for $ac_func" >&5
11450 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11451 echo $ac_n "(cached) $ac_c" 1>&6
11453 cat > conftest.$ac_ext <<EOF
11454 #line 11455 "configure"
11455 #include "confdefs.h"
11456 /* System header to define __stub macros and hopefully few prototypes,
11457 which can conflict with char $ac_func(); below. */
11458 #include <assert.h>
11459 /* Override any gcc2 internal prototype to avoid an error. */
11460 /* We use char because int might match the return type of a gcc2
11461 builtin and then its argument prototype would still apply. */
11466 /* The GNU C library defines this for functions which it implements
11467 to always fail with ENOSYS. Some functions are actually named
11468 something starting with __ and the normal name is an alias. */
11469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11477 if { (eval echo configure:11478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11479 eval "ac_cv_func_$ac_func=yes"
11481 echo "configure: failed program was:" >&5
11482 cat conftest.$ac_ext >&5
11484 eval "ac_cv_func_$ac_func=no"
11489 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11490 echo "$ac_t""yes" 1>&6
11491 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11492 cat >> confdefs.h <<EOF
11493 #define $ac_tr_func 1
11497 echo "$ac_t""no" 1>&6
11503 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
11504 echo "configure:11505: checking for _isnanl declaration" >&5
11505 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
11506 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
11507 echo $ac_n "(cached) $ac_c" 1>&6
11512 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11513 ac_cpp='$CXXCPP $CPPFLAGS'
11514 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11515 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11516 cross_compiling=$ac_cv_prog_cxx_cross
11518 cat > conftest.$ac_ext <<EOF
11519 #line 11520 "configure"
11520 #include "confdefs.h"
11522 #ifdef HAVE_IEEEFP_H
11523 #include <ieeefp.h>
11530 if { (eval echo configure:11531: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11532 glibcpp_cv_func__isnanl_use=yes
11534 echo "configure: failed program was:" >&5
11535 cat conftest.$ac_ext >&5
11537 glibcpp_cv_func__isnanl_use=no
11541 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11542 ac_cpp='$CPP $CPPFLAGS'
11543 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11544 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11545 cross_compiling=$ac_cv_prog_cc_cross
11551 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
11553 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
11554 for ac_func in _isnanl
11556 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11557 echo "configure:11558: checking for $ac_func" >&5
11558 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11559 echo $ac_n "(cached) $ac_c" 1>&6
11561 cat > conftest.$ac_ext <<EOF
11562 #line 11563 "configure"
11563 #include "confdefs.h"
11564 /* System header to define __stub macros and hopefully few prototypes,
11565 which can conflict with char $ac_func(); below. */
11566 #include <assert.h>
11567 /* Override any gcc2 internal prototype to avoid an error. */
11568 /* We use char because int might match the return type of a gcc2
11569 builtin and then its argument prototype would still apply. */
11574 /* The GNU C library defines this for functions which it implements
11575 to always fail with ENOSYS. Some functions are actually named
11576 something starting with __ and the normal name is an alias. */
11577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11585 if { (eval echo configure:11586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11587 eval "ac_cv_func_$ac_func=yes"
11589 echo "configure: failed program was:" >&5
11590 cat conftest.$ac_ext >&5
11592 eval "ac_cv_func_$ac_func=no"
11597 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11598 echo "$ac_t""yes" 1>&6
11599 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11600 cat >> confdefs.h <<EOF
11601 #define $ac_tr_func 1
11605 echo "$ac_t""no" 1>&6
11614 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
11615 echo "configure:11616: checking for isinfl declaration" >&5
11616 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
11617 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
11618 echo $ac_n "(cached) $ac_c" 1>&6
11623 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11624 ac_cpp='$CXXCPP $CPPFLAGS'
11625 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11626 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11627 cross_compiling=$ac_cv_prog_cxx_cross
11629 cat > conftest.$ac_ext <<EOF
11630 #line 11631 "configure"
11631 #include "confdefs.h"
11633 #ifdef HAVE_IEEEFP_H
11634 #include <ieeefp.h>
11641 if { (eval echo configure:11642: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11643 glibcpp_cv_func_isinfl_use=yes
11645 echo "configure: failed program was:" >&5
11646 cat conftest.$ac_ext >&5
11648 glibcpp_cv_func_isinfl_use=no
11652 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11653 ac_cpp='$CPP $CPPFLAGS'
11654 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11655 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11656 cross_compiling=$ac_cv_prog_cc_cross
11662 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
11664 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
11665 for ac_func in isinfl
11667 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11668 echo "configure:11669: checking for $ac_func" >&5
11669 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11670 echo $ac_n "(cached) $ac_c" 1>&6
11672 cat > conftest.$ac_ext <<EOF
11673 #line 11674 "configure"
11674 #include "confdefs.h"
11675 /* System header to define __stub macros and hopefully few prototypes,
11676 which can conflict with char $ac_func(); below. */
11677 #include <assert.h>
11678 /* Override any gcc2 internal prototype to avoid an error. */
11679 /* We use char because int might match the return type of a gcc2
11680 builtin and then its argument prototype would still apply. */
11685 /* The GNU C library defines this for functions which it implements
11686 to always fail with ENOSYS. Some functions are actually named
11687 something starting with __ and the normal name is an alias. */
11688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11696 if { (eval echo configure:11697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11698 eval "ac_cv_func_$ac_func=yes"
11700 echo "configure: failed program was:" >&5
11701 cat conftest.$ac_ext >&5
11703 eval "ac_cv_func_$ac_func=no"
11708 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11709 echo "$ac_t""yes" 1>&6
11710 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11711 cat >> confdefs.h <<EOF
11712 #define $ac_tr_func 1
11716 echo "$ac_t""no" 1>&6
11722 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
11723 echo "configure:11724: checking for _isinfl declaration" >&5
11724 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
11725 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
11726 echo $ac_n "(cached) $ac_c" 1>&6
11731 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11732 ac_cpp='$CXXCPP $CPPFLAGS'
11733 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11734 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11735 cross_compiling=$ac_cv_prog_cxx_cross
11737 cat > conftest.$ac_ext <<EOF
11738 #line 11739 "configure"
11739 #include "confdefs.h"
11741 #ifdef HAVE_IEEEFP_H
11742 #include <ieeefp.h>
11749 if { (eval echo configure:11750: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11751 glibcpp_cv_func__isinfl_use=yes
11753 echo "configure: failed program was:" >&5
11754 cat conftest.$ac_ext >&5
11756 glibcpp_cv_func__isinfl_use=no
11760 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11761 ac_cpp='$CPP $CPPFLAGS'
11762 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11763 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11764 cross_compiling=$ac_cv_prog_cc_cross
11770 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
11772 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
11773 for ac_func in _isinfl
11775 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11776 echo "configure:11777: checking for $ac_func" >&5
11777 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11778 echo $ac_n "(cached) $ac_c" 1>&6
11780 cat > conftest.$ac_ext <<EOF
11781 #line 11782 "configure"
11782 #include "confdefs.h"
11783 /* System header to define __stub macros and hopefully few prototypes,
11784 which can conflict with char $ac_func(); below. */
11785 #include <assert.h>
11786 /* Override any gcc2 internal prototype to avoid an error. */
11787 /* We use char because int might match the return type of a gcc2
11788 builtin and then its argument prototype would still apply. */
11793 /* The GNU C library defines this for functions which it implements
11794 to always fail with ENOSYS. Some functions are actually named
11795 something starting with __ and the normal name is an alias. */
11796 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11804 if { (eval echo configure:11805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11806 eval "ac_cv_func_$ac_func=yes"
11808 echo "configure: failed program was:" >&5
11809 cat conftest.$ac_ext >&5
11811 eval "ac_cv_func_$ac_func=no"
11816 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11817 echo "$ac_t""yes" 1>&6
11818 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11819 cat >> confdefs.h <<EOF
11820 #define $ac_tr_func 1
11824 echo "$ac_t""no" 1>&6
11833 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
11834 echo "configure:11835: checking for copysignl declaration" >&5
11835 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
11836 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
11837 echo $ac_n "(cached) $ac_c" 1>&6
11842 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11843 ac_cpp='$CXXCPP $CPPFLAGS'
11844 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11845 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11846 cross_compiling=$ac_cv_prog_cxx_cross
11848 cat > conftest.$ac_ext <<EOF
11849 #line 11850 "configure"
11850 #include "confdefs.h"
11856 if { (eval echo configure:11857: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11858 glibcpp_cv_func_copysignl_use=yes
11860 echo "configure: failed program was:" >&5
11861 cat conftest.$ac_ext >&5
11863 glibcpp_cv_func_copysignl_use=no
11867 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11868 ac_cpp='$CPP $CPPFLAGS'
11869 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11870 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11871 cross_compiling=$ac_cv_prog_cc_cross
11877 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
11879 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
11880 for ac_func in copysignl
11882 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11883 echo "configure:11884: checking for $ac_func" >&5
11884 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11885 echo $ac_n "(cached) $ac_c" 1>&6
11887 cat > conftest.$ac_ext <<EOF
11888 #line 11889 "configure"
11889 #include "confdefs.h"
11890 /* System header to define __stub macros and hopefully few prototypes,
11891 which can conflict with char $ac_func(); below. */
11892 #include <assert.h>
11893 /* Override any gcc2 internal prototype to avoid an error. */
11894 /* We use char because int might match the return type of a gcc2
11895 builtin and then its argument prototype would still apply. */
11900 /* The GNU C library defines this for functions which it implements
11901 to always fail with ENOSYS. Some functions are actually named
11902 something starting with __ and the normal name is an alias. */
11903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11911 if { (eval echo configure:11912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11913 eval "ac_cv_func_$ac_func=yes"
11915 echo "configure: failed program was:" >&5
11916 cat conftest.$ac_ext >&5
11918 eval "ac_cv_func_$ac_func=no"
11923 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11924 echo "$ac_t""yes" 1>&6
11925 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11926 cat >> confdefs.h <<EOF
11927 #define $ac_tr_func 1
11931 echo "$ac_t""no" 1>&6
11937 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
11938 echo "configure:11939: checking for _copysignl declaration" >&5
11939 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
11940 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
11941 echo $ac_n "(cached) $ac_c" 1>&6
11946 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11947 ac_cpp='$CXXCPP $CPPFLAGS'
11948 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11949 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11950 cross_compiling=$ac_cv_prog_cxx_cross
11952 cat > conftest.$ac_ext <<EOF
11953 #line 11954 "configure"
11954 #include "confdefs.h"
11960 if { (eval echo configure:11961: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11962 glibcpp_cv_func__copysignl_use=yes
11964 echo "configure: failed program was:" >&5
11965 cat conftest.$ac_ext >&5
11967 glibcpp_cv_func__copysignl_use=no
11971 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11972 ac_cpp='$CPP $CPPFLAGS'
11973 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11974 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11975 cross_compiling=$ac_cv_prog_cc_cross
11981 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
11983 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
11984 for ac_func in _copysignl
11986 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11987 echo "configure:11988: checking for $ac_func" >&5
11988 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11989 echo $ac_n "(cached) $ac_c" 1>&6
11991 cat > conftest.$ac_ext <<EOF
11992 #line 11993 "configure"
11993 #include "confdefs.h"
11994 /* System header to define __stub macros and hopefully few prototypes,
11995 which can conflict with char $ac_func(); below. */
11996 #include <assert.h>
11997 /* Override any gcc2 internal prototype to avoid an error. */
11998 /* We use char because int might match the return type of a gcc2
11999 builtin and then its argument prototype would still apply. */
12004 /* The GNU C library defines this for functions which it implements
12005 to always fail with ENOSYS. Some functions are actually named
12006 something starting with __ and the normal name is an alias. */
12007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12015 if { (eval echo configure:12016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12017 eval "ac_cv_func_$ac_func=yes"
12019 echo "configure: failed program was:" >&5
12020 cat conftest.$ac_ext >&5
12022 eval "ac_cv_func_$ac_func=no"
12027 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12028 echo "$ac_t""yes" 1>&6
12029 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12030 cat >> confdefs.h <<EOF
12031 #define $ac_tr_func 1
12035 echo "$ac_t""no" 1>&6
12044 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
12045 echo "configure:12046: checking for atan2l declaration" >&5
12046 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
12047 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
12048 echo $ac_n "(cached) $ac_c" 1>&6
12053 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12054 ac_cpp='$CXXCPP $CPPFLAGS'
12055 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12056 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12057 cross_compiling=$ac_cv_prog_cxx_cross
12059 cat > conftest.$ac_ext <<EOF
12060 #line 12061 "configure"
12061 #include "confdefs.h"
12067 if { (eval echo configure:12068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12069 glibcpp_cv_func_atan2l_use=yes
12071 echo "configure: failed program was:" >&5
12072 cat conftest.$ac_ext >&5
12074 glibcpp_cv_func_atan2l_use=no
12078 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12079 ac_cpp='$CPP $CPPFLAGS'
12080 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12081 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12082 cross_compiling=$ac_cv_prog_cc_cross
12088 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
12090 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
12091 for ac_func in atan2l
12093 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12094 echo "configure:12095: checking for $ac_func" >&5
12095 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12096 echo $ac_n "(cached) $ac_c" 1>&6
12098 cat > conftest.$ac_ext <<EOF
12099 #line 12100 "configure"
12100 #include "confdefs.h"
12101 /* System header to define __stub macros and hopefully few prototypes,
12102 which can conflict with char $ac_func(); below. */
12103 #include <assert.h>
12104 /* Override any gcc2 internal prototype to avoid an error. */
12105 /* We use char because int might match the return type of a gcc2
12106 builtin and then its argument prototype would still apply. */
12111 /* The GNU C library defines this for functions which it implements
12112 to always fail with ENOSYS. Some functions are actually named
12113 something starting with __ and the normal name is an alias. */
12114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12122 if { (eval echo configure:12123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12124 eval "ac_cv_func_$ac_func=yes"
12126 echo "configure: failed program was:" >&5
12127 cat conftest.$ac_ext >&5
12129 eval "ac_cv_func_$ac_func=no"
12134 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12135 echo "$ac_t""yes" 1>&6
12136 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12137 cat >> confdefs.h <<EOF
12138 #define $ac_tr_func 1
12142 echo "$ac_t""no" 1>&6
12148 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
12149 echo "configure:12150: checking for _atan2l declaration" >&5
12150 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
12151 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
12152 echo $ac_n "(cached) $ac_c" 1>&6
12157 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12158 ac_cpp='$CXXCPP $CPPFLAGS'
12159 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12160 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12161 cross_compiling=$ac_cv_prog_cxx_cross
12163 cat > conftest.$ac_ext <<EOF
12164 #line 12165 "configure"
12165 #include "confdefs.h"
12171 if { (eval echo configure:12172: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12173 glibcpp_cv_func__atan2l_use=yes
12175 echo "configure: failed program was:" >&5
12176 cat conftest.$ac_ext >&5
12178 glibcpp_cv_func__atan2l_use=no
12182 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12183 ac_cpp='$CPP $CPPFLAGS'
12184 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12185 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12186 cross_compiling=$ac_cv_prog_cc_cross
12192 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
12194 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
12195 for ac_func in _atan2l
12197 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12198 echo "configure:12199: checking for $ac_func" >&5
12199 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12200 echo $ac_n "(cached) $ac_c" 1>&6
12202 cat > conftest.$ac_ext <<EOF
12203 #line 12204 "configure"
12204 #include "confdefs.h"
12205 /* System header to define __stub macros and hopefully few prototypes,
12206 which can conflict with char $ac_func(); below. */
12207 #include <assert.h>
12208 /* Override any gcc2 internal prototype to avoid an error. */
12209 /* We use char because int might match the return type of a gcc2
12210 builtin and then its argument prototype would still apply. */
12215 /* The GNU C library defines this for functions which it implements
12216 to always fail with ENOSYS. Some functions are actually named
12217 something starting with __ and the normal name is an alias. */
12218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12226 if { (eval echo configure:12227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12228 eval "ac_cv_func_$ac_func=yes"
12230 echo "configure: failed program was:" >&5
12231 cat conftest.$ac_ext >&5
12233 eval "ac_cv_func_$ac_func=no"
12238 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12239 echo "$ac_t""yes" 1>&6
12240 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12241 cat >> confdefs.h <<EOF
12242 #define $ac_tr_func 1
12246 echo "$ac_t""no" 1>&6
12255 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
12256 echo "configure:12257: checking for expl declaration" >&5
12257 if test x${glibcpp_cv_func_expl_use+set} != xset; then
12258 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
12259 echo $ac_n "(cached) $ac_c" 1>&6
12264 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12265 ac_cpp='$CXXCPP $CPPFLAGS'
12266 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12267 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12268 cross_compiling=$ac_cv_prog_cxx_cross
12270 cat > conftest.$ac_ext <<EOF
12271 #line 12272 "configure"
12272 #include "confdefs.h"
12274 #ifdef HAVE_IEEEFP_H
12275 #include <ieeefp.h>
12282 if { (eval echo configure:12283: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12284 glibcpp_cv_func_expl_use=yes
12286 echo "configure: failed program was:" >&5
12287 cat conftest.$ac_ext >&5
12289 glibcpp_cv_func_expl_use=no
12293 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12294 ac_cpp='$CPP $CPPFLAGS'
12295 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12296 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12297 cross_compiling=$ac_cv_prog_cc_cross
12303 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
12305 if test x$glibcpp_cv_func_expl_use = x"yes"; then
12306 for ac_func in expl
12308 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12309 echo "configure:12310: checking for $ac_func" >&5
12310 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12311 echo $ac_n "(cached) $ac_c" 1>&6
12313 cat > conftest.$ac_ext <<EOF
12314 #line 12315 "configure"
12315 #include "confdefs.h"
12316 /* System header to define __stub macros and hopefully few prototypes,
12317 which can conflict with char $ac_func(); below. */
12318 #include <assert.h>
12319 /* Override any gcc2 internal prototype to avoid an error. */
12320 /* We use char because int might match the return type of a gcc2
12321 builtin and then its argument prototype would still apply. */
12326 /* The GNU C library defines this for functions which it implements
12327 to always fail with ENOSYS. Some functions are actually named
12328 something starting with __ and the normal name is an alias. */
12329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12337 if { (eval echo configure:12338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12339 eval "ac_cv_func_$ac_func=yes"
12341 echo "configure: failed program was:" >&5
12342 cat conftest.$ac_ext >&5
12344 eval "ac_cv_func_$ac_func=no"
12349 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12350 echo "$ac_t""yes" 1>&6
12351 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12352 cat >> confdefs.h <<EOF
12353 #define $ac_tr_func 1
12357 echo "$ac_t""no" 1>&6
12363 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
12364 echo "configure:12365: checking for _expl declaration" >&5
12365 if test x${glibcpp_cv_func__expl_use+set} != xset; then
12366 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
12367 echo $ac_n "(cached) $ac_c" 1>&6
12372 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12373 ac_cpp='$CXXCPP $CPPFLAGS'
12374 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12375 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12376 cross_compiling=$ac_cv_prog_cxx_cross
12378 cat > conftest.$ac_ext <<EOF
12379 #line 12380 "configure"
12380 #include "confdefs.h"
12382 #ifdef HAVE_IEEEFP_H
12383 #include <ieeefp.h>
12390 if { (eval echo configure:12391: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12392 glibcpp_cv_func__expl_use=yes
12394 echo "configure: failed program was:" >&5
12395 cat conftest.$ac_ext >&5
12397 glibcpp_cv_func__expl_use=no
12401 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12402 ac_cpp='$CPP $CPPFLAGS'
12403 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12404 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12405 cross_compiling=$ac_cv_prog_cc_cross
12411 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
12413 if test x$glibcpp_cv_func__expl_use = x"yes"; then
12414 for ac_func in _expl
12416 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12417 echo "configure:12418: checking for $ac_func" >&5
12418 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12419 echo $ac_n "(cached) $ac_c" 1>&6
12421 cat > conftest.$ac_ext <<EOF
12422 #line 12423 "configure"
12423 #include "confdefs.h"
12424 /* System header to define __stub macros and hopefully few prototypes,
12425 which can conflict with char $ac_func(); below. */
12426 #include <assert.h>
12427 /* Override any gcc2 internal prototype to avoid an error. */
12428 /* We use char because int might match the return type of a gcc2
12429 builtin and then its argument prototype would still apply. */
12434 /* The GNU C library defines this for functions which it implements
12435 to always fail with ENOSYS. Some functions are actually named
12436 something starting with __ and the normal name is an alias. */
12437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12445 if { (eval echo configure:12446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12447 eval "ac_cv_func_$ac_func=yes"
12449 echo "configure: failed program was:" >&5
12450 cat conftest.$ac_ext >&5
12452 eval "ac_cv_func_$ac_func=no"
12457 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12458 echo "$ac_t""yes" 1>&6
12459 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12460 cat >> confdefs.h <<EOF
12461 #define $ac_tr_func 1
12465 echo "$ac_t""no" 1>&6
12474 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
12475 echo "configure:12476: checking for fabsl declaration" >&5
12476 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
12477 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
12478 echo $ac_n "(cached) $ac_c" 1>&6
12483 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12484 ac_cpp='$CXXCPP $CPPFLAGS'
12485 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12486 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12487 cross_compiling=$ac_cv_prog_cxx_cross
12489 cat > conftest.$ac_ext <<EOF
12490 #line 12491 "configure"
12491 #include "confdefs.h"
12493 #ifdef HAVE_IEEEFP_H
12494 #include <ieeefp.h>
12501 if { (eval echo configure:12502: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12503 glibcpp_cv_func_fabsl_use=yes
12505 echo "configure: failed program was:" >&5
12506 cat conftest.$ac_ext >&5
12508 glibcpp_cv_func_fabsl_use=no
12512 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12513 ac_cpp='$CPP $CPPFLAGS'
12514 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12515 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12516 cross_compiling=$ac_cv_prog_cc_cross
12522 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
12524 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
12525 for ac_func in fabsl
12527 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12528 echo "configure:12529: checking for $ac_func" >&5
12529 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12530 echo $ac_n "(cached) $ac_c" 1>&6
12532 cat > conftest.$ac_ext <<EOF
12533 #line 12534 "configure"
12534 #include "confdefs.h"
12535 /* System header to define __stub macros and hopefully few prototypes,
12536 which can conflict with char $ac_func(); below. */
12537 #include <assert.h>
12538 /* Override any gcc2 internal prototype to avoid an error. */
12539 /* We use char because int might match the return type of a gcc2
12540 builtin and then its argument prototype would still apply. */
12545 /* The GNU C library defines this for functions which it implements
12546 to always fail with ENOSYS. Some functions are actually named
12547 something starting with __ and the normal name is an alias. */
12548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12556 if { (eval echo configure:12557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12558 eval "ac_cv_func_$ac_func=yes"
12560 echo "configure: failed program was:" >&5
12561 cat conftest.$ac_ext >&5
12563 eval "ac_cv_func_$ac_func=no"
12568 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12569 echo "$ac_t""yes" 1>&6
12570 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12571 cat >> confdefs.h <<EOF
12572 #define $ac_tr_func 1
12576 echo "$ac_t""no" 1>&6
12582 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
12583 echo "configure:12584: checking for _fabsl declaration" >&5
12584 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
12585 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
12586 echo $ac_n "(cached) $ac_c" 1>&6
12591 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12592 ac_cpp='$CXXCPP $CPPFLAGS'
12593 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12594 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12595 cross_compiling=$ac_cv_prog_cxx_cross
12597 cat > conftest.$ac_ext <<EOF
12598 #line 12599 "configure"
12599 #include "confdefs.h"
12601 #ifdef HAVE_IEEEFP_H
12602 #include <ieeefp.h>
12609 if { (eval echo configure:12610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12611 glibcpp_cv_func__fabsl_use=yes
12613 echo "configure: failed program was:" >&5
12614 cat conftest.$ac_ext >&5
12616 glibcpp_cv_func__fabsl_use=no
12620 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12621 ac_cpp='$CPP $CPPFLAGS'
12622 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12623 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12624 cross_compiling=$ac_cv_prog_cc_cross
12630 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
12632 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
12633 for ac_func in _fabsl
12635 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12636 echo "configure:12637: checking for $ac_func" >&5
12637 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12638 echo $ac_n "(cached) $ac_c" 1>&6
12640 cat > conftest.$ac_ext <<EOF
12641 #line 12642 "configure"
12642 #include "confdefs.h"
12643 /* System header to define __stub macros and hopefully few prototypes,
12644 which can conflict with char $ac_func(); below. */
12645 #include <assert.h>
12646 /* Override any gcc2 internal prototype to avoid an error. */
12647 /* We use char because int might match the return type of a gcc2
12648 builtin and then its argument prototype would still apply. */
12653 /* The GNU C library defines this for functions which it implements
12654 to always fail with ENOSYS. Some functions are actually named
12655 something starting with __ and the normal name is an alias. */
12656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12664 if { (eval echo configure:12665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12666 eval "ac_cv_func_$ac_func=yes"
12668 echo "configure: failed program was:" >&5
12669 cat conftest.$ac_ext >&5
12671 eval "ac_cv_func_$ac_func=no"
12676 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12677 echo "$ac_t""yes" 1>&6
12678 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12679 cat >> confdefs.h <<EOF
12680 #define $ac_tr_func 1
12684 echo "$ac_t""no" 1>&6
12693 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
12694 echo "configure:12695: checking for fmodl declaration" >&5
12695 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
12696 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
12697 echo $ac_n "(cached) $ac_c" 1>&6
12702 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12703 ac_cpp='$CXXCPP $CPPFLAGS'
12704 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12705 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12706 cross_compiling=$ac_cv_prog_cxx_cross
12708 cat > conftest.$ac_ext <<EOF
12709 #line 12710 "configure"
12710 #include "confdefs.h"
12716 if { (eval echo configure:12717: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12718 glibcpp_cv_func_fmodl_use=yes
12720 echo "configure: failed program was:" >&5
12721 cat conftest.$ac_ext >&5
12723 glibcpp_cv_func_fmodl_use=no
12727 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12728 ac_cpp='$CPP $CPPFLAGS'
12729 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12730 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12731 cross_compiling=$ac_cv_prog_cc_cross
12737 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
12739 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
12740 for ac_func in fmodl
12742 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12743 echo "configure:12744: checking for $ac_func" >&5
12744 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12745 echo $ac_n "(cached) $ac_c" 1>&6
12747 cat > conftest.$ac_ext <<EOF
12748 #line 12749 "configure"
12749 #include "confdefs.h"
12750 /* System header to define __stub macros and hopefully few prototypes,
12751 which can conflict with char $ac_func(); below. */
12752 #include <assert.h>
12753 /* Override any gcc2 internal prototype to avoid an error. */
12754 /* We use char because int might match the return type of a gcc2
12755 builtin and then its argument prototype would still apply. */
12760 /* The GNU C library defines this for functions which it implements
12761 to always fail with ENOSYS. Some functions are actually named
12762 something starting with __ and the normal name is an alias. */
12763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12771 if { (eval echo configure:12772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12773 eval "ac_cv_func_$ac_func=yes"
12775 echo "configure: failed program was:" >&5
12776 cat conftest.$ac_ext >&5
12778 eval "ac_cv_func_$ac_func=no"
12783 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12784 echo "$ac_t""yes" 1>&6
12785 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12786 cat >> confdefs.h <<EOF
12787 #define $ac_tr_func 1
12791 echo "$ac_t""no" 1>&6
12797 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
12798 echo "configure:12799: checking for _fmodl declaration" >&5
12799 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
12800 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
12801 echo $ac_n "(cached) $ac_c" 1>&6
12806 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12807 ac_cpp='$CXXCPP $CPPFLAGS'
12808 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12809 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12810 cross_compiling=$ac_cv_prog_cxx_cross
12812 cat > conftest.$ac_ext <<EOF
12813 #line 12814 "configure"
12814 #include "confdefs.h"
12820 if { (eval echo configure:12821: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12822 glibcpp_cv_func__fmodl_use=yes
12824 echo "configure: failed program was:" >&5
12825 cat conftest.$ac_ext >&5
12827 glibcpp_cv_func__fmodl_use=no
12831 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12832 ac_cpp='$CPP $CPPFLAGS'
12833 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12834 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12835 cross_compiling=$ac_cv_prog_cc_cross
12841 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
12843 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
12844 for ac_func in _fmodl
12846 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12847 echo "configure:12848: checking for $ac_func" >&5
12848 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12849 echo $ac_n "(cached) $ac_c" 1>&6
12851 cat > conftest.$ac_ext <<EOF
12852 #line 12853 "configure"
12853 #include "confdefs.h"
12854 /* System header to define __stub macros and hopefully few prototypes,
12855 which can conflict with char $ac_func(); below. */
12856 #include <assert.h>
12857 /* Override any gcc2 internal prototype to avoid an error. */
12858 /* We use char because int might match the return type of a gcc2
12859 builtin and then its argument prototype would still apply. */
12864 /* The GNU C library defines this for functions which it implements
12865 to always fail with ENOSYS. Some functions are actually named
12866 something starting with __ and the normal name is an alias. */
12867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12875 if { (eval echo configure:12876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12877 eval "ac_cv_func_$ac_func=yes"
12879 echo "configure: failed program was:" >&5
12880 cat conftest.$ac_ext >&5
12882 eval "ac_cv_func_$ac_func=no"
12887 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12888 echo "$ac_t""yes" 1>&6
12889 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12890 cat >> confdefs.h <<EOF
12891 #define $ac_tr_func 1
12895 echo "$ac_t""no" 1>&6
12904 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
12905 echo "configure:12906: checking for frexpl declaration" >&5
12906 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
12907 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
12908 echo $ac_n "(cached) $ac_c" 1>&6
12913 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12914 ac_cpp='$CXXCPP $CPPFLAGS'
12915 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12916 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12917 cross_compiling=$ac_cv_prog_cxx_cross
12919 cat > conftest.$ac_ext <<EOF
12920 #line 12921 "configure"
12921 #include "confdefs.h"
12927 if { (eval echo configure:12928: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12929 glibcpp_cv_func_frexpl_use=yes
12931 echo "configure: failed program was:" >&5
12932 cat conftest.$ac_ext >&5
12934 glibcpp_cv_func_frexpl_use=no
12938 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12939 ac_cpp='$CPP $CPPFLAGS'
12940 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12941 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12942 cross_compiling=$ac_cv_prog_cc_cross
12948 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
12950 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
12951 for ac_func in frexpl
12953 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12954 echo "configure:12955: checking for $ac_func" >&5
12955 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12956 echo $ac_n "(cached) $ac_c" 1>&6
12958 cat > conftest.$ac_ext <<EOF
12959 #line 12960 "configure"
12960 #include "confdefs.h"
12961 /* System header to define __stub macros and hopefully few prototypes,
12962 which can conflict with char $ac_func(); below. */
12963 #include <assert.h>
12964 /* Override any gcc2 internal prototype to avoid an error. */
12965 /* We use char because int might match the return type of a gcc2
12966 builtin and then its argument prototype would still apply. */
12971 /* The GNU C library defines this for functions which it implements
12972 to always fail with ENOSYS. Some functions are actually named
12973 something starting with __ and the normal name is an alias. */
12974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12982 if { (eval echo configure:12983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12984 eval "ac_cv_func_$ac_func=yes"
12986 echo "configure: failed program was:" >&5
12987 cat conftest.$ac_ext >&5
12989 eval "ac_cv_func_$ac_func=no"
12994 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12995 echo "$ac_t""yes" 1>&6
12996 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12997 cat >> confdefs.h <<EOF
12998 #define $ac_tr_func 1
13002 echo "$ac_t""no" 1>&6
13008 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
13009 echo "configure:13010: checking for _frexpl declaration" >&5
13010 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
13011 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
13012 echo $ac_n "(cached) $ac_c" 1>&6
13017 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13018 ac_cpp='$CXXCPP $CPPFLAGS'
13019 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13020 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13021 cross_compiling=$ac_cv_prog_cxx_cross
13023 cat > conftest.$ac_ext <<EOF
13024 #line 13025 "configure"
13025 #include "confdefs.h"
13031 if { (eval echo configure:13032: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13033 glibcpp_cv_func__frexpl_use=yes
13035 echo "configure: failed program was:" >&5
13036 cat conftest.$ac_ext >&5
13038 glibcpp_cv_func__frexpl_use=no
13042 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13043 ac_cpp='$CPP $CPPFLAGS'
13044 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13045 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13046 cross_compiling=$ac_cv_prog_cc_cross
13052 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
13054 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
13055 for ac_func in _frexpl
13057 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13058 echo "configure:13059: checking for $ac_func" >&5
13059 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13060 echo $ac_n "(cached) $ac_c" 1>&6
13062 cat > conftest.$ac_ext <<EOF
13063 #line 13064 "configure"
13064 #include "confdefs.h"
13065 /* System header to define __stub macros and hopefully few prototypes,
13066 which can conflict with char $ac_func(); below. */
13067 #include <assert.h>
13068 /* Override any gcc2 internal prototype to avoid an error. */
13069 /* We use char because int might match the return type of a gcc2
13070 builtin and then its argument prototype would still apply. */
13075 /* The GNU C library defines this for functions which it implements
13076 to always fail with ENOSYS. Some functions are actually named
13077 something starting with __ and the normal name is an alias. */
13078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13086 if { (eval echo configure:13087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13088 eval "ac_cv_func_$ac_func=yes"
13090 echo "configure: failed program was:" >&5
13091 cat conftest.$ac_ext >&5
13093 eval "ac_cv_func_$ac_func=no"
13098 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13099 echo "$ac_t""yes" 1>&6
13100 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13101 cat >> confdefs.h <<EOF
13102 #define $ac_tr_func 1
13106 echo "$ac_t""no" 1>&6
13115 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
13116 echo "configure:13117: checking for ldexpl declaration" >&5
13117 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
13118 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
13119 echo $ac_n "(cached) $ac_c" 1>&6
13124 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13125 ac_cpp='$CXXCPP $CPPFLAGS'
13126 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13127 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13128 cross_compiling=$ac_cv_prog_cxx_cross
13130 cat > conftest.$ac_ext <<EOF
13131 #line 13132 "configure"
13132 #include "confdefs.h"
13138 if { (eval echo configure:13139: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13140 glibcpp_cv_func_ldexpl_use=yes
13142 echo "configure: failed program was:" >&5
13143 cat conftest.$ac_ext >&5
13145 glibcpp_cv_func_ldexpl_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_ldexpl_use" 1>&6
13161 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
13162 for ac_func in ldexpl
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
13219 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
13220 echo "configure:13221: checking for _ldexpl declaration" >&5
13221 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
13222 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
13223 echo $ac_n "(cached) $ac_c" 1>&6
13228 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13229 ac_cpp='$CXXCPP $CPPFLAGS'
13230 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13231 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13232 cross_compiling=$ac_cv_prog_cxx_cross
13234 cat > conftest.$ac_ext <<EOF
13235 #line 13236 "configure"
13236 #include "confdefs.h"
13242 if { (eval echo configure:13243: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13244 glibcpp_cv_func__ldexpl_use=yes
13246 echo "configure: failed program was:" >&5
13247 cat conftest.$ac_ext >&5
13249 glibcpp_cv_func__ldexpl_use=no
13253 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13254 ac_cpp='$CPP $CPPFLAGS'
13255 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13256 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13257 cross_compiling=$ac_cv_prog_cc_cross
13263 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
13265 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
13266 for ac_func in _ldexpl
13268 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13269 echo "configure:13270: checking for $ac_func" >&5
13270 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13271 echo $ac_n "(cached) $ac_c" 1>&6
13273 cat > conftest.$ac_ext <<EOF
13274 #line 13275 "configure"
13275 #include "confdefs.h"
13276 /* System header to define __stub macros and hopefully few prototypes,
13277 which can conflict with char $ac_func(); below. */
13278 #include <assert.h>
13279 /* Override any gcc2 internal prototype to avoid an error. */
13280 /* We use char because int might match the return type of a gcc2
13281 builtin and then its argument prototype would still apply. */
13286 /* The GNU C library defines this for functions which it implements
13287 to always fail with ENOSYS. Some functions are actually named
13288 something starting with __ and the normal name is an alias. */
13289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13297 if { (eval echo configure:13298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13299 eval "ac_cv_func_$ac_func=yes"
13301 echo "configure: failed program was:" >&5
13302 cat conftest.$ac_ext >&5
13304 eval "ac_cv_func_$ac_func=no"
13309 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13310 echo "$ac_t""yes" 1>&6
13311 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13312 cat >> confdefs.h <<EOF
13313 #define $ac_tr_func 1
13317 echo "$ac_t""no" 1>&6
13326 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
13327 echo "configure:13328: checking for logl declaration" >&5
13328 if test x${glibcpp_cv_func_logl_use+set} != xset; then
13329 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_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"
13345 #ifdef HAVE_IEEEFP_H
13346 #include <ieeefp.h>
13353 if { (eval echo configure:13354: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13355 glibcpp_cv_func_logl_use=yes
13357 echo "configure: failed program was:" >&5
13358 cat conftest.$ac_ext >&5
13360 glibcpp_cv_func_logl_use=no
13364 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13365 ac_cpp='$CPP $CPPFLAGS'
13366 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13367 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13368 cross_compiling=$ac_cv_prog_cc_cross
13374 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
13376 if test x$glibcpp_cv_func_logl_use = x"yes"; then
13377 for ac_func in logl
13379 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13380 echo "configure:13381: checking for $ac_func" >&5
13381 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13382 echo $ac_n "(cached) $ac_c" 1>&6
13384 cat > conftest.$ac_ext <<EOF
13385 #line 13386 "configure"
13386 #include "confdefs.h"
13387 /* System header to define __stub macros and hopefully few prototypes,
13388 which can conflict with char $ac_func(); below. */
13389 #include <assert.h>
13390 /* Override any gcc2 internal prototype to avoid an error. */
13391 /* We use char because int might match the return type of a gcc2
13392 builtin and then its argument prototype would still apply. */
13397 /* The GNU C library defines this for functions which it implements
13398 to always fail with ENOSYS. Some functions are actually named
13399 something starting with __ and the normal name is an alias. */
13400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13408 if { (eval echo configure:13409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13410 eval "ac_cv_func_$ac_func=yes"
13412 echo "configure: failed program was:" >&5
13413 cat conftest.$ac_ext >&5
13415 eval "ac_cv_func_$ac_func=no"
13420 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13421 echo "$ac_t""yes" 1>&6
13422 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13423 cat >> confdefs.h <<EOF
13424 #define $ac_tr_func 1
13428 echo "$ac_t""no" 1>&6
13434 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
13435 echo "configure:13436: checking for _logl declaration" >&5
13436 if test x${glibcpp_cv_func__logl_use+set} != xset; then
13437 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
13438 echo $ac_n "(cached) $ac_c" 1>&6
13443 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13444 ac_cpp='$CXXCPP $CPPFLAGS'
13445 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13446 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13447 cross_compiling=$ac_cv_prog_cxx_cross
13449 cat > conftest.$ac_ext <<EOF
13450 #line 13451 "configure"
13451 #include "confdefs.h"
13453 #ifdef HAVE_IEEEFP_H
13454 #include <ieeefp.h>
13461 if { (eval echo configure:13462: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13463 glibcpp_cv_func__logl_use=yes
13465 echo "configure: failed program was:" >&5
13466 cat conftest.$ac_ext >&5
13468 glibcpp_cv_func__logl_use=no
13472 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13473 ac_cpp='$CPP $CPPFLAGS'
13474 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13475 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13476 cross_compiling=$ac_cv_prog_cc_cross
13482 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
13484 if test x$glibcpp_cv_func__logl_use = x"yes"; then
13485 for ac_func in _logl
13487 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13488 echo "configure:13489: checking for $ac_func" >&5
13489 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13490 echo $ac_n "(cached) $ac_c" 1>&6
13492 cat > conftest.$ac_ext <<EOF
13493 #line 13494 "configure"
13494 #include "confdefs.h"
13495 /* System header to define __stub macros and hopefully few prototypes,
13496 which can conflict with char $ac_func(); below. */
13497 #include <assert.h>
13498 /* Override any gcc2 internal prototype to avoid an error. */
13499 /* We use char because int might match the return type of a gcc2
13500 builtin and then its argument prototype would still apply. */
13505 /* The GNU C library defines this for functions which it implements
13506 to always fail with ENOSYS. Some functions are actually named
13507 something starting with __ and the normal name is an alias. */
13508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13516 if { (eval echo configure:13517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13518 eval "ac_cv_func_$ac_func=yes"
13520 echo "configure: failed program was:" >&5
13521 cat conftest.$ac_ext >&5
13523 eval "ac_cv_func_$ac_func=no"
13528 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13529 echo "$ac_t""yes" 1>&6
13530 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13531 cat >> confdefs.h <<EOF
13532 #define $ac_tr_func 1
13536 echo "$ac_t""no" 1>&6
13545 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
13546 echo "configure:13547: checking for log10l declaration" >&5
13547 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
13548 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
13549 echo $ac_n "(cached) $ac_c" 1>&6
13554 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13555 ac_cpp='$CXXCPP $CPPFLAGS'
13556 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13557 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13558 cross_compiling=$ac_cv_prog_cxx_cross
13560 cat > conftest.$ac_ext <<EOF
13561 #line 13562 "configure"
13562 #include "confdefs.h"
13564 #ifdef HAVE_IEEEFP_H
13565 #include <ieeefp.h>
13572 if { (eval echo configure:13573: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13574 glibcpp_cv_func_log10l_use=yes
13576 echo "configure: failed program was:" >&5
13577 cat conftest.$ac_ext >&5
13579 glibcpp_cv_func_log10l_use=no
13583 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13584 ac_cpp='$CPP $CPPFLAGS'
13585 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13586 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13587 cross_compiling=$ac_cv_prog_cc_cross
13593 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
13595 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
13596 for ac_func in log10l
13598 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13599 echo "configure:13600: checking for $ac_func" >&5
13600 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13601 echo $ac_n "(cached) $ac_c" 1>&6
13603 cat > conftest.$ac_ext <<EOF
13604 #line 13605 "configure"
13605 #include "confdefs.h"
13606 /* System header to define __stub macros and hopefully few prototypes,
13607 which can conflict with char $ac_func(); below. */
13608 #include <assert.h>
13609 /* Override any gcc2 internal prototype to avoid an error. */
13610 /* We use char because int might match the return type of a gcc2
13611 builtin and then its argument prototype would still apply. */
13616 /* The GNU C library defines this for functions which it implements
13617 to always fail with ENOSYS. Some functions are actually named
13618 something starting with __ and the normal name is an alias. */
13619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13627 if { (eval echo configure:13628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13629 eval "ac_cv_func_$ac_func=yes"
13631 echo "configure: failed program was:" >&5
13632 cat conftest.$ac_ext >&5
13634 eval "ac_cv_func_$ac_func=no"
13639 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13640 echo "$ac_t""yes" 1>&6
13641 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13642 cat >> confdefs.h <<EOF
13643 #define $ac_tr_func 1
13647 echo "$ac_t""no" 1>&6
13653 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
13654 echo "configure:13655: checking for _log10l declaration" >&5
13655 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
13656 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
13657 echo $ac_n "(cached) $ac_c" 1>&6
13662 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13663 ac_cpp='$CXXCPP $CPPFLAGS'
13664 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13665 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13666 cross_compiling=$ac_cv_prog_cxx_cross
13668 cat > conftest.$ac_ext <<EOF
13669 #line 13670 "configure"
13670 #include "confdefs.h"
13672 #ifdef HAVE_IEEEFP_H
13673 #include <ieeefp.h>
13680 if { (eval echo configure:13681: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13682 glibcpp_cv_func__log10l_use=yes
13684 echo "configure: failed program was:" >&5
13685 cat conftest.$ac_ext >&5
13687 glibcpp_cv_func__log10l_use=no
13691 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13692 ac_cpp='$CPP $CPPFLAGS'
13693 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13694 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13695 cross_compiling=$ac_cv_prog_cc_cross
13701 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
13703 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
13704 for ac_func in _log10l
13706 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13707 echo "configure:13708: checking for $ac_func" >&5
13708 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13709 echo $ac_n "(cached) $ac_c" 1>&6
13711 cat > conftest.$ac_ext <<EOF
13712 #line 13713 "configure"
13713 #include "confdefs.h"
13714 /* System header to define __stub macros and hopefully few prototypes,
13715 which can conflict with char $ac_func(); below. */
13716 #include <assert.h>
13717 /* Override any gcc2 internal prototype to avoid an error. */
13718 /* We use char because int might match the return type of a gcc2
13719 builtin and then its argument prototype would still apply. */
13724 /* The GNU C library defines this for functions which it implements
13725 to always fail with ENOSYS. Some functions are actually named
13726 something starting with __ and the normal name is an alias. */
13727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13735 if { (eval echo configure:13736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13737 eval "ac_cv_func_$ac_func=yes"
13739 echo "configure: failed program was:" >&5
13740 cat conftest.$ac_ext >&5
13742 eval "ac_cv_func_$ac_func=no"
13747 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13748 echo "$ac_t""yes" 1>&6
13749 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13750 cat >> confdefs.h <<EOF
13751 #define $ac_tr_func 1
13755 echo "$ac_t""no" 1>&6
13764 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
13765 echo "configure:13766: checking for modfl declaration" >&5
13766 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
13767 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
13768 echo $ac_n "(cached) $ac_c" 1>&6
13773 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13774 ac_cpp='$CXXCPP $CPPFLAGS'
13775 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13776 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13777 cross_compiling=$ac_cv_prog_cxx_cross
13779 cat > conftest.$ac_ext <<EOF
13780 #line 13781 "configure"
13781 #include "confdefs.h"
13787 if { (eval echo configure:13788: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13789 glibcpp_cv_func_modfl_use=yes
13791 echo "configure: failed program was:" >&5
13792 cat conftest.$ac_ext >&5
13794 glibcpp_cv_func_modfl_use=no
13798 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13799 ac_cpp='$CPP $CPPFLAGS'
13800 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13801 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13802 cross_compiling=$ac_cv_prog_cc_cross
13808 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
13810 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
13811 for ac_func in modfl
13813 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13814 echo "configure:13815: checking for $ac_func" >&5
13815 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13816 echo $ac_n "(cached) $ac_c" 1>&6
13818 cat > conftest.$ac_ext <<EOF
13819 #line 13820 "configure"
13820 #include "confdefs.h"
13821 /* System header to define __stub macros and hopefully few prototypes,
13822 which can conflict with char $ac_func(); below. */
13823 #include <assert.h>
13824 /* Override any gcc2 internal prototype to avoid an error. */
13825 /* We use char because int might match the return type of a gcc2
13826 builtin and then its argument prototype would still apply. */
13831 /* The GNU C library defines this for functions which it implements
13832 to always fail with ENOSYS. Some functions are actually named
13833 something starting with __ and the normal name is an alias. */
13834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13842 if { (eval echo configure:13843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13844 eval "ac_cv_func_$ac_func=yes"
13846 echo "configure: failed program was:" >&5
13847 cat conftest.$ac_ext >&5
13849 eval "ac_cv_func_$ac_func=no"
13854 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13855 echo "$ac_t""yes" 1>&6
13856 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13857 cat >> confdefs.h <<EOF
13858 #define $ac_tr_func 1
13862 echo "$ac_t""no" 1>&6
13868 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
13869 echo "configure:13870: checking for _modfl declaration" >&5
13870 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
13871 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
13872 echo $ac_n "(cached) $ac_c" 1>&6
13877 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13878 ac_cpp='$CXXCPP $CPPFLAGS'
13879 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13880 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13881 cross_compiling=$ac_cv_prog_cxx_cross
13883 cat > conftest.$ac_ext <<EOF
13884 #line 13885 "configure"
13885 #include "confdefs.h"
13891 if { (eval echo configure:13892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13893 glibcpp_cv_func__modfl_use=yes
13895 echo "configure: failed program was:" >&5
13896 cat conftest.$ac_ext >&5
13898 glibcpp_cv_func__modfl_use=no
13902 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13903 ac_cpp='$CPP $CPPFLAGS'
13904 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13905 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13906 cross_compiling=$ac_cv_prog_cc_cross
13912 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
13914 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
13915 for ac_func in _modfl
13917 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13918 echo "configure:13919: checking for $ac_func" >&5
13919 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13920 echo $ac_n "(cached) $ac_c" 1>&6
13922 cat > conftest.$ac_ext <<EOF
13923 #line 13924 "configure"
13924 #include "confdefs.h"
13925 /* System header to define __stub macros and hopefully few prototypes,
13926 which can conflict with char $ac_func(); below. */
13927 #include <assert.h>
13928 /* Override any gcc2 internal prototype to avoid an error. */
13929 /* We use char because int might match the return type of a gcc2
13930 builtin and then its argument prototype would still apply. */
13935 /* The GNU C library defines this for functions which it implements
13936 to always fail with ENOSYS. Some functions are actually named
13937 something starting with __ and the normal name is an alias. */
13938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13946 if { (eval echo configure:13947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13948 eval "ac_cv_func_$ac_func=yes"
13950 echo "configure: failed program was:" >&5
13951 cat conftest.$ac_ext >&5
13953 eval "ac_cv_func_$ac_func=no"
13958 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13959 echo "$ac_t""yes" 1>&6
13960 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13961 cat >> confdefs.h <<EOF
13962 #define $ac_tr_func 1
13966 echo "$ac_t""no" 1>&6
13975 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
13976 echo "configure:13977: checking for powl declaration" >&5
13977 if test x${glibcpp_cv_func_powl_use+set} != xset; then
13978 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
13979 echo $ac_n "(cached) $ac_c" 1>&6
13984 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13985 ac_cpp='$CXXCPP $CPPFLAGS'
13986 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13987 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13988 cross_compiling=$ac_cv_prog_cxx_cross
13990 cat > conftest.$ac_ext <<EOF
13991 #line 13992 "configure"
13992 #include "confdefs.h"
13998 if { (eval echo configure:13999: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14000 glibcpp_cv_func_powl_use=yes
14002 echo "configure: failed program was:" >&5
14003 cat conftest.$ac_ext >&5
14005 glibcpp_cv_func_powl_use=no
14009 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14010 ac_cpp='$CPP $CPPFLAGS'
14011 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14012 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14013 cross_compiling=$ac_cv_prog_cc_cross
14019 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
14021 if test x$glibcpp_cv_func_powl_use = x"yes"; then
14022 for ac_func in powl
14024 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14025 echo "configure:14026: checking for $ac_func" >&5
14026 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14027 echo $ac_n "(cached) $ac_c" 1>&6
14029 cat > conftest.$ac_ext <<EOF
14030 #line 14031 "configure"
14031 #include "confdefs.h"
14032 /* System header to define __stub macros and hopefully few prototypes,
14033 which can conflict with char $ac_func(); below. */
14034 #include <assert.h>
14035 /* Override any gcc2 internal prototype to avoid an error. */
14036 /* We use char because int might match the return type of a gcc2
14037 builtin and then its argument prototype would still apply. */
14042 /* The GNU C library defines this for functions which it implements
14043 to always fail with ENOSYS. Some functions are actually named
14044 something starting with __ and the normal name is an alias. */
14045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14053 if { (eval echo configure:14054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14055 eval "ac_cv_func_$ac_func=yes"
14057 echo "configure: failed program was:" >&5
14058 cat conftest.$ac_ext >&5
14060 eval "ac_cv_func_$ac_func=no"
14065 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14066 echo "$ac_t""yes" 1>&6
14067 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14068 cat >> confdefs.h <<EOF
14069 #define $ac_tr_func 1
14073 echo "$ac_t""no" 1>&6
14079 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
14080 echo "configure:14081: checking for _powl declaration" >&5
14081 if test x${glibcpp_cv_func__powl_use+set} != xset; then
14082 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
14083 echo $ac_n "(cached) $ac_c" 1>&6
14088 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14089 ac_cpp='$CXXCPP $CPPFLAGS'
14090 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14091 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14092 cross_compiling=$ac_cv_prog_cxx_cross
14094 cat > conftest.$ac_ext <<EOF
14095 #line 14096 "configure"
14096 #include "confdefs.h"
14102 if { (eval echo configure:14103: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14104 glibcpp_cv_func__powl_use=yes
14106 echo "configure: failed program was:" >&5
14107 cat conftest.$ac_ext >&5
14109 glibcpp_cv_func__powl_use=no
14113 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14114 ac_cpp='$CPP $CPPFLAGS'
14115 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14116 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14117 cross_compiling=$ac_cv_prog_cc_cross
14123 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
14125 if test x$glibcpp_cv_func__powl_use = x"yes"; then
14126 for ac_func in _powl
14128 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14129 echo "configure:14130: checking for $ac_func" >&5
14130 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14131 echo $ac_n "(cached) $ac_c" 1>&6
14133 cat > conftest.$ac_ext <<EOF
14134 #line 14135 "configure"
14135 #include "confdefs.h"
14136 /* System header to define __stub macros and hopefully few prototypes,
14137 which can conflict with char $ac_func(); below. */
14138 #include <assert.h>
14139 /* Override any gcc2 internal prototype to avoid an error. */
14140 /* We use char because int might match the return type of a gcc2
14141 builtin and then its argument prototype would still apply. */
14146 /* The GNU C library defines this for functions which it implements
14147 to always fail with ENOSYS. Some functions are actually named
14148 something starting with __ and the normal name is an alias. */
14149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14157 if { (eval echo configure:14158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14159 eval "ac_cv_func_$ac_func=yes"
14161 echo "configure: failed program was:" >&5
14162 cat conftest.$ac_ext >&5
14164 eval "ac_cv_func_$ac_func=no"
14169 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14170 echo "$ac_t""yes" 1>&6
14171 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14172 cat >> confdefs.h <<EOF
14173 #define $ac_tr_func 1
14177 echo "$ac_t""no" 1>&6
14186 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
14187 echo "configure:14188: checking for sqrtl declaration" >&5
14188 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
14189 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
14190 echo $ac_n "(cached) $ac_c" 1>&6
14195 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14196 ac_cpp='$CXXCPP $CPPFLAGS'
14197 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14198 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14199 cross_compiling=$ac_cv_prog_cxx_cross
14201 cat > conftest.$ac_ext <<EOF
14202 #line 14203 "configure"
14203 #include "confdefs.h"
14205 #ifdef HAVE_IEEEFP_H
14206 #include <ieeefp.h>
14213 if { (eval echo configure:14214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14215 glibcpp_cv_func_sqrtl_use=yes
14217 echo "configure: failed program was:" >&5
14218 cat conftest.$ac_ext >&5
14220 glibcpp_cv_func_sqrtl_use=no
14224 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14225 ac_cpp='$CPP $CPPFLAGS'
14226 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14227 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14228 cross_compiling=$ac_cv_prog_cc_cross
14234 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
14236 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
14237 for ac_func in sqrtl
14239 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14240 echo "configure:14241: checking for $ac_func" >&5
14241 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14242 echo $ac_n "(cached) $ac_c" 1>&6
14244 cat > conftest.$ac_ext <<EOF
14245 #line 14246 "configure"
14246 #include "confdefs.h"
14247 /* System header to define __stub macros and hopefully few prototypes,
14248 which can conflict with char $ac_func(); below. */
14249 #include <assert.h>
14250 /* Override any gcc2 internal prototype to avoid an error. */
14251 /* We use char because int might match the return type of a gcc2
14252 builtin and then its argument prototype would still apply. */
14257 /* The GNU C library defines this for functions which it implements
14258 to always fail with ENOSYS. Some functions are actually named
14259 something starting with __ and the normal name is an alias. */
14260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14268 if { (eval echo configure:14269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14270 eval "ac_cv_func_$ac_func=yes"
14272 echo "configure: failed program was:" >&5
14273 cat conftest.$ac_ext >&5
14275 eval "ac_cv_func_$ac_func=no"
14280 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14281 echo "$ac_t""yes" 1>&6
14282 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14283 cat >> confdefs.h <<EOF
14284 #define $ac_tr_func 1
14288 echo "$ac_t""no" 1>&6
14294 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
14295 echo "configure:14296: checking for _sqrtl declaration" >&5
14296 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
14297 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
14298 echo $ac_n "(cached) $ac_c" 1>&6
14303 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14304 ac_cpp='$CXXCPP $CPPFLAGS'
14305 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14306 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14307 cross_compiling=$ac_cv_prog_cxx_cross
14309 cat > conftest.$ac_ext <<EOF
14310 #line 14311 "configure"
14311 #include "confdefs.h"
14313 #ifdef HAVE_IEEEFP_H
14314 #include <ieeefp.h>
14321 if { (eval echo configure:14322: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14323 glibcpp_cv_func__sqrtl_use=yes
14325 echo "configure: failed program was:" >&5
14326 cat conftest.$ac_ext >&5
14328 glibcpp_cv_func__sqrtl_use=no
14332 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14333 ac_cpp='$CPP $CPPFLAGS'
14334 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14335 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14336 cross_compiling=$ac_cv_prog_cc_cross
14342 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
14344 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
14345 for ac_func in _sqrtl
14347 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14348 echo "configure:14349: checking for $ac_func" >&5
14349 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14350 echo $ac_n "(cached) $ac_c" 1>&6
14352 cat > conftest.$ac_ext <<EOF
14353 #line 14354 "configure"
14354 #include "confdefs.h"
14355 /* System header to define __stub macros and hopefully few prototypes,
14356 which can conflict with char $ac_func(); below. */
14357 #include <assert.h>
14358 /* Override any gcc2 internal prototype to avoid an error. */
14359 /* We use char because int might match the return type of a gcc2
14360 builtin and then its argument prototype would still apply. */
14365 /* The GNU C library defines this for functions which it implements
14366 to always fail with ENOSYS. Some functions are actually named
14367 something starting with __ and the normal name is an alias. */
14368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14376 if { (eval echo configure:14377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14378 eval "ac_cv_func_$ac_func=yes"
14380 echo "configure: failed program was:" >&5
14381 cat conftest.$ac_ext >&5
14383 eval "ac_cv_func_$ac_func=no"
14388 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14389 echo "$ac_t""yes" 1>&6
14390 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14391 cat >> confdefs.h <<EOF
14392 #define $ac_tr_func 1
14396 echo "$ac_t""no" 1>&6
14405 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
14406 echo "configure:14407: checking for sincosl declaration" >&5
14407 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
14408 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
14409 echo $ac_n "(cached) $ac_c" 1>&6
14414 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14415 ac_cpp='$CXXCPP $CPPFLAGS'
14416 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14417 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14418 cross_compiling=$ac_cv_prog_cxx_cross
14420 cat > conftest.$ac_ext <<EOF
14421 #line 14422 "configure"
14422 #include "confdefs.h"
14428 if { (eval echo configure:14429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14430 glibcpp_cv_func_sincosl_use=yes
14432 echo "configure: failed program was:" >&5
14433 cat conftest.$ac_ext >&5
14435 glibcpp_cv_func_sincosl_use=no
14439 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14440 ac_cpp='$CPP $CPPFLAGS'
14441 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14442 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14443 cross_compiling=$ac_cv_prog_cc_cross
14449 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
14451 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
14452 for ac_func in sincosl
14454 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14455 echo "configure:14456: checking for $ac_func" >&5
14456 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14457 echo $ac_n "(cached) $ac_c" 1>&6
14459 cat > conftest.$ac_ext <<EOF
14460 #line 14461 "configure"
14461 #include "confdefs.h"
14462 /* System header to define __stub macros and hopefully few prototypes,
14463 which can conflict with char $ac_func(); below. */
14464 #include <assert.h>
14465 /* Override any gcc2 internal prototype to avoid an error. */
14466 /* We use char because int might match the return type of a gcc2
14467 builtin and then its argument prototype would still apply. */
14472 /* The GNU C library defines this for functions which it implements
14473 to always fail with ENOSYS. Some functions are actually named
14474 something starting with __ and the normal name is an alias. */
14475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14483 if { (eval echo configure:14484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14485 eval "ac_cv_func_$ac_func=yes"
14487 echo "configure: failed program was:" >&5
14488 cat conftest.$ac_ext >&5
14490 eval "ac_cv_func_$ac_func=no"
14495 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14496 echo "$ac_t""yes" 1>&6
14497 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14498 cat >> confdefs.h <<EOF
14499 #define $ac_tr_func 1
14503 echo "$ac_t""no" 1>&6
14509 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
14510 echo "configure:14511: checking for _sincosl declaration" >&5
14511 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
14512 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
14513 echo $ac_n "(cached) $ac_c" 1>&6
14518 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14519 ac_cpp='$CXXCPP $CPPFLAGS'
14520 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14521 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14522 cross_compiling=$ac_cv_prog_cxx_cross
14524 cat > conftest.$ac_ext <<EOF
14525 #line 14526 "configure"
14526 #include "confdefs.h"
14532 if { (eval echo configure:14533: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14534 glibcpp_cv_func__sincosl_use=yes
14536 echo "configure: failed program was:" >&5
14537 cat conftest.$ac_ext >&5
14539 glibcpp_cv_func__sincosl_use=no
14543 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14544 ac_cpp='$CPP $CPPFLAGS'
14545 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14546 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14547 cross_compiling=$ac_cv_prog_cc_cross
14553 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
14555 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
14556 for ac_func in _sincosl
14558 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14559 echo "configure:14560: checking for $ac_func" >&5
14560 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14561 echo $ac_n "(cached) $ac_c" 1>&6
14563 cat > conftest.$ac_ext <<EOF
14564 #line 14565 "configure"
14565 #include "confdefs.h"
14566 /* System header to define __stub macros and hopefully few prototypes,
14567 which can conflict with char $ac_func(); below. */
14568 #include <assert.h>
14569 /* Override any gcc2 internal prototype to avoid an error. */
14570 /* We use char because int might match the return type of a gcc2
14571 builtin and then its argument prototype would still apply. */
14576 /* The GNU C library defines this for functions which it implements
14577 to always fail with ENOSYS. Some functions are actually named
14578 something starting with __ and the normal name is an alias. */
14579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14587 if { (eval echo configure:14588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14589 eval "ac_cv_func_$ac_func=yes"
14591 echo "configure: failed program was:" >&5
14592 cat conftest.$ac_ext >&5
14594 eval "ac_cv_func_$ac_func=no"
14599 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14600 echo "$ac_t""yes" 1>&6
14601 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14602 cat >> confdefs.h <<EOF
14603 #define $ac_tr_func 1
14607 echo "$ac_t""no" 1>&6
14616 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
14617 echo "configure:14618: checking for finitel declaration" >&5
14618 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
14619 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
14620 echo $ac_n "(cached) $ac_c" 1>&6
14625 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14626 ac_cpp='$CXXCPP $CPPFLAGS'
14627 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14628 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14629 cross_compiling=$ac_cv_prog_cxx_cross
14631 cat > conftest.$ac_ext <<EOF
14632 #line 14633 "configure"
14633 #include "confdefs.h"
14635 #ifdef HAVE_IEEEFP_H
14636 #include <ieeefp.h>
14643 if { (eval echo configure:14644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14645 glibcpp_cv_func_finitel_use=yes
14647 echo "configure: failed program was:" >&5
14648 cat conftest.$ac_ext >&5
14650 glibcpp_cv_func_finitel_use=no
14654 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14655 ac_cpp='$CPP $CPPFLAGS'
14656 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14657 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14658 cross_compiling=$ac_cv_prog_cc_cross
14664 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
14666 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
14667 for ac_func in finitel
14669 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14670 echo "configure:14671: checking for $ac_func" >&5
14671 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14672 echo $ac_n "(cached) $ac_c" 1>&6
14674 cat > conftest.$ac_ext <<EOF
14675 #line 14676 "configure"
14676 #include "confdefs.h"
14677 /* System header to define __stub macros and hopefully few prototypes,
14678 which can conflict with char $ac_func(); below. */
14679 #include <assert.h>
14680 /* Override any gcc2 internal prototype to avoid an error. */
14681 /* We use char because int might match the return type of a gcc2
14682 builtin and then its argument prototype would still apply. */
14687 /* The GNU C library defines this for functions which it implements
14688 to always fail with ENOSYS. Some functions are actually named
14689 something starting with __ and the normal name is an alias. */
14690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14698 if { (eval echo configure:14699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14700 eval "ac_cv_func_$ac_func=yes"
14702 echo "configure: failed program was:" >&5
14703 cat conftest.$ac_ext >&5
14705 eval "ac_cv_func_$ac_func=no"
14710 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14711 echo "$ac_t""yes" 1>&6
14712 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14713 cat >> confdefs.h <<EOF
14714 #define $ac_tr_func 1
14718 echo "$ac_t""no" 1>&6
14724 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
14725 echo "configure:14726: checking for _finitel declaration" >&5
14726 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
14727 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
14728 echo $ac_n "(cached) $ac_c" 1>&6
14733 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14734 ac_cpp='$CXXCPP $CPPFLAGS'
14735 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14736 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14737 cross_compiling=$ac_cv_prog_cxx_cross
14739 cat > conftest.$ac_ext <<EOF
14740 #line 14741 "configure"
14741 #include "confdefs.h"
14743 #ifdef HAVE_IEEEFP_H
14744 #include <ieeefp.h>
14751 if { (eval echo configure:14752: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14753 glibcpp_cv_func__finitel_use=yes
14755 echo "configure: failed program was:" >&5
14756 cat conftest.$ac_ext >&5
14758 glibcpp_cv_func__finitel_use=no
14762 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14763 ac_cpp='$CPP $CPPFLAGS'
14764 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14765 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14766 cross_compiling=$ac_cv_prog_cc_cross
14772 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
14774 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
14775 for ac_func in _finitel
14777 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14778 echo "configure:14779: checking for $ac_func" >&5
14779 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14780 echo $ac_n "(cached) $ac_c" 1>&6
14782 cat > conftest.$ac_ext <<EOF
14783 #line 14784 "configure"
14784 #include "confdefs.h"
14785 /* System header to define __stub macros and hopefully few prototypes,
14786 which can conflict with char $ac_func(); below. */
14787 #include <assert.h>
14788 /* Override any gcc2 internal prototype to avoid an error. */
14789 /* We use char because int might match the return type of a gcc2
14790 builtin and then its argument prototype would still apply. */
14795 /* The GNU C library defines this for functions which it implements
14796 to always fail with ENOSYS. Some functions are actually named
14797 something starting with __ and the normal name is an alias. */
14798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14806 if { (eval echo configure:14807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14808 eval "ac_cv_func_$ac_func=yes"
14810 echo "configure: failed program was:" >&5
14811 cat conftest.$ac_ext >&5
14813 eval "ac_cv_func_$ac_func=no"
14818 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14819 echo "$ac_t""yes" 1>&6
14820 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14821 cat >> confdefs.h <<EOF
14822 #define $ac_tr_func 1
14826 echo "$ac_t""no" 1>&6
14836 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
14837 echo "configure:14838: checking for _float trig functions" >&5
14838 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
14839 echo $ac_n "(cached) $ac_c" 1>&6
14844 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14845 ac_cpp='$CXXCPP $CPPFLAGS'
14846 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14847 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14848 cross_compiling=$ac_cv_prog_cxx_cross
14850 cat > conftest.$ac_ext <<EOF
14851 #line 14852 "configure"
14852 #include "confdefs.h"
14855 `for x in _acosf _asinf _atanf \
14856 _cosf _sinf _tanf \
14857 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
14860 if { (eval echo configure:14861: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14862 glibcpp_cv_func__float_trig_use=yes
14864 echo "configure: failed program was:" >&5
14865 cat conftest.$ac_ext >&5
14867 glibcpp_cv_func__float_trig_use=no
14871 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14872 ac_cpp='$CPP $CPPFLAGS'
14873 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14874 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14875 cross_compiling=$ac_cv_prog_cc_cross
14879 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
14880 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
14881 for ac_func in _acosf _asinf _atanf \
14882 _cosf _sinf _tanf \
14883 _coshf _sinhf _tanhf
14885 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14886 echo "configure:14887: checking for $ac_func" >&5
14887 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14888 echo $ac_n "(cached) $ac_c" 1>&6
14890 cat > conftest.$ac_ext <<EOF
14891 #line 14892 "configure"
14892 #include "confdefs.h"
14893 /* System header to define __stub macros and hopefully few prototypes,
14894 which can conflict with char $ac_func(); below. */
14895 #include <assert.h>
14896 /* Override any gcc2 internal prototype to avoid an error. */
14897 /* We use char because int might match the return type of a gcc2
14898 builtin and then its argument prototype would still apply. */
14903 /* The GNU C library defines this for functions which it implements
14904 to always fail with ENOSYS. Some functions are actually named
14905 something starting with __ and the normal name is an alias. */
14906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14914 if { (eval echo configure:14915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14916 eval "ac_cv_func_$ac_func=yes"
14918 echo "configure: failed program was:" >&5
14919 cat conftest.$ac_ext >&5
14921 eval "ac_cv_func_$ac_func=no"
14926 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14927 echo "$ac_t""yes" 1>&6
14928 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14929 cat >> confdefs.h <<EOF
14930 #define $ac_tr_func 1
14934 echo "$ac_t""no" 1>&6
14941 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
14942 echo "configure:14943: checking for _float round functions" >&5
14943 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
14944 echo $ac_n "(cached) $ac_c" 1>&6
14949 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14950 ac_cpp='$CXXCPP $CPPFLAGS'
14951 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14952 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14953 cross_compiling=$ac_cv_prog_cxx_cross
14955 cat > conftest.$ac_ext <<EOF
14956 #line 14957 "configure"
14957 #include "confdefs.h"
14960 `for x in _ceilf _floorf; do echo "$x (0);"; done`
14963 if { (eval echo configure:14964: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14965 glibcpp_cv_func__float_round_use=yes
14967 echo "configure: failed program was:" >&5
14968 cat conftest.$ac_ext >&5
14970 glibcpp_cv_func__float_round_use=no
14974 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14975 ac_cpp='$CPP $CPPFLAGS'
14976 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14977 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14978 cross_compiling=$ac_cv_prog_cc_cross
14982 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
14983 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
14984 for ac_func in _ceilf _floorf
14986 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14987 echo "configure:14988: checking for $ac_func" >&5
14988 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14989 echo $ac_n "(cached) $ac_c" 1>&6
14991 cat > conftest.$ac_ext <<EOF
14992 #line 14993 "configure"
14993 #include "confdefs.h"
14994 /* System header to define __stub macros and hopefully few prototypes,
14995 which can conflict with char $ac_func(); below. */
14996 #include <assert.h>
14997 /* Override any gcc2 internal prototype to avoid an error. */
14998 /* We use char because int might match the return type of a gcc2
14999 builtin and then its argument prototype would still apply. */
15004 /* The GNU C library defines this for functions which it implements
15005 to always fail with ENOSYS. Some functions are actually named
15006 something starting with __ and the normal name is an alias. */
15007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15015 if { (eval echo configure:15016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15017 eval "ac_cv_func_$ac_func=yes"
15019 echo "configure: failed program was:" >&5
15020 cat conftest.$ac_ext >&5
15022 eval "ac_cv_func_$ac_func=no"
15027 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15028 echo "$ac_t""yes" 1>&6
15029 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15030 cat >> confdefs.h <<EOF
15031 #define $ac_tr_func 1
15035 echo "$ac_t""no" 1>&6
15043 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
15044 echo "configure:15045: checking for _long double trig functions" >&5
15045 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
15046 echo $ac_n "(cached) $ac_c" 1>&6
15051 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15052 ac_cpp='$CXXCPP $CPPFLAGS'
15053 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15054 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15055 cross_compiling=$ac_cv_prog_cxx_cross
15057 cat > conftest.$ac_ext <<EOF
15058 #line 15059 "configure"
15059 #include "confdefs.h"
15062 `for x in _acosl _asinl _atanl \
15063 _cosl _sinl _tanl \
15064 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
15067 if { (eval echo configure:15068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15069 glibcpp_cv_func__long_double_trig_use=yes
15071 echo "configure: failed program was:" >&5
15072 cat conftest.$ac_ext >&5
15074 glibcpp_cv_func__long_double_trig_use=no
15078 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15079 ac_cpp='$CPP $CPPFLAGS'
15080 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15081 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15082 cross_compiling=$ac_cv_prog_cc_cross
15086 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
15087 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
15088 for ac_func in _acosl _asinl _atanl \
15089 _cosl _sinl _tanl \
15090 _coshl _sinhl _tanhl
15092 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15093 echo "configure:15094: checking for $ac_func" >&5
15094 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15095 echo $ac_n "(cached) $ac_c" 1>&6
15097 cat > conftest.$ac_ext <<EOF
15098 #line 15099 "configure"
15099 #include "confdefs.h"
15100 /* System header to define __stub macros and hopefully few prototypes,
15101 which can conflict with char $ac_func(); below. */
15102 #include <assert.h>
15103 /* Override any gcc2 internal prototype to avoid an error. */
15104 /* We use char because int might match the return type of a gcc2
15105 builtin and then its argument prototype would still apply. */
15110 /* The GNU C library defines this for functions which it implements
15111 to always fail with ENOSYS. Some functions are actually named
15112 something starting with __ and the normal name is an alias. */
15113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15121 if { (eval echo configure:15122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15123 eval "ac_cv_func_$ac_func=yes"
15125 echo "configure: failed program was:" >&5
15126 cat conftest.$ac_ext >&5
15128 eval "ac_cv_func_$ac_func=no"
15133 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15134 echo "$ac_t""yes" 1>&6
15135 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15136 cat >> confdefs.h <<EOF
15137 #define $ac_tr_func 1
15141 echo "$ac_t""no" 1>&6
15148 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
15149 echo "configure:15150: checking for _long double round functions" >&5
15150 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
15151 echo $ac_n "(cached) $ac_c" 1>&6
15156 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15157 ac_cpp='$CXXCPP $CPPFLAGS'
15158 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15159 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15160 cross_compiling=$ac_cv_prog_cxx_cross
15162 cat > conftest.$ac_ext <<EOF
15163 #line 15164 "configure"
15164 #include "confdefs.h"
15167 `for x in _ceill _floorl; do echo "$x (0);"; done`
15170 if { (eval echo configure:15171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15172 glibcpp_cv_func__long_double_round_use=yes
15174 echo "configure: failed program was:" >&5
15175 cat conftest.$ac_ext >&5
15177 glibcpp_cv_func__long_double_round_use=no
15181 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15182 ac_cpp='$CPP $CPPFLAGS'
15183 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15184 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15185 cross_compiling=$ac_cv_prog_cc_cross
15189 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
15190 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
15191 for ac_func in _ceill _floorl
15193 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15194 echo "configure:15195: checking for $ac_func" >&5
15195 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15196 echo $ac_n "(cached) $ac_c" 1>&6
15198 cat > conftest.$ac_ext <<EOF
15199 #line 15200 "configure"
15200 #include "confdefs.h"
15201 /* System header to define __stub macros and hopefully few prototypes,
15202 which can conflict with char $ac_func(); below. */
15203 #include <assert.h>
15204 /* Override any gcc2 internal prototype to avoid an error. */
15205 /* We use char because int might match the return type of a gcc2
15206 builtin and then its argument prototype would still apply. */
15211 /* The GNU C library defines this for functions which it implements
15212 to always fail with ENOSYS. Some functions are actually named
15213 something starting with __ and the normal name is an alias. */
15214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15222 if { (eval echo configure:15223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15224 eval "ac_cv_func_$ac_func=yes"
15226 echo "configure: failed program was:" >&5
15227 cat conftest.$ac_ext >&5
15229 eval "ac_cv_func_$ac_func=no"
15234 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15235 echo "$ac_t""yes" 1>&6
15236 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15237 cat >> confdefs.h <<EOF
15238 #define $ac_tr_func 1
15242 echo "$ac_t""no" 1>&6
15249 LIBS="$ac_save_LIBS"
15250 CXXFLAGS="$ac_save_CXXFLAGS"
15253 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
15254 echo "configure:15255: checking for main in -lm" >&5
15255 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
15256 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15257 echo $ac_n "(cached) $ac_c" 1>&6
15259 ac_save_LIBS="$LIBS"
15261 cat > conftest.$ac_ext <<EOF
15262 #line 15263 "configure"
15263 #include "confdefs.h"
15269 if { (eval echo configure:15270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15271 eval "ac_cv_lib_$ac_lib_var=yes"
15273 echo "configure: failed program was:" >&5
15274 cat conftest.$ac_ext >&5
15276 eval "ac_cv_lib_$ac_lib_var=no"
15279 LIBS="$ac_save_LIBS"
15282 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15283 echo "$ac_t""yes" 1>&6
15284 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
15285 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
15286 cat >> confdefs.h <<EOF
15287 #define $ac_tr_lib 1
15293 echo "$ac_t""no" 1>&6
15296 for ac_func in nan hypot hypotf atan2f expf copysignf
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
15348 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
15354 USE_COMPLEX_LONG_DOUBLE=no
15355 if test x$ac_cv_func_atan2l = x"yes" \
15356 && test x$ac_cv_func_copysignl = x"yes"; then
15357 USE_COMPLEX_LONG_DOUBLE=yes
15358 for ac_func in hypotl signbitl
15360 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15361 echo "configure:15362: checking for $ac_func" >&5
15362 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15363 echo $ac_n "(cached) $ac_c" 1>&6
15365 cat > conftest.$ac_ext <<EOF
15366 #line 15367 "configure"
15367 #include "confdefs.h"
15368 /* System header to define __stub macros and hopefully few prototypes,
15369 which can conflict with char $ac_func(); below. */
15370 #include <assert.h>
15371 /* Override any gcc2 internal prototype to avoid an error. */
15372 /* We use char because int might match the return type of a gcc2
15373 builtin and then its argument prototype would still apply. */
15378 /* The GNU C library defines this for functions which it implements
15379 to always fail with ENOSYS. Some functions are actually named
15380 something starting with __ and the normal name is an alias. */
15381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15389 if { (eval echo configure:15390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15391 eval "ac_cv_func_$ac_func=yes"
15393 echo "configure: failed program was:" >&5
15394 cat conftest.$ac_ext >&5
15396 eval "ac_cv_func_$ac_func=no"
15401 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15402 echo "$ac_t""yes" 1>&6
15403 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15404 cat >> confdefs.h <<EOF
15405 #define $ac_tr_func 1
15409 echo "$ac_t""no" 1>&6
15410 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
15422 echo $ac_n "checking for GNU C++ __complex__ support""... $ac_c" 1>&6
15423 echo "configure:15424: checking for GNU C++ __complex__ support" >&5
15424 if eval "test \"`echo '$''{'glibcpp_cv_complex'+set}'`\" = set"; then
15425 echo $ac_n "(cached) $ac_c" 1>&6
15430 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15431 ac_cpp='$CXXCPP $CPPFLAGS'
15432 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15433 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15434 cross_compiling=$ac_cv_prog_cxx_cross
15436 cat > conftest.$ac_ext <<EOF
15437 #line 15438 "configure"
15438 #include "confdefs.h"
15439 struct dcomplex { __complex__ double x; }; \
15440 dcomplex f(const dcomplex& x) { return dcomplex(x); }
15446 if { (eval echo configure:15447: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15448 glibcpp_cv_complex=ok
15450 echo "configure: failed program was:" >&5
15451 cat conftest.$ac_ext >&5
15453 glibcpp_cv_complex=buggy
15458 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15459 ac_cpp='$CPP $CPPFLAGS'
15460 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15461 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15462 cross_compiling=$ac_cv_prog_cc_cross
15467 echo "$ac_t""$glibcpp_cv_complex" 1>&6
15468 if test $glibcpp_cv_complex = buggy; then
15469 cat >> confdefs.h <<\EOF
15470 #define _GLIBCPP_BUGGY_COMPLEX 1
15475 echo $ac_n "checking for GNU C++ __complex__ float support""... $ac_c" 1>&6
15476 echo "configure:15477: checking for GNU C++ __complex__ float support" >&5
15477 if eval "test \"`echo '$''{'glibcpp_cv_float_complex'+set}'`\" = set"; then
15478 echo $ac_n "(cached) $ac_c" 1>&6
15483 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15484 ac_cpp='$CXXCPP $CPPFLAGS'
15485 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15486 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15487 cross_compiling=$ac_cv_prog_cxx_cross
15490 cat > conftest.h <<EOB
15492 // Check for buggy __complex__ that causes ICE in most versions of egcs
15493 // and gcc-2.95.x on certain platforms (eg., x86-win32).
15495 // See http://gcc.gnu.org/ml/gcc-bugs/1999-07n/msg00845.html for
15496 // more info on the bug itself.
15501 __complex__ float m_value;
15502 float_complex (float = 0.0f, float = 0.0f);
15503 float_complex (__complex__ float val) : m_value (val) {}
15504 float_complex foo (const float_complex &val)
15505 { return float_complex (~val.m_value); }
15508 cat > conftest.$ac_ext <<EOF
15509 #line 15510 "configure"
15510 #include "confdefs.h"
15511 #include "conftest.h"
15516 if { (eval echo configure:15517: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15518 glibcpp_cv_float_complex=ok
15520 echo "configure: failed program was:" >&5
15521 cat conftest.$ac_ext >&5
15523 glibcpp_cv_float_complex=buggy
15528 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15529 ac_cpp='$CPP $CPPFLAGS'
15530 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15531 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15532 cross_compiling=$ac_cv_prog_cc_cross
15537 echo "$ac_t""$glibcpp_cv_float_complex" 1>&6
15538 if test $glibcpp_cv_float_complex = buggy; then
15539 cat >> confdefs.h <<\EOF
15540 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
15547 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
15548 echo "configure:15549: checking for mbstate_t" >&5
15549 cat > conftest.$ac_ext <<EOF
15550 #line 15551 "configure"
15551 #include "confdefs.h"
15554 mbstate_t teststate;
15557 if { (eval echo configure:15558: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15561 echo "configure: failed program was:" >&5
15562 cat conftest.$ac_ext >&5
15567 echo "$ac_t""$have_mbstate_t" 1>&6
15568 if test x"$have_mbstate_t" = xyes; then
15569 cat >> confdefs.h <<\EOF
15570 #define HAVE_MBSTATE_T 1
15575 for ac_hdr in wchar.h
15577 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15578 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15579 echo "configure:15580: checking for $ac_hdr" >&5
15580 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15581 echo $ac_n "(cached) $ac_c" 1>&6
15583 cat > conftest.$ac_ext <<EOF
15584 #line 15585 "configure"
15585 #include "confdefs.h"
15588 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15589 { (eval echo configure:15590: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15590 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15591 if test -z "$ac_err"; then
15593 eval "ac_cv_header_$ac_safe=yes"
15596 echo "configure: failed program was:" >&5
15597 cat conftest.$ac_ext >&5
15599 eval "ac_cv_header_$ac_safe=no"
15603 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15604 echo "$ac_t""yes" 1>&6
15605 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15606 cat >> confdefs.h <<EOF
15607 #define $ac_tr_hdr 1
15611 echo "$ac_t""no" 1>&6
15616 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
15617 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
15618 echo "configure:15619: checking for wctype.h" >&5
15619 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15620 echo $ac_n "(cached) $ac_c" 1>&6
15622 cat > conftest.$ac_ext <<EOF
15623 #line 15624 "configure"
15624 #include "confdefs.h"
15625 #include <wctype.h>
15627 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15628 { (eval echo configure:15629: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15629 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15630 if test -z "$ac_err"; then
15632 eval "ac_cv_header_$ac_safe=yes"
15635 echo "configure: failed program was:" >&5
15636 cat conftest.$ac_ext >&5
15638 eval "ac_cv_header_$ac_safe=no"
15642 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15643 echo "$ac_t""yes" 1>&6
15644 ac_has_wctype_h=yes
15646 echo "$ac_t""no" 1>&6
15651 if test x"$ac_has_wchar_h" = xyes && test x"$ac_has_wctype_h" = xyes \
15652 && test x"$enable_c_mbchar" != xno; then
15654 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
15655 echo "configure:15656: checking for WCHAR_MIN and WCHAR_MAX" >&5
15656 cat > conftest.$ac_ext <<EOF
15657 #line 15658 "configure"
15658 #include "confdefs.h"
15661 int i = WCHAR_MIN; int j = WCHAR_MAX;
15664 if { (eval echo configure:15665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15666 has_wchar_minmax=yes
15668 echo "configure: failed program was:" >&5
15669 cat conftest.$ac_ext >&5
15671 has_wchar_minmax=no
15674 echo "$ac_t""$has_wchar_minmax" 1>&6
15676 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
15677 echo "configure:15678: checking for WEOF" >&5
15678 cat > conftest.$ac_ext <<EOF
15679 #line 15680 "configure"
15680 #include "confdefs.h"
15683 #include <stddef.h>
15688 if { (eval echo configure:15689: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15692 echo "configure: failed program was:" >&5
15693 cat conftest.$ac_ext >&5
15698 echo "$ac_t""$has_weof" 1>&6
15700 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset \
15701 wcsrtombs mbsrtowcs
15703 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15704 echo "configure:15705: checking for $ac_func" >&5
15705 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15706 echo $ac_n "(cached) $ac_c" 1>&6
15708 cat > conftest.$ac_ext <<EOF
15709 #line 15710 "configure"
15710 #include "confdefs.h"
15711 /* System header to define __stub macros and hopefully few prototypes,
15712 which can conflict with char $ac_func(); below. */
15713 #include <assert.h>
15714 /* Override any gcc2 internal prototype to avoid an error. */
15715 /* We use char because int might match the return type of a gcc2
15716 builtin and then its argument prototype would still apply. */
15721 /* The GNU C library defines this for functions which it implements
15722 to always fail with ENOSYS. Some functions are actually named
15723 something starting with __ and the normal name is an alias. */
15724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15732 if { (eval echo configure:15733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15734 eval "ac_cv_func_$ac_func=yes"
15736 echo "configure: failed program was:" >&5
15737 cat conftest.$ac_ext >&5
15739 eval "ac_cv_func_$ac_func=no"
15744 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15745 echo "$ac_t""yes" 1>&6
15746 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15747 cat >> confdefs.h <<EOF
15748 #define $ac_tr_func 1
15752 echo "$ac_t""no" 1>&6
15758 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
15759 echo "configure:15760: checking for ISO C99 wchar_t support" >&5
15760 if test x"$has_weof" = xyes && test x"$has_wchar_minmax" = xyes \
15761 && test x"$ac_wfuncs" = xyes; then
15762 ac_isoC99_wchar_t=yes
15764 ac_isoC99_wchar_t=no
15766 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
15768 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
15769 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
15770 echo "configure:15771: checking for iconv.h" >&5
15771 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15772 echo $ac_n "(cached) $ac_c" 1>&6
15774 cat > conftest.$ac_ext <<EOF
15775 #line 15776 "configure"
15776 #include "confdefs.h"
15779 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15780 { (eval echo configure:15781: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15781 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15782 if test -z "$ac_err"; then
15784 eval "ac_cv_header_$ac_safe=yes"
15787 echo "configure: failed program was:" >&5
15788 cat conftest.$ac_ext >&5
15790 eval "ac_cv_header_$ac_safe=no"
15794 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15795 echo "$ac_t""yes" 1>&6
15798 echo "$ac_t""no" 1>&6
15802 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
15803 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
15804 echo "configure:15805: checking for langinfo.h" >&5
15805 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15806 echo $ac_n "(cached) $ac_c" 1>&6
15808 cat > conftest.$ac_ext <<EOF
15809 #line 15810 "configure"
15810 #include "confdefs.h"
15811 #include <langinfo.h>
15813 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15814 { (eval echo configure:15815: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15815 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15816 if test -z "$ac_err"; then
15818 eval "ac_cv_header_$ac_safe=yes"
15821 echo "configure: failed program was:" >&5
15822 cat conftest.$ac_ext >&5
15824 eval "ac_cv_header_$ac_safe=no"
15828 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15829 echo "$ac_t""yes" 1>&6
15830 ac_has_langinfo_h=yes
15832 echo "$ac_t""no" 1>&6
15833 ac_has_langinfo_h=no
15837 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
15838 echo "configure:15839: checking for iconv in -liconv" >&5
15839 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
15840 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15841 echo $ac_n "(cached) $ac_c" 1>&6
15843 ac_save_LIBS="$LIBS"
15844 LIBS="-liconv $LIBS"
15845 cat > conftest.$ac_ext <<EOF
15846 #line 15847 "configure"
15847 #include "confdefs.h"
15848 /* Override any gcc2 internal prototype to avoid an error. */
15849 /* We use char because int might match the return type of a gcc2
15850 builtin and then its argument prototype would still apply. */
15857 if { (eval echo configure:15858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15859 eval "ac_cv_lib_$ac_lib_var=yes"
15861 echo "configure: failed program was:" >&5
15862 cat conftest.$ac_ext >&5
15864 eval "ac_cv_lib_$ac_lib_var=no"
15867 LIBS="$ac_save_LIBS"
15870 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15871 echo "$ac_t""yes" 1>&6
15874 echo "$ac_t""no" 1>&6
15877 ac_save_LIBS="$LIBS"
15878 LIBS="$LIBS $libiconv"
15880 for ac_func in iconv_open iconv_close iconv nl_langinfo
15882 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15883 echo "configure:15884: checking for $ac_func" >&5
15884 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15885 echo $ac_n "(cached) $ac_c" 1>&6
15887 cat > conftest.$ac_ext <<EOF
15888 #line 15889 "configure"
15889 #include "confdefs.h"
15890 /* System header to define __stub macros and hopefully few prototypes,
15891 which can conflict with char $ac_func(); below. */
15892 #include <assert.h>
15893 /* Override any gcc2 internal prototype to avoid an error. */
15894 /* We use char because int might match the return type of a gcc2
15895 builtin and then its argument prototype would still apply. */
15900 /* The GNU C library defines this for functions which it implements
15901 to always fail with ENOSYS. Some functions are actually named
15902 something starting with __ and the normal name is an alias. */
15903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15911 if { (eval echo configure:15912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15913 eval "ac_cv_func_$ac_func=yes"
15915 echo "configure: failed program was:" >&5
15916 cat conftest.$ac_ext >&5
15918 eval "ac_cv_func_$ac_func=no"
15923 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15924 echo "$ac_t""yes" 1>&6
15925 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15926 cat >> confdefs.h <<EOF
15927 #define $ac_tr_func 1
15932 echo "$ac_t""no" 1>&6
15938 LIBS="$ac_save_LIBS"
15940 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
15941 echo "configure:15942: checking for XPG2 wchar_t support" >&5
15942 if test x"$ac_has_iconv_h" = xyes && test x"$ac_has_langinfo_h" = xyes \
15943 && test x"$ac_XPG2funcs" = xyes; then
15944 ac_XPG2_wchar_t=yes
15948 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
15950 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
15951 echo "configure:15952: checking for enabled wchar_t specializations" >&5
15952 if test x"$ac_isoC99_wchar_t" = xyes \
15953 && test x"$ac_XPG2_wchar_t" = xyes; then
15954 cat >> confdefs.h <<\EOF
15955 #define _GLIBCPP_USE_WCHAR_T 1
15958 echo "$ac_t"""yes"" 1>&6
15960 echo "$ac_t"""no"" 1>&6
15963 echo "configure: warning: wchar_t support disabled." 1>&2
15967 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15968 ac_save_CXXFLAGS="$CXXFLAGS"
15969 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
15971 for ac_func in strtof
15973 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15974 echo "configure:15975: checking for $ac_func" >&5
15975 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15976 echo $ac_n "(cached) $ac_c" 1>&6
15978 cat > conftest.$ac_ext <<EOF
15979 #line 15980 "configure"
15980 #include "confdefs.h"
15981 /* System header to define __stub macros and hopefully few prototypes,
15982 which can conflict with char $ac_func(); below. */
15983 #include <assert.h>
15984 /* Override any gcc2 internal prototype to avoid an error. */
15985 /* We use char because int might match the return type of a gcc2
15986 builtin and then its argument prototype would still apply. */
15991 /* The GNU C library defines this for functions which it implements
15992 to always fail with ENOSYS. Some functions are actually named
15993 something starting with __ and the normal name is an alias. */
15994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16002 if { (eval echo configure:16003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16004 eval "ac_cv_func_$ac_func=yes"
16006 echo "configure: failed program was:" >&5
16007 cat conftest.$ac_ext >&5
16009 eval "ac_cv_func_$ac_func=no"
16014 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16015 echo "$ac_t""yes" 1>&6
16016 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16017 cat >> confdefs.h <<EOF
16018 #define $ac_tr_func 1
16022 echo "$ac_t""no" 1>&6
16027 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
16028 echo "configure:16029: checking for strtold declaration" >&5
16029 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
16030 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
16031 echo $ac_n "(cached) $ac_c" 1>&6
16036 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16037 ac_cpp='$CXXCPP $CPPFLAGS'
16038 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16039 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16040 cross_compiling=$ac_cv_prog_cxx_cross
16042 cat > conftest.$ac_ext <<EOF
16043 #line 16044 "configure"
16044 #include "confdefs.h"
16045 #include <stdlib.h>
16050 if { (eval echo configure:16051: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16052 glibcpp_cv_func_strtold_use=yes
16054 echo "configure: failed program was:" >&5
16055 cat conftest.$ac_ext >&5
16057 glibcpp_cv_func_strtold_use=no
16061 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16062 ac_cpp='$CPP $CPPFLAGS'
16063 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16064 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16065 cross_compiling=$ac_cv_prog_cc_cross
16071 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
16072 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
16073 for ac_func in strtold
16075 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16076 echo "configure:16077: checking for $ac_func" >&5
16077 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16078 echo $ac_n "(cached) $ac_c" 1>&6
16080 cat > conftest.$ac_ext <<EOF
16081 #line 16082 "configure"
16082 #include "confdefs.h"
16083 /* System header to define __stub macros and hopefully few prototypes,
16084 which can conflict with char $ac_func(); below. */
16085 #include <assert.h>
16086 /* Override any gcc2 internal prototype to avoid an error. */
16087 /* We use char because int might match the return type of a gcc2
16088 builtin and then its argument prototype would still apply. */
16093 /* The GNU C library defines this for functions which it implements
16094 to always fail with ENOSYS. Some functions are actually named
16095 something starting with __ and the normal name is an alias. */
16096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16104 if { (eval echo configure:16105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16106 eval "ac_cv_func_$ac_func=yes"
16108 echo "configure: failed program was:" >&5
16109 cat conftest.$ac_ext >&5
16111 eval "ac_cv_func_$ac_func=no"
16116 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16117 echo "$ac_t""yes" 1>&6
16118 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16119 cat >> confdefs.h <<EOF
16120 #define $ac_tr_func 1
16124 echo "$ac_t""no" 1>&6
16130 for ac_func in drand48
16132 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16133 echo "configure:16134: checking for $ac_func" >&5
16134 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16135 echo $ac_n "(cached) $ac_c" 1>&6
16137 cat > conftest.$ac_ext <<EOF
16138 #line 16139 "configure"
16139 #include "confdefs.h"
16140 /* System header to define __stub macros and hopefully few prototypes,
16141 which can conflict with char $ac_func(); below. */
16142 #include <assert.h>
16143 /* Override any gcc2 internal prototype to avoid an error. */
16144 /* We use char because int might match the return type of a gcc2
16145 builtin and then its argument prototype would still apply. */
16150 /* The GNU C library defines this for functions which it implements
16151 to always fail with ENOSYS. Some functions are actually named
16152 something starting with __ and the normal name is an alias. */
16153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16161 if { (eval echo configure:16162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16163 eval "ac_cv_func_$ac_func=yes"
16165 echo "configure: failed program was:" >&5
16166 cat conftest.$ac_ext >&5
16168 eval "ac_cv_func_$ac_func=no"
16173 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16174 echo "$ac_t""yes" 1>&6
16175 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16176 cat >> confdefs.h <<EOF
16177 #define $ac_tr_func 1
16181 echo "$ac_t""no" 1>&6
16186 CXXFLAGS="$ac_save_CXXFLAGS"
16189 cat > conftest.$ac_ext <<EOF
16190 #line 16191 "configure"
16191 #include "confdefs.h"
16193 #include <setjmp.h>
16196 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
16199 if { (eval echo configure:16200: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16201 cat >> confdefs.h <<\EOF
16202 #define HAVE_SIGSETJMP 1
16206 echo "configure: failed program was:" >&5
16207 cat conftest.$ac_ext >&5
16211 for ac_hdr in unistd.h
16213 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16214 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16215 echo "configure:16216: checking for $ac_hdr" >&5
16216 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16217 echo $ac_n "(cached) $ac_c" 1>&6
16219 cat > conftest.$ac_ext <<EOF
16220 #line 16221 "configure"
16221 #include "confdefs.h"
16224 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16225 { (eval echo configure:16226: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16226 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16227 if test -z "$ac_err"; then
16229 eval "ac_cv_header_$ac_safe=yes"
16232 echo "configure: failed program was:" >&5
16233 cat conftest.$ac_ext >&5
16235 eval "ac_cv_header_$ac_safe=no"
16239 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16240 echo "$ac_t""yes" 1>&6
16241 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16242 cat >> confdefs.h <<EOF
16243 #define $ac_tr_hdr 1
16247 echo "$ac_t""no" 1>&6
16251 for ac_func in getpagesize
16253 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16254 echo "configure:16255: checking for $ac_func" >&5
16255 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16256 echo $ac_n "(cached) $ac_c" 1>&6
16258 cat > conftest.$ac_ext <<EOF
16259 #line 16260 "configure"
16260 #include "confdefs.h"
16261 /* System header to define __stub macros and hopefully few prototypes,
16262 which can conflict with char $ac_func(); below. */
16263 #include <assert.h>
16264 /* Override any gcc2 internal prototype to avoid an error. */
16265 /* We use char because int might match the return type of a gcc2
16266 builtin and then its argument prototype would still apply. */
16271 /* The GNU C library defines this for functions which it implements
16272 to always fail with ENOSYS. Some functions are actually named
16273 something starting with __ and the normal name is an alias. */
16274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16282 if { (eval echo configure:16283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16284 eval "ac_cv_func_$ac_func=yes"
16286 echo "configure: failed program was:" >&5
16287 cat conftest.$ac_ext >&5
16289 eval "ac_cv_func_$ac_func=no"
16294 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16295 echo "$ac_t""yes" 1>&6
16296 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16297 cat >> confdefs.h <<EOF
16298 #define $ac_tr_func 1
16302 echo "$ac_t""no" 1>&6
16306 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
16307 echo "configure:16308: checking for working mmap" >&5
16308 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
16309 echo $ac_n "(cached) $ac_c" 1>&6
16311 if test "$cross_compiling" = yes; then
16312 ac_cv_func_mmap_fixed_mapped=no
16314 cat > conftest.$ac_ext <<EOF
16315 #line 16316 "configure"
16316 #include "confdefs.h"
16318 /* Thanks to Mike Haertel and Jim Avera for this test.
16319 Here is a matrix of mmap possibilities:
16320 mmap private not fixed
16321 mmap private fixed at somewhere currently unmapped
16322 mmap private fixed at somewhere already mapped
16323 mmap shared not fixed
16324 mmap shared fixed at somewhere currently unmapped
16325 mmap shared fixed at somewhere already mapped
16326 For private mappings, we should verify that changes cannot be read()
16327 back from the file, nor mmap's back from the file at a different
16328 address. (There have been systems where private was not correctly
16329 implemented like the infamous i386 svr4.0, and systems where the
16330 VM page cache was not coherent with the filesystem buffer cache
16331 like early versions of FreeBSD and possibly contemporary NetBSD.)
16332 For shared mappings, we should conversely verify that changes get
16333 propogated back to all the places they're supposed to be.
16335 Grep wants private fixed already mapped.
16336 The main things grep needs to know about mmap are:
16337 * does it exist and is it safe to write into the mmap'd area
16338 * how to use it (BSD variants) */
16339 #include <sys/types.h>
16341 #include <sys/mman.h>
16343 /* This mess was copied from the GNU getpagesize.h. */
16344 #ifndef HAVE_GETPAGESIZE
16345 # ifdef HAVE_UNISTD_H
16346 # include <unistd.h>
16349 /* Assume that all systems that can run configure have sys/param.h. */
16350 # ifndef HAVE_SYS_PARAM_H
16351 # define HAVE_SYS_PARAM_H 1
16354 # ifdef _SC_PAGESIZE
16355 # define getpagesize() sysconf(_SC_PAGESIZE)
16356 # else /* no _SC_PAGESIZE */
16357 # ifdef HAVE_SYS_PARAM_H
16358 # include <sys/param.h>
16359 # ifdef EXEC_PAGESIZE
16360 # define getpagesize() EXEC_PAGESIZE
16361 # else /* no EXEC_PAGESIZE */
16363 # define getpagesize() NBPG * CLSIZE
16366 # endif /* no CLSIZE */
16367 # else /* no NBPG */
16369 # define getpagesize() NBPC
16370 # else /* no NBPC */
16372 # define getpagesize() PAGESIZE
16373 # endif /* PAGESIZE */
16374 # endif /* no NBPC */
16375 # endif /* no NBPG */
16376 # endif /* no EXEC_PAGESIZE */
16377 # else /* no HAVE_SYS_PARAM_H */
16378 # define getpagesize() 8192 /* punt totally */
16379 # endif /* no HAVE_SYS_PARAM_H */
16380 # endif /* no _SC_PAGESIZE */
16382 #endif /* no HAVE_GETPAGESIZE */
16385 extern "C" { void *malloc(unsigned); }
16393 char *data, *data2, *data3;
16397 pagesize = getpagesize();
16400 * First, make a file with some known garbage in it.
16402 data = malloc(pagesize);
16405 for (i = 0; i < pagesize; ++i)
16406 *(data + i) = rand();
16408 fd = creat("conftestmmap", 0600);
16411 if (write(fd, data, pagesize) != pagesize)
16416 * Next, try to mmap the file at a fixed address which
16417 * already has something else allocated at it. If we can,
16418 * also make sure that we see the same garbage.
16420 fd = open("conftestmmap", O_RDWR);
16423 data2 = malloc(2 * pagesize);
16426 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
16427 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
16428 MAP_PRIVATE | MAP_FIXED, fd, 0L))
16430 for (i = 0; i < pagesize; ++i)
16431 if (*(data + i) != *(data2 + i))
16435 * Finally, make sure that changes to the mapped area
16436 * do not percolate back to the file as seen by read().
16437 * (This is a bug on some variants of i386 svr4.0.)
16439 for (i = 0; i < pagesize; ++i)
16440 *(data2 + i) = *(data2 + i) + 1;
16441 data3 = malloc(pagesize);
16444 if (read(fd, data3, pagesize) != pagesize)
16446 for (i = 0; i < pagesize; ++i)
16447 if (*(data + i) != *(data3 + i))
16450 unlink("conftestmmap");
16455 if { (eval echo configure:16456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
16457 ac_cv_func_mmap_fixed_mapped=yes
16459 echo "configure: failed program was:" >&5
16460 cat conftest.$ac_ext >&5
16462 ac_cv_func_mmap_fixed_mapped=no
16469 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
16470 if test $ac_cv_func_mmap_fixed_mapped = yes; then
16471 cat >> confdefs.h <<\EOF
16472 #define HAVE_MMAP 1
16479 # Now that ctype is determined for all possible targets, we can do this...
16487 if test "$NULL_TARGET" = yes; then
16489 NULL_TARGET_FALSE='#'
16491 NULL_TARGET_TRUE='#'
16496 if test "$NATIVE" = yes || test "$NULL_TARGET" = yes; then
16505 if test "$CANADIAN" = yes; then
16513 cat > confcache <<\EOF
16514 # This file is a shell script that caches the results of configure
16515 # tests run on this system so they can be shared between configure
16516 # scripts and configure runs. It is not useful on other systems.
16517 # If it contains results you don't want to keep, you may remove or edit it.
16519 # By default, configure uses ./config.cache as the cache file,
16520 # creating it if it does not exist already. You can give configure
16521 # the --cache-file=FILE option to use a different cache file; that is
16522 # what configure does when it calls configure scripts in
16523 # subdirectories, so they share the cache.
16524 # Giving --cache-file=/dev/null disables caching, for debugging configure.
16525 # config.status only pays attention to the cache file if you give it the
16526 # --recheck option to rerun configure.
16529 # The following way of writing the cache mishandles newlines in values,
16530 # but we know of no workaround that is simple, portable, and efficient.
16531 # So, don't put newlines in cache variables' values.
16532 # Ultrix sh set writes to stderr and can't be redirected directly,
16533 # and sets the high bit in the cache file unless we assign to the vars.
16535 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16537 # `set' does not quote correctly, so add quotes (double-quote substitution
16538 # turns \\\\ into \\, and sed turns \\ into \).
16540 -e "s/'/'\\\\''/g" \
16541 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
16544 # `set' quotes correctly as required by POSIX, so do not add quotes.
16545 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
16548 if cmp -s $cache_file confcache; then
16551 if test -w $cache_file; then
16552 echo "updating cache $cache_file"
16553 cat confcache > $cache_file
16555 echo "not updating unwritable cache $cache_file"
16561 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
16562 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
16563 echo "configure:16564: checking for locale.h" >&5
16564 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16565 echo $ac_n "(cached) $ac_c" 1>&6
16567 cat > conftest.$ac_ext <<EOF
16568 #line 16569 "configure"
16569 #include "confdefs.h"
16570 #include <locale.h>
16572 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16573 { (eval echo configure:16574: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16574 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16575 if test -z "$ac_err"; then
16577 eval "ac_cv_header_$ac_safe=yes"
16580 echo "configure: failed program was:" >&5
16581 cat conftest.$ac_ext >&5
16583 eval "ac_cv_header_$ac_safe=no"
16587 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16588 echo "$ac_t""yes" 1>&6
16590 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
16591 echo "configure:16592: checking for LC_MESSAGES" >&5
16592 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
16593 echo $ac_n "(cached) $ac_c" 1>&6
16595 cat > conftest.$ac_ext <<EOF
16596 #line 16597 "configure"
16597 #include "confdefs.h"
16598 #include <locale.h>
16603 if { (eval echo configure:16604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16605 ac_cv_val_LC_MESSAGES=yes
16607 echo "configure: failed program was:" >&5
16608 cat conftest.$ac_ext >&5
16610 ac_cv_val_LC_MESSAGES=no
16615 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
16616 if test $ac_cv_val_LC_MESSAGES = yes; then
16617 cat >> confdefs.h <<\EOF
16618 #define HAVE_LC_MESSAGES 1
16624 echo "$ac_t""no" 1>&6
16629 if test "${multilib}" = "yes"; then
16630 multilib_arg="--enable-multilib"
16636 # Generate the various Makefiles, include files, and scripts.
16638 # Needed so that g++ can find the correct include subdir automatically.
16641 # Export all the install information
16644 glibcpp_toolexecdir=no
16645 glibcpp_toolexeclibdir=no
16647 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
16648 echo "configure:16649: checking for interface version number" >&5
16649 libstdcxx_interface=$INTERFACE
16650 echo "$ac_t""$libstdcxx_interface" 1>&6
16652 # Process the option --with-gxx-include-dir=<path to include-files directory>
16653 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
16654 echo "configure:16655: checking for --with-gxx-include-dir" >&5
16655 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
16656 if test "${with_gxx_include_dir+set}" = set; then
16657 withval="$with_gxx_include_dir"
16658 case "${withval}" in
16660 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
16667 gxx_include_dir=${withval}
16674 echo "$ac_t""$gxx_include_dir" 1>&6
16676 # Process the option "--enable-version-specific-runtime-libs"
16677 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
16678 echo "configure:16679: checking for --enable-version-specific-runtime-libs" >&5
16679 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
16680 if test "${enable_version_specific_runtime_libs+set}" = set; then
16681 enableval="$enable_version_specific_runtime_libs"
16682 version_specific_libs=yes
16683 # Need the gcc compiler version to know where to install libraries
16684 # and header files if --enable-version-specific-runtime-libs option
16686 gcc_version_trigger=${srcdir}/../gcc/version.c
16687 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
16688 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
16689 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/g++
16690 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
16691 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}
16694 version_specific_libs=no
16697 echo "$ac_t""$version_specific_libs" 1>&6
16699 # Default case for install directory for include files.
16700 if test x"$version_specific_libs" = x"no" \
16701 && test x"$gxx_include_dir" = x"no"; then
16702 gxx_include_dir='$(prefix)'/include/g++-${libstdcxx_interface}
16705 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
16706 # Install a library built with a cross compiler in tooldir, not libdir.
16707 if test x"$glibcpp_toolexecdir" = x"no"; then
16708 if test -n "$with_cross_host" && test x"$with_cross_host" != x"no"; then
16709 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
16710 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
16712 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
16713 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
16717 echo $ac_n "checking for install location""... $ac_c" 1>&6
16718 echo "configure:16719: checking for install location" >&5
16719 echo "$ac_t""$gxx_include_dir" 1>&6
16726 # Export all the include and flag information to makefiles.
16728 # Root level of the include sources.
16729 GLIBCPP_INCLUDE_DIR='$(top_srcdir)/include'
16731 # Can either use include/c or include/c_std to grab "C" headers. This
16732 # variable is set to the include directory currently in use.
16733 # set with C_INCLUDE_DIR in GLIBCPP_ENABLE_CHEADERS
16735 # Passed down for canadian crosses.
16736 if test x"$CANADIAN" = xyes; then
16737 TOPLEVEL_INCLUDES='-I$(includedir)'
16740 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
16742 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
16744 #if GLIBCPP_NEED_LIBIO
16745 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
16747 #LIBIO_INCLUDES='-I$(top_srcdir)/libio'
16750 #if GLIBCPP_USE_CSHADOW
16751 # CSHADOW_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR) \
16752 # -I$(top_blddir)/cshadow'
16754 CSTD_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR)'
16757 # Now, export this to all the little Makefiles....
16766 # Optimization flags that are probably a good idea for thrill-seekers. Just
16767 # uncomment the lines below and make, everything else is ready to go...
16768 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
16772 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
16776 # This should be done by mkincludedir, but hack around it now.
16778 echo "checking for $blddir/include"
16780 if test ! -d "$blddir/include"; then
16781 mkdir "$blddir/include"
16784 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
16785 # and libsupc++/Makefile.am so that multilib installs will end up
16786 # installed in the correct place. To work around this not being passed
16787 # down from config-ml.in -> top_srcdir/Makefile.am ->
16788 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
16790 cat > confcache <<\EOF
16791 # This file is a shell script that caches the results of configure
16792 # tests run on this system so they can be shared between configure
16793 # scripts and configure runs. It is not useful on other systems.
16794 # If it contains results you don't want to keep, you may remove or edit it.
16796 # By default, configure uses ./config.cache as the cache file,
16797 # creating it if it does not exist already. You can give configure
16798 # the --cache-file=FILE option to use a different cache file; that is
16799 # what configure does when it calls configure scripts in
16800 # subdirectories, so they share the cache.
16801 # Giving --cache-file=/dev/null disables caching, for debugging configure.
16802 # config.status only pays attention to the cache file if you give it the
16803 # --recheck option to rerun configure.
16806 # The following way of writing the cache mishandles newlines in values,
16807 # but we know of no workaround that is simple, portable, and efficient.
16808 # So, don't put newlines in cache variables' values.
16809 # Ultrix sh set writes to stderr and can't be redirected directly,
16810 # and sets the high bit in the cache file unless we assign to the vars.
16812 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16814 # `set' does not quote correctly, so add quotes (double-quote substitution
16815 # turns \\\\ into \\, and sed turns \\ into \).
16817 -e "s/'/'\\\\''/g" \
16818 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
16821 # `set' quotes correctly as required by POSIX, so do not add quotes.
16822 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
16825 if cmp -s $cache_file confcache; then
16828 if test -w $cache_file; then
16829 echo "updating cache $cache_file"
16830 cat confcache > $cache_file
16832 echo "not updating unwritable cache $cache_file"
16837 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
16839 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16840 # Let make expand exec_prefix.
16841 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16843 # Any assignment to VPATH causes Sun make to only execute
16844 # the first set of double-colon rules, so remove it if not needed.
16845 # If there is a colon in the path, we need to keep it.
16846 if test "x$srcdir" = x.; then
16847 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
16850 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
16852 DEFS=-DHAVE_CONFIG_H
16854 # Without the "./", some shells look in PATH for config.status.
16855 : ${CONFIG_STATUS=./config.status}
16857 echo creating $CONFIG_STATUS
16858 rm -f $CONFIG_STATUS
16859 cat > $CONFIG_STATUS <<EOF
16861 # Generated automatically by configure.
16862 # Run this file to recreate the current configuration.
16863 # This directory was configured as follows,
16864 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16866 # $0 $ac_configure_args
16868 # Compiler output produced by configure, useful for debugging
16869 # configure, is in ./config.log if it exists.
16871 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
16874 case "\$ac_option" in
16875 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16876 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
16877 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
16878 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
16879 echo "$CONFIG_STATUS generated by autoconf version 2.13"
16881 -help | --help | --hel | --he | --h)
16882 echo "\$ac_cs_usage"; exit 0 ;;
16883 *) echo "\$ac_cs_usage"; exit 1 ;;
16887 ac_given_srcdir=$srcdir
16888 ac_given_INSTALL="$INSTALL"
16890 trap 'rm -fr `echo "tests_flags mkcheck Makefile src/Makefile libmath/Makefile libio/Makefile libsupc++/Makefile testsuite/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
16892 cat >> $CONFIG_STATUS <<EOF
16894 # Protect against being on the right side of a sed subst in config.status.
16895 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
16896 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
16900 s%@CFLAGS@%$CFLAGS%g
16901 s%@CPPFLAGS@%$CPPFLAGS%g
16902 s%@CXXFLAGS@%$CXXFLAGS%g
16903 s%@FFLAGS@%$FFLAGS%g
16905 s%@LDFLAGS@%$LDFLAGS%g
16907 s%@exec_prefix@%$exec_prefix%g
16908 s%@prefix@%$prefix%g
16909 s%@program_transform_name@%$program_transform_name%g
16910 s%@bindir@%$bindir%g
16911 s%@sbindir@%$sbindir%g
16912 s%@libexecdir@%$libexecdir%g
16913 s%@datadir@%$datadir%g
16914 s%@sysconfdir@%$sysconfdir%g
16915 s%@sharedstatedir@%$sharedstatedir%g
16916 s%@localstatedir@%$localstatedir%g
16917 s%@libdir@%$libdir%g
16918 s%@includedir@%$includedir%g
16919 s%@oldincludedir@%$oldincludedir%g
16920 s%@infodir@%$infodir%g
16921 s%@mandir@%$mandir%g
16922 s%@toplevel_srcdir@%$toplevel_srcdir%g
16924 s%@host_alias@%$host_alias%g
16925 s%@host_cpu@%$host_cpu%g
16926 s%@host_vendor@%$host_vendor%g
16927 s%@host_os@%$host_os%g
16928 s%@target@%$target%g
16929 s%@target_alias@%$target_alias%g
16930 s%@target_cpu@%$target_cpu%g
16931 s%@target_vendor@%$target_vendor%g
16932 s%@target_os@%$target_os%g
16934 s%@build_alias@%$build_alias%g
16935 s%@build_cpu@%$build_cpu%g
16936 s%@build_vendor@%$build_vendor%g
16937 s%@build_os@%$build_os%g
16938 s%@glibcpp_basedir@%$glibcpp_basedir%g
16939 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
16940 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
16941 s%@INSTALL_DATA@%$INSTALL_DATA%g
16942 s%@PACKAGE@%$PACKAGE%g
16943 s%@VERSION@%$VERSION%g
16944 s%@ACLOCAL@%$ACLOCAL%g
16945 s%@AUTOCONF@%$AUTOCONF%g
16946 s%@AUTOMAKE@%$AUTOMAKE%g
16947 s%@AUTOHEADER@%$AUTOHEADER%g
16948 s%@MAKEINFO@%$MAKEINFO%g
16949 s%@SET_MAKE@%$SET_MAKE%g
16951 s%@glibcpp_CXX@%$glibcpp_CXX%g
16954 s%@RANLIB@%$RANLIB%g
16955 s%@glibcpp_expect@%$glibcpp_expect%g
16956 s%@glibcpp_runtest@%$glibcpp_runtest%g
16957 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
16958 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
16960 s%@EXEEXT@%$EXEEXT%g
16962 s%@OBJEXT@%$OBJEXT%g
16964 s%@LIBTOOL@%$LIBTOOL%g
16965 s%@CXXCPP@%$CXXCPP%g
16966 s%@enable_shared@%$enable_shared%g
16967 s%@enable_static@%$enable_static%g
16968 s%@ifGNUmake@%$ifGNUmake%g
16969 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
16971 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
16972 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
16973 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
16974 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
16975 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
16976 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
16977 s%@libio_la@%$libio_la%g
16978 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
16979 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
16980 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
16981 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
16982 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
16983 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
16984 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
16985 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
16986 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
16987 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
16988 s%@WERROR@%$WERROR%g
16989 s%@NULL_TARGET_TRUE@%$NULL_TARGET_TRUE%g
16990 s%@NULL_TARGET_FALSE@%$NULL_TARGET_FALSE%g
16991 s%@NATIVE_TRUE@%$NATIVE_TRUE%g
16992 s%@NATIVE_FALSE@%$NATIVE_FALSE%g
16993 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
16994 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
16995 s%@gxx_include_dir@%$gxx_include_dir%g
16996 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
16997 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
16998 s%@GLIBCPP_INCLUDE_DIR@%$GLIBCPP_INCLUDE_DIR%g
16999 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
17000 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
17001 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
17002 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
17003 s%@CSTD_INCLUDES@%$CSTD_INCLUDES%g
17004 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
17005 s%@WARN_FLAGS@%$WARN_FLAGS%g
17010 cat >> $CONFIG_STATUS <<\EOF
17012 # Split the substitutions into bite-sized pieces for seds with
17013 # small command number limits, like on Digital OSF/1 and HP-UX.
17014 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
17015 ac_file=1 # Number of current file.
17016 ac_beg=1 # First line for current file.
17017 ac_end=$ac_max_sed_cmds # Line after last line for current file.
17020 while $ac_more_lines; do
17021 if test $ac_beg -gt 1; then
17022 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
17024 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
17026 if test ! -s conftest.s$ac_file; then
17027 ac_more_lines=false
17028 rm -f conftest.s$ac_file
17030 if test -z "$ac_sed_cmds"; then
17031 ac_sed_cmds="sed -f conftest.s$ac_file"
17033 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
17035 ac_file=`expr $ac_file + 1`
17037 ac_end=`expr $ac_end + $ac_max_sed_cmds`
17040 if test -z "$ac_sed_cmds"; then
17045 cat >> $CONFIG_STATUS <<EOF
17047 CONFIG_FILES=\${CONFIG_FILES-"tests_flags mkcheck Makefile src/Makefile libmath/Makefile libio/Makefile libsupc++/Makefile testsuite/Makefile"}
17049 cat >> $CONFIG_STATUS <<\EOF
17050 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
17051 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17053 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
17054 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
17055 *) ac_file_in="${ac_file}.in" ;;
17058 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
17060 # Remove last slash and all that follows it. Not all systems have dirname.
17061 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
17062 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
17063 # The file is in a subdirectory.
17064 test ! -d "$ac_dir" && mkdir "$ac_dir"
17065 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
17066 # A "../" for each directory in $ac_dir_suffix.
17067 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
17069 ac_dir_suffix= ac_dots=
17072 case "$ac_given_srcdir" in
17074 if test -z "$ac_dots"; then top_srcdir=.
17075 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
17076 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
17077 *) # Relative path.
17078 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
17079 top_srcdir="$ac_dots$ac_given_srcdir" ;;
17082 case "$ac_given_INSTALL" in
17083 [/$]*) INSTALL="$ac_given_INSTALL" ;;
17084 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
17087 echo creating "$ac_file"
17089 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
17091 *Makefile*) ac_comsub="1i\\
17092 # $configure_input" ;;
17096 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
17098 s%@configure_input@%$configure_input%g
17099 s%@srcdir@%$srcdir%g
17100 s%@top_srcdir@%$top_srcdir%g
17101 s%@INSTALL@%$INSTALL%g
17102 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
17106 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
17107 # NAME is the cpp macro being defined and VALUE is the value it is being given.
17109 # ac_d sets the value in "#define NAME VALUE" lines.
17110 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
17111 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
17114 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
17115 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17116 ac_uB='\([ ]\)%\1#\2define\3'
17119 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
17120 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17121 ac_eB='$%\1#\2define\3'
17125 if test "${CONFIG_HEADERS+set}" != set; then
17127 cat >> $CONFIG_STATUS <<EOF
17128 CONFIG_HEADERS="config.h"
17130 cat >> $CONFIG_STATUS <<\EOF
17132 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
17133 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17135 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
17136 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
17137 *) ac_file_in="${ac_file}.in" ;;
17140 echo creating $ac_file
17142 rm -f conftest.frag conftest.in conftest.out
17143 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
17144 cat $ac_file_inputs > conftest.in
17148 # Transform confdefs.h into a sed script conftest.vals that substitutes
17149 # the proper values into config.h.in to produce config.h. And first:
17150 # Protect against being on the right side of a sed subst in config.status.
17151 # Protect against being in an unquoted here document in config.status.
17152 rm -f conftest.vals
17153 cat > conftest.hdr <<\EOF
17156 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
17160 sed -n -f conftest.hdr confdefs.h > conftest.vals
17163 # This sed command replaces #undef with comments. This is necessary, for
17164 # example, in the case of _POSIX_SOURCE, which is predefined and required
17165 # on some systems where configure will not decide to define it.
17166 cat >> conftest.vals <<\EOF
17167 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
17170 # Break up conftest.vals because some shells have a limit on
17171 # the size of here documents, and old seds have small limits too.
17173 rm -f conftest.tail
17176 ac_lines=`grep -c . conftest.vals`
17177 # grep -c gives empty output for an empty file on some AIX systems.
17178 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
17179 # Write a limited-size here document to conftest.frag.
17180 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
17181 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
17183 sed -f conftest.frag conftest.in > conftest.out
17185 mv conftest.out conftest.in
17186 ' >> $CONFIG_STATUS
17187 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
17188 rm -f conftest.vals
17189 mv conftest.tail conftest.vals
17191 rm -f conftest.vals
17193 cat >> $CONFIG_STATUS <<\EOF
17194 rm -f conftest.frag conftest.h
17195 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
17196 cat conftest.in >> conftest.h
17198 if cmp -s $ac_file conftest.h 2>/dev/null; then
17199 echo "$ac_file is unchanged"
17202 # Remove last slash and all that follows it. Not all systems have dirname.
17203 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
17204 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
17205 # The file is in a subdirectory.
17206 test ! -d "$ac_dir" && mkdir "$ac_dir"
17209 mv conftest.h $ac_file
17215 cat >> $CONFIG_STATUS <<EOF
17216 ac_sources="$os_include_dir/bits/os_defines.h $CSTDIO_H $BASIC_FILE_H $BASIC_FILE_CC $CCODECVT_C $CLOCALE_H $CLOCALE_CC config/$THREADH $os_include_dir/bits/ctype_base.h $os_include_dir/bits/ctype_inline.h $os_include_dir/bits/ctype_noninline.h $ATOMICITYH/bits/atomicity.h"
17217 ac_dests="include/bits/os_defines.h include/bits/c++io.h include/bits/basic_file_model.h src/basic_file.cc libio/c_codecvt.c include/bits/c++locale.h src/c++locale.cc include/bits/c++threads.h \
17218 include/bits/ctype_base.h \
17219 include/bits/ctype_inline.h \
17220 include/bits/ctype_noninline.h include/bits/atomicity.h"
17223 cat >> $CONFIG_STATUS <<\EOF
17224 srcdir=$ac_given_srcdir
17225 while test -n "$ac_sources"; do
17226 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
17227 set $ac_sources; ac_source=$1; shift; ac_sources=$*
17229 echo "linking $srcdir/$ac_source to $ac_dest"
17231 if test ! -r $srcdir/$ac_source; then
17232 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
17236 # Make relative symlinks.
17237 # Remove last slash and all that follows it. Not all systems have dirname.
17238 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
17239 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
17240 # The dest file is in a subdirectory.
17241 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
17242 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
17243 # A "../" for each directory in $ac_dest_dir_suffix.
17244 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
17246 ac_dest_dir_suffix= ac_dots=
17250 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
17251 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
17254 # Make a symlink if possible; otherwise try a hard link.
17255 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
17256 ln $srcdir/$ac_source $ac_dest; then :
17258 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
17262 cat >> $CONFIG_STATUS <<EOF
17267 with_multisubdir=${with_multisubdir}
17268 ac_configure_args="${multilib_arg} ${ac_configure_args}"
17269 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
17270 glibcpp_basedir=${glibcpp_basedir}
17275 cat >> $CONFIG_STATUS <<\EOF
17276 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
17277 if test -n "$CONFIG_FILES"; then
17278 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
17279 grep '^MULTISUBDIR =' Makefile >> src/Makefile
17280 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
17282 chmod +x tests_flags
17287 chmod +x $CONFIG_STATUS
17288 rm -fr confdefs* $ac_clean_files
17289 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
17293 # Generate bits/c++config.h
17294 # NB: This must be the first generated file as others include it. . .
17295 $srcdir/mkc++config $blddir $srcdir
17297 # Generate bits/std_limits.h and src/limitsMEMBERS.cc
17298 if test ! -f stamp-limits; then
17299 $srcdir/mknumeric_limits $blddir $srcdir $xcompiling
17300 if test ! -f include/bits/std_limits.h; then
17301 echo "mknumeric_limits failed to execute properly: exiting"
17309 # Sanity checking & User-visible messages.
17310 # Checks down here, otherwise they get scrolled off before
17311 # the user will notice.
17313 # Trying to get more people to read documentation. Possibly remove
17314 # check and warn all the time. There is no "informational" AC_MSG_
17315 # macro, so these are going to be printed even when --quiet/--silent
17317 if test ! -f stamp-sanity-warned; then
17318 touch stamp-sanity-warned
17320 echo "Please make certain that you read the installation information here:"
17321 echo " faster => ${srcdir}/docs/install.html"
17322 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
17324 echo "and the configuration information here:"
17325 echo " faster => ${srcdir}/docs/configopts.html"
17326 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
17328 echo "before proceeding with ${_cv_gnu_make_command}."