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 g++ [default=c_std]"
55 --enable-cxx-flags=FLAGS pass compiler FLAGS when building library;
58 --enable-sjlj-exceptions force use of builtin_setjmp for exceptions"
60 --with-gxx-include-dir the installation directory for include files"
62 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
64 # Initialize some variables set by options.
65 # The variables have the same names as the options, with
66 # dashes changed to underlines.
68 cache_file=./config.cache
77 program_transform_name=s,x,x,
86 bindir='${exec_prefix}/bin'
87 sbindir='${exec_prefix}/sbin'
88 libexecdir='${exec_prefix}/libexec'
89 datadir='${prefix}/share'
90 sysconfdir='${prefix}/etc'
91 sharedstatedir='${prefix}/com'
92 localstatedir='${prefix}/var'
93 libdir='${exec_prefix}/lib'
94 includedir='${prefix}/include'
95 oldincludedir='/usr/include'
96 infodir='${prefix}/info'
97 mandir='${prefix}/man'
99 # Initialize some other variables.
102 SHELL=${CONFIG_SHELL-/bin/sh}
103 # Maximum number of lines to put in a shell here document.
110 # If the previous option needs an argument, assign it.
111 if test -n "$ac_prev"; then
112 eval "$ac_prev=\$ac_option"
118 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
122 # Accept the important Cygnus configure options, so we can diagnose typos.
126 -bindir | --bindir | --bindi | --bind | --bin | --bi)
128 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
129 bindir="$ac_optarg" ;;
131 -build | --build | --buil | --bui | --bu)
133 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
134 build="$ac_optarg" ;;
136 -cache-file | --cache-file | --cache-fil | --cache-fi \
137 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
138 ac_prev=cache_file ;;
139 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
140 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
141 cache_file="$ac_optarg" ;;
143 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
145 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
147 datadir="$ac_optarg" ;;
149 -disable-* | --disable-*)
150 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
151 # Reject names that are not valid shell variable names.
152 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
153 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
155 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
156 eval "enable_${ac_feature}=no" ;;
158 -enable-* | --enable-*)
159 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
160 # Reject names that are not valid shell variable names.
161 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
162 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
164 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
169 eval "enable_${ac_feature}='$ac_optarg'" ;;
171 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
172 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
173 | --exec | --exe | --ex)
174 ac_prev=exec_prefix ;;
175 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
176 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
177 | --exec=* | --exe=* | --ex=*)
178 exec_prefix="$ac_optarg" ;;
180 -gas | --gas | --ga | --g)
181 # Obsolete; use --with-gas.
184 -help | --help | --hel | --he)
185 # Omit some internal or obsolete options to make the list less imposing.
186 # This message is too long to be a string in the A/UX 3.1 sh.
188 Usage: configure [options] [host]
189 Options: [defaults in brackets after descriptions]
191 --cache-file=FILE cache test results in FILE
192 --help print this message
193 --no-create do not create output files
194 --quiet, --silent do not print \`checking...' messages
195 --site-file=FILE use FILE as the site file
196 --version print the version of autoconf that created configure
197 Directory and file names:
198 --prefix=PREFIX install architecture-independent files in PREFIX
200 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
202 --bindir=DIR user executables in DIR [EPREFIX/bin]
203 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
204 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
205 --datadir=DIR read-only architecture-independent data in DIR
207 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
208 --sharedstatedir=DIR modifiable architecture-independent data in DIR
210 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
211 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
212 --includedir=DIR C header files in DIR [PREFIX/include]
213 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
214 --infodir=DIR info documentation in DIR [PREFIX/info]
215 --mandir=DIR man documentation in DIR [PREFIX/man]
216 --srcdir=DIR find the sources in DIR [configure dir or ..]
217 --program-prefix=PREFIX prepend PREFIX to installed program names
218 --program-suffix=SUFFIX append SUFFIX to installed program names
219 --program-transform-name=PROGRAM
220 run sed PROGRAM on installed program names
224 --build=BUILD configure for building on BUILD [BUILD=HOST]
225 --host=HOST configure for HOST [guessed]
226 --target=TARGET configure for TARGET [TARGET=HOST]
227 Features and packages:
228 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
229 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
230 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
231 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
232 --x-includes=DIR X include files are in DIR
233 --x-libraries=DIR X library files are in DIR
235 if test -n "$ac_help"; then
236 echo "--enable and --with options recognized:$ac_help"
240 -host | --host | --hos | --ho)
242 -host=* | --host=* | --hos=* | --ho=*)
245 -includedir | --includedir | --includedi | --included | --include \
246 | --includ | --inclu | --incl | --inc)
247 ac_prev=includedir ;;
248 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
249 | --includ=* | --inclu=* | --incl=* | --inc=*)
250 includedir="$ac_optarg" ;;
252 -infodir | --infodir | --infodi | --infod | --info | --inf)
254 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
255 infodir="$ac_optarg" ;;
257 -libdir | --libdir | --libdi | --libd)
259 -libdir=* | --libdir=* | --libdi=* | --libd=*)
260 libdir="$ac_optarg" ;;
262 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
263 | --libexe | --libex | --libe)
264 ac_prev=libexecdir ;;
265 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
266 | --libexe=* | --libex=* | --libe=*)
267 libexecdir="$ac_optarg" ;;
269 -localstatedir | --localstatedir | --localstatedi | --localstated \
270 | --localstate | --localstat | --localsta | --localst \
271 | --locals | --local | --loca | --loc | --lo)
272 ac_prev=localstatedir ;;
273 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
274 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
275 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
276 localstatedir="$ac_optarg" ;;
278 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
280 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
281 mandir="$ac_optarg" ;;
284 # Obsolete; use --without-fp.
287 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
291 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
292 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
295 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
296 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
297 | --oldin | --oldi | --old | --ol | --o)
298 ac_prev=oldincludedir ;;
299 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
300 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
301 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
302 oldincludedir="$ac_optarg" ;;
304 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
306 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
307 prefix="$ac_optarg" ;;
309 -program-prefix | --program-prefix | --program-prefi | --program-pref \
310 | --program-pre | --program-pr | --program-p)
311 ac_prev=program_prefix ;;
312 -program-prefix=* | --program-prefix=* | --program-prefi=* \
313 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
314 program_prefix="$ac_optarg" ;;
316 -program-suffix | --program-suffix | --program-suffi | --program-suff \
317 | --program-suf | --program-su | --program-s)
318 ac_prev=program_suffix ;;
319 -program-suffix=* | --program-suffix=* | --program-suffi=* \
320 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
321 program_suffix="$ac_optarg" ;;
323 -program-transform-name | --program-transform-name \
324 | --program-transform-nam | --program-transform-na \
325 | --program-transform-n | --program-transform- \
326 | --program-transform | --program-transfor \
327 | --program-transfo | --program-transf \
328 | --program-trans | --program-tran \
329 | --progr-tra | --program-tr | --program-t)
330 ac_prev=program_transform_name ;;
331 -program-transform-name=* | --program-transform-name=* \
332 | --program-transform-nam=* | --program-transform-na=* \
333 | --program-transform-n=* | --program-transform-=* \
334 | --program-transform=* | --program-transfor=* \
335 | --program-transfo=* | --program-transf=* \
336 | --program-trans=* | --program-tran=* \
337 | --progr-tra=* | --program-tr=* | --program-t=*)
338 program_transform_name="$ac_optarg" ;;
340 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
341 | -silent | --silent | --silen | --sile | --sil)
344 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
346 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
348 sbindir="$ac_optarg" ;;
350 -sharedstatedir | --sharedstatedir | --sharedstatedi \
351 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
352 | --sharedst | --shareds | --shared | --share | --shar \
354 ac_prev=sharedstatedir ;;
355 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
356 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
357 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
359 sharedstatedir="$ac_optarg" ;;
361 -site | --site | --sit)
363 -site=* | --site=* | --sit=*)
366 -site-file | --site-file | --site-fil | --site-fi | --site-f)
368 -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*)
369 sitefile="$ac_optarg" ;;
371 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
373 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
374 srcdir="$ac_optarg" ;;
376 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
377 | --syscon | --sysco | --sysc | --sys | --sy)
378 ac_prev=sysconfdir ;;
379 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
380 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
381 sysconfdir="$ac_optarg" ;;
383 -target | --target | --targe | --targ | --tar | --ta | --t)
385 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
386 target="$ac_optarg" ;;
388 -v | -verbose | --verbose | --verbos | --verbo | --verb)
391 -version | --version | --versio | --versi | --vers)
392 echo "configure generated by autoconf version 2.13"
396 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
397 # Reject names that are not valid shell variable names.
398 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
399 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
401 ac_package=`echo $ac_package| sed 's/-/_/g'`
406 eval "with_${ac_package}='$ac_optarg'" ;;
408 -without-* | --without-*)
409 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
410 # Reject names that are not valid shell variable names.
411 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
412 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
414 ac_package=`echo $ac_package| sed 's/-/_/g'`
415 eval "with_${ac_package}=no" ;;
418 # Obsolete; use --with-x.
421 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
422 | --x-incl | --x-inc | --x-in | --x-i)
423 ac_prev=x_includes ;;
424 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
425 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
426 x_includes="$ac_optarg" ;;
428 -x-libraries | --x-libraries | --x-librarie | --x-librari \
429 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
430 ac_prev=x_libraries ;;
431 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
432 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
433 x_libraries="$ac_optarg" ;;
435 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
439 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
440 echo "configure: warning: $ac_option: invalid host type" 1>&2
442 if test "x$nonopt" != xNONE; then
443 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
451 if test -n "$ac_prev"; then
452 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
455 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
457 # File descriptor usage:
460 # 2 errors and warnings
461 # 3 some systems may open it to /dev/tty
462 # 4 used on the Kubota Titan
463 # 6 checking for... messages and results
464 # 5 compiler messages saved in config.log
465 if test "$silent" = yes; then
473 This file contains any messages produced by compilers while
474 running configure, to aid debugging if configure makes a mistake.
477 # Strip out --no-create and --no-recursion so they do not pile up.
478 # Also quote any args containing shell metacharacters.
483 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484 | --no-cr | --no-c) ;;
485 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
486 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
487 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
488 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
489 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
494 # Only set these to C if already set. These must not be set unconditionally
495 # because not all systems understand e.g. LANG=C (notably SCO).
496 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
497 # Non-C LC_CTYPE values break the ctype check.
498 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
499 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
500 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
501 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
503 # confdefs.h avoids OS command line length limits that DEFS can exceed.
504 rm -rf conftest* confdefs.h
505 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
508 # A filename unique to this package, relative to the directory that
509 # configure is in, which we can look for to find out if srcdir is correct.
510 ac_unique_file=src/ios.cc
512 # Find the source files, if location was not specified.
513 if test -z "$srcdir"; then
514 ac_srcdir_defaulted=yes
515 # Try the directory containing this script, then its parent.
517 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
518 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
520 if test ! -r $srcdir/$ac_unique_file; then
524 ac_srcdir_defaulted=no
526 if test ! -r $srcdir/$ac_unique_file; then
527 if test "$ac_srcdir_defaulted" = yes; then
528 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
530 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
533 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
535 # Prefer explicitly selected file to automatically selected ones.
536 if test -z "$sitefile"; then
537 if test -z "$CONFIG_SITE"; then
538 if test "x$prefix" != xNONE; then
539 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
541 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
545 CONFIG_SITE="$sitefile"
547 for ac_site_file in $CONFIG_SITE; do
548 if test -r "$ac_site_file"; then
549 echo "loading site script $ac_site_file"
554 if test -r "$cache_file"; then
555 echo "loading cache $cache_file"
558 echo "creating cache $cache_file"
563 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
564 ac_cpp='$CPP $CPPFLAGS'
565 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
566 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
567 cross_compiling=$ac_cv_prog_cc_cross
571 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
572 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
573 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
580 ac_n= ac_c='\c' ac_t=
585 # When building with srcdir == objdir, links to the source files will
586 # be created in directories within the target_subdir. We have to
587 # adjust toplevel_srcdir accordingly, so that configure finds
588 # install-sh and other auxiliary files that live in the top-level
590 if test "${srcdir}" = "."; then
591 if test -z "${with_target_subdir}"; then
592 toplevel_srcdir="\${top_srcdir}/.."
593 auxdir="${srcdir}/.."
595 if test "${with_target_subdir}" != "."; then
596 toplevel_srcdir="\${top_srcdir}/${with_multisrctop}../.."
597 auxdir="${srcdir}/${with_multisrctop}../.."
599 toplevel_srcdir="\${top_srcdir}/${with_multisrctop}.."
600 auxdir="${srcdir}/${with_multisrctop}.."
604 toplevel_srcdir="\${top_srcdir}/.."
605 auxdir="${srcdir}/.."
608 for ac_dir in $auxdir $srcdir/$auxdir; do
609 if test -f $ac_dir/install-sh; then
611 ac_install_sh="$ac_aux_dir/install-sh -c"
613 elif test -f $ac_dir/install.sh; then
615 ac_install_sh="$ac_aux_dir/install.sh -c"
619 if test -z "$ac_aux_dir"; then
620 { echo "configure: error: can not find install-sh or install.sh in $auxdir $srcdir/$auxdir" 1>&2; exit 1; }
622 ac_config_guess=$ac_aux_dir/config.guess
623 ac_config_sub=$ac_aux_dir/config.sub
624 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
630 # Gets and sets build, host, target, *_vendor, *_cpu, *_os, etc.
632 # Do some error checking and defaulting for the host and target type.
634 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
637 # 1. You are not allowed to specify --host, --target, and nonopt at the
639 # 2. Host defaults to nonopt.
640 # 3. If nonopt is not specified, then host defaults to the current host,
641 # as determined by config.guess.
642 # 4. Target and build default to nonopt.
643 # 5. If nonopt is not specified, then target and build default to host.
645 # The aliases save the names the user supplied, while $host etc.
646 # will get canonicalized.
647 case $host---$target---$nonopt in
648 NONE---*---* | *---NONE---* | *---*---NONE) ;;
649 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
653 # Make sure we can run config.sub.
654 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
655 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
658 echo $ac_n "checking host system type""... $ac_c" 1>&6
659 echo "configure:660: checking host system type" >&5
662 case "$host_alias" in
666 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
667 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
669 *) host_alias=$nonopt ;;
673 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
674 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
675 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
676 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
677 echo "$ac_t""$host" 1>&6
679 echo $ac_n "checking target system type""... $ac_c" 1>&6
680 echo "configure:681: checking target system type" >&5
683 case "$target_alias" in
686 NONE) target_alias=$host_alias ;;
687 *) target_alias=$nonopt ;;
691 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
692 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
693 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
694 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
695 echo "$ac_t""$target" 1>&6
697 echo $ac_n "checking build system type""... $ac_c" 1>&6
698 echo "configure:699: checking build system type" >&5
701 case "$build_alias" in
704 NONE) build_alias=$host_alias ;;
705 *) build_alias=$nonopt ;;
709 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
710 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
711 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
712 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
713 echo "$ac_t""$build" 1>&6
715 test "$host_alias" != "$target_alias" &&
716 test "$program_prefix$program_suffix$program_transform_name" = \
718 program_prefix=${target_alias}-
721 # We use these options to decide which functions to include.
722 # Check whether --with-target-subdir or --without-target-subdir was given.
723 if test "${with_target_subdir+set}" = set; then
724 withval="$with_target_subdir"
728 # Check whether --with-cross-host or --without-cross-host was given.
729 if test "${with_cross_host+set}" = set; then
730 withval="$with_cross_host"
735 # Runs configure.host and configure.target. Have to run this before
736 # the GLIBCPP_ENABLE_* macros below.
737 # Find a good install program. We prefer a C program (faster),
738 # so one script is as good as another. But avoid the broken or
739 # incompatible versions:
740 # SysV /etc/install, /usr/sbin/install
741 # SunOS /usr/etc/install
744 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
745 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
746 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
747 # ./install, which can be erroneously created by make from ./install.sh.
748 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
749 echo "configure:750: checking for a BSD compatible install" >&5
750 if test -z "$INSTALL"; then
751 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
752 echo $ac_n "(cached) $ac_c" 1>&6
754 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
755 for ac_dir in $PATH; do
756 # Account for people who put trailing slashes in PATH elements.
758 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
760 # OSF1 and SCO ODT 3.0 have their own names for install.
761 # Don't use installbsd from OSF since it installs stuff as root
763 for ac_prog in ginstall scoinst install; do
764 if test -f $ac_dir/$ac_prog; then
765 if test $ac_prog = install &&
766 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
767 # AIX install. It has an incompatible calling convention.
770 ac_cv_path_install="$ac_dir/$ac_prog -c"
781 if test "${ac_cv_path_install+set}" = set; then
782 INSTALL="$ac_cv_path_install"
784 # As a last resort, use the slow shell script. We don't cache a
785 # path for INSTALL within a source directory, because that will
786 # break other packages using the cache if that directory is
787 # removed, or if the path is relative.
788 INSTALL="$ac_install_sh"
791 echo "$ac_t""$INSTALL" 1>&6
793 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
794 # It thinks the first close brace ends the variable substitution.
795 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
797 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
799 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
801 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
802 echo "configure:803: checking whether build environment is sane" >&5
805 echo timestamp > conftestfile
806 # Do `set' in a subshell so we don't clobber the current shell's
807 # arguments. Must try -L first in case configure is actually a
808 # symlink; some systems play weird games with the mod time of symlinks
809 # (eg FreeBSD returns the mod time of the symlink's containing
812 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
813 if test "$*" = "X"; then
815 set X `ls -t $srcdir/configure conftestfile`
817 if test "$*" != "X $srcdir/configure conftestfile" \
818 && test "$*" != "X conftestfile $srcdir/configure"; then
820 # If neither matched, then we have a broken ls. This can happen
821 # if, for instance, CONFIG_SHELL is bash and it inherits a
822 # broken ls alias from the environment. This has actually
823 # happened. Such a system could not be considered "sane".
824 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
825 alias in your environment" 1>&2; exit 1; }
828 test "$2" = conftestfile
834 { echo "configure: error: newly created file is older than distributed files!
835 Check your system clock" 1>&2; exit 1; }
838 echo "$ac_t""yes" 1>&6
839 if test "$program_transform_name" = s,x,x,; then
840 program_transform_name=
842 # Double any \ or $. echo might interpret backslashes.
843 cat <<\EOF_SED > conftestsed
844 s,\\,\\\\,g; s,\$,$$,g
846 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
849 test "$program_prefix" != NONE &&
850 program_transform_name="s,^,${program_prefix},; $program_transform_name"
851 # Use a double $ so make ignores it.
852 test "$program_suffix" != NONE &&
853 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
855 # sed with no file args requires a program.
856 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
858 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
859 echo "configure:860: checking whether ${MAKE-make} sets \${MAKE}" >&5
860 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
861 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
862 echo $ac_n "(cached) $ac_c" 1>&6
864 cat > conftestmake <<\EOF
866 @echo 'ac_maketemp="${MAKE}"'
868 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
869 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
870 if test -n "$ac_maketemp"; then
871 eval ac_cv_prog_make_${ac_make}_set=yes
873 eval ac_cv_prog_make_${ac_make}_set=no
877 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
878 echo "$ac_t""yes" 1>&6
881 echo "$ac_t""no" 1>&6
882 SET_MAKE="MAKE=${MAKE-make}"
885 if test $host != $build; then
886 ac_tool_prefix=${host_alias}-
891 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
892 echo "configure:893: checking for Cygwin environment" >&5
893 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
894 echo $ac_n "(cached) $ac_c" 1>&6
896 cat > conftest.$ac_ext <<EOF
897 #line 898 "configure"
898 #include "confdefs.h"
903 #define __CYGWIN__ __CYGWIN32__
908 if { (eval echo configure:909: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
912 echo "configure: failed program was:" >&5
913 cat conftest.$ac_ext >&5
921 echo "$ac_t""$ac_cv_cygwin" 1>&6
923 test "$ac_cv_cygwin" = yes && CYGWIN=yes
924 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
925 echo "configure:926: checking for mingw32 environment" >&5
926 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
927 echo $ac_n "(cached) $ac_c" 1>&6
929 cat > conftest.$ac_ext <<EOF
930 #line 931 "configure"
931 #include "confdefs.h"
937 if { (eval echo configure:938: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
941 echo "configure: failed program was:" >&5
942 cat conftest.$ac_ext >&5
950 echo "$ac_t""$ac_cv_mingw32" 1>&6
952 test "$ac_cv_mingw32" = yes && MINGW32=yes
954 # Check whether --enable-multilib or --disable-multilib was given.
955 if test "${enable_multilib+set}" = set; then
956 enableval="$enable_multilib"
957 case "${enableval}" in
960 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
966 glibcpp_basedir=$auxdir/./libstdc++-v3
974 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
975 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
977 cat >> confdefs.h <<EOF
978 #define PACKAGE "$PACKAGE"
981 cat >> confdefs.h <<EOF
982 #define VERSION "$VERSION"
987 missing_dir=`cd $ac_aux_dir && pwd`
988 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
989 echo "configure:990: checking for working aclocal" >&5
990 # Run test in a subshell; some versions of sh will print an error if
991 # an executable is not found, even if stderr is redirected.
992 # Redirect stdin to placate older versions of autoconf. Sigh.
993 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
995 echo "$ac_t""found" 1>&6
997 ACLOCAL="$missing_dir/missing aclocal"
998 echo "$ac_t""missing" 1>&6
1001 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
1002 echo "configure:1003: checking for working autoconf" >&5
1003 # Run test in a subshell; some versions of sh will print an error if
1004 # an executable is not found, even if stderr is redirected.
1005 # Redirect stdin to placate older versions of autoconf. Sigh.
1006 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1008 echo "$ac_t""found" 1>&6
1010 AUTOCONF="$missing_dir/missing autoconf"
1011 echo "$ac_t""missing" 1>&6
1014 echo $ac_n "checking for working automake""... $ac_c" 1>&6
1015 echo "configure:1016: checking for working automake" >&5
1016 # Run test in a subshell; some versions of sh will print an error if
1017 # an executable is not found, even if stderr is redirected.
1018 # Redirect stdin to placate older versions of autoconf. Sigh.
1019 if (automake --version) < /dev/null > /dev/null 2>&1; then
1021 echo "$ac_t""found" 1>&6
1023 AUTOMAKE="$missing_dir/missing automake"
1024 echo "$ac_t""missing" 1>&6
1027 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
1028 echo "configure:1029: checking for working autoheader" >&5
1029 # Run test in a subshell; some versions of sh will print an error if
1030 # an executable is not found, even if stderr is redirected.
1031 # Redirect stdin to placate older versions of autoconf. Sigh.
1032 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1033 AUTOHEADER=autoheader
1034 echo "$ac_t""found" 1>&6
1036 AUTOHEADER="$missing_dir/missing autoheader"
1037 echo "$ac_t""missing" 1>&6
1040 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1041 echo "configure:1042: checking for working makeinfo" >&5
1042 # Run test in a subshell; some versions of sh will print an error if
1043 # an executable is not found, even if stderr is redirected.
1044 # Redirect stdin to placate older versions of autoconf. Sigh.
1045 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1047 echo "$ac_t""found" 1>&6
1049 MAKEINFO="$missing_dir/missing makeinfo"
1050 echo "$ac_t""missing" 1>&6
1055 # Never versions of autoconf add an underscore to these functions.
1056 # Prevent future problems ...
1064 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1065 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1066 # are probably using a cross compiler, which will not be able to fully
1067 # link an executable. This should really be fixed in autoconf
1073 # Extract the first word of "gcc", so it can be a program name with args.
1074 set dummy gcc; ac_word=$2
1075 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1076 echo "configure:1077: checking for $ac_word" >&5
1077 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1078 echo $ac_n "(cached) $ac_c" 1>&6
1080 if test -n "$CC"; then
1081 ac_cv_prog_CC="$CC" # Let the user override the test.
1083 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1085 for ac_dir in $ac_dummy; do
1086 test -z "$ac_dir" && ac_dir=.
1087 if test -f $ac_dir/$ac_word; then
1096 if test -n "$CC"; then
1097 echo "$ac_t""$CC" 1>&6
1099 echo "$ac_t""no" 1>&6
1102 if test -z "$CC"; then
1103 # Extract the first word of "cc", so it can be a program name with args.
1104 set dummy cc; ac_word=$2
1105 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1106 echo "configure:1107: checking for $ac_word" >&5
1107 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1108 echo $ac_n "(cached) $ac_c" 1>&6
1110 if test -n "$CC"; then
1111 ac_cv_prog_CC="$CC" # Let the user override the test.
1113 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1116 for ac_dir in $ac_dummy; do
1117 test -z "$ac_dir" && ac_dir=.
1118 if test -f $ac_dir/$ac_word; then
1119 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1120 ac_prog_rejected=yes
1128 if test $ac_prog_rejected = yes; then
1129 # We found a bogon in the path, so make sure we never use it.
1130 set dummy $ac_cv_prog_CC
1132 if test $# -gt 0; then
1133 # We chose a different compiler from the bogus one.
1134 # However, it has the same basename, so the bogon will be chosen
1135 # first if we set CC to just the basename; use the full file name.
1137 set dummy "$ac_dir/$ac_word" "$@"
1145 if test -n "$CC"; then
1146 echo "$ac_t""$CC" 1>&6
1148 echo "$ac_t""no" 1>&6
1151 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1154 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1155 echo "configure:1156: checking whether we are using GNU C" >&5
1156 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1157 echo $ac_n "(cached) $ac_c" 1>&6
1159 cat > conftest.c <<EOF
1164 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1165: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1171 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1173 if test $ac_cv_prog_gcc = yes; then
1175 ac_test_CFLAGS="${CFLAGS+set}"
1176 ac_save_CFLAGS="$CFLAGS"
1178 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1179 echo "configure:1180: checking whether ${CC-cc} accepts -g" >&5
1180 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1181 echo $ac_n "(cached) $ac_c" 1>&6
1183 echo 'void f(){}' > conftest.c
1184 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1193 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1194 if test "$ac_test_CFLAGS" = set; then
1195 CFLAGS="$ac_save_CFLAGS"
1196 elif test $ac_cv_prog_cc_g = yes; then
1203 test "${CFLAGS+set}" = set || CFLAGS="-g"
1207 # Can't just call these here as g++ requires libstc++ to be built....
1210 # Likewise for AC_PROG_CXX.
1214 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1215 # flags that come in CXX while configuring libstdc++. They're different
1216 # from those used for all other target libraries. If CXX is set in
1217 # the environment, respect that here.
1219 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1221 # Extract the first word of "$ac_prog", so it can be a program name with args.
1222 set dummy $ac_prog; ac_word=$2
1223 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1224 echo "configure:1225: checking for $ac_word" >&5
1225 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1226 echo $ac_n "(cached) $ac_c" 1>&6
1228 if test -n "$glibcpp_CXX"; then
1229 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1231 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1233 for ac_dir in $ac_dummy; do
1234 test -z "$ac_dir" && ac_dir=.
1235 if test -f $ac_dir/$ac_word; then
1236 ac_cv_prog_glibcpp_CXX="$ac_prog"
1243 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1244 if test -n "$glibcpp_CXX"; then
1245 echo "$ac_t""$glibcpp_CXX" 1>&6
1247 echo "$ac_t""no" 1>&6
1250 test -n "$glibcpp_CXX" && break
1252 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc"
1256 test -z "$glibcpp_CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1258 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1259 echo "configure:1260: checking whether we are using GNU C++" >&5
1260 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1261 echo $ac_n "(cached) $ac_c" 1>&6
1263 cat > conftest.C <<EOF
1268 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1269: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1275 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1277 if test $ac_cv_prog_gxx = yes; then
1279 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1280 ac_save_CXXFLAGS="$CXXFLAGS"
1282 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1283 echo "configure:1284: checking whether ${CXX-g++} accepts -g" >&5
1284 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1285 echo $ac_n "(cached) $ac_c" 1>&6
1287 echo 'void f(){}' > conftest.cc
1288 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1289 ac_cv_prog_cxx_g=yes
1297 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1298 if test "$ac_test_CXXFLAGS" = set; then
1299 CXXFLAGS="$ac_save_CXXFLAGS"
1300 elif test $ac_cv_prog_cxx_g = yes; then
1307 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1311 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1312 set dummy ${ac_tool_prefix}as; ac_word=$2
1313 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1314 echo "configure:1315: checking for $ac_word" >&5
1315 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1316 echo $ac_n "(cached) $ac_c" 1>&6
1318 if test -n "$AS"; then
1319 ac_cv_prog_AS="$AS" # Let the user override the test.
1321 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1323 for ac_dir in $ac_dummy; do
1324 test -z "$ac_dir" && ac_dir=.
1325 if test -f $ac_dir/$ac_word; then
1326 ac_cv_prog_AS="${ac_tool_prefix}as"
1331 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1335 if test -n "$AS"; then
1336 echo "$ac_t""$AS" 1>&6
1338 echo "$ac_t""no" 1>&6
1343 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1344 set dummy ${ac_tool_prefix}ar; ac_word=$2
1345 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1346 echo "configure:1347: checking for $ac_word" >&5
1347 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1348 echo $ac_n "(cached) $ac_c" 1>&6
1350 if test -n "$AR"; then
1351 ac_cv_prog_AR="$AR" # Let the user override the test.
1353 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1355 for ac_dir in $ac_dummy; do
1356 test -z "$ac_dir" && ac_dir=.
1357 if test -f $ac_dir/$ac_word; then
1358 ac_cv_prog_AR="${ac_tool_prefix}ar"
1363 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1367 if test -n "$AR"; then
1368 echo "$ac_t""$AR" 1>&6
1370 echo "$ac_t""no" 1>&6
1375 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1376 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1377 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1378 echo "configure:1379: checking for $ac_word" >&5
1379 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1380 echo $ac_n "(cached) $ac_c" 1>&6
1382 if test -n "$RANLIB"; then
1383 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1385 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1387 for ac_dir in $ac_dummy; do
1388 test -z "$ac_dir" && ac_dir=.
1389 if test -f $ac_dir/$ac_word; then
1390 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1397 RANLIB="$ac_cv_prog_RANLIB"
1398 if test -n "$RANLIB"; then
1399 echo "$ac_t""$RANLIB" 1>&6
1401 echo "$ac_t""no" 1>&6
1405 if test -z "$ac_cv_prog_RANLIB"; then
1406 if test -n "$ac_tool_prefix"; then
1407 # Extract the first word of "ranlib", so it can be a program name with args.
1408 set dummy ranlib; ac_word=$2
1409 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1410 echo "configure:1411: checking for $ac_word" >&5
1411 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1412 echo $ac_n "(cached) $ac_c" 1>&6
1414 if test -n "$RANLIB"; then
1415 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1417 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1419 for ac_dir in $ac_dummy; do
1420 test -z "$ac_dir" && ac_dir=.
1421 if test -f $ac_dir/$ac_word; then
1422 ac_cv_prog_RANLIB="ranlib"
1427 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
1430 RANLIB="$ac_cv_prog_RANLIB"
1431 if test -n "$RANLIB"; then
1432 echo "$ac_t""$RANLIB" 1>&6
1434 echo "$ac_t""no" 1>&6
1438 RANLIB="ranlib-not-found-in-path-error"
1442 # Find a good install program. We prefer a C program (faster),
1443 # so one script is as good as another. But avoid the broken or
1444 # incompatible versions:
1445 # SysV /etc/install, /usr/sbin/install
1446 # SunOS /usr/etc/install
1447 # IRIX /sbin/install
1449 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1450 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1451 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1452 # ./install, which can be erroneously created by make from ./install.sh.
1453 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1454 echo "configure:1455: checking for a BSD compatible install" >&5
1455 if test -z "$INSTALL"; then
1456 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1457 echo $ac_n "(cached) $ac_c" 1>&6
1459 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1460 for ac_dir in $PATH; do
1461 # Account for people who put trailing slashes in PATH elements.
1463 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1465 # OSF1 and SCO ODT 3.0 have their own names for install.
1466 # Don't use installbsd from OSF since it installs stuff as root
1468 for ac_prog in ginstall scoinst install; do
1469 if test -f $ac_dir/$ac_prog; then
1470 if test $ac_prog = install &&
1471 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1472 # AIX install. It has an incompatible calling convention.
1475 ac_cv_path_install="$ac_dir/$ac_prog -c"
1486 if test "${ac_cv_path_install+set}" = set; then
1487 INSTALL="$ac_cv_path_install"
1489 # As a last resort, use the slow shell script. We don't cache a
1490 # path for INSTALL within a source directory, because that will
1491 # break other packages using the cache if that directory is
1492 # removed, or if the path is relative.
1493 INSTALL="$ac_install_sh"
1496 echo "$ac_t""$INSTALL" 1>&6
1498 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1499 # It thinks the first close brace ends the variable substitution.
1500 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1502 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1504 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1507 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1508 echo "configure:1509: checking whether to enable maintainer-specific portions of Makefiles" >&5
1509 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1510 if test "${enable_maintainer_mode+set}" = set; then
1511 enableval="$enable_maintainer_mode"
1512 USE_MAINTAINER_MODE=$enableval
1514 USE_MAINTAINER_MODE=no
1517 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1520 if test $USE_MAINTAINER_MODE = yes; then
1521 MAINTAINER_MODE_TRUE=
1522 MAINTAINER_MODE_FALSE='#'
1524 MAINTAINER_MODE_TRUE='#'
1525 MAINTAINER_MODE_FALSE=
1527 MAINT=$MAINTAINER_MODE_TRUE
1531 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1532 # at least currently, we never actually build a program, so we never
1533 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1534 # fails, because we are probably configuring with a cross compiler
1535 # which cant create executables. So we include AC_EXEEXT to keep
1536 # automake happy, but we dont execute it, since we dont care about
1541 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1542 echo "configure:1543: checking for executable suffix" >&5
1543 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1544 echo $ac_n "(cached) $ac_c" 1>&6
1546 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1550 echo 'int main () { return 0; }' > conftest.$ac_ext
1552 if { (eval echo configure:1553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1553 for file in conftest.*; do
1555 *.c | *.o | *.obj | *.ilk | *.pdb) ;;
1556 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1560 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1563 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1568 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1569 echo "$ac_t""${ac_cv_exeext}" 1>&6
1574 . ${glibcpp_basedir}/configure.host
1576 case ${glibcpp_basedir} in
1577 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1578 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1581 # This does for the target what configure.host does for the host. In
1582 # addition to possibly modifying the same flags, it also sets up symlinks.
1584 . ${glibcpp_basedir}/configure.target
1585 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1586 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1592 # Check whether --enable-shared or --disable-shared was given.
1593 if test "${enable_shared+set}" = set; then
1594 enableval="$enable_shared"
1595 p=${PACKAGE-default}
1597 yes) enable_shared=yes ;;
1598 no) enable_shared=no ;;
1601 # Look at the argument we got. We use all the common list separators.
1602 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1603 for pkg in $enableval; do
1604 if test "X$pkg" = "X$p"; then
1615 # Check whether --enable-static or --disable-static was given.
1616 if test "${enable_static+set}" = set; then
1617 enableval="$enable_static"
1618 p=${PACKAGE-default}
1620 yes) enable_static=yes ;;
1621 no) enable_static=no ;;
1624 # Look at the argument we got. We use all the common list separators.
1625 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1626 for pkg in $enableval; do
1627 if test "X$pkg" = "X$p"; then
1638 # Check whether --enable-fast-install or --disable-fast-install was given.
1639 if test "${enable_fast_install+set}" = set; then
1640 enableval="$enable_fast_install"
1641 p=${PACKAGE-default}
1643 yes) enable_fast_install=yes ;;
1644 no) enable_fast_install=no ;;
1646 enable_fast_install=no
1647 # Look at the argument we got. We use all the common list separators.
1648 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1649 for pkg in $enableval; do
1650 if test "X$pkg" = "X$p"; then
1651 enable_fast_install=yes
1658 enable_fast_install=yes
1661 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1662 if test "${with_gnu_ld+set}" = set; then
1663 withval="$with_gnu_ld"
1664 test "$withval" = no || with_gnu_ld=yes
1670 if test "$GCC" = yes; then
1671 # Check if gcc -print-prog-name=ld gives a path.
1672 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1673 echo "configure:1674: checking for ld used by GCC" >&5
1676 # gcc leaves a trailing carriage return which upsets mingw
1677 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1679 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1682 # Accept absolute paths.
1683 [\\/]* | [A-Za-z]:[\\/]*)
1684 re_direlt='/[^/][^/]*/\.\./'
1685 # Canonicalize the path of ld
1686 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1687 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1688 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1690 test -z "$LD" && LD="$ac_prog"
1693 # If it fails, then pretend we aren't using GCC.
1697 # If it is relative, then search for the first ld in PATH.
1701 elif test "$with_gnu_ld" = yes; then
1702 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1703 echo "configure:1704: checking for GNU ld" >&5
1705 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1706 echo "configure:1707: checking for non-GNU ld" >&5
1708 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1709 echo $ac_n "(cached) $ac_c" 1>&6
1711 if test -z "$LD"; then
1712 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1713 for ac_dir in $PATH; do
1714 test -z "$ac_dir" && ac_dir=.
1715 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1716 lt_cv_path_LD="$ac_dir/$ac_prog"
1717 # Check to see if the program is GNU ld. I'd rather use --version,
1718 # but apparently some GNU ld's only accept -v.
1719 # Break only if it was the GNU/non-GNU ld that we prefer.
1720 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1721 test "$with_gnu_ld" != no && break
1723 test "$with_gnu_ld" != yes && break
1729 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1734 if test -n "$LD"; then
1735 echo "$ac_t""$LD" 1>&6
1737 echo "$ac_t""no" 1>&6
1739 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1740 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1741 echo "configure:1742: checking if the linker ($LD) is GNU ld" >&5
1742 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1743 echo $ac_n "(cached) $ac_c" 1>&6
1745 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1746 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1747 lt_cv_prog_gnu_ld=yes
1749 lt_cv_prog_gnu_ld=no
1753 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1754 with_gnu_ld=$lt_cv_prog_gnu_ld
1757 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1758 echo "configure:1759: checking for $LD option to reload object files" >&5
1759 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1760 echo $ac_n "(cached) $ac_c" 1>&6
1762 lt_cv_ld_reload_flag='-r'
1765 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1766 reload_flag=$lt_cv_ld_reload_flag
1767 test -n "$reload_flag" && reload_flag=" $reload_flag"
1769 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1770 echo "configure:1771: checking for BSD-compatible nm" >&5
1771 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1772 echo $ac_n "(cached) $ac_c" 1>&6
1774 if test -n "$NM"; then
1775 # Let the user override the test.
1778 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1779 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1780 test -z "$ac_dir" && ac_dir=.
1781 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1782 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1783 # Check to see if the nm accepts a BSD-compat flag.
1784 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1785 # nm: unknown option "B" ignored
1786 # Tru64's nm complains that /dev/null is an invalid object file
1787 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1788 lt_cv_path_NM="$tmp_nm -B"
1790 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1791 lt_cv_path_NM="$tmp_nm -p"
1794 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1795 continue # so that we can try to find one that supports BSD flags
1800 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1805 echo "$ac_t""$NM" 1>&6
1807 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1808 echo "configure:1809: checking whether ln -s works" >&5
1809 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1810 echo $ac_n "(cached) $ac_c" 1>&6
1813 if ln -s X conftestdata 2>/dev/null
1816 ac_cv_prog_LN_S="ln -s"
1821 LN_S="$ac_cv_prog_LN_S"
1822 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1823 echo "$ac_t""yes" 1>&6
1825 echo "$ac_t""no" 1>&6
1828 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1829 echo "configure:1830: checking how to recognise dependant libraries" >&5
1830 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1831 echo $ac_n "(cached) $ac_c" 1>&6
1833 lt_cv_file_magic_cmd='$MAGIC_CMD'
1834 lt_cv_file_magic_test_file=
1835 lt_cv_deplibs_check_method='unknown'
1836 # Need to set the preceding variable on all platforms that support
1837 # interlibrary dependencies.
1838 # 'none' -- dependencies not supported.
1839 # `unknown' -- same as none, but documents that we really don't know.
1840 # 'pass_all' -- all dependencies passed with no checks.
1841 # 'test_compile' -- check by making test program.
1842 # 'file_magic [regex]' -- check by looking for files in library path
1843 # which responds to the $file_magic_cmd with a given egrep regex.
1844 # If you have `file' or equivalent on your system and you're not sure
1845 # whether `pass_all' will *always* work, you probably want this one.
1849 lt_cv_deplibs_check_method=pass_all
1853 lt_cv_deplibs_check_method=pass_all
1857 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1858 lt_cv_file_magic_cmd='/usr/bin/file -L'
1859 lt_cv_file_magic_test_file=/shlib/libc.so
1862 cygwin* | mingw* |pw32*)
1863 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1864 lt_cv_file_magic_cmd='$OBJDUMP -f'
1867 darwin* | rhapsody*)
1868 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1869 lt_cv_file_magic_cmd='/usr/bin/file -L'
1871 rhapsody* | darwin1.012)
1872 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1875 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1881 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1884 # Not sure whether the presence of OpenBSD here was a mistake.
1885 # Let's accept both of them until this is cleared up.
1886 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1887 lt_cv_file_magic_cmd=/usr/bin/file
1888 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1892 lt_cv_deplibs_check_method=pass_all
1897 lt_cv_deplibs_check_method=pass_all
1901 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1902 lt_cv_file_magic_cmd=/usr/bin/file
1903 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1909 # this will be overridden with pass_all, but let us keep it just in case
1910 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1914 *-32|*"-32 ") libmagic=32-bit;;
1915 *-n32|*"-n32 ") libmagic=N32;;
1916 *-64|*"-64 ") libmagic=64-bit;;
1917 *) libmagic=never-match;;
1919 # this will be overridden with pass_all, but let us keep it just in case
1920 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
1923 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1924 lt_cv_deplibs_check_method=pass_all
1927 # This must be Linux ELF.
1930 alpha* | i*86 | powerpc* | sparc* | ia64* )
1931 lt_cv_deplibs_check_method=pass_all ;;
1933 # glibc up to 2.1.1 does not perform some relocations on ARM
1934 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
1936 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
1940 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1941 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
1943 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
1948 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
1949 lt_cv_file_magic_cmd=/usr/bin/file
1950 lt_cv_file_magic_test_file=/usr/lib/libnls.so
1953 osf3* | osf4* | osf5*)
1954 # this will be overridden with pass_all, but let us keep it just in case
1955 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
1956 lt_cv_file_magic_test_file=/shlib/libc.so
1957 lt_cv_deplibs_check_method=pass_all
1961 lt_cv_deplibs_check_method=pass_all
1965 lt_cv_deplibs_check_method=pass_all
1966 lt_cv_file_magic_test_file=/lib/libc.so
1969 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1970 case $host_vendor in
1972 lt_cv_deplibs_check_method=pass_all
1975 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]'
1976 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1984 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
1985 file_magic_cmd=$lt_cv_file_magic_cmd
1986 deplibs_check_method=$lt_cv_deplibs_check_method
1988 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
1989 echo "configure:1990: checking for object suffix" >&5
1990 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
1991 echo $ac_n "(cached) $ac_c" 1>&6
1994 echo 'int i = 1;' > conftest.$ac_ext
1995 if { (eval echo configure:1996: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1996 for ac_file in conftest.*; do
1999 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2003 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2008 echo "$ac_t""$ac_cv_objext" 1>&6
2009 OBJEXT=$ac_cv_objext
2010 ac_objext=$ac_cv_objext
2012 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2014 # Only perform the check for file, if the check method requires it
2015 case $deplibs_check_method in
2017 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2018 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2019 echo "configure:2020: checking for ${ac_tool_prefix}file" >&5
2020 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2021 echo $ac_n "(cached) $ac_c" 1>&6
2025 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2028 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2031 ac_save_MAGIC_CMD="$MAGIC_CMD"
2032 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2033 ac_dummy="/usr/bin:$PATH"
2034 for ac_dir in $ac_dummy; do
2035 test -z "$ac_dir" && ac_dir=.
2036 if test -f $ac_dir/${ac_tool_prefix}file; then
2037 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2038 if test -n "$file_magic_test_file"; then
2039 case $deplibs_check_method in
2041 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2042 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2043 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2044 egrep "$file_magic_regex" > /dev/null; then
2049 *** Warning: the command libtool uses to detect shared libraries,
2050 *** $file_magic_cmd, produces output that libtool cannot recognize.
2051 *** The result is that libtool may fail to recognize shared libraries
2052 *** as such. This will affect the creation of libtool libraries that
2053 *** depend on shared libraries, but programs linked with such libtool
2054 *** libraries will work regardless of this problem. Nevertheless, you
2055 *** may want to report the problem to your system manager and/or to
2056 *** bug-libtool@gnu.org
2066 MAGIC_CMD="$ac_save_MAGIC_CMD"
2071 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2072 if test -n "$MAGIC_CMD"; then
2073 echo "$ac_t""$MAGIC_CMD" 1>&6
2075 echo "$ac_t""no" 1>&6
2078 if test -z "$lt_cv_path_MAGIC_CMD"; then
2079 if test -n "$ac_tool_prefix"; then
2080 echo $ac_n "checking for file""... $ac_c" 1>&6
2081 echo "configure:2082: checking for file" >&5
2082 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2083 echo $ac_n "(cached) $ac_c" 1>&6
2087 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2090 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2093 ac_save_MAGIC_CMD="$MAGIC_CMD"
2094 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2095 ac_dummy="/usr/bin:$PATH"
2096 for ac_dir in $ac_dummy; do
2097 test -z "$ac_dir" && ac_dir=.
2098 if test -f $ac_dir/file; then
2099 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2100 if test -n "$file_magic_test_file"; then
2101 case $deplibs_check_method in
2103 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2104 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2105 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2106 egrep "$file_magic_regex" > /dev/null; then
2111 *** Warning: the command libtool uses to detect shared libraries,
2112 *** $file_magic_cmd, produces output that libtool cannot recognize.
2113 *** The result is that libtool may fail to recognize shared libraries
2114 *** as such. This will affect the creation of libtool libraries that
2115 *** depend on shared libraries, but programs linked with such libtool
2116 *** libraries will work regardless of this problem. Nevertheless, you
2117 *** may want to report the problem to your system manager and/or to
2118 *** bug-libtool@gnu.org
2128 MAGIC_CMD="$ac_save_MAGIC_CMD"
2133 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2134 if test -n "$MAGIC_CMD"; then
2135 echo "$ac_t""$MAGIC_CMD" 1>&6
2137 echo "$ac_t""no" 1>&6
2149 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2150 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2151 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2152 echo "configure:2153: checking for $ac_word" >&5
2153 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2154 echo $ac_n "(cached) $ac_c" 1>&6
2156 if test -n "$RANLIB"; then
2157 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2159 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2161 for ac_dir in $ac_dummy; do
2162 test -z "$ac_dir" && ac_dir=.
2163 if test -f $ac_dir/$ac_word; then
2164 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2171 RANLIB="$ac_cv_prog_RANLIB"
2172 if test -n "$RANLIB"; then
2173 echo "$ac_t""$RANLIB" 1>&6
2175 echo "$ac_t""no" 1>&6
2179 if test -z "$ac_cv_prog_RANLIB"; then
2180 if test -n "$ac_tool_prefix"; then
2181 # Extract the first word of "ranlib", so it can be a program name with args.
2182 set dummy ranlib; ac_word=$2
2183 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2184 echo "configure:2185: checking for $ac_word" >&5
2185 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2186 echo $ac_n "(cached) $ac_c" 1>&6
2188 if test -n "$RANLIB"; then
2189 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2191 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2193 for ac_dir in $ac_dummy; do
2194 test -z "$ac_dir" && ac_dir=.
2195 if test -f $ac_dir/$ac_word; then
2196 ac_cv_prog_RANLIB="ranlib"
2201 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2204 RANLIB="$ac_cv_prog_RANLIB"
2205 if test -n "$RANLIB"; then
2206 echo "$ac_t""$RANLIB" 1>&6
2208 echo "$ac_t""no" 1>&6
2216 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2217 set dummy ${ac_tool_prefix}strip; ac_word=$2
2218 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2219 echo "configure:2220: checking for $ac_word" >&5
2220 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2221 echo $ac_n "(cached) $ac_c" 1>&6
2223 if test -n "$STRIP"; then
2224 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2226 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2228 for ac_dir in $ac_dummy; do
2229 test -z "$ac_dir" && ac_dir=.
2230 if test -f $ac_dir/$ac_word; then
2231 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2238 STRIP="$ac_cv_prog_STRIP"
2239 if test -n "$STRIP"; then
2240 echo "$ac_t""$STRIP" 1>&6
2242 echo "$ac_t""no" 1>&6
2246 if test -z "$ac_cv_prog_STRIP"; then
2247 if test -n "$ac_tool_prefix"; then
2248 # Extract the first word of "strip", so it can be a program name with args.
2249 set dummy strip; ac_word=$2
2250 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2251 echo "configure:2252: checking for $ac_word" >&5
2252 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2253 echo $ac_n "(cached) $ac_c" 1>&6
2255 if test -n "$STRIP"; then
2256 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2258 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2260 for ac_dir in $ac_dummy; do
2261 test -z "$ac_dir" && ac_dir=.
2262 if test -f $ac_dir/$ac_word; then
2263 ac_cv_prog_STRIP="strip"
2268 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2271 STRIP="$ac_cv_prog_STRIP"
2272 if test -n "$STRIP"; then
2273 echo "$ac_t""$STRIP" 1>&6
2275 echo "$ac_t""no" 1>&6
2284 # Check for any special flags to pass to ltconfig.
2285 libtool_flags="--cache-file=$cache_file"
2286 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2287 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2288 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2289 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2290 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2291 libtool_flags="$libtool_flags --enable-dlopen"
2293 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2294 if test "${enable_libtool_lock+set}" = set; then
2295 enableval="$enable_libtool_lock"
2299 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2300 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2302 # Check whether --with-pic or --without-pic was given.
2303 if test "${with_pic+set}" = set; then
2310 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2311 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2313 # Some flags need to be propagated to the compiler or linker for good
2317 # Find out which ABI we are using.
2318 echo '#line 2319 "configure"' > conftest.$ac_ext
2319 if { (eval echo configure:2320: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2320 case `/usr/bin/file conftest.$ac_objext` in
2336 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2337 SAVE_CFLAGS="$CFLAGS"
2338 CFLAGS="$CFLAGS -belf"
2339 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2340 echo "configure:2341: checking whether the C compiler needs -belf" >&5
2341 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2342 echo $ac_n "(cached) $ac_c" 1>&6
2346 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2347 ac_cpp='$CPP $CPPFLAGS'
2348 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2349 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2350 cross_compiling=$ac_cv_prog_cc_cross
2352 cat > conftest.$ac_ext <<EOF
2353 #line 2354 "configure"
2354 #include "confdefs.h"
2360 if { (eval echo configure:2361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2362 lt_cv_cc_needs_belf=yes
2364 echo "configure: failed program was:" >&5
2365 cat conftest.$ac_ext >&5
2367 lt_cv_cc_needs_belf=no
2371 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2372 ac_cpp='$CPP $CPPFLAGS'
2373 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2374 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2375 cross_compiling=$ac_cv_prog_cc_cross
2379 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2380 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2381 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2382 CFLAGS="$SAVE_CFLAGS"
2389 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2390 echo "configure:2391: checking how to run the C++ preprocessor" >&5
2391 if test -z "$CXXCPP"; then
2392 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2393 echo $ac_n "(cached) $ac_c" 1>&6
2396 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2397 ac_cpp='$CXXCPP $CPPFLAGS'
2398 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2399 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2400 cross_compiling=$ac_cv_prog_cxx_cross
2401 CXXCPP="${CXX-g++} -E"
2402 cat > conftest.$ac_ext <<EOF
2403 #line 2404 "configure"
2404 #include "confdefs.h"
2407 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2408 { (eval echo configure:2409: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2409 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2410 if test -z "$ac_err"; then
2414 echo "configure: failed program was:" >&5
2415 cat conftest.$ac_ext >&5
2420 ac_cv_prog_CXXCPP="$CXXCPP"
2422 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2423 ac_cpp='$CPP $CPPFLAGS'
2424 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2425 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2426 cross_compiling=$ac_cv_prog_cc_cross
2429 CXXCPP="$ac_cv_prog_CXXCPP"
2430 echo "$ac_t""$CXXCPP" 1>&6
2433 # Save cache, so that ltconfig can load it
2434 cat > confcache <<\EOF
2435 # This file is a shell script that caches the results of configure
2436 # tests run on this system so they can be shared between configure
2437 # scripts and configure runs. It is not useful on other systems.
2438 # If it contains results you don't want to keep, you may remove or edit it.
2440 # By default, configure uses ./config.cache as the cache file,
2441 # creating it if it does not exist already. You can give configure
2442 # the --cache-file=FILE option to use a different cache file; that is
2443 # what configure does when it calls configure scripts in
2444 # subdirectories, so they share the cache.
2445 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2446 # config.status only pays attention to the cache file if you give it the
2447 # --recheck option to rerun configure.
2450 # The following way of writing the cache mishandles newlines in values,
2451 # but we know of no workaround that is simple, portable, and efficient.
2452 # So, don't put newlines in cache variables' values.
2453 # Ultrix sh set writes to stderr and can't be redirected directly,
2454 # and sets the high bit in the cache file unless we assign to the vars.
2456 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2458 # `set' does not quote correctly, so add quotes (double-quote substitution
2459 # turns \\\\ into \\, and sed turns \\ into \).
2461 -e "s/'/'\\\\''/g" \
2462 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2465 # `set' quotes correctly as required by POSIX, so do not add quotes.
2466 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2469 if cmp -s $cache_file confcache; then
2472 if test -w $cache_file; then
2473 echo "updating cache $cache_file"
2474 cat confcache > $cache_file
2476 echo "not updating unwritable cache $cache_file"
2482 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2483 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2484 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2485 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2486 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2487 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2488 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2489 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2490 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2491 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2493 # Reload cache, that may have been modified by ltconfig
2494 if test -r "$cache_file"; then
2495 echo "loading cache $cache_file"
2498 echo "creating cache $cache_file"
2503 # This can be used to rebuild libtool when needed
2504 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2506 # Always use our own libtool.
2507 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2509 # Redirect the config.log output again, so that the ltconfig log is not
2510 # clobbered by the next message.
2511 exec 5>>./config.log
2515 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2517 lt_save_CFLAGS="$CFLAGS"
2518 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2519 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2520 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2521 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2522 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2523 deplibs_check_method="$deplibs_check_method" \
2524 file_magic_cmd="$file_magic_cmd" \
2525 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2526 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2527 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2529 CFLAGS="$lt_save_CFLAGS"
2531 # Redirect the config.log output again, so that the ltconfig log is not
2532 # clobbered by the next message.
2533 exec 5>>./config.log
2542 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2543 echo "configure:2544: checking for GNU make" >&5
2544 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2545 echo $ac_n "(cached) $ac_c" 1>&6
2547 _cv_gnu_make_command='' ;
2548 for a in "${MAKE-make}" make gmake gnumake ; do
2549 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2551 _cv_gnu_make_command=$a ;
2558 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2559 if test "x$_cv_gnu_make_command" != "x" ; then
2566 if test "x$_cv_gnu_make_command" = "x"; then
2567 { echo "configure: error: GNU make not found. Please install it or correct your path." 1>&2; exit 1; }
2573 # Check for c++ or library specific bits that don't require linking.
2575 if test ! -f stamp-sanity-compiler; then
2576 echo $ac_n "checking for g++ that will successfully compile libstdc++-v3""... $ac_c" 1>&6
2577 echo "configure:2578: checking for g++ that will successfully compile libstdc++-v3" >&5
2580 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2581 ac_cpp='$CXXCPP $CPPFLAGS'
2582 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2583 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2584 cross_compiling=$ac_cv_prog_cxx_cross
2586 cat > conftest.$ac_ext <<EOF
2587 #line 2588 "configure"
2588 #include "confdefs.h"
2595 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2596 egrep "ok" >/dev/null 2>&1; then
2598 gpp_satisfactory=yes
2601 { echo "configure: error: please upgrade to GCC 3.0 or above" 1>&2; exit 1; }
2606 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2607 ac_cpp='$CPP $CPPFLAGS'
2608 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2609 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2610 cross_compiling=$ac_cv_prog_cc_cross
2612 echo "$ac_t""$gpp_satisfactory" 1>&6
2613 touch stamp-sanity-compiler
2617 # Enable all the crazy c++ stuff. C_MBCHAR must come early.
2618 # Check whether --enable-debug or --disable-debug was given.
2619 if test "${enable_debug+set}" = set; then
2620 enableval="$enable_debug"
2621 case "${enableval}" in
2622 yes) enable_debug=yes ;;
2623 no) enable_debug=no ;;
2624 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2630 case "${enable_debug}" in
2632 DEBUG_FLAGS='-O0 -ggdb3'
2640 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2641 echo "configure:2642: checking how to run the C preprocessor" >&5
2642 # On Suns, sometimes $CPP names a directory.
2643 if test -n "$CPP" && test -d "$CPP"; then
2646 if test -z "$CPP"; then
2647 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2648 echo $ac_n "(cached) $ac_c" 1>&6
2650 # This must be in double quotes, not single quotes, because CPP may get
2651 # substituted into the Makefile and "${CC-cc}" will confuse make.
2653 # On the NeXT, cc -E runs the code through the compiler's parser,
2654 # not just through cpp.
2655 cat > conftest.$ac_ext <<EOF
2656 #line 2657 "configure"
2657 #include "confdefs.h"
2661 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2662 { (eval echo configure:2663: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2663 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2664 if test -z "$ac_err"; then
2668 echo "configure: failed program was:" >&5
2669 cat conftest.$ac_ext >&5
2671 CPP="${CC-cc} -E -traditional-cpp"
2672 cat > conftest.$ac_ext <<EOF
2673 #line 2674 "configure"
2674 #include "confdefs.h"
2678 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2679 { (eval echo configure:2680: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2680 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2681 if test -z "$ac_err"; then
2685 echo "configure: failed program was:" >&5
2686 cat conftest.$ac_ext >&5
2688 CPP="${CC-cc} -nologo -E"
2689 cat > conftest.$ac_ext <<EOF
2690 #line 2691 "configure"
2691 #include "confdefs.h"
2695 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2696 { (eval echo configure:2697: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2697 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2698 if test -z "$ac_err"; then
2702 echo "configure: failed program was:" >&5
2703 cat conftest.$ac_ext >&5
2712 ac_cv_prog_CPP="$CPP"
2714 CPP="$ac_cv_prog_CPP"
2716 ac_cv_prog_CPP="$CPP"
2718 echo "$ac_t""$CPP" 1>&6
2721 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2722 echo "configure:2723: checking for cstdio to use" >&5
2723 # Check whether --enable-cstdio or --disable-cstdio was given.
2724 if test "${enable_cstdio+set}" = set; then
2725 enableval="$enable_cstdio"
2726 if test x$enable_cstdio = xno; then
2734 enable_cstdio_flag=$enable_cstdio
2736 case x${enable_cstdio_flag} in
2738 CSTDIO_H=config/c_io_libio.h
2739 BASIC_FILE_H=config/basic_file_libio.h
2740 BASIC_FILE_CC=config/basic_file_libio.cc
2741 echo "$ac_t""libio" 1>&6
2743 # see if we are on a system with libio native (ie, linux)
2744 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2745 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2746 echo "configure:2747: checking for libio.h" >&5
2747 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2748 echo $ac_n "(cached) $ac_c" 1>&6
2750 cat > conftest.$ac_ext <<EOF
2751 #line 2752 "configure"
2752 #include "confdefs.h"
2755 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2756 { (eval echo configure:2757: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2757 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2758 if test -z "$ac_err"; then
2760 eval "ac_cv_header_$ac_safe=yes"
2763 echo "configure: failed program was:" >&5
2764 cat conftest.$ac_ext >&5
2766 eval "ac_cv_header_$ac_safe=no"
2770 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2771 echo "$ac_t""yes" 1>&6
2774 echo "$ac_t""no" 1>&6
2779 # Need to check and see what version of glibc is being used. If
2780 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2781 # compile most of libio for linux systems.
2782 if test x$has_libio = x"yes"; then
2785 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2786 echo "configure:2787: checking for glibc version >= 2.2" >&5
2787 cat > conftest.$ac_ext <<EOF
2788 #line 2789 "configure"
2789 #include "confdefs.h"
2791 #include <features.h>
2792 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2797 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2798 egrep "ok" >/dev/null 2>&1; then
2800 glibc_satisfactory=yes
2803 glibc_satisfactory=no
2807 echo "$ac_t""$glibc_satisfactory" 1>&6
2811 # XXX at the moment, admit defeat and force the recompilation
2812 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2813 glibc_satisfactory=no
2815 if test x$glibc_satisfactory = x"yes"; then
2820 # bkoz XXX need to add checks to enable this
2821 # pme XXX here's a first pass at such a check
2822 if test x$enable_c_mbchar != xno; then
2830 # Using libio, but <libio.h> doesn't exist on the target system. . .
2832 # bkoz XXX need to add checks to enable this
2833 # pme XXX here's a first pass at such a check
2834 if test x$enable_c_mbchar != xno; then
2841 xstdio | x | xno | xnone | xyes)
2843 CSTDIO_H=config/c_io_stdio.h
2844 BASIC_FILE_H=config/basic_file_stdio.h
2845 BASIC_FILE_CC=config/basic_file_stdio.cc
2846 echo "$ac_t""stdio" 1>&6
2848 # We're not using stdio.
2853 echo "$enable_cstdio is an unknown io package" 1>&2
2861 # 2000-08-04 bkoz hack
2862 CCODECVT_C=config/c_io_libio_codecvt.c
2864 # 2000-08-04 bkoz hack
2868 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2869 GLIBCPP_BUILD_LIBIO_TRUE=
2870 GLIBCPP_BUILD_LIBIO_FALSE='#'
2872 GLIBCPP_BUILD_LIBIO_TRUE='#'
2873 GLIBCPP_BUILD_LIBIO_FALSE=
2877 if test "$need_libio" = yes; then
2878 GLIBCPP_NEED_LIBIO_TRUE=
2879 GLIBCPP_NEED_LIBIO_FALSE='#'
2881 GLIBCPP_NEED_LIBIO_TRUE='#'
2882 GLIBCPP_NEED_LIBIO_FALSE=
2886 if test "$need_wlibio" = yes; then
2887 GLIBCPP_NEED_WLIBIO_TRUE=
2888 GLIBCPP_NEED_WLIBIO_FALSE='#'
2890 GLIBCPP_NEED_WLIBIO_TRUE='#'
2891 GLIBCPP_NEED_WLIBIO_FALSE=
2893 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2894 libio_la=../libio/libio.la
2901 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
2902 echo "configure:2903: checking for clocale to use" >&5
2903 # Check whether --enable-clocale or --disable-clocale was given.
2904 if test "${enable_clocale+set}" = set; then
2905 enableval="$enable_clocale"
2906 if test x$enable_clocale = xno; then
2907 enable_clocale=generic
2910 enable_clocale=generic
2914 enable_clocale_flag=$enable_clocale
2916 case x${enable_clocale_flag} in
2918 CLOCALE_H=config/c_locale_gnu.h
2919 CLOCALE_CC=config/c_locale_gnu.cc
2920 echo "$ac_t""gnu" 1>&6
2923 CLOCALE_H=config/c_locale_generic.h
2924 CLOCALE_CC=config/c_locale_generic.cc
2925 echo "$ac_t""generic" 1>&6
2928 echo "$enable_clocale is an unknown locale package" 1>&2
2936 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
2937 if test "${enable_c_mbchar+set}" = set; then
2938 enableval="$enable_c_mbchar"
2939 case "$enableval" in
2940 yes) enable_c_mbchar=yes ;;
2941 no) enable_c_mbchar=no ;;
2942 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
2949 # Check whether --enable-c99 or --disable-c99 was given.
2950 if test "${enable_c99+set}" = set; then
2951 enableval="$enable_c99"
2952 case "$enableval" in
2953 yes) enable_c99=yes ;;
2954 no) enable_c99=no ;;
2955 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
2963 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2964 ac_cpp='$CXXCPP $CPPFLAGS'
2965 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2966 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2967 cross_compiling=$ac_cv_prog_cxx_cross
2970 # Check for the existence of <math.h> functions used if C99 is enabled.
2971 cat > conftest.$ac_ext <<EOF
2972 #line 2973 "configure"
2973 #include "confdefs.h"
2979 if { (eval echo configure:2980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2982 echo "configure: failed program was:" >&5
2983 cat conftest.$ac_ext >&5
2988 cat > conftest.$ac_ext <<EOF
2989 #line 2990 "configure"
2990 #include "confdefs.h"
2996 if { (eval echo configure:2997: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2999 echo "configure: failed program was:" >&5
3000 cat conftest.$ac_ext >&5
3005 cat > conftest.$ac_ext <<EOF
3006 #line 3007 "configure"
3007 #include "confdefs.h"
3013 if { (eval echo configure:3014: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3016 echo "configure: failed program was:" >&5
3017 cat conftest.$ac_ext >&5
3022 cat > conftest.$ac_ext <<EOF
3023 #line 3024 "configure"
3024 #include "confdefs.h"
3030 if { (eval echo configure:3031: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3033 echo "configure: failed program was:" >&5
3034 cat conftest.$ac_ext >&5
3039 cat > conftest.$ac_ext <<EOF
3040 #line 3041 "configure"
3041 #include "confdefs.h"
3047 if { (eval echo configure:3048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3050 echo "configure: failed program was:" >&5
3051 cat conftest.$ac_ext >&5
3056 cat > conftest.$ac_ext <<EOF
3057 #line 3058 "configure"
3058 #include "confdefs.h"
3064 if { (eval echo configure:3065: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3067 echo "configure: failed program was:" >&5
3068 cat conftest.$ac_ext >&5
3073 cat > conftest.$ac_ext <<EOF
3074 #line 3075 "configure"
3075 #include "confdefs.h"
3081 if { (eval echo configure:3082: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3084 echo "configure: failed program was:" >&5
3085 cat conftest.$ac_ext >&5
3090 cat > conftest.$ac_ext <<EOF
3091 #line 3092 "configure"
3092 #include "confdefs.h"
3095 isgreaterequal(0.0,0.0);
3098 if { (eval echo configure:3099: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3101 echo "configure: failed program was:" >&5
3102 cat conftest.$ac_ext >&5
3107 cat > conftest.$ac_ext <<EOF
3108 #line 3109 "configure"
3109 #include "confdefs.h"
3115 if { (eval echo configure:3116: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3118 echo "configure: failed program was:" >&5
3119 cat conftest.$ac_ext >&5
3124 cat > conftest.$ac_ext <<EOF
3125 #line 3126 "configure"
3126 #include "confdefs.h"
3129 islessequal(0.0,0.0);
3132 if { (eval echo configure:3133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3135 echo "configure: failed program was:" >&5
3136 cat conftest.$ac_ext >&5
3141 cat > conftest.$ac_ext <<EOF
3142 #line 3143 "configure"
3143 #include "confdefs.h"
3146 islessgreater(0.0,0.0);
3149 if { (eval echo configure:3150: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3152 echo "configure: failed program was:" >&5
3153 cat conftest.$ac_ext >&5
3158 cat > conftest.$ac_ext <<EOF
3159 #line 3160 "configure"
3160 #include "confdefs.h"
3163 isunordered(0.0,0.0);
3166 if { (eval echo configure:3167: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3169 echo "configure: failed program was:" >&5
3170 cat conftest.$ac_ext >&5
3176 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3177 echo $ac_n "checking for strtoll""... $ac_c" 1>&6
3178 echo "configure:3179: checking for strtoll" >&5
3179 if eval "test \"`echo '$''{'ac_cv_func_strtoll'+set}'`\" = set"; then
3180 echo $ac_n "(cached) $ac_c" 1>&6
3182 cat > conftest.$ac_ext <<EOF
3183 #line 3184 "configure"
3184 #include "confdefs.h"
3185 /* System header to define __stub macros and hopefully few prototypes,
3186 which can conflict with char strtoll(); below. */
3188 /* Override any gcc2 internal prototype to avoid an error. */
3192 /* We use char because int might match the return type of a gcc2
3193 builtin and then its argument prototype would still apply. */
3198 /* The GNU C library defines this for functions which it implements
3199 to always fail with ENOSYS. Some functions are actually named
3200 something starting with __ and the normal name is an alias. */
3201 #if defined (__stub_strtoll) || defined (__stub___strtoll)
3209 if { (eval echo configure:3210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3211 eval "ac_cv_func_strtoll=yes"
3213 echo "configure: failed program was:" >&5
3214 cat conftest.$ac_ext >&5
3216 eval "ac_cv_func_strtoll=no"
3221 if eval "test \"`echo '$ac_cv_func_'strtoll`\" = yes"; then
3222 echo "$ac_t""yes" 1>&6
3225 echo "$ac_t""no" 1>&6
3229 echo $ac_n "checking for strtoull""... $ac_c" 1>&6
3230 echo "configure:3231: checking for strtoull" >&5
3231 if eval "test \"`echo '$''{'ac_cv_func_strtoull'+set}'`\" = set"; then
3232 echo $ac_n "(cached) $ac_c" 1>&6
3234 cat > conftest.$ac_ext <<EOF
3235 #line 3236 "configure"
3236 #include "confdefs.h"
3237 /* System header to define __stub macros and hopefully few prototypes,
3238 which can conflict with char strtoull(); below. */
3240 /* Override any gcc2 internal prototype to avoid an error. */
3244 /* We use char because int might match the return type of a gcc2
3245 builtin and then its argument prototype would still apply. */
3250 /* The GNU C library defines this for functions which it implements
3251 to always fail with ENOSYS. Some functions are actually named
3252 something starting with __ and the normal name is an alias. */
3253 #if defined (__stub_strtoull) || defined (__stub___strtoull)
3261 if { (eval echo configure:3262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3263 eval "ac_cv_func_strtoull=yes"
3265 echo "configure: failed program was:" >&5
3266 cat conftest.$ac_ext >&5
3268 eval "ac_cv_func_strtoull=no"
3273 if eval "test \"`echo '$ac_cv_func_'strtoull`\" = yes"; then
3274 echo "$ac_t""yes" 1>&6
3277 echo "$ac_t""no" 1>&6
3281 echo $ac_n "checking for llabs""... $ac_c" 1>&6
3282 echo "configure:3283: checking for llabs" >&5
3283 if eval "test \"`echo '$''{'ac_cv_func_llabs'+set}'`\" = set"; then
3284 echo $ac_n "(cached) $ac_c" 1>&6
3286 cat > conftest.$ac_ext <<EOF
3287 #line 3288 "configure"
3288 #include "confdefs.h"
3289 /* System header to define __stub macros and hopefully few prototypes,
3290 which can conflict with char llabs(); below. */
3292 /* Override any gcc2 internal prototype to avoid an error. */
3296 /* We use char because int might match the return type of a gcc2
3297 builtin and then its argument prototype would still apply. */
3302 /* The GNU C library defines this for functions which it implements
3303 to always fail with ENOSYS. Some functions are actually named
3304 something starting with __ and the normal name is an alias. */
3305 #if defined (__stub_llabs) || defined (__stub___llabs)
3313 if { (eval echo configure:3314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3315 eval "ac_cv_func_llabs=yes"
3317 echo "configure: failed program was:" >&5
3318 cat conftest.$ac_ext >&5
3320 eval "ac_cv_func_llabs=no"
3325 if eval "test \"`echo '$ac_cv_func_'llabs`\" = yes"; then
3326 echo "$ac_t""yes" 1>&6
3329 echo "$ac_t""no" 1>&6
3333 echo $ac_n "checking for lldiv""... $ac_c" 1>&6
3334 echo "configure:3335: checking for lldiv" >&5
3335 if eval "test \"`echo '$''{'ac_cv_func_lldiv'+set}'`\" = set"; then
3336 echo $ac_n "(cached) $ac_c" 1>&6
3338 cat > conftest.$ac_ext <<EOF
3339 #line 3340 "configure"
3340 #include "confdefs.h"
3341 /* System header to define __stub macros and hopefully few prototypes,
3342 which can conflict with char lldiv(); below. */
3344 /* Override any gcc2 internal prototype to avoid an error. */
3348 /* We use char because int might match the return type of a gcc2
3349 builtin and then its argument prototype would still apply. */
3354 /* The GNU C library defines this for functions which it implements
3355 to always fail with ENOSYS. Some functions are actually named
3356 something starting with __ and the normal name is an alias. */
3357 #if defined (__stub_lldiv) || defined (__stub___lldiv)
3365 if { (eval echo configure:3366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3367 eval "ac_cv_func_lldiv=yes"
3369 echo "configure: failed program was:" >&5
3370 cat conftest.$ac_ext >&5
3372 eval "ac_cv_func_lldiv=no"
3377 if eval "test \"`echo '$ac_cv_func_'lldiv`\" = yes"; then
3378 echo "$ac_t""yes" 1>&6
3381 echo "$ac_t""no" 1>&6
3385 echo $ac_n "checking for atoll""... $ac_c" 1>&6
3386 echo "configure:3387: checking for atoll" >&5
3387 if eval "test \"`echo '$''{'ac_cv_func_atoll'+set}'`\" = set"; then
3388 echo $ac_n "(cached) $ac_c" 1>&6
3390 cat > conftest.$ac_ext <<EOF
3391 #line 3392 "configure"
3392 #include "confdefs.h"
3393 /* System header to define __stub macros and hopefully few prototypes,
3394 which can conflict with char atoll(); below. */
3396 /* Override any gcc2 internal prototype to avoid an error. */
3400 /* We use char because int might match the return type of a gcc2
3401 builtin and then its argument prototype would still apply. */
3406 /* The GNU C library defines this for functions which it implements
3407 to always fail with ENOSYS. Some functions are actually named
3408 something starting with __ and the normal name is an alias. */
3409 #if defined (__stub_atoll) || defined (__stub___atoll)
3417 if { (eval echo configure:3418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3419 eval "ac_cv_func_atoll=yes"
3421 echo "configure: failed program was:" >&5
3422 cat conftest.$ac_ext >&5
3424 eval "ac_cv_func_atoll=no"
3429 if eval "test \"`echo '$ac_cv_func_'atoll`\" = yes"; then
3430 echo "$ac_t""yes" 1>&6
3433 echo "$ac_t""no" 1>&6
3438 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3439 echo "configure:3440: checking for lldiv_t declaration" >&5
3440 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3441 echo $ac_n "(cached) $ac_c" 1>&6
3444 cat > conftest.$ac_ext <<EOF
3445 #line 3446 "configure"
3446 #include "confdefs.h"
3452 if { (eval echo configure:3453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3456 echo "configure: failed program was:" >&5
3457 cat conftest.$ac_ext >&5
3465 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3466 if test x"$ac_c99_lldiv_t" = x"no"; then
3470 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3471 echo $ac_n "checking for wcstold""... $ac_c" 1>&6
3472 echo "configure:3473: checking for wcstold" >&5
3473 if eval "test \"`echo '$''{'ac_cv_func_wcstold'+set}'`\" = set"; then
3474 echo $ac_n "(cached) $ac_c" 1>&6
3476 cat > conftest.$ac_ext <<EOF
3477 #line 3478 "configure"
3478 #include "confdefs.h"
3479 /* System header to define __stub macros and hopefully few prototypes,
3480 which can conflict with char wcstold(); below. */
3482 /* Override any gcc2 internal prototype to avoid an error. */
3486 /* We use char because int might match the return type of a gcc2
3487 builtin and then its argument prototype would still apply. */
3492 /* The GNU C library defines this for functions which it implements
3493 to always fail with ENOSYS. Some functions are actually named
3494 something starting with __ and the normal name is an alias. */
3495 #if defined (__stub_wcstold) || defined (__stub___wcstold)
3503 if { (eval echo configure:3504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3505 eval "ac_cv_func_wcstold=yes"
3507 echo "configure: failed program was:" >&5
3508 cat conftest.$ac_ext >&5
3510 eval "ac_cv_func_wcstold=no"
3515 if eval "test \"`echo '$ac_cv_func_'wcstold`\" = yes"; then
3516 echo "$ac_t""yes" 1>&6
3519 echo "$ac_t""no" 1>&6
3523 echo $ac_n "checking for wcstoll""... $ac_c" 1>&6
3524 echo "configure:3525: checking for wcstoll" >&5
3525 if eval "test \"`echo '$''{'ac_cv_func_wcstoll'+set}'`\" = set"; then
3526 echo $ac_n "(cached) $ac_c" 1>&6
3528 cat > conftest.$ac_ext <<EOF
3529 #line 3530 "configure"
3530 #include "confdefs.h"
3531 /* System header to define __stub macros and hopefully few prototypes,
3532 which can conflict with char wcstoll(); below. */
3534 /* Override any gcc2 internal prototype to avoid an error. */
3538 /* We use char because int might match the return type of a gcc2
3539 builtin and then its argument prototype would still apply. */
3544 /* The GNU C library defines this for functions which it implements
3545 to always fail with ENOSYS. Some functions are actually named
3546 something starting with __ and the normal name is an alias. */
3547 #if defined (__stub_wcstoll) || defined (__stub___wcstoll)
3555 if { (eval echo configure:3556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3557 eval "ac_cv_func_wcstoll=yes"
3559 echo "configure: failed program was:" >&5
3560 cat conftest.$ac_ext >&5
3562 eval "ac_cv_func_wcstoll=no"
3567 if eval "test \"`echo '$ac_cv_func_'wcstoll`\" = yes"; then
3568 echo "$ac_t""yes" 1>&6
3571 echo "$ac_t""no" 1>&6
3575 echo $ac_n "checking for wcstoull""... $ac_c" 1>&6
3576 echo "configure:3577: checking for wcstoull" >&5
3577 if eval "test \"`echo '$''{'ac_cv_func_wcstoull'+set}'`\" = set"; then
3578 echo $ac_n "(cached) $ac_c" 1>&6
3580 cat > conftest.$ac_ext <<EOF
3581 #line 3582 "configure"
3582 #include "confdefs.h"
3583 /* System header to define __stub macros and hopefully few prototypes,
3584 which can conflict with char wcstoull(); below. */
3586 /* Override any gcc2 internal prototype to avoid an error. */
3590 /* We use char because int might match the return type of a gcc2
3591 builtin and then its argument prototype would still apply. */
3596 /* The GNU C library defines this for functions which it implements
3597 to always fail with ENOSYS. Some functions are actually named
3598 something starting with __ and the normal name is an alias. */
3599 #if defined (__stub_wcstoull) || defined (__stub___wcstoull)
3607 if { (eval echo configure:3608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3609 eval "ac_cv_func_wcstoull=yes"
3611 echo "configure: failed program was:" >&5
3612 cat conftest.$ac_ext >&5
3614 eval "ac_cv_func_wcstoull=no"
3619 if eval "test \"`echo '$ac_cv_func_'wcstoull`\" = yes"; then
3620 echo "$ac_t""yes" 1>&6
3623 echo "$ac_t""no" 1>&6
3628 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3629 echo "configure:3630: checking for enabled ISO C99 support" >&5
3630 if test x"$ac_c99_math" = x"no" || test x"$ac_c99_wchar" = x"no" \
3631 || test x"$ac_c99_stdlib" = x"no"; then
3634 echo "$ac_t""$enable_c99" 1>&6
3636 # Option parsed, now set things appropriately
3637 if test x"$enable_c99" = x"yes"; then
3638 cat >> confdefs.h <<\EOF
3639 #define _GLIBCPP_USE_C99 1
3645 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3646 ac_cpp='$CPP $CPPFLAGS'
3647 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3648 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3649 cross_compiling=$ac_cv_prog_cc_cross
3653 # Check whether --enable-long-long or --disable-long-long was given.
3654 if test "${enable_long_long+set}" = set; then
3655 enableval="$enable_long_long"
3656 case "$enableval" in
3657 yes) enable_long_long=yes ;;
3658 no) enable_long_long=no ;;
3659 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3662 enable_long_long=yes
3665 # iostreams require strtoll, strtoull to compile. If the
3666 # GLIBCPP_ENABLE_C99 tests found these, and if C99 support is enabled,
3667 # go ahead and allow long long to be used.
3668 if test x"$enable_c99" = x"no"; then
3669 enable_long_long=no;
3672 # Option parsed, now set things appropriately
3673 echo $ac_n "checking for enabled long long support""... $ac_c" 1>&6
3674 echo "configure:3675: checking for enabled long long support" >&5
3675 if test x"$enable_long_long" = xyes; then
3676 cat >> confdefs.h <<\EOF
3677 #define _GLIBCPP_USE_LONG_LONG 1
3681 echo "$ac_t""$enable_long_long" 1>&6
3683 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3684 echo "configure:3685: checking for c header strategy to use" >&5
3685 # Check whether --enable-cheaders or --disable-cheaders was given.
3686 if test "${enable_cheaders+set}" = set; then
3687 enableval="$enable_cheaders"
3689 case "$enableval" in
3694 enable_cheaders=c_std
3697 enable_cheaders=c_shadow
3699 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3703 enable_cheaders=c_std
3706 echo "$ac_t""$enable_cheaders" 1>&6
3708 case "$enable_cheaders" in
3710 CSHADOW_FLAGS="-fno-builtin"
3711 C_INCLUDE_DIR='${top_srcdir}/include/c_shadow'
3712 cat >> confdefs.h <<\EOF
3713 #define _GLIBCPP_USE_SHADOW_HEADERS 1
3719 C_INCLUDE_DIR='${top_srcdir}/include/c_std'
3723 C_INCLUDE_DIR='${top_srcdir}/include/c'
3731 if test "$enable_cheaders" = c_shadow; then
3732 GLIBCPP_USE_CSHADOW_TRUE=
3733 GLIBCPP_USE_CSHADOW_FALSE='#'
3735 GLIBCPP_USE_CSHADOW_TRUE='#'
3736 GLIBCPP_USE_CSHADOW_FALSE=
3740 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3741 echo "configure:3742: checking for thread model used by GCC" >&5
3742 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3743 echo "$ac_t""$target_thread_file" 1>&6
3746 case "$target_thread_file" in
3748 THREADH=threads-no.h
3751 THREADH=threads-posix.h
3753 decosf1 | irix | mach | os2 | solaris | win32 | dce | vxworks)
3754 echo "configure: warning: disabling unsupported thread package $target_thread_file" 1>&2
3755 THREADH=threads-no.h
3758 { echo "configure: error: $target_thread_file: unsupported/unknown thread package" 1>&2; exit 1; }
3763 if test $THREADH != threads-no.h; then
3764 cat >> confdefs.h <<\EOF
3765 #define _GLIBCPP_USE_THREADS 1
3770 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3771 if test "${enable_cxx_flags+set}" = set; then
3772 enableval="$enable_cxx_flags"
3773 case "x$enableval" in
3775 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3777 enable_cxx_flags='' ;;
3779 enable_cxx_flags="$enableval" ;;
3782 enable_cxx_flags='none'
3786 if test "$enable_cxx_flags" = "none"; then
3787 enable_cxx_flags='';
3790 if test -n "$enable_cxx_flags"; then
3791 for f in $enable_cxx_flags; do
3795 *) # and we're trying to pass /what/ exactly?
3796 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3800 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3804 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3805 echo "configure:3806: checking for exception model to use" >&5
3808 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3809 ac_cpp='$CXXCPP $CPPFLAGS'
3810 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3811 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3812 cross_compiling=$ac_cv_prog_cxx_cross
3814 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3815 if test "${enable_sjlj_exceptions+set}" = set; then
3816 enableval="$enable_sjlj_exceptions"
3819 cat > conftest.$ac_ext << EOF
3820 #line 3821 "configure"
3829 old_CXXFLAGS="$CXXFLAGS"
3831 if { (eval echo configure:3832: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3832 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3833 enable_sjlj_exceptions=yes
3834 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3835 enable_sjlj_exceptions=no
3838 CXXFLAGS="$old_CXXFLAGS"
3842 if test x$enable_sjlj_exceptions = xyes; then
3843 cat >> confdefs.h <<\EOF
3844 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3847 ac_exception_model_name=sjlj
3848 elif test x$enable_sjlj_exceptions = xno; then
3849 ac_exception_model_name="call frame"
3851 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
3854 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3855 ac_cpp='$CPP $CPPFLAGS'
3856 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3857 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3858 cross_compiling=$ac_cv_prog_cc_cross
3860 echo "$ac_t""$ac_exception_model_name" 1>&6
3863 if test -n "$with_cross_host"; then
3865 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
3866 # may not work correctly, because the compiler may not be able to
3871 # If Canadian cross, then don't pick up tools from the build
3873 if test x"$build" != x"$with_cross_host" && x"$build" != x"$target"; then
3881 case "$target_alias" in
3883 # Construct linux crosses by hand, eliminating bits that need ld...
3884 # Check for available headers.
3885 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
3886 machine/endian.h machine/param.h sys/machine.h fp.h locale.h \
3889 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3890 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3891 echo "configure:3892: checking for $ac_hdr" >&5
3892 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3893 echo $ac_n "(cached) $ac_c" 1>&6
3895 cat > conftest.$ac_ext <<EOF
3896 #line 3897 "configure"
3897 #include "confdefs.h"
3900 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3901 { (eval echo configure:3902: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3902 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3903 if test -z "$ac_err"; then
3905 eval "ac_cv_header_$ac_safe=yes"
3908 echo "configure: failed program was:" >&5
3909 cat conftest.$ac_ext >&5
3911 eval "ac_cv_header_$ac_safe=no"
3915 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3916 echo "$ac_t""yes" 1>&6
3917 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3918 cat >> confdefs.h <<EOF
3919 #define $ac_tr_hdr 1
3923 echo "$ac_t""no" 1>&6
3928 # GLIBCPP_CHECK_COMPILER_FEATURES
3929 SECTION_FLAGS='-ffunction-sections -fdata-sections'
3932 # If we're not using GNU ld, then there's no point in even trying these
3933 # tests. Check for that first. We should have already tested for gld
3934 # by now (in libtool), but require it now just to be safe...
3939 # Set --gc-sections.
3940 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
3941 # GNU ld it is! Joy and bunny rabbits!
3943 # All these tests are for C++; save the language and the compiler flags.
3944 # Need to do this so that g++ won't try to link in libstdc++
3945 ac_test_CFLAGS="${CFLAGS+set}"
3946 ac_save_CFLAGS="$CFLAGS"
3947 CFLAGS='-x c++ -Wl,--gc-sections'
3949 # Check for -Wl,--gc-sections
3950 # XXX This test is broken at the moment, as symbols required for
3951 # linking are now in libsupc++ (not built yet.....). In addition,
3952 # this test has cored on solaris in the past. In addition,
3953 # --gc-sections doesn't really work at the moment (keeps on discarding
3954 # used sections, first .eh_frame and now some of the glibc sections for
3955 # iconv). Bzzzzt. Thanks for playing, maybe next time.
3956 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
3957 echo "configure:3958: checking for ld that supports -Wl,--gc-sections" >&5
3958 if test "$cross_compiling" = yes; then
3959 ac_sectionLDflags=yes
3961 cat > conftest.$ac_ext <<EOF
3962 #line 3963 "configure"
3963 #include "confdefs.h"
3973 if { (eval echo configure:3974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3975 ac_sectionLDflags=yes
3977 echo "configure: failed program was:" >&5
3978 cat conftest.$ac_ext >&5
3980 ac_sectionLFflags=no
3985 if test "$ac_test_CFLAGS" = set; then
3986 CFLAGS="$ac_save_CFLAGS"
3988 # this is the suspicious part
3991 if test "$ac_sectionLDflags" = "yes"; then
3992 SECTION_LDFLAGS='-Wl,--gc-sections'
3994 echo "$ac_t""$ac_sectionLDflags" 1>&6
3997 # Set linker optimization flags.
3998 if test x"$ac_cv_prog_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
3999 OPT_LDFLAGS='-Wl,-O1'
4005 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4006 # GLIBCPP_CHECK_MATH_SUPPORT
4007 cat >> confdefs.h <<\EOF
4008 #define HAVE_ACOSF 1
4011 cat >> confdefs.h <<\EOF
4012 #define HAVE_ASINF 1
4015 cat >> confdefs.h <<\EOF
4016 #define HAVE_ATAN2F 1
4019 cat >> confdefs.h <<\EOF
4020 #define HAVE_ATANF 1
4023 cat >> confdefs.h <<\EOF
4024 #define HAVE_CEILF 1
4027 cat >> confdefs.h <<\EOF
4028 #define HAVE_COPYSIGN 1
4031 cat >> confdefs.h <<\EOF
4032 #define HAVE_COPYSIGNF 1
4035 cat >> confdefs.h <<\EOF
4039 cat >> confdefs.h <<\EOF
4040 #define HAVE_COSHF 1
4043 cat >> confdefs.h <<\EOF
4047 cat >> confdefs.h <<\EOF
4048 #define HAVE_FABSF 1
4051 cat >> confdefs.h <<\EOF
4052 #define HAVE_FINITE 1
4055 cat >> confdefs.h <<\EOF
4056 #define HAVE_FINITEF 1
4059 cat >> confdefs.h <<\EOF
4060 #define HAVE_FLOORF 1
4063 cat >> confdefs.h <<\EOF
4064 #define HAVE_FMODF 1
4067 cat >> confdefs.h <<\EOF
4068 #define HAVE_FREXPF 1
4071 cat >> confdefs.h <<\EOF
4072 #define HAVE_ISINF 1
4075 cat >> confdefs.h <<\EOF
4076 #define HAVE_ISINFF 1
4079 cat >> confdefs.h <<\EOF
4080 #define HAVE_ISNAN 1
4083 cat >> confdefs.h <<\EOF
4084 #define HAVE_ISNANF 1
4087 cat >> confdefs.h <<\EOF
4088 #define HAVE_LDEXPF 1
4091 cat >> confdefs.h <<\EOF
4092 #define HAVE_LOG10F 1
4095 cat >> confdefs.h <<\EOF
4099 cat >> confdefs.h <<\EOF
4100 #define HAVE_MODFF 1
4103 cat >> confdefs.h <<\EOF
4107 cat >> confdefs.h <<\EOF
4108 #define HAVE_SINCOS 1
4111 cat >> confdefs.h <<\EOF
4112 #define HAVE_SINCOSF 1
4115 cat >> confdefs.h <<\EOF
4119 cat >> confdefs.h <<\EOF
4120 #define HAVE_SINHF 1
4123 cat >> confdefs.h <<\EOF
4124 #define HAVE_SQRTF 1
4127 cat >> confdefs.h <<\EOF
4131 cat >> confdefs.h <<\EOF
4132 #define HAVE_TANHF 1
4136 # At some point, we should differentiate between architectures
4137 # like x86, which have long double versions, and alpha/powerpc/etc.,
4138 # which don't. For the time being, punt.
4139 if test x"long_double_math_on_this_cpu" = x"yes"; then
4140 cat >> confdefs.h <<\EOF
4141 #define HAVE_ACOSL 1
4144 cat >> confdefs.h <<\EOF
4145 #define HAVE_ASINL 1
4148 cat >> confdefs.h <<\EOF
4149 #define HAVE_ATAN2L 1
4152 cat >> confdefs.h <<\EOF
4153 #define HAVE_ATANL 1
4156 cat >> confdefs.h <<\EOF
4157 #define HAVE_CEILL 1
4160 cat >> confdefs.h <<\EOF
4161 #define HAVE_COPYSIGNL 1
4164 cat >> confdefs.h <<\EOF
4168 cat >> confdefs.h <<\EOF
4169 #define HAVE_COSHL 1
4172 cat >> confdefs.h <<\EOF
4176 cat >> confdefs.h <<\EOF
4177 #define HAVE_FABSL 1
4180 cat >> confdefs.h <<\EOF
4181 #define HAVE_FINITEL 1
4184 cat >> confdefs.h <<\EOF
4185 #define HAVE_FLOORL 1
4188 cat >> confdefs.h <<\EOF
4189 #define HAVE_FMODL 1
4192 cat >> confdefs.h <<\EOF
4193 #define HAVE_FREXPL 1
4196 cat >> confdefs.h <<\EOF
4197 #define HAVE_ISINFL 1
4200 cat >> confdefs.h <<\EOF
4201 #define HAVE_ISNANL 1
4204 cat >> confdefs.h <<\EOF
4205 #define HAVE_LDEXPL 1
4208 cat >> confdefs.h <<\EOF
4209 #define HAVE_LOG10L 1
4212 cat >> confdefs.h <<\EOF
4216 cat >> confdefs.h <<\EOF
4217 #define HAVE_MODFL 1
4220 cat >> confdefs.h <<\EOF
4224 cat >> confdefs.h <<\EOF
4225 #define HAVE_SINCOSL 1
4228 cat >> confdefs.h <<\EOF
4232 cat >> confdefs.h <<\EOF
4233 #define HAVE_SINHL 1
4236 cat >> confdefs.h <<\EOF
4237 #define HAVE_SQRTL 1
4240 cat >> confdefs.h <<\EOF
4244 cat >> confdefs.h <<\EOF
4245 #define HAVE_TANHL 1
4250 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4251 echo "configure:4252: checking for main in -lm" >&5
4252 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4253 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4254 echo $ac_n "(cached) $ac_c" 1>&6
4256 ac_save_LIBS="$LIBS"
4258 cat > conftest.$ac_ext <<EOF
4259 #line 4260 "configure"
4260 #include "confdefs.h"
4266 if { (eval echo configure:4267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4268 eval "ac_cv_lib_$ac_lib_var=yes"
4270 echo "configure: failed program was:" >&5
4271 cat conftest.$ac_ext >&5
4273 eval "ac_cv_lib_$ac_lib_var=no"
4276 LIBS="$ac_save_LIBS"
4279 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4280 echo "$ac_t""yes" 1>&6
4281 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4282 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4283 cat >> confdefs.h <<EOF
4284 #define $ac_tr_lib 1
4290 echo "$ac_t""no" 1>&6
4293 for ac_func in nan hypot hypotf atan2f expf copysignf
4295 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4296 echo "configure:4297: checking for $ac_func" >&5
4297 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4298 echo $ac_n "(cached) $ac_c" 1>&6
4300 cat > conftest.$ac_ext <<EOF
4301 #line 4302 "configure"
4302 #include "confdefs.h"
4303 /* System header to define __stub macros and hopefully few prototypes,
4304 which can conflict with char $ac_func(); below. */
4306 /* Override any gcc2 internal prototype to avoid an error. */
4307 /* We use char because int might match the return type of a gcc2
4308 builtin and then its argument prototype would still apply. */
4313 /* The GNU C library defines this for functions which it implements
4314 to always fail with ENOSYS. Some functions are actually named
4315 something starting with __ and the normal name is an alias. */
4316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4324 if { (eval echo configure:4325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4326 eval "ac_cv_func_$ac_func=yes"
4328 echo "configure: failed program was:" >&5
4329 cat conftest.$ac_ext >&5
4331 eval "ac_cv_func_$ac_func=no"
4336 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4337 echo "$ac_t""yes" 1>&6
4338 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4339 cat >> confdefs.h <<EOF
4340 #define $ac_tr_func 1
4344 echo "$ac_t""no" 1>&6
4345 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4351 USE_COMPLEX_LONG_DOUBLE=no
4352 if test x$ac_cv_func_atan2l = x"yes" \
4353 && test x$ac_cv_func_copysignl = x"yes"; then
4354 USE_COMPLEX_LONG_DOUBLE=yes
4355 for ac_func in hypotl signbitl
4357 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4358 echo "configure:4359: checking for $ac_func" >&5
4359 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4360 echo $ac_n "(cached) $ac_c" 1>&6
4362 cat > conftest.$ac_ext <<EOF
4363 #line 4364 "configure"
4364 #include "confdefs.h"
4365 /* System header to define __stub macros and hopefully few prototypes,
4366 which can conflict with char $ac_func(); below. */
4368 /* Override any gcc2 internal prototype to avoid an error. */
4369 /* We use char because int might match the return type of a gcc2
4370 builtin and then its argument prototype would still apply. */
4375 /* The GNU C library defines this for functions which it implements
4376 to always fail with ENOSYS. Some functions are actually named
4377 something starting with __ and the normal name is an alias. */
4378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4386 if { (eval echo configure:4387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4388 eval "ac_cv_func_$ac_func=yes"
4390 echo "configure: failed program was:" >&5
4391 cat conftest.$ac_ext >&5
4393 eval "ac_cv_func_$ac_func=no"
4398 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4399 echo "$ac_t""yes" 1>&6
4400 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4401 cat >> confdefs.h <<EOF
4402 #define $ac_tr_func 1
4406 echo "$ac_t""no" 1>&6
4407 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4419 echo $ac_n "checking for GNU C++ __complex__ support""... $ac_c" 1>&6
4420 echo "configure:4421: checking for GNU C++ __complex__ support" >&5
4421 if eval "test \"`echo '$''{'glibcpp_cv_complex'+set}'`\" = set"; then
4422 echo $ac_n "(cached) $ac_c" 1>&6
4427 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4428 ac_cpp='$CXXCPP $CPPFLAGS'
4429 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4430 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4431 cross_compiling=$ac_cv_prog_cxx_cross
4433 cat > conftest.$ac_ext <<EOF
4434 #line 4435 "configure"
4435 #include "confdefs.h"
4436 struct dcomplex { __complex__ double x; }; \
4437 dcomplex f(const dcomplex& x) { return dcomplex(x); }
4443 if { (eval echo configure:4444: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4445 glibcpp_cv_complex=ok
4447 echo "configure: failed program was:" >&5
4448 cat conftest.$ac_ext >&5
4450 glibcpp_cv_complex=buggy
4455 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4456 ac_cpp='$CPP $CPPFLAGS'
4457 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4458 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4459 cross_compiling=$ac_cv_prog_cc_cross
4464 echo "$ac_t""$glibcpp_cv_complex" 1>&6
4465 if test $glibcpp_cv_complex = buggy; then
4466 cat >> confdefs.h <<\EOF
4467 #define _GLIBCPP_BUGGY_COMPLEX 1
4472 echo $ac_n "checking for GNU C++ __complex__ float support""... $ac_c" 1>&6
4473 echo "configure:4474: checking for GNU C++ __complex__ float support" >&5
4474 if eval "test \"`echo '$''{'glibcpp_cv_float_complex'+set}'`\" = set"; then
4475 echo $ac_n "(cached) $ac_c" 1>&6
4480 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4481 ac_cpp='$CXXCPP $CPPFLAGS'
4482 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4483 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4484 cross_compiling=$ac_cv_prog_cxx_cross
4487 cat > conftest.h <<EOB
4489 // Check for buggy __complex__ that causes ICE in most versions of egcs
4490 // and gcc-2.95.x on certain platforms (eg., x86-win32).
4492 // See http://gcc.gnu.org/ml/gcc-bugs/1999-07n/msg00845.html for
4493 // more info on the bug itself.
4498 __complex__ float m_value;
4499 float_complex (float = 0.0f, float = 0.0f);
4500 float_complex (__complex__ float val) : m_value (val) {}
4501 float_complex foo (const float_complex &val)
4502 { return float_complex (~val.m_value); }
4505 cat > conftest.$ac_ext <<EOF
4506 #line 4507 "configure"
4507 #include "confdefs.h"
4508 #include "conftest.h"
4513 if { (eval echo configure:4514: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4515 glibcpp_cv_float_complex=ok
4517 echo "configure: failed program was:" >&5
4518 cat conftest.$ac_ext >&5
4520 glibcpp_cv_float_complex=buggy
4525 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4526 ac_cpp='$CPP $CPPFLAGS'
4527 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4528 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4529 cross_compiling=$ac_cv_prog_cc_cross
4534 echo "$ac_t""$glibcpp_cv_float_complex" 1>&6
4535 if test $glibcpp_cv_float_complex = buggy; then
4536 cat >> confdefs.h <<\EOF
4537 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
4544 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4545 echo "configure:4546: checking for mbstate_t" >&5
4546 cat > conftest.$ac_ext <<EOF
4547 #line 4548 "configure"
4548 #include "confdefs.h"
4551 mbstate_t teststate;
4554 if { (eval echo configure:4555: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4558 echo "configure: failed program was:" >&5
4559 cat conftest.$ac_ext >&5
4564 echo "$ac_t""$have_mbstate_t" 1>&6
4565 if test x"$have_mbstate_t" = xyes; then
4566 cat >> confdefs.h <<\EOF
4567 #define HAVE_MBSTATE_T 1
4572 for ac_hdr in wchar.h
4574 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4575 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4576 echo "configure:4577: checking for $ac_hdr" >&5
4577 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4578 echo $ac_n "(cached) $ac_c" 1>&6
4580 cat > conftest.$ac_ext <<EOF
4581 #line 4582 "configure"
4582 #include "confdefs.h"
4585 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4586 { (eval echo configure:4587: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4587 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4588 if test -z "$ac_err"; then
4590 eval "ac_cv_header_$ac_safe=yes"
4593 echo "configure: failed program was:" >&5
4594 cat conftest.$ac_ext >&5
4596 eval "ac_cv_header_$ac_safe=no"
4600 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4601 echo "$ac_t""yes" 1>&6
4602 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4603 cat >> confdefs.h <<EOF
4604 #define $ac_tr_hdr 1
4608 echo "$ac_t""no" 1>&6
4613 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
4614 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
4615 echo "configure:4616: checking for wctype.h" >&5
4616 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4617 echo $ac_n "(cached) $ac_c" 1>&6
4619 cat > conftest.$ac_ext <<EOF
4620 #line 4621 "configure"
4621 #include "confdefs.h"
4624 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4625 { (eval echo configure:4626: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4626 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4627 if test -z "$ac_err"; then
4629 eval "ac_cv_header_$ac_safe=yes"
4632 echo "configure: failed program was:" >&5
4633 cat conftest.$ac_ext >&5
4635 eval "ac_cv_header_$ac_safe=no"
4639 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4640 echo "$ac_t""yes" 1>&6
4643 echo "$ac_t""no" 1>&6
4648 if test x"$ac_has_wchar_h" = xyes && test x"$ac_has_wctype_h" = xyes \
4649 && test x"$enable_c_mbchar" != xno; then
4651 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4652 echo "configure:4653: checking for WCHAR_MIN and WCHAR_MAX" >&5
4653 cat > conftest.$ac_ext <<EOF
4654 #line 4655 "configure"
4655 #include "confdefs.h"
4658 int i = WCHAR_MIN; int j = WCHAR_MAX;
4661 if { (eval echo configure:4662: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4663 has_wchar_minmax=yes
4665 echo "configure: failed program was:" >&5
4666 cat conftest.$ac_ext >&5
4671 echo "$ac_t""$has_wchar_minmax" 1>&6
4673 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4674 echo "configure:4675: checking for WEOF" >&5
4675 cat > conftest.$ac_ext <<EOF
4676 #line 4677 "configure"
4677 #include "confdefs.h"
4685 if { (eval echo configure:4686: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4689 echo "configure: failed program was:" >&5
4690 cat conftest.$ac_ext >&5
4695 echo "$ac_t""$has_weof" 1>&6
4697 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset \
4700 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4701 echo "configure:4702: checking for $ac_func" >&5
4702 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4703 echo $ac_n "(cached) $ac_c" 1>&6
4705 cat > conftest.$ac_ext <<EOF
4706 #line 4707 "configure"
4707 #include "confdefs.h"
4708 /* System header to define __stub macros and hopefully few prototypes,
4709 which can conflict with char $ac_func(); below. */
4711 /* Override any gcc2 internal prototype to avoid an error. */
4712 /* We use char because int might match the return type of a gcc2
4713 builtin and then its argument prototype would still apply. */
4718 /* The GNU C library defines this for functions which it implements
4719 to always fail with ENOSYS. Some functions are actually named
4720 something starting with __ and the normal name is an alias. */
4721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4729 if { (eval echo configure:4730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4731 eval "ac_cv_func_$ac_func=yes"
4733 echo "configure: failed program was:" >&5
4734 cat conftest.$ac_ext >&5
4736 eval "ac_cv_func_$ac_func=no"
4741 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4742 echo "$ac_t""yes" 1>&6
4743 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4744 cat >> confdefs.h <<EOF
4745 #define $ac_tr_func 1
4749 echo "$ac_t""no" 1>&6
4755 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4756 echo "configure:4757: checking for ISO C99 wchar_t support" >&5
4757 if test x"$has_weof" = xyes && test x"$has_wchar_minmax" = xyes \
4758 && test x"$ac_wfuncs" = xyes; then
4759 ac_isoC99_wchar_t=yes
4761 ac_isoC99_wchar_t=no
4763 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4765 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4766 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4767 echo "configure:4768: checking for iconv.h" >&5
4768 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4769 echo $ac_n "(cached) $ac_c" 1>&6
4771 cat > conftest.$ac_ext <<EOF
4772 #line 4773 "configure"
4773 #include "confdefs.h"
4776 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4777 { (eval echo configure:4778: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4778 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4779 if test -z "$ac_err"; then
4781 eval "ac_cv_header_$ac_safe=yes"
4784 echo "configure: failed program was:" >&5
4785 cat conftest.$ac_ext >&5
4787 eval "ac_cv_header_$ac_safe=no"
4791 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4792 echo "$ac_t""yes" 1>&6
4795 echo "$ac_t""no" 1>&6
4799 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4800 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4801 echo "configure:4802: checking for langinfo.h" >&5
4802 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4803 echo $ac_n "(cached) $ac_c" 1>&6
4805 cat > conftest.$ac_ext <<EOF
4806 #line 4807 "configure"
4807 #include "confdefs.h"
4808 #include <langinfo.h>
4810 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4811 { (eval echo configure:4812: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4812 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4813 if test -z "$ac_err"; then
4815 eval "ac_cv_header_$ac_safe=yes"
4818 echo "configure: failed program was:" >&5
4819 cat conftest.$ac_ext >&5
4821 eval "ac_cv_header_$ac_safe=no"
4825 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4826 echo "$ac_t""yes" 1>&6
4827 ac_has_langinfo_h=yes
4829 echo "$ac_t""no" 1>&6
4830 ac_has_langinfo_h=no
4834 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4835 echo "configure:4836: checking for iconv in -liconv" >&5
4836 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4837 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4838 echo $ac_n "(cached) $ac_c" 1>&6
4840 ac_save_LIBS="$LIBS"
4841 LIBS="-liconv $LIBS"
4842 cat > conftest.$ac_ext <<EOF
4843 #line 4844 "configure"
4844 #include "confdefs.h"
4845 /* Override any gcc2 internal prototype to avoid an error. */
4846 /* We use char because int might match the return type of a gcc2
4847 builtin and then its argument prototype would still apply. */
4854 if { (eval echo configure:4855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4856 eval "ac_cv_lib_$ac_lib_var=yes"
4858 echo "configure: failed program was:" >&5
4859 cat conftest.$ac_ext >&5
4861 eval "ac_cv_lib_$ac_lib_var=no"
4864 LIBS="$ac_save_LIBS"
4867 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4868 echo "$ac_t""yes" 1>&6
4871 echo "$ac_t""no" 1>&6
4874 ac_save_LIBS="$LIBS"
4875 LIBS="$LIBS $libiconv"
4877 for ac_func in iconv_open iconv_close iconv nl_langinfo
4879 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4880 echo "configure:4881: checking for $ac_func" >&5
4881 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4882 echo $ac_n "(cached) $ac_c" 1>&6
4884 cat > conftest.$ac_ext <<EOF
4885 #line 4886 "configure"
4886 #include "confdefs.h"
4887 /* System header to define __stub macros and hopefully few prototypes,
4888 which can conflict with char $ac_func(); below. */
4890 /* Override any gcc2 internal prototype to avoid an error. */
4891 /* We use char because int might match the return type of a gcc2
4892 builtin and then its argument prototype would still apply. */
4897 /* The GNU C library defines this for functions which it implements
4898 to always fail with ENOSYS. Some functions are actually named
4899 something starting with __ and the normal name is an alias. */
4900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4908 if { (eval echo configure:4909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4910 eval "ac_cv_func_$ac_func=yes"
4912 echo "configure: failed program was:" >&5
4913 cat conftest.$ac_ext >&5
4915 eval "ac_cv_func_$ac_func=no"
4920 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4921 echo "$ac_t""yes" 1>&6
4922 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4923 cat >> confdefs.h <<EOF
4924 #define $ac_tr_func 1
4929 echo "$ac_t""no" 1>&6
4935 LIBS="$ac_save_LIBS"
4937 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
4938 echo "configure:4939: checking for XPG2 wchar_t support" >&5
4939 if test x"$ac_has_iconv_h" = xyes && test x"$ac_has_langinfo_h" = xyes \
4940 && test x"$ac_XPG2funcs" = xyes; then
4945 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
4947 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
4948 echo "configure:4949: checking for enabled wchar_t specializations" >&5
4949 if test x"$ac_isoC99_wchar_t" = xyes \
4950 && test x"$ac_XPG2_wchar_t" = xyes; then
4951 cat >> confdefs.h <<\EOF
4952 #define _GLIBCPP_USE_WCHAR_T 1
4955 echo "$ac_t"""yes"" 1>&6
4957 echo "$ac_t"""no"" 1>&6
4960 echo "configure: warning: wchar_t support disabled." 1>&2
4963 os_include_dir="config/os/gnu-linux"
4964 # GLIBCPP_CHECK_STDLIB_SUPPORT
4965 cat >> confdefs.h <<\EOF
4966 #define HAVE_STRTOF 1
4969 cat >> confdefs.h <<\EOF
4970 #define HAVE_STRTOLD 1
4974 cat >> confdefs.h <<\EOF
4980 # We assume newlib. This lets us hard-code the functions we know
4982 cat >> confdefs.h <<\EOF
4983 #define HAVE_FINITE 1
4986 cat >> confdefs.h <<\EOF
4987 #define HAVE_ISNAN 1
4990 cat >> confdefs.h <<\EOF
4991 #define HAVE_ISNANF 1
4994 cat >> confdefs.h <<\EOF
4995 #define HAVE_ISINF 1
4998 cat >> confdefs.h <<\EOF
4999 #define HAVE_ISINFF 1
5003 os_include_dir="config/os/newlib"
5005 cat >> confdefs.h <<\EOF
5006 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
5009 cat >> confdefs.h <<\EOF
5010 #define _GLIBCPP_BUGGY_COMPLEX 1
5013 # need to check for faster f versions of math functions, ie sinf?
5018 # We are being configured natively. We can do more elaborate tests
5019 # that include AC_TRY_COMPILE now, as the linker is assumed to be
5026 # Check for available headers.
5027 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
5028 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h
5030 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5031 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5032 echo "configure:5033: checking for $ac_hdr" >&5
5033 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5034 echo $ac_n "(cached) $ac_c" 1>&6
5036 cat > conftest.$ac_ext <<EOF
5037 #line 5038 "configure"
5038 #include "confdefs.h"
5041 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5042 { (eval echo configure:5043: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5043 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5044 if test -z "$ac_err"; then
5046 eval "ac_cv_header_$ac_safe=yes"
5049 echo "configure: failed program was:" >&5
5050 cat conftest.$ac_ext >&5
5052 eval "ac_cv_header_$ac_safe=no"
5056 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5057 echo "$ac_t""yes" 1>&6
5058 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5059 cat >> confdefs.h <<EOF
5060 #define $ac_tr_hdr 1
5064 echo "$ac_t""no" 1>&6
5070 # All these tests are for C++; save the language and the compiler flags.
5071 # The CXXFLAGS thing is suspicious, but based on similar bits
5072 # found in GLIBCPP_CONFIGURE.
5075 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5076 ac_cpp='$CXXCPP $CPPFLAGS'
5077 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5078 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5079 cross_compiling=$ac_cv_prog_cxx_cross
5081 ac_test_CXXFLAGS="${CXXFLAGS+set}"
5082 ac_save_CXXFLAGS="$CXXFLAGS"
5084 # Check for maintainer-mode bits.
5085 if test x"$USE_MAINTAINER_MODE" = xno; then
5091 # Check for -ffunction-sections -fdata-sections
5092 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
5093 echo "configure:5094: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
5094 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
5095 cat > conftest.$ac_ext <<EOF
5096 #line 5097 "configure"
5097 #include "confdefs.h"
5104 if { (eval echo configure:5105: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5108 echo "configure: failed program was:" >&5
5109 cat conftest.$ac_ext >&5
5114 if test "$ac_test_CXXFLAGS" = set; then
5115 CXXFLAGS="$ac_save_CXXFLAGS"
5117 # this is the suspicious part
5120 if test x"$ac_fdsections" = x"yes" && test x"$enable_debug" = x"no"; then
5121 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5123 echo "$ac_t""$ac_fdsections" 1>&6
5126 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5127 ac_cpp='$CPP $CPPFLAGS'
5128 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5129 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5130 cross_compiling=$ac_cv_prog_cc_cross
5136 # If we're not using GNU ld, then there's no point in even trying these
5137 # tests. Check for that first. We should have already tested for gld
5138 # by now (in libtool), but require it now just to be safe...
5143 # Set --gc-sections.
5144 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
5145 # GNU ld it is! Joy and bunny rabbits!
5147 # All these tests are for C++; save the language and the compiler flags.
5148 # Need to do this so that g++ won't try to link in libstdc++
5149 ac_test_CFLAGS="${CFLAGS+set}"
5150 ac_save_CFLAGS="$CFLAGS"
5151 CFLAGS='-x c++ -Wl,--gc-sections'
5153 # Check for -Wl,--gc-sections
5154 # XXX This test is broken at the moment, as symbols required for
5155 # linking are now in libsupc++ (not built yet.....). In addition,
5156 # this test has cored on solaris in the past. In addition,
5157 # --gc-sections doesn't really work at the moment (keeps on discarding
5158 # used sections, first .eh_frame and now some of the glibc sections for
5159 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5160 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5161 echo "configure:5162: checking for ld that supports -Wl,--gc-sections" >&5
5162 if test "$cross_compiling" = yes; then
5163 ac_sectionLDflags=yes
5165 cat > conftest.$ac_ext <<EOF
5166 #line 5167 "configure"
5167 #include "confdefs.h"
5177 if { (eval echo configure:5178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5179 ac_sectionLDflags=yes
5181 echo "configure: failed program was:" >&5
5182 cat conftest.$ac_ext >&5
5184 ac_sectionLFflags=no
5189 if test "$ac_test_CFLAGS" = set; then
5190 CFLAGS="$ac_save_CFLAGS"
5192 # this is the suspicious part
5195 if test "$ac_sectionLDflags" = "yes"; then
5196 SECTION_LDFLAGS='-Wl,--gc-sections'
5198 echo "$ac_t""$ac_sectionLDflags" 1>&6
5201 # Set linker optimization flags.
5202 if test x"$ac_cv_prog_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
5203 OPT_LDFLAGS='-Wl,-O1'
5211 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
5212 echo "configure:5213: checking for __builtin_abs declaration" >&5
5213 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
5214 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
5215 echo $ac_n "(cached) $ac_c" 1>&6
5220 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5221 ac_cpp='$CXXCPP $CPPFLAGS'
5222 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5223 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5224 cross_compiling=$ac_cv_prog_cxx_cross
5226 cat > conftest.$ac_ext <<EOF
5227 #line 5228 "configure"
5228 #include "confdefs.h"
5234 if { (eval echo configure:5235: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5236 glibcpp_cv_func___builtin_abs_use=yes
5238 echo "configure: failed program was:" >&5
5239 cat conftest.$ac_ext >&5
5241 glibcpp_cv_func___builtin_abs_use=no
5245 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5246 ac_cpp='$CPP $CPPFLAGS'
5247 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5248 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5249 cross_compiling=$ac_cv_prog_cc_cross
5255 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
5256 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
5257 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
5258 echo "configure:5259: checking for __builtin_abs linkage" >&5
5259 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
5260 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
5261 echo $ac_n "(cached) $ac_c" 1>&6
5264 cat > conftest.$ac_ext <<EOF
5265 #line 5266 "configure"
5266 #include "confdefs.h"
5272 if { (eval echo configure:5273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5274 glibcpp_cv_func___builtin_abs_link=yes
5276 echo "configure: failed program was:" >&5
5277 cat conftest.$ac_ext >&5
5279 glibcpp_cv_func___builtin_abs_link=no
5286 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
5287 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
5288 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5289 cat >> confdefs.h <<EOF
5290 #define ${ac_tr_func} 1
5297 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
5298 echo "configure:5299: checking for __builtin_fabsf declaration" >&5
5299 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
5300 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
5301 echo $ac_n "(cached) $ac_c" 1>&6
5306 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5307 ac_cpp='$CXXCPP $CPPFLAGS'
5308 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5309 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5310 cross_compiling=$ac_cv_prog_cxx_cross
5312 cat > conftest.$ac_ext <<EOF
5313 #line 5314 "configure"
5314 #include "confdefs.h"
5320 if { (eval echo configure:5321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5322 glibcpp_cv_func___builtin_fabsf_use=yes
5324 echo "configure: failed program was:" >&5
5325 cat conftest.$ac_ext >&5
5327 glibcpp_cv_func___builtin_fabsf_use=no
5331 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5332 ac_cpp='$CPP $CPPFLAGS'
5333 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5334 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5335 cross_compiling=$ac_cv_prog_cc_cross
5341 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
5342 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
5343 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
5344 echo "configure:5345: checking for __builtin_fabsf linkage" >&5
5345 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
5346 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
5347 echo $ac_n "(cached) $ac_c" 1>&6
5350 cat > conftest.$ac_ext <<EOF
5351 #line 5352 "configure"
5352 #include "confdefs.h"
5358 if { (eval echo configure:5359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5360 glibcpp_cv_func___builtin_fabsf_link=yes
5362 echo "configure: failed program was:" >&5
5363 cat conftest.$ac_ext >&5
5365 glibcpp_cv_func___builtin_fabsf_link=no
5372 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
5373 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
5374 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5375 cat >> confdefs.h <<EOF
5376 #define ${ac_tr_func} 1
5383 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
5384 echo "configure:5385: checking for __builtin_fabs declaration" >&5
5385 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
5386 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
5387 echo $ac_n "(cached) $ac_c" 1>&6
5392 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5393 ac_cpp='$CXXCPP $CPPFLAGS'
5394 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5395 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5396 cross_compiling=$ac_cv_prog_cxx_cross
5398 cat > conftest.$ac_ext <<EOF
5399 #line 5400 "configure"
5400 #include "confdefs.h"
5406 if { (eval echo configure:5407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5408 glibcpp_cv_func___builtin_fabs_use=yes
5410 echo "configure: failed program was:" >&5
5411 cat conftest.$ac_ext >&5
5413 glibcpp_cv_func___builtin_fabs_use=no
5417 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5418 ac_cpp='$CPP $CPPFLAGS'
5419 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5420 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5421 cross_compiling=$ac_cv_prog_cc_cross
5427 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
5428 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
5429 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
5430 echo "configure:5431: checking for __builtin_fabs linkage" >&5
5431 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
5432 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
5433 echo $ac_n "(cached) $ac_c" 1>&6
5436 cat > conftest.$ac_ext <<EOF
5437 #line 5438 "configure"
5438 #include "confdefs.h"
5444 if { (eval echo configure:5445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5446 glibcpp_cv_func___builtin_fabs_link=yes
5448 echo "configure: failed program was:" >&5
5449 cat conftest.$ac_ext >&5
5451 glibcpp_cv_func___builtin_fabs_link=no
5458 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
5459 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
5460 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5461 cat >> confdefs.h <<EOF
5462 #define ${ac_tr_func} 1
5469 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
5470 echo "configure:5471: checking for __builtin_fabsl declaration" >&5
5471 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
5472 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
5473 echo $ac_n "(cached) $ac_c" 1>&6
5478 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5479 ac_cpp='$CXXCPP $CPPFLAGS'
5480 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5481 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5482 cross_compiling=$ac_cv_prog_cxx_cross
5484 cat > conftest.$ac_ext <<EOF
5485 #line 5486 "configure"
5486 #include "confdefs.h"
5492 if { (eval echo configure:5493: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5494 glibcpp_cv_func___builtin_fabsl_use=yes
5496 echo "configure: failed program was:" >&5
5497 cat conftest.$ac_ext >&5
5499 glibcpp_cv_func___builtin_fabsl_use=no
5503 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5504 ac_cpp='$CPP $CPPFLAGS'
5505 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5506 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5507 cross_compiling=$ac_cv_prog_cc_cross
5513 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
5514 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
5515 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
5516 echo "configure:5517: checking for __builtin_fabsl linkage" >&5
5517 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
5518 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
5519 echo $ac_n "(cached) $ac_c" 1>&6
5522 cat > conftest.$ac_ext <<EOF
5523 #line 5524 "configure"
5524 #include "confdefs.h"
5530 if { (eval echo configure:5531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5532 glibcpp_cv_func___builtin_fabsl_link=yes
5534 echo "configure: failed program was:" >&5
5535 cat conftest.$ac_ext >&5
5537 glibcpp_cv_func___builtin_fabsl_link=no
5544 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
5545 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
5546 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5547 cat >> confdefs.h <<EOF
5548 #define ${ac_tr_func} 1
5555 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
5556 echo "configure:5557: checking for __builtin_labs declaration" >&5
5557 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
5558 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
5559 echo $ac_n "(cached) $ac_c" 1>&6
5564 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5565 ac_cpp='$CXXCPP $CPPFLAGS'
5566 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5567 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5568 cross_compiling=$ac_cv_prog_cxx_cross
5570 cat > conftest.$ac_ext <<EOF
5571 #line 5572 "configure"
5572 #include "confdefs.h"
5578 if { (eval echo configure:5579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5580 glibcpp_cv_func___builtin_labs_use=yes
5582 echo "configure: failed program was:" >&5
5583 cat conftest.$ac_ext >&5
5585 glibcpp_cv_func___builtin_labs_use=no
5589 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5590 ac_cpp='$CPP $CPPFLAGS'
5591 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5592 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5593 cross_compiling=$ac_cv_prog_cc_cross
5599 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
5600 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
5601 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
5602 echo "configure:5603: checking for __builtin_labs linkage" >&5
5603 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
5604 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
5605 echo $ac_n "(cached) $ac_c" 1>&6
5608 cat > conftest.$ac_ext <<EOF
5609 #line 5610 "configure"
5610 #include "confdefs.h"
5616 if { (eval echo configure:5617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5618 glibcpp_cv_func___builtin_labs_link=yes
5620 echo "configure: failed program was:" >&5
5621 cat conftest.$ac_ext >&5
5623 glibcpp_cv_func___builtin_labs_link=no
5630 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
5631 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
5632 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5633 cat >> confdefs.h <<EOF
5634 #define ${ac_tr_func} 1
5642 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
5643 echo "configure:5644: checking for __builtin_sqrtf declaration" >&5
5644 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
5645 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
5646 echo $ac_n "(cached) $ac_c" 1>&6
5651 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5652 ac_cpp='$CXXCPP $CPPFLAGS'
5653 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5654 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5655 cross_compiling=$ac_cv_prog_cxx_cross
5657 cat > conftest.$ac_ext <<EOF
5658 #line 5659 "configure"
5659 #include "confdefs.h"
5665 if { (eval echo configure:5666: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5667 glibcpp_cv_func___builtin_sqrtf_use=yes
5669 echo "configure: failed program was:" >&5
5670 cat conftest.$ac_ext >&5
5672 glibcpp_cv_func___builtin_sqrtf_use=no
5676 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5677 ac_cpp='$CPP $CPPFLAGS'
5678 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5679 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5680 cross_compiling=$ac_cv_prog_cc_cross
5686 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
5687 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
5688 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
5689 echo "configure:5690: checking for __builtin_sqrtf linkage" >&5
5690 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
5691 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
5692 echo $ac_n "(cached) $ac_c" 1>&6
5695 cat > conftest.$ac_ext <<EOF
5696 #line 5697 "configure"
5697 #include "confdefs.h"
5703 if { (eval echo configure:5704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5705 glibcpp_cv_func___builtin_sqrtf_link=yes
5707 echo "configure: failed program was:" >&5
5708 cat conftest.$ac_ext >&5
5710 glibcpp_cv_func___builtin_sqrtf_link=no
5717 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
5718 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
5719 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5720 cat >> confdefs.h <<EOF
5721 #define ${ac_tr_func} 1
5728 echo $ac_n "checking for __builtin_fsqrt declaration""... $ac_c" 1>&6
5729 echo "configure:5730: checking for __builtin_fsqrt declaration" >&5
5730 if test x${glibcpp_cv_func___builtin_fsqrt_use+set} != xset; then
5731 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_use'+set}'`\" = set"; then
5732 echo $ac_n "(cached) $ac_c" 1>&6
5737 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5738 ac_cpp='$CXXCPP $CPPFLAGS'
5739 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5740 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5741 cross_compiling=$ac_cv_prog_cxx_cross
5743 cat > conftest.$ac_ext <<EOF
5744 #line 5745 "configure"
5745 #include "confdefs.h"
5751 if { (eval echo configure:5752: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5753 glibcpp_cv_func___builtin_fsqrt_use=yes
5755 echo "configure: failed program was:" >&5
5756 cat conftest.$ac_ext >&5
5758 glibcpp_cv_func___builtin_fsqrt_use=no
5762 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5763 ac_cpp='$CPP $CPPFLAGS'
5764 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5765 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5766 cross_compiling=$ac_cv_prog_cc_cross
5772 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_use" 1>&6
5773 if test x$glibcpp_cv_func___builtin_fsqrt_use = x"yes"; then
5774 echo $ac_n "checking for __builtin_fsqrt linkage""... $ac_c" 1>&6
5775 echo "configure:5776: checking for __builtin_fsqrt linkage" >&5
5776 if test x${glibcpp_cv_func___builtin_fsqrt_link+set} != xset; then
5777 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_link'+set}'`\" = set"; then
5778 echo $ac_n "(cached) $ac_c" 1>&6
5781 cat > conftest.$ac_ext <<EOF
5782 #line 5783 "configure"
5783 #include "confdefs.h"
5789 if { (eval echo configure:5790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5791 glibcpp_cv_func___builtin_fsqrt_link=yes
5793 echo "configure: failed program was:" >&5
5794 cat conftest.$ac_ext >&5
5796 glibcpp_cv_func___builtin_fsqrt_link=no
5803 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_link" 1>&6
5804 if test x$glibcpp_cv_func___builtin_fsqrt_link = x"yes"; then
5805 ac_tr_func=HAVE_`echo __builtin_fsqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5806 cat >> confdefs.h <<EOF
5807 #define ${ac_tr_func} 1
5814 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
5815 echo "configure:5816: checking for __builtin_sqrtl declaration" >&5
5816 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
5817 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
5818 echo $ac_n "(cached) $ac_c" 1>&6
5823 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5824 ac_cpp='$CXXCPP $CPPFLAGS'
5825 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5826 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5827 cross_compiling=$ac_cv_prog_cxx_cross
5829 cat > conftest.$ac_ext <<EOF
5830 #line 5831 "configure"
5831 #include "confdefs.h"
5837 if { (eval echo configure:5838: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5839 glibcpp_cv_func___builtin_sqrtl_use=yes
5841 echo "configure: failed program was:" >&5
5842 cat conftest.$ac_ext >&5
5844 glibcpp_cv_func___builtin_sqrtl_use=no
5848 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5849 ac_cpp='$CPP $CPPFLAGS'
5850 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5851 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5852 cross_compiling=$ac_cv_prog_cc_cross
5858 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
5859 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
5860 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
5861 echo "configure:5862: checking for __builtin_sqrtl linkage" >&5
5862 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
5863 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
5864 echo $ac_n "(cached) $ac_c" 1>&6
5867 cat > conftest.$ac_ext <<EOF
5868 #line 5869 "configure"
5869 #include "confdefs.h"
5875 if { (eval echo configure:5876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5877 glibcpp_cv_func___builtin_sqrtl_link=yes
5879 echo "configure: failed program was:" >&5
5880 cat conftest.$ac_ext >&5
5882 glibcpp_cv_func___builtin_sqrtl_link=no
5889 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
5890 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
5891 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5892 cat >> confdefs.h <<EOF
5893 #define ${ac_tr_func} 1
5901 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
5902 echo "configure:5903: checking for __builtin_sinf declaration" >&5
5903 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
5904 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
5905 echo $ac_n "(cached) $ac_c" 1>&6
5910 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5911 ac_cpp='$CXXCPP $CPPFLAGS'
5912 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5913 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5914 cross_compiling=$ac_cv_prog_cxx_cross
5916 cat > conftest.$ac_ext <<EOF
5917 #line 5918 "configure"
5918 #include "confdefs.h"
5924 if { (eval echo configure:5925: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5926 glibcpp_cv_func___builtin_sinf_use=yes
5928 echo "configure: failed program was:" >&5
5929 cat conftest.$ac_ext >&5
5931 glibcpp_cv_func___builtin_sinf_use=no
5935 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5936 ac_cpp='$CPP $CPPFLAGS'
5937 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5938 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5939 cross_compiling=$ac_cv_prog_cc_cross
5945 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
5946 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
5947 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
5948 echo "configure:5949: checking for __builtin_sinf linkage" >&5
5949 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
5950 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
5951 echo $ac_n "(cached) $ac_c" 1>&6
5954 cat > conftest.$ac_ext <<EOF
5955 #line 5956 "configure"
5956 #include "confdefs.h"
5962 if { (eval echo configure:5963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5964 glibcpp_cv_func___builtin_sinf_link=yes
5966 echo "configure: failed program was:" >&5
5967 cat conftest.$ac_ext >&5
5969 glibcpp_cv_func___builtin_sinf_link=no
5976 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
5977 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
5978 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5979 cat >> confdefs.h <<EOF
5980 #define ${ac_tr_func} 1
5987 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
5988 echo "configure:5989: checking for __builtin_sin declaration" >&5
5989 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
5990 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
5991 echo $ac_n "(cached) $ac_c" 1>&6
5996 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5997 ac_cpp='$CXXCPP $CPPFLAGS'
5998 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5999 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6000 cross_compiling=$ac_cv_prog_cxx_cross
6002 cat > conftest.$ac_ext <<EOF
6003 #line 6004 "configure"
6004 #include "confdefs.h"
6010 if { (eval echo configure:6011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6012 glibcpp_cv_func___builtin_sin_use=yes
6014 echo "configure: failed program was:" >&5
6015 cat conftest.$ac_ext >&5
6017 glibcpp_cv_func___builtin_sin_use=no
6021 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6022 ac_cpp='$CPP $CPPFLAGS'
6023 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6024 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6025 cross_compiling=$ac_cv_prog_cc_cross
6031 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
6032 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
6033 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
6034 echo "configure:6035: checking for __builtin_sin linkage" >&5
6035 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
6036 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
6037 echo $ac_n "(cached) $ac_c" 1>&6
6040 cat > conftest.$ac_ext <<EOF
6041 #line 6042 "configure"
6042 #include "confdefs.h"
6048 if { (eval echo configure:6049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6050 glibcpp_cv_func___builtin_sin_link=yes
6052 echo "configure: failed program was:" >&5
6053 cat conftest.$ac_ext >&5
6055 glibcpp_cv_func___builtin_sin_link=no
6062 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
6063 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
6064 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6065 cat >> confdefs.h <<EOF
6066 #define ${ac_tr_func} 1
6073 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
6074 echo "configure:6075: checking for __builtin_sinl declaration" >&5
6075 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
6076 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
6077 echo $ac_n "(cached) $ac_c" 1>&6
6082 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6083 ac_cpp='$CXXCPP $CPPFLAGS'
6084 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6085 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6086 cross_compiling=$ac_cv_prog_cxx_cross
6088 cat > conftest.$ac_ext <<EOF
6089 #line 6090 "configure"
6090 #include "confdefs.h"
6096 if { (eval echo configure:6097: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6098 glibcpp_cv_func___builtin_sinl_use=yes
6100 echo "configure: failed program was:" >&5
6101 cat conftest.$ac_ext >&5
6103 glibcpp_cv_func___builtin_sinl_use=no
6107 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6108 ac_cpp='$CPP $CPPFLAGS'
6109 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6110 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6111 cross_compiling=$ac_cv_prog_cc_cross
6117 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
6118 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
6119 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
6120 echo "configure:6121: checking for __builtin_sinl linkage" >&5
6121 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
6122 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
6123 echo $ac_n "(cached) $ac_c" 1>&6
6126 cat > conftest.$ac_ext <<EOF
6127 #line 6128 "configure"
6128 #include "confdefs.h"
6134 if { (eval echo configure:6135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6136 glibcpp_cv_func___builtin_sinl_link=yes
6138 echo "configure: failed program was:" >&5
6139 cat conftest.$ac_ext >&5
6141 glibcpp_cv_func___builtin_sinl_link=no
6148 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
6149 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
6150 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6151 cat >> confdefs.h <<EOF
6152 #define ${ac_tr_func} 1
6160 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
6161 echo "configure:6162: checking for __builtin_cosf declaration" >&5
6162 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
6163 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
6164 echo $ac_n "(cached) $ac_c" 1>&6
6169 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6170 ac_cpp='$CXXCPP $CPPFLAGS'
6171 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6172 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6173 cross_compiling=$ac_cv_prog_cxx_cross
6175 cat > conftest.$ac_ext <<EOF
6176 #line 6177 "configure"
6177 #include "confdefs.h"
6183 if { (eval echo configure:6184: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6185 glibcpp_cv_func___builtin_cosf_use=yes
6187 echo "configure: failed program was:" >&5
6188 cat conftest.$ac_ext >&5
6190 glibcpp_cv_func___builtin_cosf_use=no
6194 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6195 ac_cpp='$CPP $CPPFLAGS'
6196 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6197 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6198 cross_compiling=$ac_cv_prog_cc_cross
6204 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
6205 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
6206 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
6207 echo "configure:6208: checking for __builtin_cosf linkage" >&5
6208 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
6209 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
6210 echo $ac_n "(cached) $ac_c" 1>&6
6213 cat > conftest.$ac_ext <<EOF
6214 #line 6215 "configure"
6215 #include "confdefs.h"
6221 if { (eval echo configure:6222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6223 glibcpp_cv_func___builtin_cosf_link=yes
6225 echo "configure: failed program was:" >&5
6226 cat conftest.$ac_ext >&5
6228 glibcpp_cv_func___builtin_cosf_link=no
6235 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
6236 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
6237 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6238 cat >> confdefs.h <<EOF
6239 #define ${ac_tr_func} 1
6246 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
6247 echo "configure:6248: checking for __builtin_cos declaration" >&5
6248 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
6249 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
6250 echo $ac_n "(cached) $ac_c" 1>&6
6255 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6256 ac_cpp='$CXXCPP $CPPFLAGS'
6257 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6258 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6259 cross_compiling=$ac_cv_prog_cxx_cross
6261 cat > conftest.$ac_ext <<EOF
6262 #line 6263 "configure"
6263 #include "confdefs.h"
6269 if { (eval echo configure:6270: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6271 glibcpp_cv_func___builtin_cos_use=yes
6273 echo "configure: failed program was:" >&5
6274 cat conftest.$ac_ext >&5
6276 glibcpp_cv_func___builtin_cos_use=no
6280 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6281 ac_cpp='$CPP $CPPFLAGS'
6282 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6283 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6284 cross_compiling=$ac_cv_prog_cc_cross
6290 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
6291 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
6292 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
6293 echo "configure:6294: checking for __builtin_cos linkage" >&5
6294 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
6295 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
6296 echo $ac_n "(cached) $ac_c" 1>&6
6299 cat > conftest.$ac_ext <<EOF
6300 #line 6301 "configure"
6301 #include "confdefs.h"
6307 if { (eval echo configure:6308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6309 glibcpp_cv_func___builtin_cos_link=yes
6311 echo "configure: failed program was:" >&5
6312 cat conftest.$ac_ext >&5
6314 glibcpp_cv_func___builtin_cos_link=no
6321 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
6322 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
6323 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6324 cat >> confdefs.h <<EOF
6325 #define ${ac_tr_func} 1
6332 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
6333 echo "configure:6334: checking for __builtin_cosl declaration" >&5
6334 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
6335 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
6336 echo $ac_n "(cached) $ac_c" 1>&6
6341 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6342 ac_cpp='$CXXCPP $CPPFLAGS'
6343 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6344 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6345 cross_compiling=$ac_cv_prog_cxx_cross
6347 cat > conftest.$ac_ext <<EOF
6348 #line 6349 "configure"
6349 #include "confdefs.h"
6355 if { (eval echo configure:6356: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6357 glibcpp_cv_func___builtin_cosl_use=yes
6359 echo "configure: failed program was:" >&5
6360 cat conftest.$ac_ext >&5
6362 glibcpp_cv_func___builtin_cosl_use=no
6366 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6367 ac_cpp='$CPP $CPPFLAGS'
6368 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6369 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6370 cross_compiling=$ac_cv_prog_cc_cross
6376 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
6377 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
6378 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
6379 echo "configure:6380: checking for __builtin_cosl linkage" >&5
6380 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
6381 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
6382 echo $ac_n "(cached) $ac_c" 1>&6
6385 cat > conftest.$ac_ext <<EOF
6386 #line 6387 "configure"
6387 #include "confdefs.h"
6393 if { (eval echo configure:6394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6395 glibcpp_cv_func___builtin_cosl_link=yes
6397 echo "configure: failed program was:" >&5
6398 cat conftest.$ac_ext >&5
6400 glibcpp_cv_func___builtin_cosl_link=no
6407 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
6408 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
6409 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6410 cat >> confdefs.h <<EOF
6411 #define ${ac_tr_func} 1
6419 if test x$dummyvar = x"yes"; then
6420 cat >> confdefs.h <<\EOF
6421 #define HAVE___BUILTIN_ABS 1
6424 cat >> confdefs.h <<\EOF
6425 #define HAVE___BUILTIN_LABS 1
6428 cat >> confdefs.h <<\EOF
6429 #define HAVE___BUILTIN_COS 1
6432 cat >> confdefs.h <<\EOF
6433 #define HAVE___BUILTIN_COSF 1
6436 cat >> confdefs.h <<\EOF
6437 #define HAVE___BUILTIN_COSL 1
6440 cat >> confdefs.h <<\EOF
6441 #define HAVE___BUILTIN_FABS 1
6444 cat >> confdefs.h <<\EOF
6445 #define HAVE___BUILTIN_FABSF 1
6448 cat >> confdefs.h <<\EOF
6449 #define HAVE___BUILTIN_FABSL 1
6452 cat >> confdefs.h <<\EOF
6453 #define HAVE___BUILTIN_SIN 1
6456 cat >> confdefs.h <<\EOF
6457 #define HAVE___BUILTIN_SINF 1
6460 cat >> confdefs.h <<\EOF
6461 #define HAVE___BUILTIN_SINL 1
6464 cat >> confdefs.h <<\EOF
6465 #define HAVE___BUILTIN_FSQRT 1
6468 cat >> confdefs.h <<\EOF
6469 #define HAVE___BUILTIN_SQRTF 1
6472 cat >> confdefs.h <<\EOF
6473 #define HAVE___BUILTIN_SQRTL 1
6479 ac_test_CXXFLAGS="${CXXFLAGS+set}"
6480 ac_save_CXXFLAGS="$CXXFLAGS"
6481 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
6483 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
6484 echo "configure:6485: checking for sin in -lm" >&5
6485 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
6486 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6487 echo $ac_n "(cached) $ac_c" 1>&6
6489 ac_save_LIBS="$LIBS"
6491 cat > conftest.$ac_ext <<EOF
6492 #line 6493 "configure"
6493 #include "confdefs.h"
6494 /* Override any gcc2 internal prototype to avoid an error. */
6495 /* We use char because int might match the return type of a gcc2
6496 builtin and then its argument prototype would still apply. */
6503 if { (eval echo configure:6504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6505 eval "ac_cv_lib_$ac_lib_var=yes"
6507 echo "configure: failed program was:" >&5
6508 cat conftest.$ac_ext >&5
6510 eval "ac_cv_lib_$ac_lib_var=no"
6513 LIBS="$ac_save_LIBS"
6516 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6517 echo "$ac_t""yes" 1>&6
6520 echo "$ac_t""no" 1>&6
6523 ac_save_LIBS="$LIBS"
6528 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
6529 echo "configure:6530: checking for isinf declaration" >&5
6530 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
6531 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
6532 echo $ac_n "(cached) $ac_c" 1>&6
6537 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6538 ac_cpp='$CXXCPP $CPPFLAGS'
6539 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6540 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6541 cross_compiling=$ac_cv_prog_cxx_cross
6543 cat > conftest.$ac_ext <<EOF
6544 #line 6545 "configure"
6545 #include "confdefs.h"
6547 #ifdef HAVE_IEEEFP_H
6555 if { (eval echo configure:6556: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6557 glibcpp_cv_func_isinf_use=yes
6559 echo "configure: failed program was:" >&5
6560 cat conftest.$ac_ext >&5
6562 glibcpp_cv_func_isinf_use=no
6566 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6567 ac_cpp='$CPP $CPPFLAGS'
6568 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6569 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6570 cross_compiling=$ac_cv_prog_cc_cross
6576 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
6578 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
6579 for ac_func in isinf
6581 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6582 echo "configure:6583: checking for $ac_func" >&5
6583 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6584 echo $ac_n "(cached) $ac_c" 1>&6
6586 cat > conftest.$ac_ext <<EOF
6587 #line 6588 "configure"
6588 #include "confdefs.h"
6589 /* System header to define __stub macros and hopefully few prototypes,
6590 which can conflict with char $ac_func(); below. */
6592 /* Override any gcc2 internal prototype to avoid an error. */
6593 /* We use char because int might match the return type of a gcc2
6594 builtin and then its argument prototype would still apply. */
6599 /* The GNU C library defines this for functions which it implements
6600 to always fail with ENOSYS. Some functions are actually named
6601 something starting with __ and the normal name is an alias. */
6602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6610 if { (eval echo configure:6611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6612 eval "ac_cv_func_$ac_func=yes"
6614 echo "configure: failed program was:" >&5
6615 cat conftest.$ac_ext >&5
6617 eval "ac_cv_func_$ac_func=no"
6622 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6623 echo "$ac_t""yes" 1>&6
6624 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6625 cat >> confdefs.h <<EOF
6626 #define $ac_tr_func 1
6630 echo "$ac_t""no" 1>&6
6636 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
6637 echo "configure:6638: checking for _isinf declaration" >&5
6638 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
6639 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
6640 echo $ac_n "(cached) $ac_c" 1>&6
6645 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6646 ac_cpp='$CXXCPP $CPPFLAGS'
6647 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6648 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6649 cross_compiling=$ac_cv_prog_cxx_cross
6651 cat > conftest.$ac_ext <<EOF
6652 #line 6653 "configure"
6653 #include "confdefs.h"
6655 #ifdef HAVE_IEEEFP_H
6663 if { (eval echo configure:6664: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6665 glibcpp_cv_func__isinf_use=yes
6667 echo "configure: failed program was:" >&5
6668 cat conftest.$ac_ext >&5
6670 glibcpp_cv_func__isinf_use=no
6674 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6675 ac_cpp='$CPP $CPPFLAGS'
6676 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6677 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6678 cross_compiling=$ac_cv_prog_cc_cross
6684 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
6686 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
6687 for ac_func in _isinf
6689 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6690 echo "configure:6691: checking for $ac_func" >&5
6691 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6692 echo $ac_n "(cached) $ac_c" 1>&6
6694 cat > conftest.$ac_ext <<EOF
6695 #line 6696 "configure"
6696 #include "confdefs.h"
6697 /* System header to define __stub macros and hopefully few prototypes,
6698 which can conflict with char $ac_func(); below. */
6700 /* Override any gcc2 internal prototype to avoid an error. */
6701 /* We use char because int might match the return type of a gcc2
6702 builtin and then its argument prototype would still apply. */
6707 /* The GNU C library defines this for functions which it implements
6708 to always fail with ENOSYS. Some functions are actually named
6709 something starting with __ and the normal name is an alias. */
6710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6718 if { (eval echo configure:6719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6720 eval "ac_cv_func_$ac_func=yes"
6722 echo "configure: failed program was:" >&5
6723 cat conftest.$ac_ext >&5
6725 eval "ac_cv_func_$ac_func=no"
6730 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6731 echo "$ac_t""yes" 1>&6
6732 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6733 cat >> confdefs.h <<EOF
6734 #define $ac_tr_func 1
6738 echo "$ac_t""no" 1>&6
6747 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
6748 echo "configure:6749: checking for isnan declaration" >&5
6749 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
6750 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
6751 echo $ac_n "(cached) $ac_c" 1>&6
6756 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6757 ac_cpp='$CXXCPP $CPPFLAGS'
6758 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6759 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6760 cross_compiling=$ac_cv_prog_cxx_cross
6762 cat > conftest.$ac_ext <<EOF
6763 #line 6764 "configure"
6764 #include "confdefs.h"
6766 #ifdef HAVE_IEEEFP_H
6774 if { (eval echo configure:6775: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6776 glibcpp_cv_func_isnan_use=yes
6778 echo "configure: failed program was:" >&5
6779 cat conftest.$ac_ext >&5
6781 glibcpp_cv_func_isnan_use=no
6785 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6786 ac_cpp='$CPP $CPPFLAGS'
6787 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6788 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6789 cross_compiling=$ac_cv_prog_cc_cross
6795 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
6797 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
6798 for ac_func in isnan
6800 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6801 echo "configure:6802: checking for $ac_func" >&5
6802 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6803 echo $ac_n "(cached) $ac_c" 1>&6
6805 cat > conftest.$ac_ext <<EOF
6806 #line 6807 "configure"
6807 #include "confdefs.h"
6808 /* System header to define __stub macros and hopefully few prototypes,
6809 which can conflict with char $ac_func(); below. */
6811 /* Override any gcc2 internal prototype to avoid an error. */
6812 /* We use char because int might match the return type of a gcc2
6813 builtin and then its argument prototype would still apply. */
6818 /* The GNU C library defines this for functions which it implements
6819 to always fail with ENOSYS. Some functions are actually named
6820 something starting with __ and the normal name is an alias. */
6821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6829 if { (eval echo configure:6830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6831 eval "ac_cv_func_$ac_func=yes"
6833 echo "configure: failed program was:" >&5
6834 cat conftest.$ac_ext >&5
6836 eval "ac_cv_func_$ac_func=no"
6841 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6842 echo "$ac_t""yes" 1>&6
6843 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6844 cat >> confdefs.h <<EOF
6845 #define $ac_tr_func 1
6849 echo "$ac_t""no" 1>&6
6855 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
6856 echo "configure:6857: checking for _isnan declaration" >&5
6857 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
6858 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
6859 echo $ac_n "(cached) $ac_c" 1>&6
6864 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6865 ac_cpp='$CXXCPP $CPPFLAGS'
6866 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6867 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6868 cross_compiling=$ac_cv_prog_cxx_cross
6870 cat > conftest.$ac_ext <<EOF
6871 #line 6872 "configure"
6872 #include "confdefs.h"
6874 #ifdef HAVE_IEEEFP_H
6882 if { (eval echo configure:6883: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6884 glibcpp_cv_func__isnan_use=yes
6886 echo "configure: failed program was:" >&5
6887 cat conftest.$ac_ext >&5
6889 glibcpp_cv_func__isnan_use=no
6893 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6894 ac_cpp='$CPP $CPPFLAGS'
6895 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6896 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6897 cross_compiling=$ac_cv_prog_cc_cross
6903 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
6905 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
6906 for ac_func in _isnan
6908 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6909 echo "configure:6910: checking for $ac_func" >&5
6910 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6911 echo $ac_n "(cached) $ac_c" 1>&6
6913 cat > conftest.$ac_ext <<EOF
6914 #line 6915 "configure"
6915 #include "confdefs.h"
6916 /* System header to define __stub macros and hopefully few prototypes,
6917 which can conflict with char $ac_func(); below. */
6919 /* Override any gcc2 internal prototype to avoid an error. */
6920 /* We use char because int might match the return type of a gcc2
6921 builtin and then its argument prototype would still apply. */
6926 /* The GNU C library defines this for functions which it implements
6927 to always fail with ENOSYS. Some functions are actually named
6928 something starting with __ and the normal name is an alias. */
6929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6937 if { (eval echo configure:6938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6939 eval "ac_cv_func_$ac_func=yes"
6941 echo "configure: failed program was:" >&5
6942 cat conftest.$ac_ext >&5
6944 eval "ac_cv_func_$ac_func=no"
6949 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6950 echo "$ac_t""yes" 1>&6
6951 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6952 cat >> confdefs.h <<EOF
6953 #define $ac_tr_func 1
6957 echo "$ac_t""no" 1>&6
6966 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
6967 echo "configure:6968: checking for finite declaration" >&5
6968 if test x${glibcpp_cv_func_finite_use+set} != xset; then
6969 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
6970 echo $ac_n "(cached) $ac_c" 1>&6
6975 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6976 ac_cpp='$CXXCPP $CPPFLAGS'
6977 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6978 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6979 cross_compiling=$ac_cv_prog_cxx_cross
6981 cat > conftest.$ac_ext <<EOF
6982 #line 6983 "configure"
6983 #include "confdefs.h"
6985 #ifdef HAVE_IEEEFP_H
6993 if { (eval echo configure:6994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6995 glibcpp_cv_func_finite_use=yes
6997 echo "configure: failed program was:" >&5
6998 cat conftest.$ac_ext >&5
7000 glibcpp_cv_func_finite_use=no
7004 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7005 ac_cpp='$CPP $CPPFLAGS'
7006 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7007 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7008 cross_compiling=$ac_cv_prog_cc_cross
7014 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
7016 if test x$glibcpp_cv_func_finite_use = x"yes"; then
7017 for ac_func in finite
7019 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7020 echo "configure:7021: checking for $ac_func" >&5
7021 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7022 echo $ac_n "(cached) $ac_c" 1>&6
7024 cat > conftest.$ac_ext <<EOF
7025 #line 7026 "configure"
7026 #include "confdefs.h"
7027 /* System header to define __stub macros and hopefully few prototypes,
7028 which can conflict with char $ac_func(); below. */
7030 /* Override any gcc2 internal prototype to avoid an error. */
7031 /* We use char because int might match the return type of a gcc2
7032 builtin and then its argument prototype would still apply. */
7037 /* The GNU C library defines this for functions which it implements
7038 to always fail with ENOSYS. Some functions are actually named
7039 something starting with __ and the normal name is an alias. */
7040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7048 if { (eval echo configure:7049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7050 eval "ac_cv_func_$ac_func=yes"
7052 echo "configure: failed program was:" >&5
7053 cat conftest.$ac_ext >&5
7055 eval "ac_cv_func_$ac_func=no"
7060 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7061 echo "$ac_t""yes" 1>&6
7062 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7063 cat >> confdefs.h <<EOF
7064 #define $ac_tr_func 1
7068 echo "$ac_t""no" 1>&6
7074 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
7075 echo "configure:7076: checking for _finite declaration" >&5
7076 if test x${glibcpp_cv_func__finite_use+set} != xset; then
7077 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
7078 echo $ac_n "(cached) $ac_c" 1>&6
7083 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7084 ac_cpp='$CXXCPP $CPPFLAGS'
7085 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7086 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7087 cross_compiling=$ac_cv_prog_cxx_cross
7089 cat > conftest.$ac_ext <<EOF
7090 #line 7091 "configure"
7091 #include "confdefs.h"
7093 #ifdef HAVE_IEEEFP_H
7101 if { (eval echo configure:7102: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7103 glibcpp_cv_func__finite_use=yes
7105 echo "configure: failed program was:" >&5
7106 cat conftest.$ac_ext >&5
7108 glibcpp_cv_func__finite_use=no
7112 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7113 ac_cpp='$CPP $CPPFLAGS'
7114 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7115 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7116 cross_compiling=$ac_cv_prog_cc_cross
7122 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
7124 if test x$glibcpp_cv_func__finite_use = x"yes"; then
7125 for ac_func in _finite
7127 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7128 echo "configure:7129: checking for $ac_func" >&5
7129 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7130 echo $ac_n "(cached) $ac_c" 1>&6
7132 cat > conftest.$ac_ext <<EOF
7133 #line 7134 "configure"
7134 #include "confdefs.h"
7135 /* System header to define __stub macros and hopefully few prototypes,
7136 which can conflict with char $ac_func(); below. */
7138 /* Override any gcc2 internal prototype to avoid an error. */
7139 /* We use char because int might match the return type of a gcc2
7140 builtin and then its argument prototype would still apply. */
7145 /* The GNU C library defines this for functions which it implements
7146 to always fail with ENOSYS. Some functions are actually named
7147 something starting with __ and the normal name is an alias. */
7148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7156 if { (eval echo configure:7157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7158 eval "ac_cv_func_$ac_func=yes"
7160 echo "configure: failed program was:" >&5
7161 cat conftest.$ac_ext >&5
7163 eval "ac_cv_func_$ac_func=no"
7168 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7169 echo "$ac_t""yes" 1>&6
7170 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7171 cat >> confdefs.h <<EOF
7172 #define $ac_tr_func 1
7176 echo "$ac_t""no" 1>&6
7185 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
7186 echo "configure:7187: checking for copysign declaration" >&5
7187 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
7188 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
7189 echo $ac_n "(cached) $ac_c" 1>&6
7194 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7195 ac_cpp='$CXXCPP $CPPFLAGS'
7196 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7197 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7198 cross_compiling=$ac_cv_prog_cxx_cross
7200 cat > conftest.$ac_ext <<EOF
7201 #line 7202 "configure"
7202 #include "confdefs.h"
7208 if { (eval echo configure:7209: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7210 glibcpp_cv_func_copysign_use=yes
7212 echo "configure: failed program was:" >&5
7213 cat conftest.$ac_ext >&5
7215 glibcpp_cv_func_copysign_use=no
7219 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7220 ac_cpp='$CPP $CPPFLAGS'
7221 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7222 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7223 cross_compiling=$ac_cv_prog_cc_cross
7229 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
7231 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
7232 for ac_func in copysign
7234 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7235 echo "configure:7236: checking for $ac_func" >&5
7236 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7237 echo $ac_n "(cached) $ac_c" 1>&6
7239 cat > conftest.$ac_ext <<EOF
7240 #line 7241 "configure"
7241 #include "confdefs.h"
7242 /* System header to define __stub macros and hopefully few prototypes,
7243 which can conflict with char $ac_func(); below. */
7245 /* Override any gcc2 internal prototype to avoid an error. */
7246 /* We use char because int might match the return type of a gcc2
7247 builtin and then its argument prototype would still apply. */
7252 /* The GNU C library defines this for functions which it implements
7253 to always fail with ENOSYS. Some functions are actually named
7254 something starting with __ and the normal name is an alias. */
7255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7263 if { (eval echo configure:7264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7265 eval "ac_cv_func_$ac_func=yes"
7267 echo "configure: failed program was:" >&5
7268 cat conftest.$ac_ext >&5
7270 eval "ac_cv_func_$ac_func=no"
7275 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7276 echo "$ac_t""yes" 1>&6
7277 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7278 cat >> confdefs.h <<EOF
7279 #define $ac_tr_func 1
7283 echo "$ac_t""no" 1>&6
7289 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
7290 echo "configure:7291: checking for _copysign declaration" >&5
7291 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
7292 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
7293 echo $ac_n "(cached) $ac_c" 1>&6
7298 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7299 ac_cpp='$CXXCPP $CPPFLAGS'
7300 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7301 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7302 cross_compiling=$ac_cv_prog_cxx_cross
7304 cat > conftest.$ac_ext <<EOF
7305 #line 7306 "configure"
7306 #include "confdefs.h"
7312 if { (eval echo configure:7313: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7314 glibcpp_cv_func__copysign_use=yes
7316 echo "configure: failed program was:" >&5
7317 cat conftest.$ac_ext >&5
7319 glibcpp_cv_func__copysign_use=no
7323 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7324 ac_cpp='$CPP $CPPFLAGS'
7325 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7326 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7327 cross_compiling=$ac_cv_prog_cc_cross
7333 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
7335 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
7336 for ac_func in _copysign
7338 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7339 echo "configure:7340: checking for $ac_func" >&5
7340 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7341 echo $ac_n "(cached) $ac_c" 1>&6
7343 cat > conftest.$ac_ext <<EOF
7344 #line 7345 "configure"
7345 #include "confdefs.h"
7346 /* System header to define __stub macros and hopefully few prototypes,
7347 which can conflict with char $ac_func(); below. */
7349 /* Override any gcc2 internal prototype to avoid an error. */
7350 /* We use char because int might match the return type of a gcc2
7351 builtin and then its argument prototype would still apply. */
7356 /* The GNU C library defines this for functions which it implements
7357 to always fail with ENOSYS. Some functions are actually named
7358 something starting with __ and the normal name is an alias. */
7359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7367 if { (eval echo configure:7368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7369 eval "ac_cv_func_$ac_func=yes"
7371 echo "configure: failed program was:" >&5
7372 cat conftest.$ac_ext >&5
7374 eval "ac_cv_func_$ac_func=no"
7379 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7380 echo "$ac_t""yes" 1>&6
7381 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7382 cat >> confdefs.h <<EOF
7383 #define $ac_tr_func 1
7387 echo "$ac_t""no" 1>&6
7396 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
7397 echo "configure:7398: checking for sincos declaration" >&5
7398 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
7399 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
7400 echo $ac_n "(cached) $ac_c" 1>&6
7405 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7406 ac_cpp='$CXXCPP $CPPFLAGS'
7407 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7408 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7409 cross_compiling=$ac_cv_prog_cxx_cross
7411 cat > conftest.$ac_ext <<EOF
7412 #line 7413 "configure"
7413 #include "confdefs.h"
7419 if { (eval echo configure:7420: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7421 glibcpp_cv_func_sincos_use=yes
7423 echo "configure: failed program was:" >&5
7424 cat conftest.$ac_ext >&5
7426 glibcpp_cv_func_sincos_use=no
7430 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7431 ac_cpp='$CPP $CPPFLAGS'
7432 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7433 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7434 cross_compiling=$ac_cv_prog_cc_cross
7440 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
7442 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
7443 for ac_func in sincos
7445 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7446 echo "configure:7447: checking for $ac_func" >&5
7447 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7448 echo $ac_n "(cached) $ac_c" 1>&6
7450 cat > conftest.$ac_ext <<EOF
7451 #line 7452 "configure"
7452 #include "confdefs.h"
7453 /* System header to define __stub macros and hopefully few prototypes,
7454 which can conflict with char $ac_func(); below. */
7456 /* Override any gcc2 internal prototype to avoid an error. */
7457 /* We use char because int might match the return type of a gcc2
7458 builtin and then its argument prototype would still apply. */
7463 /* The GNU C library defines this for functions which it implements
7464 to always fail with ENOSYS. Some functions are actually named
7465 something starting with __ and the normal name is an alias. */
7466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7474 if { (eval echo configure:7475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7476 eval "ac_cv_func_$ac_func=yes"
7478 echo "configure: failed program was:" >&5
7479 cat conftest.$ac_ext >&5
7481 eval "ac_cv_func_$ac_func=no"
7486 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7487 echo "$ac_t""yes" 1>&6
7488 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7489 cat >> confdefs.h <<EOF
7490 #define $ac_tr_func 1
7494 echo "$ac_t""no" 1>&6
7500 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
7501 echo "configure:7502: checking for _sincos declaration" >&5
7502 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
7503 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
7504 echo $ac_n "(cached) $ac_c" 1>&6
7509 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7510 ac_cpp='$CXXCPP $CPPFLAGS'
7511 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7512 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7513 cross_compiling=$ac_cv_prog_cxx_cross
7515 cat > conftest.$ac_ext <<EOF
7516 #line 7517 "configure"
7517 #include "confdefs.h"
7523 if { (eval echo configure:7524: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7525 glibcpp_cv_func__sincos_use=yes
7527 echo "configure: failed program was:" >&5
7528 cat conftest.$ac_ext >&5
7530 glibcpp_cv_func__sincos_use=no
7534 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7535 ac_cpp='$CPP $CPPFLAGS'
7536 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7537 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7538 cross_compiling=$ac_cv_prog_cc_cross
7544 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
7546 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
7547 for ac_func in _sincos
7549 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7550 echo "configure:7551: checking for $ac_func" >&5
7551 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7552 echo $ac_n "(cached) $ac_c" 1>&6
7554 cat > conftest.$ac_ext <<EOF
7555 #line 7556 "configure"
7556 #include "confdefs.h"
7557 /* System header to define __stub macros and hopefully few prototypes,
7558 which can conflict with char $ac_func(); below. */
7560 /* Override any gcc2 internal prototype to avoid an error. */
7561 /* We use char because int might match the return type of a gcc2
7562 builtin and then its argument prototype would still apply. */
7567 /* The GNU C library defines this for functions which it implements
7568 to always fail with ENOSYS. Some functions are actually named
7569 something starting with __ and the normal name is an alias. */
7570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7578 if { (eval echo configure:7579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7580 eval "ac_cv_func_$ac_func=yes"
7582 echo "configure: failed program was:" >&5
7583 cat conftest.$ac_ext >&5
7585 eval "ac_cv_func_$ac_func=no"
7590 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7591 echo "$ac_t""yes" 1>&6
7592 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7593 cat >> confdefs.h <<EOF
7594 #define $ac_tr_func 1
7598 echo "$ac_t""no" 1>&6
7607 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
7608 echo "configure:7609: checking for fpclass declaration" >&5
7609 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
7610 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
7611 echo $ac_n "(cached) $ac_c" 1>&6
7616 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7617 ac_cpp='$CXXCPP $CPPFLAGS'
7618 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7619 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7620 cross_compiling=$ac_cv_prog_cxx_cross
7622 cat > conftest.$ac_ext <<EOF
7623 #line 7624 "configure"
7624 #include "confdefs.h"
7626 #ifdef HAVE_IEEEFP_H
7634 if { (eval echo configure:7635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7636 glibcpp_cv_func_fpclass_use=yes
7638 echo "configure: failed program was:" >&5
7639 cat conftest.$ac_ext >&5
7641 glibcpp_cv_func_fpclass_use=no
7645 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7646 ac_cpp='$CPP $CPPFLAGS'
7647 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7648 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7649 cross_compiling=$ac_cv_prog_cc_cross
7655 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
7657 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
7658 for ac_func in fpclass
7660 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7661 echo "configure:7662: checking for $ac_func" >&5
7662 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7663 echo $ac_n "(cached) $ac_c" 1>&6
7665 cat > conftest.$ac_ext <<EOF
7666 #line 7667 "configure"
7667 #include "confdefs.h"
7668 /* System header to define __stub macros and hopefully few prototypes,
7669 which can conflict with char $ac_func(); below. */
7671 /* Override any gcc2 internal prototype to avoid an error. */
7672 /* We use char because int might match the return type of a gcc2
7673 builtin and then its argument prototype would still apply. */
7678 /* The GNU C library defines this for functions which it implements
7679 to always fail with ENOSYS. Some functions are actually named
7680 something starting with __ and the normal name is an alias. */
7681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7689 if { (eval echo configure:7690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7691 eval "ac_cv_func_$ac_func=yes"
7693 echo "configure: failed program was:" >&5
7694 cat conftest.$ac_ext >&5
7696 eval "ac_cv_func_$ac_func=no"
7701 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7702 echo "$ac_t""yes" 1>&6
7703 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7704 cat >> confdefs.h <<EOF
7705 #define $ac_tr_func 1
7709 echo "$ac_t""no" 1>&6
7715 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
7716 echo "configure:7717: checking for _fpclass declaration" >&5
7717 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
7718 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
7719 echo $ac_n "(cached) $ac_c" 1>&6
7724 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7725 ac_cpp='$CXXCPP $CPPFLAGS'
7726 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7727 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7728 cross_compiling=$ac_cv_prog_cxx_cross
7730 cat > conftest.$ac_ext <<EOF
7731 #line 7732 "configure"
7732 #include "confdefs.h"
7734 #ifdef HAVE_IEEEFP_H
7742 if { (eval echo configure:7743: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7744 glibcpp_cv_func__fpclass_use=yes
7746 echo "configure: failed program was:" >&5
7747 cat conftest.$ac_ext >&5
7749 glibcpp_cv_func__fpclass_use=no
7753 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7754 ac_cpp='$CPP $CPPFLAGS'
7755 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7756 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7757 cross_compiling=$ac_cv_prog_cc_cross
7763 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
7765 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
7766 for ac_func in _fpclass
7768 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7769 echo "configure:7770: checking for $ac_func" >&5
7770 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7771 echo $ac_n "(cached) $ac_c" 1>&6
7773 cat > conftest.$ac_ext <<EOF
7774 #line 7775 "configure"
7775 #include "confdefs.h"
7776 /* System header to define __stub macros and hopefully few prototypes,
7777 which can conflict with char $ac_func(); below. */
7779 /* Override any gcc2 internal prototype to avoid an error. */
7780 /* We use char because int might match the return type of a gcc2
7781 builtin and then its argument prototype would still apply. */
7786 /* The GNU C library defines this for functions which it implements
7787 to always fail with ENOSYS. Some functions are actually named
7788 something starting with __ and the normal name is an alias. */
7789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7797 if { (eval echo configure:7798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7799 eval "ac_cv_func_$ac_func=yes"
7801 echo "configure: failed program was:" >&5
7802 cat conftest.$ac_ext >&5
7804 eval "ac_cv_func_$ac_func=no"
7809 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7810 echo "$ac_t""yes" 1>&6
7811 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7812 cat >> confdefs.h <<EOF
7813 #define $ac_tr_func 1
7817 echo "$ac_t""no" 1>&6
7826 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
7827 echo "configure:7828: checking for qfpclass declaration" >&5
7828 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
7829 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
7830 echo $ac_n "(cached) $ac_c" 1>&6
7835 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7836 ac_cpp='$CXXCPP $CPPFLAGS'
7837 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7838 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7839 cross_compiling=$ac_cv_prog_cxx_cross
7841 cat > conftest.$ac_ext <<EOF
7842 #line 7843 "configure"
7843 #include "confdefs.h"
7845 #ifdef HAVE_IEEEFP_H
7853 if { (eval echo configure:7854: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7855 glibcpp_cv_func_qfpclass_use=yes
7857 echo "configure: failed program was:" >&5
7858 cat conftest.$ac_ext >&5
7860 glibcpp_cv_func_qfpclass_use=no
7864 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7865 ac_cpp='$CPP $CPPFLAGS'
7866 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7867 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7868 cross_compiling=$ac_cv_prog_cc_cross
7874 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
7876 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
7877 for ac_func in qfpclass
7879 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7880 echo "configure:7881: checking for $ac_func" >&5
7881 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7882 echo $ac_n "(cached) $ac_c" 1>&6
7884 cat > conftest.$ac_ext <<EOF
7885 #line 7886 "configure"
7886 #include "confdefs.h"
7887 /* System header to define __stub macros and hopefully few prototypes,
7888 which can conflict with char $ac_func(); below. */
7890 /* Override any gcc2 internal prototype to avoid an error. */
7891 /* We use char because int might match the return type of a gcc2
7892 builtin and then its argument prototype would still apply. */
7897 /* The GNU C library defines this for functions which it implements
7898 to always fail with ENOSYS. Some functions are actually named
7899 something starting with __ and the normal name is an alias. */
7900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7908 if { (eval echo configure:7909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7910 eval "ac_cv_func_$ac_func=yes"
7912 echo "configure: failed program was:" >&5
7913 cat conftest.$ac_ext >&5
7915 eval "ac_cv_func_$ac_func=no"
7920 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7921 echo "$ac_t""yes" 1>&6
7922 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7923 cat >> confdefs.h <<EOF
7924 #define $ac_tr_func 1
7928 echo "$ac_t""no" 1>&6
7934 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
7935 echo "configure:7936: checking for _qfpclass declaration" >&5
7936 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
7937 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
7938 echo $ac_n "(cached) $ac_c" 1>&6
7943 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7944 ac_cpp='$CXXCPP $CPPFLAGS'
7945 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7946 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7947 cross_compiling=$ac_cv_prog_cxx_cross
7949 cat > conftest.$ac_ext <<EOF
7950 #line 7951 "configure"
7951 #include "confdefs.h"
7953 #ifdef HAVE_IEEEFP_H
7961 if { (eval echo configure:7962: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7963 glibcpp_cv_func__qfpclass_use=yes
7965 echo "configure: failed program was:" >&5
7966 cat conftest.$ac_ext >&5
7968 glibcpp_cv_func__qfpclass_use=no
7972 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7973 ac_cpp='$CPP $CPPFLAGS'
7974 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7975 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7976 cross_compiling=$ac_cv_prog_cc_cross
7982 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
7984 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
7985 for ac_func in _qfpclass
7987 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7988 echo "configure:7989: checking for $ac_func" >&5
7989 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7990 echo $ac_n "(cached) $ac_c" 1>&6
7992 cat > conftest.$ac_ext <<EOF
7993 #line 7994 "configure"
7994 #include "confdefs.h"
7995 /* System header to define __stub macros and hopefully few prototypes,
7996 which can conflict with char $ac_func(); below. */
7998 /* Override any gcc2 internal prototype to avoid an error. */
7999 /* We use char because int might match the return type of a gcc2
8000 builtin and then its argument prototype would still apply. */
8005 /* The GNU C library defines this for functions which it implements
8006 to always fail with ENOSYS. Some functions are actually named
8007 something starting with __ and the normal name is an alias. */
8008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8016 if { (eval echo configure:8017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8018 eval "ac_cv_func_$ac_func=yes"
8020 echo "configure: failed program was:" >&5
8021 cat conftest.$ac_ext >&5
8023 eval "ac_cv_func_$ac_func=no"
8028 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8029 echo "$ac_t""yes" 1>&6
8030 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8031 cat >> confdefs.h <<EOF
8032 #define $ac_tr_func 1
8036 echo "$ac_t""no" 1>&6
8045 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
8046 echo "configure:8047: checking for float trig functions" >&5
8047 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
8048 echo $ac_n "(cached) $ac_c" 1>&6
8053 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8054 ac_cpp='$CXXCPP $CPPFLAGS'
8055 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8056 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8057 cross_compiling=$ac_cv_prog_cxx_cross
8059 cat > conftest.$ac_ext <<EOF
8060 #line 8061 "configure"
8061 #include "confdefs.h"
8064 `for x in acosf asinf atanf \
8066 coshf sinhf tanhf; do echo "$x (0);"; done`
8069 if { (eval echo configure:8070: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8071 glibcpp_cv_func_float_trig_use=yes
8073 echo "configure: failed program was:" >&5
8074 cat conftest.$ac_ext >&5
8076 glibcpp_cv_func_float_trig_use=no
8080 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8081 ac_cpp='$CPP $CPPFLAGS'
8082 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8083 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8084 cross_compiling=$ac_cv_prog_cc_cross
8088 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
8089 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
8090 for ac_func in acosf asinf atanf \
8094 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8095 echo "configure:8096: checking for $ac_func" >&5
8096 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8097 echo $ac_n "(cached) $ac_c" 1>&6
8099 cat > conftest.$ac_ext <<EOF
8100 #line 8101 "configure"
8101 #include "confdefs.h"
8102 /* System header to define __stub macros and hopefully few prototypes,
8103 which can conflict with char $ac_func(); below. */
8105 /* Override any gcc2 internal prototype to avoid an error. */
8106 /* We use char because int might match the return type of a gcc2
8107 builtin and then its argument prototype would still apply. */
8112 /* The GNU C library defines this for functions which it implements
8113 to always fail with ENOSYS. Some functions are actually named
8114 something starting with __ and the normal name is an alias. */
8115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8123 if { (eval echo configure:8124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8125 eval "ac_cv_func_$ac_func=yes"
8127 echo "configure: failed program was:" >&5
8128 cat conftest.$ac_ext >&5
8130 eval "ac_cv_func_$ac_func=no"
8135 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8136 echo "$ac_t""yes" 1>&6
8137 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8138 cat >> confdefs.h <<EOF
8139 #define $ac_tr_func 1
8143 echo "$ac_t""no" 1>&6
8150 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
8151 echo "configure:8152: checking for float round functions" >&5
8152 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
8153 echo $ac_n "(cached) $ac_c" 1>&6
8158 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8159 ac_cpp='$CXXCPP $CPPFLAGS'
8160 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8161 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8162 cross_compiling=$ac_cv_prog_cxx_cross
8164 cat > conftest.$ac_ext <<EOF
8165 #line 8166 "configure"
8166 #include "confdefs.h"
8169 `for x in ceilf floorf; do echo "$x (0);"; done`
8172 if { (eval echo configure:8173: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8174 glibcpp_cv_func_float_round_use=yes
8176 echo "configure: failed program was:" >&5
8177 cat conftest.$ac_ext >&5
8179 glibcpp_cv_func_float_round_use=no
8183 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8184 ac_cpp='$CPP $CPPFLAGS'
8185 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8186 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8187 cross_compiling=$ac_cv_prog_cc_cross
8191 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
8192 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
8193 for ac_func in ceilf floorf
8195 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8196 echo "configure:8197: checking for $ac_func" >&5
8197 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8198 echo $ac_n "(cached) $ac_c" 1>&6
8200 cat > conftest.$ac_ext <<EOF
8201 #line 8202 "configure"
8202 #include "confdefs.h"
8203 /* System header to define __stub macros and hopefully few prototypes,
8204 which can conflict with char $ac_func(); below. */
8206 /* Override any gcc2 internal prototype to avoid an error. */
8207 /* We use char because int might match the return type of a gcc2
8208 builtin and then its argument prototype would still apply. */
8213 /* The GNU C library defines this for functions which it implements
8214 to always fail with ENOSYS. Some functions are actually named
8215 something starting with __ and the normal name is an alias. */
8216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8224 if { (eval echo configure:8225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8226 eval "ac_cv_func_$ac_func=yes"
8228 echo "configure: failed program was:" >&5
8229 cat conftest.$ac_ext >&5
8231 eval "ac_cv_func_$ac_func=no"
8236 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8237 echo "$ac_t""yes" 1>&6
8238 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8239 cat >> confdefs.h <<EOF
8240 #define $ac_tr_func 1
8244 echo "$ac_t""no" 1>&6
8252 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
8253 echo "configure:8254: checking for isnanf declaration" >&5
8254 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
8255 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
8256 echo $ac_n "(cached) $ac_c" 1>&6
8261 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8262 ac_cpp='$CXXCPP $CPPFLAGS'
8263 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8264 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8265 cross_compiling=$ac_cv_prog_cxx_cross
8267 cat > conftest.$ac_ext <<EOF
8268 #line 8269 "configure"
8269 #include "confdefs.h"
8271 #ifdef HAVE_IEEEFP_H
8279 if { (eval echo configure:8280: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8281 glibcpp_cv_func_isnanf_use=yes
8283 echo "configure: failed program was:" >&5
8284 cat conftest.$ac_ext >&5
8286 glibcpp_cv_func_isnanf_use=no
8290 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8291 ac_cpp='$CPP $CPPFLAGS'
8292 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8293 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8294 cross_compiling=$ac_cv_prog_cc_cross
8300 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
8302 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
8303 for ac_func in isnanf
8305 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8306 echo "configure:8307: checking for $ac_func" >&5
8307 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8308 echo $ac_n "(cached) $ac_c" 1>&6
8310 cat > conftest.$ac_ext <<EOF
8311 #line 8312 "configure"
8312 #include "confdefs.h"
8313 /* System header to define __stub macros and hopefully few prototypes,
8314 which can conflict with char $ac_func(); below. */
8316 /* Override any gcc2 internal prototype to avoid an error. */
8317 /* We use char because int might match the return type of a gcc2
8318 builtin and then its argument prototype would still apply. */
8323 /* The GNU C library defines this for functions which it implements
8324 to always fail with ENOSYS. Some functions are actually named
8325 something starting with __ and the normal name is an alias. */
8326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8334 if { (eval echo configure:8335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8336 eval "ac_cv_func_$ac_func=yes"
8338 echo "configure: failed program was:" >&5
8339 cat conftest.$ac_ext >&5
8341 eval "ac_cv_func_$ac_func=no"
8346 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8347 echo "$ac_t""yes" 1>&6
8348 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8349 cat >> confdefs.h <<EOF
8350 #define $ac_tr_func 1
8354 echo "$ac_t""no" 1>&6
8360 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
8361 echo "configure:8362: checking for _isnanf declaration" >&5
8362 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
8363 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
8364 echo $ac_n "(cached) $ac_c" 1>&6
8369 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8370 ac_cpp='$CXXCPP $CPPFLAGS'
8371 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8372 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8373 cross_compiling=$ac_cv_prog_cxx_cross
8375 cat > conftest.$ac_ext <<EOF
8376 #line 8377 "configure"
8377 #include "confdefs.h"
8379 #ifdef HAVE_IEEEFP_H
8387 if { (eval echo configure:8388: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8389 glibcpp_cv_func__isnanf_use=yes
8391 echo "configure: failed program was:" >&5
8392 cat conftest.$ac_ext >&5
8394 glibcpp_cv_func__isnanf_use=no
8398 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8399 ac_cpp='$CPP $CPPFLAGS'
8400 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8401 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8402 cross_compiling=$ac_cv_prog_cc_cross
8408 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
8410 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
8411 for ac_func in _isnanf
8413 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8414 echo "configure:8415: checking for $ac_func" >&5
8415 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8416 echo $ac_n "(cached) $ac_c" 1>&6
8418 cat > conftest.$ac_ext <<EOF
8419 #line 8420 "configure"
8420 #include "confdefs.h"
8421 /* System header to define __stub macros and hopefully few prototypes,
8422 which can conflict with char $ac_func(); below. */
8424 /* Override any gcc2 internal prototype to avoid an error. */
8425 /* We use char because int might match the return type of a gcc2
8426 builtin and then its argument prototype would still apply. */
8431 /* The GNU C library defines this for functions which it implements
8432 to always fail with ENOSYS. Some functions are actually named
8433 something starting with __ and the normal name is an alias. */
8434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8442 if { (eval echo configure:8443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8444 eval "ac_cv_func_$ac_func=yes"
8446 echo "configure: failed program was:" >&5
8447 cat conftest.$ac_ext >&5
8449 eval "ac_cv_func_$ac_func=no"
8454 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8455 echo "$ac_t""yes" 1>&6
8456 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8457 cat >> confdefs.h <<EOF
8458 #define $ac_tr_func 1
8462 echo "$ac_t""no" 1>&6
8471 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
8472 echo "configure:8473: checking for isinff declaration" >&5
8473 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
8474 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
8475 echo $ac_n "(cached) $ac_c" 1>&6
8480 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8481 ac_cpp='$CXXCPP $CPPFLAGS'
8482 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8483 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8484 cross_compiling=$ac_cv_prog_cxx_cross
8486 cat > conftest.$ac_ext <<EOF
8487 #line 8488 "configure"
8488 #include "confdefs.h"
8490 #ifdef HAVE_IEEEFP_H
8498 if { (eval echo configure:8499: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8500 glibcpp_cv_func_isinff_use=yes
8502 echo "configure: failed program was:" >&5
8503 cat conftest.$ac_ext >&5
8505 glibcpp_cv_func_isinff_use=no
8509 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8510 ac_cpp='$CPP $CPPFLAGS'
8511 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8512 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8513 cross_compiling=$ac_cv_prog_cc_cross
8519 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
8521 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
8522 for ac_func in isinff
8524 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8525 echo "configure:8526: checking for $ac_func" >&5
8526 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8527 echo $ac_n "(cached) $ac_c" 1>&6
8529 cat > conftest.$ac_ext <<EOF
8530 #line 8531 "configure"
8531 #include "confdefs.h"
8532 /* System header to define __stub macros and hopefully few prototypes,
8533 which can conflict with char $ac_func(); below. */
8535 /* Override any gcc2 internal prototype to avoid an error. */
8536 /* We use char because int might match the return type of a gcc2
8537 builtin and then its argument prototype would still apply. */
8542 /* The GNU C library defines this for functions which it implements
8543 to always fail with ENOSYS. Some functions are actually named
8544 something starting with __ and the normal name is an alias. */
8545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8553 if { (eval echo configure:8554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8555 eval "ac_cv_func_$ac_func=yes"
8557 echo "configure: failed program was:" >&5
8558 cat conftest.$ac_ext >&5
8560 eval "ac_cv_func_$ac_func=no"
8565 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8566 echo "$ac_t""yes" 1>&6
8567 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8568 cat >> confdefs.h <<EOF
8569 #define $ac_tr_func 1
8573 echo "$ac_t""no" 1>&6
8579 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
8580 echo "configure:8581: checking for _isinff declaration" >&5
8581 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
8582 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
8583 echo $ac_n "(cached) $ac_c" 1>&6
8588 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8589 ac_cpp='$CXXCPP $CPPFLAGS'
8590 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8591 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8592 cross_compiling=$ac_cv_prog_cxx_cross
8594 cat > conftest.$ac_ext <<EOF
8595 #line 8596 "configure"
8596 #include "confdefs.h"
8598 #ifdef HAVE_IEEEFP_H
8606 if { (eval echo configure:8607: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8608 glibcpp_cv_func__isinff_use=yes
8610 echo "configure: failed program was:" >&5
8611 cat conftest.$ac_ext >&5
8613 glibcpp_cv_func__isinff_use=no
8617 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8618 ac_cpp='$CPP $CPPFLAGS'
8619 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8620 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8621 cross_compiling=$ac_cv_prog_cc_cross
8627 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
8629 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
8630 for ac_func in _isinff
8632 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8633 echo "configure:8634: checking for $ac_func" >&5
8634 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8635 echo $ac_n "(cached) $ac_c" 1>&6
8637 cat > conftest.$ac_ext <<EOF
8638 #line 8639 "configure"
8639 #include "confdefs.h"
8640 /* System header to define __stub macros and hopefully few prototypes,
8641 which can conflict with char $ac_func(); below. */
8643 /* Override any gcc2 internal prototype to avoid an error. */
8644 /* We use char because int might match the return type of a gcc2
8645 builtin and then its argument prototype would still apply. */
8650 /* The GNU C library defines this for functions which it implements
8651 to always fail with ENOSYS. Some functions are actually named
8652 something starting with __ and the normal name is an alias. */
8653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8661 if { (eval echo configure:8662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8663 eval "ac_cv_func_$ac_func=yes"
8665 echo "configure: failed program was:" >&5
8666 cat conftest.$ac_ext >&5
8668 eval "ac_cv_func_$ac_func=no"
8673 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8674 echo "$ac_t""yes" 1>&6
8675 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8676 cat >> confdefs.h <<EOF
8677 #define $ac_tr_func 1
8681 echo "$ac_t""no" 1>&6
8690 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
8691 echo "configure:8692: checking for fabsf declaration" >&5
8692 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
8693 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
8694 echo $ac_n "(cached) $ac_c" 1>&6
8699 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8700 ac_cpp='$CXXCPP $CPPFLAGS'
8701 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8702 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8703 cross_compiling=$ac_cv_prog_cxx_cross
8705 cat > conftest.$ac_ext <<EOF
8706 #line 8707 "configure"
8707 #include "confdefs.h"
8709 #ifdef HAVE_IEEEFP_H
8717 if { (eval echo configure:8718: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8719 glibcpp_cv_func_fabsf_use=yes
8721 echo "configure: failed program was:" >&5
8722 cat conftest.$ac_ext >&5
8724 glibcpp_cv_func_fabsf_use=no
8728 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8729 ac_cpp='$CPP $CPPFLAGS'
8730 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8731 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8732 cross_compiling=$ac_cv_prog_cc_cross
8738 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
8740 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
8741 for ac_func in fabsf
8743 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8744 echo "configure:8745: checking for $ac_func" >&5
8745 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8746 echo $ac_n "(cached) $ac_c" 1>&6
8748 cat > conftest.$ac_ext <<EOF
8749 #line 8750 "configure"
8750 #include "confdefs.h"
8751 /* System header to define __stub macros and hopefully few prototypes,
8752 which can conflict with char $ac_func(); below. */
8754 /* Override any gcc2 internal prototype to avoid an error. */
8755 /* We use char because int might match the return type of a gcc2
8756 builtin and then its argument prototype would still apply. */
8761 /* The GNU C library defines this for functions which it implements
8762 to always fail with ENOSYS. Some functions are actually named
8763 something starting with __ and the normal name is an alias. */
8764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8772 if { (eval echo configure:8773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8774 eval "ac_cv_func_$ac_func=yes"
8776 echo "configure: failed program was:" >&5
8777 cat conftest.$ac_ext >&5
8779 eval "ac_cv_func_$ac_func=no"
8784 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8785 echo "$ac_t""yes" 1>&6
8786 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8787 cat >> confdefs.h <<EOF
8788 #define $ac_tr_func 1
8792 echo "$ac_t""no" 1>&6
8798 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
8799 echo "configure:8800: checking for _fabsf declaration" >&5
8800 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
8801 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
8802 echo $ac_n "(cached) $ac_c" 1>&6
8807 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8808 ac_cpp='$CXXCPP $CPPFLAGS'
8809 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8810 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8811 cross_compiling=$ac_cv_prog_cxx_cross
8813 cat > conftest.$ac_ext <<EOF
8814 #line 8815 "configure"
8815 #include "confdefs.h"
8817 #ifdef HAVE_IEEEFP_H
8825 if { (eval echo configure:8826: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8827 glibcpp_cv_func__fabsf_use=yes
8829 echo "configure: failed program was:" >&5
8830 cat conftest.$ac_ext >&5
8832 glibcpp_cv_func__fabsf_use=no
8836 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8837 ac_cpp='$CPP $CPPFLAGS'
8838 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8839 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8840 cross_compiling=$ac_cv_prog_cc_cross
8846 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
8848 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
8849 for ac_func in _fabsf
8851 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8852 echo "configure:8853: checking for $ac_func" >&5
8853 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8854 echo $ac_n "(cached) $ac_c" 1>&6
8856 cat > conftest.$ac_ext <<EOF
8857 #line 8858 "configure"
8858 #include "confdefs.h"
8859 /* System header to define __stub macros and hopefully few prototypes,
8860 which can conflict with char $ac_func(); below. */
8862 /* Override any gcc2 internal prototype to avoid an error. */
8863 /* We use char because int might match the return type of a gcc2
8864 builtin and then its argument prototype would still apply. */
8869 /* The GNU C library defines this for functions which it implements
8870 to always fail with ENOSYS. Some functions are actually named
8871 something starting with __ and the normal name is an alias. */
8872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8880 if { (eval echo configure:8881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8882 eval "ac_cv_func_$ac_func=yes"
8884 echo "configure: failed program was:" >&5
8885 cat conftest.$ac_ext >&5
8887 eval "ac_cv_func_$ac_func=no"
8892 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8893 echo "$ac_t""yes" 1>&6
8894 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8895 cat >> confdefs.h <<EOF
8896 #define $ac_tr_func 1
8900 echo "$ac_t""no" 1>&6
8909 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
8910 echo "configure:8911: checking for fmodf declaration" >&5
8911 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
8912 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
8913 echo $ac_n "(cached) $ac_c" 1>&6
8918 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8919 ac_cpp='$CXXCPP $CPPFLAGS'
8920 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8921 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8922 cross_compiling=$ac_cv_prog_cxx_cross
8924 cat > conftest.$ac_ext <<EOF
8925 #line 8926 "configure"
8926 #include "confdefs.h"
8932 if { (eval echo configure:8933: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8934 glibcpp_cv_func_fmodf_use=yes
8936 echo "configure: failed program was:" >&5
8937 cat conftest.$ac_ext >&5
8939 glibcpp_cv_func_fmodf_use=no
8943 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8944 ac_cpp='$CPP $CPPFLAGS'
8945 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8946 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8947 cross_compiling=$ac_cv_prog_cc_cross
8953 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
8955 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
8956 for ac_func in fmodf
8958 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8959 echo "configure:8960: checking for $ac_func" >&5
8960 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8961 echo $ac_n "(cached) $ac_c" 1>&6
8963 cat > conftest.$ac_ext <<EOF
8964 #line 8965 "configure"
8965 #include "confdefs.h"
8966 /* System header to define __stub macros and hopefully few prototypes,
8967 which can conflict with char $ac_func(); below. */
8969 /* Override any gcc2 internal prototype to avoid an error. */
8970 /* We use char because int might match the return type of a gcc2
8971 builtin and then its argument prototype would still apply. */
8976 /* The GNU C library defines this for functions which it implements
8977 to always fail with ENOSYS. Some functions are actually named
8978 something starting with __ and the normal name is an alias. */
8979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8987 if { (eval echo configure:8988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8989 eval "ac_cv_func_$ac_func=yes"
8991 echo "configure: failed program was:" >&5
8992 cat conftest.$ac_ext >&5
8994 eval "ac_cv_func_$ac_func=no"
8999 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9000 echo "$ac_t""yes" 1>&6
9001 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9002 cat >> confdefs.h <<EOF
9003 #define $ac_tr_func 1
9007 echo "$ac_t""no" 1>&6
9013 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
9014 echo "configure:9015: checking for _fmodf declaration" >&5
9015 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
9016 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
9017 echo $ac_n "(cached) $ac_c" 1>&6
9022 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9023 ac_cpp='$CXXCPP $CPPFLAGS'
9024 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9025 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9026 cross_compiling=$ac_cv_prog_cxx_cross
9028 cat > conftest.$ac_ext <<EOF
9029 #line 9030 "configure"
9030 #include "confdefs.h"
9036 if { (eval echo configure:9037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9038 glibcpp_cv_func__fmodf_use=yes
9040 echo "configure: failed program was:" >&5
9041 cat conftest.$ac_ext >&5
9043 glibcpp_cv_func__fmodf_use=no
9047 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9048 ac_cpp='$CPP $CPPFLAGS'
9049 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9050 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9051 cross_compiling=$ac_cv_prog_cc_cross
9057 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
9059 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
9060 for ac_func in _fmodf
9062 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9063 echo "configure:9064: checking for $ac_func" >&5
9064 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9065 echo $ac_n "(cached) $ac_c" 1>&6
9067 cat > conftest.$ac_ext <<EOF
9068 #line 9069 "configure"
9069 #include "confdefs.h"
9070 /* System header to define __stub macros and hopefully few prototypes,
9071 which can conflict with char $ac_func(); below. */
9073 /* Override any gcc2 internal prototype to avoid an error. */
9074 /* We use char because int might match the return type of a gcc2
9075 builtin and then its argument prototype would still apply. */
9080 /* The GNU C library defines this for functions which it implements
9081 to always fail with ENOSYS. Some functions are actually named
9082 something starting with __ and the normal name is an alias. */
9083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9091 if { (eval echo configure:9092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9093 eval "ac_cv_func_$ac_func=yes"
9095 echo "configure: failed program was:" >&5
9096 cat conftest.$ac_ext >&5
9098 eval "ac_cv_func_$ac_func=no"
9103 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9104 echo "$ac_t""yes" 1>&6
9105 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9106 cat >> confdefs.h <<EOF
9107 #define $ac_tr_func 1
9111 echo "$ac_t""no" 1>&6
9120 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
9121 echo "configure:9122: checking for frexpf declaration" >&5
9122 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
9123 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
9124 echo $ac_n "(cached) $ac_c" 1>&6
9129 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9130 ac_cpp='$CXXCPP $CPPFLAGS'
9131 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9132 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9133 cross_compiling=$ac_cv_prog_cxx_cross
9135 cat > conftest.$ac_ext <<EOF
9136 #line 9137 "configure"
9137 #include "confdefs.h"
9143 if { (eval echo configure:9144: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9145 glibcpp_cv_func_frexpf_use=yes
9147 echo "configure: failed program was:" >&5
9148 cat conftest.$ac_ext >&5
9150 glibcpp_cv_func_frexpf_use=no
9154 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9155 ac_cpp='$CPP $CPPFLAGS'
9156 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9157 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9158 cross_compiling=$ac_cv_prog_cc_cross
9164 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
9166 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
9167 for ac_func in frexpf
9169 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9170 echo "configure:9171: checking for $ac_func" >&5
9171 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9172 echo $ac_n "(cached) $ac_c" 1>&6
9174 cat > conftest.$ac_ext <<EOF
9175 #line 9176 "configure"
9176 #include "confdefs.h"
9177 /* System header to define __stub macros and hopefully few prototypes,
9178 which can conflict with char $ac_func(); below. */
9180 /* Override any gcc2 internal prototype to avoid an error. */
9181 /* We use char because int might match the return type of a gcc2
9182 builtin and then its argument prototype would still apply. */
9187 /* The GNU C library defines this for functions which it implements
9188 to always fail with ENOSYS. Some functions are actually named
9189 something starting with __ and the normal name is an alias. */
9190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9198 if { (eval echo configure:9199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9200 eval "ac_cv_func_$ac_func=yes"
9202 echo "configure: failed program was:" >&5
9203 cat conftest.$ac_ext >&5
9205 eval "ac_cv_func_$ac_func=no"
9210 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9211 echo "$ac_t""yes" 1>&6
9212 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9213 cat >> confdefs.h <<EOF
9214 #define $ac_tr_func 1
9218 echo "$ac_t""no" 1>&6
9224 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
9225 echo "configure:9226: checking for _frexpf declaration" >&5
9226 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
9227 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
9228 echo $ac_n "(cached) $ac_c" 1>&6
9233 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9234 ac_cpp='$CXXCPP $CPPFLAGS'
9235 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9236 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9237 cross_compiling=$ac_cv_prog_cxx_cross
9239 cat > conftest.$ac_ext <<EOF
9240 #line 9241 "configure"
9241 #include "confdefs.h"
9247 if { (eval echo configure:9248: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9249 glibcpp_cv_func__frexpf_use=yes
9251 echo "configure: failed program was:" >&5
9252 cat conftest.$ac_ext >&5
9254 glibcpp_cv_func__frexpf_use=no
9258 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9259 ac_cpp='$CPP $CPPFLAGS'
9260 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9261 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9262 cross_compiling=$ac_cv_prog_cc_cross
9268 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
9270 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
9271 for ac_func in _frexpf
9273 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9274 echo "configure:9275: checking for $ac_func" >&5
9275 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9276 echo $ac_n "(cached) $ac_c" 1>&6
9278 cat > conftest.$ac_ext <<EOF
9279 #line 9280 "configure"
9280 #include "confdefs.h"
9281 /* System header to define __stub macros and hopefully few prototypes,
9282 which can conflict with char $ac_func(); below. */
9284 /* Override any gcc2 internal prototype to avoid an error. */
9285 /* We use char because int might match the return type of a gcc2
9286 builtin and then its argument prototype would still apply. */
9291 /* The GNU C library defines this for functions which it implements
9292 to always fail with ENOSYS. Some functions are actually named
9293 something starting with __ and the normal name is an alias. */
9294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9302 if { (eval echo configure:9303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9304 eval "ac_cv_func_$ac_func=yes"
9306 echo "configure: failed program was:" >&5
9307 cat conftest.$ac_ext >&5
9309 eval "ac_cv_func_$ac_func=no"
9314 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9315 echo "$ac_t""yes" 1>&6
9316 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9317 cat >> confdefs.h <<EOF
9318 #define $ac_tr_func 1
9322 echo "$ac_t""no" 1>&6
9331 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
9332 echo "configure:9333: checking for ldexpf declaration" >&5
9333 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
9334 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
9335 echo $ac_n "(cached) $ac_c" 1>&6
9340 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9341 ac_cpp='$CXXCPP $CPPFLAGS'
9342 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9343 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9344 cross_compiling=$ac_cv_prog_cxx_cross
9346 cat > conftest.$ac_ext <<EOF
9347 #line 9348 "configure"
9348 #include "confdefs.h"
9354 if { (eval echo configure:9355: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9356 glibcpp_cv_func_ldexpf_use=yes
9358 echo "configure: failed program was:" >&5
9359 cat conftest.$ac_ext >&5
9361 glibcpp_cv_func_ldexpf_use=no
9365 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9366 ac_cpp='$CPP $CPPFLAGS'
9367 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9368 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9369 cross_compiling=$ac_cv_prog_cc_cross
9375 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
9377 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
9378 for ac_func in ldexpf
9380 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9381 echo "configure:9382: checking for $ac_func" >&5
9382 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9383 echo $ac_n "(cached) $ac_c" 1>&6
9385 cat > conftest.$ac_ext <<EOF
9386 #line 9387 "configure"
9387 #include "confdefs.h"
9388 /* System header to define __stub macros and hopefully few prototypes,
9389 which can conflict with char $ac_func(); below. */
9391 /* Override any gcc2 internal prototype to avoid an error. */
9392 /* We use char because int might match the return type of a gcc2
9393 builtin and then its argument prototype would still apply. */
9398 /* The GNU C library defines this for functions which it implements
9399 to always fail with ENOSYS. Some functions are actually named
9400 something starting with __ and the normal name is an alias. */
9401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9409 if { (eval echo configure:9410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9411 eval "ac_cv_func_$ac_func=yes"
9413 echo "configure: failed program was:" >&5
9414 cat conftest.$ac_ext >&5
9416 eval "ac_cv_func_$ac_func=no"
9421 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9422 echo "$ac_t""yes" 1>&6
9423 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9424 cat >> confdefs.h <<EOF
9425 #define $ac_tr_func 1
9429 echo "$ac_t""no" 1>&6
9435 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
9436 echo "configure:9437: checking for _ldexpf declaration" >&5
9437 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
9438 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
9439 echo $ac_n "(cached) $ac_c" 1>&6
9444 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9445 ac_cpp='$CXXCPP $CPPFLAGS'
9446 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9447 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9448 cross_compiling=$ac_cv_prog_cxx_cross
9450 cat > conftest.$ac_ext <<EOF
9451 #line 9452 "configure"
9452 #include "confdefs.h"
9458 if { (eval echo configure:9459: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9460 glibcpp_cv_func__ldexpf_use=yes
9462 echo "configure: failed program was:" >&5
9463 cat conftest.$ac_ext >&5
9465 glibcpp_cv_func__ldexpf_use=no
9469 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9470 ac_cpp='$CPP $CPPFLAGS'
9471 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9472 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9473 cross_compiling=$ac_cv_prog_cc_cross
9479 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
9481 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
9482 for ac_func in _ldexpf
9484 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9485 echo "configure:9486: checking for $ac_func" >&5
9486 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9487 echo $ac_n "(cached) $ac_c" 1>&6
9489 cat > conftest.$ac_ext <<EOF
9490 #line 9491 "configure"
9491 #include "confdefs.h"
9492 /* System header to define __stub macros and hopefully few prototypes,
9493 which can conflict with char $ac_func(); below. */
9495 /* Override any gcc2 internal prototype to avoid an error. */
9496 /* We use char because int might match the return type of a gcc2
9497 builtin and then its argument prototype would still apply. */
9502 /* The GNU C library defines this for functions which it implements
9503 to always fail with ENOSYS. Some functions are actually named
9504 something starting with __ and the normal name is an alias. */
9505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9513 if { (eval echo configure:9514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9515 eval "ac_cv_func_$ac_func=yes"
9517 echo "configure: failed program was:" >&5
9518 cat conftest.$ac_ext >&5
9520 eval "ac_cv_func_$ac_func=no"
9525 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9526 echo "$ac_t""yes" 1>&6
9527 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9528 cat >> confdefs.h <<EOF
9529 #define $ac_tr_func 1
9533 echo "$ac_t""no" 1>&6
9542 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
9543 echo "configure:9544: checking for logf declaration" >&5
9544 if test x${glibcpp_cv_func_logf_use+set} != xset; then
9545 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
9546 echo $ac_n "(cached) $ac_c" 1>&6
9551 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9552 ac_cpp='$CXXCPP $CPPFLAGS'
9553 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9554 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9555 cross_compiling=$ac_cv_prog_cxx_cross
9557 cat > conftest.$ac_ext <<EOF
9558 #line 9559 "configure"
9559 #include "confdefs.h"
9561 #ifdef HAVE_IEEEFP_H
9569 if { (eval echo configure:9570: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9571 glibcpp_cv_func_logf_use=yes
9573 echo "configure: failed program was:" >&5
9574 cat conftest.$ac_ext >&5
9576 glibcpp_cv_func_logf_use=no
9580 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9581 ac_cpp='$CPP $CPPFLAGS'
9582 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9583 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9584 cross_compiling=$ac_cv_prog_cc_cross
9590 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
9592 if test x$glibcpp_cv_func_logf_use = x"yes"; then
9595 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9596 echo "configure:9597: checking for $ac_func" >&5
9597 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9598 echo $ac_n "(cached) $ac_c" 1>&6
9600 cat > conftest.$ac_ext <<EOF
9601 #line 9602 "configure"
9602 #include "confdefs.h"
9603 /* System header to define __stub macros and hopefully few prototypes,
9604 which can conflict with char $ac_func(); below. */
9606 /* Override any gcc2 internal prototype to avoid an error. */
9607 /* We use char because int might match the return type of a gcc2
9608 builtin and then its argument prototype would still apply. */
9613 /* The GNU C library defines this for functions which it implements
9614 to always fail with ENOSYS. Some functions are actually named
9615 something starting with __ and the normal name is an alias. */
9616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9624 if { (eval echo configure:9625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9626 eval "ac_cv_func_$ac_func=yes"
9628 echo "configure: failed program was:" >&5
9629 cat conftest.$ac_ext >&5
9631 eval "ac_cv_func_$ac_func=no"
9636 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9637 echo "$ac_t""yes" 1>&6
9638 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9639 cat >> confdefs.h <<EOF
9640 #define $ac_tr_func 1
9644 echo "$ac_t""no" 1>&6
9650 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
9651 echo "configure:9652: checking for _logf declaration" >&5
9652 if test x${glibcpp_cv_func__logf_use+set} != xset; then
9653 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
9654 echo $ac_n "(cached) $ac_c" 1>&6
9659 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9660 ac_cpp='$CXXCPP $CPPFLAGS'
9661 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9662 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9663 cross_compiling=$ac_cv_prog_cxx_cross
9665 cat > conftest.$ac_ext <<EOF
9666 #line 9667 "configure"
9667 #include "confdefs.h"
9669 #ifdef HAVE_IEEEFP_H
9677 if { (eval echo configure:9678: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9679 glibcpp_cv_func__logf_use=yes
9681 echo "configure: failed program was:" >&5
9682 cat conftest.$ac_ext >&5
9684 glibcpp_cv_func__logf_use=no
9688 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9689 ac_cpp='$CPP $CPPFLAGS'
9690 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9691 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9692 cross_compiling=$ac_cv_prog_cc_cross
9698 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
9700 if test x$glibcpp_cv_func__logf_use = x"yes"; then
9701 for ac_func in _logf
9703 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9704 echo "configure:9705: checking for $ac_func" >&5
9705 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9706 echo $ac_n "(cached) $ac_c" 1>&6
9708 cat > conftest.$ac_ext <<EOF
9709 #line 9710 "configure"
9710 #include "confdefs.h"
9711 /* System header to define __stub macros and hopefully few prototypes,
9712 which can conflict with char $ac_func(); below. */
9714 /* Override any gcc2 internal prototype to avoid an error. */
9715 /* We use char because int might match the return type of a gcc2
9716 builtin and then its argument prototype would still apply. */
9721 /* The GNU C library defines this for functions which it implements
9722 to always fail with ENOSYS. Some functions are actually named
9723 something starting with __ and the normal name is an alias. */
9724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9732 if { (eval echo configure:9733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9734 eval "ac_cv_func_$ac_func=yes"
9736 echo "configure: failed program was:" >&5
9737 cat conftest.$ac_ext >&5
9739 eval "ac_cv_func_$ac_func=no"
9744 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9745 echo "$ac_t""yes" 1>&6
9746 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9747 cat >> confdefs.h <<EOF
9748 #define $ac_tr_func 1
9752 echo "$ac_t""no" 1>&6
9761 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
9762 echo "configure:9763: checking for log10f declaration" >&5
9763 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
9764 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
9765 echo $ac_n "(cached) $ac_c" 1>&6
9770 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9771 ac_cpp='$CXXCPP $CPPFLAGS'
9772 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9773 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9774 cross_compiling=$ac_cv_prog_cxx_cross
9776 cat > conftest.$ac_ext <<EOF
9777 #line 9778 "configure"
9778 #include "confdefs.h"
9780 #ifdef HAVE_IEEEFP_H
9788 if { (eval echo configure:9789: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9790 glibcpp_cv_func_log10f_use=yes
9792 echo "configure: failed program was:" >&5
9793 cat conftest.$ac_ext >&5
9795 glibcpp_cv_func_log10f_use=no
9799 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9800 ac_cpp='$CPP $CPPFLAGS'
9801 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9802 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9803 cross_compiling=$ac_cv_prog_cc_cross
9809 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
9811 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
9812 for ac_func in log10f
9814 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9815 echo "configure:9816: checking for $ac_func" >&5
9816 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9817 echo $ac_n "(cached) $ac_c" 1>&6
9819 cat > conftest.$ac_ext <<EOF
9820 #line 9821 "configure"
9821 #include "confdefs.h"
9822 /* System header to define __stub macros and hopefully few prototypes,
9823 which can conflict with char $ac_func(); below. */
9825 /* Override any gcc2 internal prototype to avoid an error. */
9826 /* We use char because int might match the return type of a gcc2
9827 builtin and then its argument prototype would still apply. */
9832 /* The GNU C library defines this for functions which it implements
9833 to always fail with ENOSYS. Some functions are actually named
9834 something starting with __ and the normal name is an alias. */
9835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9843 if { (eval echo configure:9844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9845 eval "ac_cv_func_$ac_func=yes"
9847 echo "configure: failed program was:" >&5
9848 cat conftest.$ac_ext >&5
9850 eval "ac_cv_func_$ac_func=no"
9855 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9856 echo "$ac_t""yes" 1>&6
9857 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9858 cat >> confdefs.h <<EOF
9859 #define $ac_tr_func 1
9863 echo "$ac_t""no" 1>&6
9869 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
9870 echo "configure:9871: checking for _log10f declaration" >&5
9871 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
9872 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
9873 echo $ac_n "(cached) $ac_c" 1>&6
9878 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9879 ac_cpp='$CXXCPP $CPPFLAGS'
9880 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9881 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9882 cross_compiling=$ac_cv_prog_cxx_cross
9884 cat > conftest.$ac_ext <<EOF
9885 #line 9886 "configure"
9886 #include "confdefs.h"
9888 #ifdef HAVE_IEEEFP_H
9896 if { (eval echo configure:9897: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9898 glibcpp_cv_func__log10f_use=yes
9900 echo "configure: failed program was:" >&5
9901 cat conftest.$ac_ext >&5
9903 glibcpp_cv_func__log10f_use=no
9907 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9908 ac_cpp='$CPP $CPPFLAGS'
9909 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9910 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9911 cross_compiling=$ac_cv_prog_cc_cross
9917 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
9919 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
9920 for ac_func in _log10f
9922 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9923 echo "configure:9924: checking for $ac_func" >&5
9924 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9925 echo $ac_n "(cached) $ac_c" 1>&6
9927 cat > conftest.$ac_ext <<EOF
9928 #line 9929 "configure"
9929 #include "confdefs.h"
9930 /* System header to define __stub macros and hopefully few prototypes,
9931 which can conflict with char $ac_func(); below. */
9933 /* Override any gcc2 internal prototype to avoid an error. */
9934 /* We use char because int might match the return type of a gcc2
9935 builtin and then its argument prototype would still apply. */
9940 /* The GNU C library defines this for functions which it implements
9941 to always fail with ENOSYS. Some functions are actually named
9942 something starting with __ and the normal name is an alias. */
9943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9951 if { (eval echo configure:9952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9953 eval "ac_cv_func_$ac_func=yes"
9955 echo "configure: failed program was:" >&5
9956 cat conftest.$ac_ext >&5
9958 eval "ac_cv_func_$ac_func=no"
9963 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9964 echo "$ac_t""yes" 1>&6
9965 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9966 cat >> confdefs.h <<EOF
9967 #define $ac_tr_func 1
9971 echo "$ac_t""no" 1>&6
9980 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
9981 echo "configure:9982: checking for modff declaration" >&5
9982 if test x${glibcpp_cv_func_modff_use+set} != xset; then
9983 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
9984 echo $ac_n "(cached) $ac_c" 1>&6
9989 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9990 ac_cpp='$CXXCPP $CPPFLAGS'
9991 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9992 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9993 cross_compiling=$ac_cv_prog_cxx_cross
9995 cat > conftest.$ac_ext <<EOF
9996 #line 9997 "configure"
9997 #include "confdefs.h"
10003 if { (eval echo configure:10004: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10005 glibcpp_cv_func_modff_use=yes
10007 echo "configure: failed program was:" >&5
10008 cat conftest.$ac_ext >&5
10010 glibcpp_cv_func_modff_use=no
10014 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10015 ac_cpp='$CPP $CPPFLAGS'
10016 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10017 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10018 cross_compiling=$ac_cv_prog_cc_cross
10024 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
10026 if test x$glibcpp_cv_func_modff_use = x"yes"; then
10027 for ac_func in modff
10029 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10030 echo "configure:10031: checking for $ac_func" >&5
10031 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10032 echo $ac_n "(cached) $ac_c" 1>&6
10034 cat > conftest.$ac_ext <<EOF
10035 #line 10036 "configure"
10036 #include "confdefs.h"
10037 /* System header to define __stub macros and hopefully few prototypes,
10038 which can conflict with char $ac_func(); below. */
10039 #include <assert.h>
10040 /* Override any gcc2 internal prototype to avoid an error. */
10041 /* We use char because int might match the return type of a gcc2
10042 builtin and then its argument prototype would still apply. */
10047 /* The GNU C library defines this for functions which it implements
10048 to always fail with ENOSYS. Some functions are actually named
10049 something starting with __ and the normal name is an alias. */
10050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10058 if { (eval echo configure:10059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10060 eval "ac_cv_func_$ac_func=yes"
10062 echo "configure: failed program was:" >&5
10063 cat conftest.$ac_ext >&5
10065 eval "ac_cv_func_$ac_func=no"
10070 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10071 echo "$ac_t""yes" 1>&6
10072 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10073 cat >> confdefs.h <<EOF
10074 #define $ac_tr_func 1
10078 echo "$ac_t""no" 1>&6
10084 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
10085 echo "configure:10086: checking for _modff declaration" >&5
10086 if test x${glibcpp_cv_func__modff_use+set} != xset; then
10087 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
10088 echo $ac_n "(cached) $ac_c" 1>&6
10093 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10094 ac_cpp='$CXXCPP $CPPFLAGS'
10095 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10096 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10097 cross_compiling=$ac_cv_prog_cxx_cross
10099 cat > conftest.$ac_ext <<EOF
10100 #line 10101 "configure"
10101 #include "confdefs.h"
10107 if { (eval echo configure:10108: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10109 glibcpp_cv_func__modff_use=yes
10111 echo "configure: failed program was:" >&5
10112 cat conftest.$ac_ext >&5
10114 glibcpp_cv_func__modff_use=no
10118 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10119 ac_cpp='$CPP $CPPFLAGS'
10120 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10121 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10122 cross_compiling=$ac_cv_prog_cc_cross
10128 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
10130 if test x$glibcpp_cv_func__modff_use = x"yes"; then
10131 for ac_func in _modff
10133 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10134 echo "configure:10135: checking for $ac_func" >&5
10135 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10136 echo $ac_n "(cached) $ac_c" 1>&6
10138 cat > conftest.$ac_ext <<EOF
10139 #line 10140 "configure"
10140 #include "confdefs.h"
10141 /* System header to define __stub macros and hopefully few prototypes,
10142 which can conflict with char $ac_func(); below. */
10143 #include <assert.h>
10144 /* Override any gcc2 internal prototype to avoid an error. */
10145 /* We use char because int might match the return type of a gcc2
10146 builtin and then its argument prototype would still apply. */
10151 /* The GNU C library defines this for functions which it implements
10152 to always fail with ENOSYS. Some functions are actually named
10153 something starting with __ and the normal name is an alias. */
10154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10162 if { (eval echo configure:10163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10164 eval "ac_cv_func_$ac_func=yes"
10166 echo "configure: failed program was:" >&5
10167 cat conftest.$ac_ext >&5
10169 eval "ac_cv_func_$ac_func=no"
10174 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10175 echo "$ac_t""yes" 1>&6
10176 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10177 cat >> confdefs.h <<EOF
10178 #define $ac_tr_func 1
10182 echo "$ac_t""no" 1>&6
10191 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
10192 echo "configure:10193: checking for powf declaration" >&5
10193 if test x${glibcpp_cv_func_powf_use+set} != xset; then
10194 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
10195 echo $ac_n "(cached) $ac_c" 1>&6
10200 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10201 ac_cpp='$CXXCPP $CPPFLAGS'
10202 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10203 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10204 cross_compiling=$ac_cv_prog_cxx_cross
10206 cat > conftest.$ac_ext <<EOF
10207 #line 10208 "configure"
10208 #include "confdefs.h"
10214 if { (eval echo configure:10215: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10216 glibcpp_cv_func_powf_use=yes
10218 echo "configure: failed program was:" >&5
10219 cat conftest.$ac_ext >&5
10221 glibcpp_cv_func_powf_use=no
10225 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10226 ac_cpp='$CPP $CPPFLAGS'
10227 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10228 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10229 cross_compiling=$ac_cv_prog_cc_cross
10235 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
10237 if test x$glibcpp_cv_func_powf_use = x"yes"; then
10238 for ac_func in powf
10240 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10241 echo "configure:10242: checking for $ac_func" >&5
10242 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10243 echo $ac_n "(cached) $ac_c" 1>&6
10245 cat > conftest.$ac_ext <<EOF
10246 #line 10247 "configure"
10247 #include "confdefs.h"
10248 /* System header to define __stub macros and hopefully few prototypes,
10249 which can conflict with char $ac_func(); below. */
10250 #include <assert.h>
10251 /* Override any gcc2 internal prototype to avoid an error. */
10252 /* We use char because int might match the return type of a gcc2
10253 builtin and then its argument prototype would still apply. */
10258 /* The GNU C library defines this for functions which it implements
10259 to always fail with ENOSYS. Some functions are actually named
10260 something starting with __ and the normal name is an alias. */
10261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10269 if { (eval echo configure:10270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10271 eval "ac_cv_func_$ac_func=yes"
10273 echo "configure: failed program was:" >&5
10274 cat conftest.$ac_ext >&5
10276 eval "ac_cv_func_$ac_func=no"
10281 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10282 echo "$ac_t""yes" 1>&6
10283 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10284 cat >> confdefs.h <<EOF
10285 #define $ac_tr_func 1
10289 echo "$ac_t""no" 1>&6
10295 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
10296 echo "configure:10297: checking for _powf declaration" >&5
10297 if test x${glibcpp_cv_func__powf_use+set} != xset; then
10298 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
10299 echo $ac_n "(cached) $ac_c" 1>&6
10304 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10305 ac_cpp='$CXXCPP $CPPFLAGS'
10306 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10307 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10308 cross_compiling=$ac_cv_prog_cxx_cross
10310 cat > conftest.$ac_ext <<EOF
10311 #line 10312 "configure"
10312 #include "confdefs.h"
10318 if { (eval echo configure:10319: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10320 glibcpp_cv_func__powf_use=yes
10322 echo "configure: failed program was:" >&5
10323 cat conftest.$ac_ext >&5
10325 glibcpp_cv_func__powf_use=no
10329 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10330 ac_cpp='$CPP $CPPFLAGS'
10331 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10332 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10333 cross_compiling=$ac_cv_prog_cc_cross
10339 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
10341 if test x$glibcpp_cv_func__powf_use = x"yes"; then
10342 for ac_func in _powf
10344 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10345 echo "configure:10346: checking for $ac_func" >&5
10346 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10347 echo $ac_n "(cached) $ac_c" 1>&6
10349 cat > conftest.$ac_ext <<EOF
10350 #line 10351 "configure"
10351 #include "confdefs.h"
10352 /* System header to define __stub macros and hopefully few prototypes,
10353 which can conflict with char $ac_func(); below. */
10354 #include <assert.h>
10355 /* Override any gcc2 internal prototype to avoid an error. */
10356 /* We use char because int might match the return type of a gcc2
10357 builtin and then its argument prototype would still apply. */
10362 /* The GNU C library defines this for functions which it implements
10363 to always fail with ENOSYS. Some functions are actually named
10364 something starting with __ and the normal name is an alias. */
10365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10373 if { (eval echo configure:10374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10375 eval "ac_cv_func_$ac_func=yes"
10377 echo "configure: failed program was:" >&5
10378 cat conftest.$ac_ext >&5
10380 eval "ac_cv_func_$ac_func=no"
10385 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10386 echo "$ac_t""yes" 1>&6
10387 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10388 cat >> confdefs.h <<EOF
10389 #define $ac_tr_func 1
10393 echo "$ac_t""no" 1>&6
10402 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
10403 echo "configure:10404: checking for sqrtf declaration" >&5
10404 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
10405 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
10406 echo $ac_n "(cached) $ac_c" 1>&6
10411 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10412 ac_cpp='$CXXCPP $CPPFLAGS'
10413 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10414 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10415 cross_compiling=$ac_cv_prog_cxx_cross
10417 cat > conftest.$ac_ext <<EOF
10418 #line 10419 "configure"
10419 #include "confdefs.h"
10421 #ifdef HAVE_IEEEFP_H
10422 #include <ieeefp.h>
10429 if { (eval echo configure:10430: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10431 glibcpp_cv_func_sqrtf_use=yes
10433 echo "configure: failed program was:" >&5
10434 cat conftest.$ac_ext >&5
10436 glibcpp_cv_func_sqrtf_use=no
10440 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10441 ac_cpp='$CPP $CPPFLAGS'
10442 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10443 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10444 cross_compiling=$ac_cv_prog_cc_cross
10450 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
10452 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
10453 for ac_func in sqrtf
10455 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10456 echo "configure:10457: checking for $ac_func" >&5
10457 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10458 echo $ac_n "(cached) $ac_c" 1>&6
10460 cat > conftest.$ac_ext <<EOF
10461 #line 10462 "configure"
10462 #include "confdefs.h"
10463 /* System header to define __stub macros and hopefully few prototypes,
10464 which can conflict with char $ac_func(); below. */
10465 #include <assert.h>
10466 /* Override any gcc2 internal prototype to avoid an error. */
10467 /* We use char because int might match the return type of a gcc2
10468 builtin and then its argument prototype would still apply. */
10473 /* The GNU C library defines this for functions which it implements
10474 to always fail with ENOSYS. Some functions are actually named
10475 something starting with __ and the normal name is an alias. */
10476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10484 if { (eval echo configure:10485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10486 eval "ac_cv_func_$ac_func=yes"
10488 echo "configure: failed program was:" >&5
10489 cat conftest.$ac_ext >&5
10491 eval "ac_cv_func_$ac_func=no"
10496 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10497 echo "$ac_t""yes" 1>&6
10498 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10499 cat >> confdefs.h <<EOF
10500 #define $ac_tr_func 1
10504 echo "$ac_t""no" 1>&6
10510 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
10511 echo "configure:10512: checking for _sqrtf declaration" >&5
10512 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
10513 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
10514 echo $ac_n "(cached) $ac_c" 1>&6
10519 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10520 ac_cpp='$CXXCPP $CPPFLAGS'
10521 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10522 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10523 cross_compiling=$ac_cv_prog_cxx_cross
10525 cat > conftest.$ac_ext <<EOF
10526 #line 10527 "configure"
10527 #include "confdefs.h"
10529 #ifdef HAVE_IEEEFP_H
10530 #include <ieeefp.h>
10537 if { (eval echo configure:10538: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10539 glibcpp_cv_func__sqrtf_use=yes
10541 echo "configure: failed program was:" >&5
10542 cat conftest.$ac_ext >&5
10544 glibcpp_cv_func__sqrtf_use=no
10548 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10549 ac_cpp='$CPP $CPPFLAGS'
10550 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10551 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10552 cross_compiling=$ac_cv_prog_cc_cross
10558 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
10560 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
10561 for ac_func in _sqrtf
10563 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10564 echo "configure:10565: checking for $ac_func" >&5
10565 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10566 echo $ac_n "(cached) $ac_c" 1>&6
10568 cat > conftest.$ac_ext <<EOF
10569 #line 10570 "configure"
10570 #include "confdefs.h"
10571 /* System header to define __stub macros and hopefully few prototypes,
10572 which can conflict with char $ac_func(); below. */
10573 #include <assert.h>
10574 /* Override any gcc2 internal prototype to avoid an error. */
10575 /* We use char because int might match the return type of a gcc2
10576 builtin and then its argument prototype would still apply. */
10581 /* The GNU C library defines this for functions which it implements
10582 to always fail with ENOSYS. Some functions are actually named
10583 something starting with __ and the normal name is an alias. */
10584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10592 if { (eval echo configure:10593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10594 eval "ac_cv_func_$ac_func=yes"
10596 echo "configure: failed program was:" >&5
10597 cat conftest.$ac_ext >&5
10599 eval "ac_cv_func_$ac_func=no"
10604 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10605 echo "$ac_t""yes" 1>&6
10606 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10607 cat >> confdefs.h <<EOF
10608 #define $ac_tr_func 1
10612 echo "$ac_t""no" 1>&6
10621 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
10622 echo "configure:10623: checking for sincosf declaration" >&5
10623 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
10624 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
10625 echo $ac_n "(cached) $ac_c" 1>&6
10630 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10631 ac_cpp='$CXXCPP $CPPFLAGS'
10632 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10633 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10634 cross_compiling=$ac_cv_prog_cxx_cross
10636 cat > conftest.$ac_ext <<EOF
10637 #line 10638 "configure"
10638 #include "confdefs.h"
10644 if { (eval echo configure:10645: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10646 glibcpp_cv_func_sincosf_use=yes
10648 echo "configure: failed program was:" >&5
10649 cat conftest.$ac_ext >&5
10651 glibcpp_cv_func_sincosf_use=no
10655 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10656 ac_cpp='$CPP $CPPFLAGS'
10657 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10658 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10659 cross_compiling=$ac_cv_prog_cc_cross
10665 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
10667 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
10668 for ac_func in sincosf
10670 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10671 echo "configure:10672: checking for $ac_func" >&5
10672 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10673 echo $ac_n "(cached) $ac_c" 1>&6
10675 cat > conftest.$ac_ext <<EOF
10676 #line 10677 "configure"
10677 #include "confdefs.h"
10678 /* System header to define __stub macros and hopefully few prototypes,
10679 which can conflict with char $ac_func(); below. */
10680 #include <assert.h>
10681 /* Override any gcc2 internal prototype to avoid an error. */
10682 /* We use char because int might match the return type of a gcc2
10683 builtin and then its argument prototype would still apply. */
10688 /* The GNU C library defines this for functions which it implements
10689 to always fail with ENOSYS. Some functions are actually named
10690 something starting with __ and the normal name is an alias. */
10691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10699 if { (eval echo configure:10700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10701 eval "ac_cv_func_$ac_func=yes"
10703 echo "configure: failed program was:" >&5
10704 cat conftest.$ac_ext >&5
10706 eval "ac_cv_func_$ac_func=no"
10711 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10712 echo "$ac_t""yes" 1>&6
10713 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10714 cat >> confdefs.h <<EOF
10715 #define $ac_tr_func 1
10719 echo "$ac_t""no" 1>&6
10725 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
10726 echo "configure:10727: checking for _sincosf declaration" >&5
10727 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
10728 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
10729 echo $ac_n "(cached) $ac_c" 1>&6
10734 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10735 ac_cpp='$CXXCPP $CPPFLAGS'
10736 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10737 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10738 cross_compiling=$ac_cv_prog_cxx_cross
10740 cat > conftest.$ac_ext <<EOF
10741 #line 10742 "configure"
10742 #include "confdefs.h"
10748 if { (eval echo configure:10749: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10750 glibcpp_cv_func__sincosf_use=yes
10752 echo "configure: failed program was:" >&5
10753 cat conftest.$ac_ext >&5
10755 glibcpp_cv_func__sincosf_use=no
10759 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10760 ac_cpp='$CPP $CPPFLAGS'
10761 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10762 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10763 cross_compiling=$ac_cv_prog_cc_cross
10769 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
10771 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
10772 for ac_func in _sincosf
10774 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10775 echo "configure:10776: checking for $ac_func" >&5
10776 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10777 echo $ac_n "(cached) $ac_c" 1>&6
10779 cat > conftest.$ac_ext <<EOF
10780 #line 10781 "configure"
10781 #include "confdefs.h"
10782 /* System header to define __stub macros and hopefully few prototypes,
10783 which can conflict with char $ac_func(); below. */
10784 #include <assert.h>
10785 /* Override any gcc2 internal prototype to avoid an error. */
10786 /* We use char because int might match the return type of a gcc2
10787 builtin and then its argument prototype would still apply. */
10792 /* The GNU C library defines this for functions which it implements
10793 to always fail with ENOSYS. Some functions are actually named
10794 something starting with __ and the normal name is an alias. */
10795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10803 if { (eval echo configure:10804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10805 eval "ac_cv_func_$ac_func=yes"
10807 echo "configure: failed program was:" >&5
10808 cat conftest.$ac_ext >&5
10810 eval "ac_cv_func_$ac_func=no"
10815 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10816 echo "$ac_t""yes" 1>&6
10817 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10818 cat >> confdefs.h <<EOF
10819 #define $ac_tr_func 1
10823 echo "$ac_t""no" 1>&6
10832 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
10833 echo "configure:10834: checking for finitef declaration" >&5
10834 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
10835 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
10836 echo $ac_n "(cached) $ac_c" 1>&6
10841 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10842 ac_cpp='$CXXCPP $CPPFLAGS'
10843 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10844 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10845 cross_compiling=$ac_cv_prog_cxx_cross
10847 cat > conftest.$ac_ext <<EOF
10848 #line 10849 "configure"
10849 #include "confdefs.h"
10851 #ifdef HAVE_IEEEFP_H
10852 #include <ieeefp.h>
10859 if { (eval echo configure:10860: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10861 glibcpp_cv_func_finitef_use=yes
10863 echo "configure: failed program was:" >&5
10864 cat conftest.$ac_ext >&5
10866 glibcpp_cv_func_finitef_use=no
10870 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10871 ac_cpp='$CPP $CPPFLAGS'
10872 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10873 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10874 cross_compiling=$ac_cv_prog_cc_cross
10880 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
10882 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
10883 for ac_func in finitef
10885 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10886 echo "configure:10887: checking for $ac_func" >&5
10887 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10888 echo $ac_n "(cached) $ac_c" 1>&6
10890 cat > conftest.$ac_ext <<EOF
10891 #line 10892 "configure"
10892 #include "confdefs.h"
10893 /* System header to define __stub macros and hopefully few prototypes,
10894 which can conflict with char $ac_func(); below. */
10895 #include <assert.h>
10896 /* Override any gcc2 internal prototype to avoid an error. */
10897 /* We use char because int might match the return type of a gcc2
10898 builtin and then its argument prototype would still apply. */
10903 /* The GNU C library defines this for functions which it implements
10904 to always fail with ENOSYS. Some functions are actually named
10905 something starting with __ and the normal name is an alias. */
10906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10914 if { (eval echo configure:10915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10916 eval "ac_cv_func_$ac_func=yes"
10918 echo "configure: failed program was:" >&5
10919 cat conftest.$ac_ext >&5
10921 eval "ac_cv_func_$ac_func=no"
10926 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10927 echo "$ac_t""yes" 1>&6
10928 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10929 cat >> confdefs.h <<EOF
10930 #define $ac_tr_func 1
10934 echo "$ac_t""no" 1>&6
10940 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
10941 echo "configure:10942: checking for _finitef declaration" >&5
10942 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
10943 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
10944 echo $ac_n "(cached) $ac_c" 1>&6
10949 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10950 ac_cpp='$CXXCPP $CPPFLAGS'
10951 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10952 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10953 cross_compiling=$ac_cv_prog_cxx_cross
10955 cat > conftest.$ac_ext <<EOF
10956 #line 10957 "configure"
10957 #include "confdefs.h"
10959 #ifdef HAVE_IEEEFP_H
10960 #include <ieeefp.h>
10967 if { (eval echo configure:10968: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10969 glibcpp_cv_func__finitef_use=yes
10971 echo "configure: failed program was:" >&5
10972 cat conftest.$ac_ext >&5
10974 glibcpp_cv_func__finitef_use=no
10978 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10979 ac_cpp='$CPP $CPPFLAGS'
10980 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10981 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10982 cross_compiling=$ac_cv_prog_cc_cross
10988 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
10990 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
10991 for ac_func in _finitef
10993 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10994 echo "configure:10995: checking for $ac_func" >&5
10995 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10996 echo $ac_n "(cached) $ac_c" 1>&6
10998 cat > conftest.$ac_ext <<EOF
10999 #line 11000 "configure"
11000 #include "confdefs.h"
11001 /* System header to define __stub macros and hopefully few prototypes,
11002 which can conflict with char $ac_func(); below. */
11003 #include <assert.h>
11004 /* Override any gcc2 internal prototype to avoid an error. */
11005 /* We use char because int might match the return type of a gcc2
11006 builtin and then its argument prototype would still apply. */
11011 /* The GNU C library defines this for functions which it implements
11012 to always fail with ENOSYS. Some functions are actually named
11013 something starting with __ and the normal name is an alias. */
11014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11022 if { (eval echo configure:11023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11024 eval "ac_cv_func_$ac_func=yes"
11026 echo "configure: failed program was:" >&5
11027 cat conftest.$ac_ext >&5
11029 eval "ac_cv_func_$ac_func=no"
11034 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11035 echo "$ac_t""yes" 1>&6
11036 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11037 cat >> confdefs.h <<EOF
11038 #define $ac_tr_func 1
11042 echo "$ac_t""no" 1>&6
11051 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
11052 echo "configure:11053: checking for long double trig functions" >&5
11053 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
11054 echo $ac_n "(cached) $ac_c" 1>&6
11059 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11060 ac_cpp='$CXXCPP $CPPFLAGS'
11061 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11062 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11063 cross_compiling=$ac_cv_prog_cxx_cross
11065 cat > conftest.$ac_ext <<EOF
11066 #line 11067 "configure"
11067 #include "confdefs.h"
11070 `for x in acosl asinl atanl \
11072 coshl sinhl tanhl; do echo "$x (0);"; done`
11075 if { (eval echo configure:11076: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11077 glibcpp_cv_func_long_double_trig_use=yes
11079 echo "configure: failed program was:" >&5
11080 cat conftest.$ac_ext >&5
11082 glibcpp_cv_func_long_double_trig_use=no
11086 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11087 ac_cpp='$CPP $CPPFLAGS'
11088 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11089 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11090 cross_compiling=$ac_cv_prog_cc_cross
11094 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
11095 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
11096 for ac_func in acosl asinl atanl \
11100 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11101 echo "configure:11102: checking for $ac_func" >&5
11102 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11103 echo $ac_n "(cached) $ac_c" 1>&6
11105 cat > conftest.$ac_ext <<EOF
11106 #line 11107 "configure"
11107 #include "confdefs.h"
11108 /* System header to define __stub macros and hopefully few prototypes,
11109 which can conflict with char $ac_func(); below. */
11110 #include <assert.h>
11111 /* Override any gcc2 internal prototype to avoid an error. */
11112 /* We use char because int might match the return type of a gcc2
11113 builtin and then its argument prototype would still apply. */
11118 /* The GNU C library defines this for functions which it implements
11119 to always fail with ENOSYS. Some functions are actually named
11120 something starting with __ and the normal name is an alias. */
11121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11129 if { (eval echo configure:11130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11131 eval "ac_cv_func_$ac_func=yes"
11133 echo "configure: failed program was:" >&5
11134 cat conftest.$ac_ext >&5
11136 eval "ac_cv_func_$ac_func=no"
11141 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11142 echo "$ac_t""yes" 1>&6
11143 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11144 cat >> confdefs.h <<EOF
11145 #define $ac_tr_func 1
11149 echo "$ac_t""no" 1>&6
11156 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
11157 echo "configure:11158: checking for long double round functions" >&5
11158 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
11159 echo $ac_n "(cached) $ac_c" 1>&6
11164 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11165 ac_cpp='$CXXCPP $CPPFLAGS'
11166 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11167 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11168 cross_compiling=$ac_cv_prog_cxx_cross
11170 cat > conftest.$ac_ext <<EOF
11171 #line 11172 "configure"
11172 #include "confdefs.h"
11175 `for x in ceill floorl; do echo "$x (0);"; done`
11178 if { (eval echo configure:11179: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11180 glibcpp_cv_func_long_double_round_use=yes
11182 echo "configure: failed program was:" >&5
11183 cat conftest.$ac_ext >&5
11185 glibcpp_cv_func_long_double_round_use=no
11189 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11190 ac_cpp='$CPP $CPPFLAGS'
11191 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11192 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11193 cross_compiling=$ac_cv_prog_cc_cross
11197 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
11198 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
11199 for ac_func in ceill floorl
11201 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11202 echo "configure:11203: checking for $ac_func" >&5
11203 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11204 echo $ac_n "(cached) $ac_c" 1>&6
11206 cat > conftest.$ac_ext <<EOF
11207 #line 11208 "configure"
11208 #include "confdefs.h"
11209 /* System header to define __stub macros and hopefully few prototypes,
11210 which can conflict with char $ac_func(); below. */
11211 #include <assert.h>
11212 /* Override any gcc2 internal prototype to avoid an error. */
11213 /* We use char because int might match the return type of a gcc2
11214 builtin and then its argument prototype would still apply. */
11219 /* The GNU C library defines this for functions which it implements
11220 to always fail with ENOSYS. Some functions are actually named
11221 something starting with __ and the normal name is an alias. */
11222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11230 if { (eval echo configure:11231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11232 eval "ac_cv_func_$ac_func=yes"
11234 echo "configure: failed program was:" >&5
11235 cat conftest.$ac_ext >&5
11237 eval "ac_cv_func_$ac_func=no"
11242 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11243 echo "$ac_t""yes" 1>&6
11244 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11245 cat >> confdefs.h <<EOF
11246 #define $ac_tr_func 1
11250 echo "$ac_t""no" 1>&6
11258 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
11259 echo "configure:11260: checking for isnanl declaration" >&5
11260 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
11261 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
11262 echo $ac_n "(cached) $ac_c" 1>&6
11267 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11268 ac_cpp='$CXXCPP $CPPFLAGS'
11269 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11270 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11271 cross_compiling=$ac_cv_prog_cxx_cross
11273 cat > conftest.$ac_ext <<EOF
11274 #line 11275 "configure"
11275 #include "confdefs.h"
11277 #ifdef HAVE_IEEEFP_H
11278 #include <ieeefp.h>
11285 if { (eval echo configure:11286: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11287 glibcpp_cv_func_isnanl_use=yes
11289 echo "configure: failed program was:" >&5
11290 cat conftest.$ac_ext >&5
11292 glibcpp_cv_func_isnanl_use=no
11296 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11297 ac_cpp='$CPP $CPPFLAGS'
11298 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11299 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11300 cross_compiling=$ac_cv_prog_cc_cross
11306 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
11308 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
11309 for ac_func in isnanl
11311 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11312 echo "configure:11313: checking for $ac_func" >&5
11313 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11314 echo $ac_n "(cached) $ac_c" 1>&6
11316 cat > conftest.$ac_ext <<EOF
11317 #line 11318 "configure"
11318 #include "confdefs.h"
11319 /* System header to define __stub macros and hopefully few prototypes,
11320 which can conflict with char $ac_func(); below. */
11321 #include <assert.h>
11322 /* Override any gcc2 internal prototype to avoid an error. */
11323 /* We use char because int might match the return type of a gcc2
11324 builtin and then its argument prototype would still apply. */
11329 /* The GNU C library defines this for functions which it implements
11330 to always fail with ENOSYS. Some functions are actually named
11331 something starting with __ and the normal name is an alias. */
11332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11340 if { (eval echo configure:11341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11342 eval "ac_cv_func_$ac_func=yes"
11344 echo "configure: failed program was:" >&5
11345 cat conftest.$ac_ext >&5
11347 eval "ac_cv_func_$ac_func=no"
11352 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11353 echo "$ac_t""yes" 1>&6
11354 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11355 cat >> confdefs.h <<EOF
11356 #define $ac_tr_func 1
11360 echo "$ac_t""no" 1>&6
11366 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
11367 echo "configure:11368: checking for _isnanl declaration" >&5
11368 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
11369 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
11370 echo $ac_n "(cached) $ac_c" 1>&6
11375 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11376 ac_cpp='$CXXCPP $CPPFLAGS'
11377 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11378 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11379 cross_compiling=$ac_cv_prog_cxx_cross
11381 cat > conftest.$ac_ext <<EOF
11382 #line 11383 "configure"
11383 #include "confdefs.h"
11385 #ifdef HAVE_IEEEFP_H
11386 #include <ieeefp.h>
11393 if { (eval echo configure:11394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11395 glibcpp_cv_func__isnanl_use=yes
11397 echo "configure: failed program was:" >&5
11398 cat conftest.$ac_ext >&5
11400 glibcpp_cv_func__isnanl_use=no
11404 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11405 ac_cpp='$CPP $CPPFLAGS'
11406 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11407 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11408 cross_compiling=$ac_cv_prog_cc_cross
11414 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
11416 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
11417 for ac_func in _isnanl
11419 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11420 echo "configure:11421: checking for $ac_func" >&5
11421 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11422 echo $ac_n "(cached) $ac_c" 1>&6
11424 cat > conftest.$ac_ext <<EOF
11425 #line 11426 "configure"
11426 #include "confdefs.h"
11427 /* System header to define __stub macros and hopefully few prototypes,
11428 which can conflict with char $ac_func(); below. */
11429 #include <assert.h>
11430 /* Override any gcc2 internal prototype to avoid an error. */
11431 /* We use char because int might match the return type of a gcc2
11432 builtin and then its argument prototype would still apply. */
11437 /* The GNU C library defines this for functions which it implements
11438 to always fail with ENOSYS. Some functions are actually named
11439 something starting with __ and the normal name is an alias. */
11440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11448 if { (eval echo configure:11449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11450 eval "ac_cv_func_$ac_func=yes"
11452 echo "configure: failed program was:" >&5
11453 cat conftest.$ac_ext >&5
11455 eval "ac_cv_func_$ac_func=no"
11460 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11461 echo "$ac_t""yes" 1>&6
11462 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11463 cat >> confdefs.h <<EOF
11464 #define $ac_tr_func 1
11468 echo "$ac_t""no" 1>&6
11477 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
11478 echo "configure:11479: checking for isinfl declaration" >&5
11479 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
11480 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
11481 echo $ac_n "(cached) $ac_c" 1>&6
11486 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11487 ac_cpp='$CXXCPP $CPPFLAGS'
11488 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11489 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11490 cross_compiling=$ac_cv_prog_cxx_cross
11492 cat > conftest.$ac_ext <<EOF
11493 #line 11494 "configure"
11494 #include "confdefs.h"
11496 #ifdef HAVE_IEEEFP_H
11497 #include <ieeefp.h>
11504 if { (eval echo configure:11505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11506 glibcpp_cv_func_isinfl_use=yes
11508 echo "configure: failed program was:" >&5
11509 cat conftest.$ac_ext >&5
11511 glibcpp_cv_func_isinfl_use=no
11515 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11516 ac_cpp='$CPP $CPPFLAGS'
11517 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11518 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11519 cross_compiling=$ac_cv_prog_cc_cross
11525 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
11527 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
11528 for ac_func in isinfl
11530 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11531 echo "configure:11532: checking for $ac_func" >&5
11532 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11533 echo $ac_n "(cached) $ac_c" 1>&6
11535 cat > conftest.$ac_ext <<EOF
11536 #line 11537 "configure"
11537 #include "confdefs.h"
11538 /* System header to define __stub macros and hopefully few prototypes,
11539 which can conflict with char $ac_func(); below. */
11540 #include <assert.h>
11541 /* Override any gcc2 internal prototype to avoid an error. */
11542 /* We use char because int might match the return type of a gcc2
11543 builtin and then its argument prototype would still apply. */
11548 /* The GNU C library defines this for functions which it implements
11549 to always fail with ENOSYS. Some functions are actually named
11550 something starting with __ and the normal name is an alias. */
11551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11559 if { (eval echo configure:11560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11561 eval "ac_cv_func_$ac_func=yes"
11563 echo "configure: failed program was:" >&5
11564 cat conftest.$ac_ext >&5
11566 eval "ac_cv_func_$ac_func=no"
11571 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11572 echo "$ac_t""yes" 1>&6
11573 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11574 cat >> confdefs.h <<EOF
11575 #define $ac_tr_func 1
11579 echo "$ac_t""no" 1>&6
11585 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
11586 echo "configure:11587: checking for _isinfl declaration" >&5
11587 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
11588 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
11589 echo $ac_n "(cached) $ac_c" 1>&6
11594 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11595 ac_cpp='$CXXCPP $CPPFLAGS'
11596 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11597 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11598 cross_compiling=$ac_cv_prog_cxx_cross
11600 cat > conftest.$ac_ext <<EOF
11601 #line 11602 "configure"
11602 #include "confdefs.h"
11604 #ifdef HAVE_IEEEFP_H
11605 #include <ieeefp.h>
11612 if { (eval echo configure:11613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11614 glibcpp_cv_func__isinfl_use=yes
11616 echo "configure: failed program was:" >&5
11617 cat conftest.$ac_ext >&5
11619 glibcpp_cv_func__isinfl_use=no
11623 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11624 ac_cpp='$CPP $CPPFLAGS'
11625 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11626 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11627 cross_compiling=$ac_cv_prog_cc_cross
11633 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
11635 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
11636 for ac_func in _isinfl
11638 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11639 echo "configure:11640: checking for $ac_func" >&5
11640 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11641 echo $ac_n "(cached) $ac_c" 1>&6
11643 cat > conftest.$ac_ext <<EOF
11644 #line 11645 "configure"
11645 #include "confdefs.h"
11646 /* System header to define __stub macros and hopefully few prototypes,
11647 which can conflict with char $ac_func(); below. */
11648 #include <assert.h>
11649 /* Override any gcc2 internal prototype to avoid an error. */
11650 /* We use char because int might match the return type of a gcc2
11651 builtin and then its argument prototype would still apply. */
11656 /* The GNU C library defines this for functions which it implements
11657 to always fail with ENOSYS. Some functions are actually named
11658 something starting with __ and the normal name is an alias. */
11659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11667 if { (eval echo configure:11668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11669 eval "ac_cv_func_$ac_func=yes"
11671 echo "configure: failed program was:" >&5
11672 cat conftest.$ac_ext >&5
11674 eval "ac_cv_func_$ac_func=no"
11679 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11680 echo "$ac_t""yes" 1>&6
11681 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11682 cat >> confdefs.h <<EOF
11683 #define $ac_tr_func 1
11687 echo "$ac_t""no" 1>&6
11696 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
11697 echo "configure:11698: checking for copysignl declaration" >&5
11698 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
11699 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
11700 echo $ac_n "(cached) $ac_c" 1>&6
11705 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11706 ac_cpp='$CXXCPP $CPPFLAGS'
11707 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11708 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11709 cross_compiling=$ac_cv_prog_cxx_cross
11711 cat > conftest.$ac_ext <<EOF
11712 #line 11713 "configure"
11713 #include "confdefs.h"
11719 if { (eval echo configure:11720: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11721 glibcpp_cv_func_copysignl_use=yes
11723 echo "configure: failed program was:" >&5
11724 cat conftest.$ac_ext >&5
11726 glibcpp_cv_func_copysignl_use=no
11730 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11731 ac_cpp='$CPP $CPPFLAGS'
11732 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11733 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11734 cross_compiling=$ac_cv_prog_cc_cross
11740 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
11742 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
11743 for ac_func in copysignl
11745 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11746 echo "configure:11747: checking for $ac_func" >&5
11747 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11748 echo $ac_n "(cached) $ac_c" 1>&6
11750 cat > conftest.$ac_ext <<EOF
11751 #line 11752 "configure"
11752 #include "confdefs.h"
11753 /* System header to define __stub macros and hopefully few prototypes,
11754 which can conflict with char $ac_func(); below. */
11755 #include <assert.h>
11756 /* Override any gcc2 internal prototype to avoid an error. */
11757 /* We use char because int might match the return type of a gcc2
11758 builtin and then its argument prototype would still apply. */
11763 /* The GNU C library defines this for functions which it implements
11764 to always fail with ENOSYS. Some functions are actually named
11765 something starting with __ and the normal name is an alias. */
11766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11774 if { (eval echo configure:11775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11776 eval "ac_cv_func_$ac_func=yes"
11778 echo "configure: failed program was:" >&5
11779 cat conftest.$ac_ext >&5
11781 eval "ac_cv_func_$ac_func=no"
11786 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11787 echo "$ac_t""yes" 1>&6
11788 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11789 cat >> confdefs.h <<EOF
11790 #define $ac_tr_func 1
11794 echo "$ac_t""no" 1>&6
11800 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
11801 echo "configure:11802: checking for _copysignl declaration" >&5
11802 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
11803 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
11804 echo $ac_n "(cached) $ac_c" 1>&6
11809 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11810 ac_cpp='$CXXCPP $CPPFLAGS'
11811 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11812 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11813 cross_compiling=$ac_cv_prog_cxx_cross
11815 cat > conftest.$ac_ext <<EOF
11816 #line 11817 "configure"
11817 #include "confdefs.h"
11823 if { (eval echo configure:11824: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11825 glibcpp_cv_func__copysignl_use=yes
11827 echo "configure: failed program was:" >&5
11828 cat conftest.$ac_ext >&5
11830 glibcpp_cv_func__copysignl_use=no
11834 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11835 ac_cpp='$CPP $CPPFLAGS'
11836 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11837 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11838 cross_compiling=$ac_cv_prog_cc_cross
11844 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
11846 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
11847 for ac_func in _copysignl
11849 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11850 echo "configure:11851: checking for $ac_func" >&5
11851 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11852 echo $ac_n "(cached) $ac_c" 1>&6
11854 cat > conftest.$ac_ext <<EOF
11855 #line 11856 "configure"
11856 #include "confdefs.h"
11857 /* System header to define __stub macros and hopefully few prototypes,
11858 which can conflict with char $ac_func(); below. */
11859 #include <assert.h>
11860 /* Override any gcc2 internal prototype to avoid an error. */
11861 /* We use char because int might match the return type of a gcc2
11862 builtin and then its argument prototype would still apply. */
11867 /* The GNU C library defines this for functions which it implements
11868 to always fail with ENOSYS. Some functions are actually named
11869 something starting with __ and the normal name is an alias. */
11870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11878 if { (eval echo configure:11879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11880 eval "ac_cv_func_$ac_func=yes"
11882 echo "configure: failed program was:" >&5
11883 cat conftest.$ac_ext >&5
11885 eval "ac_cv_func_$ac_func=no"
11890 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11891 echo "$ac_t""yes" 1>&6
11892 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11893 cat >> confdefs.h <<EOF
11894 #define $ac_tr_func 1
11898 echo "$ac_t""no" 1>&6
11907 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
11908 echo "configure:11909: checking for atan2l declaration" >&5
11909 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
11910 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
11911 echo $ac_n "(cached) $ac_c" 1>&6
11916 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11917 ac_cpp='$CXXCPP $CPPFLAGS'
11918 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11919 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11920 cross_compiling=$ac_cv_prog_cxx_cross
11922 cat > conftest.$ac_ext <<EOF
11923 #line 11924 "configure"
11924 #include "confdefs.h"
11930 if { (eval echo configure:11931: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11932 glibcpp_cv_func_atan2l_use=yes
11934 echo "configure: failed program was:" >&5
11935 cat conftest.$ac_ext >&5
11937 glibcpp_cv_func_atan2l_use=no
11941 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11942 ac_cpp='$CPP $CPPFLAGS'
11943 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11944 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11945 cross_compiling=$ac_cv_prog_cc_cross
11951 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
11953 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
11954 for ac_func in atan2l
11956 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11957 echo "configure:11958: checking for $ac_func" >&5
11958 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11959 echo $ac_n "(cached) $ac_c" 1>&6
11961 cat > conftest.$ac_ext <<EOF
11962 #line 11963 "configure"
11963 #include "confdefs.h"
11964 /* System header to define __stub macros and hopefully few prototypes,
11965 which can conflict with char $ac_func(); below. */
11966 #include <assert.h>
11967 /* Override any gcc2 internal prototype to avoid an error. */
11968 /* We use char because int might match the return type of a gcc2
11969 builtin and then its argument prototype would still apply. */
11974 /* The GNU C library defines this for functions which it implements
11975 to always fail with ENOSYS. Some functions are actually named
11976 something starting with __ and the normal name is an alias. */
11977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11985 if { (eval echo configure:11986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11987 eval "ac_cv_func_$ac_func=yes"
11989 echo "configure: failed program was:" >&5
11990 cat conftest.$ac_ext >&5
11992 eval "ac_cv_func_$ac_func=no"
11997 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11998 echo "$ac_t""yes" 1>&6
11999 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12000 cat >> confdefs.h <<EOF
12001 #define $ac_tr_func 1
12005 echo "$ac_t""no" 1>&6
12011 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
12012 echo "configure:12013: checking for _atan2l declaration" >&5
12013 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
12014 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
12015 echo $ac_n "(cached) $ac_c" 1>&6
12020 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12021 ac_cpp='$CXXCPP $CPPFLAGS'
12022 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12023 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12024 cross_compiling=$ac_cv_prog_cxx_cross
12026 cat > conftest.$ac_ext <<EOF
12027 #line 12028 "configure"
12028 #include "confdefs.h"
12034 if { (eval echo configure:12035: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12036 glibcpp_cv_func__atan2l_use=yes
12038 echo "configure: failed program was:" >&5
12039 cat conftest.$ac_ext >&5
12041 glibcpp_cv_func__atan2l_use=no
12045 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12046 ac_cpp='$CPP $CPPFLAGS'
12047 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12048 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12049 cross_compiling=$ac_cv_prog_cc_cross
12055 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
12057 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
12058 for ac_func in _atan2l
12060 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12061 echo "configure:12062: checking for $ac_func" >&5
12062 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12063 echo $ac_n "(cached) $ac_c" 1>&6
12065 cat > conftest.$ac_ext <<EOF
12066 #line 12067 "configure"
12067 #include "confdefs.h"
12068 /* System header to define __stub macros and hopefully few prototypes,
12069 which can conflict with char $ac_func(); below. */
12070 #include <assert.h>
12071 /* Override any gcc2 internal prototype to avoid an error. */
12072 /* We use char because int might match the return type of a gcc2
12073 builtin and then its argument prototype would still apply. */
12078 /* The GNU C library defines this for functions which it implements
12079 to always fail with ENOSYS. Some functions are actually named
12080 something starting with __ and the normal name is an alias. */
12081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12089 if { (eval echo configure:12090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12091 eval "ac_cv_func_$ac_func=yes"
12093 echo "configure: failed program was:" >&5
12094 cat conftest.$ac_ext >&5
12096 eval "ac_cv_func_$ac_func=no"
12101 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12102 echo "$ac_t""yes" 1>&6
12103 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12104 cat >> confdefs.h <<EOF
12105 #define $ac_tr_func 1
12109 echo "$ac_t""no" 1>&6
12118 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
12119 echo "configure:12120: checking for expl declaration" >&5
12120 if test x${glibcpp_cv_func_expl_use+set} != xset; then
12121 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
12122 echo $ac_n "(cached) $ac_c" 1>&6
12127 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12128 ac_cpp='$CXXCPP $CPPFLAGS'
12129 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12130 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12131 cross_compiling=$ac_cv_prog_cxx_cross
12133 cat > conftest.$ac_ext <<EOF
12134 #line 12135 "configure"
12135 #include "confdefs.h"
12137 #ifdef HAVE_IEEEFP_H
12138 #include <ieeefp.h>
12145 if { (eval echo configure:12146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12147 glibcpp_cv_func_expl_use=yes
12149 echo "configure: failed program was:" >&5
12150 cat conftest.$ac_ext >&5
12152 glibcpp_cv_func_expl_use=no
12156 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12157 ac_cpp='$CPP $CPPFLAGS'
12158 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12159 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12160 cross_compiling=$ac_cv_prog_cc_cross
12166 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
12168 if test x$glibcpp_cv_func_expl_use = x"yes"; then
12169 for ac_func in expl
12171 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12172 echo "configure:12173: checking for $ac_func" >&5
12173 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12174 echo $ac_n "(cached) $ac_c" 1>&6
12176 cat > conftest.$ac_ext <<EOF
12177 #line 12178 "configure"
12178 #include "confdefs.h"
12179 /* System header to define __stub macros and hopefully few prototypes,
12180 which can conflict with char $ac_func(); below. */
12181 #include <assert.h>
12182 /* Override any gcc2 internal prototype to avoid an error. */
12183 /* We use char because int might match the return type of a gcc2
12184 builtin and then its argument prototype would still apply. */
12189 /* The GNU C library defines this for functions which it implements
12190 to always fail with ENOSYS. Some functions are actually named
12191 something starting with __ and the normal name is an alias. */
12192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12200 if { (eval echo configure:12201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12202 eval "ac_cv_func_$ac_func=yes"
12204 echo "configure: failed program was:" >&5
12205 cat conftest.$ac_ext >&5
12207 eval "ac_cv_func_$ac_func=no"
12212 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12213 echo "$ac_t""yes" 1>&6
12214 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12215 cat >> confdefs.h <<EOF
12216 #define $ac_tr_func 1
12220 echo "$ac_t""no" 1>&6
12226 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
12227 echo "configure:12228: checking for _expl declaration" >&5
12228 if test x${glibcpp_cv_func__expl_use+set} != xset; then
12229 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
12230 echo $ac_n "(cached) $ac_c" 1>&6
12235 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12236 ac_cpp='$CXXCPP $CPPFLAGS'
12237 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12238 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12239 cross_compiling=$ac_cv_prog_cxx_cross
12241 cat > conftest.$ac_ext <<EOF
12242 #line 12243 "configure"
12243 #include "confdefs.h"
12245 #ifdef HAVE_IEEEFP_H
12246 #include <ieeefp.h>
12253 if { (eval echo configure:12254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12255 glibcpp_cv_func__expl_use=yes
12257 echo "configure: failed program was:" >&5
12258 cat conftest.$ac_ext >&5
12260 glibcpp_cv_func__expl_use=no
12264 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12265 ac_cpp='$CPP $CPPFLAGS'
12266 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12267 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12268 cross_compiling=$ac_cv_prog_cc_cross
12274 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
12276 if test x$glibcpp_cv_func__expl_use = x"yes"; then
12277 for ac_func in _expl
12279 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12280 echo "configure:12281: checking for $ac_func" >&5
12281 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12282 echo $ac_n "(cached) $ac_c" 1>&6
12284 cat > conftest.$ac_ext <<EOF
12285 #line 12286 "configure"
12286 #include "confdefs.h"
12287 /* System header to define __stub macros and hopefully few prototypes,
12288 which can conflict with char $ac_func(); below. */
12289 #include <assert.h>
12290 /* Override any gcc2 internal prototype to avoid an error. */
12291 /* We use char because int might match the return type of a gcc2
12292 builtin and then its argument prototype would still apply. */
12297 /* The GNU C library defines this for functions which it implements
12298 to always fail with ENOSYS. Some functions are actually named
12299 something starting with __ and the normal name is an alias. */
12300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12308 if { (eval echo configure:12309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12310 eval "ac_cv_func_$ac_func=yes"
12312 echo "configure: failed program was:" >&5
12313 cat conftest.$ac_ext >&5
12315 eval "ac_cv_func_$ac_func=no"
12320 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12321 echo "$ac_t""yes" 1>&6
12322 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12323 cat >> confdefs.h <<EOF
12324 #define $ac_tr_func 1
12328 echo "$ac_t""no" 1>&6
12337 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
12338 echo "configure:12339: checking for fabsl declaration" >&5
12339 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
12340 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
12341 echo $ac_n "(cached) $ac_c" 1>&6
12346 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12347 ac_cpp='$CXXCPP $CPPFLAGS'
12348 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12349 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12350 cross_compiling=$ac_cv_prog_cxx_cross
12352 cat > conftest.$ac_ext <<EOF
12353 #line 12354 "configure"
12354 #include "confdefs.h"
12356 #ifdef HAVE_IEEEFP_H
12357 #include <ieeefp.h>
12364 if { (eval echo configure:12365: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12366 glibcpp_cv_func_fabsl_use=yes
12368 echo "configure: failed program was:" >&5
12369 cat conftest.$ac_ext >&5
12371 glibcpp_cv_func_fabsl_use=no
12375 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12376 ac_cpp='$CPP $CPPFLAGS'
12377 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12378 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12379 cross_compiling=$ac_cv_prog_cc_cross
12385 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
12387 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
12388 for ac_func in fabsl
12390 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12391 echo "configure:12392: checking for $ac_func" >&5
12392 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12393 echo $ac_n "(cached) $ac_c" 1>&6
12395 cat > conftest.$ac_ext <<EOF
12396 #line 12397 "configure"
12397 #include "confdefs.h"
12398 /* System header to define __stub macros and hopefully few prototypes,
12399 which can conflict with char $ac_func(); below. */
12400 #include <assert.h>
12401 /* Override any gcc2 internal prototype to avoid an error. */
12402 /* We use char because int might match the return type of a gcc2
12403 builtin and then its argument prototype would still apply. */
12408 /* The GNU C library defines this for functions which it implements
12409 to always fail with ENOSYS. Some functions are actually named
12410 something starting with __ and the normal name is an alias. */
12411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12419 if { (eval echo configure:12420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12421 eval "ac_cv_func_$ac_func=yes"
12423 echo "configure: failed program was:" >&5
12424 cat conftest.$ac_ext >&5
12426 eval "ac_cv_func_$ac_func=no"
12431 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12432 echo "$ac_t""yes" 1>&6
12433 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12434 cat >> confdefs.h <<EOF
12435 #define $ac_tr_func 1
12439 echo "$ac_t""no" 1>&6
12445 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
12446 echo "configure:12447: checking for _fabsl declaration" >&5
12447 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
12448 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
12449 echo $ac_n "(cached) $ac_c" 1>&6
12454 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12455 ac_cpp='$CXXCPP $CPPFLAGS'
12456 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12457 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12458 cross_compiling=$ac_cv_prog_cxx_cross
12460 cat > conftest.$ac_ext <<EOF
12461 #line 12462 "configure"
12462 #include "confdefs.h"
12464 #ifdef HAVE_IEEEFP_H
12465 #include <ieeefp.h>
12472 if { (eval echo configure:12473: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12474 glibcpp_cv_func__fabsl_use=yes
12476 echo "configure: failed program was:" >&5
12477 cat conftest.$ac_ext >&5
12479 glibcpp_cv_func__fabsl_use=no
12483 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12484 ac_cpp='$CPP $CPPFLAGS'
12485 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12486 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12487 cross_compiling=$ac_cv_prog_cc_cross
12493 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
12495 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
12496 for ac_func in _fabsl
12498 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12499 echo "configure:12500: checking for $ac_func" >&5
12500 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12501 echo $ac_n "(cached) $ac_c" 1>&6
12503 cat > conftest.$ac_ext <<EOF
12504 #line 12505 "configure"
12505 #include "confdefs.h"
12506 /* System header to define __stub macros and hopefully few prototypes,
12507 which can conflict with char $ac_func(); below. */
12508 #include <assert.h>
12509 /* Override any gcc2 internal prototype to avoid an error. */
12510 /* We use char because int might match the return type of a gcc2
12511 builtin and then its argument prototype would still apply. */
12516 /* The GNU C library defines this for functions which it implements
12517 to always fail with ENOSYS. Some functions are actually named
12518 something starting with __ and the normal name is an alias. */
12519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12527 if { (eval echo configure:12528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12529 eval "ac_cv_func_$ac_func=yes"
12531 echo "configure: failed program was:" >&5
12532 cat conftest.$ac_ext >&5
12534 eval "ac_cv_func_$ac_func=no"
12539 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12540 echo "$ac_t""yes" 1>&6
12541 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12542 cat >> confdefs.h <<EOF
12543 #define $ac_tr_func 1
12547 echo "$ac_t""no" 1>&6
12556 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
12557 echo "configure:12558: checking for fmodl declaration" >&5
12558 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
12559 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
12560 echo $ac_n "(cached) $ac_c" 1>&6
12565 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12566 ac_cpp='$CXXCPP $CPPFLAGS'
12567 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12568 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12569 cross_compiling=$ac_cv_prog_cxx_cross
12571 cat > conftest.$ac_ext <<EOF
12572 #line 12573 "configure"
12573 #include "confdefs.h"
12579 if { (eval echo configure:12580: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12581 glibcpp_cv_func_fmodl_use=yes
12583 echo "configure: failed program was:" >&5
12584 cat conftest.$ac_ext >&5
12586 glibcpp_cv_func_fmodl_use=no
12590 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12591 ac_cpp='$CPP $CPPFLAGS'
12592 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12593 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12594 cross_compiling=$ac_cv_prog_cc_cross
12600 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
12602 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
12603 for ac_func in fmodl
12605 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12606 echo "configure:12607: checking for $ac_func" >&5
12607 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12608 echo $ac_n "(cached) $ac_c" 1>&6
12610 cat > conftest.$ac_ext <<EOF
12611 #line 12612 "configure"
12612 #include "confdefs.h"
12613 /* System header to define __stub macros and hopefully few prototypes,
12614 which can conflict with char $ac_func(); below. */
12615 #include <assert.h>
12616 /* Override any gcc2 internal prototype to avoid an error. */
12617 /* We use char because int might match the return type of a gcc2
12618 builtin and then its argument prototype would still apply. */
12623 /* The GNU C library defines this for functions which it implements
12624 to always fail with ENOSYS. Some functions are actually named
12625 something starting with __ and the normal name is an alias. */
12626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12634 if { (eval echo configure:12635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12636 eval "ac_cv_func_$ac_func=yes"
12638 echo "configure: failed program was:" >&5
12639 cat conftest.$ac_ext >&5
12641 eval "ac_cv_func_$ac_func=no"
12646 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12647 echo "$ac_t""yes" 1>&6
12648 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12649 cat >> confdefs.h <<EOF
12650 #define $ac_tr_func 1
12654 echo "$ac_t""no" 1>&6
12660 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
12661 echo "configure:12662: checking for _fmodl declaration" >&5
12662 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
12663 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
12664 echo $ac_n "(cached) $ac_c" 1>&6
12669 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12670 ac_cpp='$CXXCPP $CPPFLAGS'
12671 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12672 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12673 cross_compiling=$ac_cv_prog_cxx_cross
12675 cat > conftest.$ac_ext <<EOF
12676 #line 12677 "configure"
12677 #include "confdefs.h"
12683 if { (eval echo configure:12684: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12685 glibcpp_cv_func__fmodl_use=yes
12687 echo "configure: failed program was:" >&5
12688 cat conftest.$ac_ext >&5
12690 glibcpp_cv_func__fmodl_use=no
12694 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12695 ac_cpp='$CPP $CPPFLAGS'
12696 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12697 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12698 cross_compiling=$ac_cv_prog_cc_cross
12704 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
12706 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
12707 for ac_func in _fmodl
12709 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12710 echo "configure:12711: checking for $ac_func" >&5
12711 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12712 echo $ac_n "(cached) $ac_c" 1>&6
12714 cat > conftest.$ac_ext <<EOF
12715 #line 12716 "configure"
12716 #include "confdefs.h"
12717 /* System header to define __stub macros and hopefully few prototypes,
12718 which can conflict with char $ac_func(); below. */
12719 #include <assert.h>
12720 /* Override any gcc2 internal prototype to avoid an error. */
12721 /* We use char because int might match the return type of a gcc2
12722 builtin and then its argument prototype would still apply. */
12727 /* The GNU C library defines this for functions which it implements
12728 to always fail with ENOSYS. Some functions are actually named
12729 something starting with __ and the normal name is an alias. */
12730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12738 if { (eval echo configure:12739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12740 eval "ac_cv_func_$ac_func=yes"
12742 echo "configure: failed program was:" >&5
12743 cat conftest.$ac_ext >&5
12745 eval "ac_cv_func_$ac_func=no"
12750 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12751 echo "$ac_t""yes" 1>&6
12752 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12753 cat >> confdefs.h <<EOF
12754 #define $ac_tr_func 1
12758 echo "$ac_t""no" 1>&6
12767 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
12768 echo "configure:12769: checking for frexpl declaration" >&5
12769 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
12770 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
12771 echo $ac_n "(cached) $ac_c" 1>&6
12776 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12777 ac_cpp='$CXXCPP $CPPFLAGS'
12778 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12779 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12780 cross_compiling=$ac_cv_prog_cxx_cross
12782 cat > conftest.$ac_ext <<EOF
12783 #line 12784 "configure"
12784 #include "confdefs.h"
12790 if { (eval echo configure:12791: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12792 glibcpp_cv_func_frexpl_use=yes
12794 echo "configure: failed program was:" >&5
12795 cat conftest.$ac_ext >&5
12797 glibcpp_cv_func_frexpl_use=no
12801 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12802 ac_cpp='$CPP $CPPFLAGS'
12803 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12804 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12805 cross_compiling=$ac_cv_prog_cc_cross
12811 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
12813 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
12814 for ac_func in frexpl
12816 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12817 echo "configure:12818: checking for $ac_func" >&5
12818 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12819 echo $ac_n "(cached) $ac_c" 1>&6
12821 cat > conftest.$ac_ext <<EOF
12822 #line 12823 "configure"
12823 #include "confdefs.h"
12824 /* System header to define __stub macros and hopefully few prototypes,
12825 which can conflict with char $ac_func(); below. */
12826 #include <assert.h>
12827 /* Override any gcc2 internal prototype to avoid an error. */
12828 /* We use char because int might match the return type of a gcc2
12829 builtin and then its argument prototype would still apply. */
12834 /* The GNU C library defines this for functions which it implements
12835 to always fail with ENOSYS. Some functions are actually named
12836 something starting with __ and the normal name is an alias. */
12837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12845 if { (eval echo configure:12846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12847 eval "ac_cv_func_$ac_func=yes"
12849 echo "configure: failed program was:" >&5
12850 cat conftest.$ac_ext >&5
12852 eval "ac_cv_func_$ac_func=no"
12857 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12858 echo "$ac_t""yes" 1>&6
12859 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12860 cat >> confdefs.h <<EOF
12861 #define $ac_tr_func 1
12865 echo "$ac_t""no" 1>&6
12871 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
12872 echo "configure:12873: checking for _frexpl declaration" >&5
12873 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
12874 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
12875 echo $ac_n "(cached) $ac_c" 1>&6
12880 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12881 ac_cpp='$CXXCPP $CPPFLAGS'
12882 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12883 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12884 cross_compiling=$ac_cv_prog_cxx_cross
12886 cat > conftest.$ac_ext <<EOF
12887 #line 12888 "configure"
12888 #include "confdefs.h"
12894 if { (eval echo configure:12895: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12896 glibcpp_cv_func__frexpl_use=yes
12898 echo "configure: failed program was:" >&5
12899 cat conftest.$ac_ext >&5
12901 glibcpp_cv_func__frexpl_use=no
12905 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12906 ac_cpp='$CPP $CPPFLAGS'
12907 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12908 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12909 cross_compiling=$ac_cv_prog_cc_cross
12915 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
12917 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
12918 for ac_func in _frexpl
12920 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12921 echo "configure:12922: checking for $ac_func" >&5
12922 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12923 echo $ac_n "(cached) $ac_c" 1>&6
12925 cat > conftest.$ac_ext <<EOF
12926 #line 12927 "configure"
12927 #include "confdefs.h"
12928 /* System header to define __stub macros and hopefully few prototypes,
12929 which can conflict with char $ac_func(); below. */
12930 #include <assert.h>
12931 /* Override any gcc2 internal prototype to avoid an error. */
12932 /* We use char because int might match the return type of a gcc2
12933 builtin and then its argument prototype would still apply. */
12938 /* The GNU C library defines this for functions which it implements
12939 to always fail with ENOSYS. Some functions are actually named
12940 something starting with __ and the normal name is an alias. */
12941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12949 if { (eval echo configure:12950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12951 eval "ac_cv_func_$ac_func=yes"
12953 echo "configure: failed program was:" >&5
12954 cat conftest.$ac_ext >&5
12956 eval "ac_cv_func_$ac_func=no"
12961 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12962 echo "$ac_t""yes" 1>&6
12963 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12964 cat >> confdefs.h <<EOF
12965 #define $ac_tr_func 1
12969 echo "$ac_t""no" 1>&6
12978 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
12979 echo "configure:12980: checking for ldexpl declaration" >&5
12980 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
12981 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
12982 echo $ac_n "(cached) $ac_c" 1>&6
12987 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12988 ac_cpp='$CXXCPP $CPPFLAGS'
12989 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12990 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12991 cross_compiling=$ac_cv_prog_cxx_cross
12993 cat > conftest.$ac_ext <<EOF
12994 #line 12995 "configure"
12995 #include "confdefs.h"
13001 if { (eval echo configure:13002: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13003 glibcpp_cv_func_ldexpl_use=yes
13005 echo "configure: failed program was:" >&5
13006 cat conftest.$ac_ext >&5
13008 glibcpp_cv_func_ldexpl_use=no
13012 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13013 ac_cpp='$CPP $CPPFLAGS'
13014 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13015 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13016 cross_compiling=$ac_cv_prog_cc_cross
13022 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
13024 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
13025 for ac_func in ldexpl
13027 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13028 echo "configure:13029: checking for $ac_func" >&5
13029 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13030 echo $ac_n "(cached) $ac_c" 1>&6
13032 cat > conftest.$ac_ext <<EOF
13033 #line 13034 "configure"
13034 #include "confdefs.h"
13035 /* System header to define __stub macros and hopefully few prototypes,
13036 which can conflict with char $ac_func(); below. */
13037 #include <assert.h>
13038 /* Override any gcc2 internal prototype to avoid an error. */
13039 /* We use char because int might match the return type of a gcc2
13040 builtin and then its argument prototype would still apply. */
13045 /* The GNU C library defines this for functions which it implements
13046 to always fail with ENOSYS. Some functions are actually named
13047 something starting with __ and the normal name is an alias. */
13048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13056 if { (eval echo configure:13057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13058 eval "ac_cv_func_$ac_func=yes"
13060 echo "configure: failed program was:" >&5
13061 cat conftest.$ac_ext >&5
13063 eval "ac_cv_func_$ac_func=no"
13068 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13069 echo "$ac_t""yes" 1>&6
13070 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13071 cat >> confdefs.h <<EOF
13072 #define $ac_tr_func 1
13076 echo "$ac_t""no" 1>&6
13082 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
13083 echo "configure:13084: checking for _ldexpl declaration" >&5
13084 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
13085 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
13086 echo $ac_n "(cached) $ac_c" 1>&6
13091 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13092 ac_cpp='$CXXCPP $CPPFLAGS'
13093 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13094 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13095 cross_compiling=$ac_cv_prog_cxx_cross
13097 cat > conftest.$ac_ext <<EOF
13098 #line 13099 "configure"
13099 #include "confdefs.h"
13105 if { (eval echo configure:13106: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13107 glibcpp_cv_func__ldexpl_use=yes
13109 echo "configure: failed program was:" >&5
13110 cat conftest.$ac_ext >&5
13112 glibcpp_cv_func__ldexpl_use=no
13116 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13117 ac_cpp='$CPP $CPPFLAGS'
13118 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13119 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13120 cross_compiling=$ac_cv_prog_cc_cross
13126 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
13128 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
13129 for ac_func in _ldexpl
13131 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13132 echo "configure:13133: checking for $ac_func" >&5
13133 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13134 echo $ac_n "(cached) $ac_c" 1>&6
13136 cat > conftest.$ac_ext <<EOF
13137 #line 13138 "configure"
13138 #include "confdefs.h"
13139 /* System header to define __stub macros and hopefully few prototypes,
13140 which can conflict with char $ac_func(); below. */
13141 #include <assert.h>
13142 /* Override any gcc2 internal prototype to avoid an error. */
13143 /* We use char because int might match the return type of a gcc2
13144 builtin and then its argument prototype would still apply. */
13149 /* The GNU C library defines this for functions which it implements
13150 to always fail with ENOSYS. Some functions are actually named
13151 something starting with __ and the normal name is an alias. */
13152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13160 if { (eval echo configure:13161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13162 eval "ac_cv_func_$ac_func=yes"
13164 echo "configure: failed program was:" >&5
13165 cat conftest.$ac_ext >&5
13167 eval "ac_cv_func_$ac_func=no"
13172 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13173 echo "$ac_t""yes" 1>&6
13174 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13175 cat >> confdefs.h <<EOF
13176 #define $ac_tr_func 1
13180 echo "$ac_t""no" 1>&6
13189 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
13190 echo "configure:13191: checking for logl declaration" >&5
13191 if test x${glibcpp_cv_func_logl_use+set} != xset; then
13192 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
13193 echo $ac_n "(cached) $ac_c" 1>&6
13198 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13199 ac_cpp='$CXXCPP $CPPFLAGS'
13200 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13201 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13202 cross_compiling=$ac_cv_prog_cxx_cross
13204 cat > conftest.$ac_ext <<EOF
13205 #line 13206 "configure"
13206 #include "confdefs.h"
13208 #ifdef HAVE_IEEEFP_H
13209 #include <ieeefp.h>
13216 if { (eval echo configure:13217: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13218 glibcpp_cv_func_logl_use=yes
13220 echo "configure: failed program was:" >&5
13221 cat conftest.$ac_ext >&5
13223 glibcpp_cv_func_logl_use=no
13227 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13228 ac_cpp='$CPP $CPPFLAGS'
13229 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13230 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13231 cross_compiling=$ac_cv_prog_cc_cross
13237 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
13239 if test x$glibcpp_cv_func_logl_use = x"yes"; then
13240 for ac_func in logl
13242 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13243 echo "configure:13244: checking for $ac_func" >&5
13244 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13245 echo $ac_n "(cached) $ac_c" 1>&6
13247 cat > conftest.$ac_ext <<EOF
13248 #line 13249 "configure"
13249 #include "confdefs.h"
13250 /* System header to define __stub macros and hopefully few prototypes,
13251 which can conflict with char $ac_func(); below. */
13252 #include <assert.h>
13253 /* Override any gcc2 internal prototype to avoid an error. */
13254 /* We use char because int might match the return type of a gcc2
13255 builtin and then its argument prototype would still apply. */
13260 /* The GNU C library defines this for functions which it implements
13261 to always fail with ENOSYS. Some functions are actually named
13262 something starting with __ and the normal name is an alias. */
13263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13271 if { (eval echo configure:13272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13273 eval "ac_cv_func_$ac_func=yes"
13275 echo "configure: failed program was:" >&5
13276 cat conftest.$ac_ext >&5
13278 eval "ac_cv_func_$ac_func=no"
13283 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13284 echo "$ac_t""yes" 1>&6
13285 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13286 cat >> confdefs.h <<EOF
13287 #define $ac_tr_func 1
13291 echo "$ac_t""no" 1>&6
13297 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
13298 echo "configure:13299: checking for _logl declaration" >&5
13299 if test x${glibcpp_cv_func__logl_use+set} != xset; then
13300 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
13301 echo $ac_n "(cached) $ac_c" 1>&6
13306 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13307 ac_cpp='$CXXCPP $CPPFLAGS'
13308 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13309 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13310 cross_compiling=$ac_cv_prog_cxx_cross
13312 cat > conftest.$ac_ext <<EOF
13313 #line 13314 "configure"
13314 #include "confdefs.h"
13316 #ifdef HAVE_IEEEFP_H
13317 #include <ieeefp.h>
13324 if { (eval echo configure:13325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13326 glibcpp_cv_func__logl_use=yes
13328 echo "configure: failed program was:" >&5
13329 cat conftest.$ac_ext >&5
13331 glibcpp_cv_func__logl_use=no
13335 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13336 ac_cpp='$CPP $CPPFLAGS'
13337 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13338 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13339 cross_compiling=$ac_cv_prog_cc_cross
13345 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
13347 if test x$glibcpp_cv_func__logl_use = x"yes"; then
13348 for ac_func in _logl
13350 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13351 echo "configure:13352: checking for $ac_func" >&5
13352 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13353 echo $ac_n "(cached) $ac_c" 1>&6
13355 cat > conftest.$ac_ext <<EOF
13356 #line 13357 "configure"
13357 #include "confdefs.h"
13358 /* System header to define __stub macros and hopefully few prototypes,
13359 which can conflict with char $ac_func(); below. */
13360 #include <assert.h>
13361 /* Override any gcc2 internal prototype to avoid an error. */
13362 /* We use char because int might match the return type of a gcc2
13363 builtin and then its argument prototype would still apply. */
13368 /* The GNU C library defines this for functions which it implements
13369 to always fail with ENOSYS. Some functions are actually named
13370 something starting with __ and the normal name is an alias. */
13371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13379 if { (eval echo configure:13380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13381 eval "ac_cv_func_$ac_func=yes"
13383 echo "configure: failed program was:" >&5
13384 cat conftest.$ac_ext >&5
13386 eval "ac_cv_func_$ac_func=no"
13391 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13392 echo "$ac_t""yes" 1>&6
13393 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13394 cat >> confdefs.h <<EOF
13395 #define $ac_tr_func 1
13399 echo "$ac_t""no" 1>&6
13408 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
13409 echo "configure:13410: checking for log10l declaration" >&5
13410 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
13411 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
13412 echo $ac_n "(cached) $ac_c" 1>&6
13417 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13418 ac_cpp='$CXXCPP $CPPFLAGS'
13419 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13420 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13421 cross_compiling=$ac_cv_prog_cxx_cross
13423 cat > conftest.$ac_ext <<EOF
13424 #line 13425 "configure"
13425 #include "confdefs.h"
13427 #ifdef HAVE_IEEEFP_H
13428 #include <ieeefp.h>
13435 if { (eval echo configure:13436: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13437 glibcpp_cv_func_log10l_use=yes
13439 echo "configure: failed program was:" >&5
13440 cat conftest.$ac_ext >&5
13442 glibcpp_cv_func_log10l_use=no
13446 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13447 ac_cpp='$CPP $CPPFLAGS'
13448 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13449 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13450 cross_compiling=$ac_cv_prog_cc_cross
13456 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
13458 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
13459 for ac_func in log10l
13461 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13462 echo "configure:13463: checking for $ac_func" >&5
13463 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13464 echo $ac_n "(cached) $ac_c" 1>&6
13466 cat > conftest.$ac_ext <<EOF
13467 #line 13468 "configure"
13468 #include "confdefs.h"
13469 /* System header to define __stub macros and hopefully few prototypes,
13470 which can conflict with char $ac_func(); below. */
13471 #include <assert.h>
13472 /* Override any gcc2 internal prototype to avoid an error. */
13473 /* We use char because int might match the return type of a gcc2
13474 builtin and then its argument prototype would still apply. */
13479 /* The GNU C library defines this for functions which it implements
13480 to always fail with ENOSYS. Some functions are actually named
13481 something starting with __ and the normal name is an alias. */
13482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13490 if { (eval echo configure:13491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13492 eval "ac_cv_func_$ac_func=yes"
13494 echo "configure: failed program was:" >&5
13495 cat conftest.$ac_ext >&5
13497 eval "ac_cv_func_$ac_func=no"
13502 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13503 echo "$ac_t""yes" 1>&6
13504 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13505 cat >> confdefs.h <<EOF
13506 #define $ac_tr_func 1
13510 echo "$ac_t""no" 1>&6
13516 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
13517 echo "configure:13518: checking for _log10l declaration" >&5
13518 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
13519 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
13520 echo $ac_n "(cached) $ac_c" 1>&6
13525 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13526 ac_cpp='$CXXCPP $CPPFLAGS'
13527 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13528 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13529 cross_compiling=$ac_cv_prog_cxx_cross
13531 cat > conftest.$ac_ext <<EOF
13532 #line 13533 "configure"
13533 #include "confdefs.h"
13535 #ifdef HAVE_IEEEFP_H
13536 #include <ieeefp.h>
13543 if { (eval echo configure:13544: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13545 glibcpp_cv_func__log10l_use=yes
13547 echo "configure: failed program was:" >&5
13548 cat conftest.$ac_ext >&5
13550 glibcpp_cv_func__log10l_use=no
13554 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13555 ac_cpp='$CPP $CPPFLAGS'
13556 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13557 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13558 cross_compiling=$ac_cv_prog_cc_cross
13564 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
13566 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
13567 for ac_func in _log10l
13569 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13570 echo "configure:13571: checking for $ac_func" >&5
13571 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13572 echo $ac_n "(cached) $ac_c" 1>&6
13574 cat > conftest.$ac_ext <<EOF
13575 #line 13576 "configure"
13576 #include "confdefs.h"
13577 /* System header to define __stub macros and hopefully few prototypes,
13578 which can conflict with char $ac_func(); below. */
13579 #include <assert.h>
13580 /* Override any gcc2 internal prototype to avoid an error. */
13581 /* We use char because int might match the return type of a gcc2
13582 builtin and then its argument prototype would still apply. */
13587 /* The GNU C library defines this for functions which it implements
13588 to always fail with ENOSYS. Some functions are actually named
13589 something starting with __ and the normal name is an alias. */
13590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13598 if { (eval echo configure:13599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13600 eval "ac_cv_func_$ac_func=yes"
13602 echo "configure: failed program was:" >&5
13603 cat conftest.$ac_ext >&5
13605 eval "ac_cv_func_$ac_func=no"
13610 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13611 echo "$ac_t""yes" 1>&6
13612 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13613 cat >> confdefs.h <<EOF
13614 #define $ac_tr_func 1
13618 echo "$ac_t""no" 1>&6
13627 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
13628 echo "configure:13629: checking for modfl declaration" >&5
13629 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
13630 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
13631 echo $ac_n "(cached) $ac_c" 1>&6
13636 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13637 ac_cpp='$CXXCPP $CPPFLAGS'
13638 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13639 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13640 cross_compiling=$ac_cv_prog_cxx_cross
13642 cat > conftest.$ac_ext <<EOF
13643 #line 13644 "configure"
13644 #include "confdefs.h"
13650 if { (eval echo configure:13651: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13652 glibcpp_cv_func_modfl_use=yes
13654 echo "configure: failed program was:" >&5
13655 cat conftest.$ac_ext >&5
13657 glibcpp_cv_func_modfl_use=no
13661 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13662 ac_cpp='$CPP $CPPFLAGS'
13663 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13664 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13665 cross_compiling=$ac_cv_prog_cc_cross
13671 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
13673 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
13674 for ac_func in modfl
13676 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13677 echo "configure:13678: checking for $ac_func" >&5
13678 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13679 echo $ac_n "(cached) $ac_c" 1>&6
13681 cat > conftest.$ac_ext <<EOF
13682 #line 13683 "configure"
13683 #include "confdefs.h"
13684 /* System header to define __stub macros and hopefully few prototypes,
13685 which can conflict with char $ac_func(); below. */
13686 #include <assert.h>
13687 /* Override any gcc2 internal prototype to avoid an error. */
13688 /* We use char because int might match the return type of a gcc2
13689 builtin and then its argument prototype would still apply. */
13694 /* The GNU C library defines this for functions which it implements
13695 to always fail with ENOSYS. Some functions are actually named
13696 something starting with __ and the normal name is an alias. */
13697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13705 if { (eval echo configure:13706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13707 eval "ac_cv_func_$ac_func=yes"
13709 echo "configure: failed program was:" >&5
13710 cat conftest.$ac_ext >&5
13712 eval "ac_cv_func_$ac_func=no"
13717 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13718 echo "$ac_t""yes" 1>&6
13719 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13720 cat >> confdefs.h <<EOF
13721 #define $ac_tr_func 1
13725 echo "$ac_t""no" 1>&6
13731 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
13732 echo "configure:13733: checking for _modfl declaration" >&5
13733 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
13734 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
13735 echo $ac_n "(cached) $ac_c" 1>&6
13740 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13741 ac_cpp='$CXXCPP $CPPFLAGS'
13742 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13743 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13744 cross_compiling=$ac_cv_prog_cxx_cross
13746 cat > conftest.$ac_ext <<EOF
13747 #line 13748 "configure"
13748 #include "confdefs.h"
13754 if { (eval echo configure:13755: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13756 glibcpp_cv_func__modfl_use=yes
13758 echo "configure: failed program was:" >&5
13759 cat conftest.$ac_ext >&5
13761 glibcpp_cv_func__modfl_use=no
13765 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13766 ac_cpp='$CPP $CPPFLAGS'
13767 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13768 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13769 cross_compiling=$ac_cv_prog_cc_cross
13775 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
13777 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
13778 for ac_func in _modfl
13780 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13781 echo "configure:13782: checking for $ac_func" >&5
13782 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13783 echo $ac_n "(cached) $ac_c" 1>&6
13785 cat > conftest.$ac_ext <<EOF
13786 #line 13787 "configure"
13787 #include "confdefs.h"
13788 /* System header to define __stub macros and hopefully few prototypes,
13789 which can conflict with char $ac_func(); below. */
13790 #include <assert.h>
13791 /* Override any gcc2 internal prototype to avoid an error. */
13792 /* We use char because int might match the return type of a gcc2
13793 builtin and then its argument prototype would still apply. */
13798 /* The GNU C library defines this for functions which it implements
13799 to always fail with ENOSYS. Some functions are actually named
13800 something starting with __ and the normal name is an alias. */
13801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13809 if { (eval echo configure:13810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13811 eval "ac_cv_func_$ac_func=yes"
13813 echo "configure: failed program was:" >&5
13814 cat conftest.$ac_ext >&5
13816 eval "ac_cv_func_$ac_func=no"
13821 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13822 echo "$ac_t""yes" 1>&6
13823 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13824 cat >> confdefs.h <<EOF
13825 #define $ac_tr_func 1
13829 echo "$ac_t""no" 1>&6
13838 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
13839 echo "configure:13840: checking for powl declaration" >&5
13840 if test x${glibcpp_cv_func_powl_use+set} != xset; then
13841 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
13842 echo $ac_n "(cached) $ac_c" 1>&6
13847 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13848 ac_cpp='$CXXCPP $CPPFLAGS'
13849 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13850 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13851 cross_compiling=$ac_cv_prog_cxx_cross
13853 cat > conftest.$ac_ext <<EOF
13854 #line 13855 "configure"
13855 #include "confdefs.h"
13861 if { (eval echo configure:13862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13863 glibcpp_cv_func_powl_use=yes
13865 echo "configure: failed program was:" >&5
13866 cat conftest.$ac_ext >&5
13868 glibcpp_cv_func_powl_use=no
13872 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13873 ac_cpp='$CPP $CPPFLAGS'
13874 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13875 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13876 cross_compiling=$ac_cv_prog_cc_cross
13882 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
13884 if test x$glibcpp_cv_func_powl_use = x"yes"; then
13885 for ac_func in powl
13887 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13888 echo "configure:13889: checking for $ac_func" >&5
13889 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13890 echo $ac_n "(cached) $ac_c" 1>&6
13892 cat > conftest.$ac_ext <<EOF
13893 #line 13894 "configure"
13894 #include "confdefs.h"
13895 /* System header to define __stub macros and hopefully few prototypes,
13896 which can conflict with char $ac_func(); below. */
13897 #include <assert.h>
13898 /* Override any gcc2 internal prototype to avoid an error. */
13899 /* We use char because int might match the return type of a gcc2
13900 builtin and then its argument prototype would still apply. */
13905 /* The GNU C library defines this for functions which it implements
13906 to always fail with ENOSYS. Some functions are actually named
13907 something starting with __ and the normal name is an alias. */
13908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13916 if { (eval echo configure:13917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13918 eval "ac_cv_func_$ac_func=yes"
13920 echo "configure: failed program was:" >&5
13921 cat conftest.$ac_ext >&5
13923 eval "ac_cv_func_$ac_func=no"
13928 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13929 echo "$ac_t""yes" 1>&6
13930 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13931 cat >> confdefs.h <<EOF
13932 #define $ac_tr_func 1
13936 echo "$ac_t""no" 1>&6
13942 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
13943 echo "configure:13944: checking for _powl declaration" >&5
13944 if test x${glibcpp_cv_func__powl_use+set} != xset; then
13945 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
13946 echo $ac_n "(cached) $ac_c" 1>&6
13951 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13952 ac_cpp='$CXXCPP $CPPFLAGS'
13953 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13954 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13955 cross_compiling=$ac_cv_prog_cxx_cross
13957 cat > conftest.$ac_ext <<EOF
13958 #line 13959 "configure"
13959 #include "confdefs.h"
13965 if { (eval echo configure:13966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13967 glibcpp_cv_func__powl_use=yes
13969 echo "configure: failed program was:" >&5
13970 cat conftest.$ac_ext >&5
13972 glibcpp_cv_func__powl_use=no
13976 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13977 ac_cpp='$CPP $CPPFLAGS'
13978 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13979 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13980 cross_compiling=$ac_cv_prog_cc_cross
13986 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
13988 if test x$glibcpp_cv_func__powl_use = x"yes"; then
13989 for ac_func in _powl
13991 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13992 echo "configure:13993: checking for $ac_func" >&5
13993 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13994 echo $ac_n "(cached) $ac_c" 1>&6
13996 cat > conftest.$ac_ext <<EOF
13997 #line 13998 "configure"
13998 #include "confdefs.h"
13999 /* System header to define __stub macros and hopefully few prototypes,
14000 which can conflict with char $ac_func(); below. */
14001 #include <assert.h>
14002 /* Override any gcc2 internal prototype to avoid an error. */
14003 /* We use char because int might match the return type of a gcc2
14004 builtin and then its argument prototype would still apply. */
14009 /* The GNU C library defines this for functions which it implements
14010 to always fail with ENOSYS. Some functions are actually named
14011 something starting with __ and the normal name is an alias. */
14012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14020 if { (eval echo configure:14021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14022 eval "ac_cv_func_$ac_func=yes"
14024 echo "configure: failed program was:" >&5
14025 cat conftest.$ac_ext >&5
14027 eval "ac_cv_func_$ac_func=no"
14032 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14033 echo "$ac_t""yes" 1>&6
14034 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14035 cat >> confdefs.h <<EOF
14036 #define $ac_tr_func 1
14040 echo "$ac_t""no" 1>&6
14049 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
14050 echo "configure:14051: checking for sqrtl declaration" >&5
14051 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
14052 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
14053 echo $ac_n "(cached) $ac_c" 1>&6
14058 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14059 ac_cpp='$CXXCPP $CPPFLAGS'
14060 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14061 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14062 cross_compiling=$ac_cv_prog_cxx_cross
14064 cat > conftest.$ac_ext <<EOF
14065 #line 14066 "configure"
14066 #include "confdefs.h"
14068 #ifdef HAVE_IEEEFP_H
14069 #include <ieeefp.h>
14076 if { (eval echo configure:14077: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14078 glibcpp_cv_func_sqrtl_use=yes
14080 echo "configure: failed program was:" >&5
14081 cat conftest.$ac_ext >&5
14083 glibcpp_cv_func_sqrtl_use=no
14087 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14088 ac_cpp='$CPP $CPPFLAGS'
14089 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14090 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14091 cross_compiling=$ac_cv_prog_cc_cross
14097 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
14099 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
14100 for ac_func in sqrtl
14102 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14103 echo "configure:14104: checking for $ac_func" >&5
14104 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14105 echo $ac_n "(cached) $ac_c" 1>&6
14107 cat > conftest.$ac_ext <<EOF
14108 #line 14109 "configure"
14109 #include "confdefs.h"
14110 /* System header to define __stub macros and hopefully few prototypes,
14111 which can conflict with char $ac_func(); below. */
14112 #include <assert.h>
14113 /* Override any gcc2 internal prototype to avoid an error. */
14114 /* We use char because int might match the return type of a gcc2
14115 builtin and then its argument prototype would still apply. */
14120 /* The GNU C library defines this for functions which it implements
14121 to always fail with ENOSYS. Some functions are actually named
14122 something starting with __ and the normal name is an alias. */
14123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14131 if { (eval echo configure:14132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14133 eval "ac_cv_func_$ac_func=yes"
14135 echo "configure: failed program was:" >&5
14136 cat conftest.$ac_ext >&5
14138 eval "ac_cv_func_$ac_func=no"
14143 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14144 echo "$ac_t""yes" 1>&6
14145 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14146 cat >> confdefs.h <<EOF
14147 #define $ac_tr_func 1
14151 echo "$ac_t""no" 1>&6
14157 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
14158 echo "configure:14159: checking for _sqrtl declaration" >&5
14159 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
14160 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
14161 echo $ac_n "(cached) $ac_c" 1>&6
14166 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14167 ac_cpp='$CXXCPP $CPPFLAGS'
14168 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14169 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14170 cross_compiling=$ac_cv_prog_cxx_cross
14172 cat > conftest.$ac_ext <<EOF
14173 #line 14174 "configure"
14174 #include "confdefs.h"
14176 #ifdef HAVE_IEEEFP_H
14177 #include <ieeefp.h>
14184 if { (eval echo configure:14185: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14186 glibcpp_cv_func__sqrtl_use=yes
14188 echo "configure: failed program was:" >&5
14189 cat conftest.$ac_ext >&5
14191 glibcpp_cv_func__sqrtl_use=no
14195 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14196 ac_cpp='$CPP $CPPFLAGS'
14197 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14198 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14199 cross_compiling=$ac_cv_prog_cc_cross
14205 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
14207 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
14208 for ac_func in _sqrtl
14210 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14211 echo "configure:14212: checking for $ac_func" >&5
14212 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14213 echo $ac_n "(cached) $ac_c" 1>&6
14215 cat > conftest.$ac_ext <<EOF
14216 #line 14217 "configure"
14217 #include "confdefs.h"
14218 /* System header to define __stub macros and hopefully few prototypes,
14219 which can conflict with char $ac_func(); below. */
14220 #include <assert.h>
14221 /* Override any gcc2 internal prototype to avoid an error. */
14222 /* We use char because int might match the return type of a gcc2
14223 builtin and then its argument prototype would still apply. */
14228 /* The GNU C library defines this for functions which it implements
14229 to always fail with ENOSYS. Some functions are actually named
14230 something starting with __ and the normal name is an alias. */
14231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14239 if { (eval echo configure:14240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14241 eval "ac_cv_func_$ac_func=yes"
14243 echo "configure: failed program was:" >&5
14244 cat conftest.$ac_ext >&5
14246 eval "ac_cv_func_$ac_func=no"
14251 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14252 echo "$ac_t""yes" 1>&6
14253 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14254 cat >> confdefs.h <<EOF
14255 #define $ac_tr_func 1
14259 echo "$ac_t""no" 1>&6
14268 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
14269 echo "configure:14270: checking for sincosl declaration" >&5
14270 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
14271 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
14272 echo $ac_n "(cached) $ac_c" 1>&6
14277 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14278 ac_cpp='$CXXCPP $CPPFLAGS'
14279 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14280 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14281 cross_compiling=$ac_cv_prog_cxx_cross
14283 cat > conftest.$ac_ext <<EOF
14284 #line 14285 "configure"
14285 #include "confdefs.h"
14291 if { (eval echo configure:14292: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14293 glibcpp_cv_func_sincosl_use=yes
14295 echo "configure: failed program was:" >&5
14296 cat conftest.$ac_ext >&5
14298 glibcpp_cv_func_sincosl_use=no
14302 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14303 ac_cpp='$CPP $CPPFLAGS'
14304 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14305 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14306 cross_compiling=$ac_cv_prog_cc_cross
14312 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
14314 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
14315 for ac_func in sincosl
14317 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14318 echo "configure:14319: checking for $ac_func" >&5
14319 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14320 echo $ac_n "(cached) $ac_c" 1>&6
14322 cat > conftest.$ac_ext <<EOF
14323 #line 14324 "configure"
14324 #include "confdefs.h"
14325 /* System header to define __stub macros and hopefully few prototypes,
14326 which can conflict with char $ac_func(); below. */
14327 #include <assert.h>
14328 /* Override any gcc2 internal prototype to avoid an error. */
14329 /* We use char because int might match the return type of a gcc2
14330 builtin and then its argument prototype would still apply. */
14335 /* The GNU C library defines this for functions which it implements
14336 to always fail with ENOSYS. Some functions are actually named
14337 something starting with __ and the normal name is an alias. */
14338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14346 if { (eval echo configure:14347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14348 eval "ac_cv_func_$ac_func=yes"
14350 echo "configure: failed program was:" >&5
14351 cat conftest.$ac_ext >&5
14353 eval "ac_cv_func_$ac_func=no"
14358 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14359 echo "$ac_t""yes" 1>&6
14360 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14361 cat >> confdefs.h <<EOF
14362 #define $ac_tr_func 1
14366 echo "$ac_t""no" 1>&6
14372 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
14373 echo "configure:14374: checking for _sincosl declaration" >&5
14374 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
14375 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
14376 echo $ac_n "(cached) $ac_c" 1>&6
14381 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14382 ac_cpp='$CXXCPP $CPPFLAGS'
14383 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14384 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14385 cross_compiling=$ac_cv_prog_cxx_cross
14387 cat > conftest.$ac_ext <<EOF
14388 #line 14389 "configure"
14389 #include "confdefs.h"
14395 if { (eval echo configure:14396: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14397 glibcpp_cv_func__sincosl_use=yes
14399 echo "configure: failed program was:" >&5
14400 cat conftest.$ac_ext >&5
14402 glibcpp_cv_func__sincosl_use=no
14406 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14407 ac_cpp='$CPP $CPPFLAGS'
14408 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14409 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14410 cross_compiling=$ac_cv_prog_cc_cross
14416 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
14418 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
14419 for ac_func in _sincosl
14421 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14422 echo "configure:14423: checking for $ac_func" >&5
14423 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14424 echo $ac_n "(cached) $ac_c" 1>&6
14426 cat > conftest.$ac_ext <<EOF
14427 #line 14428 "configure"
14428 #include "confdefs.h"
14429 /* System header to define __stub macros and hopefully few prototypes,
14430 which can conflict with char $ac_func(); below. */
14431 #include <assert.h>
14432 /* Override any gcc2 internal prototype to avoid an error. */
14433 /* We use char because int might match the return type of a gcc2
14434 builtin and then its argument prototype would still apply. */
14439 /* The GNU C library defines this for functions which it implements
14440 to always fail with ENOSYS. Some functions are actually named
14441 something starting with __ and the normal name is an alias. */
14442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14450 if { (eval echo configure:14451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14452 eval "ac_cv_func_$ac_func=yes"
14454 echo "configure: failed program was:" >&5
14455 cat conftest.$ac_ext >&5
14457 eval "ac_cv_func_$ac_func=no"
14462 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14463 echo "$ac_t""yes" 1>&6
14464 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14465 cat >> confdefs.h <<EOF
14466 #define $ac_tr_func 1
14470 echo "$ac_t""no" 1>&6
14479 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
14480 echo "configure:14481: checking for finitel declaration" >&5
14481 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
14482 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
14483 echo $ac_n "(cached) $ac_c" 1>&6
14488 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14489 ac_cpp='$CXXCPP $CPPFLAGS'
14490 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14491 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14492 cross_compiling=$ac_cv_prog_cxx_cross
14494 cat > conftest.$ac_ext <<EOF
14495 #line 14496 "configure"
14496 #include "confdefs.h"
14498 #ifdef HAVE_IEEEFP_H
14499 #include <ieeefp.h>
14506 if { (eval echo configure:14507: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14508 glibcpp_cv_func_finitel_use=yes
14510 echo "configure: failed program was:" >&5
14511 cat conftest.$ac_ext >&5
14513 glibcpp_cv_func_finitel_use=no
14517 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14518 ac_cpp='$CPP $CPPFLAGS'
14519 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14520 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14521 cross_compiling=$ac_cv_prog_cc_cross
14527 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
14529 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
14530 for ac_func in finitel
14532 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14533 echo "configure:14534: checking for $ac_func" >&5
14534 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14535 echo $ac_n "(cached) $ac_c" 1>&6
14537 cat > conftest.$ac_ext <<EOF
14538 #line 14539 "configure"
14539 #include "confdefs.h"
14540 /* System header to define __stub macros and hopefully few prototypes,
14541 which can conflict with char $ac_func(); below. */
14542 #include <assert.h>
14543 /* Override any gcc2 internal prototype to avoid an error. */
14544 /* We use char because int might match the return type of a gcc2
14545 builtin and then its argument prototype would still apply. */
14550 /* The GNU C library defines this for functions which it implements
14551 to always fail with ENOSYS. Some functions are actually named
14552 something starting with __ and the normal name is an alias. */
14553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14561 if { (eval echo configure:14562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14563 eval "ac_cv_func_$ac_func=yes"
14565 echo "configure: failed program was:" >&5
14566 cat conftest.$ac_ext >&5
14568 eval "ac_cv_func_$ac_func=no"
14573 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14574 echo "$ac_t""yes" 1>&6
14575 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14576 cat >> confdefs.h <<EOF
14577 #define $ac_tr_func 1
14581 echo "$ac_t""no" 1>&6
14587 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
14588 echo "configure:14589: checking for _finitel declaration" >&5
14589 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
14590 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
14591 echo $ac_n "(cached) $ac_c" 1>&6
14596 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14597 ac_cpp='$CXXCPP $CPPFLAGS'
14598 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14599 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14600 cross_compiling=$ac_cv_prog_cxx_cross
14602 cat > conftest.$ac_ext <<EOF
14603 #line 14604 "configure"
14604 #include "confdefs.h"
14606 #ifdef HAVE_IEEEFP_H
14607 #include <ieeefp.h>
14614 if { (eval echo configure:14615: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14616 glibcpp_cv_func__finitel_use=yes
14618 echo "configure: failed program was:" >&5
14619 cat conftest.$ac_ext >&5
14621 glibcpp_cv_func__finitel_use=no
14625 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14626 ac_cpp='$CPP $CPPFLAGS'
14627 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14628 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14629 cross_compiling=$ac_cv_prog_cc_cross
14635 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
14637 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
14638 for ac_func in _finitel
14640 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14641 echo "configure:14642: checking for $ac_func" >&5
14642 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14643 echo $ac_n "(cached) $ac_c" 1>&6
14645 cat > conftest.$ac_ext <<EOF
14646 #line 14647 "configure"
14647 #include "confdefs.h"
14648 /* System header to define __stub macros and hopefully few prototypes,
14649 which can conflict with char $ac_func(); below. */
14650 #include <assert.h>
14651 /* Override any gcc2 internal prototype to avoid an error. */
14652 /* We use char because int might match the return type of a gcc2
14653 builtin and then its argument prototype would still apply. */
14658 /* The GNU C library defines this for functions which it implements
14659 to always fail with ENOSYS. Some functions are actually named
14660 something starting with __ and the normal name is an alias. */
14661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14669 if { (eval echo configure:14670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14671 eval "ac_cv_func_$ac_func=yes"
14673 echo "configure: failed program was:" >&5
14674 cat conftest.$ac_ext >&5
14676 eval "ac_cv_func_$ac_func=no"
14681 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14682 echo "$ac_t""yes" 1>&6
14683 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14684 cat >> confdefs.h <<EOF
14685 #define $ac_tr_func 1
14689 echo "$ac_t""no" 1>&6
14699 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
14700 echo "configure:14701: checking for _float trig functions" >&5
14701 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
14702 echo $ac_n "(cached) $ac_c" 1>&6
14707 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14708 ac_cpp='$CXXCPP $CPPFLAGS'
14709 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14710 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14711 cross_compiling=$ac_cv_prog_cxx_cross
14713 cat > conftest.$ac_ext <<EOF
14714 #line 14715 "configure"
14715 #include "confdefs.h"
14718 `for x in _acosf _asinf _atanf \
14719 _cosf _sinf _tanf \
14720 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
14723 if { (eval echo configure:14724: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14725 glibcpp_cv_func__float_trig_use=yes
14727 echo "configure: failed program was:" >&5
14728 cat conftest.$ac_ext >&5
14730 glibcpp_cv_func__float_trig_use=no
14734 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14735 ac_cpp='$CPP $CPPFLAGS'
14736 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14737 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14738 cross_compiling=$ac_cv_prog_cc_cross
14742 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
14743 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
14744 for ac_func in _acosf _asinf _atanf \
14745 _cosf _sinf _tanf \
14746 _coshf _sinhf _tanhf
14748 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14749 echo "configure:14750: checking for $ac_func" >&5
14750 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14751 echo $ac_n "(cached) $ac_c" 1>&6
14753 cat > conftest.$ac_ext <<EOF
14754 #line 14755 "configure"
14755 #include "confdefs.h"
14756 /* System header to define __stub macros and hopefully few prototypes,
14757 which can conflict with char $ac_func(); below. */
14758 #include <assert.h>
14759 /* Override any gcc2 internal prototype to avoid an error. */
14760 /* We use char because int might match the return type of a gcc2
14761 builtin and then its argument prototype would still apply. */
14766 /* The GNU C library defines this for functions which it implements
14767 to always fail with ENOSYS. Some functions are actually named
14768 something starting with __ and the normal name is an alias. */
14769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14777 if { (eval echo configure:14778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14779 eval "ac_cv_func_$ac_func=yes"
14781 echo "configure: failed program was:" >&5
14782 cat conftest.$ac_ext >&5
14784 eval "ac_cv_func_$ac_func=no"
14789 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14790 echo "$ac_t""yes" 1>&6
14791 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14792 cat >> confdefs.h <<EOF
14793 #define $ac_tr_func 1
14797 echo "$ac_t""no" 1>&6
14804 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
14805 echo "configure:14806: checking for _float round functions" >&5
14806 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
14807 echo $ac_n "(cached) $ac_c" 1>&6
14812 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14813 ac_cpp='$CXXCPP $CPPFLAGS'
14814 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14815 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14816 cross_compiling=$ac_cv_prog_cxx_cross
14818 cat > conftest.$ac_ext <<EOF
14819 #line 14820 "configure"
14820 #include "confdefs.h"
14823 `for x in _ceilf _floorf; do echo "$x (0);"; done`
14826 if { (eval echo configure:14827: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14828 glibcpp_cv_func__float_round_use=yes
14830 echo "configure: failed program was:" >&5
14831 cat conftest.$ac_ext >&5
14833 glibcpp_cv_func__float_round_use=no
14837 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14838 ac_cpp='$CPP $CPPFLAGS'
14839 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14840 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14841 cross_compiling=$ac_cv_prog_cc_cross
14845 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
14846 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
14847 for ac_func in _ceilf _floorf
14849 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14850 echo "configure:14851: checking for $ac_func" >&5
14851 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14852 echo $ac_n "(cached) $ac_c" 1>&6
14854 cat > conftest.$ac_ext <<EOF
14855 #line 14856 "configure"
14856 #include "confdefs.h"
14857 /* System header to define __stub macros and hopefully few prototypes,
14858 which can conflict with char $ac_func(); below. */
14859 #include <assert.h>
14860 /* Override any gcc2 internal prototype to avoid an error. */
14861 /* We use char because int might match the return type of a gcc2
14862 builtin and then its argument prototype would still apply. */
14867 /* The GNU C library defines this for functions which it implements
14868 to always fail with ENOSYS. Some functions are actually named
14869 something starting with __ and the normal name is an alias. */
14870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14878 if { (eval echo configure:14879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14880 eval "ac_cv_func_$ac_func=yes"
14882 echo "configure: failed program was:" >&5
14883 cat conftest.$ac_ext >&5
14885 eval "ac_cv_func_$ac_func=no"
14890 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14891 echo "$ac_t""yes" 1>&6
14892 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14893 cat >> confdefs.h <<EOF
14894 #define $ac_tr_func 1
14898 echo "$ac_t""no" 1>&6
14906 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
14907 echo "configure:14908: checking for _long double trig functions" >&5
14908 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
14909 echo $ac_n "(cached) $ac_c" 1>&6
14914 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14915 ac_cpp='$CXXCPP $CPPFLAGS'
14916 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14917 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14918 cross_compiling=$ac_cv_prog_cxx_cross
14920 cat > conftest.$ac_ext <<EOF
14921 #line 14922 "configure"
14922 #include "confdefs.h"
14925 `for x in _acosl _asinl _atanl \
14926 _cosl _sinl _tanl \
14927 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
14930 if { (eval echo configure:14931: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14932 glibcpp_cv_func__long_double_trig_use=yes
14934 echo "configure: failed program was:" >&5
14935 cat conftest.$ac_ext >&5
14937 glibcpp_cv_func__long_double_trig_use=no
14941 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14942 ac_cpp='$CPP $CPPFLAGS'
14943 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14944 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14945 cross_compiling=$ac_cv_prog_cc_cross
14949 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
14950 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
14951 for ac_func in _acosl _asinl _atanl \
14952 _cosl _sinl _tanl \
14953 _coshl _sinhl _tanhl
14955 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14956 echo "configure:14957: checking for $ac_func" >&5
14957 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14958 echo $ac_n "(cached) $ac_c" 1>&6
14960 cat > conftest.$ac_ext <<EOF
14961 #line 14962 "configure"
14962 #include "confdefs.h"
14963 /* System header to define __stub macros and hopefully few prototypes,
14964 which can conflict with char $ac_func(); below. */
14965 #include <assert.h>
14966 /* Override any gcc2 internal prototype to avoid an error. */
14967 /* We use char because int might match the return type of a gcc2
14968 builtin and then its argument prototype would still apply. */
14973 /* The GNU C library defines this for functions which it implements
14974 to always fail with ENOSYS. Some functions are actually named
14975 something starting with __ and the normal name is an alias. */
14976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14984 if { (eval echo configure:14985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14986 eval "ac_cv_func_$ac_func=yes"
14988 echo "configure: failed program was:" >&5
14989 cat conftest.$ac_ext >&5
14991 eval "ac_cv_func_$ac_func=no"
14996 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14997 echo "$ac_t""yes" 1>&6
14998 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14999 cat >> confdefs.h <<EOF
15000 #define $ac_tr_func 1
15004 echo "$ac_t""no" 1>&6
15011 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
15012 echo "configure:15013: checking for _long double round functions" >&5
15013 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
15014 echo $ac_n "(cached) $ac_c" 1>&6
15019 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15020 ac_cpp='$CXXCPP $CPPFLAGS'
15021 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15022 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15023 cross_compiling=$ac_cv_prog_cxx_cross
15025 cat > conftest.$ac_ext <<EOF
15026 #line 15027 "configure"
15027 #include "confdefs.h"
15030 `for x in _ceill _floorl; do echo "$x (0);"; done`
15033 if { (eval echo configure:15034: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15035 glibcpp_cv_func__long_double_round_use=yes
15037 echo "configure: failed program was:" >&5
15038 cat conftest.$ac_ext >&5
15040 glibcpp_cv_func__long_double_round_use=no
15044 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15045 ac_cpp='$CPP $CPPFLAGS'
15046 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15047 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15048 cross_compiling=$ac_cv_prog_cc_cross
15052 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
15053 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
15054 for ac_func in _ceill _floorl
15056 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15057 echo "configure:15058: checking for $ac_func" >&5
15058 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15059 echo $ac_n "(cached) $ac_c" 1>&6
15061 cat > conftest.$ac_ext <<EOF
15062 #line 15063 "configure"
15063 #include "confdefs.h"
15064 /* System header to define __stub macros and hopefully few prototypes,
15065 which can conflict with char $ac_func(); below. */
15066 #include <assert.h>
15067 /* Override any gcc2 internal prototype to avoid an error. */
15068 /* We use char because int might match the return type of a gcc2
15069 builtin and then its argument prototype would still apply. */
15074 /* The GNU C library defines this for functions which it implements
15075 to always fail with ENOSYS. Some functions are actually named
15076 something starting with __ and the normal name is an alias. */
15077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15085 if { (eval echo configure:15086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15087 eval "ac_cv_func_$ac_func=yes"
15089 echo "configure: failed program was:" >&5
15090 cat conftest.$ac_ext >&5
15092 eval "ac_cv_func_$ac_func=no"
15097 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15098 echo "$ac_t""yes" 1>&6
15099 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15100 cat >> confdefs.h <<EOF
15101 #define $ac_tr_func 1
15105 echo "$ac_t""no" 1>&6
15112 LIBS="$ac_save_LIBS"
15113 CXXFLAGS="$ac_save_CXXFLAGS"
15116 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
15117 echo "configure:15118: checking for main in -lm" >&5
15118 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
15119 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15120 echo $ac_n "(cached) $ac_c" 1>&6
15122 ac_save_LIBS="$LIBS"
15124 cat > conftest.$ac_ext <<EOF
15125 #line 15126 "configure"
15126 #include "confdefs.h"
15132 if { (eval echo configure:15133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15134 eval "ac_cv_lib_$ac_lib_var=yes"
15136 echo "configure: failed program was:" >&5
15137 cat conftest.$ac_ext >&5
15139 eval "ac_cv_lib_$ac_lib_var=no"
15142 LIBS="$ac_save_LIBS"
15145 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15146 echo "$ac_t""yes" 1>&6
15147 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
15148 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
15149 cat >> confdefs.h <<EOF
15150 #define $ac_tr_lib 1
15156 echo "$ac_t""no" 1>&6
15159 for ac_func in nan hypot hypotf atan2f expf copysignf
15161 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15162 echo "configure:15163: checking for $ac_func" >&5
15163 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15164 echo $ac_n "(cached) $ac_c" 1>&6
15166 cat > conftest.$ac_ext <<EOF
15167 #line 15168 "configure"
15168 #include "confdefs.h"
15169 /* System header to define __stub macros and hopefully few prototypes,
15170 which can conflict with char $ac_func(); below. */
15171 #include <assert.h>
15172 /* Override any gcc2 internal prototype to avoid an error. */
15173 /* We use char because int might match the return type of a gcc2
15174 builtin and then its argument prototype would still apply. */
15179 /* The GNU C library defines this for functions which it implements
15180 to always fail with ENOSYS. Some functions are actually named
15181 something starting with __ and the normal name is an alias. */
15182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15190 if { (eval echo configure:15191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15192 eval "ac_cv_func_$ac_func=yes"
15194 echo "configure: failed program was:" >&5
15195 cat conftest.$ac_ext >&5
15197 eval "ac_cv_func_$ac_func=no"
15202 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15203 echo "$ac_t""yes" 1>&6
15204 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15205 cat >> confdefs.h <<EOF
15206 #define $ac_tr_func 1
15210 echo "$ac_t""no" 1>&6
15211 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
15217 USE_COMPLEX_LONG_DOUBLE=no
15218 if test x$ac_cv_func_atan2l = x"yes" \
15219 && test x$ac_cv_func_copysignl = x"yes"; then
15220 USE_COMPLEX_LONG_DOUBLE=yes
15221 for ac_func in hypotl signbitl
15223 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15224 echo "configure:15225: checking for $ac_func" >&5
15225 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15226 echo $ac_n "(cached) $ac_c" 1>&6
15228 cat > conftest.$ac_ext <<EOF
15229 #line 15230 "configure"
15230 #include "confdefs.h"
15231 /* System header to define __stub macros and hopefully few prototypes,
15232 which can conflict with char $ac_func(); below. */
15233 #include <assert.h>
15234 /* Override any gcc2 internal prototype to avoid an error. */
15235 /* We use char because int might match the return type of a gcc2
15236 builtin and then its argument prototype would still apply. */
15241 /* The GNU C library defines this for functions which it implements
15242 to always fail with ENOSYS. Some functions are actually named
15243 something starting with __ and the normal name is an alias. */
15244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15252 if { (eval echo configure:15253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15254 eval "ac_cv_func_$ac_func=yes"
15256 echo "configure: failed program was:" >&5
15257 cat conftest.$ac_ext >&5
15259 eval "ac_cv_func_$ac_func=no"
15264 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15265 echo "$ac_t""yes" 1>&6
15266 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15267 cat >> confdefs.h <<EOF
15268 #define $ac_tr_func 1
15272 echo "$ac_t""no" 1>&6
15273 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
15285 echo $ac_n "checking for GNU C++ __complex__ support""... $ac_c" 1>&6
15286 echo "configure:15287: checking for GNU C++ __complex__ support" >&5
15287 if eval "test \"`echo '$''{'glibcpp_cv_complex'+set}'`\" = set"; then
15288 echo $ac_n "(cached) $ac_c" 1>&6
15293 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15294 ac_cpp='$CXXCPP $CPPFLAGS'
15295 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15296 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15297 cross_compiling=$ac_cv_prog_cxx_cross
15299 cat > conftest.$ac_ext <<EOF
15300 #line 15301 "configure"
15301 #include "confdefs.h"
15302 struct dcomplex { __complex__ double x; }; \
15303 dcomplex f(const dcomplex& x) { return dcomplex(x); }
15309 if { (eval echo configure:15310: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15311 glibcpp_cv_complex=ok
15313 echo "configure: failed program was:" >&5
15314 cat conftest.$ac_ext >&5
15316 glibcpp_cv_complex=buggy
15321 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15322 ac_cpp='$CPP $CPPFLAGS'
15323 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15324 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15325 cross_compiling=$ac_cv_prog_cc_cross
15330 echo "$ac_t""$glibcpp_cv_complex" 1>&6
15331 if test $glibcpp_cv_complex = buggy; then
15332 cat >> confdefs.h <<\EOF
15333 #define _GLIBCPP_BUGGY_COMPLEX 1
15338 echo $ac_n "checking for GNU C++ __complex__ float support""... $ac_c" 1>&6
15339 echo "configure:15340: checking for GNU C++ __complex__ float support" >&5
15340 if eval "test \"`echo '$''{'glibcpp_cv_float_complex'+set}'`\" = set"; then
15341 echo $ac_n "(cached) $ac_c" 1>&6
15346 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15347 ac_cpp='$CXXCPP $CPPFLAGS'
15348 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15349 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15350 cross_compiling=$ac_cv_prog_cxx_cross
15353 cat > conftest.h <<EOB
15355 // Check for buggy __complex__ that causes ICE in most versions of egcs
15356 // and gcc-2.95.x on certain platforms (eg., x86-win32).
15358 // See http://gcc.gnu.org/ml/gcc-bugs/1999-07n/msg00845.html for
15359 // more info on the bug itself.
15364 __complex__ float m_value;
15365 float_complex (float = 0.0f, float = 0.0f);
15366 float_complex (__complex__ float val) : m_value (val) {}
15367 float_complex foo (const float_complex &val)
15368 { return float_complex (~val.m_value); }
15371 cat > conftest.$ac_ext <<EOF
15372 #line 15373 "configure"
15373 #include "confdefs.h"
15374 #include "conftest.h"
15379 if { (eval echo configure:15380: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15381 glibcpp_cv_float_complex=ok
15383 echo "configure: failed program was:" >&5
15384 cat conftest.$ac_ext >&5
15386 glibcpp_cv_float_complex=buggy
15391 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15392 ac_cpp='$CPP $CPPFLAGS'
15393 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15394 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15395 cross_compiling=$ac_cv_prog_cc_cross
15400 echo "$ac_t""$glibcpp_cv_float_complex" 1>&6
15401 if test $glibcpp_cv_float_complex = buggy; then
15402 cat >> confdefs.h <<\EOF
15403 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
15410 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
15411 echo "configure:15412: checking for mbstate_t" >&5
15412 cat > conftest.$ac_ext <<EOF
15413 #line 15414 "configure"
15414 #include "confdefs.h"
15417 mbstate_t teststate;
15420 if { (eval echo configure:15421: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15424 echo "configure: failed program was:" >&5
15425 cat conftest.$ac_ext >&5
15430 echo "$ac_t""$have_mbstate_t" 1>&6
15431 if test x"$have_mbstate_t" = xyes; then
15432 cat >> confdefs.h <<\EOF
15433 #define HAVE_MBSTATE_T 1
15438 for ac_hdr in wchar.h
15440 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15441 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15442 echo "configure:15443: checking for $ac_hdr" >&5
15443 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15444 echo $ac_n "(cached) $ac_c" 1>&6
15446 cat > conftest.$ac_ext <<EOF
15447 #line 15448 "configure"
15448 #include "confdefs.h"
15451 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15452 { (eval echo configure:15453: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15453 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15454 if test -z "$ac_err"; then
15456 eval "ac_cv_header_$ac_safe=yes"
15459 echo "configure: failed program was:" >&5
15460 cat conftest.$ac_ext >&5
15462 eval "ac_cv_header_$ac_safe=no"
15466 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15467 echo "$ac_t""yes" 1>&6
15468 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15469 cat >> confdefs.h <<EOF
15470 #define $ac_tr_hdr 1
15474 echo "$ac_t""no" 1>&6
15479 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
15480 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
15481 echo "configure:15482: checking for wctype.h" >&5
15482 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15483 echo $ac_n "(cached) $ac_c" 1>&6
15485 cat > conftest.$ac_ext <<EOF
15486 #line 15487 "configure"
15487 #include "confdefs.h"
15488 #include <wctype.h>
15490 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15491 { (eval echo configure:15492: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15492 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15493 if test -z "$ac_err"; then
15495 eval "ac_cv_header_$ac_safe=yes"
15498 echo "configure: failed program was:" >&5
15499 cat conftest.$ac_ext >&5
15501 eval "ac_cv_header_$ac_safe=no"
15505 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15506 echo "$ac_t""yes" 1>&6
15507 ac_has_wctype_h=yes
15509 echo "$ac_t""no" 1>&6
15514 if test x"$ac_has_wchar_h" = xyes && test x"$ac_has_wctype_h" = xyes \
15515 && test x"$enable_c_mbchar" != xno; then
15517 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
15518 echo "configure:15519: checking for WCHAR_MIN and WCHAR_MAX" >&5
15519 cat > conftest.$ac_ext <<EOF
15520 #line 15521 "configure"
15521 #include "confdefs.h"
15524 int i = WCHAR_MIN; int j = WCHAR_MAX;
15527 if { (eval echo configure:15528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15529 has_wchar_minmax=yes
15531 echo "configure: failed program was:" >&5
15532 cat conftest.$ac_ext >&5
15534 has_wchar_minmax=no
15537 echo "$ac_t""$has_wchar_minmax" 1>&6
15539 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
15540 echo "configure:15541: checking for WEOF" >&5
15541 cat > conftest.$ac_ext <<EOF
15542 #line 15543 "configure"
15543 #include "confdefs.h"
15546 #include <stddef.h>
15551 if { (eval echo configure:15552: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15555 echo "configure: failed program was:" >&5
15556 cat conftest.$ac_ext >&5
15561 echo "$ac_t""$has_weof" 1>&6
15563 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset \
15564 wcsrtombs mbsrtowcs
15566 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15567 echo "configure:15568: checking for $ac_func" >&5
15568 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15569 echo $ac_n "(cached) $ac_c" 1>&6
15571 cat > conftest.$ac_ext <<EOF
15572 #line 15573 "configure"
15573 #include "confdefs.h"
15574 /* System header to define __stub macros and hopefully few prototypes,
15575 which can conflict with char $ac_func(); below. */
15576 #include <assert.h>
15577 /* Override any gcc2 internal prototype to avoid an error. */
15578 /* We use char because int might match the return type of a gcc2
15579 builtin and then its argument prototype would still apply. */
15584 /* The GNU C library defines this for functions which it implements
15585 to always fail with ENOSYS. Some functions are actually named
15586 something starting with __ and the normal name is an alias. */
15587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15595 if { (eval echo configure:15596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15597 eval "ac_cv_func_$ac_func=yes"
15599 echo "configure: failed program was:" >&5
15600 cat conftest.$ac_ext >&5
15602 eval "ac_cv_func_$ac_func=no"
15607 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15608 echo "$ac_t""yes" 1>&6
15609 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15610 cat >> confdefs.h <<EOF
15611 #define $ac_tr_func 1
15615 echo "$ac_t""no" 1>&6
15621 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
15622 echo "configure:15623: checking for ISO C99 wchar_t support" >&5
15623 if test x"$has_weof" = xyes && test x"$has_wchar_minmax" = xyes \
15624 && test x"$ac_wfuncs" = xyes; then
15625 ac_isoC99_wchar_t=yes
15627 ac_isoC99_wchar_t=no
15629 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
15631 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
15632 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
15633 echo "configure:15634: checking for iconv.h" >&5
15634 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15635 echo $ac_n "(cached) $ac_c" 1>&6
15637 cat > conftest.$ac_ext <<EOF
15638 #line 15639 "configure"
15639 #include "confdefs.h"
15642 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15643 { (eval echo configure:15644: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15644 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15645 if test -z "$ac_err"; then
15647 eval "ac_cv_header_$ac_safe=yes"
15650 echo "configure: failed program was:" >&5
15651 cat conftest.$ac_ext >&5
15653 eval "ac_cv_header_$ac_safe=no"
15657 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15658 echo "$ac_t""yes" 1>&6
15661 echo "$ac_t""no" 1>&6
15665 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
15666 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
15667 echo "configure:15668: checking for langinfo.h" >&5
15668 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15669 echo $ac_n "(cached) $ac_c" 1>&6
15671 cat > conftest.$ac_ext <<EOF
15672 #line 15673 "configure"
15673 #include "confdefs.h"
15674 #include <langinfo.h>
15676 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15677 { (eval echo configure:15678: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15678 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15679 if test -z "$ac_err"; then
15681 eval "ac_cv_header_$ac_safe=yes"
15684 echo "configure: failed program was:" >&5
15685 cat conftest.$ac_ext >&5
15687 eval "ac_cv_header_$ac_safe=no"
15691 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15692 echo "$ac_t""yes" 1>&6
15693 ac_has_langinfo_h=yes
15695 echo "$ac_t""no" 1>&6
15696 ac_has_langinfo_h=no
15700 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
15701 echo "configure:15702: checking for iconv in -liconv" >&5
15702 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
15703 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15704 echo $ac_n "(cached) $ac_c" 1>&6
15706 ac_save_LIBS="$LIBS"
15707 LIBS="-liconv $LIBS"
15708 cat > conftest.$ac_ext <<EOF
15709 #line 15710 "configure"
15710 #include "confdefs.h"
15711 /* Override any gcc2 internal prototype to avoid an error. */
15712 /* We use char because int might match the return type of a gcc2
15713 builtin and then its argument prototype would still apply. */
15720 if { (eval echo configure:15721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15722 eval "ac_cv_lib_$ac_lib_var=yes"
15724 echo "configure: failed program was:" >&5
15725 cat conftest.$ac_ext >&5
15727 eval "ac_cv_lib_$ac_lib_var=no"
15730 LIBS="$ac_save_LIBS"
15733 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15734 echo "$ac_t""yes" 1>&6
15737 echo "$ac_t""no" 1>&6
15740 ac_save_LIBS="$LIBS"
15741 LIBS="$LIBS $libiconv"
15743 for ac_func in iconv_open iconv_close iconv nl_langinfo
15745 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15746 echo "configure:15747: checking for $ac_func" >&5
15747 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15748 echo $ac_n "(cached) $ac_c" 1>&6
15750 cat > conftest.$ac_ext <<EOF
15751 #line 15752 "configure"
15752 #include "confdefs.h"
15753 /* System header to define __stub macros and hopefully few prototypes,
15754 which can conflict with char $ac_func(); below. */
15755 #include <assert.h>
15756 /* Override any gcc2 internal prototype to avoid an error. */
15757 /* We use char because int might match the return type of a gcc2
15758 builtin and then its argument prototype would still apply. */
15763 /* The GNU C library defines this for functions which it implements
15764 to always fail with ENOSYS. Some functions are actually named
15765 something starting with __ and the normal name is an alias. */
15766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15774 if { (eval echo configure:15775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15776 eval "ac_cv_func_$ac_func=yes"
15778 echo "configure: failed program was:" >&5
15779 cat conftest.$ac_ext >&5
15781 eval "ac_cv_func_$ac_func=no"
15786 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15787 echo "$ac_t""yes" 1>&6
15788 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15789 cat >> confdefs.h <<EOF
15790 #define $ac_tr_func 1
15795 echo "$ac_t""no" 1>&6
15801 LIBS="$ac_save_LIBS"
15803 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
15804 echo "configure:15805: checking for XPG2 wchar_t support" >&5
15805 if test x"$ac_has_iconv_h" = xyes && test x"$ac_has_langinfo_h" = xyes \
15806 && test x"$ac_XPG2funcs" = xyes; then
15807 ac_XPG2_wchar_t=yes
15811 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
15813 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
15814 echo "configure:15815: checking for enabled wchar_t specializations" >&5
15815 if test x"$ac_isoC99_wchar_t" = xyes \
15816 && test x"$ac_XPG2_wchar_t" = xyes; then
15817 cat >> confdefs.h <<\EOF
15818 #define _GLIBCPP_USE_WCHAR_T 1
15821 echo "$ac_t"""yes"" 1>&6
15823 echo "$ac_t"""no"" 1>&6
15826 echo "configure: warning: wchar_t support disabled." 1>&2
15830 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15831 ac_save_CXXFLAGS="$CXXFLAGS"
15832 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
15834 for ac_func in strtof
15836 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15837 echo "configure:15838: checking for $ac_func" >&5
15838 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15839 echo $ac_n "(cached) $ac_c" 1>&6
15841 cat > conftest.$ac_ext <<EOF
15842 #line 15843 "configure"
15843 #include "confdefs.h"
15844 /* System header to define __stub macros and hopefully few prototypes,
15845 which can conflict with char $ac_func(); below. */
15846 #include <assert.h>
15847 /* Override any gcc2 internal prototype to avoid an error. */
15848 /* We use char because int might match the return type of a gcc2
15849 builtin and then its argument prototype would still apply. */
15854 /* The GNU C library defines this for functions which it implements
15855 to always fail with ENOSYS. Some functions are actually named
15856 something starting with __ and the normal name is an alias. */
15857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15865 if { (eval echo configure:15866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15867 eval "ac_cv_func_$ac_func=yes"
15869 echo "configure: failed program was:" >&5
15870 cat conftest.$ac_ext >&5
15872 eval "ac_cv_func_$ac_func=no"
15877 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15878 echo "$ac_t""yes" 1>&6
15879 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15880 cat >> confdefs.h <<EOF
15881 #define $ac_tr_func 1
15885 echo "$ac_t""no" 1>&6
15890 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
15891 echo "configure:15892: checking for strtold declaration" >&5
15892 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
15893 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
15894 echo $ac_n "(cached) $ac_c" 1>&6
15899 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15900 ac_cpp='$CXXCPP $CPPFLAGS'
15901 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15902 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15903 cross_compiling=$ac_cv_prog_cxx_cross
15905 cat > conftest.$ac_ext <<EOF
15906 #line 15907 "configure"
15907 #include "confdefs.h"
15908 #include <stdlib.h>
15913 if { (eval echo configure:15914: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15915 glibcpp_cv_func_strtold_use=yes
15917 echo "configure: failed program was:" >&5
15918 cat conftest.$ac_ext >&5
15920 glibcpp_cv_func_strtold_use=no
15924 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15925 ac_cpp='$CPP $CPPFLAGS'
15926 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15927 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15928 cross_compiling=$ac_cv_prog_cc_cross
15934 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
15935 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
15936 for ac_func in strtold
15938 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15939 echo "configure:15940: checking for $ac_func" >&5
15940 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15941 echo $ac_n "(cached) $ac_c" 1>&6
15943 cat > conftest.$ac_ext <<EOF
15944 #line 15945 "configure"
15945 #include "confdefs.h"
15946 /* System header to define __stub macros and hopefully few prototypes,
15947 which can conflict with char $ac_func(); below. */
15948 #include <assert.h>
15949 /* Override any gcc2 internal prototype to avoid an error. */
15950 /* We use char because int might match the return type of a gcc2
15951 builtin and then its argument prototype would still apply. */
15956 /* The GNU C library defines this for functions which it implements
15957 to always fail with ENOSYS. Some functions are actually named
15958 something starting with __ and the normal name is an alias. */
15959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15967 if { (eval echo configure:15968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15969 eval "ac_cv_func_$ac_func=yes"
15971 echo "configure: failed program was:" >&5
15972 cat conftest.$ac_ext >&5
15974 eval "ac_cv_func_$ac_func=no"
15979 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15980 echo "$ac_t""yes" 1>&6
15981 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15982 cat >> confdefs.h <<EOF
15983 #define $ac_tr_func 1
15987 echo "$ac_t""no" 1>&6
15993 for ac_func in drand48
15995 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15996 echo "configure:15997: checking for $ac_func" >&5
15997 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15998 echo $ac_n "(cached) $ac_c" 1>&6
16000 cat > conftest.$ac_ext <<EOF
16001 #line 16002 "configure"
16002 #include "confdefs.h"
16003 /* System header to define __stub macros and hopefully few prototypes,
16004 which can conflict with char $ac_func(); below. */
16005 #include <assert.h>
16006 /* Override any gcc2 internal prototype to avoid an error. */
16007 /* We use char because int might match the return type of a gcc2
16008 builtin and then its argument prototype would still apply. */
16013 /* The GNU C library defines this for functions which it implements
16014 to always fail with ENOSYS. Some functions are actually named
16015 something starting with __ and the normal name is an alias. */
16016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16024 if { (eval echo configure:16025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16026 eval "ac_cv_func_$ac_func=yes"
16028 echo "configure: failed program was:" >&5
16029 cat conftest.$ac_ext >&5
16031 eval "ac_cv_func_$ac_func=no"
16036 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16037 echo "$ac_t""yes" 1>&6
16038 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16039 cat >> confdefs.h <<EOF
16040 #define $ac_tr_func 1
16044 echo "$ac_t""no" 1>&6
16049 CXXFLAGS="$ac_save_CXXFLAGS"
16052 cat > conftest.$ac_ext <<EOF
16053 #line 16054 "configure"
16054 #include "confdefs.h"
16056 #include <setjmp.h>
16059 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
16062 if { (eval echo configure:16063: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16064 cat >> confdefs.h <<\EOF
16065 #define HAVE_SIGSETJMP 1
16069 echo "configure: failed program was:" >&5
16070 cat conftest.$ac_ext >&5
16074 for ac_hdr in unistd.h
16076 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16077 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16078 echo "configure:16079: checking for $ac_hdr" >&5
16079 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16080 echo $ac_n "(cached) $ac_c" 1>&6
16082 cat > conftest.$ac_ext <<EOF
16083 #line 16084 "configure"
16084 #include "confdefs.h"
16087 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16088 { (eval echo configure:16089: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16089 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16090 if test -z "$ac_err"; then
16092 eval "ac_cv_header_$ac_safe=yes"
16095 echo "configure: failed program was:" >&5
16096 cat conftest.$ac_ext >&5
16098 eval "ac_cv_header_$ac_safe=no"
16102 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16103 echo "$ac_t""yes" 1>&6
16104 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16105 cat >> confdefs.h <<EOF
16106 #define $ac_tr_hdr 1
16110 echo "$ac_t""no" 1>&6
16114 for ac_func in getpagesize
16116 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16117 echo "configure:16118: checking for $ac_func" >&5
16118 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16119 echo $ac_n "(cached) $ac_c" 1>&6
16121 cat > conftest.$ac_ext <<EOF
16122 #line 16123 "configure"
16123 #include "confdefs.h"
16124 /* System header to define __stub macros and hopefully few prototypes,
16125 which can conflict with char $ac_func(); below. */
16126 #include <assert.h>
16127 /* Override any gcc2 internal prototype to avoid an error. */
16128 /* We use char because int might match the return type of a gcc2
16129 builtin and then its argument prototype would still apply. */
16134 /* The GNU C library defines this for functions which it implements
16135 to always fail with ENOSYS. Some functions are actually named
16136 something starting with __ and the normal name is an alias. */
16137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16145 if { (eval echo configure:16146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16147 eval "ac_cv_func_$ac_func=yes"
16149 echo "configure: failed program was:" >&5
16150 cat conftest.$ac_ext >&5
16152 eval "ac_cv_func_$ac_func=no"
16157 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16158 echo "$ac_t""yes" 1>&6
16159 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16160 cat >> confdefs.h <<EOF
16161 #define $ac_tr_func 1
16165 echo "$ac_t""no" 1>&6
16169 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
16170 echo "configure:16171: checking for working mmap" >&5
16171 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
16172 echo $ac_n "(cached) $ac_c" 1>&6
16174 if test "$cross_compiling" = yes; then
16175 ac_cv_func_mmap_fixed_mapped=no
16177 cat > conftest.$ac_ext <<EOF
16178 #line 16179 "configure"
16179 #include "confdefs.h"
16181 /* Thanks to Mike Haertel and Jim Avera for this test.
16182 Here is a matrix of mmap possibilities:
16183 mmap private not fixed
16184 mmap private fixed at somewhere currently unmapped
16185 mmap private fixed at somewhere already mapped
16186 mmap shared not fixed
16187 mmap shared fixed at somewhere currently unmapped
16188 mmap shared fixed at somewhere already mapped
16189 For private mappings, we should verify that changes cannot be read()
16190 back from the file, nor mmap's back from the file at a different
16191 address. (There have been systems where private was not correctly
16192 implemented like the infamous i386 svr4.0, and systems where the
16193 VM page cache was not coherent with the filesystem buffer cache
16194 like early versions of FreeBSD and possibly contemporary NetBSD.)
16195 For shared mappings, we should conversely verify that changes get
16196 propogated back to all the places they're supposed to be.
16198 Grep wants private fixed already mapped.
16199 The main things grep needs to know about mmap are:
16200 * does it exist and is it safe to write into the mmap'd area
16201 * how to use it (BSD variants) */
16202 #include <sys/types.h>
16204 #include <sys/mman.h>
16206 /* This mess was copied from the GNU getpagesize.h. */
16207 #ifndef HAVE_GETPAGESIZE
16208 # ifdef HAVE_UNISTD_H
16209 # include <unistd.h>
16212 /* Assume that all systems that can run configure have sys/param.h. */
16213 # ifndef HAVE_SYS_PARAM_H
16214 # define HAVE_SYS_PARAM_H 1
16217 # ifdef _SC_PAGESIZE
16218 # define getpagesize() sysconf(_SC_PAGESIZE)
16219 # else /* no _SC_PAGESIZE */
16220 # ifdef HAVE_SYS_PARAM_H
16221 # include <sys/param.h>
16222 # ifdef EXEC_PAGESIZE
16223 # define getpagesize() EXEC_PAGESIZE
16224 # else /* no EXEC_PAGESIZE */
16226 # define getpagesize() NBPG * CLSIZE
16229 # endif /* no CLSIZE */
16230 # else /* no NBPG */
16232 # define getpagesize() NBPC
16233 # else /* no NBPC */
16235 # define getpagesize() PAGESIZE
16236 # endif /* PAGESIZE */
16237 # endif /* no NBPC */
16238 # endif /* no NBPG */
16239 # endif /* no EXEC_PAGESIZE */
16240 # else /* no HAVE_SYS_PARAM_H */
16241 # define getpagesize() 8192 /* punt totally */
16242 # endif /* no HAVE_SYS_PARAM_H */
16243 # endif /* no _SC_PAGESIZE */
16245 #endif /* no HAVE_GETPAGESIZE */
16248 extern "C" { void *malloc(unsigned); }
16256 char *data, *data2, *data3;
16260 pagesize = getpagesize();
16263 * First, make a file with some known garbage in it.
16265 data = malloc(pagesize);
16268 for (i = 0; i < pagesize; ++i)
16269 *(data + i) = rand();
16271 fd = creat("conftestmmap", 0600);
16274 if (write(fd, data, pagesize) != pagesize)
16279 * Next, try to mmap the file at a fixed address which
16280 * already has something else allocated at it. If we can,
16281 * also make sure that we see the same garbage.
16283 fd = open("conftestmmap", O_RDWR);
16286 data2 = malloc(2 * pagesize);
16289 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
16290 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
16291 MAP_PRIVATE | MAP_FIXED, fd, 0L))
16293 for (i = 0; i < pagesize; ++i)
16294 if (*(data + i) != *(data2 + i))
16298 * Finally, make sure that changes to the mapped area
16299 * do not percolate back to the file as seen by read().
16300 * (This is a bug on some variants of i386 svr4.0.)
16302 for (i = 0; i < pagesize; ++i)
16303 *(data2 + i) = *(data2 + i) + 1;
16304 data3 = malloc(pagesize);
16307 if (read(fd, data3, pagesize) != pagesize)
16309 for (i = 0; i < pagesize; ++i)
16310 if (*(data + i) != *(data3 + i))
16313 unlink("conftestmmap");
16318 if { (eval echo configure:16319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
16320 ac_cv_func_mmap_fixed_mapped=yes
16322 echo "configure: failed program was:" >&5
16323 cat conftest.$ac_ext >&5
16325 ac_cv_func_mmap_fixed_mapped=no
16332 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
16333 if test $ac_cv_func_mmap_fixed_mapped = yes; then
16334 cat >> confdefs.h <<\EOF
16335 #define HAVE_MMAP 1
16342 # Now that ctype is determined for all possible targets, we can do this...
16350 if test "$NULL_TARGET" = yes; then
16352 NULL_TARGET_FALSE='#'
16354 NULL_TARGET_TRUE='#'
16359 if test "$NATIVE" = yes || test "$NULL_TARGET" = yes; then
16368 if test "$CANADIAN" = yes; then
16376 cat > confcache <<\EOF
16377 # This file is a shell script that caches the results of configure
16378 # tests run on this system so they can be shared between configure
16379 # scripts and configure runs. It is not useful on other systems.
16380 # If it contains results you don't want to keep, you may remove or edit it.
16382 # By default, configure uses ./config.cache as the cache file,
16383 # creating it if it does not exist already. You can give configure
16384 # the --cache-file=FILE option to use a different cache file; that is
16385 # what configure does when it calls configure scripts in
16386 # subdirectories, so they share the cache.
16387 # Giving --cache-file=/dev/null disables caching, for debugging configure.
16388 # config.status only pays attention to the cache file if you give it the
16389 # --recheck option to rerun configure.
16392 # The following way of writing the cache mishandles newlines in values,
16393 # but we know of no workaround that is simple, portable, and efficient.
16394 # So, don't put newlines in cache variables' values.
16395 # Ultrix sh set writes to stderr and can't be redirected directly,
16396 # and sets the high bit in the cache file unless we assign to the vars.
16398 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16400 # `set' does not quote correctly, so add quotes (double-quote substitution
16401 # turns \\\\ into \\, and sed turns \\ into \).
16403 -e "s/'/'\\\\''/g" \
16404 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
16407 # `set' quotes correctly as required by POSIX, so do not add quotes.
16408 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
16411 if cmp -s $cache_file confcache; then
16414 if test -w $cache_file; then
16415 echo "updating cache $cache_file"
16416 cat confcache > $cache_file
16418 echo "not updating unwritable cache $cache_file"
16424 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
16425 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
16426 echo "configure:16427: checking for locale.h" >&5
16427 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16428 echo $ac_n "(cached) $ac_c" 1>&6
16430 cat > conftest.$ac_ext <<EOF
16431 #line 16432 "configure"
16432 #include "confdefs.h"
16433 #include <locale.h>
16435 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16436 { (eval echo configure:16437: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16437 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16438 if test -z "$ac_err"; then
16440 eval "ac_cv_header_$ac_safe=yes"
16443 echo "configure: failed program was:" >&5
16444 cat conftest.$ac_ext >&5
16446 eval "ac_cv_header_$ac_safe=no"
16450 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16451 echo "$ac_t""yes" 1>&6
16453 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
16454 echo "configure:16455: checking for LC_MESSAGES" >&5
16455 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
16456 echo $ac_n "(cached) $ac_c" 1>&6
16458 cat > conftest.$ac_ext <<EOF
16459 #line 16460 "configure"
16460 #include "confdefs.h"
16461 #include <locale.h>
16466 if { (eval echo configure:16467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16468 ac_cv_val_LC_MESSAGES=yes
16470 echo "configure: failed program was:" >&5
16471 cat conftest.$ac_ext >&5
16473 ac_cv_val_LC_MESSAGES=no
16478 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
16479 if test $ac_cv_val_LC_MESSAGES = yes; then
16480 cat >> confdefs.h <<\EOF
16481 #define HAVE_LC_MESSAGES 1
16487 echo "$ac_t""no" 1>&6
16492 if test "${multilib}" = "yes"; then
16493 multilib_arg="--enable-multilib"
16499 # Generate the various Makefiles, include files, and scripts.
16501 # Needed so that g++ can find the correct include subdir automatically.
16504 # Export all the install information
16507 glibcpp_toolexecdir=no
16508 glibcpp_toolexeclibdir=no
16510 # Export build and source directories.
16511 # These need to be absolute paths, thus the use of pwd.
16512 glibcpp_builddir=`pwd`
16513 glibcpp_srcdir=`cd ${srcdir} && pwd`
16514 glibcpp_prefixdir=`cd ${prefix} && pwd`
16516 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
16517 echo "configure:16518: checking for interface version number" >&5
16518 libstdcxx_interface=$INTERFACE
16519 echo "$ac_t""$libstdcxx_interface" 1>&6
16521 # Process the option --with-gxx-include-dir=<path to include-files directory>
16522 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
16523 echo "configure:16524: checking for --with-gxx-include-dir" >&5
16524 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
16525 if test "${with_gxx_include_dir+set}" = set; then
16526 withval="$with_gxx_include_dir"
16527 case "${withval}" in
16529 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
16536 gxx_include_dir=${withval}
16543 echo "$ac_t""$gxx_include_dir" 1>&6
16545 # Process the option "--enable-version-specific-runtime-libs"
16546 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
16547 echo "configure:16548: checking for --enable-version-specific-runtime-libs" >&5
16548 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
16549 if test "${enable_version_specific_runtime_libs+set}" = set; then
16550 enableval="$enable_version_specific_runtime_libs"
16551 version_specific_libs=yes
16552 # Need the gcc compiler version to know where to install libraries
16553 # and header files if --enable-version-specific-runtime-libs option
16555 gcc_version_trigger=${srcdir}/../gcc/version.c
16556 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
16557 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
16558 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/g++
16559 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
16560 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}
16563 version_specific_libs=no
16566 echo "$ac_t""$version_specific_libs" 1>&6
16568 # Default case for install directory for include files.
16569 if test x"$version_specific_libs" = x"no" \
16570 && test x"$gxx_include_dir" = x"no"; then
16571 gxx_include_dir='$(prefix)'/include/g++-${libstdcxx_interface}
16574 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
16575 # Install a library built with a cross compiler in tooldir, not libdir.
16576 if test x"$glibcpp_toolexecdir" = x"no"; then
16577 if test -n "$with_cross_host" && test x"$with_cross_host" != x"no"; then
16578 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
16579 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
16581 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
16582 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
16586 echo $ac_n "checking for install location""... $ac_c" 1>&6
16587 echo "configure:16588: checking for install location" >&5
16588 echo "$ac_t""$gxx_include_dir" 1>&6
16598 # Export all the include and flag information to makefiles.
16600 # Root level of the include sources.
16601 GLIBCPP_INCLUDE_DIR='$(top_srcdir)/include'
16603 # Can either use include/c or include/c_std to grab "C" headers. This
16604 # variable is set to the include directory currently in use.
16605 # set with C_INCLUDE_DIR in GLIBCPP_ENABLE_CHEADERS
16607 # Passed down for canadian crosses.
16608 if test x"$CANADIAN" = xyes; then
16609 TOPLEVEL_INCLUDES='-I$(includedir)'
16612 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
16614 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
16616 #if GLIBCPP_NEED_LIBIO
16617 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
16619 #LIBIO_INCLUDES='-I$(top_srcdir)/libio'
16622 #if GLIBCPP_USE_CSHADOW
16623 # CSHADOW_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR) \
16624 # -I$(top_blddir)/cshadow'
16626 CSTD_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR)'
16629 # Now, export this to all the little Makefiles....
16638 # Optimization flags that are probably a good idea for thrill-seekers. Just
16639 # uncomment the lines below and make, everything else is ready to go...
16640 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
16644 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
16648 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
16649 grep "enable shared" > /dev/null; then
16650 LIBSUPCXX_PICFLAGS=-prefer-pic
16652 LIBSUPCXX_PICFLAGS=
16656 # This should be done by mkincludedir, but hack around it now.
16658 echo "checking for $blddir/include"
16660 if test ! -d "$blddir/include"; then
16661 mkdir "$blddir/include"
16664 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
16665 # and libsupc++/Makefile.am so that multilib installs will end up
16666 # installed in the correct place. To work around this not being passed
16667 # down from config-ml.in -> top_srcdir/Makefile.am ->
16668 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
16670 cat > confcache <<\EOF
16671 # This file is a shell script that caches the results of configure
16672 # tests run on this system so they can be shared between configure
16673 # scripts and configure runs. It is not useful on other systems.
16674 # If it contains results you don't want to keep, you may remove or edit it.
16676 # By default, configure uses ./config.cache as the cache file,
16677 # creating it if it does not exist already. You can give configure
16678 # the --cache-file=FILE option to use a different cache file; that is
16679 # what configure does when it calls configure scripts in
16680 # subdirectories, so they share the cache.
16681 # Giving --cache-file=/dev/null disables caching, for debugging configure.
16682 # config.status only pays attention to the cache file if you give it the
16683 # --recheck option to rerun configure.
16686 # The following way of writing the cache mishandles newlines in values,
16687 # but we know of no workaround that is simple, portable, and efficient.
16688 # So, don't put newlines in cache variables' values.
16689 # Ultrix sh set writes to stderr and can't be redirected directly,
16690 # and sets the high bit in the cache file unless we assign to the vars.
16692 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16694 # `set' does not quote correctly, so add quotes (double-quote substitution
16695 # turns \\\\ into \\, and sed turns \\ into \).
16697 -e "s/'/'\\\\''/g" \
16698 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
16701 # `set' quotes correctly as required by POSIX, so do not add quotes.
16702 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
16705 if cmp -s $cache_file confcache; then
16708 if test -w $cache_file; then
16709 echo "updating cache $cache_file"
16710 cat confcache > $cache_file
16712 echo "not updating unwritable cache $cache_file"
16717 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
16719 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16720 # Let make expand exec_prefix.
16721 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16723 # Any assignment to VPATH causes Sun make to only execute
16724 # the first set of double-colon rules, so remove it if not needed.
16725 # If there is a colon in the path, we need to keep it.
16726 if test "x$srcdir" = x.; then
16727 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
16730 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
16732 DEFS=-DHAVE_CONFIG_H
16734 # Without the "./", some shells look in PATH for config.status.
16735 : ${CONFIG_STATUS=./config.status}
16737 echo creating $CONFIG_STATUS
16738 rm -f $CONFIG_STATUS
16739 cat > $CONFIG_STATUS <<EOF
16741 # Generated automatically by configure.
16742 # Run this file to recreate the current configuration.
16743 # This directory was configured as follows,
16744 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16746 # $0 $ac_configure_args
16748 # Compiler output produced by configure, useful for debugging
16749 # configure, is in ./config.log if it exists.
16751 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
16754 case "\$ac_option" in
16755 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16756 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
16757 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
16758 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
16759 echo "$CONFIG_STATUS generated by autoconf version 2.13"
16761 -help | --help | --hel | --he | --h)
16762 echo "\$ac_cs_usage"; exit 0 ;;
16763 *) echo "\$ac_cs_usage"; exit 1 ;;
16767 ac_given_srcdir=$srcdir
16768 ac_given_INSTALL="$INSTALL"
16770 trap 'rm -fr `echo "Makefile src/Makefile libmath/Makefile libio/Makefile libsupc++/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
16772 cat >> $CONFIG_STATUS <<EOF
16774 # Protect against being on the right side of a sed subst in config.status.
16775 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
16776 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
16780 s%@CFLAGS@%$CFLAGS%g
16781 s%@CPPFLAGS@%$CPPFLAGS%g
16782 s%@CXXFLAGS@%$CXXFLAGS%g
16783 s%@FFLAGS@%$FFLAGS%g
16785 s%@LDFLAGS@%$LDFLAGS%g
16787 s%@exec_prefix@%$exec_prefix%g
16788 s%@prefix@%$prefix%g
16789 s%@program_transform_name@%$program_transform_name%g
16790 s%@bindir@%$bindir%g
16791 s%@sbindir@%$sbindir%g
16792 s%@libexecdir@%$libexecdir%g
16793 s%@datadir@%$datadir%g
16794 s%@sysconfdir@%$sysconfdir%g
16795 s%@sharedstatedir@%$sharedstatedir%g
16796 s%@localstatedir@%$localstatedir%g
16797 s%@libdir@%$libdir%g
16798 s%@includedir@%$includedir%g
16799 s%@oldincludedir@%$oldincludedir%g
16800 s%@infodir@%$infodir%g
16801 s%@mandir@%$mandir%g
16802 s%@toplevel_srcdir@%$toplevel_srcdir%g
16804 s%@host_alias@%$host_alias%g
16805 s%@host_cpu@%$host_cpu%g
16806 s%@host_vendor@%$host_vendor%g
16807 s%@host_os@%$host_os%g
16808 s%@target@%$target%g
16809 s%@target_alias@%$target_alias%g
16810 s%@target_cpu@%$target_cpu%g
16811 s%@target_vendor@%$target_vendor%g
16812 s%@target_os@%$target_os%g
16814 s%@build_alias@%$build_alias%g
16815 s%@build_cpu@%$build_cpu%g
16816 s%@build_vendor@%$build_vendor%g
16817 s%@build_os@%$build_os%g
16818 s%@glibcpp_basedir@%$glibcpp_basedir%g
16819 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
16820 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
16821 s%@INSTALL_DATA@%$INSTALL_DATA%g
16822 s%@PACKAGE@%$PACKAGE%g
16823 s%@VERSION@%$VERSION%g
16824 s%@ACLOCAL@%$ACLOCAL%g
16825 s%@AUTOCONF@%$AUTOCONF%g
16826 s%@AUTOMAKE@%$AUTOMAKE%g
16827 s%@AUTOHEADER@%$AUTOHEADER%g
16828 s%@MAKEINFO@%$MAKEINFO%g
16829 s%@SET_MAKE@%$SET_MAKE%g
16831 s%@glibcpp_CXX@%$glibcpp_CXX%g
16834 s%@RANLIB@%$RANLIB%g
16835 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
16836 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
16838 s%@EXEEXT@%$EXEEXT%g
16840 s%@OBJEXT@%$OBJEXT%g
16842 s%@LIBTOOL@%$LIBTOOL%g
16843 s%@CXXCPP@%$CXXCPP%g
16844 s%@enable_shared@%$enable_shared%g
16845 s%@enable_static@%$enable_static%g
16846 s%@ifGNUmake@%$ifGNUmake%g
16847 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
16849 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
16850 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
16851 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
16852 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
16853 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
16854 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
16855 s%@libio_la@%$libio_la%g
16856 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
16857 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
16858 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
16859 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
16860 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
16861 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
16862 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
16863 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
16864 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
16865 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
16866 s%@WERROR@%$WERROR%g
16867 s%@NULL_TARGET_TRUE@%$NULL_TARGET_TRUE%g
16868 s%@NULL_TARGET_FALSE@%$NULL_TARGET_FALSE%g
16869 s%@NATIVE_TRUE@%$NATIVE_TRUE%g
16870 s%@NATIVE_FALSE@%$NATIVE_FALSE%g
16871 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
16872 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
16873 s%@glibcpp_builddir@%$glibcpp_builddir%g
16874 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
16875 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
16876 s%@gxx_include_dir@%$gxx_include_dir%g
16877 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
16878 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
16879 s%@GLIBCPP_INCLUDE_DIR@%$GLIBCPP_INCLUDE_DIR%g
16880 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
16881 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
16882 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
16883 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
16884 s%@CSTD_INCLUDES@%$CSTD_INCLUDES%g
16885 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
16886 s%@WARN_FLAGS@%$WARN_FLAGS%g
16887 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
16892 cat >> $CONFIG_STATUS <<\EOF
16894 # Split the substitutions into bite-sized pieces for seds with
16895 # small command number limits, like on Digital OSF/1 and HP-UX.
16896 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
16897 ac_file=1 # Number of current file.
16898 ac_beg=1 # First line for current file.
16899 ac_end=$ac_max_sed_cmds # Line after last line for current file.
16902 while $ac_more_lines; do
16903 if test $ac_beg -gt 1; then
16904 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
16906 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
16908 if test ! -s conftest.s$ac_file; then
16909 ac_more_lines=false
16910 rm -f conftest.s$ac_file
16912 if test -z "$ac_sed_cmds"; then
16913 ac_sed_cmds="sed -f conftest.s$ac_file"
16915 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
16917 ac_file=`expr $ac_file + 1`
16919 ac_end=`expr $ac_end + $ac_max_sed_cmds`
16922 if test -z "$ac_sed_cmds"; then
16927 cat >> $CONFIG_STATUS <<EOF
16929 CONFIG_FILES=\${CONFIG_FILES-"Makefile src/Makefile libmath/Makefile libio/Makefile libsupc++/Makefile testsuite/Makefile mkcheck testsuite_flags"}
16931 cat >> $CONFIG_STATUS <<\EOF
16932 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
16933 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16935 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
16936 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
16937 *) ac_file_in="${ac_file}.in" ;;
16940 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
16942 # Remove last slash and all that follows it. Not all systems have dirname.
16943 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
16944 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
16945 # The file is in a subdirectory.
16946 test ! -d "$ac_dir" && mkdir "$ac_dir"
16947 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
16948 # A "../" for each directory in $ac_dir_suffix.
16949 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
16951 ac_dir_suffix= ac_dots=
16954 case "$ac_given_srcdir" in
16956 if test -z "$ac_dots"; then top_srcdir=.
16957 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
16958 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
16959 *) # Relative path.
16960 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
16961 top_srcdir="$ac_dots$ac_given_srcdir" ;;
16964 case "$ac_given_INSTALL" in
16965 [/$]*) INSTALL="$ac_given_INSTALL" ;;
16966 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
16969 echo creating "$ac_file"
16971 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
16973 *Makefile*) ac_comsub="1i\\
16974 # $configure_input" ;;
16978 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
16980 s%@configure_input@%$configure_input%g
16981 s%@srcdir@%$srcdir%g
16982 s%@top_srcdir@%$top_srcdir%g
16983 s%@INSTALL@%$INSTALL%g
16984 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
16988 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
16989 # NAME is the cpp macro being defined and VALUE is the value it is being given.
16991 # ac_d sets the value in "#define NAME VALUE" lines.
16992 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
16993 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
16996 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
16997 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16998 ac_uB='\([ ]\)%\1#\2define\3'
17001 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
17002 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17003 ac_eB='$%\1#\2define\3'
17007 if test "${CONFIG_HEADERS+set}" != set; then
17009 cat >> $CONFIG_STATUS <<EOF
17010 CONFIG_HEADERS="config.h"
17012 cat >> $CONFIG_STATUS <<\EOF
17014 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
17015 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17017 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
17018 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
17019 *) ac_file_in="${ac_file}.in" ;;
17022 echo creating $ac_file
17024 rm -f conftest.frag conftest.in conftest.out
17025 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
17026 cat $ac_file_inputs > conftest.in
17030 # Transform confdefs.h into a sed script conftest.vals that substitutes
17031 # the proper values into config.h.in to produce config.h. And first:
17032 # Protect against being on the right side of a sed subst in config.status.
17033 # Protect against being in an unquoted here document in config.status.
17034 rm -f conftest.vals
17035 cat > conftest.hdr <<\EOF
17038 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
17042 sed -n -f conftest.hdr confdefs.h > conftest.vals
17045 # This sed command replaces #undef with comments. This is necessary, for
17046 # example, in the case of _POSIX_SOURCE, which is predefined and required
17047 # on some systems where configure will not decide to define it.
17048 cat >> conftest.vals <<\EOF
17049 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
17052 # Break up conftest.vals because some shells have a limit on
17053 # the size of here documents, and old seds have small limits too.
17055 rm -f conftest.tail
17058 ac_lines=`grep -c . conftest.vals`
17059 # grep -c gives empty output for an empty file on some AIX systems.
17060 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
17061 # Write a limited-size here document to conftest.frag.
17062 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
17063 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
17065 sed -f conftest.frag conftest.in > conftest.out
17067 mv conftest.out conftest.in
17068 ' >> $CONFIG_STATUS
17069 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
17070 rm -f conftest.vals
17071 mv conftest.tail conftest.vals
17073 rm -f conftest.vals
17075 cat >> $CONFIG_STATUS <<\EOF
17076 rm -f conftest.frag conftest.h
17077 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
17078 cat conftest.in >> conftest.h
17080 if cmp -s $ac_file conftest.h 2>/dev/null; then
17081 echo "$ac_file is unchanged"
17084 # Remove last slash and all that follows it. Not all systems have dirname.
17085 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
17086 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
17087 # The file is in a subdirectory.
17088 test ! -d "$ac_dir" && mkdir "$ac_dir"
17091 mv conftest.h $ac_file
17097 cat >> $CONFIG_STATUS <<EOF
17098 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"
17099 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 \
17100 include/bits/ctype_base.h \
17101 include/bits/ctype_inline.h \
17102 include/bits/ctype_noninline.h include/bits/atomicity.h"
17105 cat >> $CONFIG_STATUS <<\EOF
17106 srcdir=$ac_given_srcdir
17107 while test -n "$ac_sources"; do
17108 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
17109 set $ac_sources; ac_source=$1; shift; ac_sources=$*
17111 echo "linking $srcdir/$ac_source to $ac_dest"
17113 if test ! -r $srcdir/$ac_source; then
17114 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
17118 # Make relative symlinks.
17119 # Remove last slash and all that follows it. Not all systems have dirname.
17120 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
17121 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
17122 # The dest file is in a subdirectory.
17123 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
17124 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
17125 # A "../" for each directory in $ac_dest_dir_suffix.
17126 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
17128 ac_dest_dir_suffix= ac_dots=
17132 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
17133 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
17136 # Make a symlink if possible; otherwise try a hard link.
17137 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
17138 ln $srcdir/$ac_source $ac_dest; then :
17140 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
17144 cat >> $CONFIG_STATUS <<EOF
17149 with_multisubdir=${with_multisubdir}
17150 ac_configure_args="${multilib_arg} ${ac_configure_args}"
17151 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
17152 glibcpp_basedir=${glibcpp_basedir}
17157 cat >> $CONFIG_STATUS <<\EOF
17158 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
17159 if test -n "$CONFIG_FILES"; then
17160 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
17161 grep '^MULTISUBDIR =' Makefile >> src/Makefile
17162 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
17165 chmod +x testsuite_flags
17169 chmod +x $CONFIG_STATUS
17170 rm -fr confdefs* $ac_clean_files
17171 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
17175 # Generate bits/c++config.h
17176 # NB: This must be the first generated file as others include it. . .
17177 $srcdir/mkc++config $blddir $srcdir
17179 # Generate bits/std_limits.h and src/limitsMEMBERS.cc
17180 if test ! -f stamp-limits; then
17181 $srcdir/mknumeric_limits $blddir $srcdir $xcompiling
17182 if test ! -f include/bits/std_limits.h; then
17183 echo "mknumeric_limits failed to execute properly: exiting"
17191 # Sanity checking & User-visible messages.
17192 # Checks down here, otherwise they get scrolled off before
17193 # the user will notice.
17195 # Trying to get more people to read documentation. Possibly remove
17196 # check and warn all the time. There is no "informational" AC_MSG_
17197 # macro, so these are going to be printed even when --quiet/--silent
17199 if test ! -f stamp-sanity-warned; then
17200 touch stamp-sanity-warned
17202 echo "Please make certain that you read the installation information here:"
17203 echo " faster => ${srcdir}/docs/install.html"
17204 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
17206 echo "and the configuration information here:"
17207 echo " faster => ${srcdir}/docs/configopts.html"
17208 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
17210 echo "before proceeding with ${_cv_gnu_make_command}."