3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix
=/usr
/local
13 # Any additions from configure.in:
15 --with-target-subdir=SUBDIR
16 configuring in a subdirectory"
18 --with-cross-host=HOST configuring with a cross compiler"
20 --enable-multilib build hella library versions (default)"
22 --enable-maintainer-mode enable make rules and dependencies not useful
23 (and sometimes confusing) to the casual installer"
25 --enable-shared[=PKGS] build shared libraries [default=yes]"
27 --enable-static[=PKGS] build static libraries [default=yes]"
29 --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
31 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
33 --disable-libtool-lock avoid locking (might break parallel builds)"
35 --with-pic try to use only PIC/non-PIC objects [default=use both]"
37 --enable-debug extra debugging, turn off optimization [default=no]"
39 --enable-cstdio enable stdio for target io package.
40 --enable-cstdio=LIB use LIB target-speific io package. [default=stdio]
43 --enable-clocale enable model for target locale package.
44 --enable-clocale=MODEL use MODEL target-speific locale package. [default=generic]
47 --enable-c-mbchar enable multibyte (wide) characters [default=yes]"
49 --enable-c99 turns on 'ISO/IEC 9899:1999 support' [default=yes]"
51 --enable-long-long turns on 'long long' [default=yes]"
53 --enable-cheaders construct "C
" header files for
56 --enable-threads enable thread usage for target GCC.
57 --enable-threads=LIB use LIB thread package for target GCC. [default=no]
60 --enable-cxx-flags=FLAGS pass compiler FLAGS when building library;
63 --enable-sjlj-exceptions force use of builtin_setjmp for exceptions"
65 --with-gxx-include-dir the installation directory for include files"
67 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
69 # Initialize some variables set by options.
70 # The variables have the same names as the options, with
71 # dashes changed to underlines.
73 cache_file
=.
/config.cache
82 program_transform_name
=s
,x
,x
,
90 bindir
='${exec_prefix}/bin'
91 sbindir
='${exec_prefix}/sbin'
92 libexecdir
='${exec_prefix}/libexec'
93 datadir
='${prefix}/share'
94 sysconfdir
='${prefix}/etc'
95 sharedstatedir
='${prefix}/com'
96 localstatedir
='${prefix}/var'
97 libdir
='${exec_prefix}/lib'
98 includedir
='${prefix}/include'
99 oldincludedir
='/usr/include'
100 infodir
='${prefix}/info'
101 mandir
='${prefix}/man'
103 # Initialize some other variables.
106 SHELL
=${CONFIG_SHELL-/bin/sh}
107 # Maximum number of lines to put in a shell here document.
114 # If the previous option needs an argument, assign it.
115 if test -n "$ac_prev"; then
116 eval "$ac_prev=\$ac_option"
122 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
126 # Accept the important Cygnus configure options, so we can diagnose typos.
130 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
132 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
133 bindir
="$ac_optarg" ;;
135 -build |
--build |
--buil |
--bui |
--bu)
137 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
138 build
="$ac_optarg" ;;
140 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
141 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
142 ac_prev
=cache_file
;;
143 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
144 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
145 cache_file
="$ac_optarg" ;;
147 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
149 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
151 datadir
="$ac_optarg" ;;
153 -disable-* |
--disable-*)
154 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
155 # Reject names that are not valid shell variable names.
156 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
157 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
159 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
160 eval "enable_${ac_feature}=no" ;;
162 -enable-* |
--enable-*)
163 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
164 # Reject names that are not valid shell variable names.
165 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
166 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
168 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
173 eval "enable_${ac_feature}='$ac_optarg'" ;;
175 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
176 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
177 |
--exec |
--exe |
--ex)
178 ac_prev
=exec_prefix
;;
179 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
180 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
181 |
--exec=* |
--exe=* |
--ex=*)
182 exec_prefix
="$ac_optarg" ;;
184 -gas |
--gas |
--ga |
--g)
185 # Obsolete; use --with-gas.
188 -help |
--help |
--hel |
--he)
189 # Omit some internal or obsolete options to make the list less imposing.
190 # This message is too long to be a string in the A/UX 3.1 sh.
192 Usage: configure [options] [host]
193 Options: [defaults in brackets after descriptions]
195 --cache-file=FILE cache test results in FILE
196 --help print this message
197 --no-create do not create output files
198 --quiet, --silent do not print \`checking...' messages
199 --version print the version of autoconf that created configure
200 Directory and file names:
201 --prefix=PREFIX install architecture-independent files in PREFIX
203 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
205 --bindir=DIR user executables in DIR [EPREFIX/bin]
206 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
207 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
208 --datadir=DIR read-only architecture-independent data in DIR
210 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
211 --sharedstatedir=DIR modifiable architecture-independent data in DIR
213 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
214 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
215 --includedir=DIR C header files in DIR [PREFIX/include]
216 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
217 --infodir=DIR info documentation in DIR [PREFIX/info]
218 --mandir=DIR man documentation in DIR [PREFIX/man]
219 --srcdir=DIR find the sources in DIR [configure dir or ..]
220 --program-prefix=PREFIX prepend PREFIX to installed program names
221 --program-suffix=SUFFIX append SUFFIX to installed program names
222 --program-transform-name=PROGRAM
223 run sed PROGRAM on installed program names
227 --build=BUILD configure for building on BUILD [BUILD=HOST]
228 --host=HOST configure for HOST [guessed]
229 --target=TARGET configure for TARGET [TARGET=HOST]
230 Features and packages:
231 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
232 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
233 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
234 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
235 --x-includes=DIR X include files are in DIR
236 --x-libraries=DIR X library files are in DIR
238 if test -n "$ac_help"; then
239 echo "--enable and --with options recognized:$ac_help"
243 -host |
--host |
--hos |
--ho)
245 -host=* |
--host=* |
--hos=* |
--ho=*)
248 -includedir |
--includedir |
--includedi |
--included |
--include \
249 |
--includ |
--inclu |
--incl |
--inc)
250 ac_prev
=includedir
;;
251 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
252 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
253 includedir
="$ac_optarg" ;;
255 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
257 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
258 infodir
="$ac_optarg" ;;
260 -libdir |
--libdir |
--libdi |
--libd)
262 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
263 libdir
="$ac_optarg" ;;
265 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
266 |
--libexe |
--libex |
--libe)
267 ac_prev
=libexecdir
;;
268 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
269 |
--libexe=* |
--libex=* |
--libe=*)
270 libexecdir
="$ac_optarg" ;;
272 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
273 |
--localstate |
--localstat |
--localsta |
--localst \
274 |
--locals |
--local |
--loca |
--loc |
--lo)
275 ac_prev
=localstatedir
;;
276 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
277 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
278 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
279 localstatedir
="$ac_optarg" ;;
281 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
283 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
284 mandir
="$ac_optarg" ;;
287 # Obsolete; use --without-fp.
290 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
294 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
295 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
298 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
299 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
300 |
--oldin |
--oldi |
--old |
--ol |
--o)
301 ac_prev
=oldincludedir
;;
302 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
303 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
304 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
305 oldincludedir
="$ac_optarg" ;;
307 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
309 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
310 prefix
="$ac_optarg" ;;
312 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
313 |
--program-pre |
--program-pr |
--program-p)
314 ac_prev
=program_prefix
;;
315 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
316 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
317 program_prefix
="$ac_optarg" ;;
319 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
320 |
--program-suf |
--program-su |
--program-s)
321 ac_prev
=program_suffix
;;
322 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
323 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
324 program_suffix
="$ac_optarg" ;;
326 -program-transform-name |
--program-transform-name \
327 |
--program-transform-nam |
--program-transform-na \
328 |
--program-transform-n |
--program-transform- \
329 |
--program-transform |
--program-transfor \
330 |
--program-transfo |
--program-transf \
331 |
--program-trans |
--program-tran \
332 |
--progr-tra |
--program-tr |
--program-t)
333 ac_prev
=program_transform_name
;;
334 -program-transform-name=* |
--program-transform-name=* \
335 |
--program-transform-nam=* |
--program-transform-na=* \
336 |
--program-transform-n=* |
--program-transform-=* \
337 |
--program-transform=* |
--program-transfor=* \
338 |
--program-transfo=* |
--program-transf=* \
339 |
--program-trans=* |
--program-tran=* \
340 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
341 program_transform_name
="$ac_optarg" ;;
343 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
344 |
-silent |
--silent |
--silen |
--sile |
--sil)
347 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
349 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
351 sbindir
="$ac_optarg" ;;
353 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
354 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
355 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
357 ac_prev
=sharedstatedir
;;
358 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
359 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
360 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
362 sharedstatedir
="$ac_optarg" ;;
364 -site |
--site |
--sit)
366 -site=* |
--site=* |
--sit=*)
369 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
371 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
372 srcdir
="$ac_optarg" ;;
374 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
375 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
376 ac_prev
=sysconfdir
;;
377 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
378 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
379 sysconfdir
="$ac_optarg" ;;
381 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
383 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
384 target
="$ac_optarg" ;;
386 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
389 -version |
--version |
--versio |
--versi |
--vers)
390 echo "configure generated by autoconf version 2.13"
394 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
395 # Reject names that are not valid shell variable names.
396 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
397 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
399 ac_package
=`echo $ac_package| sed 's/-/_/g'`
404 eval "with_${ac_package}='$ac_optarg'" ;;
406 -without-* |
--without-*)
407 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
408 # Reject names that are not valid shell variable names.
409 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
410 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
412 ac_package
=`echo $ac_package| sed 's/-/_/g'`
413 eval "with_${ac_package}=no" ;;
416 # Obsolete; use --with-x.
419 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
420 |
--x-incl |
--x-inc |
--x-in |
--x-i)
421 ac_prev
=x_includes
;;
422 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
423 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
424 x_includes
="$ac_optarg" ;;
426 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
427 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
428 ac_prev
=x_libraries
;;
429 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
430 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
431 x_libraries
="$ac_optarg" ;;
433 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
437 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
438 echo "configure: warning: $ac_option: invalid host type" 1>&2
440 if test "x$nonopt" != xNONE
; then
441 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
449 if test -n "$ac_prev"; then
450 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
453 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
455 # File descriptor usage:
458 # 2 errors and warnings
459 # 3 some systems may open it to /dev/tty
460 # 4 used on the Kubota Titan
461 # 6 checking for... messages and results
462 # 5 compiler messages saved in config.log
463 if test "$silent" = yes; then
471 This file contains any messages produced by compilers while
472 running configure, to aid debugging if configure makes a mistake.
475 # Strip out --no-create and --no-recursion so they do not pile up.
476 # Also quote any args containing shell metacharacters.
481 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
482 |
--no-cr |
--no-c) ;;
483 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
484 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
485 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
486 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
487 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
492 # Only set these to C if already set. These must not be set unconditionally
493 # because not all systems understand e.g. LANG=C (notably SCO).
494 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
495 # Non-C LC_CTYPE values break the ctype check.
496 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
497 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
498 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
499 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
501 # confdefs.h avoids OS command line length limits that DEFS can exceed.
502 rm -rf conftest
* confdefs.h
503 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
506 # A filename unique to this package, relative to the directory that
507 # configure is in, which we can look for to find out if srcdir is correct.
508 ac_unique_file
=src
/ios.cc
510 # Find the source files, if location was not specified.
511 if test -z "$srcdir"; then
512 ac_srcdir_defaulted
=yes
513 # Try the directory containing this script, then its parent.
515 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
516 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
518 if test ! -r $srcdir/$ac_unique_file; then
522 ac_srcdir_defaulted
=no
524 if test ! -r $srcdir/$ac_unique_file; then
525 if test "$ac_srcdir_defaulted" = yes; then
526 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
528 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
531 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
533 # Prefer explicitly selected file to automatically selected ones.
534 if test -z "$CONFIG_SITE"; then
535 if test "x$prefix" != xNONE
; then
536 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
538 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
541 for ac_site_file
in $CONFIG_SITE; do
542 if test -r "$ac_site_file"; then
543 echo "loading site script $ac_site_file"
548 if test -r "$cache_file"; then
549 echo "loading cache $cache_file"
552 echo "creating cache $cache_file"
557 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
558 ac_cpp
='$CPP $CPPFLAGS'
559 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
560 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
561 cross_compiling
=$ac_cv_prog_cc_cross
565 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
566 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
567 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
574 ac_n
= ac_c
='\c' ac_t
=
579 # When building with srcdir == objdir, links to the source files will
580 # be created in directories within the target_subdir. We have to
581 # adjust toplevel_srcdir accordingly, so that configure finds
582 # install-sh and other auxiliary files that live in the top-level
584 if test "${srcdir}" = "."; then
585 if test -z "${with_target_subdir}"; then
586 toplevel_srcdir
="\${top_srcdir}/.."
587 auxdir
="${srcdir}/.."
589 if test "${with_target_subdir}" != "."; then
590 toplevel_srcdir
="\${top_srcdir}/${with_multisrctop}../.."
591 auxdir
="${srcdir}/${with_multisrctop}../.."
593 toplevel_srcdir
="\${top_srcdir}/${with_multisrctop}.."
594 auxdir
="${srcdir}/${with_multisrctop}.."
598 toplevel_srcdir
="\${top_srcdir}/.."
599 auxdir
="${srcdir}/.."
602 for ac_dir
in $auxdir $srcdir/$auxdir; do
603 if test -f $ac_dir/install-sh
; then
605 ac_install_sh
="$ac_aux_dir/install-sh -c"
607 elif test -f $ac_dir/install.sh
; then
609 ac_install_sh
="$ac_aux_dir/install.sh -c"
613 if test -z "$ac_aux_dir"; then
614 { echo "configure: error: can not find install-sh or install.sh in $auxdir $srcdir/$auxdir" 1>&2; exit 1; }
616 ac_config_guess
=$ac_aux_dir/config.guess
617 ac_config_sub
=$ac_aux_dir/config.sub
618 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
624 # Gets and sets build, host, target, *_vendor, *_cpu, *_os, etc.
626 # Do some error checking and defaulting for the host and target type.
628 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
631 # 1. You are not allowed to specify --host, --target, and nonopt at the
633 # 2. Host defaults to nonopt.
634 # 3. If nonopt is not specified, then host defaults to the current host,
635 # as determined by config.guess.
636 # 4. Target and build default to nonopt.
637 # 5. If nonopt is not specified, then target and build default to host.
639 # The aliases save the names the user supplied, while $host etc.
640 # will get canonicalized.
641 case $host---$target---$nonopt in
642 NONE---
*---* |
*---NONE---* |
*---*---NONE) ;;
643 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
647 # Make sure we can run config.sub.
648 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
649 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
652 echo $ac_n "checking host system type""... $ac_c" 1>&6
653 echo "configure:654: checking host system type" >&5
656 case "$host_alias" in
660 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
661 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
663 *) host_alias
=$nonopt ;;
667 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
668 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
669 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
670 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
671 echo "$ac_t""$host" 1>&6
673 echo $ac_n "checking target system type""... $ac_c" 1>&6
674 echo "configure:675: checking target system type" >&5
677 case "$target_alias" in
680 NONE
) target_alias
=$host_alias ;;
681 *) target_alias
=$nonopt ;;
685 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
686 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
687 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
688 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
689 echo "$ac_t""$target" 1>&6
691 echo $ac_n "checking build system type""... $ac_c" 1>&6
692 echo "configure:693: checking build system type" >&5
695 case "$build_alias" in
698 NONE
) build_alias
=$host_alias ;;
699 *) build_alias
=$nonopt ;;
703 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
704 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
705 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
706 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
707 echo "$ac_t""$build" 1>&6
709 test "$host_alias" != "$target_alias" &&
710 test "$program_prefix$program_suffix$program_transform_name" = \
712 program_prefix
=${target_alias}-
715 # We use these options to decide which functions to include.
716 # Check whether --with-target-subdir or --without-target-subdir was given.
717 if test "${with_target_subdir+set}" = set; then
718 withval
="$with_target_subdir"
722 # Check whether --with-cross-host or --without-cross-host was given.
723 if test "${with_cross_host+set}" = set; then
724 withval
="$with_cross_host"
729 # Runs configure.host and configure.target. Have to run this before
730 # the GLIBCPP_ENABLE_* macros below.
731 # Find a good install program. We prefer a C program (faster),
732 # so one script is as good as another. But avoid the broken or
733 # incompatible versions:
734 # SysV /etc/install, /usr/sbin/install
735 # SunOS /usr/etc/install
738 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
739 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
740 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
741 # ./install, which can be erroneously created by make from ./install.sh.
742 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
743 echo "configure:744: checking for a BSD compatible install" >&5
744 if test -z "$INSTALL"; then
745 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
746 echo $ac_n "(cached) $ac_c" 1>&6
748 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
749 for ac_dir
in $PATH; do
750 # Account for people who put trailing slashes in PATH elements.
752 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
754 # OSF1 and SCO ODT 3.0 have their own names for install.
755 # Don't use installbsd from OSF since it installs stuff as root
757 for ac_prog
in ginstall scoinst
install; do
758 if test -f $ac_dir/$ac_prog; then
759 if test $ac_prog = install &&
760 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
761 # AIX install. It has an incompatible calling convention.
764 ac_cv_path_install
="$ac_dir/$ac_prog -c"
775 if test "${ac_cv_path_install+set}" = set; then
776 INSTALL
="$ac_cv_path_install"
778 # As a last resort, use the slow shell script. We don't cache a
779 # path for INSTALL within a source directory, because that will
780 # break other packages using the cache if that directory is
781 # removed, or if the path is relative.
782 INSTALL
="$ac_install_sh"
785 echo "$ac_t""$INSTALL" 1>&6
787 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
788 # It thinks the first close brace ends the variable substitution.
789 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
791 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
793 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
795 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
796 echo "configure:797: checking whether build environment is sane" >&5
799 echo timestamp
> conftestfile
800 # Do `set' in a subshell so we don't clobber the current shell's
801 # arguments. Must try -L first in case configure is actually a
802 # symlink; some systems play weird games with the mod time of symlinks
803 # (eg FreeBSD returns the mod time of the symlink's containing
806 set X
`ls -Lt $srcdir/configure conftestfile 2> /dev/null`
807 if test "$*" = "X"; then
809 set X
`ls -t $srcdir/configure conftestfile`
811 if test "$*" != "X $srcdir/configure conftestfile" \
812 && test "$*" != "X conftestfile $srcdir/configure"; then
814 # If neither matched, then we have a broken ls. This can happen
815 # if, for instance, CONFIG_SHELL is bash and it inherits a
816 # broken ls alias from the environment. This has actually
817 # happened. Such a system could not be considered "sane".
818 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
819 alias in your environment" 1>&2; exit 1; }
822 test "$2" = conftestfile
828 { echo "configure: error: newly created file is older than distributed files!
829 Check your system clock" 1>&2; exit 1; }
832 echo "$ac_t""yes" 1>&6
833 if test "$program_transform_name" = s
,x
,x
,; then
834 program_transform_name
=
836 # Double any \ or $. echo might interpret backslashes.
837 cat <<\EOF_SED
> conftestsed
838 s
,\\,\\\\,g
; s
,\$
,$$
,g
840 program_transform_name
="`echo $program_transform_name|sed -f conftestsed`"
843 test "$program_prefix" != NONE
&&
844 program_transform_name
="s,^,${program_prefix},; $program_transform_name"
845 # Use a double $ so make ignores it.
846 test "$program_suffix" != NONE
&&
847 program_transform_name
="s,\$\$,${program_suffix},; $program_transform_name"
849 # sed with no file args requires a program.
850 test "$program_transform_name" = "" && program_transform_name
="s,x,x,"
852 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
853 echo "configure:854: checking whether ${MAKE-make} sets \${MAKE}" >&5
854 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
855 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
856 echo $ac_n "(cached) $ac_c" 1>&6
858 cat > conftestmake
<<\EOF
860 @
echo 'ac_maketemp="${MAKE}"'
862 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
863 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
864 if test -n "$ac_maketemp"; then
865 eval ac_cv_prog_make_
${ac_make}_set
=yes
867 eval ac_cv_prog_make_
${ac_make}_set
=no
871 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
872 echo "$ac_t""yes" 1>&6
875 echo "$ac_t""no" 1>&6
876 SET_MAKE
="MAKE=${MAKE-make}"
879 if test $host != $build; then
880 ac_tool_prefix
=${host_alias}-
885 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
886 echo "configure:887: checking for Cygwin environment" >&5
887 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
888 echo $ac_n "(cached) $ac_c" 1>&6
890 cat > conftest.
$ac_ext <<EOF
891 #line 892 "configure"
892 #include "confdefs.h"
897 #define __CYGWIN__ __CYGWIN32__
902 if { (eval echo configure
:903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
906 echo "configure: failed program was:" >&5
907 cat conftest.
$ac_ext >&5
915 echo "$ac_t""$ac_cv_cygwin" 1>&6
917 test "$ac_cv_cygwin" = yes && CYGWIN
=yes
918 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
919 echo "configure:920: checking for mingw32 environment" >&5
920 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
921 echo $ac_n "(cached) $ac_c" 1>&6
923 cat > conftest.
$ac_ext <<EOF
924 #line 925 "configure"
925 #include "confdefs.h"
931 if { (eval echo configure
:932: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
935 echo "configure: failed program was:" >&5
936 cat conftest.
$ac_ext >&5
944 echo "$ac_t""$ac_cv_mingw32" 1>&6
946 test "$ac_cv_mingw32" = yes && MINGW32
=yes
948 # Check whether --enable-multilib or --disable-multilib was given.
949 if test "${enable_multilib+set}" = set; then
950 enableval
="$enable_multilib"
951 case "${enableval}" in
954 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
960 glibcpp_basedir
=$auxdir/.
/libstdc
++-v3
968 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status
; then
969 { echo "configure: error: source directory already configured; run "make distclean
" there first" 1>&2; exit 1; }
971 cat >> confdefs.h
<<EOF
972 #define PACKAGE "$PACKAGE"
975 cat >> confdefs.h
<<EOF
976 #define VERSION "$VERSION"
981 missing_dir
=`cd $ac_aux_dir && pwd`
982 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
983 echo "configure:984: checking for working aclocal" >&5
984 # Run test in a subshell; some versions of sh will print an error if
985 # an executable is not found, even if stderr is redirected.
986 # Redirect stdin to placate older versions of autoconf. Sigh.
987 if (aclocal
--version) < /dev
/null
> /dev
/null
2>&1; then
989 echo "$ac_t""found" 1>&6
991 ACLOCAL
="$missing_dir/missing aclocal"
992 echo "$ac_t""missing" 1>&6
995 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
996 echo "configure:997: checking for working autoconf" >&5
997 # Run test in a subshell; some versions of sh will print an error if
998 # an executable is not found, even if stderr is redirected.
999 # Redirect stdin to placate older versions of autoconf. Sigh.
1000 if (autoconf
--version) < /dev
/null
> /dev
/null
2>&1; then
1002 echo "$ac_t""found" 1>&6
1004 AUTOCONF
="$missing_dir/missing autoconf"
1005 echo "$ac_t""missing" 1>&6
1008 echo $ac_n "checking for working automake""... $ac_c" 1>&6
1009 echo "configure:1010: checking for working automake" >&5
1010 # Run test in a subshell; some versions of sh will print an error if
1011 # an executable is not found, even if stderr is redirected.
1012 # Redirect stdin to placate older versions of autoconf. Sigh.
1013 if (automake
--version) < /dev
/null
> /dev
/null
2>&1; then
1015 echo "$ac_t""found" 1>&6
1017 AUTOMAKE
="$missing_dir/missing automake"
1018 echo "$ac_t""missing" 1>&6
1021 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
1022 echo "configure:1023: checking for working autoheader" >&5
1023 # Run test in a subshell; some versions of sh will print an error if
1024 # an executable is not found, even if stderr is redirected.
1025 # Redirect stdin to placate older versions of autoconf. Sigh.
1026 if (autoheader
--version) < /dev
/null
> /dev
/null
2>&1; then
1027 AUTOHEADER
=autoheader
1028 echo "$ac_t""found" 1>&6
1030 AUTOHEADER
="$missing_dir/missing autoheader"
1031 echo "$ac_t""missing" 1>&6
1034 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1035 echo "configure:1036: checking for working makeinfo" >&5
1036 # Run test in a subshell; some versions of sh will print an error if
1037 # an executable is not found, even if stderr is redirected.
1038 # Redirect stdin to placate older versions of autoconf. Sigh.
1039 if (makeinfo
--version) < /dev
/null
> /dev
/null
2>&1; then
1041 echo "$ac_t""found" 1>&6
1043 MAKEINFO
="$missing_dir/missing makeinfo"
1044 echo "$ac_t""missing" 1>&6
1049 # Never versions of autoconf add an underscore to these functions.
1050 # Prevent future problems ...
1058 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1059 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1060 # are probably using a cross compiler, which will not be able to fully
1061 # link an executable. This should really be fixed in autoconf
1067 # Extract the first word of "gcc", so it can be a program name with args.
1068 set dummy gcc
; ac_word
=$2
1069 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1070 echo "configure:1071: checking for $ac_word" >&5
1071 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1072 echo $ac_n "(cached) $ac_c" 1>&6
1074 if test -n "$CC"; then
1075 ac_cv_prog_CC
="$CC" # Let the user override the test.
1077 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1079 for ac_dir
in $ac_dummy; do
1080 test -z "$ac_dir" && ac_dir
=.
1081 if test -f $ac_dir/$ac_word; then
1090 if test -n "$CC"; then
1091 echo "$ac_t""$CC" 1>&6
1093 echo "$ac_t""no" 1>&6
1096 if test -z "$CC"; then
1097 # Extract the first word of "cc", so it can be a program name with args.
1098 set dummy cc
; ac_word
=$2
1099 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1100 echo "configure:1101: checking for $ac_word" >&5
1101 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1102 echo $ac_n "(cached) $ac_c" 1>&6
1104 if test -n "$CC"; then
1105 ac_cv_prog_CC
="$CC" # Let the user override the test.
1107 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1110 for ac_dir
in $ac_dummy; do
1111 test -z "$ac_dir" && ac_dir
=.
1112 if test -f $ac_dir/$ac_word; then
1113 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1114 ac_prog_rejected
=yes
1122 if test $ac_prog_rejected = yes; then
1123 # We found a bogon in the path, so make sure we never use it.
1124 set dummy
$ac_cv_prog_CC
1126 if test $# -gt 0; then
1127 # We chose a different compiler from the bogus one.
1128 # However, it has the same basename, so the bogon will be chosen
1129 # first if we set CC to just the basename; use the full file name.
1131 set dummy
"$ac_dir/$ac_word" "$@"
1139 if test -n "$CC"; then
1140 echo "$ac_t""$CC" 1>&6
1142 echo "$ac_t""no" 1>&6
1145 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1148 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1149 echo "configure:1150: checking whether we are using GNU C" >&5
1150 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1151 echo $ac_n "(cached) $ac_c" 1>&6
1153 cat > conftest.c
<<EOF
1158 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:1159: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1165 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1167 if test $ac_cv_prog_gcc = yes; then
1169 ac_test_CFLAGS
="${CFLAGS+set}"
1170 ac_save_CFLAGS
="$CFLAGS"
1172 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1173 echo "configure:1174: checking whether ${CC-cc} accepts -g" >&5
1174 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1175 echo $ac_n "(cached) $ac_c" 1>&6
1177 echo 'void f(){}' > conftest.c
1178 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1187 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1188 if test "$ac_test_CFLAGS" = set; then
1189 CFLAGS
="$ac_save_CFLAGS"
1190 elif test $ac_cv_prog_cc_g = yes; then
1197 test "${CFLAGS+set}" = set || CFLAGS
="-g"
1201 # Can't just call these here as g++ requires libstc++ to be built....
1204 # Likewise for AC_PROG_CXX.
1208 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1209 # flags that come in CXX while configuring libstdc++. They're different
1210 # from those used for all other target libraries. If CXX is set in
1211 # the environment, respect that here.
1213 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++
1215 # Extract the first word of "$ac_prog", so it can be a program name with args.
1216 set dummy
$ac_prog; ac_word
=$2
1217 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1218 echo "configure:1219: checking for $ac_word" >&5
1219 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1220 echo $ac_n "(cached) $ac_c" 1>&6
1222 if test -n "$glibcpp_CXX"; then
1223 ac_cv_prog_glibcpp_CXX
="$glibcpp_CXX" # Let the user override the test.
1225 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1227 for ac_dir
in $ac_dummy; do
1228 test -z "$ac_dir" && ac_dir
=.
1229 if test -f $ac_dir/$ac_word; then
1230 ac_cv_prog_glibcpp_CXX
="$ac_prog"
1237 glibcpp_CXX
="$ac_cv_prog_glibcpp_CXX"
1238 if test -n "$glibcpp_CXX"; then
1239 echo "$ac_t""$glibcpp_CXX" 1>&6
1241 echo "$ac_t""no" 1>&6
1244 test -n "$glibcpp_CXX" && break
1246 test -n "$glibcpp_CXX" || glibcpp_CXX
="gcc"
1249 test -z "$glibcpp_CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1251 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1252 echo "configure:1253: checking whether we are using GNU C++" >&5
1253 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1254 echo $ac_n "(cached) $ac_c" 1>&6
1256 cat > conftest.C
<<EOF
1261 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:1262: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1268 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1270 if test $ac_cv_prog_gxx = yes; then
1272 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
1273 ac_save_CXXFLAGS
="$CXXFLAGS"
1275 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1276 echo "configure:1277: checking whether ${CXX-g++} accepts -g" >&5
1277 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1278 echo $ac_n "(cached) $ac_c" 1>&6
1280 echo 'void f(){}' > conftest.cc
1281 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1282 ac_cv_prog_cxx_g
=yes
1290 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1291 if test "$ac_test_CXXFLAGS" = set; then
1292 CXXFLAGS
="$ac_save_CXXFLAGS"
1293 elif test $ac_cv_prog_cxx_g = yes; then
1300 test "${CXXFLAGS+set}" = set || CXXFLAGS
="-g"
1304 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1305 set dummy
${ac_tool_prefix}as
; ac_word
=$2
1306 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1307 echo "configure:1308: checking for $ac_word" >&5
1308 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1309 echo $ac_n "(cached) $ac_c" 1>&6
1311 if test -n "$AS"; then
1312 ac_cv_prog_AS
="$AS" # Let the user override the test.
1314 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1316 for ac_dir
in $ac_dummy; do
1317 test -z "$ac_dir" && ac_dir
=.
1318 if test -f $ac_dir/$ac_word; then
1319 ac_cv_prog_AS
="${ac_tool_prefix}as"
1324 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS
="as"
1328 if test -n "$AS"; then
1329 echo "$ac_t""$AS" 1>&6
1331 echo "$ac_t""no" 1>&6
1336 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1337 set dummy
${ac_tool_prefix}ar; ac_word
=$2
1338 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1339 echo "configure:1340: checking for $ac_word" >&5
1340 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1341 echo $ac_n "(cached) $ac_c" 1>&6
1343 if test -n "$AR"; then
1344 ac_cv_prog_AR
="$AR" # Let the user override the test.
1346 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1348 for ac_dir
in $ac_dummy; do
1349 test -z "$ac_dir" && ac_dir
=.
1350 if test -f $ac_dir/$ac_word; then
1351 ac_cv_prog_AR
="${ac_tool_prefix}ar"
1356 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
1360 if test -n "$AR"; then
1361 echo "$ac_t""$AR" 1>&6
1363 echo "$ac_t""no" 1>&6
1368 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1369 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
1370 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1371 echo "configure:1372: checking for $ac_word" >&5
1372 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1373 echo $ac_n "(cached) $ac_c" 1>&6
1375 if test -n "$RANLIB"; then
1376 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1378 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1380 for ac_dir
in $ac_dummy; do
1381 test -z "$ac_dir" && ac_dir
=.
1382 if test -f $ac_dir/$ac_word; then
1383 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
1390 RANLIB
="$ac_cv_prog_RANLIB"
1391 if test -n "$RANLIB"; then
1392 echo "$ac_t""$RANLIB" 1>&6
1394 echo "$ac_t""no" 1>&6
1398 if test -z "$ac_cv_prog_RANLIB"; then
1399 if test -n "$ac_tool_prefix"; then
1400 # Extract the first word of "ranlib", so it can be a program name with args.
1401 set dummy ranlib
; ac_word
=$2
1402 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1403 echo "configure:1404: checking for $ac_word" >&5
1404 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1405 echo $ac_n "(cached) $ac_c" 1>&6
1407 if test -n "$RANLIB"; then
1408 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1410 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1412 for ac_dir
in $ac_dummy; do
1413 test -z "$ac_dir" && ac_dir
=.
1414 if test -f $ac_dir/$ac_word; then
1415 ac_cv_prog_RANLIB
="ranlib"
1420 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
="ranlib-not-found-in-path-error"
1423 RANLIB
="$ac_cv_prog_RANLIB"
1424 if test -n "$RANLIB"; then
1425 echo "$ac_t""$RANLIB" 1>&6
1427 echo "$ac_t""no" 1>&6
1431 RANLIB
="ranlib-not-found-in-path-error"
1435 # Extract the first word of "${ac_tool_prefix}expect", so it can be a program name with args.
1436 set dummy
${ac_tool_prefix}expect
; ac_word
=$2
1437 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1438 echo "configure:1439: checking for $ac_word" >&5
1439 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_expect'+set}'`\" = set"; then
1440 echo $ac_n "(cached) $ac_c" 1>&6
1442 if test -n "$glibcpp_expect"; then
1443 ac_cv_prog_glibcpp_expect
="$glibcpp_expect" # Let the user override the test.
1445 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1447 for ac_dir
in $ac_dummy; do
1448 test -z "$ac_dir" && ac_dir
=.
1449 if test -f $ac_dir/$ac_word; then
1450 ac_cv_prog_glibcpp_expect
="${ac_tool_prefix}expect"
1457 glibcpp_expect
="$ac_cv_prog_glibcpp_expect"
1458 if test -n "$glibcpp_expect"; then
1459 echo "$ac_t""$glibcpp_expect" 1>&6
1461 echo "$ac_t""no" 1>&6
1465 if test -z "$ac_cv_prog_glibcpp_expect"; then
1466 if test -n "$ac_tool_prefix"; then
1467 # Extract the first word of "expect", so it can be a program name with args.
1468 set dummy expect
; ac_word
=$2
1469 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1470 echo "configure:1471: checking for $ac_word" >&5
1471 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_expect'+set}'`\" = set"; then
1472 echo $ac_n "(cached) $ac_c" 1>&6
1474 if test -n "$glibcpp_expect"; then
1475 ac_cv_prog_glibcpp_expect
="$glibcpp_expect" # Let the user override the test.
1477 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1479 for ac_dir
in $ac_dummy; do
1480 test -z "$ac_dir" && ac_dir
=.
1481 if test -f $ac_dir/$ac_word; then
1482 ac_cv_prog_glibcpp_expect
="expect"
1487 test -z "$ac_cv_prog_glibcpp_expect" && ac_cv_prog_glibcpp_expect
="expect-not-found-in-path-error"
1490 glibcpp_expect
="$ac_cv_prog_glibcpp_expect"
1491 if test -n "$glibcpp_expect"; then
1492 echo "$ac_t""$glibcpp_expect" 1>&6
1494 echo "$ac_t""no" 1>&6
1498 glibcpp_expect
="expect-not-found-in-path-error"
1502 # Extract the first word of "${ac_tool_prefix}runtest", so it can be a program name with args.
1503 set dummy
${ac_tool_prefix}runtest
; ac_word
=$2
1504 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1505 echo "configure:1506: checking for $ac_word" >&5
1506 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_runtest'+set}'`\" = set"; then
1507 echo $ac_n "(cached) $ac_c" 1>&6
1509 if test -n "$glibcpp_runtest"; then
1510 ac_cv_prog_glibcpp_runtest
="$glibcpp_runtest" # Let the user override the test.
1512 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1514 for ac_dir
in $ac_dummy; do
1515 test -z "$ac_dir" && ac_dir
=.
1516 if test -f $ac_dir/$ac_word; then
1517 ac_cv_prog_glibcpp_runtest
="${ac_tool_prefix}runtest"
1524 glibcpp_runtest
="$ac_cv_prog_glibcpp_runtest"
1525 if test -n "$glibcpp_runtest"; then
1526 echo "$ac_t""$glibcpp_runtest" 1>&6
1528 echo "$ac_t""no" 1>&6
1532 if test -z "$ac_cv_prog_glibcpp_runtest"; then
1533 if test -n "$ac_tool_prefix"; then
1534 # Extract the first word of "runtest", so it can be a program name with args.
1535 set dummy runtest
; ac_word
=$2
1536 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1537 echo "configure:1538: checking for $ac_word" >&5
1538 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_runtest'+set}'`\" = set"; then
1539 echo $ac_n "(cached) $ac_c" 1>&6
1541 if test -n "$glibcpp_runtest"; then
1542 ac_cv_prog_glibcpp_runtest
="$glibcpp_runtest" # Let the user override the test.
1544 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1546 for ac_dir
in $ac_dummy; do
1547 test -z "$ac_dir" && ac_dir
=.
1548 if test -f $ac_dir/$ac_word; then
1549 ac_cv_prog_glibcpp_runtest
="runtest"
1554 test -z "$ac_cv_prog_glibcpp_runtest" && ac_cv_prog_glibcpp_runtest
="runtest-not-found-in-path-error"
1557 glibcpp_runtest
="$ac_cv_prog_glibcpp_runtest"
1558 if test -n "$glibcpp_runtest"; then
1559 echo "$ac_t""$glibcpp_runtest" 1>&6
1561 echo "$ac_t""no" 1>&6
1565 glibcpp_runtest
="runtest-not-found-in-path-error"
1571 # Find a good install program. We prefer a C program (faster),
1572 # so one script is as good as another. But avoid the broken or
1573 # incompatible versions:
1574 # SysV /etc/install, /usr/sbin/install
1575 # SunOS /usr/etc/install
1576 # IRIX /sbin/install
1578 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1579 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1580 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1581 # ./install, which can be erroneously created by make from ./install.sh.
1582 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1583 echo "configure:1584: checking for a BSD compatible install" >&5
1584 if test -z "$INSTALL"; then
1585 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1586 echo $ac_n "(cached) $ac_c" 1>&6
1588 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
1589 for ac_dir
in $PATH; do
1590 # Account for people who put trailing slashes in PATH elements.
1592 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
1594 # OSF1 and SCO ODT 3.0 have their own names for install.
1595 # Don't use installbsd from OSF since it installs stuff as root
1597 for ac_prog
in ginstall scoinst
install; do
1598 if test -f $ac_dir/$ac_prog; then
1599 if test $ac_prog = install &&
1600 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1601 # AIX install. It has an incompatible calling convention.
1604 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1615 if test "${ac_cv_path_install+set}" = set; then
1616 INSTALL
="$ac_cv_path_install"
1618 # As a last resort, use the slow shell script. We don't cache a
1619 # path for INSTALL within a source directory, because that will
1620 # break other packages using the cache if that directory is
1621 # removed, or if the path is relative.
1622 INSTALL
="$ac_install_sh"
1625 echo "$ac_t""$INSTALL" 1>&6
1627 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1628 # It thinks the first close brace ends the variable substitution.
1629 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1631 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
1633 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1636 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1637 echo "configure:1638: checking whether to enable maintainer-specific portions of Makefiles" >&5
1638 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1639 if test "${enable_maintainer_mode+set}" = set; then
1640 enableval
="$enable_maintainer_mode"
1641 USE_MAINTAINER_MODE
=$enableval
1643 USE_MAINTAINER_MODE
=no
1646 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1649 if test $USE_MAINTAINER_MODE = yes; then
1650 MAINTAINER_MODE_TRUE
=
1651 MAINTAINER_MODE_FALSE
='#'
1653 MAINTAINER_MODE_TRUE
='#'
1654 MAINTAINER_MODE_FALSE
=
1656 MAINT
=$MAINTAINER_MODE_TRUE
1660 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1661 # at least currently, we never actually build a program, so we never
1662 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1663 # fails, because we are probably configuring with a cross compiler
1664 # which cant create executables. So we include AC_EXEEXT to keep
1665 # automake happy, but we dont execute it, since we dont care about
1670 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1671 echo "configure:1672: checking for executable suffix" >&5
1672 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1673 echo $ac_n "(cached) $ac_c" 1>&6
1675 if test "$CYGWIN" = yes ||
test "$MINGW32" = yes; then
1679 echo 'int main () { return 0; }' > conftest.
$ac_ext
1681 if { (eval echo configure
:1682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1682 for file in conftest.
*; do
1684 *.c |
*.o |
*.obj
) ;;
1685 *) ac_cv_exeext
=`echo $file | sed -e s/conftest//` ;;
1689 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1692 test x
"${ac_cv_exeext}" = x
&& ac_cv_exeext
=no
1697 test x
"${ac_cv_exeext}" != xno
&& EXEEXT
=${ac_cv_exeext}
1698 echo "$ac_t""${ac_cv_exeext}" 1>&6
1703 .
${glibcpp_basedir}/configure.
host
1705 case ${glibcpp_basedir} in
1706 /* | A-Za-z
:\\/*) libgcj_flagbasedir
=${glibcpp_basedir} ;;
1707 *) glibcpp_flagbasedir
='$(top_builddir)/'${glibcpp_basedir} ;;
1710 # This does for the target what configure.host does for the host. In
1711 # addition to possibly modifying the same flags, it also sets up symlinks.
1713 .
${glibcpp_basedir}/configure.target
1714 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1715 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1721 # Check whether --enable-shared or --disable-shared was given.
1722 if test "${enable_shared+set}" = set; then
1723 enableval
="$enable_shared"
1724 p
=${PACKAGE-default}
1726 yes) enable_shared
=yes ;;
1727 no
) enable_shared
=no
;;
1730 # Look at the argument we got. We use all the common list separators.
1731 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1732 for pkg
in $enableval; do
1733 if test "X$pkg" = "X$p"; then
1744 # Check whether --enable-static or --disable-static was given.
1745 if test "${enable_static+set}" = set; then
1746 enableval
="$enable_static"
1747 p
=${PACKAGE-default}
1749 yes) enable_static
=yes ;;
1750 no
) enable_static
=no
;;
1753 # Look at the argument we got. We use all the common list separators.
1754 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1755 for pkg
in $enableval; do
1756 if test "X$pkg" = "X$p"; then
1767 # Check whether --enable-fast-install or --disable-fast-install was given.
1768 if test "${enable_fast_install+set}" = set; then
1769 enableval
="$enable_fast_install"
1770 p
=${PACKAGE-default}
1772 yes) enable_fast_install
=yes ;;
1773 no
) enable_fast_install
=no
;;
1775 enable_fast_install
=no
1776 # Look at the argument we got. We use all the common list separators.
1777 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1778 for pkg
in $enableval; do
1779 if test "X$pkg" = "X$p"; then
1780 enable_fast_install
=yes
1787 enable_fast_install
=yes
1790 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1791 if test "${with_gnu_ld+set}" = set; then
1792 withval
="$with_gnu_ld"
1793 test "$withval" = no || with_gnu_ld
=yes
1799 if test "$GCC" = yes; then
1800 # Check if gcc -print-prog-name=ld gives a path.
1801 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1802 echo "configure:1803: checking for ld used by GCC" >&5
1805 # gcc leaves a trailing carriage return which upsets mingw
1806 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1808 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
1811 # Accept absolute paths.
1812 [\\/]* |
[A-Za-z
]:[\\/]*)
1813 re_direlt
='/[^/][^/]*/\.\./'
1814 # Canonicalize the path of ld
1815 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
1816 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
1817 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
1819 test -z "$LD" && LD
="$ac_prog"
1822 # If it fails, then pretend we aren't using GCC.
1826 # If it is relative, then search for the first ld in PATH.
1830 elif test "$with_gnu_ld" = yes; then
1831 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1832 echo "configure:1833: checking for GNU ld" >&5
1834 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1835 echo "configure:1836: checking for non-GNU ld" >&5
1837 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1838 echo $ac_n "(cached) $ac_c" 1>&6
1840 if test -z "$LD"; then
1841 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1842 for ac_dir
in $PATH; do
1843 test -z "$ac_dir" && ac_dir
=.
1844 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
1845 lt_cv_path_LD
="$ac_dir/$ac_prog"
1846 # Check to see if the program is GNU ld. I'd rather use --version,
1847 # but apparently some GNU ld's only accept -v.
1848 # Break only if it was the GNU/non-GNU ld that we prefer.
1849 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
1850 test "$with_gnu_ld" != no
&& break
1852 test "$with_gnu_ld" != yes && break
1858 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
1863 if test -n "$LD"; then
1864 echo "$ac_t""$LD" 1>&6
1866 echo "$ac_t""no" 1>&6
1868 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1869 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1870 echo "configure:1871: checking if the linker ($LD) is GNU ld" >&5
1871 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1872 echo $ac_n "(cached) $ac_c" 1>&6
1874 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1875 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
1876 lt_cv_prog_gnu_ld
=yes
1878 lt_cv_prog_gnu_ld
=no
1882 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1883 with_gnu_ld
=$lt_cv_prog_gnu_ld
1886 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1887 echo "configure:1888: checking for $LD option to reload object files" >&5
1888 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1889 echo $ac_n "(cached) $ac_c" 1>&6
1891 lt_cv_ld_reload_flag
='-r'
1894 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1895 reload_flag
=$lt_cv_ld_reload_flag
1896 test -n "$reload_flag" && reload_flag
=" $reload_flag"
1898 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1899 echo "configure:1900: checking for BSD-compatible nm" >&5
1900 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1901 echo $ac_n "(cached) $ac_c" 1>&6
1903 if test -n "$NM"; then
1904 # Let the user override the test.
1907 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1908 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
1909 test -z "$ac_dir" && ac_dir
=.
1910 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
1911 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
1912 # Check to see if the nm accepts a BSD-compat flag.
1913 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1914 # nm: unknown option "B" ignored
1915 # Tru64's nm complains that /dev/null is an invalid object file
1916 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
1917 lt_cv_path_NM
="$tmp_nm -B"
1919 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
1920 lt_cv_path_NM
="$tmp_nm -p"
1923 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1924 continue # so that we can try to find one that supports BSD flags
1929 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
1934 echo "$ac_t""$NM" 1>&6
1936 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1937 echo "configure:1938: checking whether ln -s works" >&5
1938 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1939 echo $ac_n "(cached) $ac_c" 1>&6
1942 if ln -s X conftestdata
2>/dev
/null
1945 ac_cv_prog_LN_S
="ln -s"
1950 LN_S
="$ac_cv_prog_LN_S"
1951 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1952 echo "$ac_t""yes" 1>&6
1954 echo "$ac_t""no" 1>&6
1957 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1958 echo "configure:1959: checking how to recognise dependant libraries" >&5
1959 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1960 echo $ac_n "(cached) $ac_c" 1>&6
1962 lt_cv_file_magic_cmd
='$MAGIC_CMD'
1963 lt_cv_file_magic_test_file
=
1964 lt_cv_deplibs_check_method
='unknown'
1965 # Need to set the preceding variable on all platforms that support
1966 # interlibrary dependencies.
1967 # 'none' -- dependencies not supported.
1968 # `unknown' -- same as none, but documents that we really don't know.
1969 # 'pass_all' -- all dependencies passed with no checks.
1970 # 'test_compile' -- check by making test program.
1971 # 'file_magic [regex]' -- check by looking for files in library path
1972 # which responds to the $file_magic_cmd with a given egrep regex.
1973 # If you have `file' or equivalent on your system and you're not sure
1974 # whether `pass_all' will *always* work, you probably want this one.
1978 lt_cv_deplibs_check_method
=pass_all
1982 lt_cv_deplibs_check_method
=pass_all
1986 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1987 lt_cv_file_magic_cmd
='/usr/bin/file -L'
1988 lt_cv_file_magic_test_file
=/shlib
/libc.so
1991 cygwin
* | mingw
* |pw32
*)
1992 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
1993 lt_cv_file_magic_cmd
='$OBJDUMP -f'
1996 darwin
* | rhapsody
*)
1997 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
1998 lt_cv_file_magic_cmd
='/usr/bin/file -L'
2000 rhapsody
* | darwin1.012
)
2001 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
2004 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
2010 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
2013 # Not sure whether the presence of OpenBSD here was a mistake.
2014 # Let's accept both of them until this is cleared up.
2015 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
2016 lt_cv_file_magic_cmd
=/usr
/bin
/file
2017 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
2021 lt_cv_deplibs_check_method
=pass_all
2026 lt_cv_deplibs_check_method
=pass_all
2030 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
2031 lt_cv_file_magic_cmd
=/usr
/bin
/file
2032 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
2038 # this will be overridden with pass_all, but let us keep it just in case
2039 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
2043 *-32|
*"-32 ") libmagic
=32-bit;;
2044 *-n32|
*"-n32 ") libmagic
=N32
;;
2045 *-64|
*"-64 ") libmagic
=64-bit;;
2046 *) libmagic
=never-match
;;
2048 # this will be overridden with pass_all, but let us keep it just in case
2049 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
2052 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
2053 lt_cv_deplibs_check_method
=pass_all
2056 # This must be Linux ELF.
2059 alpha
* | i
*86 | powerpc
* | sparc
* | ia64
* )
2060 lt_cv_deplibs_check_method
=pass_all
;;
2062 # glibc up to 2.1.1 does not perform some relocations on ARM
2063 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2065 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
2069 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
2070 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2072 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
2077 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2078 lt_cv_file_magic_cmd
=/usr
/bin
/file
2079 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
2082 osf3
* | osf4
* | osf5
*)
2083 # this will be overridden with pass_all, but let us keep it just in case
2084 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
2085 lt_cv_file_magic_test_file
=/shlib
/libc.so
2086 lt_cv_deplibs_check_method
=pass_all
2090 lt_cv_deplibs_check_method
=pass_all
2094 lt_cv_deplibs_check_method
=pass_all
2095 lt_cv_file_magic_test_file
=/lib
/libc.so
2098 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
2099 case $host_vendor in
2101 lt_cv_deplibs_check_method
=pass_all
2104 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]'
2105 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
2113 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2114 file_magic_cmd
=$lt_cv_file_magic_cmd
2115 deplibs_check_method
=$lt_cv_deplibs_check_method
2117 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2118 echo "configure:2119: checking for object suffix" >&5
2119 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2120 echo $ac_n "(cached) $ac_c" 1>&6
2123 echo 'int i = 1;' > conftest.
$ac_ext
2124 if { (eval echo configure
:2125: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2125 for ac_file
in conftest.
*; do
2128 *) ac_cv_objext
=`echo $ac_file | sed -e s/conftest.//` ;;
2132 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2137 echo "$ac_t""$ac_cv_objext" 1>&6
2138 OBJEXT
=$ac_cv_objext
2139 ac_objext
=$ac_cv_objext
2141 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2143 # Only perform the check for file, if the check method requires it
2144 case $deplibs_check_method in
2146 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2147 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2148 echo "configure:2149: checking for ${ac_tool_prefix}file" >&5
2149 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2150 echo $ac_n "(cached) $ac_c" 1>&6
2154 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
2157 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
2160 ac_save_MAGIC_CMD
="$MAGIC_CMD"
2161 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2162 ac_dummy
="/usr/bin:$PATH"
2163 for ac_dir
in $ac_dummy; do
2164 test -z "$ac_dir" && ac_dir
=.
2165 if test -f $ac_dir/${ac_tool_prefix}file; then
2166 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
2167 if test -n "$file_magic_test_file"; then
2168 case $deplibs_check_method in
2170 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2171 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
2172 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
2173 egrep "$file_magic_regex" > /dev
/null
; then
2178 *** Warning: the command libtool uses to detect shared libraries,
2179 *** $file_magic_cmd, produces output that libtool cannot recognize.
2180 *** The result is that libtool may fail to recognize shared libraries
2181 *** as such. This will affect the creation of libtool libraries that
2182 *** depend on shared libraries, but programs linked with such libtool
2183 *** libraries will work regardless of this problem. Nevertheless, you
2184 *** may want to report the problem to your system manager and/or to
2185 *** bug-libtool@gnu.org
2195 MAGIC_CMD
="$ac_save_MAGIC_CMD"
2200 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
2201 if test -n "$MAGIC_CMD"; then
2202 echo "$ac_t""$MAGIC_CMD" 1>&6
2204 echo "$ac_t""no" 1>&6
2207 if test -z "$lt_cv_path_MAGIC_CMD"; then
2208 if test -n "$ac_tool_prefix"; then
2209 echo $ac_n "checking for file""... $ac_c" 1>&6
2210 echo "configure:2211: checking for file" >&5
2211 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2212 echo $ac_n "(cached) $ac_c" 1>&6
2216 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
2219 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
2222 ac_save_MAGIC_CMD
="$MAGIC_CMD"
2223 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2224 ac_dummy
="/usr/bin:$PATH"
2225 for ac_dir
in $ac_dummy; do
2226 test -z "$ac_dir" && ac_dir
=.
2227 if test -f $ac_dir/file; then
2228 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
2229 if test -n "$file_magic_test_file"; then
2230 case $deplibs_check_method in
2232 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2233 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
2234 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
2235 egrep "$file_magic_regex" > /dev
/null
; then
2240 *** Warning: the command libtool uses to detect shared libraries,
2241 *** $file_magic_cmd, produces output that libtool cannot recognize.
2242 *** The result is that libtool may fail to recognize shared libraries
2243 *** as such. This will affect the creation of libtool libraries that
2244 *** depend on shared libraries, but programs linked with such libtool
2245 *** libraries will work regardless of this problem. Nevertheless, you
2246 *** may want to report the problem to your system manager and/or to
2247 *** bug-libtool@gnu.org
2257 MAGIC_CMD
="$ac_save_MAGIC_CMD"
2262 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
2263 if test -n "$MAGIC_CMD"; then
2264 echo "$ac_t""$MAGIC_CMD" 1>&6
2266 echo "$ac_t""no" 1>&6
2278 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2279 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2280 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2281 echo "configure:2282: checking for $ac_word" >&5
2282 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2283 echo $ac_n "(cached) $ac_c" 1>&6
2285 if test -n "$RANLIB"; then
2286 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2288 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2290 for ac_dir
in $ac_dummy; do
2291 test -z "$ac_dir" && ac_dir
=.
2292 if test -f $ac_dir/$ac_word; then
2293 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2300 RANLIB
="$ac_cv_prog_RANLIB"
2301 if test -n "$RANLIB"; then
2302 echo "$ac_t""$RANLIB" 1>&6
2304 echo "$ac_t""no" 1>&6
2308 if test -z "$ac_cv_prog_RANLIB"; then
2309 if test -n "$ac_tool_prefix"; then
2310 # Extract the first word of "ranlib", so it can be a program name with args.
2311 set dummy ranlib
; ac_word
=$2
2312 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2313 echo "configure:2314: checking for $ac_word" >&5
2314 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2315 echo $ac_n "(cached) $ac_c" 1>&6
2317 if test -n "$RANLIB"; then
2318 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2320 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2322 for ac_dir
in $ac_dummy; do
2323 test -z "$ac_dir" && ac_dir
=.
2324 if test -f $ac_dir/$ac_word; then
2325 ac_cv_prog_RANLIB
="ranlib"
2330 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
2333 RANLIB
="$ac_cv_prog_RANLIB"
2334 if test -n "$RANLIB"; then
2335 echo "$ac_t""$RANLIB" 1>&6
2337 echo "$ac_t""no" 1>&6
2345 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2346 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2347 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2348 echo "configure:2349: checking for $ac_word" >&5
2349 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2350 echo $ac_n "(cached) $ac_c" 1>&6
2352 if test -n "$STRIP"; then
2353 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2355 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2357 for ac_dir
in $ac_dummy; do
2358 test -z "$ac_dir" && ac_dir
=.
2359 if test -f $ac_dir/$ac_word; then
2360 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2367 STRIP
="$ac_cv_prog_STRIP"
2368 if test -n "$STRIP"; then
2369 echo "$ac_t""$STRIP" 1>&6
2371 echo "$ac_t""no" 1>&6
2375 if test -z "$ac_cv_prog_STRIP"; then
2376 if test -n "$ac_tool_prefix"; then
2377 # Extract the first word of "strip", so it can be a program name with args.
2378 set dummy strip
; ac_word
=$2
2379 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2380 echo "configure:2381: checking for $ac_word" >&5
2381 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2382 echo $ac_n "(cached) $ac_c" 1>&6
2384 if test -n "$STRIP"; then
2385 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2387 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2389 for ac_dir
in $ac_dummy; do
2390 test -z "$ac_dir" && ac_dir
=.
2391 if test -f $ac_dir/$ac_word; then
2392 ac_cv_prog_STRIP
="strip"
2397 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
=":"
2400 STRIP
="$ac_cv_prog_STRIP"
2401 if test -n "$STRIP"; then
2402 echo "$ac_t""$STRIP" 1>&6
2404 echo "$ac_t""no" 1>&6
2413 # Check for any special flags to pass to ltconfig.
2414 libtool_flags
="--cache-file=$cache_file"
2415 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
2416 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
2417 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
2418 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
2419 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
2420 libtool_flags
="$libtool_flags --enable-dlopen"
2422 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2423 if test "${enable_libtool_lock+set}" = set; then
2424 enableval
="$enable_libtool_lock"
2428 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
2429 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
2431 # Check whether --with-pic or --without-pic was given.
2432 if test "${with_pic+set}" = set; then
2439 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
2440 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
2442 # Some flags need to be propagated to the compiler or linker for good
2446 # Find out which ABI we are using.
2447 echo '#line 2448 "configure"' > conftest.
$ac_ext
2448 if { (eval echo configure
:2449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2449 case `/usr/bin/file conftest.$ac_objext` in
2465 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2466 SAVE_CFLAGS
="$CFLAGS"
2467 CFLAGS
="$CFLAGS -belf"
2468 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2469 echo "configure:2470: checking whether the C compiler needs -belf" >&5
2470 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2471 echo $ac_n "(cached) $ac_c" 1>&6
2475 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2476 ac_cpp
='$CPP $CPPFLAGS'
2477 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2478 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2479 cross_compiling
=$ac_cv_prog_cc_cross
2481 cat > conftest.
$ac_ext <<EOF
2482 #line 2483 "configure"
2483 #include "confdefs.h"
2489 if { (eval echo configure
:2490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2491 lt_cv_cc_needs_belf
=yes
2493 echo "configure: failed program was:" >&5
2494 cat conftest.
$ac_ext >&5
2496 lt_cv_cc_needs_belf
=no
2500 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2501 ac_cpp
='$CPP $CPPFLAGS'
2502 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2503 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2504 cross_compiling
=$ac_cv_prog_cc_cross
2508 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2509 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
2510 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2511 CFLAGS
="$SAVE_CFLAGS"
2518 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2519 echo "configure:2520: checking how to run the C++ preprocessor" >&5
2520 if test -z "$CXXCPP"; then
2521 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2522 echo $ac_n "(cached) $ac_c" 1>&6
2525 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2526 ac_cpp
='$CXXCPP $CPPFLAGS'
2527 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2528 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2529 cross_compiling
=$ac_cv_prog_cxx_cross
2530 CXXCPP
="${CXX-g++} -E"
2531 cat > conftest.
$ac_ext <<EOF
2532 #line 2533 "configure"
2533 #include "confdefs.h"
2536 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2537 { (eval echo configure
:2538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2538 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2539 if test -z "$ac_err"; then
2543 echo "configure: failed program was:" >&5
2544 cat conftest.
$ac_ext >&5
2549 ac_cv_prog_CXXCPP
="$CXXCPP"
2551 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2552 ac_cpp
='$CPP $CPPFLAGS'
2553 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2554 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2555 cross_compiling
=$ac_cv_prog_cc_cross
2558 CXXCPP
="$ac_cv_prog_CXXCPP"
2559 echo "$ac_t""$CXXCPP" 1>&6
2562 # Save cache, so that ltconfig can load it
2563 cat > confcache
<<\EOF
2564 # This file is a shell script that caches the results of configure
2565 # tests run on this system so they can be shared between configure
2566 # scripts and configure runs. It is not useful on other systems.
2567 # If it contains results you don't want to keep, you may remove or edit it.
2569 # By default, configure uses ./config.cache as the cache file,
2570 # creating it if it does not exist already. You can give configure
2571 # the --cache-file=FILE option to use a different cache file; that is
2572 # what configure does when it calls configure scripts in
2573 # subdirectories, so they share the cache.
2574 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2575 # config.status only pays attention to the cache file if you give it the
2576 # --recheck option to rerun configure.
2579 # The following way of writing the cache mishandles newlines in values,
2580 # but we know of no workaround that is simple, portable, and efficient.
2581 # So, don't put newlines in cache variables' values.
2582 # Ultrix sh set writes to stderr and can't be redirected directly,
2583 # and sets the high bit in the cache file unless we assign to the vars.
2585 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2587 # `set' does not quote correctly, so add quotes (double-quote substitution
2588 # turns \\\\ into \\, and sed turns \\ into \).
2590 -e "s/'/'\\\\''/g" \
2591 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2594 # `set' quotes correctly as required by POSIX, so do not add quotes.
2595 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2598 if cmp -s $cache_file confcache
; then
2601 if test -w $cache_file; then
2602 echo "updating cache $cache_file"
2603 cat confcache
> $cache_file
2605 echo "not updating unwritable cache $cache_file"
2611 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2612 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
2613 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
2614 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
2615 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
2616 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
2617 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
2618 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
2619 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
2620 ||
{ echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2622 # Reload cache, that may have been modified by ltconfig
2623 if test -r "$cache_file"; then
2624 echo "loading cache $cache_file"
2627 echo "creating cache $cache_file"
2632 # This can be used to rebuild libtool when needed
2633 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2635 # Always use our own libtool.
2636 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
2638 # Redirect the config.log output again, so that the ltconfig log is not
2639 # clobbered by the next message.
2640 exec 5>>.
/config.log
2644 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2646 lt_save_CFLAGS
="$CFLAGS"
2647 AR
="$AR" LTCC
="$CC" CC
="$CXX" CXX
="$CXX" CFLAGS
="$CXXFLAGS" CPPFLAGS
="$CPPFLAGS" \
2648 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
2649 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
2650 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
2651 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
2652 deplibs_check_method
="$deplibs_check_method" \
2653 file_magic_cmd
="$file_magic_cmd" \
2654 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
2655 --build="$build" --add-tag=CXX
$ac_aux_dir/ltcf-cxx.sh
$host \
2656 ||
{ echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2658 CFLAGS
="$lt_save_CFLAGS"
2660 # Redirect the config.log output again, so that the ltconfig log is not
2661 # clobbered by the next message.
2662 exec 5>>.
/config.log
2671 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2672 echo "configure:2673: checking for GNU make" >&5
2673 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2674 echo $ac_n "(cached) $ac_c" 1>&6
2676 _cv_gnu_make_command
='' ;
2677 for a
in "${MAKE-make}" make gmake gnumake
; do
2678 if ( $a --version 2> /dev
/null |
grep -c GNU
> /dev
/null
)
2680 _cv_gnu_make_command
=$a ;
2687 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2688 if test "x$_cv_gnu_make_command" != "x" ; then
2695 if test "x$_cv_gnu_make_command" = "x"; then
2696 { echo "configure: error: GNU make not found. Please install it or correct your path." 1>&2; exit 1; }
2702 # Check for c++ or library specific bits that don't require linking.
2704 if test ! -f stamp-sanity-compiler
; then
2705 echo $ac_n "checking for g++ that will successfully compile libstdc++-v3""... $ac_c" 1>&6
2706 echo "configure:2707: checking for g++ that will successfully compile libstdc++-v3" >&5
2709 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2710 ac_cpp
='$CXXCPP $CPPFLAGS'
2711 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2712 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2713 cross_compiling
=$ac_cv_prog_cxx_cross
2715 cat > conftest.
$ac_ext <<EOF
2716 #line 2717 "configure"
2717 #include "confdefs.h"
2724 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2725 egrep "ok" >/dev
/null
2>&1; then
2727 gpp_satisfactory
=yes
2730 { echo "configure: error: please upgrade to GCC 3.0 or above" 1>&2; exit 1; }
2735 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2736 ac_cpp
='$CPP $CPPFLAGS'
2737 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2738 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2739 cross_compiling
=$ac_cv_prog_cc_cross
2741 echo "$ac_t""$gpp_satisfactory" 1>&6
2742 touch stamp-sanity-compiler
2746 # Enable all the crazy c++ stuff. C_MBCHAR must come early.
2747 # Check whether --enable-debug or --disable-debug was given.
2748 if test "${enable_debug+set}" = set; then
2749 enableval
="$enable_debug"
2750 case "${enableval}" in
2751 yes) enable_debug
=yes ;;
2752 no
) enable_debug
=no
;;
2753 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2759 case "${enable_debug}" in
2761 DEBUG_FLAGS
='-O0 -ggdb3'
2769 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2770 echo "configure:2771: checking how to run the C preprocessor" >&5
2771 # On Suns, sometimes $CPP names a directory.
2772 if test -n "$CPP" && test -d "$CPP"; then
2775 if test -z "$CPP"; then
2776 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2777 echo $ac_n "(cached) $ac_c" 1>&6
2779 # This must be in double quotes, not single quotes, because CPP may get
2780 # substituted into the Makefile and "${CC-cc}" will confuse make.
2782 # On the NeXT, cc -E runs the code through the compiler's parser,
2783 # not just through cpp.
2784 cat > conftest.
$ac_ext <<EOF
2785 #line 2786 "configure"
2786 #include "confdefs.h"
2790 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2791 { (eval echo configure
:2792: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2792 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2793 if test -z "$ac_err"; then
2797 echo "configure: failed program was:" >&5
2798 cat conftest.
$ac_ext >&5
2800 CPP
="${CC-cc} -E -traditional-cpp"
2801 cat > conftest.
$ac_ext <<EOF
2802 #line 2803 "configure"
2803 #include "confdefs.h"
2807 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2808 { (eval echo configure
:2809: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2809 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2810 if test -z "$ac_err"; then
2814 echo "configure: failed program was:" >&5
2815 cat conftest.
$ac_ext >&5
2817 CPP
="${CC-cc} -nologo -E"
2818 cat > conftest.
$ac_ext <<EOF
2819 #line 2820 "configure"
2820 #include "confdefs.h"
2824 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2825 { (eval echo configure
:2826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2826 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2827 if test -z "$ac_err"; then
2831 echo "configure: failed program was:" >&5
2832 cat conftest.
$ac_ext >&5
2841 ac_cv_prog_CPP
="$CPP"
2843 CPP
="$ac_cv_prog_CPP"
2845 ac_cv_prog_CPP
="$CPP"
2847 echo "$ac_t""$CPP" 1>&6
2850 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2851 echo "configure:2852: checking for cstdio to use" >&5
2852 # Check whether --enable-cstdio or --disable-cstdio was given.
2853 if test "${enable_cstdio+set}" = set; then
2854 enableval
="$enable_cstdio"
2855 if test x
$enable_cstdio = xno
; then
2863 enable_cstdio_flag
=$enable_cstdio
2865 case x
${enable_cstdio_flag} in
2867 CSTDIO_H
=config
/c_io_libio.h
2868 BASIC_FILE_H
=config
/basic_file_libio.h
2869 BASIC_FILE_CC
=config
/basic_file_libio.cc
2870 echo "$ac_t""libio" 1>&6
2872 # see if we are on a system with libio native (ie, linux)
2873 ac_safe
=`echo "libio.h" | sed 'y%./+-%__p_%'`
2874 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2875 echo "configure:2876: checking for libio.h" >&5
2876 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2877 echo $ac_n "(cached) $ac_c" 1>&6
2879 cat > conftest.
$ac_ext <<EOF
2880 #line 2881 "configure"
2881 #include "confdefs.h"
2884 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2885 { (eval echo configure
:2886: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2886 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2887 if test -z "$ac_err"; then
2889 eval "ac_cv_header_$ac_safe=yes"
2892 echo "configure: failed program was:" >&5
2893 cat conftest.
$ac_ext >&5
2895 eval "ac_cv_header_$ac_safe=no"
2899 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2900 echo "$ac_t""yes" 1>&6
2903 echo "$ac_t""no" 1>&6
2908 # Need to check and see what version of glibc is being used. If
2909 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2910 # compile most of libio for linux systems.
2911 if test x
$has_libio = x
"yes"; then
2914 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2915 echo "configure:2916: checking for glibc version >= 2.2" >&5
2916 cat > conftest.
$ac_ext <<EOF
2917 #line 2918 "configure"
2918 #include "confdefs.h"
2920 #include <features.h>
2921 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2926 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2927 egrep "ok" >/dev
/null
2>&1; then
2929 glibc_satisfactory
=yes
2932 glibc_satisfactory
=no
2936 echo "$ac_t""$glibc_satisfactory" 1>&6
2940 # XXX at the moment, admit defeat and force the recompilation
2941 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2942 glibc_satisfactory
=no
2944 if test x
$glibc_satisfactory = x
"yes"; then
2949 # bkoz XXX need to add checks to enable this
2950 # pme XXX here's a first pass at such a check
2951 if test x
$enable_c_mbchar != xno
; then
2959 # Using libio, but <libio.h> doesn't exist on the target system. . .
2961 # bkoz XXX need to add checks to enable this
2962 # pme XXX here's a first pass at such a check
2963 if test x
$enable_c_mbchar != xno
; then
2970 xstdio | x | xno | xnone | xyes
)
2972 CSTDIO_H
=config
/c_io_stdio.h
2973 BASIC_FILE_H
=config
/basic_file_stdio.h
2974 BASIC_FILE_CC
=config
/basic_file_stdio.cc
2975 echo "$ac_t""stdio" 1>&6
2977 # We're not using stdio.
2982 echo "$enable_cstdio is an unknown io package" 1>&2
2990 # 2000-08-04 bkoz hack
2991 CCODECVT_C
=config
/c_io_libio_codecvt.c
2993 # 2000-08-04 bkoz hack
2997 if test "$need_libio" = yes ||
test "$need_wlibio" = yes; then
2998 GLIBCPP_BUILD_LIBIO_TRUE
=
2999 GLIBCPP_BUILD_LIBIO_FALSE
='#'
3001 GLIBCPP_BUILD_LIBIO_TRUE
='#'
3002 GLIBCPP_BUILD_LIBIO_FALSE
=
3006 if test "$need_libio" = yes; then
3007 GLIBCPP_NEED_LIBIO_TRUE
=
3008 GLIBCPP_NEED_LIBIO_FALSE
='#'
3010 GLIBCPP_NEED_LIBIO_TRUE
='#'
3011 GLIBCPP_NEED_LIBIO_FALSE
=
3015 if test "$need_wlibio" = yes; then
3016 GLIBCPP_NEED_WLIBIO_TRUE
=
3017 GLIBCPP_NEED_WLIBIO_FALSE
='#'
3019 GLIBCPP_NEED_WLIBIO_TRUE
='#'
3020 GLIBCPP_NEED_WLIBIO_FALSE
=
3022 if test "$need_libio" = yes ||
test "$need_wlibio" = yes; then
3023 libio_la
=..
/libio
/libio.la
3030 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
3031 echo "configure:3032: checking for clocale to use" >&5
3032 # Check whether --enable-clocale or --disable-clocale was given.
3033 if test "${enable_clocale+set}" = set; then
3034 enableval
="$enable_clocale"
3035 if test x
$enable_clocale = xno
; then
3036 enable_clocale
=generic
3039 enable_clocale
=generic
3043 enable_clocale_flag
=$enable_clocale
3045 case x
${enable_clocale_flag} in
3047 CLOCALE_H
=config
/c_locale_gnu.h
3048 CLOCALE_CC
=config
/c_locale_gnu.cc
3049 echo "$ac_t""gnu" 1>&6
3052 CLOCALE_H
=config
/c_locale_generic.h
3053 CLOCALE_CC
=config
/c_locale_generic.cc
3054 echo "$ac_t""generic" 1>&6
3057 echo "$enable_clocale is an unknown locale package" 1>&2
3065 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3066 if test "${enable_c_mbchar+set}" = set; then
3067 enableval
="$enable_c_mbchar"
3068 case "$enableval" in
3069 yes) enable_c_mbchar
=yes ;;
3070 no
) enable_c_mbchar
=no
;;
3071 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
3078 # Check whether --enable-c99 or --disable-c99 was given.
3079 if test "${enable_c99+set}" = set; then
3080 enableval
="$enable_c99"
3081 case "$enableval" in
3082 yes) enable_c99
=yes ;;
3083 no
) enable_c99
=no
;;
3084 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
3092 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3093 ac_cpp
='$CXXCPP $CPPFLAGS'
3094 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3095 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3096 cross_compiling
=$ac_cv_prog_cxx_cross
3099 # Check for the existence of <math.h> functions used if C99 is enabled.
3100 cat > conftest.
$ac_ext <<EOF
3101 #line 3102 "configure"
3102 #include "confdefs.h"
3108 if { (eval echo configure
:3109: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3111 echo "configure: failed program was:" >&5
3112 cat conftest.
$ac_ext >&5
3117 cat > conftest.
$ac_ext <<EOF
3118 #line 3119 "configure"
3119 #include "confdefs.h"
3125 if { (eval echo configure
:3126: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3128 echo "configure: failed program was:" >&5
3129 cat conftest.
$ac_ext >&5
3134 cat > conftest.
$ac_ext <<EOF
3135 #line 3136 "configure"
3136 #include "confdefs.h"
3142 if { (eval echo configure
:3143: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3145 echo "configure: failed program was:" >&5
3146 cat conftest.
$ac_ext >&5
3151 cat > conftest.
$ac_ext <<EOF
3152 #line 3153 "configure"
3153 #include "confdefs.h"
3159 if { (eval echo configure
:3160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3162 echo "configure: failed program was:" >&5
3163 cat conftest.
$ac_ext >&5
3168 cat > conftest.
$ac_ext <<EOF
3169 #line 3170 "configure"
3170 #include "confdefs.h"
3176 if { (eval echo configure
:3177: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3179 echo "configure: failed program was:" >&5
3180 cat conftest.
$ac_ext >&5
3185 cat > conftest.
$ac_ext <<EOF
3186 #line 3187 "configure"
3187 #include "confdefs.h"
3193 if { (eval echo configure
:3194: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3196 echo "configure: failed program was:" >&5
3197 cat conftest.
$ac_ext >&5
3202 cat > conftest.
$ac_ext <<EOF
3203 #line 3204 "configure"
3204 #include "confdefs.h"
3210 if { (eval echo configure
:3211: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3213 echo "configure: failed program was:" >&5
3214 cat conftest.
$ac_ext >&5
3219 cat > conftest.
$ac_ext <<EOF
3220 #line 3221 "configure"
3221 #include "confdefs.h"
3224 isgreaterequal(0,0);
3227 if { (eval echo configure
:3228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3230 echo "configure: failed program was:" >&5
3231 cat conftest.
$ac_ext >&5
3236 cat > conftest.
$ac_ext <<EOF
3237 #line 3238 "configure"
3238 #include "confdefs.h"
3244 if { (eval echo configure
:3245: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3247 echo "configure: failed program was:" >&5
3248 cat conftest.
$ac_ext >&5
3253 cat > conftest.
$ac_ext <<EOF
3254 #line 3255 "configure"
3255 #include "confdefs.h"
3261 if { (eval echo configure
:3262: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3264 echo "configure: failed program was:" >&5
3265 cat conftest.
$ac_ext >&5
3270 cat > conftest.
$ac_ext <<EOF
3271 #line 3272 "configure"
3272 #include "confdefs.h"
3278 if { (eval echo configure
:3279: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3281 echo "configure: failed program was:" >&5
3282 cat conftest.
$ac_ext >&5
3287 cat > conftest.
$ac_ext <<EOF
3288 #line 3289 "configure"
3289 #include "confdefs.h"
3295 if { (eval echo configure
:3296: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3298 echo "configure: failed program was:" >&5
3299 cat conftest.
$ac_ext >&5
3305 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3306 echo $ac_n "checking for strtoll""... $ac_c" 1>&6
3307 echo "configure:3308: checking for strtoll" >&5
3308 if eval "test \"`echo '$''{'ac_cv_func_strtoll'+set}'`\" = set"; then
3309 echo $ac_n "(cached) $ac_c" 1>&6
3311 cat > conftest.
$ac_ext <<EOF
3312 #line 3313 "configure"
3313 #include "confdefs.h"
3314 /* System header to define __stub macros and hopefully few prototypes,
3315 which can conflict with char strtoll(); below. */
3317 /* Override any gcc2 internal prototype to avoid an error. */
3321 /* We use char because int might match the return type of a gcc2
3322 builtin and then its argument prototype would still apply. */
3327 /* The GNU C library defines this for functions which it implements
3328 to always fail with ENOSYS. Some functions are actually named
3329 something starting with __ and the normal name is an alias. */
3330 #if defined (__stub_strtoll) || defined (__stub___strtoll)
3338 if { (eval echo configure
:3339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3340 eval "ac_cv_func_strtoll=yes"
3342 echo "configure: failed program was:" >&5
3343 cat conftest.
$ac_ext >&5
3345 eval "ac_cv_func_strtoll=no"
3350 if eval "test \"`echo '$ac_cv_func_'strtoll`\" = yes"; then
3351 echo "$ac_t""yes" 1>&6
3354 echo "$ac_t""no" 1>&6
3358 echo $ac_n "checking for strtoull""... $ac_c" 1>&6
3359 echo "configure:3360: checking for strtoull" >&5
3360 if eval "test \"`echo '$''{'ac_cv_func_strtoull'+set}'`\" = set"; then
3361 echo $ac_n "(cached) $ac_c" 1>&6
3363 cat > conftest.
$ac_ext <<EOF
3364 #line 3365 "configure"
3365 #include "confdefs.h"
3366 /* System header to define __stub macros and hopefully few prototypes,
3367 which can conflict with char strtoull(); below. */
3369 /* Override any gcc2 internal prototype to avoid an error. */
3373 /* We use char because int might match the return type of a gcc2
3374 builtin and then its argument prototype would still apply. */
3379 /* The GNU C library defines this for functions which it implements
3380 to always fail with ENOSYS. Some functions are actually named
3381 something starting with __ and the normal name is an alias. */
3382 #if defined (__stub_strtoull) || defined (__stub___strtoull)
3390 if { (eval echo configure
:3391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3392 eval "ac_cv_func_strtoull=yes"
3394 echo "configure: failed program was:" >&5
3395 cat conftest.
$ac_ext >&5
3397 eval "ac_cv_func_strtoull=no"
3402 if eval "test \"`echo '$ac_cv_func_'strtoull`\" = yes"; then
3403 echo "$ac_t""yes" 1>&6
3406 echo "$ac_t""no" 1>&6
3410 echo $ac_n "checking for llabs""... $ac_c" 1>&6
3411 echo "configure:3412: checking for llabs" >&5
3412 if eval "test \"`echo '$''{'ac_cv_func_llabs'+set}'`\" = set"; then
3413 echo $ac_n "(cached) $ac_c" 1>&6
3415 cat > conftest.
$ac_ext <<EOF
3416 #line 3417 "configure"
3417 #include "confdefs.h"
3418 /* System header to define __stub macros and hopefully few prototypes,
3419 which can conflict with char llabs(); below. */
3421 /* Override any gcc2 internal prototype to avoid an error. */
3425 /* We use char because int might match the return type of a gcc2
3426 builtin and then its argument prototype would still apply. */
3431 /* The GNU C library defines this for functions which it implements
3432 to always fail with ENOSYS. Some functions are actually named
3433 something starting with __ and the normal name is an alias. */
3434 #if defined (__stub_llabs) || defined (__stub___llabs)
3442 if { (eval echo configure
:3443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3444 eval "ac_cv_func_llabs=yes"
3446 echo "configure: failed program was:" >&5
3447 cat conftest.
$ac_ext >&5
3449 eval "ac_cv_func_llabs=no"
3454 if eval "test \"`echo '$ac_cv_func_'llabs`\" = yes"; then
3455 echo "$ac_t""yes" 1>&6
3458 echo "$ac_t""no" 1>&6
3462 echo $ac_n "checking for lldiv""... $ac_c" 1>&6
3463 echo "configure:3464: checking for lldiv" >&5
3464 if eval "test \"`echo '$''{'ac_cv_func_lldiv'+set}'`\" = set"; then
3465 echo $ac_n "(cached) $ac_c" 1>&6
3467 cat > conftest.
$ac_ext <<EOF
3468 #line 3469 "configure"
3469 #include "confdefs.h"
3470 /* System header to define __stub macros and hopefully few prototypes,
3471 which can conflict with char lldiv(); below. */
3473 /* Override any gcc2 internal prototype to avoid an error. */
3477 /* We use char because int might match the return type of a gcc2
3478 builtin and then its argument prototype would still apply. */
3483 /* The GNU C library defines this for functions which it implements
3484 to always fail with ENOSYS. Some functions are actually named
3485 something starting with __ and the normal name is an alias. */
3486 #if defined (__stub_lldiv) || defined (__stub___lldiv)
3494 if { (eval echo configure
:3495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3496 eval "ac_cv_func_lldiv=yes"
3498 echo "configure: failed program was:" >&5
3499 cat conftest.
$ac_ext >&5
3501 eval "ac_cv_func_lldiv=no"
3506 if eval "test \"`echo '$ac_cv_func_'lldiv`\" = yes"; then
3507 echo "$ac_t""yes" 1>&6
3510 echo "$ac_t""no" 1>&6
3514 echo $ac_n "checking for atoll""... $ac_c" 1>&6
3515 echo "configure:3516: checking for atoll" >&5
3516 if eval "test \"`echo '$''{'ac_cv_func_atoll'+set}'`\" = set"; then
3517 echo $ac_n "(cached) $ac_c" 1>&6
3519 cat > conftest.
$ac_ext <<EOF
3520 #line 3521 "configure"
3521 #include "confdefs.h"
3522 /* System header to define __stub macros and hopefully few prototypes,
3523 which can conflict with char atoll(); below. */
3525 /* Override any gcc2 internal prototype to avoid an error. */
3529 /* We use char because int might match the return type of a gcc2
3530 builtin and then its argument prototype would still apply. */
3535 /* The GNU C library defines this for functions which it implements
3536 to always fail with ENOSYS. Some functions are actually named
3537 something starting with __ and the normal name is an alias. */
3538 #if defined (__stub_atoll) || defined (__stub___atoll)
3546 if { (eval echo configure
:3547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3548 eval "ac_cv_func_atoll=yes"
3550 echo "configure: failed program was:" >&5
3551 cat conftest.
$ac_ext >&5
3553 eval "ac_cv_func_atoll=no"
3558 if eval "test \"`echo '$ac_cv_func_'atoll`\" = yes"; then
3559 echo "$ac_t""yes" 1>&6
3562 echo "$ac_t""no" 1>&6
3567 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3568 echo "configure:3569: checking for lldiv_t declaration" >&5
3569 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3570 echo $ac_n "(cached) $ac_c" 1>&6
3573 cat > conftest.
$ac_ext <<EOF
3574 #line 3575 "configure"
3575 #include "confdefs.h"
3581 if { (eval echo configure
:3582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3585 echo "configure: failed program was:" >&5
3586 cat conftest.
$ac_ext >&5
3594 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3595 if test x
"$ac_c99_lldiv_t" = x
"no"; then
3599 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3600 echo $ac_n "checking for wcstold""... $ac_c" 1>&6
3601 echo "configure:3602: checking for wcstold" >&5
3602 if eval "test \"`echo '$''{'ac_cv_func_wcstold'+set}'`\" = set"; then
3603 echo $ac_n "(cached) $ac_c" 1>&6
3605 cat > conftest.
$ac_ext <<EOF
3606 #line 3607 "configure"
3607 #include "confdefs.h"
3608 /* System header to define __stub macros and hopefully few prototypes,
3609 which can conflict with char wcstold(); below. */
3611 /* Override any gcc2 internal prototype to avoid an error. */
3615 /* We use char because int might match the return type of a gcc2
3616 builtin and then its argument prototype would still apply. */
3621 /* The GNU C library defines this for functions which it implements
3622 to always fail with ENOSYS. Some functions are actually named
3623 something starting with __ and the normal name is an alias. */
3624 #if defined (__stub_wcstold) || defined (__stub___wcstold)
3632 if { (eval echo configure
:3633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3634 eval "ac_cv_func_wcstold=yes"
3636 echo "configure: failed program was:" >&5
3637 cat conftest.
$ac_ext >&5
3639 eval "ac_cv_func_wcstold=no"
3644 if eval "test \"`echo '$ac_cv_func_'wcstold`\" = yes"; then
3645 echo "$ac_t""yes" 1>&6
3648 echo "$ac_t""no" 1>&6
3652 echo $ac_n "checking for wcstoll""... $ac_c" 1>&6
3653 echo "configure:3654: checking for wcstoll" >&5
3654 if eval "test \"`echo '$''{'ac_cv_func_wcstoll'+set}'`\" = set"; then
3655 echo $ac_n "(cached) $ac_c" 1>&6
3657 cat > conftest.
$ac_ext <<EOF
3658 #line 3659 "configure"
3659 #include "confdefs.h"
3660 /* System header to define __stub macros and hopefully few prototypes,
3661 which can conflict with char wcstoll(); below. */
3663 /* Override any gcc2 internal prototype to avoid an error. */
3667 /* We use char because int might match the return type of a gcc2
3668 builtin and then its argument prototype would still apply. */
3673 /* The GNU C library defines this for functions which it implements
3674 to always fail with ENOSYS. Some functions are actually named
3675 something starting with __ and the normal name is an alias. */
3676 #if defined (__stub_wcstoll) || defined (__stub___wcstoll)
3684 if { (eval echo configure
:3685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3686 eval "ac_cv_func_wcstoll=yes"
3688 echo "configure: failed program was:" >&5
3689 cat conftest.
$ac_ext >&5
3691 eval "ac_cv_func_wcstoll=no"
3696 if eval "test \"`echo '$ac_cv_func_'wcstoll`\" = yes"; then
3697 echo "$ac_t""yes" 1>&6
3700 echo "$ac_t""no" 1>&6
3704 echo $ac_n "checking for wcstoull""... $ac_c" 1>&6
3705 echo "configure:3706: checking for wcstoull" >&5
3706 if eval "test \"`echo '$''{'ac_cv_func_wcstoull'+set}'`\" = set"; then
3707 echo $ac_n "(cached) $ac_c" 1>&6
3709 cat > conftest.
$ac_ext <<EOF
3710 #line 3711 "configure"
3711 #include "confdefs.h"
3712 /* System header to define __stub macros and hopefully few prototypes,
3713 which can conflict with char wcstoull(); below. */
3715 /* Override any gcc2 internal prototype to avoid an error. */
3719 /* We use char because int might match the return type of a gcc2
3720 builtin and then its argument prototype would still apply. */
3725 /* The GNU C library defines this for functions which it implements
3726 to always fail with ENOSYS. Some functions are actually named
3727 something starting with __ and the normal name is an alias. */
3728 #if defined (__stub_wcstoull) || defined (__stub___wcstoull)
3736 if { (eval echo configure
:3737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3738 eval "ac_cv_func_wcstoull=yes"
3740 echo "configure: failed program was:" >&5
3741 cat conftest.
$ac_ext >&5
3743 eval "ac_cv_func_wcstoull=no"
3748 if eval "test \"`echo '$ac_cv_func_'wcstoull`\" = yes"; then
3749 echo "$ac_t""yes" 1>&6
3752 echo "$ac_t""no" 1>&6
3757 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3758 echo "configure:3759: checking for enabled ISO C99 support" >&5
3759 if test x
"$ac_c99_math" = x
"no" ||
test x
"$ac_c99_wchar" = x
"no" \
3760 ||
test x
"$ac_c99_stdlib" = x
"no"; then
3763 echo "$ac_t""$enable_c99" 1>&6
3765 # Option parsed, now set things appropriately
3766 if test x
"$enable_c99" = x
"yes"; then
3767 cat >> confdefs.h
<<\EOF
3768 #define _GLIBCPP_USE_C99 1
3774 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3775 ac_cpp
='$CPP $CPPFLAGS'
3776 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3777 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3778 cross_compiling
=$ac_cv_prog_cc_cross
3782 # Check whether --enable-long-long or --disable-long-long was given.
3783 if test "${enable_long_long+set}" = set; then
3784 enableval
="$enable_long_long"
3785 case "$enableval" in
3786 yes) enable_long_long
=yes ;;
3787 no
) enable_long_long
=no
;;
3788 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3791 enable_long_long
=yes
3794 # iostreams require strtoll, strtoull to compile. If the
3795 # GLIBCPP_ENABLE_C99 tests found these, and if C99 support is enabled,
3796 # go ahead and allow long long to be used.
3797 if test x
"$enable_c99" = x
"no"; then
3798 enable_long_long
=no
;
3801 # Option parsed, now set things appropriately
3802 echo $ac_n "checking for enabled long long support""... $ac_c" 1>&6
3803 echo "configure:3804: checking for enabled long long support" >&5
3804 if test x
"$enable_long_long" = xyes
; then
3805 cat >> confdefs.h
<<\EOF
3806 #define _GLIBCPP_USE_LONG_LONG 1
3810 echo "$ac_t""$enable_long_long" 1>&6
3812 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3813 echo "configure:3814: checking for c header strategy to use" >&5
3814 # Check whether --enable-cheaders or --disable-cheaders was given.
3815 if test "${enable_cheaders+set}" = set; then
3816 enableval
="$enable_cheaders"
3818 case "$enableval" in
3823 enable_cheaders
=c_std
3826 enable_cheaders
=c_shadow
3828 *) { echo "configure: error: Unknown argument to enable/disable "C
" headers" 1>&2; exit 1; }
3832 enable_cheaders
=c_std
3835 echo "$ac_t""$enable_cheaders" 1>&6
3837 case "$enable_cheaders" in
3839 CSHADOW_FLAGS
="-fno-builtin"
3840 C_INCLUDE_DIR
='${top_srcdir}/include/c_shadow'
3841 cat >> confdefs.h
<<\EOF
3842 #define _GLIBCPP_USE_SHADOW_HEADERS 1
3848 C_INCLUDE_DIR
='${top_srcdir}/include/c_std'
3852 C_INCLUDE_DIR
='${top_srcdir}/include/c'
3860 if test "$enable_cheaders" = c_shadow
; then
3861 GLIBCPP_USE_CSHADOW_TRUE
=
3862 GLIBCPP_USE_CSHADOW_FALSE
='#'
3864 GLIBCPP_USE_CSHADOW_TRUE
='#'
3865 GLIBCPP_USE_CSHADOW_FALSE
=
3869 echo $ac_n "checking for threads package to use""... $ac_c" 1>&6
3870 echo "configure:3871: checking for threads package to use" >&5
3871 # Check whether --enable-threads or --disable-threads was given.
3872 if test "${enable_threads+set}" = set; then
3873 enableval
="$enable_threads"
3874 if test x
$enable_threads = xno
; then
3882 enable_threads_flag
=$enable_threads
3884 case x
${enable_threads_flag} in
3887 target_thread_file
='single'
3891 target_thread_file
='posix'
3893 xdecosf1 | xirix | xmach | xos2 | xposix | xpthreads | xsingle | \
3894 xsolaris | xwin32 | xdce | xvxworks
)
3895 target_thread_file
=$enable_threads_flag
3898 echo "$enable_threads is an unknown thread package" 1>&2
3904 case "$target_thread_file" in
3906 THREADH
=threads-no.h
3909 THREADH
=threads-posix.h
3911 decosf1 | irix | mach | os2 | solaris | win32 | dce | vxworks
)
3912 { echo "configure: error: thread package $THREADS not yet supported" 1>&2; exit 1; }
3915 { echo "configure: error: $THREADS is an unsupported/unknown thread package" 1>&2; exit 1; }
3918 echo "$ac_t""$THREADH" 1>&6
3921 if test $THREADH != threads-no.h
; then
3922 cat >> confdefs.h
<<\EOF
3923 #define _GLIBCPP_USE_THREADS 1
3928 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3929 if test "${enable_cxx_flags+set}" = set; then
3930 enableval
="$enable_cxx_flags"
3931 case "x$enableval" in
3933 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3935 enable_cxx_flags
='' ;;
3937 enable_cxx_flags
="$enableval" ;;
3940 enable_cxx_flags
='none'
3944 if test "$enable_cxx_flags" = "none"; then
3945 enable_cxx_flags
='';
3948 if test -n "$enable_cxx_flags"; then
3949 for f
in $enable_cxx_flags; do
3953 *) # and we're trying to pass /what/ exactly?
3954 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3958 EXTRA_CXX_FLAGS
="$enable_cxx_flags"
3962 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3963 echo "configure:3964: checking for exception model to use" >&5
3966 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3967 ac_cpp
='$CXXCPP $CPPFLAGS'
3968 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3969 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3970 cross_compiling
=$ac_cv_prog_cxx_cross
3972 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3973 if test "${enable_sjlj_exceptions+set}" = set; then
3974 enableval
="$enable_sjlj_exceptions"
3977 cat > conftest.
$ac_ext << EOF
3978 #line 3979 "configure"
3987 old_CXXFLAGS
="$CXXFLAGS"
3989 if { (eval echo configure
:3990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3990 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1 ; then
3991 enable_sjlj_exceptions
=yes
3992 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1 ; then
3993 enable_sjlj_exceptions
=no
3996 CXXFLAGS
="$old_CXXFLAGS"
4000 if test x
$enable_sjlj_exceptions = xyes
; then
4001 cat >> confdefs.h
<<\EOF
4002 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
4005 ac_exception_model_name
=sjlj
4006 elif test x
$enable_sjlj_exceptions = xno
; then
4007 ac_exception_model_name
="call frame"
4009 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
4012 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4013 ac_cpp
='$CPP $CPPFLAGS'
4014 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4015 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4016 cross_compiling
=$ac_cv_prog_cc_cross
4018 echo "$ac_t""$ac_exception_model_name" 1>&6
4021 if test -n "$with_cross_host"; then
4023 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
4024 # may not work correctly, because the compiler may not be able to
4029 # If Canadian cross, then don't pick up tools from the build
4031 if test x
"$build" != x
"$with_cross_host" && x
"$build" != x
"$target"; then
4039 case "$target_alias" in
4041 # Construct linux crosses by hand, eliminating bits that need ld...
4042 # Check for available headers.
4043 for ac_hdr
in nan.h ieeefp.h endian.h sys
/isa_defs.h \
4044 machine
/endian.h machine
/param.h sys
/machine.h fp.h locale.h \
4047 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4048 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4049 echo "configure:4050: checking for $ac_hdr" >&5
4050 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4051 echo $ac_n "(cached) $ac_c" 1>&6
4053 cat > conftest.
$ac_ext <<EOF
4054 #line 4055 "configure"
4055 #include "confdefs.h"
4058 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4059 { (eval echo configure
:4060: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4060 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4061 if test -z "$ac_err"; then
4063 eval "ac_cv_header_$ac_safe=yes"
4066 echo "configure: failed program was:" >&5
4067 cat conftest.
$ac_ext >&5
4069 eval "ac_cv_header_$ac_safe=no"
4073 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4074 echo "$ac_t""yes" 1>&6
4075 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4076 cat >> confdefs.h
<<EOF
4077 #define $ac_tr_hdr 1
4081 echo "$ac_t""no" 1>&6
4086 # GLIBCPP_CHECK_COMPILER_FEATURES
4087 SECTION_FLAGS
='-ffunction-sections -fdata-sections'
4090 # If we're not using GNU ld, then there's no point in even trying these
4091 # tests. Check for that first. We should have already tested for gld
4092 # by now (in libtool), but require it now just to be safe...
4097 # Set --gc-sections.
4098 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
4099 # GNU ld it is! Joy and bunny rabbits!
4101 # All these tests are for C++; save the language and the compiler flags.
4102 # Need to do this so that g++ won't try to link in libstdc++
4103 ac_test_CFLAGS
="${CFLAGS+set}"
4104 ac_save_CFLAGS
="$CFLAGS"
4105 CFLAGS
='-x c++ -Wl,--gc-sections'
4107 # Check for -Wl,--gc-sections
4108 # XXX This test is broken at the moment, as symbols required for
4109 # linking are now in libsupc++ (not built yet.....). In addition,
4110 # this test has cored on solaris in the past. In addition,
4111 # --gc-sections doesn't really work at the moment (keeps on discarding
4112 # used sections, first .eh_frame and now some of the glibc sections for
4113 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4114 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4115 echo "configure:4116: checking for ld that supports -Wl,--gc-sections" >&5
4116 if test "$cross_compiling" = yes; then
4117 ac_sectionLDflags
=yes
4119 cat > conftest.
$ac_ext <<EOF
4120 #line 4121 "configure"
4121 #include "confdefs.h"
4131 if { (eval echo configure
:4132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
4133 ac_sectionLDflags
=yes
4135 echo "configure: failed program was:" >&5
4136 cat conftest.
$ac_ext >&5
4138 ac_sectionLFflags
=no
4143 if test "$ac_test_CFLAGS" = set; then
4144 CFLAGS
="$ac_save_CFLAGS"
4146 # this is the suspicious part
4149 if test "$ac_sectionLDflags" = "yes"; then
4150 SECTION_LDFLAGS
='-Wl,--gc-sections'
4152 echo "$ac_t""$ac_sectionLDflags" 1>&6
4155 # Set linker optimization flags.
4156 if test x
"$ac_cv_prog_gnu_ld" = x
"yes" && test x
"$enable_debug" = x
"no"; then
4157 OPT_LDFLAGS
='-Wl,-O1'
4163 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4164 # GLIBCPP_CHECK_MATH_SUPPORT
4165 cat >> confdefs.h
<<\EOF
4166 #define HAVE_ACOSF 1
4169 cat >> confdefs.h
<<\EOF
4170 #define HAVE_ASINF 1
4173 cat >> confdefs.h
<<\EOF
4174 #define HAVE_ATAN2F 1
4177 cat >> confdefs.h
<<\EOF
4178 #define HAVE_ATANF 1
4181 cat >> confdefs.h
<<\EOF
4182 #define HAVE_CEILF 1
4185 cat >> confdefs.h
<<\EOF
4186 #define HAVE_COPYSIGN 1
4189 cat >> confdefs.h
<<\EOF
4190 #define HAVE_COPYSIGNF 1
4193 cat >> confdefs.h
<<\EOF
4197 cat >> confdefs.h
<<\EOF
4198 #define HAVE_COSHF 1
4201 cat >> confdefs.h
<<\EOF
4205 cat >> confdefs.h
<<\EOF
4206 #define HAVE_FABSF 1
4209 cat >> confdefs.h
<<\EOF
4210 #define HAVE_FINITE 1
4213 cat >> confdefs.h
<<\EOF
4214 #define HAVE_FINITEF 1
4217 cat >> confdefs.h
<<\EOF
4218 #define HAVE_FLOORF 1
4221 cat >> confdefs.h
<<\EOF
4222 #define HAVE_FMODF 1
4225 cat >> confdefs.h
<<\EOF
4226 #define HAVE_FREXPF 1
4229 cat >> confdefs.h
<<\EOF
4230 #define HAVE_ISINF 1
4233 cat >> confdefs.h
<<\EOF
4234 #define HAVE_ISINFF 1
4237 cat >> confdefs.h
<<\EOF
4238 #define HAVE_ISNAN 1
4241 cat >> confdefs.h
<<\EOF
4242 #define HAVE_ISNANF 1
4245 cat >> confdefs.h
<<\EOF
4246 #define HAVE_LDEXPF 1
4249 cat >> confdefs.h
<<\EOF
4250 #define HAVE_LOG10F 1
4253 cat >> confdefs.h
<<\EOF
4257 cat >> confdefs.h
<<\EOF
4258 #define HAVE_MODFF 1
4261 cat >> confdefs.h
<<\EOF
4265 cat >> confdefs.h
<<\EOF
4266 #define HAVE_SINCOS 1
4269 cat >> confdefs.h
<<\EOF
4270 #define HAVE_SINCOSF 1
4273 cat >> confdefs.h
<<\EOF
4277 cat >> confdefs.h
<<\EOF
4278 #define HAVE_SINHF 1
4281 cat >> confdefs.h
<<\EOF
4282 #define HAVE_SQRTF 1
4285 cat >> confdefs.h
<<\EOF
4289 cat >> confdefs.h
<<\EOF
4290 #define HAVE_TANHF 1
4294 # At some point, we should differentiate between architectures
4295 # like x86, which have long double versions, and alpha/powerpc/etc.,
4296 # which don't. For the time being, punt.
4297 if test x
"long_double_math_on_this_cpu" = x
"yes"; then
4298 cat >> confdefs.h
<<\EOF
4299 #define HAVE_ACOSL 1
4302 cat >> confdefs.h
<<\EOF
4303 #define HAVE_ASINL 1
4306 cat >> confdefs.h
<<\EOF
4307 #define HAVE_ATAN2L 1
4310 cat >> confdefs.h
<<\EOF
4311 #define HAVE_ATANL 1
4314 cat >> confdefs.h
<<\EOF
4315 #define HAVE_CEILL 1
4318 cat >> confdefs.h
<<\EOF
4319 #define HAVE_COPYSIGNL 1
4322 cat >> confdefs.h
<<\EOF
4326 cat >> confdefs.h
<<\EOF
4327 #define HAVE_COSHL 1
4330 cat >> confdefs.h
<<\EOF
4334 cat >> confdefs.h
<<\EOF
4335 #define HAVE_FABSL 1
4338 cat >> confdefs.h
<<\EOF
4339 #define HAVE_FINITEL 1
4342 cat >> confdefs.h
<<\EOF
4343 #define HAVE_FLOORL 1
4346 cat >> confdefs.h
<<\EOF
4347 #define HAVE_FMODL 1
4350 cat >> confdefs.h
<<\EOF
4351 #define HAVE_FREXPL 1
4354 cat >> confdefs.h
<<\EOF
4355 #define HAVE_ISINFL 1
4358 cat >> confdefs.h
<<\EOF
4359 #define HAVE_ISNANL 1
4362 cat >> confdefs.h
<<\EOF
4363 #define HAVE_LDEXPL 1
4366 cat >> confdefs.h
<<\EOF
4367 #define HAVE_LOG10L 1
4370 cat >> confdefs.h
<<\EOF
4374 cat >> confdefs.h
<<\EOF
4375 #define HAVE_MODFL 1
4378 cat >> confdefs.h
<<\EOF
4382 cat >> confdefs.h
<<\EOF
4383 #define HAVE_SINCOSL 1
4386 cat >> confdefs.h
<<\EOF
4390 cat >> confdefs.h
<<\EOF
4391 #define HAVE_SINHL 1
4394 cat >> confdefs.h
<<\EOF
4395 #define HAVE_SQRTL 1
4398 cat >> confdefs.h
<<\EOF
4402 cat >> confdefs.h
<<\EOF
4403 #define HAVE_TANHL 1
4408 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4409 echo "configure:4410: checking for main in -lm" >&5
4410 ac_lib_var
=`echo m'_'main | sed 'y%./+-%__p_%'`
4411 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4412 echo $ac_n "(cached) $ac_c" 1>&6
4414 ac_save_LIBS
="$LIBS"
4416 cat > conftest.
$ac_ext <<EOF
4417 #line 4418 "configure"
4418 #include "confdefs.h"
4424 if { (eval echo configure
:4425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4426 eval "ac_cv_lib_$ac_lib_var=yes"
4428 echo "configure: failed program was:" >&5
4429 cat conftest.
$ac_ext >&5
4431 eval "ac_cv_lib_$ac_lib_var=no"
4434 LIBS
="$ac_save_LIBS"
4437 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4438 echo "$ac_t""yes" 1>&6
4439 ac_tr_lib
=HAVE_LIB
`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4440 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4441 cat >> confdefs.h
<<EOF
4442 #define $ac_tr_lib 1
4448 echo "$ac_t""no" 1>&6
4451 for ac_func
in nan hypot hypotf atan2f expf copysignf
4453 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4454 echo "configure:4455: checking for $ac_func" >&5
4455 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4456 echo $ac_n "(cached) $ac_c" 1>&6
4458 cat > conftest.
$ac_ext <<EOF
4459 #line 4460 "configure"
4460 #include "confdefs.h"
4461 /* System header to define __stub macros and hopefully few prototypes,
4462 which can conflict with char $ac_func(); below. */
4464 /* Override any gcc2 internal prototype to avoid an error. */
4465 /* We use char because int might match the return type of a gcc2
4466 builtin and then its argument prototype would still apply. */
4471 /* The GNU C library defines this for functions which it implements
4472 to always fail with ENOSYS. Some functions are actually named
4473 something starting with __ and the normal name is an alias. */
4474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4482 if { (eval echo configure
:4483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4484 eval "ac_cv_func_$ac_func=yes"
4486 echo "configure: failed program was:" >&5
4487 cat conftest.
$ac_ext >&5
4489 eval "ac_cv_func_$ac_func=no"
4494 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4495 echo "$ac_t""yes" 1>&6
4496 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4497 cat >> confdefs.h
<<EOF
4498 #define $ac_tr_func 1
4502 echo "$ac_t""no" 1>&6
4503 LIBMATHOBJS
="$LIBMATHOBJS ${ac_func}.lo"
4509 USE_COMPLEX_LONG_DOUBLE
=no
4510 if test x
$ac_cv_func_atan2l = x
"yes" \
4511 && test x
$ac_cv_func_copysignl = x
"yes"; then
4512 USE_COMPLEX_LONG_DOUBLE
=yes
4513 for ac_func
in hypotl signbitl
4515 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4516 echo "configure:4517: checking for $ac_func" >&5
4517 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4518 echo $ac_n "(cached) $ac_c" 1>&6
4520 cat > conftest.
$ac_ext <<EOF
4521 #line 4522 "configure"
4522 #include "confdefs.h"
4523 /* System header to define __stub macros and hopefully few prototypes,
4524 which can conflict with char $ac_func(); below. */
4526 /* Override any gcc2 internal prototype to avoid an error. */
4527 /* We use char because int might match the return type of a gcc2
4528 builtin and then its argument prototype would still apply. */
4533 /* The GNU C library defines this for functions which it implements
4534 to always fail with ENOSYS. Some functions are actually named
4535 something starting with __ and the normal name is an alias. */
4536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4544 if { (eval echo configure
:4545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4546 eval "ac_cv_func_$ac_func=yes"
4548 echo "configure: failed program was:" >&5
4549 cat conftest.
$ac_ext >&5
4551 eval "ac_cv_func_$ac_func=no"
4556 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4557 echo "$ac_t""yes" 1>&6
4558 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4559 cat >> confdefs.h
<<EOF
4560 #define $ac_tr_func 1
4564 echo "$ac_t""no" 1>&6
4565 LIBMATHOBJS
="$LIBMATHOBJS ${ac_func}.lo"
4577 echo $ac_n "checking for GNU C++ __complex__ support""... $ac_c" 1>&6
4578 echo "configure:4579: checking for GNU C++ __complex__ support" >&5
4579 if eval "test \"`echo '$''{'glibcpp_cv_complex'+set}'`\" = set"; then
4580 echo $ac_n "(cached) $ac_c" 1>&6
4585 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4586 ac_cpp
='$CXXCPP $CPPFLAGS'
4587 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4588 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4589 cross_compiling
=$ac_cv_prog_cxx_cross
4591 cat > conftest.
$ac_ext <<EOF
4592 #line 4593 "configure"
4593 #include "confdefs.h"
4594 struct dcomplex { __complex__ double x; }; \
4595 dcomplex f(const dcomplex& x) { return dcomplex(x); }
4601 if { (eval echo configure
:4602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4603 glibcpp_cv_complex
=ok
4605 echo "configure: failed program was:" >&5
4606 cat conftest.
$ac_ext >&5
4608 glibcpp_cv_complex
=buggy
4613 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4614 ac_cpp
='$CPP $CPPFLAGS'
4615 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4616 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4617 cross_compiling
=$ac_cv_prog_cc_cross
4622 echo "$ac_t""$glibcpp_cv_complex" 1>&6
4623 if test $glibcpp_cv_complex = buggy
; then
4624 cat >> confdefs.h
<<\EOF
4625 #define _GLIBCPP_BUGGY_COMPLEX 1
4630 echo $ac_n "checking for GNU C++ __complex__ float support""... $ac_c" 1>&6
4631 echo "configure:4632: checking for GNU C++ __complex__ float support" >&5
4632 if eval "test \"`echo '$''{'glibcpp_cv_float_complex'+set}'`\" = set"; then
4633 echo $ac_n "(cached) $ac_c" 1>&6
4638 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4639 ac_cpp
='$CXXCPP $CPPFLAGS'
4640 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4641 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4642 cross_compiling
=$ac_cv_prog_cxx_cross
4645 cat > conftest.h
<<EOB
4647 // Check for buggy __complex__ that causes ICE in most versions of egcs
4648 // and gcc-2.95.x on certain platforms (eg., x86-win32).
4650 // See http://gcc.gnu.org/ml/gcc-bugs/1999-07n/msg00845.html for
4651 // more info on the bug itself.
4656 __complex__ float m_value;
4657 float_complex (float = 0.0f, float = 0.0f);
4658 float_complex (__complex__ float val) : m_value (val) {}
4659 float_complex foo (const float_complex &val)
4660 { return float_complex (~val.m_value); }
4663 cat > conftest.
$ac_ext <<EOF
4664 #line 4665 "configure"
4665 #include "confdefs.h"
4666 #include "conftest.h"
4671 if { (eval echo configure
:4672: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4673 glibcpp_cv_float_complex
=ok
4675 echo "configure: failed program was:" >&5
4676 cat conftest.
$ac_ext >&5
4678 glibcpp_cv_float_complex
=buggy
4683 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4684 ac_cpp
='$CPP $CPPFLAGS'
4685 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4686 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4687 cross_compiling
=$ac_cv_prog_cc_cross
4692 echo "$ac_t""$glibcpp_cv_float_complex" 1>&6
4693 if test $glibcpp_cv_float_complex = buggy
; then
4694 cat >> confdefs.h
<<\EOF
4695 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
4702 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4703 echo "configure:4704: checking for mbstate_t" >&5
4704 cat > conftest.
$ac_ext <<EOF
4705 #line 4706 "configure"
4706 #include "confdefs.h"
4709 mbstate_t teststate;
4712 if { (eval echo configure
:4713: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4716 echo "configure: failed program was:" >&5
4717 cat conftest.
$ac_ext >&5
4722 echo "$ac_t""$have_mbstate_t" 1>&6
4723 if test x
"$have_mbstate_t" = xyes
; then
4724 cat >> confdefs.h
<<\EOF
4725 #define HAVE_MBSTATE_T 1
4730 for ac_hdr
in wchar.h
4732 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4733 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4734 echo "configure:4735: checking for $ac_hdr" >&5
4735 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4736 echo $ac_n "(cached) $ac_c" 1>&6
4738 cat > conftest.
$ac_ext <<EOF
4739 #line 4740 "configure"
4740 #include "confdefs.h"
4743 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4744 { (eval echo configure
:4745: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4745 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4746 if test -z "$ac_err"; then
4748 eval "ac_cv_header_$ac_safe=yes"
4751 echo "configure: failed program was:" >&5
4752 cat conftest.
$ac_ext >&5
4754 eval "ac_cv_header_$ac_safe=no"
4758 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4759 echo "$ac_t""yes" 1>&6
4760 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4761 cat >> confdefs.h
<<EOF
4762 #define $ac_tr_hdr 1
4766 echo "$ac_t""no" 1>&6
4771 ac_safe
=`echo "wctype.h" | sed 'y%./+-%__p_%'`
4772 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
4773 echo "configure:4774: checking for wctype.h" >&5
4774 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4775 echo $ac_n "(cached) $ac_c" 1>&6
4777 cat > conftest.
$ac_ext <<EOF
4778 #line 4779 "configure"
4779 #include "confdefs.h"
4782 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4783 { (eval echo configure
:4784: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4784 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4785 if test -z "$ac_err"; then
4787 eval "ac_cv_header_$ac_safe=yes"
4790 echo "configure: failed program was:" >&5
4791 cat conftest.
$ac_ext >&5
4793 eval "ac_cv_header_$ac_safe=no"
4797 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4798 echo "$ac_t""yes" 1>&6
4801 echo "$ac_t""no" 1>&6
4806 if test x
"$ac_has_wchar_h" = xyes
&& test x
"$ac_has_wctype_h" = xyes \
4807 && test x
"$enable_c_mbchar" != xno
; then
4809 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4810 echo "configure:4811: checking for WCHAR_MIN and WCHAR_MAX" >&5
4811 cat > conftest.
$ac_ext <<EOF
4812 #line 4813 "configure"
4813 #include "confdefs.h"
4816 int i = WCHAR_MIN; int j = WCHAR_MAX;
4819 if { (eval echo configure
:4820: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4821 has_wchar_minmax
=yes
4823 echo "configure: failed program was:" >&5
4824 cat conftest.
$ac_ext >&5
4829 echo "$ac_t""$has_wchar_minmax" 1>&6
4831 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4832 echo "configure:4833: checking for WEOF" >&5
4833 cat > conftest.
$ac_ext <<EOF
4834 #line 4835 "configure"
4835 #include "confdefs.h"
4843 if { (eval echo configure
:4844: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4847 echo "configure: failed program was:" >&5
4848 cat conftest.
$ac_ext >&5
4853 echo "$ac_t""$has_weof" 1>&6
4855 for ac_func
in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset \
4858 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4859 echo "configure:4860: checking for $ac_func" >&5
4860 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4861 echo $ac_n "(cached) $ac_c" 1>&6
4863 cat > conftest.
$ac_ext <<EOF
4864 #line 4865 "configure"
4865 #include "confdefs.h"
4866 /* System header to define __stub macros and hopefully few prototypes,
4867 which can conflict with char $ac_func(); below. */
4869 /* Override any gcc2 internal prototype to avoid an error. */
4870 /* We use char because int might match the return type of a gcc2
4871 builtin and then its argument prototype would still apply. */
4876 /* The GNU C library defines this for functions which it implements
4877 to always fail with ENOSYS. Some functions are actually named
4878 something starting with __ and the normal name is an alias. */
4879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4887 if { (eval echo configure
:4888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4889 eval "ac_cv_func_$ac_func=yes"
4891 echo "configure: failed program was:" >&5
4892 cat conftest.
$ac_ext >&5
4894 eval "ac_cv_func_$ac_func=no"
4899 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4900 echo "$ac_t""yes" 1>&6
4901 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4902 cat >> confdefs.h
<<EOF
4903 #define $ac_tr_func 1
4907 echo "$ac_t""no" 1>&6
4913 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4914 echo "configure:4915: checking for ISO C99 wchar_t support" >&5
4915 if test x
"$has_weof" = xyes
&& test x
"$has_wchar_minmax" = xyes \
4916 && test x
"$ac_wfuncs" = xyes
; then
4917 ac_isoC99_wchar_t
=yes
4919 ac_isoC99_wchar_t
=no
4921 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4923 ac_safe
=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4924 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4925 echo "configure:4926: checking for iconv.h" >&5
4926 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4927 echo $ac_n "(cached) $ac_c" 1>&6
4929 cat > conftest.
$ac_ext <<EOF
4930 #line 4931 "configure"
4931 #include "confdefs.h"
4934 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4935 { (eval echo configure
:4936: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4936 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4937 if test -z "$ac_err"; then
4939 eval "ac_cv_header_$ac_safe=yes"
4942 echo "configure: failed program was:" >&5
4943 cat conftest.
$ac_ext >&5
4945 eval "ac_cv_header_$ac_safe=no"
4949 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4950 echo "$ac_t""yes" 1>&6
4953 echo "$ac_t""no" 1>&6
4957 ac_safe
=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4958 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4959 echo "configure:4960: checking for langinfo.h" >&5
4960 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4961 echo $ac_n "(cached) $ac_c" 1>&6
4963 cat > conftest.
$ac_ext <<EOF
4964 #line 4965 "configure"
4965 #include "confdefs.h"
4966 #include <langinfo.h>
4968 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4969 { (eval echo configure
:4970: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4970 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4971 if test -z "$ac_err"; then
4973 eval "ac_cv_header_$ac_safe=yes"
4976 echo "configure: failed program was:" >&5
4977 cat conftest.
$ac_ext >&5
4979 eval "ac_cv_header_$ac_safe=no"
4983 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4984 echo "$ac_t""yes" 1>&6
4985 ac_has_langinfo_h
=yes
4987 echo "$ac_t""no" 1>&6
4988 ac_has_langinfo_h
=no
4992 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4993 echo "configure:4994: checking for iconv in -liconv" >&5
4994 ac_lib_var
=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4995 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4996 echo $ac_n "(cached) $ac_c" 1>&6
4998 ac_save_LIBS
="$LIBS"
4999 LIBS
="-liconv $LIBS"
5000 cat > conftest.
$ac_ext <<EOF
5001 #line 5002 "configure"
5002 #include "confdefs.h"
5003 /* Override any gcc2 internal prototype to avoid an error. */
5004 /* We use char because int might match the return type of a gcc2
5005 builtin and then its argument prototype would still apply. */
5012 if { (eval echo configure
:5013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5014 eval "ac_cv_lib_$ac_lib_var=yes"
5016 echo "configure: failed program was:" >&5
5017 cat conftest.
$ac_ext >&5
5019 eval "ac_cv_lib_$ac_lib_var=no"
5022 LIBS
="$ac_save_LIBS"
5025 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5026 echo "$ac_t""yes" 1>&6
5029 echo "$ac_t""no" 1>&6
5032 ac_save_LIBS
="$LIBS"
5033 LIBS
="$LIBS $libiconv"
5035 for ac_func
in iconv_open iconv_close
iconv nl_langinfo
5037 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5038 echo "configure:5039: checking for $ac_func" >&5
5039 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5040 echo $ac_n "(cached) $ac_c" 1>&6
5042 cat > conftest.
$ac_ext <<EOF
5043 #line 5044 "configure"
5044 #include "confdefs.h"
5045 /* System header to define __stub macros and hopefully few prototypes,
5046 which can conflict with char $ac_func(); below. */
5048 /* Override any gcc2 internal prototype to avoid an error. */
5049 /* We use char because int might match the return type of a gcc2
5050 builtin and then its argument prototype would still apply. */
5055 /* The GNU C library defines this for functions which it implements
5056 to always fail with ENOSYS. Some functions are actually named
5057 something starting with __ and the normal name is an alias. */
5058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5066 if { (eval echo configure
:5067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5068 eval "ac_cv_func_$ac_func=yes"
5070 echo "configure: failed program was:" >&5
5071 cat conftest.
$ac_ext >&5
5073 eval "ac_cv_func_$ac_func=no"
5078 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5079 echo "$ac_t""yes" 1>&6
5080 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5081 cat >> confdefs.h
<<EOF
5082 #define $ac_tr_func 1
5087 echo "$ac_t""no" 1>&6
5093 LIBS
="$ac_save_LIBS"
5095 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5096 echo "configure:5097: checking for XPG2 wchar_t support" >&5
5097 if test x
"$ac_has_iconv_h" = xyes
&& test x
"$ac_has_langinfo_h" = xyes \
5098 && test x
"$ac_XPG2funcs" = xyes
; then
5103 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5105 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5106 echo "configure:5107: checking for enabled wchar_t specializations" >&5
5107 if test x
"$ac_isoC99_wchar_t" = xyes \
5108 && test x
"$ac_XPG2_wchar_t" = xyes
; then
5109 cat >> confdefs.h
<<\EOF
5110 #define _GLIBCPP_USE_WCHAR_T 1
5113 echo "$ac_t"""yes"" 1>&6
5115 echo "$ac_t"""no
"" 1>&6
5118 echo "configure: warning: wchar_t support disabled." 1>&2
5121 os_include_dir
="config/os/gnu-linux"
5122 # GLIBCPP_CHECK_STDLIB_SUPPORT
5123 cat >> confdefs.h
<<\EOF
5124 #define HAVE_STRTOF 1
5127 cat >> confdefs.h
<<\EOF
5128 #define HAVE_STRTOLD 1
5132 cat >> confdefs.h
<<\EOF
5138 # We assume newlib. This lets us hard-code the functions we know
5140 cat >> confdefs.h
<<\EOF
5141 #define HAVE_FINITE 1
5144 cat >> confdefs.h
<<\EOF
5145 #define HAVE_ISNAN 1
5148 cat >> confdefs.h
<<\EOF
5149 #define HAVE_ISNANF 1
5152 cat >> confdefs.h
<<\EOF
5153 #define HAVE_ISINF 1
5156 cat >> confdefs.h
<<\EOF
5157 #define HAVE_ISINFF 1
5161 os_include_dir
="config/os/newlib"
5163 cat >> confdefs.h
<<\EOF
5164 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
5167 cat >> confdefs.h
<<\EOF
5168 #define _GLIBCPP_BUGGY_COMPLEX 1
5171 # need to check for faster f versions of math functions, ie sinf?
5176 # We are being configured natively. We can do more elaborate tests
5177 # that include AC_TRY_COMPILE now, as the linker is assumed to be
5184 # Check for available headers.
5185 for ac_hdr
in nan.h ieeefp.h endian.h sys
/isa_defs.h machine
/endian.h \
5186 machine
/param.h sys
/machine.h fp.h locale.h float.h inttypes.h gconv.h
5188 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5189 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5190 echo "configure:5191: checking for $ac_hdr" >&5
5191 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5192 echo $ac_n "(cached) $ac_c" 1>&6
5194 cat > conftest.
$ac_ext <<EOF
5195 #line 5196 "configure"
5196 #include "confdefs.h"
5199 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5200 { (eval echo configure
:5201: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5201 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5202 if test -z "$ac_err"; then
5204 eval "ac_cv_header_$ac_safe=yes"
5207 echo "configure: failed program was:" >&5
5208 cat conftest.
$ac_ext >&5
5210 eval "ac_cv_header_$ac_safe=no"
5214 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5215 echo "$ac_t""yes" 1>&6
5216 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5217 cat >> confdefs.h
<<EOF
5218 #define $ac_tr_hdr 1
5222 echo "$ac_t""no" 1>&6
5228 # All these tests are for C++; save the language and the compiler flags.
5229 # The CXXFLAGS thing is suspicious, but based on similar bits
5230 # found in GLIBCPP_CONFIGURE.
5233 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5234 ac_cpp
='$CXXCPP $CPPFLAGS'
5235 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5236 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5237 cross_compiling
=$ac_cv_prog_cxx_cross
5239 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
5240 ac_save_CXXFLAGS
="$CXXFLAGS"
5242 # Check for maintainer-mode bits.
5243 if test x
"$USE_MAINTAINER_MODE" = xno
; then
5249 # Check for -ffunction-sections -fdata-sections
5250 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
5251 echo "configure:5252: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
5252 CXXFLAGS
='-Werror -ffunction-sections -fdata-sections'
5253 cat > conftest.
$ac_ext <<EOF
5254 #line 5255 "configure"
5255 #include "confdefs.h"
5262 if { (eval echo configure
:5263: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5266 echo "configure: failed program was:" >&5
5267 cat conftest.
$ac_ext >&5
5272 if test "$ac_test_CXXFLAGS" = set; then
5273 CXXFLAGS
="$ac_save_CXXFLAGS"
5275 # this is the suspicious part
5278 if test x
"$ac_fdsections" = x
"yes" && test x
"$enable_debug" = x
"no"; then
5279 SECTION_FLAGS
='-ffunction-sections -fdata-sections'
5281 echo "$ac_t""$ac_fdsections" 1>&6
5284 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5285 ac_cpp
='$CPP $CPPFLAGS'
5286 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5287 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5288 cross_compiling
=$ac_cv_prog_cc_cross
5294 # If we're not using GNU ld, then there's no point in even trying these
5295 # tests. Check for that first. We should have already tested for gld
5296 # by now (in libtool), but require it now just to be safe...
5301 # Set --gc-sections.
5302 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
5303 # GNU ld it is! Joy and bunny rabbits!
5305 # All these tests are for C++; save the language and the compiler flags.
5306 # Need to do this so that g++ won't try to link in libstdc++
5307 ac_test_CFLAGS
="${CFLAGS+set}"
5308 ac_save_CFLAGS
="$CFLAGS"
5309 CFLAGS
='-x c++ -Wl,--gc-sections'
5311 # Check for -Wl,--gc-sections
5312 # XXX This test is broken at the moment, as symbols required for
5313 # linking are now in libsupc++ (not built yet.....). In addition,
5314 # this test has cored on solaris in the past. In addition,
5315 # --gc-sections doesn't really work at the moment (keeps on discarding
5316 # used sections, first .eh_frame and now some of the glibc sections for
5317 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5318 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5319 echo "configure:5320: checking for ld that supports -Wl,--gc-sections" >&5
5320 if test "$cross_compiling" = yes; then
5321 ac_sectionLDflags
=yes
5323 cat > conftest.
$ac_ext <<EOF
5324 #line 5325 "configure"
5325 #include "confdefs.h"
5335 if { (eval echo configure
:5336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
5337 ac_sectionLDflags
=yes
5339 echo "configure: failed program was:" >&5
5340 cat conftest.
$ac_ext >&5
5342 ac_sectionLFflags
=no
5347 if test "$ac_test_CFLAGS" = set; then
5348 CFLAGS
="$ac_save_CFLAGS"
5350 # this is the suspicious part
5353 if test "$ac_sectionLDflags" = "yes"; then
5354 SECTION_LDFLAGS
='-Wl,--gc-sections'
5356 echo "$ac_t""$ac_sectionLDflags" 1>&6
5359 # Set linker optimization flags.
5360 if test x
"$ac_cv_prog_gnu_ld" = x
"yes" && test x
"$enable_debug" = x
"no"; then
5361 OPT_LDFLAGS
='-Wl,-O1'
5369 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
5370 echo "configure:5371: checking for __builtin_abs declaration" >&5
5371 if test x
${glibcpp_cv_func___builtin_abs_use+set} != xset
; then
5372 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
5373 echo $ac_n "(cached) $ac_c" 1>&6
5378 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5379 ac_cpp
='$CXXCPP $CPPFLAGS'
5380 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5381 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5382 cross_compiling
=$ac_cv_prog_cxx_cross
5384 cat > conftest.
$ac_ext <<EOF
5385 #line 5386 "configure"
5386 #include "confdefs.h"
5392 if { (eval echo configure
:5393: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5394 glibcpp_cv_func___builtin_abs_use
=yes
5396 echo "configure: failed program was:" >&5
5397 cat conftest.
$ac_ext >&5
5399 glibcpp_cv_func___builtin_abs_use
=no
5403 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5404 ac_cpp
='$CPP $CPPFLAGS'
5405 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5406 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5407 cross_compiling
=$ac_cv_prog_cc_cross
5413 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
5414 if test x
$glibcpp_cv_func___builtin_abs_use = x
"yes"; then
5415 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
5416 echo "configure:5417: checking for __builtin_abs linkage" >&5
5417 if test x
${glibcpp_cv_func___builtin_abs_link+set} != xset
; then
5418 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
5419 echo $ac_n "(cached) $ac_c" 1>&6
5422 cat > conftest.
$ac_ext <<EOF
5423 #line 5424 "configure"
5424 #include "confdefs.h"
5430 if { (eval echo configure
:5431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5432 glibcpp_cv_func___builtin_abs_link
=yes
5434 echo "configure: failed program was:" >&5
5435 cat conftest.
$ac_ext >&5
5437 glibcpp_cv_func___builtin_abs_link
=no
5444 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
5445 if test x
$glibcpp_cv_func___builtin_abs_link = x
"yes"; then
5446 ac_tr_func
=HAVE_
`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5447 cat >> confdefs.h
<<EOF
5448 #define ${ac_tr_func} 1
5455 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
5456 echo "configure:5457: checking for __builtin_fabsf declaration" >&5
5457 if test x
${glibcpp_cv_func___builtin_fabsf_use+set} != xset
; then
5458 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
5459 echo $ac_n "(cached) $ac_c" 1>&6
5464 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5465 ac_cpp
='$CXXCPP $CPPFLAGS'
5466 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5467 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5468 cross_compiling
=$ac_cv_prog_cxx_cross
5470 cat > conftest.
$ac_ext <<EOF
5471 #line 5472 "configure"
5472 #include "confdefs.h"
5478 if { (eval echo configure
:5479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5480 glibcpp_cv_func___builtin_fabsf_use
=yes
5482 echo "configure: failed program was:" >&5
5483 cat conftest.
$ac_ext >&5
5485 glibcpp_cv_func___builtin_fabsf_use
=no
5489 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5490 ac_cpp
='$CPP $CPPFLAGS'
5491 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5492 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5493 cross_compiling
=$ac_cv_prog_cc_cross
5499 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
5500 if test x
$glibcpp_cv_func___builtin_fabsf_use = x
"yes"; then
5501 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
5502 echo "configure:5503: checking for __builtin_fabsf linkage" >&5
5503 if test x
${glibcpp_cv_func___builtin_fabsf_link+set} != xset
; then
5504 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
5505 echo $ac_n "(cached) $ac_c" 1>&6
5508 cat > conftest.
$ac_ext <<EOF
5509 #line 5510 "configure"
5510 #include "confdefs.h"
5516 if { (eval echo configure
:5517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5518 glibcpp_cv_func___builtin_fabsf_link
=yes
5520 echo "configure: failed program was:" >&5
5521 cat conftest.
$ac_ext >&5
5523 glibcpp_cv_func___builtin_fabsf_link
=no
5530 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
5531 if test x
$glibcpp_cv_func___builtin_fabsf_link = x
"yes"; then
5532 ac_tr_func
=HAVE_
`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5533 cat >> confdefs.h
<<EOF
5534 #define ${ac_tr_func} 1
5541 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
5542 echo "configure:5543: checking for __builtin_fabs declaration" >&5
5543 if test x
${glibcpp_cv_func___builtin_fabs_use+set} != xset
; then
5544 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
5545 echo $ac_n "(cached) $ac_c" 1>&6
5550 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5551 ac_cpp
='$CXXCPP $CPPFLAGS'
5552 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5553 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5554 cross_compiling
=$ac_cv_prog_cxx_cross
5556 cat > conftest.
$ac_ext <<EOF
5557 #line 5558 "configure"
5558 #include "confdefs.h"
5564 if { (eval echo configure
:5565: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5566 glibcpp_cv_func___builtin_fabs_use
=yes
5568 echo "configure: failed program was:" >&5
5569 cat conftest.
$ac_ext >&5
5571 glibcpp_cv_func___builtin_fabs_use
=no
5575 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5576 ac_cpp
='$CPP $CPPFLAGS'
5577 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5578 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5579 cross_compiling
=$ac_cv_prog_cc_cross
5585 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
5586 if test x
$glibcpp_cv_func___builtin_fabs_use = x
"yes"; then
5587 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
5588 echo "configure:5589: checking for __builtin_fabs linkage" >&5
5589 if test x
${glibcpp_cv_func___builtin_fabs_link+set} != xset
; then
5590 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
5591 echo $ac_n "(cached) $ac_c" 1>&6
5594 cat > conftest.
$ac_ext <<EOF
5595 #line 5596 "configure"
5596 #include "confdefs.h"
5602 if { (eval echo configure
:5603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5604 glibcpp_cv_func___builtin_fabs_link
=yes
5606 echo "configure: failed program was:" >&5
5607 cat conftest.
$ac_ext >&5
5609 glibcpp_cv_func___builtin_fabs_link
=no
5616 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
5617 if test x
$glibcpp_cv_func___builtin_fabs_link = x
"yes"; then
5618 ac_tr_func
=HAVE_
`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5619 cat >> confdefs.h
<<EOF
5620 #define ${ac_tr_func} 1
5627 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
5628 echo "configure:5629: checking for __builtin_fabsl declaration" >&5
5629 if test x
${glibcpp_cv_func___builtin_fabsl_use+set} != xset
; then
5630 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
5631 echo $ac_n "(cached) $ac_c" 1>&6
5636 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5637 ac_cpp
='$CXXCPP $CPPFLAGS'
5638 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5639 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5640 cross_compiling
=$ac_cv_prog_cxx_cross
5642 cat > conftest.
$ac_ext <<EOF
5643 #line 5644 "configure"
5644 #include "confdefs.h"
5650 if { (eval echo configure
:5651: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5652 glibcpp_cv_func___builtin_fabsl_use
=yes
5654 echo "configure: failed program was:" >&5
5655 cat conftest.
$ac_ext >&5
5657 glibcpp_cv_func___builtin_fabsl_use
=no
5661 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5662 ac_cpp
='$CPP $CPPFLAGS'
5663 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5664 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5665 cross_compiling
=$ac_cv_prog_cc_cross
5671 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
5672 if test x
$glibcpp_cv_func___builtin_fabsl_use = x
"yes"; then
5673 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
5674 echo "configure:5675: checking for __builtin_fabsl linkage" >&5
5675 if test x
${glibcpp_cv_func___builtin_fabsl_link+set} != xset
; then
5676 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
5677 echo $ac_n "(cached) $ac_c" 1>&6
5680 cat > conftest.
$ac_ext <<EOF
5681 #line 5682 "configure"
5682 #include "confdefs.h"
5688 if { (eval echo configure
:5689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5690 glibcpp_cv_func___builtin_fabsl_link
=yes
5692 echo "configure: failed program was:" >&5
5693 cat conftest.
$ac_ext >&5
5695 glibcpp_cv_func___builtin_fabsl_link
=no
5702 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
5703 if test x
$glibcpp_cv_func___builtin_fabsl_link = x
"yes"; then
5704 ac_tr_func
=HAVE_
`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5705 cat >> confdefs.h
<<EOF
5706 #define ${ac_tr_func} 1
5713 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
5714 echo "configure:5715: checking for __builtin_labs declaration" >&5
5715 if test x
${glibcpp_cv_func___builtin_labs_use+set} != xset
; then
5716 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
5717 echo $ac_n "(cached) $ac_c" 1>&6
5722 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5723 ac_cpp
='$CXXCPP $CPPFLAGS'
5724 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5725 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5726 cross_compiling
=$ac_cv_prog_cxx_cross
5728 cat > conftest.
$ac_ext <<EOF
5729 #line 5730 "configure"
5730 #include "confdefs.h"
5736 if { (eval echo configure
:5737: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5738 glibcpp_cv_func___builtin_labs_use
=yes
5740 echo "configure: failed program was:" >&5
5741 cat conftest.
$ac_ext >&5
5743 glibcpp_cv_func___builtin_labs_use
=no
5747 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5748 ac_cpp
='$CPP $CPPFLAGS'
5749 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5750 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5751 cross_compiling
=$ac_cv_prog_cc_cross
5757 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
5758 if test x
$glibcpp_cv_func___builtin_labs_use = x
"yes"; then
5759 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
5760 echo "configure:5761: checking for __builtin_labs linkage" >&5
5761 if test x
${glibcpp_cv_func___builtin_labs_link+set} != xset
; then
5762 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
5763 echo $ac_n "(cached) $ac_c" 1>&6
5766 cat > conftest.
$ac_ext <<EOF
5767 #line 5768 "configure"
5768 #include "confdefs.h"
5774 if { (eval echo configure
:5775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5776 glibcpp_cv_func___builtin_labs_link
=yes
5778 echo "configure: failed program was:" >&5
5779 cat conftest.
$ac_ext >&5
5781 glibcpp_cv_func___builtin_labs_link
=no
5788 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
5789 if test x
$glibcpp_cv_func___builtin_labs_link = x
"yes"; then
5790 ac_tr_func
=HAVE_
`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5791 cat >> confdefs.h
<<EOF
5792 #define ${ac_tr_func} 1
5800 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
5801 echo "configure:5802: checking for __builtin_sqrtf declaration" >&5
5802 if test x
${glibcpp_cv_func___builtin_sqrtf_use+set} != xset
; then
5803 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
5804 echo $ac_n "(cached) $ac_c" 1>&6
5809 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5810 ac_cpp
='$CXXCPP $CPPFLAGS'
5811 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5812 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5813 cross_compiling
=$ac_cv_prog_cxx_cross
5815 cat > conftest.
$ac_ext <<EOF
5816 #line 5817 "configure"
5817 #include "confdefs.h"
5823 if { (eval echo configure
:5824: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5825 glibcpp_cv_func___builtin_sqrtf_use
=yes
5827 echo "configure: failed program was:" >&5
5828 cat conftest.
$ac_ext >&5
5830 glibcpp_cv_func___builtin_sqrtf_use
=no
5834 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5835 ac_cpp
='$CPP $CPPFLAGS'
5836 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5837 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5838 cross_compiling
=$ac_cv_prog_cc_cross
5844 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
5845 if test x
$glibcpp_cv_func___builtin_sqrtf_use = x
"yes"; then
5846 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
5847 echo "configure:5848: checking for __builtin_sqrtf linkage" >&5
5848 if test x
${glibcpp_cv_func___builtin_sqrtf_link+set} != xset
; then
5849 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
5850 echo $ac_n "(cached) $ac_c" 1>&6
5853 cat > conftest.
$ac_ext <<EOF
5854 #line 5855 "configure"
5855 #include "confdefs.h"
5861 if { (eval echo configure
:5862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5863 glibcpp_cv_func___builtin_sqrtf_link
=yes
5865 echo "configure: failed program was:" >&5
5866 cat conftest.
$ac_ext >&5
5868 glibcpp_cv_func___builtin_sqrtf_link
=no
5875 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
5876 if test x
$glibcpp_cv_func___builtin_sqrtf_link = x
"yes"; then
5877 ac_tr_func
=HAVE_
`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5878 cat >> confdefs.h
<<EOF
5879 #define ${ac_tr_func} 1
5886 echo $ac_n "checking for __builtin_fsqrt declaration""... $ac_c" 1>&6
5887 echo "configure:5888: checking for __builtin_fsqrt declaration" >&5
5888 if test x
${glibcpp_cv_func___builtin_fsqrt_use+set} != xset
; then
5889 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_use'+set}'`\" = set"; then
5890 echo $ac_n "(cached) $ac_c" 1>&6
5895 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5896 ac_cpp
='$CXXCPP $CPPFLAGS'
5897 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5898 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5899 cross_compiling
=$ac_cv_prog_cxx_cross
5901 cat > conftest.
$ac_ext <<EOF
5902 #line 5903 "configure"
5903 #include "confdefs.h"
5909 if { (eval echo configure
:5910: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5911 glibcpp_cv_func___builtin_fsqrt_use
=yes
5913 echo "configure: failed program was:" >&5
5914 cat conftest.
$ac_ext >&5
5916 glibcpp_cv_func___builtin_fsqrt_use
=no
5920 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5921 ac_cpp
='$CPP $CPPFLAGS'
5922 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5923 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5924 cross_compiling
=$ac_cv_prog_cc_cross
5930 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_use" 1>&6
5931 if test x
$glibcpp_cv_func___builtin_fsqrt_use = x
"yes"; then
5932 echo $ac_n "checking for __builtin_fsqrt linkage""... $ac_c" 1>&6
5933 echo "configure:5934: checking for __builtin_fsqrt linkage" >&5
5934 if test x
${glibcpp_cv_func___builtin_fsqrt_link+set} != xset
; then
5935 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_link'+set}'`\" = set"; then
5936 echo $ac_n "(cached) $ac_c" 1>&6
5939 cat > conftest.
$ac_ext <<EOF
5940 #line 5941 "configure"
5941 #include "confdefs.h"
5947 if { (eval echo configure
:5948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5949 glibcpp_cv_func___builtin_fsqrt_link
=yes
5951 echo "configure: failed program was:" >&5
5952 cat conftest.
$ac_ext >&5
5954 glibcpp_cv_func___builtin_fsqrt_link
=no
5961 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_link" 1>&6
5962 if test x
$glibcpp_cv_func___builtin_fsqrt_link = x
"yes"; then
5963 ac_tr_func
=HAVE_
`echo __builtin_fsqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5964 cat >> confdefs.h
<<EOF
5965 #define ${ac_tr_func} 1
5972 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
5973 echo "configure:5974: checking for __builtin_sqrtl declaration" >&5
5974 if test x
${glibcpp_cv_func___builtin_sqrtl_use+set} != xset
; then
5975 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
5976 echo $ac_n "(cached) $ac_c" 1>&6
5981 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5982 ac_cpp
='$CXXCPP $CPPFLAGS'
5983 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5984 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5985 cross_compiling
=$ac_cv_prog_cxx_cross
5987 cat > conftest.
$ac_ext <<EOF
5988 #line 5989 "configure"
5989 #include "confdefs.h"
5995 if { (eval echo configure
:5996: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5997 glibcpp_cv_func___builtin_sqrtl_use
=yes
5999 echo "configure: failed program was:" >&5
6000 cat conftest.
$ac_ext >&5
6002 glibcpp_cv_func___builtin_sqrtl_use
=no
6006 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6007 ac_cpp
='$CPP $CPPFLAGS'
6008 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6009 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6010 cross_compiling
=$ac_cv_prog_cc_cross
6016 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
6017 if test x
$glibcpp_cv_func___builtin_sqrtl_use = x
"yes"; then
6018 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
6019 echo "configure:6020: checking for __builtin_sqrtl linkage" >&5
6020 if test x
${glibcpp_cv_func___builtin_sqrtl_link+set} != xset
; then
6021 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
6022 echo $ac_n "(cached) $ac_c" 1>&6
6025 cat > conftest.
$ac_ext <<EOF
6026 #line 6027 "configure"
6027 #include "confdefs.h"
6033 if { (eval echo configure
:6034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6035 glibcpp_cv_func___builtin_sqrtl_link
=yes
6037 echo "configure: failed program was:" >&5
6038 cat conftest.
$ac_ext >&5
6040 glibcpp_cv_func___builtin_sqrtl_link
=no
6047 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
6048 if test x
$glibcpp_cv_func___builtin_sqrtl_link = x
"yes"; then
6049 ac_tr_func
=HAVE_
`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6050 cat >> confdefs.h
<<EOF
6051 #define ${ac_tr_func} 1
6059 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
6060 echo "configure:6061: checking for __builtin_sinf declaration" >&5
6061 if test x
${glibcpp_cv_func___builtin_sinf_use+set} != xset
; then
6062 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
6063 echo $ac_n "(cached) $ac_c" 1>&6
6068 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6069 ac_cpp
='$CXXCPP $CPPFLAGS'
6070 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6071 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6072 cross_compiling
=$ac_cv_prog_cxx_cross
6074 cat > conftest.
$ac_ext <<EOF
6075 #line 6076 "configure"
6076 #include "confdefs.h"
6082 if { (eval echo configure
:6083: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6084 glibcpp_cv_func___builtin_sinf_use
=yes
6086 echo "configure: failed program was:" >&5
6087 cat conftest.
$ac_ext >&5
6089 glibcpp_cv_func___builtin_sinf_use
=no
6093 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6094 ac_cpp
='$CPP $CPPFLAGS'
6095 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6096 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6097 cross_compiling
=$ac_cv_prog_cc_cross
6103 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
6104 if test x
$glibcpp_cv_func___builtin_sinf_use = x
"yes"; then
6105 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
6106 echo "configure:6107: checking for __builtin_sinf linkage" >&5
6107 if test x
${glibcpp_cv_func___builtin_sinf_link+set} != xset
; then
6108 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
6109 echo $ac_n "(cached) $ac_c" 1>&6
6112 cat > conftest.
$ac_ext <<EOF
6113 #line 6114 "configure"
6114 #include "confdefs.h"
6120 if { (eval echo configure
:6121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6122 glibcpp_cv_func___builtin_sinf_link
=yes
6124 echo "configure: failed program was:" >&5
6125 cat conftest.
$ac_ext >&5
6127 glibcpp_cv_func___builtin_sinf_link
=no
6134 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
6135 if test x
$glibcpp_cv_func___builtin_sinf_link = x
"yes"; then
6136 ac_tr_func
=HAVE_
`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6137 cat >> confdefs.h
<<EOF
6138 #define ${ac_tr_func} 1
6145 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
6146 echo "configure:6147: checking for __builtin_sin declaration" >&5
6147 if test x
${glibcpp_cv_func___builtin_sin_use+set} != xset
; then
6148 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
6149 echo $ac_n "(cached) $ac_c" 1>&6
6154 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6155 ac_cpp
='$CXXCPP $CPPFLAGS'
6156 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6157 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6158 cross_compiling
=$ac_cv_prog_cxx_cross
6160 cat > conftest.
$ac_ext <<EOF
6161 #line 6162 "configure"
6162 #include "confdefs.h"
6168 if { (eval echo configure
:6169: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6170 glibcpp_cv_func___builtin_sin_use
=yes
6172 echo "configure: failed program was:" >&5
6173 cat conftest.
$ac_ext >&5
6175 glibcpp_cv_func___builtin_sin_use
=no
6179 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6180 ac_cpp
='$CPP $CPPFLAGS'
6181 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6182 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6183 cross_compiling
=$ac_cv_prog_cc_cross
6189 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
6190 if test x
$glibcpp_cv_func___builtin_sin_use = x
"yes"; then
6191 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
6192 echo "configure:6193: checking for __builtin_sin linkage" >&5
6193 if test x
${glibcpp_cv_func___builtin_sin_link+set} != xset
; then
6194 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
6195 echo $ac_n "(cached) $ac_c" 1>&6
6198 cat > conftest.
$ac_ext <<EOF
6199 #line 6200 "configure"
6200 #include "confdefs.h"
6206 if { (eval echo configure
:6207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6208 glibcpp_cv_func___builtin_sin_link
=yes
6210 echo "configure: failed program was:" >&5
6211 cat conftest.
$ac_ext >&5
6213 glibcpp_cv_func___builtin_sin_link
=no
6220 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
6221 if test x
$glibcpp_cv_func___builtin_sin_link = x
"yes"; then
6222 ac_tr_func
=HAVE_
`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6223 cat >> confdefs.h
<<EOF
6224 #define ${ac_tr_func} 1
6231 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
6232 echo "configure:6233: checking for __builtin_sinl declaration" >&5
6233 if test x
${glibcpp_cv_func___builtin_sinl_use+set} != xset
; then
6234 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
6235 echo $ac_n "(cached) $ac_c" 1>&6
6240 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6241 ac_cpp
='$CXXCPP $CPPFLAGS'
6242 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6243 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6244 cross_compiling
=$ac_cv_prog_cxx_cross
6246 cat > conftest.
$ac_ext <<EOF
6247 #line 6248 "configure"
6248 #include "confdefs.h"
6254 if { (eval echo configure
:6255: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6256 glibcpp_cv_func___builtin_sinl_use
=yes
6258 echo "configure: failed program was:" >&5
6259 cat conftest.
$ac_ext >&5
6261 glibcpp_cv_func___builtin_sinl_use
=no
6265 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6266 ac_cpp
='$CPP $CPPFLAGS'
6267 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6268 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6269 cross_compiling
=$ac_cv_prog_cc_cross
6275 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
6276 if test x
$glibcpp_cv_func___builtin_sinl_use = x
"yes"; then
6277 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
6278 echo "configure:6279: checking for __builtin_sinl linkage" >&5
6279 if test x
${glibcpp_cv_func___builtin_sinl_link+set} != xset
; then
6280 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
6281 echo $ac_n "(cached) $ac_c" 1>&6
6284 cat > conftest.
$ac_ext <<EOF
6285 #line 6286 "configure"
6286 #include "confdefs.h"
6292 if { (eval echo configure
:6293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6294 glibcpp_cv_func___builtin_sinl_link
=yes
6296 echo "configure: failed program was:" >&5
6297 cat conftest.
$ac_ext >&5
6299 glibcpp_cv_func___builtin_sinl_link
=no
6306 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
6307 if test x
$glibcpp_cv_func___builtin_sinl_link = x
"yes"; then
6308 ac_tr_func
=HAVE_
`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6309 cat >> confdefs.h
<<EOF
6310 #define ${ac_tr_func} 1
6318 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
6319 echo "configure:6320: checking for __builtin_cosf declaration" >&5
6320 if test x
${glibcpp_cv_func___builtin_cosf_use+set} != xset
; then
6321 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
6322 echo $ac_n "(cached) $ac_c" 1>&6
6327 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6328 ac_cpp
='$CXXCPP $CPPFLAGS'
6329 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6330 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6331 cross_compiling
=$ac_cv_prog_cxx_cross
6333 cat > conftest.
$ac_ext <<EOF
6334 #line 6335 "configure"
6335 #include "confdefs.h"
6341 if { (eval echo configure
:6342: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6343 glibcpp_cv_func___builtin_cosf_use
=yes
6345 echo "configure: failed program was:" >&5
6346 cat conftest.
$ac_ext >&5
6348 glibcpp_cv_func___builtin_cosf_use
=no
6352 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6353 ac_cpp
='$CPP $CPPFLAGS'
6354 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6355 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6356 cross_compiling
=$ac_cv_prog_cc_cross
6362 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
6363 if test x
$glibcpp_cv_func___builtin_cosf_use = x
"yes"; then
6364 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
6365 echo "configure:6366: checking for __builtin_cosf linkage" >&5
6366 if test x
${glibcpp_cv_func___builtin_cosf_link+set} != xset
; then
6367 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
6368 echo $ac_n "(cached) $ac_c" 1>&6
6371 cat > conftest.
$ac_ext <<EOF
6372 #line 6373 "configure"
6373 #include "confdefs.h"
6379 if { (eval echo configure
:6380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6381 glibcpp_cv_func___builtin_cosf_link
=yes
6383 echo "configure: failed program was:" >&5
6384 cat conftest.
$ac_ext >&5
6386 glibcpp_cv_func___builtin_cosf_link
=no
6393 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
6394 if test x
$glibcpp_cv_func___builtin_cosf_link = x
"yes"; then
6395 ac_tr_func
=HAVE_
`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6396 cat >> confdefs.h
<<EOF
6397 #define ${ac_tr_func} 1
6404 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
6405 echo "configure:6406: checking for __builtin_cos declaration" >&5
6406 if test x
${glibcpp_cv_func___builtin_cos_use+set} != xset
; then
6407 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
6408 echo $ac_n "(cached) $ac_c" 1>&6
6413 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6414 ac_cpp
='$CXXCPP $CPPFLAGS'
6415 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6416 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6417 cross_compiling
=$ac_cv_prog_cxx_cross
6419 cat > conftest.
$ac_ext <<EOF
6420 #line 6421 "configure"
6421 #include "confdefs.h"
6427 if { (eval echo configure
:6428: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6429 glibcpp_cv_func___builtin_cos_use
=yes
6431 echo "configure: failed program was:" >&5
6432 cat conftest.
$ac_ext >&5
6434 glibcpp_cv_func___builtin_cos_use
=no
6438 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6439 ac_cpp
='$CPP $CPPFLAGS'
6440 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6441 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6442 cross_compiling
=$ac_cv_prog_cc_cross
6448 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
6449 if test x
$glibcpp_cv_func___builtin_cos_use = x
"yes"; then
6450 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
6451 echo "configure:6452: checking for __builtin_cos linkage" >&5
6452 if test x
${glibcpp_cv_func___builtin_cos_link+set} != xset
; then
6453 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
6454 echo $ac_n "(cached) $ac_c" 1>&6
6457 cat > conftest.
$ac_ext <<EOF
6458 #line 6459 "configure"
6459 #include "confdefs.h"
6465 if { (eval echo configure
:6466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6467 glibcpp_cv_func___builtin_cos_link
=yes
6469 echo "configure: failed program was:" >&5
6470 cat conftest.
$ac_ext >&5
6472 glibcpp_cv_func___builtin_cos_link
=no
6479 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
6480 if test x
$glibcpp_cv_func___builtin_cos_link = x
"yes"; then
6481 ac_tr_func
=HAVE_
`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6482 cat >> confdefs.h
<<EOF
6483 #define ${ac_tr_func} 1
6490 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
6491 echo "configure:6492: checking for __builtin_cosl declaration" >&5
6492 if test x
${glibcpp_cv_func___builtin_cosl_use+set} != xset
; then
6493 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
6494 echo $ac_n "(cached) $ac_c" 1>&6
6499 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6500 ac_cpp
='$CXXCPP $CPPFLAGS'
6501 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6502 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6503 cross_compiling
=$ac_cv_prog_cxx_cross
6505 cat > conftest.
$ac_ext <<EOF
6506 #line 6507 "configure"
6507 #include "confdefs.h"
6513 if { (eval echo configure
:6514: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6515 glibcpp_cv_func___builtin_cosl_use
=yes
6517 echo "configure: failed program was:" >&5
6518 cat conftest.
$ac_ext >&5
6520 glibcpp_cv_func___builtin_cosl_use
=no
6524 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6525 ac_cpp
='$CPP $CPPFLAGS'
6526 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6527 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6528 cross_compiling
=$ac_cv_prog_cc_cross
6534 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
6535 if test x
$glibcpp_cv_func___builtin_cosl_use = x
"yes"; then
6536 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
6537 echo "configure:6538: checking for __builtin_cosl linkage" >&5
6538 if test x
${glibcpp_cv_func___builtin_cosl_link+set} != xset
; then
6539 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
6540 echo $ac_n "(cached) $ac_c" 1>&6
6543 cat > conftest.
$ac_ext <<EOF
6544 #line 6545 "configure"
6545 #include "confdefs.h"
6551 if { (eval echo configure
:6552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6553 glibcpp_cv_func___builtin_cosl_link
=yes
6555 echo "configure: failed program was:" >&5
6556 cat conftest.
$ac_ext >&5
6558 glibcpp_cv_func___builtin_cosl_link
=no
6565 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
6566 if test x
$glibcpp_cv_func___builtin_cosl_link = x
"yes"; then
6567 ac_tr_func
=HAVE_
`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6568 cat >> confdefs.h
<<EOF
6569 #define ${ac_tr_func} 1
6577 if test x
$dummyvar = x
"yes"; then
6578 cat >> confdefs.h
<<\EOF
6579 #define HAVE___BUILTIN_ABS 1
6582 cat >> confdefs.h
<<\EOF
6583 #define HAVE___BUILTIN_LABS 1
6586 cat >> confdefs.h
<<\EOF
6587 #define HAVE___BUILTIN_COS 1
6590 cat >> confdefs.h
<<\EOF
6591 #define HAVE___BUILTIN_COSF 1
6594 cat >> confdefs.h
<<\EOF
6595 #define HAVE___BUILTIN_COSL 1
6598 cat >> confdefs.h
<<\EOF
6599 #define HAVE___BUILTIN_FABS 1
6602 cat >> confdefs.h
<<\EOF
6603 #define HAVE___BUILTIN_FABSF 1
6606 cat >> confdefs.h
<<\EOF
6607 #define HAVE___BUILTIN_FABSL 1
6610 cat >> confdefs.h
<<\EOF
6611 #define HAVE___BUILTIN_SIN 1
6614 cat >> confdefs.h
<<\EOF
6615 #define HAVE___BUILTIN_SINF 1
6618 cat >> confdefs.h
<<\EOF
6619 #define HAVE___BUILTIN_SINL 1
6622 cat >> confdefs.h
<<\EOF
6623 #define HAVE___BUILTIN_FSQRT 1
6626 cat >> confdefs.h
<<\EOF
6627 #define HAVE___BUILTIN_SQRTF 1
6630 cat >> confdefs.h
<<\EOF
6631 #define HAVE___BUILTIN_SQRTL 1
6637 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6638 ac_save_CXXFLAGS
="$CXXFLAGS"
6639 CXXFLAGS
='-fno-builtins -D_GNU_SOURCE'
6641 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
6642 echo "configure:6643: checking for sin in -lm" >&5
6643 ac_lib_var
=`echo m'_'sin | sed 'y%./+-%__p_%'`
6644 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6645 echo $ac_n "(cached) $ac_c" 1>&6
6647 ac_save_LIBS
="$LIBS"
6649 cat > conftest.
$ac_ext <<EOF
6650 #line 6651 "configure"
6651 #include "confdefs.h"
6652 /* Override any gcc2 internal prototype to avoid an error. */
6653 /* We use char because int might match the return type of a gcc2
6654 builtin and then its argument prototype would still apply. */
6661 if { (eval echo configure
:6662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6663 eval "ac_cv_lib_$ac_lib_var=yes"
6665 echo "configure: failed program was:" >&5
6666 cat conftest.
$ac_ext >&5
6668 eval "ac_cv_lib_$ac_lib_var=no"
6671 LIBS
="$ac_save_LIBS"
6674 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6675 echo "$ac_t""yes" 1>&6
6678 echo "$ac_t""no" 1>&6
6681 ac_save_LIBS
="$LIBS"
6686 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
6687 echo "configure:6688: checking for isinf declaration" >&5
6688 if test x
${glibcpp_cv_func_isinf_use+set} != xset
; then
6689 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
6690 echo $ac_n "(cached) $ac_c" 1>&6
6695 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6696 ac_cpp
='$CXXCPP $CPPFLAGS'
6697 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6698 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6699 cross_compiling
=$ac_cv_prog_cxx_cross
6701 cat > conftest.
$ac_ext <<EOF
6702 #line 6703 "configure"
6703 #include "confdefs.h"
6705 #ifdef HAVE_IEEEFP_H
6713 if { (eval echo configure
:6714: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6715 glibcpp_cv_func_isinf_use
=yes
6717 echo "configure: failed program was:" >&5
6718 cat conftest.
$ac_ext >&5
6720 glibcpp_cv_func_isinf_use
=no
6724 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6725 ac_cpp
='$CPP $CPPFLAGS'
6726 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6727 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6728 cross_compiling
=$ac_cv_prog_cc_cross
6734 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
6736 if test x
$glibcpp_cv_func_isinf_use = x
"yes"; then
6737 for ac_func
in isinf
6739 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6740 echo "configure:6741: checking for $ac_func" >&5
6741 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6742 echo $ac_n "(cached) $ac_c" 1>&6
6744 cat > conftest.
$ac_ext <<EOF
6745 #line 6746 "configure"
6746 #include "confdefs.h"
6747 /* System header to define __stub macros and hopefully few prototypes,
6748 which can conflict with char $ac_func(); below. */
6750 /* Override any gcc2 internal prototype to avoid an error. */
6751 /* We use char because int might match the return type of a gcc2
6752 builtin and then its argument prototype would still apply. */
6757 /* The GNU C library defines this for functions which it implements
6758 to always fail with ENOSYS. Some functions are actually named
6759 something starting with __ and the normal name is an alias. */
6760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6768 if { (eval echo configure
:6769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6770 eval "ac_cv_func_$ac_func=yes"
6772 echo "configure: failed program was:" >&5
6773 cat conftest.
$ac_ext >&5
6775 eval "ac_cv_func_$ac_func=no"
6780 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6781 echo "$ac_t""yes" 1>&6
6782 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6783 cat >> confdefs.h
<<EOF
6784 #define $ac_tr_func 1
6788 echo "$ac_t""no" 1>&6
6794 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
6795 echo "configure:6796: checking for _isinf declaration" >&5
6796 if test x
${glibcpp_cv_func__isinf_use+set} != xset
; then
6797 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
6798 echo $ac_n "(cached) $ac_c" 1>&6
6803 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6804 ac_cpp
='$CXXCPP $CPPFLAGS'
6805 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6806 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6807 cross_compiling
=$ac_cv_prog_cxx_cross
6809 cat > conftest.
$ac_ext <<EOF
6810 #line 6811 "configure"
6811 #include "confdefs.h"
6813 #ifdef HAVE_IEEEFP_H
6821 if { (eval echo configure
:6822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6823 glibcpp_cv_func__isinf_use
=yes
6825 echo "configure: failed program was:" >&5
6826 cat conftest.
$ac_ext >&5
6828 glibcpp_cv_func__isinf_use
=no
6832 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6833 ac_cpp
='$CPP $CPPFLAGS'
6834 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6835 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6836 cross_compiling
=$ac_cv_prog_cc_cross
6842 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
6844 if test x
$glibcpp_cv_func__isinf_use = x
"yes"; then
6845 for ac_func
in _isinf
6847 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6848 echo "configure:6849: checking for $ac_func" >&5
6849 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6850 echo $ac_n "(cached) $ac_c" 1>&6
6852 cat > conftest.
$ac_ext <<EOF
6853 #line 6854 "configure"
6854 #include "confdefs.h"
6855 /* System header to define __stub macros and hopefully few prototypes,
6856 which can conflict with char $ac_func(); below. */
6858 /* Override any gcc2 internal prototype to avoid an error. */
6859 /* We use char because int might match the return type of a gcc2
6860 builtin and then its argument prototype would still apply. */
6865 /* The GNU C library defines this for functions which it implements
6866 to always fail with ENOSYS. Some functions are actually named
6867 something starting with __ and the normal name is an alias. */
6868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6876 if { (eval echo configure
:6877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6878 eval "ac_cv_func_$ac_func=yes"
6880 echo "configure: failed program was:" >&5
6881 cat conftest.
$ac_ext >&5
6883 eval "ac_cv_func_$ac_func=no"
6888 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6889 echo "$ac_t""yes" 1>&6
6890 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6891 cat >> confdefs.h
<<EOF
6892 #define $ac_tr_func 1
6896 echo "$ac_t""no" 1>&6
6905 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
6906 echo "configure:6907: checking for isnan declaration" >&5
6907 if test x
${glibcpp_cv_func_isnan_use+set} != xset
; then
6908 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
6909 echo $ac_n "(cached) $ac_c" 1>&6
6914 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6915 ac_cpp
='$CXXCPP $CPPFLAGS'
6916 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6917 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6918 cross_compiling
=$ac_cv_prog_cxx_cross
6920 cat > conftest.
$ac_ext <<EOF
6921 #line 6922 "configure"
6922 #include "confdefs.h"
6924 #ifdef HAVE_IEEEFP_H
6932 if { (eval echo configure
:6933: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6934 glibcpp_cv_func_isnan_use
=yes
6936 echo "configure: failed program was:" >&5
6937 cat conftest.
$ac_ext >&5
6939 glibcpp_cv_func_isnan_use
=no
6943 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6944 ac_cpp
='$CPP $CPPFLAGS'
6945 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6946 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6947 cross_compiling
=$ac_cv_prog_cc_cross
6953 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
6955 if test x
$glibcpp_cv_func_isnan_use = x
"yes"; then
6956 for ac_func
in isnan
6958 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6959 echo "configure:6960: checking for $ac_func" >&5
6960 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6961 echo $ac_n "(cached) $ac_c" 1>&6
6963 cat > conftest.
$ac_ext <<EOF
6964 #line 6965 "configure"
6965 #include "confdefs.h"
6966 /* System header to define __stub macros and hopefully few prototypes,
6967 which can conflict with char $ac_func(); below. */
6969 /* Override any gcc2 internal prototype to avoid an error. */
6970 /* We use char because int might match the return type of a gcc2
6971 builtin and then its argument prototype would still apply. */
6976 /* The GNU C library defines this for functions which it implements
6977 to always fail with ENOSYS. Some functions are actually named
6978 something starting with __ and the normal name is an alias. */
6979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6987 if { (eval echo configure
:6988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6989 eval "ac_cv_func_$ac_func=yes"
6991 echo "configure: failed program was:" >&5
6992 cat conftest.
$ac_ext >&5
6994 eval "ac_cv_func_$ac_func=no"
6999 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7000 echo "$ac_t""yes" 1>&6
7001 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7002 cat >> confdefs.h
<<EOF
7003 #define $ac_tr_func 1
7007 echo "$ac_t""no" 1>&6
7013 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
7014 echo "configure:7015: checking for _isnan declaration" >&5
7015 if test x
${glibcpp_cv_func__isnan_use+set} != xset
; then
7016 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
7017 echo $ac_n "(cached) $ac_c" 1>&6
7022 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7023 ac_cpp
='$CXXCPP $CPPFLAGS'
7024 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7025 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7026 cross_compiling
=$ac_cv_prog_cxx_cross
7028 cat > conftest.
$ac_ext <<EOF
7029 #line 7030 "configure"
7030 #include "confdefs.h"
7032 #ifdef HAVE_IEEEFP_H
7040 if { (eval echo configure
:7041: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7042 glibcpp_cv_func__isnan_use
=yes
7044 echo "configure: failed program was:" >&5
7045 cat conftest.
$ac_ext >&5
7047 glibcpp_cv_func__isnan_use
=no
7051 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7052 ac_cpp
='$CPP $CPPFLAGS'
7053 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7054 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7055 cross_compiling
=$ac_cv_prog_cc_cross
7061 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
7063 if test x
$glibcpp_cv_func__isnan_use = x
"yes"; then
7064 for ac_func
in _isnan
7066 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7067 echo "configure:7068: checking for $ac_func" >&5
7068 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7069 echo $ac_n "(cached) $ac_c" 1>&6
7071 cat > conftest.
$ac_ext <<EOF
7072 #line 7073 "configure"
7073 #include "confdefs.h"
7074 /* System header to define __stub macros and hopefully few prototypes,
7075 which can conflict with char $ac_func(); below. */
7077 /* Override any gcc2 internal prototype to avoid an error. */
7078 /* We use char because int might match the return type of a gcc2
7079 builtin and then its argument prototype would still apply. */
7084 /* The GNU C library defines this for functions which it implements
7085 to always fail with ENOSYS. Some functions are actually named
7086 something starting with __ and the normal name is an alias. */
7087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7095 if { (eval echo configure
:7096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7097 eval "ac_cv_func_$ac_func=yes"
7099 echo "configure: failed program was:" >&5
7100 cat conftest.
$ac_ext >&5
7102 eval "ac_cv_func_$ac_func=no"
7107 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7108 echo "$ac_t""yes" 1>&6
7109 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7110 cat >> confdefs.h
<<EOF
7111 #define $ac_tr_func 1
7115 echo "$ac_t""no" 1>&6
7124 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
7125 echo "configure:7126: checking for finite declaration" >&5
7126 if test x
${glibcpp_cv_func_finite_use+set} != xset
; then
7127 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
7128 echo $ac_n "(cached) $ac_c" 1>&6
7133 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7134 ac_cpp
='$CXXCPP $CPPFLAGS'
7135 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7136 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7137 cross_compiling
=$ac_cv_prog_cxx_cross
7139 cat > conftest.
$ac_ext <<EOF
7140 #line 7141 "configure"
7141 #include "confdefs.h"
7143 #ifdef HAVE_IEEEFP_H
7151 if { (eval echo configure
:7152: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7153 glibcpp_cv_func_finite_use
=yes
7155 echo "configure: failed program was:" >&5
7156 cat conftest.
$ac_ext >&5
7158 glibcpp_cv_func_finite_use
=no
7162 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7163 ac_cpp
='$CPP $CPPFLAGS'
7164 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7165 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7166 cross_compiling
=$ac_cv_prog_cc_cross
7172 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
7174 if test x
$glibcpp_cv_func_finite_use = x
"yes"; then
7175 for ac_func
in finite
7177 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7178 echo "configure:7179: checking for $ac_func" >&5
7179 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7180 echo $ac_n "(cached) $ac_c" 1>&6
7182 cat > conftest.
$ac_ext <<EOF
7183 #line 7184 "configure"
7184 #include "confdefs.h"
7185 /* System header to define __stub macros and hopefully few prototypes,
7186 which can conflict with char $ac_func(); below. */
7188 /* Override any gcc2 internal prototype to avoid an error. */
7189 /* We use char because int might match the return type of a gcc2
7190 builtin and then its argument prototype would still apply. */
7195 /* The GNU C library defines this for functions which it implements
7196 to always fail with ENOSYS. Some functions are actually named
7197 something starting with __ and the normal name is an alias. */
7198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7206 if { (eval echo configure
:7207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7208 eval "ac_cv_func_$ac_func=yes"
7210 echo "configure: failed program was:" >&5
7211 cat conftest.
$ac_ext >&5
7213 eval "ac_cv_func_$ac_func=no"
7218 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7219 echo "$ac_t""yes" 1>&6
7220 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7221 cat >> confdefs.h
<<EOF
7222 #define $ac_tr_func 1
7226 echo "$ac_t""no" 1>&6
7232 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
7233 echo "configure:7234: checking for _finite declaration" >&5
7234 if test x
${glibcpp_cv_func__finite_use+set} != xset
; then
7235 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
7236 echo $ac_n "(cached) $ac_c" 1>&6
7241 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7242 ac_cpp
='$CXXCPP $CPPFLAGS'
7243 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7244 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7245 cross_compiling
=$ac_cv_prog_cxx_cross
7247 cat > conftest.
$ac_ext <<EOF
7248 #line 7249 "configure"
7249 #include "confdefs.h"
7251 #ifdef HAVE_IEEEFP_H
7259 if { (eval echo configure
:7260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7261 glibcpp_cv_func__finite_use
=yes
7263 echo "configure: failed program was:" >&5
7264 cat conftest.
$ac_ext >&5
7266 glibcpp_cv_func__finite_use
=no
7270 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7271 ac_cpp
='$CPP $CPPFLAGS'
7272 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7273 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7274 cross_compiling
=$ac_cv_prog_cc_cross
7280 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
7282 if test x
$glibcpp_cv_func__finite_use = x
"yes"; then
7283 for ac_func
in _finite
7285 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7286 echo "configure:7287: checking for $ac_func" >&5
7287 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7288 echo $ac_n "(cached) $ac_c" 1>&6
7290 cat > conftest.
$ac_ext <<EOF
7291 #line 7292 "configure"
7292 #include "confdefs.h"
7293 /* System header to define __stub macros and hopefully few prototypes,
7294 which can conflict with char $ac_func(); below. */
7296 /* Override any gcc2 internal prototype to avoid an error. */
7297 /* We use char because int might match the return type of a gcc2
7298 builtin and then its argument prototype would still apply. */
7303 /* The GNU C library defines this for functions which it implements
7304 to always fail with ENOSYS. Some functions are actually named
7305 something starting with __ and the normal name is an alias. */
7306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7314 if { (eval echo configure
:7315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7316 eval "ac_cv_func_$ac_func=yes"
7318 echo "configure: failed program was:" >&5
7319 cat conftest.
$ac_ext >&5
7321 eval "ac_cv_func_$ac_func=no"
7326 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7327 echo "$ac_t""yes" 1>&6
7328 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7329 cat >> confdefs.h
<<EOF
7330 #define $ac_tr_func 1
7334 echo "$ac_t""no" 1>&6
7343 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
7344 echo "configure:7345: checking for copysign declaration" >&5
7345 if test x
${glibcpp_cv_func_copysign_use+set} != xset
; then
7346 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
7347 echo $ac_n "(cached) $ac_c" 1>&6
7352 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7353 ac_cpp
='$CXXCPP $CPPFLAGS'
7354 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7355 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7356 cross_compiling
=$ac_cv_prog_cxx_cross
7358 cat > conftest.
$ac_ext <<EOF
7359 #line 7360 "configure"
7360 #include "confdefs.h"
7366 if { (eval echo configure
:7367: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7368 glibcpp_cv_func_copysign_use
=yes
7370 echo "configure: failed program was:" >&5
7371 cat conftest.
$ac_ext >&5
7373 glibcpp_cv_func_copysign_use
=no
7377 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7378 ac_cpp
='$CPP $CPPFLAGS'
7379 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7380 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7381 cross_compiling
=$ac_cv_prog_cc_cross
7387 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
7389 if test x
$glibcpp_cv_func_copysign_use = x
"yes"; then
7390 for ac_func
in copysign
7392 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7393 echo "configure:7394: checking for $ac_func" >&5
7394 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7395 echo $ac_n "(cached) $ac_c" 1>&6
7397 cat > conftest.
$ac_ext <<EOF
7398 #line 7399 "configure"
7399 #include "confdefs.h"
7400 /* System header to define __stub macros and hopefully few prototypes,
7401 which can conflict with char $ac_func(); below. */
7403 /* Override any gcc2 internal prototype to avoid an error. */
7404 /* We use char because int might match the return type of a gcc2
7405 builtin and then its argument prototype would still apply. */
7410 /* The GNU C library defines this for functions which it implements
7411 to always fail with ENOSYS. Some functions are actually named
7412 something starting with __ and the normal name is an alias. */
7413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7421 if { (eval echo configure
:7422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7423 eval "ac_cv_func_$ac_func=yes"
7425 echo "configure: failed program was:" >&5
7426 cat conftest.
$ac_ext >&5
7428 eval "ac_cv_func_$ac_func=no"
7433 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7434 echo "$ac_t""yes" 1>&6
7435 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7436 cat >> confdefs.h
<<EOF
7437 #define $ac_tr_func 1
7441 echo "$ac_t""no" 1>&6
7447 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
7448 echo "configure:7449: checking for _copysign declaration" >&5
7449 if test x
${glibcpp_cv_func__copysign_use+set} != xset
; then
7450 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
7451 echo $ac_n "(cached) $ac_c" 1>&6
7456 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7457 ac_cpp
='$CXXCPP $CPPFLAGS'
7458 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7459 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7460 cross_compiling
=$ac_cv_prog_cxx_cross
7462 cat > conftest.
$ac_ext <<EOF
7463 #line 7464 "configure"
7464 #include "confdefs.h"
7470 if { (eval echo configure
:7471: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7472 glibcpp_cv_func__copysign_use
=yes
7474 echo "configure: failed program was:" >&5
7475 cat conftest.
$ac_ext >&5
7477 glibcpp_cv_func__copysign_use
=no
7481 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7482 ac_cpp
='$CPP $CPPFLAGS'
7483 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7484 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7485 cross_compiling
=$ac_cv_prog_cc_cross
7491 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
7493 if test x
$glibcpp_cv_func__copysign_use = x
"yes"; then
7494 for ac_func
in _copysign
7496 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7497 echo "configure:7498: checking for $ac_func" >&5
7498 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7499 echo $ac_n "(cached) $ac_c" 1>&6
7501 cat > conftest.
$ac_ext <<EOF
7502 #line 7503 "configure"
7503 #include "confdefs.h"
7504 /* System header to define __stub macros and hopefully few prototypes,
7505 which can conflict with char $ac_func(); below. */
7507 /* Override any gcc2 internal prototype to avoid an error. */
7508 /* We use char because int might match the return type of a gcc2
7509 builtin and then its argument prototype would still apply. */
7514 /* The GNU C library defines this for functions which it implements
7515 to always fail with ENOSYS. Some functions are actually named
7516 something starting with __ and the normal name is an alias. */
7517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7525 if { (eval echo configure
:7526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7527 eval "ac_cv_func_$ac_func=yes"
7529 echo "configure: failed program was:" >&5
7530 cat conftest.
$ac_ext >&5
7532 eval "ac_cv_func_$ac_func=no"
7537 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7538 echo "$ac_t""yes" 1>&6
7539 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7540 cat >> confdefs.h
<<EOF
7541 #define $ac_tr_func 1
7545 echo "$ac_t""no" 1>&6
7554 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
7555 echo "configure:7556: checking for sincos declaration" >&5
7556 if test x
${glibcpp_cv_func_sincos_use+set} != xset
; then
7557 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
7558 echo $ac_n "(cached) $ac_c" 1>&6
7563 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7564 ac_cpp
='$CXXCPP $CPPFLAGS'
7565 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7566 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7567 cross_compiling
=$ac_cv_prog_cxx_cross
7569 cat > conftest.
$ac_ext <<EOF
7570 #line 7571 "configure"
7571 #include "confdefs.h"
7577 if { (eval echo configure
:7578: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7579 glibcpp_cv_func_sincos_use
=yes
7581 echo "configure: failed program was:" >&5
7582 cat conftest.
$ac_ext >&5
7584 glibcpp_cv_func_sincos_use
=no
7588 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7589 ac_cpp
='$CPP $CPPFLAGS'
7590 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7591 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7592 cross_compiling
=$ac_cv_prog_cc_cross
7598 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
7600 if test x
$glibcpp_cv_func_sincos_use = x
"yes"; then
7601 for ac_func
in sincos
7603 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7604 echo "configure:7605: checking for $ac_func" >&5
7605 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7606 echo $ac_n "(cached) $ac_c" 1>&6
7608 cat > conftest.
$ac_ext <<EOF
7609 #line 7610 "configure"
7610 #include "confdefs.h"
7611 /* System header to define __stub macros and hopefully few prototypes,
7612 which can conflict with char $ac_func(); below. */
7614 /* Override any gcc2 internal prototype to avoid an error. */
7615 /* We use char because int might match the return type of a gcc2
7616 builtin and then its argument prototype would still apply. */
7621 /* The GNU C library defines this for functions which it implements
7622 to always fail with ENOSYS. Some functions are actually named
7623 something starting with __ and the normal name is an alias. */
7624 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7632 if { (eval echo configure
:7633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7634 eval "ac_cv_func_$ac_func=yes"
7636 echo "configure: failed program was:" >&5
7637 cat conftest.
$ac_ext >&5
7639 eval "ac_cv_func_$ac_func=no"
7644 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7645 echo "$ac_t""yes" 1>&6
7646 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7647 cat >> confdefs.h
<<EOF
7648 #define $ac_tr_func 1
7652 echo "$ac_t""no" 1>&6
7658 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
7659 echo "configure:7660: checking for _sincos declaration" >&5
7660 if test x
${glibcpp_cv_func__sincos_use+set} != xset
; then
7661 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
7662 echo $ac_n "(cached) $ac_c" 1>&6
7667 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7668 ac_cpp
='$CXXCPP $CPPFLAGS'
7669 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7670 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7671 cross_compiling
=$ac_cv_prog_cxx_cross
7673 cat > conftest.
$ac_ext <<EOF
7674 #line 7675 "configure"
7675 #include "confdefs.h"
7681 if { (eval echo configure
:7682: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7683 glibcpp_cv_func__sincos_use
=yes
7685 echo "configure: failed program was:" >&5
7686 cat conftest.
$ac_ext >&5
7688 glibcpp_cv_func__sincos_use
=no
7692 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7693 ac_cpp
='$CPP $CPPFLAGS'
7694 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7695 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7696 cross_compiling
=$ac_cv_prog_cc_cross
7702 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
7704 if test x
$glibcpp_cv_func__sincos_use = x
"yes"; then
7705 for ac_func
in _sincos
7707 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7708 echo "configure:7709: checking for $ac_func" >&5
7709 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7710 echo $ac_n "(cached) $ac_c" 1>&6
7712 cat > conftest.
$ac_ext <<EOF
7713 #line 7714 "configure"
7714 #include "confdefs.h"
7715 /* System header to define __stub macros and hopefully few prototypes,
7716 which can conflict with char $ac_func(); below. */
7718 /* Override any gcc2 internal prototype to avoid an error. */
7719 /* We use char because int might match the return type of a gcc2
7720 builtin and then its argument prototype would still apply. */
7725 /* The GNU C library defines this for functions which it implements
7726 to always fail with ENOSYS. Some functions are actually named
7727 something starting with __ and the normal name is an alias. */
7728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7736 if { (eval echo configure
:7737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7738 eval "ac_cv_func_$ac_func=yes"
7740 echo "configure: failed program was:" >&5
7741 cat conftest.
$ac_ext >&5
7743 eval "ac_cv_func_$ac_func=no"
7748 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7749 echo "$ac_t""yes" 1>&6
7750 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7751 cat >> confdefs.h
<<EOF
7752 #define $ac_tr_func 1
7756 echo "$ac_t""no" 1>&6
7765 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
7766 echo "configure:7767: checking for fpclass declaration" >&5
7767 if test x
${glibcpp_cv_func_fpclass_use+set} != xset
; then
7768 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
7769 echo $ac_n "(cached) $ac_c" 1>&6
7774 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7775 ac_cpp
='$CXXCPP $CPPFLAGS'
7776 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7777 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7778 cross_compiling
=$ac_cv_prog_cxx_cross
7780 cat > conftest.
$ac_ext <<EOF
7781 #line 7782 "configure"
7782 #include "confdefs.h"
7784 #ifdef HAVE_IEEEFP_H
7792 if { (eval echo configure
:7793: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7794 glibcpp_cv_func_fpclass_use
=yes
7796 echo "configure: failed program was:" >&5
7797 cat conftest.
$ac_ext >&5
7799 glibcpp_cv_func_fpclass_use
=no
7803 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7804 ac_cpp
='$CPP $CPPFLAGS'
7805 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7806 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7807 cross_compiling
=$ac_cv_prog_cc_cross
7813 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
7815 if test x
$glibcpp_cv_func_fpclass_use = x
"yes"; then
7816 for ac_func
in fpclass
7818 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7819 echo "configure:7820: checking for $ac_func" >&5
7820 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7821 echo $ac_n "(cached) $ac_c" 1>&6
7823 cat > conftest.
$ac_ext <<EOF
7824 #line 7825 "configure"
7825 #include "confdefs.h"
7826 /* System header to define __stub macros and hopefully few prototypes,
7827 which can conflict with char $ac_func(); below. */
7829 /* Override any gcc2 internal prototype to avoid an error. */
7830 /* We use char because int might match the return type of a gcc2
7831 builtin and then its argument prototype would still apply. */
7836 /* The GNU C library defines this for functions which it implements
7837 to always fail with ENOSYS. Some functions are actually named
7838 something starting with __ and the normal name is an alias. */
7839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7847 if { (eval echo configure
:7848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7849 eval "ac_cv_func_$ac_func=yes"
7851 echo "configure: failed program was:" >&5
7852 cat conftest.
$ac_ext >&5
7854 eval "ac_cv_func_$ac_func=no"
7859 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7860 echo "$ac_t""yes" 1>&6
7861 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7862 cat >> confdefs.h
<<EOF
7863 #define $ac_tr_func 1
7867 echo "$ac_t""no" 1>&6
7873 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
7874 echo "configure:7875: checking for _fpclass declaration" >&5
7875 if test x
${glibcpp_cv_func__fpclass_use+set} != xset
; then
7876 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
7877 echo $ac_n "(cached) $ac_c" 1>&6
7882 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7883 ac_cpp
='$CXXCPP $CPPFLAGS'
7884 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7885 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7886 cross_compiling
=$ac_cv_prog_cxx_cross
7888 cat > conftest.
$ac_ext <<EOF
7889 #line 7890 "configure"
7890 #include "confdefs.h"
7892 #ifdef HAVE_IEEEFP_H
7900 if { (eval echo configure
:7901: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7902 glibcpp_cv_func__fpclass_use
=yes
7904 echo "configure: failed program was:" >&5
7905 cat conftest.
$ac_ext >&5
7907 glibcpp_cv_func__fpclass_use
=no
7911 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7912 ac_cpp
='$CPP $CPPFLAGS'
7913 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7914 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7915 cross_compiling
=$ac_cv_prog_cc_cross
7921 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
7923 if test x
$glibcpp_cv_func__fpclass_use = x
"yes"; then
7924 for ac_func
in _fpclass
7926 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7927 echo "configure:7928: checking for $ac_func" >&5
7928 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7929 echo $ac_n "(cached) $ac_c" 1>&6
7931 cat > conftest.
$ac_ext <<EOF
7932 #line 7933 "configure"
7933 #include "confdefs.h"
7934 /* System header to define __stub macros and hopefully few prototypes,
7935 which can conflict with char $ac_func(); below. */
7937 /* Override any gcc2 internal prototype to avoid an error. */
7938 /* We use char because int might match the return type of a gcc2
7939 builtin and then its argument prototype would still apply. */
7944 /* The GNU C library defines this for functions which it implements
7945 to always fail with ENOSYS. Some functions are actually named
7946 something starting with __ and the normal name is an alias. */
7947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7955 if { (eval echo configure
:7956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7957 eval "ac_cv_func_$ac_func=yes"
7959 echo "configure: failed program was:" >&5
7960 cat conftest.
$ac_ext >&5
7962 eval "ac_cv_func_$ac_func=no"
7967 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7968 echo "$ac_t""yes" 1>&6
7969 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7970 cat >> confdefs.h
<<EOF
7971 #define $ac_tr_func 1
7975 echo "$ac_t""no" 1>&6
7984 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
7985 echo "configure:7986: checking for qfpclass declaration" >&5
7986 if test x
${glibcpp_cv_func_qfpclass_use+set} != xset
; then
7987 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
7988 echo $ac_n "(cached) $ac_c" 1>&6
7993 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7994 ac_cpp
='$CXXCPP $CPPFLAGS'
7995 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7996 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7997 cross_compiling
=$ac_cv_prog_cxx_cross
7999 cat > conftest.
$ac_ext <<EOF
8000 #line 8001 "configure"
8001 #include "confdefs.h"
8003 #ifdef HAVE_IEEEFP_H
8011 if { (eval echo configure
:8012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8013 glibcpp_cv_func_qfpclass_use
=yes
8015 echo "configure: failed program was:" >&5
8016 cat conftest.
$ac_ext >&5
8018 glibcpp_cv_func_qfpclass_use
=no
8022 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8023 ac_cpp
='$CPP $CPPFLAGS'
8024 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8025 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8026 cross_compiling
=$ac_cv_prog_cc_cross
8032 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
8034 if test x
$glibcpp_cv_func_qfpclass_use = x
"yes"; then
8035 for ac_func
in qfpclass
8037 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8038 echo "configure:8039: checking for $ac_func" >&5
8039 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8040 echo $ac_n "(cached) $ac_c" 1>&6
8042 cat > conftest.
$ac_ext <<EOF
8043 #line 8044 "configure"
8044 #include "confdefs.h"
8045 /* System header to define __stub macros and hopefully few prototypes,
8046 which can conflict with char $ac_func(); below. */
8048 /* Override any gcc2 internal prototype to avoid an error. */
8049 /* We use char because int might match the return type of a gcc2
8050 builtin and then its argument prototype would still apply. */
8055 /* The GNU C library defines this for functions which it implements
8056 to always fail with ENOSYS. Some functions are actually named
8057 something starting with __ and the normal name is an alias. */
8058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8066 if { (eval echo configure
:8067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8068 eval "ac_cv_func_$ac_func=yes"
8070 echo "configure: failed program was:" >&5
8071 cat conftest.
$ac_ext >&5
8073 eval "ac_cv_func_$ac_func=no"
8078 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8079 echo "$ac_t""yes" 1>&6
8080 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8081 cat >> confdefs.h
<<EOF
8082 #define $ac_tr_func 1
8086 echo "$ac_t""no" 1>&6
8092 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
8093 echo "configure:8094: checking for _qfpclass declaration" >&5
8094 if test x
${glibcpp_cv_func__qfpclass_use+set} != xset
; then
8095 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
8096 echo $ac_n "(cached) $ac_c" 1>&6
8101 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8102 ac_cpp
='$CXXCPP $CPPFLAGS'
8103 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8104 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8105 cross_compiling
=$ac_cv_prog_cxx_cross
8107 cat > conftest.
$ac_ext <<EOF
8108 #line 8109 "configure"
8109 #include "confdefs.h"
8111 #ifdef HAVE_IEEEFP_H
8119 if { (eval echo configure
:8120: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8121 glibcpp_cv_func__qfpclass_use
=yes
8123 echo "configure: failed program was:" >&5
8124 cat conftest.
$ac_ext >&5
8126 glibcpp_cv_func__qfpclass_use
=no
8130 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8131 ac_cpp
='$CPP $CPPFLAGS'
8132 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8133 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8134 cross_compiling
=$ac_cv_prog_cc_cross
8140 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
8142 if test x
$glibcpp_cv_func__qfpclass_use = x
"yes"; then
8143 for ac_func
in _qfpclass
8145 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8146 echo "configure:8147: checking for $ac_func" >&5
8147 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8148 echo $ac_n "(cached) $ac_c" 1>&6
8150 cat > conftest.
$ac_ext <<EOF
8151 #line 8152 "configure"
8152 #include "confdefs.h"
8153 /* System header to define __stub macros and hopefully few prototypes,
8154 which can conflict with char $ac_func(); below. */
8156 /* Override any gcc2 internal prototype to avoid an error. */
8157 /* We use char because int might match the return type of a gcc2
8158 builtin and then its argument prototype would still apply. */
8163 /* The GNU C library defines this for functions which it implements
8164 to always fail with ENOSYS. Some functions are actually named
8165 something starting with __ and the normal name is an alias. */
8166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8174 if { (eval echo configure
:8175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8176 eval "ac_cv_func_$ac_func=yes"
8178 echo "configure: failed program was:" >&5
8179 cat conftest.
$ac_ext >&5
8181 eval "ac_cv_func_$ac_func=no"
8186 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8187 echo "$ac_t""yes" 1>&6
8188 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8189 cat >> confdefs.h
<<EOF
8190 #define $ac_tr_func 1
8194 echo "$ac_t""no" 1>&6
8203 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
8204 echo "configure:8205: checking for float trig functions" >&5
8205 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
8206 echo $ac_n "(cached) $ac_c" 1>&6
8211 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8212 ac_cpp
='$CXXCPP $CPPFLAGS'
8213 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8214 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8215 cross_compiling
=$ac_cv_prog_cxx_cross
8217 cat > conftest.
$ac_ext <<EOF
8218 #line 8219 "configure"
8219 #include "confdefs.h"
8222 `for x in acosf asinf atanf \
8224 coshf sinhf tanhf; do echo "$x (0);"; done`
8227 if { (eval echo configure
:8228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8229 glibcpp_cv_func_float_trig_use
=yes
8231 echo "configure: failed program was:" >&5
8232 cat conftest.
$ac_ext >&5
8234 glibcpp_cv_func_float_trig_use
=no
8238 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8239 ac_cpp
='$CPP $CPPFLAGS'
8240 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8241 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8242 cross_compiling
=$ac_cv_prog_cc_cross
8246 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
8247 if test x
$glibcpp_cv_func_float_trig_use = x
"yes"; then
8248 for ac_func
in acosf asinf atanf \
8252 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8253 echo "configure:8254: checking for $ac_func" >&5
8254 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8255 echo $ac_n "(cached) $ac_c" 1>&6
8257 cat > conftest.
$ac_ext <<EOF
8258 #line 8259 "configure"
8259 #include "confdefs.h"
8260 /* System header to define __stub macros and hopefully few prototypes,
8261 which can conflict with char $ac_func(); below. */
8263 /* Override any gcc2 internal prototype to avoid an error. */
8264 /* We use char because int might match the return type of a gcc2
8265 builtin and then its argument prototype would still apply. */
8270 /* The GNU C library defines this for functions which it implements
8271 to always fail with ENOSYS. Some functions are actually named
8272 something starting with __ and the normal name is an alias. */
8273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8281 if { (eval echo configure
:8282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8283 eval "ac_cv_func_$ac_func=yes"
8285 echo "configure: failed program was:" >&5
8286 cat conftest.
$ac_ext >&5
8288 eval "ac_cv_func_$ac_func=no"
8293 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8294 echo "$ac_t""yes" 1>&6
8295 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8296 cat >> confdefs.h
<<EOF
8297 #define $ac_tr_func 1
8301 echo "$ac_t""no" 1>&6
8308 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
8309 echo "configure:8310: checking for float round functions" >&5
8310 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
8311 echo $ac_n "(cached) $ac_c" 1>&6
8316 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8317 ac_cpp
='$CXXCPP $CPPFLAGS'
8318 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8319 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8320 cross_compiling
=$ac_cv_prog_cxx_cross
8322 cat > conftest.
$ac_ext <<EOF
8323 #line 8324 "configure"
8324 #include "confdefs.h"
8327 `for x in ceilf floorf; do echo "$x (0);"; done`
8330 if { (eval echo configure
:8331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8332 glibcpp_cv_func_float_round_use
=yes
8334 echo "configure: failed program was:" >&5
8335 cat conftest.
$ac_ext >&5
8337 glibcpp_cv_func_float_round_use
=no
8341 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8342 ac_cpp
='$CPP $CPPFLAGS'
8343 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8344 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8345 cross_compiling
=$ac_cv_prog_cc_cross
8349 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
8350 if test x
$glibcpp_cv_func_float_round_use = x
"yes"; then
8351 for ac_func
in ceilf floorf
8353 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8354 echo "configure:8355: checking for $ac_func" >&5
8355 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8356 echo $ac_n "(cached) $ac_c" 1>&6
8358 cat > conftest.
$ac_ext <<EOF
8359 #line 8360 "configure"
8360 #include "confdefs.h"
8361 /* System header to define __stub macros and hopefully few prototypes,
8362 which can conflict with char $ac_func(); below. */
8364 /* Override any gcc2 internal prototype to avoid an error. */
8365 /* We use char because int might match the return type of a gcc2
8366 builtin and then its argument prototype would still apply. */
8371 /* The GNU C library defines this for functions which it implements
8372 to always fail with ENOSYS. Some functions are actually named
8373 something starting with __ and the normal name is an alias. */
8374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8382 if { (eval echo configure
:8383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8384 eval "ac_cv_func_$ac_func=yes"
8386 echo "configure: failed program was:" >&5
8387 cat conftest.
$ac_ext >&5
8389 eval "ac_cv_func_$ac_func=no"
8394 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8395 echo "$ac_t""yes" 1>&6
8396 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8397 cat >> confdefs.h
<<EOF
8398 #define $ac_tr_func 1
8402 echo "$ac_t""no" 1>&6
8410 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
8411 echo "configure:8412: checking for isnanf declaration" >&5
8412 if test x
${glibcpp_cv_func_isnanf_use+set} != xset
; then
8413 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
8414 echo $ac_n "(cached) $ac_c" 1>&6
8419 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8420 ac_cpp
='$CXXCPP $CPPFLAGS'
8421 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8422 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8423 cross_compiling
=$ac_cv_prog_cxx_cross
8425 cat > conftest.
$ac_ext <<EOF
8426 #line 8427 "configure"
8427 #include "confdefs.h"
8429 #ifdef HAVE_IEEEFP_H
8437 if { (eval echo configure
:8438: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8439 glibcpp_cv_func_isnanf_use
=yes
8441 echo "configure: failed program was:" >&5
8442 cat conftest.
$ac_ext >&5
8444 glibcpp_cv_func_isnanf_use
=no
8448 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8449 ac_cpp
='$CPP $CPPFLAGS'
8450 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8451 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8452 cross_compiling
=$ac_cv_prog_cc_cross
8458 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
8460 if test x
$glibcpp_cv_func_isnanf_use = x
"yes"; then
8461 for ac_func
in isnanf
8463 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8464 echo "configure:8465: checking for $ac_func" >&5
8465 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8466 echo $ac_n "(cached) $ac_c" 1>&6
8468 cat > conftest.
$ac_ext <<EOF
8469 #line 8470 "configure"
8470 #include "confdefs.h"
8471 /* System header to define __stub macros and hopefully few prototypes,
8472 which can conflict with char $ac_func(); below. */
8474 /* Override any gcc2 internal prototype to avoid an error. */
8475 /* We use char because int might match the return type of a gcc2
8476 builtin and then its argument prototype would still apply. */
8481 /* The GNU C library defines this for functions which it implements
8482 to always fail with ENOSYS. Some functions are actually named
8483 something starting with __ and the normal name is an alias. */
8484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8492 if { (eval echo configure
:8493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8494 eval "ac_cv_func_$ac_func=yes"
8496 echo "configure: failed program was:" >&5
8497 cat conftest.
$ac_ext >&5
8499 eval "ac_cv_func_$ac_func=no"
8504 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8505 echo "$ac_t""yes" 1>&6
8506 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8507 cat >> confdefs.h
<<EOF
8508 #define $ac_tr_func 1
8512 echo "$ac_t""no" 1>&6
8518 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
8519 echo "configure:8520: checking for _isnanf declaration" >&5
8520 if test x
${glibcpp_cv_func__isnanf_use+set} != xset
; then
8521 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
8522 echo $ac_n "(cached) $ac_c" 1>&6
8527 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8528 ac_cpp
='$CXXCPP $CPPFLAGS'
8529 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8530 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8531 cross_compiling
=$ac_cv_prog_cxx_cross
8533 cat > conftest.
$ac_ext <<EOF
8534 #line 8535 "configure"
8535 #include "confdefs.h"
8537 #ifdef HAVE_IEEEFP_H
8545 if { (eval echo configure
:8546: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8547 glibcpp_cv_func__isnanf_use
=yes
8549 echo "configure: failed program was:" >&5
8550 cat conftest.
$ac_ext >&5
8552 glibcpp_cv_func__isnanf_use
=no
8556 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8557 ac_cpp
='$CPP $CPPFLAGS'
8558 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8559 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8560 cross_compiling
=$ac_cv_prog_cc_cross
8566 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
8568 if test x
$glibcpp_cv_func__isnanf_use = x
"yes"; then
8569 for ac_func
in _isnanf
8571 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8572 echo "configure:8573: checking for $ac_func" >&5
8573 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8574 echo $ac_n "(cached) $ac_c" 1>&6
8576 cat > conftest.
$ac_ext <<EOF
8577 #line 8578 "configure"
8578 #include "confdefs.h"
8579 /* System header to define __stub macros and hopefully few prototypes,
8580 which can conflict with char $ac_func(); below. */
8582 /* Override any gcc2 internal prototype to avoid an error. */
8583 /* We use char because int might match the return type of a gcc2
8584 builtin and then its argument prototype would still apply. */
8589 /* The GNU C library defines this for functions which it implements
8590 to always fail with ENOSYS. Some functions are actually named
8591 something starting with __ and the normal name is an alias. */
8592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8600 if { (eval echo configure
:8601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8602 eval "ac_cv_func_$ac_func=yes"
8604 echo "configure: failed program was:" >&5
8605 cat conftest.
$ac_ext >&5
8607 eval "ac_cv_func_$ac_func=no"
8612 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8613 echo "$ac_t""yes" 1>&6
8614 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8615 cat >> confdefs.h
<<EOF
8616 #define $ac_tr_func 1
8620 echo "$ac_t""no" 1>&6
8629 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
8630 echo "configure:8631: checking for isinff declaration" >&5
8631 if test x
${glibcpp_cv_func_isinff_use+set} != xset
; then
8632 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
8633 echo $ac_n "(cached) $ac_c" 1>&6
8638 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8639 ac_cpp
='$CXXCPP $CPPFLAGS'
8640 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8641 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8642 cross_compiling
=$ac_cv_prog_cxx_cross
8644 cat > conftest.
$ac_ext <<EOF
8645 #line 8646 "configure"
8646 #include "confdefs.h"
8648 #ifdef HAVE_IEEEFP_H
8656 if { (eval echo configure
:8657: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8658 glibcpp_cv_func_isinff_use
=yes
8660 echo "configure: failed program was:" >&5
8661 cat conftest.
$ac_ext >&5
8663 glibcpp_cv_func_isinff_use
=no
8667 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8668 ac_cpp
='$CPP $CPPFLAGS'
8669 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8670 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8671 cross_compiling
=$ac_cv_prog_cc_cross
8677 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
8679 if test x
$glibcpp_cv_func_isinff_use = x
"yes"; then
8680 for ac_func
in isinff
8682 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8683 echo "configure:8684: checking for $ac_func" >&5
8684 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8685 echo $ac_n "(cached) $ac_c" 1>&6
8687 cat > conftest.
$ac_ext <<EOF
8688 #line 8689 "configure"
8689 #include "confdefs.h"
8690 /* System header to define __stub macros and hopefully few prototypes,
8691 which can conflict with char $ac_func(); below. */
8693 /* Override any gcc2 internal prototype to avoid an error. */
8694 /* We use char because int might match the return type of a gcc2
8695 builtin and then its argument prototype would still apply. */
8700 /* The GNU C library defines this for functions which it implements
8701 to always fail with ENOSYS. Some functions are actually named
8702 something starting with __ and the normal name is an alias. */
8703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8711 if { (eval echo configure
:8712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8713 eval "ac_cv_func_$ac_func=yes"
8715 echo "configure: failed program was:" >&5
8716 cat conftest.
$ac_ext >&5
8718 eval "ac_cv_func_$ac_func=no"
8723 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8724 echo "$ac_t""yes" 1>&6
8725 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8726 cat >> confdefs.h
<<EOF
8727 #define $ac_tr_func 1
8731 echo "$ac_t""no" 1>&6
8737 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
8738 echo "configure:8739: checking for _isinff declaration" >&5
8739 if test x
${glibcpp_cv_func__isinff_use+set} != xset
; then
8740 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
8741 echo $ac_n "(cached) $ac_c" 1>&6
8746 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8747 ac_cpp
='$CXXCPP $CPPFLAGS'
8748 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8749 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8750 cross_compiling
=$ac_cv_prog_cxx_cross
8752 cat > conftest.
$ac_ext <<EOF
8753 #line 8754 "configure"
8754 #include "confdefs.h"
8756 #ifdef HAVE_IEEEFP_H
8764 if { (eval echo configure
:8765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8766 glibcpp_cv_func__isinff_use
=yes
8768 echo "configure: failed program was:" >&5
8769 cat conftest.
$ac_ext >&5
8771 glibcpp_cv_func__isinff_use
=no
8775 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8776 ac_cpp
='$CPP $CPPFLAGS'
8777 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8778 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8779 cross_compiling
=$ac_cv_prog_cc_cross
8785 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
8787 if test x
$glibcpp_cv_func__isinff_use = x
"yes"; then
8788 for ac_func
in _isinff
8790 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8791 echo "configure:8792: checking for $ac_func" >&5
8792 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8793 echo $ac_n "(cached) $ac_c" 1>&6
8795 cat > conftest.
$ac_ext <<EOF
8796 #line 8797 "configure"
8797 #include "confdefs.h"
8798 /* System header to define __stub macros and hopefully few prototypes,
8799 which can conflict with char $ac_func(); below. */
8801 /* Override any gcc2 internal prototype to avoid an error. */
8802 /* We use char because int might match the return type of a gcc2
8803 builtin and then its argument prototype would still apply. */
8808 /* The GNU C library defines this for functions which it implements
8809 to always fail with ENOSYS. Some functions are actually named
8810 something starting with __ and the normal name is an alias. */
8811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8819 if { (eval echo configure
:8820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8821 eval "ac_cv_func_$ac_func=yes"
8823 echo "configure: failed program was:" >&5
8824 cat conftest.
$ac_ext >&5
8826 eval "ac_cv_func_$ac_func=no"
8831 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8832 echo "$ac_t""yes" 1>&6
8833 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8834 cat >> confdefs.h
<<EOF
8835 #define $ac_tr_func 1
8839 echo "$ac_t""no" 1>&6
8848 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
8849 echo "configure:8850: checking for fabsf declaration" >&5
8850 if test x
${glibcpp_cv_func_fabsf_use+set} != xset
; then
8851 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
8852 echo $ac_n "(cached) $ac_c" 1>&6
8857 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8858 ac_cpp
='$CXXCPP $CPPFLAGS'
8859 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8860 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8861 cross_compiling
=$ac_cv_prog_cxx_cross
8863 cat > conftest.
$ac_ext <<EOF
8864 #line 8865 "configure"
8865 #include "confdefs.h"
8867 #ifdef HAVE_IEEEFP_H
8875 if { (eval echo configure
:8876: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8877 glibcpp_cv_func_fabsf_use
=yes
8879 echo "configure: failed program was:" >&5
8880 cat conftest.
$ac_ext >&5
8882 glibcpp_cv_func_fabsf_use
=no
8886 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8887 ac_cpp
='$CPP $CPPFLAGS'
8888 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8889 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8890 cross_compiling
=$ac_cv_prog_cc_cross
8896 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
8898 if test x
$glibcpp_cv_func_fabsf_use = x
"yes"; then
8899 for ac_func
in fabsf
8901 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8902 echo "configure:8903: checking for $ac_func" >&5
8903 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8904 echo $ac_n "(cached) $ac_c" 1>&6
8906 cat > conftest.
$ac_ext <<EOF
8907 #line 8908 "configure"
8908 #include "confdefs.h"
8909 /* System header to define __stub macros and hopefully few prototypes,
8910 which can conflict with char $ac_func(); below. */
8912 /* Override any gcc2 internal prototype to avoid an error. */
8913 /* We use char because int might match the return type of a gcc2
8914 builtin and then its argument prototype would still apply. */
8919 /* The GNU C library defines this for functions which it implements
8920 to always fail with ENOSYS. Some functions are actually named
8921 something starting with __ and the normal name is an alias. */
8922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8930 if { (eval echo configure
:8931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8932 eval "ac_cv_func_$ac_func=yes"
8934 echo "configure: failed program was:" >&5
8935 cat conftest.
$ac_ext >&5
8937 eval "ac_cv_func_$ac_func=no"
8942 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8943 echo "$ac_t""yes" 1>&6
8944 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8945 cat >> confdefs.h
<<EOF
8946 #define $ac_tr_func 1
8950 echo "$ac_t""no" 1>&6
8956 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
8957 echo "configure:8958: checking for _fabsf declaration" >&5
8958 if test x
${glibcpp_cv_func__fabsf_use+set} != xset
; then
8959 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
8960 echo $ac_n "(cached) $ac_c" 1>&6
8965 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8966 ac_cpp
='$CXXCPP $CPPFLAGS'
8967 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8968 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8969 cross_compiling
=$ac_cv_prog_cxx_cross
8971 cat > conftest.
$ac_ext <<EOF
8972 #line 8973 "configure"
8973 #include "confdefs.h"
8975 #ifdef HAVE_IEEEFP_H
8983 if { (eval echo configure
:8984: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8985 glibcpp_cv_func__fabsf_use
=yes
8987 echo "configure: failed program was:" >&5
8988 cat conftest.
$ac_ext >&5
8990 glibcpp_cv_func__fabsf_use
=no
8994 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8995 ac_cpp
='$CPP $CPPFLAGS'
8996 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8997 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8998 cross_compiling
=$ac_cv_prog_cc_cross
9004 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
9006 if test x
$glibcpp_cv_func__fabsf_use = x
"yes"; then
9007 for ac_func
in _fabsf
9009 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9010 echo "configure:9011: checking for $ac_func" >&5
9011 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9012 echo $ac_n "(cached) $ac_c" 1>&6
9014 cat > conftest.
$ac_ext <<EOF
9015 #line 9016 "configure"
9016 #include "confdefs.h"
9017 /* System header to define __stub macros and hopefully few prototypes,
9018 which can conflict with char $ac_func(); below. */
9020 /* Override any gcc2 internal prototype to avoid an error. */
9021 /* We use char because int might match the return type of a gcc2
9022 builtin and then its argument prototype would still apply. */
9027 /* The GNU C library defines this for functions which it implements
9028 to always fail with ENOSYS. Some functions are actually named
9029 something starting with __ and the normal name is an alias. */
9030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9038 if { (eval echo configure
:9039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9040 eval "ac_cv_func_$ac_func=yes"
9042 echo "configure: failed program was:" >&5
9043 cat conftest.
$ac_ext >&5
9045 eval "ac_cv_func_$ac_func=no"
9050 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9051 echo "$ac_t""yes" 1>&6
9052 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9053 cat >> confdefs.h
<<EOF
9054 #define $ac_tr_func 1
9058 echo "$ac_t""no" 1>&6
9067 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
9068 echo "configure:9069: checking for fmodf declaration" >&5
9069 if test x
${glibcpp_cv_func_fmodf_use+set} != xset
; then
9070 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
9071 echo $ac_n "(cached) $ac_c" 1>&6
9076 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9077 ac_cpp
='$CXXCPP $CPPFLAGS'
9078 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9079 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9080 cross_compiling
=$ac_cv_prog_cxx_cross
9082 cat > conftest.
$ac_ext <<EOF
9083 #line 9084 "configure"
9084 #include "confdefs.h"
9090 if { (eval echo configure
:9091: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9092 glibcpp_cv_func_fmodf_use
=yes
9094 echo "configure: failed program was:" >&5
9095 cat conftest.
$ac_ext >&5
9097 glibcpp_cv_func_fmodf_use
=no
9101 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9102 ac_cpp
='$CPP $CPPFLAGS'
9103 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9104 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9105 cross_compiling
=$ac_cv_prog_cc_cross
9111 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
9113 if test x
$glibcpp_cv_func_fmodf_use = x
"yes"; then
9114 for ac_func
in fmodf
9116 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9117 echo "configure:9118: checking for $ac_func" >&5
9118 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9119 echo $ac_n "(cached) $ac_c" 1>&6
9121 cat > conftest.
$ac_ext <<EOF
9122 #line 9123 "configure"
9123 #include "confdefs.h"
9124 /* System header to define __stub macros and hopefully few prototypes,
9125 which can conflict with char $ac_func(); below. */
9127 /* Override any gcc2 internal prototype to avoid an error. */
9128 /* We use char because int might match the return type of a gcc2
9129 builtin and then its argument prototype would still apply. */
9134 /* The GNU C library defines this for functions which it implements
9135 to always fail with ENOSYS. Some functions are actually named
9136 something starting with __ and the normal name is an alias. */
9137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9145 if { (eval echo configure
:9146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9147 eval "ac_cv_func_$ac_func=yes"
9149 echo "configure: failed program was:" >&5
9150 cat conftest.
$ac_ext >&5
9152 eval "ac_cv_func_$ac_func=no"
9157 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9158 echo "$ac_t""yes" 1>&6
9159 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9160 cat >> confdefs.h
<<EOF
9161 #define $ac_tr_func 1
9165 echo "$ac_t""no" 1>&6
9171 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
9172 echo "configure:9173: checking for _fmodf declaration" >&5
9173 if test x
${glibcpp_cv_func__fmodf_use+set} != xset
; then
9174 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
9175 echo $ac_n "(cached) $ac_c" 1>&6
9180 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9181 ac_cpp
='$CXXCPP $CPPFLAGS'
9182 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9183 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9184 cross_compiling
=$ac_cv_prog_cxx_cross
9186 cat > conftest.
$ac_ext <<EOF
9187 #line 9188 "configure"
9188 #include "confdefs.h"
9194 if { (eval echo configure
:9195: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9196 glibcpp_cv_func__fmodf_use
=yes
9198 echo "configure: failed program was:" >&5
9199 cat conftest.
$ac_ext >&5
9201 glibcpp_cv_func__fmodf_use
=no
9205 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9206 ac_cpp
='$CPP $CPPFLAGS'
9207 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9208 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9209 cross_compiling
=$ac_cv_prog_cc_cross
9215 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
9217 if test x
$glibcpp_cv_func__fmodf_use = x
"yes"; then
9218 for ac_func
in _fmodf
9220 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9221 echo "configure:9222: checking for $ac_func" >&5
9222 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9223 echo $ac_n "(cached) $ac_c" 1>&6
9225 cat > conftest.
$ac_ext <<EOF
9226 #line 9227 "configure"
9227 #include "confdefs.h"
9228 /* System header to define __stub macros and hopefully few prototypes,
9229 which can conflict with char $ac_func(); below. */
9231 /* Override any gcc2 internal prototype to avoid an error. */
9232 /* We use char because int might match the return type of a gcc2
9233 builtin and then its argument prototype would still apply. */
9238 /* The GNU C library defines this for functions which it implements
9239 to always fail with ENOSYS. Some functions are actually named
9240 something starting with __ and the normal name is an alias. */
9241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9249 if { (eval echo configure
:9250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9251 eval "ac_cv_func_$ac_func=yes"
9253 echo "configure: failed program was:" >&5
9254 cat conftest.
$ac_ext >&5
9256 eval "ac_cv_func_$ac_func=no"
9261 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9262 echo "$ac_t""yes" 1>&6
9263 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9264 cat >> confdefs.h
<<EOF
9265 #define $ac_tr_func 1
9269 echo "$ac_t""no" 1>&6
9278 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
9279 echo "configure:9280: checking for frexpf declaration" >&5
9280 if test x
${glibcpp_cv_func_frexpf_use+set} != xset
; then
9281 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
9282 echo $ac_n "(cached) $ac_c" 1>&6
9287 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9288 ac_cpp
='$CXXCPP $CPPFLAGS'
9289 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9290 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9291 cross_compiling
=$ac_cv_prog_cxx_cross
9293 cat > conftest.
$ac_ext <<EOF
9294 #line 9295 "configure"
9295 #include "confdefs.h"
9301 if { (eval echo configure
:9302: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9303 glibcpp_cv_func_frexpf_use
=yes
9305 echo "configure: failed program was:" >&5
9306 cat conftest.
$ac_ext >&5
9308 glibcpp_cv_func_frexpf_use
=no
9312 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9313 ac_cpp
='$CPP $CPPFLAGS'
9314 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9315 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9316 cross_compiling
=$ac_cv_prog_cc_cross
9322 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
9324 if test x
$glibcpp_cv_func_frexpf_use = x
"yes"; then
9325 for ac_func
in frexpf
9327 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9328 echo "configure:9329: checking for $ac_func" >&5
9329 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9330 echo $ac_n "(cached) $ac_c" 1>&6
9332 cat > conftest.
$ac_ext <<EOF
9333 #line 9334 "configure"
9334 #include "confdefs.h"
9335 /* System header to define __stub macros and hopefully few prototypes,
9336 which can conflict with char $ac_func(); below. */
9338 /* Override any gcc2 internal prototype to avoid an error. */
9339 /* We use char because int might match the return type of a gcc2
9340 builtin and then its argument prototype would still apply. */
9345 /* The GNU C library defines this for functions which it implements
9346 to always fail with ENOSYS. Some functions are actually named
9347 something starting with __ and the normal name is an alias. */
9348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9356 if { (eval echo configure
:9357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9358 eval "ac_cv_func_$ac_func=yes"
9360 echo "configure: failed program was:" >&5
9361 cat conftest.
$ac_ext >&5
9363 eval "ac_cv_func_$ac_func=no"
9368 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9369 echo "$ac_t""yes" 1>&6
9370 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9371 cat >> confdefs.h
<<EOF
9372 #define $ac_tr_func 1
9376 echo "$ac_t""no" 1>&6
9382 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
9383 echo "configure:9384: checking for _frexpf declaration" >&5
9384 if test x
${glibcpp_cv_func__frexpf_use+set} != xset
; then
9385 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
9386 echo $ac_n "(cached) $ac_c" 1>&6
9391 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9392 ac_cpp
='$CXXCPP $CPPFLAGS'
9393 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9394 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9395 cross_compiling
=$ac_cv_prog_cxx_cross
9397 cat > conftest.
$ac_ext <<EOF
9398 #line 9399 "configure"
9399 #include "confdefs.h"
9405 if { (eval echo configure
:9406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9407 glibcpp_cv_func__frexpf_use
=yes
9409 echo "configure: failed program was:" >&5
9410 cat conftest.
$ac_ext >&5
9412 glibcpp_cv_func__frexpf_use
=no
9416 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9417 ac_cpp
='$CPP $CPPFLAGS'
9418 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9419 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9420 cross_compiling
=$ac_cv_prog_cc_cross
9426 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
9428 if test x
$glibcpp_cv_func__frexpf_use = x
"yes"; then
9429 for ac_func
in _frexpf
9431 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9432 echo "configure:9433: checking for $ac_func" >&5
9433 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9434 echo $ac_n "(cached) $ac_c" 1>&6
9436 cat > conftest.
$ac_ext <<EOF
9437 #line 9438 "configure"
9438 #include "confdefs.h"
9439 /* System header to define __stub macros and hopefully few prototypes,
9440 which can conflict with char $ac_func(); below. */
9442 /* Override any gcc2 internal prototype to avoid an error. */
9443 /* We use char because int might match the return type of a gcc2
9444 builtin and then its argument prototype would still apply. */
9449 /* The GNU C library defines this for functions which it implements
9450 to always fail with ENOSYS. Some functions are actually named
9451 something starting with __ and the normal name is an alias. */
9452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9460 if { (eval echo configure
:9461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9462 eval "ac_cv_func_$ac_func=yes"
9464 echo "configure: failed program was:" >&5
9465 cat conftest.
$ac_ext >&5
9467 eval "ac_cv_func_$ac_func=no"
9472 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9473 echo "$ac_t""yes" 1>&6
9474 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9475 cat >> confdefs.h
<<EOF
9476 #define $ac_tr_func 1
9480 echo "$ac_t""no" 1>&6
9489 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
9490 echo "configure:9491: checking for ldexpf declaration" >&5
9491 if test x
${glibcpp_cv_func_ldexpf_use+set} != xset
; then
9492 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
9493 echo $ac_n "(cached) $ac_c" 1>&6
9498 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9499 ac_cpp
='$CXXCPP $CPPFLAGS'
9500 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9501 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9502 cross_compiling
=$ac_cv_prog_cxx_cross
9504 cat > conftest.
$ac_ext <<EOF
9505 #line 9506 "configure"
9506 #include "confdefs.h"
9512 if { (eval echo configure
:9513: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9514 glibcpp_cv_func_ldexpf_use
=yes
9516 echo "configure: failed program was:" >&5
9517 cat conftest.
$ac_ext >&5
9519 glibcpp_cv_func_ldexpf_use
=no
9523 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9524 ac_cpp
='$CPP $CPPFLAGS'
9525 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9526 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9527 cross_compiling
=$ac_cv_prog_cc_cross
9533 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
9535 if test x
$glibcpp_cv_func_ldexpf_use = x
"yes"; then
9536 for ac_func
in ldexpf
9538 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9539 echo "configure:9540: checking for $ac_func" >&5
9540 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9541 echo $ac_n "(cached) $ac_c" 1>&6
9543 cat > conftest.
$ac_ext <<EOF
9544 #line 9545 "configure"
9545 #include "confdefs.h"
9546 /* System header to define __stub macros and hopefully few prototypes,
9547 which can conflict with char $ac_func(); below. */
9549 /* Override any gcc2 internal prototype to avoid an error. */
9550 /* We use char because int might match the return type of a gcc2
9551 builtin and then its argument prototype would still apply. */
9556 /* The GNU C library defines this for functions which it implements
9557 to always fail with ENOSYS. Some functions are actually named
9558 something starting with __ and the normal name is an alias. */
9559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9567 if { (eval echo configure
:9568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9569 eval "ac_cv_func_$ac_func=yes"
9571 echo "configure: failed program was:" >&5
9572 cat conftest.
$ac_ext >&5
9574 eval "ac_cv_func_$ac_func=no"
9579 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9580 echo "$ac_t""yes" 1>&6
9581 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9582 cat >> confdefs.h
<<EOF
9583 #define $ac_tr_func 1
9587 echo "$ac_t""no" 1>&6
9593 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
9594 echo "configure:9595: checking for _ldexpf declaration" >&5
9595 if test x
${glibcpp_cv_func__ldexpf_use+set} != xset
; then
9596 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
9597 echo $ac_n "(cached) $ac_c" 1>&6
9602 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9603 ac_cpp
='$CXXCPP $CPPFLAGS'
9604 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9605 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9606 cross_compiling
=$ac_cv_prog_cxx_cross
9608 cat > conftest.
$ac_ext <<EOF
9609 #line 9610 "configure"
9610 #include "confdefs.h"
9616 if { (eval echo configure
:9617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9618 glibcpp_cv_func__ldexpf_use
=yes
9620 echo "configure: failed program was:" >&5
9621 cat conftest.
$ac_ext >&5
9623 glibcpp_cv_func__ldexpf_use
=no
9627 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9628 ac_cpp
='$CPP $CPPFLAGS'
9629 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9630 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9631 cross_compiling
=$ac_cv_prog_cc_cross
9637 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
9639 if test x
$glibcpp_cv_func__ldexpf_use = x
"yes"; then
9640 for ac_func
in _ldexpf
9642 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9643 echo "configure:9644: checking for $ac_func" >&5
9644 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9645 echo $ac_n "(cached) $ac_c" 1>&6
9647 cat > conftest.
$ac_ext <<EOF
9648 #line 9649 "configure"
9649 #include "confdefs.h"
9650 /* System header to define __stub macros and hopefully few prototypes,
9651 which can conflict with char $ac_func(); below. */
9653 /* Override any gcc2 internal prototype to avoid an error. */
9654 /* We use char because int might match the return type of a gcc2
9655 builtin and then its argument prototype would still apply. */
9660 /* The GNU C library defines this for functions which it implements
9661 to always fail with ENOSYS. Some functions are actually named
9662 something starting with __ and the normal name is an alias. */
9663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9671 if { (eval echo configure
:9672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9673 eval "ac_cv_func_$ac_func=yes"
9675 echo "configure: failed program was:" >&5
9676 cat conftest.
$ac_ext >&5
9678 eval "ac_cv_func_$ac_func=no"
9683 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9684 echo "$ac_t""yes" 1>&6
9685 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9686 cat >> confdefs.h
<<EOF
9687 #define $ac_tr_func 1
9691 echo "$ac_t""no" 1>&6
9700 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
9701 echo "configure:9702: checking for logf declaration" >&5
9702 if test x
${glibcpp_cv_func_logf_use+set} != xset
; then
9703 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
9704 echo $ac_n "(cached) $ac_c" 1>&6
9709 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9710 ac_cpp
='$CXXCPP $CPPFLAGS'
9711 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9712 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9713 cross_compiling
=$ac_cv_prog_cxx_cross
9715 cat > conftest.
$ac_ext <<EOF
9716 #line 9717 "configure"
9717 #include "confdefs.h"
9719 #ifdef HAVE_IEEEFP_H
9727 if { (eval echo configure
:9728: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9729 glibcpp_cv_func_logf_use
=yes
9731 echo "configure: failed program was:" >&5
9732 cat conftest.
$ac_ext >&5
9734 glibcpp_cv_func_logf_use
=no
9738 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9739 ac_cpp
='$CPP $CPPFLAGS'
9740 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9741 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9742 cross_compiling
=$ac_cv_prog_cc_cross
9748 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
9750 if test x
$glibcpp_cv_func_logf_use = x
"yes"; then
9753 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9754 echo "configure:9755: checking for $ac_func" >&5
9755 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9756 echo $ac_n "(cached) $ac_c" 1>&6
9758 cat > conftest.
$ac_ext <<EOF
9759 #line 9760 "configure"
9760 #include "confdefs.h"
9761 /* System header to define __stub macros and hopefully few prototypes,
9762 which can conflict with char $ac_func(); below. */
9764 /* Override any gcc2 internal prototype to avoid an error. */
9765 /* We use char because int might match the return type of a gcc2
9766 builtin and then its argument prototype would still apply. */
9771 /* The GNU C library defines this for functions which it implements
9772 to always fail with ENOSYS. Some functions are actually named
9773 something starting with __ and the normal name is an alias. */
9774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9782 if { (eval echo configure
:9783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9784 eval "ac_cv_func_$ac_func=yes"
9786 echo "configure: failed program was:" >&5
9787 cat conftest.
$ac_ext >&5
9789 eval "ac_cv_func_$ac_func=no"
9794 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9795 echo "$ac_t""yes" 1>&6
9796 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9797 cat >> confdefs.h
<<EOF
9798 #define $ac_tr_func 1
9802 echo "$ac_t""no" 1>&6
9808 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
9809 echo "configure:9810: checking for _logf declaration" >&5
9810 if test x
${glibcpp_cv_func__logf_use+set} != xset
; then
9811 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
9812 echo $ac_n "(cached) $ac_c" 1>&6
9817 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9818 ac_cpp
='$CXXCPP $CPPFLAGS'
9819 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9820 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9821 cross_compiling
=$ac_cv_prog_cxx_cross
9823 cat > conftest.
$ac_ext <<EOF
9824 #line 9825 "configure"
9825 #include "confdefs.h"
9827 #ifdef HAVE_IEEEFP_H
9835 if { (eval echo configure
:9836: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9837 glibcpp_cv_func__logf_use
=yes
9839 echo "configure: failed program was:" >&5
9840 cat conftest.
$ac_ext >&5
9842 glibcpp_cv_func__logf_use
=no
9846 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9847 ac_cpp
='$CPP $CPPFLAGS'
9848 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9849 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9850 cross_compiling
=$ac_cv_prog_cc_cross
9856 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
9858 if test x
$glibcpp_cv_func__logf_use = x
"yes"; then
9859 for ac_func
in _logf
9861 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9862 echo "configure:9863: checking for $ac_func" >&5
9863 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9864 echo $ac_n "(cached) $ac_c" 1>&6
9866 cat > conftest.
$ac_ext <<EOF
9867 #line 9868 "configure"
9868 #include "confdefs.h"
9869 /* System header to define __stub macros and hopefully few prototypes,
9870 which can conflict with char $ac_func(); below. */
9872 /* Override any gcc2 internal prototype to avoid an error. */
9873 /* We use char because int might match the return type of a gcc2
9874 builtin and then its argument prototype would still apply. */
9879 /* The GNU C library defines this for functions which it implements
9880 to always fail with ENOSYS. Some functions are actually named
9881 something starting with __ and the normal name is an alias. */
9882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9890 if { (eval echo configure
:9891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9892 eval "ac_cv_func_$ac_func=yes"
9894 echo "configure: failed program was:" >&5
9895 cat conftest.
$ac_ext >&5
9897 eval "ac_cv_func_$ac_func=no"
9902 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9903 echo "$ac_t""yes" 1>&6
9904 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9905 cat >> confdefs.h
<<EOF
9906 #define $ac_tr_func 1
9910 echo "$ac_t""no" 1>&6
9919 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
9920 echo "configure:9921: checking for log10f declaration" >&5
9921 if test x
${glibcpp_cv_func_log10f_use+set} != xset
; then
9922 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
9923 echo $ac_n "(cached) $ac_c" 1>&6
9928 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9929 ac_cpp
='$CXXCPP $CPPFLAGS'
9930 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9931 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9932 cross_compiling
=$ac_cv_prog_cxx_cross
9934 cat > conftest.
$ac_ext <<EOF
9935 #line 9936 "configure"
9936 #include "confdefs.h"
9938 #ifdef HAVE_IEEEFP_H
9946 if { (eval echo configure
:9947: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9948 glibcpp_cv_func_log10f_use
=yes
9950 echo "configure: failed program was:" >&5
9951 cat conftest.
$ac_ext >&5
9953 glibcpp_cv_func_log10f_use
=no
9957 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9958 ac_cpp
='$CPP $CPPFLAGS'
9959 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9960 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9961 cross_compiling
=$ac_cv_prog_cc_cross
9967 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
9969 if test x
$glibcpp_cv_func_log10f_use = x
"yes"; then
9970 for ac_func
in log10f
9972 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9973 echo "configure:9974: checking for $ac_func" >&5
9974 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9975 echo $ac_n "(cached) $ac_c" 1>&6
9977 cat > conftest.
$ac_ext <<EOF
9978 #line 9979 "configure"
9979 #include "confdefs.h"
9980 /* System header to define __stub macros and hopefully few prototypes,
9981 which can conflict with char $ac_func(); below. */
9983 /* Override any gcc2 internal prototype to avoid an error. */
9984 /* We use char because int might match the return type of a gcc2
9985 builtin and then its argument prototype would still apply. */
9990 /* The GNU C library defines this for functions which it implements
9991 to always fail with ENOSYS. Some functions are actually named
9992 something starting with __ and the normal name is an alias. */
9993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10001 if { (eval echo configure
:10002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10003 eval "ac_cv_func_$ac_func=yes"
10005 echo "configure: failed program was:" >&5
10006 cat conftest.
$ac_ext >&5
10008 eval "ac_cv_func_$ac_func=no"
10013 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10014 echo "$ac_t""yes" 1>&6
10015 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10016 cat >> confdefs.h
<<EOF
10017 #define $ac_tr_func 1
10021 echo "$ac_t""no" 1>&6
10027 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
10028 echo "configure:10029: checking for _log10f declaration" >&5
10029 if test x
${glibcpp_cv_func__log10f_use+set} != xset
; then
10030 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
10031 echo $ac_n "(cached) $ac_c" 1>&6
10036 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10037 ac_cpp
='$CXXCPP $CPPFLAGS'
10038 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10039 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10040 cross_compiling
=$ac_cv_prog_cxx_cross
10042 cat > conftest.
$ac_ext <<EOF
10043 #line 10044 "configure"
10044 #include "confdefs.h"
10046 #ifdef HAVE_IEEEFP_H
10047 #include <ieeefp.h>
10054 if { (eval echo configure
:10055: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10056 glibcpp_cv_func__log10f_use
=yes
10058 echo "configure: failed program was:" >&5
10059 cat conftest.
$ac_ext >&5
10061 glibcpp_cv_func__log10f_use
=no
10065 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10066 ac_cpp
='$CPP $CPPFLAGS'
10067 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10068 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10069 cross_compiling
=$ac_cv_prog_cc_cross
10075 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
10077 if test x
$glibcpp_cv_func__log10f_use = x
"yes"; then
10078 for ac_func
in _log10f
10080 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10081 echo "configure:10082: checking for $ac_func" >&5
10082 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10083 echo $ac_n "(cached) $ac_c" 1>&6
10085 cat > conftest.
$ac_ext <<EOF
10086 #line 10087 "configure"
10087 #include "confdefs.h"
10088 /* System header to define __stub macros and hopefully few prototypes,
10089 which can conflict with char $ac_func(); below. */
10090 #include <assert.h>
10091 /* Override any gcc2 internal prototype to avoid an error. */
10092 /* We use char because int might match the return type of a gcc2
10093 builtin and then its argument prototype would still apply. */
10098 /* The GNU C library defines this for functions which it implements
10099 to always fail with ENOSYS. Some functions are actually named
10100 something starting with __ and the normal name is an alias. */
10101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10109 if { (eval echo configure
:10110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10111 eval "ac_cv_func_$ac_func=yes"
10113 echo "configure: failed program was:" >&5
10114 cat conftest.
$ac_ext >&5
10116 eval "ac_cv_func_$ac_func=no"
10121 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10122 echo "$ac_t""yes" 1>&6
10123 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10124 cat >> confdefs.h
<<EOF
10125 #define $ac_tr_func 1
10129 echo "$ac_t""no" 1>&6
10138 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
10139 echo "configure:10140: checking for modff declaration" >&5
10140 if test x
${glibcpp_cv_func_modff_use+set} != xset
; then
10141 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
10142 echo $ac_n "(cached) $ac_c" 1>&6
10147 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10148 ac_cpp
='$CXXCPP $CPPFLAGS'
10149 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10150 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10151 cross_compiling
=$ac_cv_prog_cxx_cross
10153 cat > conftest.
$ac_ext <<EOF
10154 #line 10155 "configure"
10155 #include "confdefs.h"
10161 if { (eval echo configure
:10162: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10163 glibcpp_cv_func_modff_use
=yes
10165 echo "configure: failed program was:" >&5
10166 cat conftest.
$ac_ext >&5
10168 glibcpp_cv_func_modff_use
=no
10172 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10173 ac_cpp
='$CPP $CPPFLAGS'
10174 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10175 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10176 cross_compiling
=$ac_cv_prog_cc_cross
10182 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
10184 if test x
$glibcpp_cv_func_modff_use = x
"yes"; then
10185 for ac_func
in modff
10187 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10188 echo "configure:10189: checking for $ac_func" >&5
10189 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10190 echo $ac_n "(cached) $ac_c" 1>&6
10192 cat > conftest.
$ac_ext <<EOF
10193 #line 10194 "configure"
10194 #include "confdefs.h"
10195 /* System header to define __stub macros and hopefully few prototypes,
10196 which can conflict with char $ac_func(); below. */
10197 #include <assert.h>
10198 /* Override any gcc2 internal prototype to avoid an error. */
10199 /* We use char because int might match the return type of a gcc2
10200 builtin and then its argument prototype would still apply. */
10205 /* The GNU C library defines this for functions which it implements
10206 to always fail with ENOSYS. Some functions are actually named
10207 something starting with __ and the normal name is an alias. */
10208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10216 if { (eval echo configure
:10217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10218 eval "ac_cv_func_$ac_func=yes"
10220 echo "configure: failed program was:" >&5
10221 cat conftest.
$ac_ext >&5
10223 eval "ac_cv_func_$ac_func=no"
10228 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10229 echo "$ac_t""yes" 1>&6
10230 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10231 cat >> confdefs.h
<<EOF
10232 #define $ac_tr_func 1
10236 echo "$ac_t""no" 1>&6
10242 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
10243 echo "configure:10244: checking for _modff declaration" >&5
10244 if test x
${glibcpp_cv_func__modff_use+set} != xset
; then
10245 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
10246 echo $ac_n "(cached) $ac_c" 1>&6
10251 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10252 ac_cpp
='$CXXCPP $CPPFLAGS'
10253 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10254 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10255 cross_compiling
=$ac_cv_prog_cxx_cross
10257 cat > conftest.
$ac_ext <<EOF
10258 #line 10259 "configure"
10259 #include "confdefs.h"
10265 if { (eval echo configure
:10266: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10267 glibcpp_cv_func__modff_use
=yes
10269 echo "configure: failed program was:" >&5
10270 cat conftest.
$ac_ext >&5
10272 glibcpp_cv_func__modff_use
=no
10276 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10277 ac_cpp
='$CPP $CPPFLAGS'
10278 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10279 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10280 cross_compiling
=$ac_cv_prog_cc_cross
10286 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
10288 if test x
$glibcpp_cv_func__modff_use = x
"yes"; then
10289 for ac_func
in _modff
10291 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10292 echo "configure:10293: checking for $ac_func" >&5
10293 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10294 echo $ac_n "(cached) $ac_c" 1>&6
10296 cat > conftest.
$ac_ext <<EOF
10297 #line 10298 "configure"
10298 #include "confdefs.h"
10299 /* System header to define __stub macros and hopefully few prototypes,
10300 which can conflict with char $ac_func(); below. */
10301 #include <assert.h>
10302 /* Override any gcc2 internal prototype to avoid an error. */
10303 /* We use char because int might match the return type of a gcc2
10304 builtin and then its argument prototype would still apply. */
10309 /* The GNU C library defines this for functions which it implements
10310 to always fail with ENOSYS. Some functions are actually named
10311 something starting with __ and the normal name is an alias. */
10312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10320 if { (eval echo configure
:10321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10322 eval "ac_cv_func_$ac_func=yes"
10324 echo "configure: failed program was:" >&5
10325 cat conftest.
$ac_ext >&5
10327 eval "ac_cv_func_$ac_func=no"
10332 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10333 echo "$ac_t""yes" 1>&6
10334 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10335 cat >> confdefs.h
<<EOF
10336 #define $ac_tr_func 1
10340 echo "$ac_t""no" 1>&6
10349 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
10350 echo "configure:10351: checking for powf declaration" >&5
10351 if test x
${glibcpp_cv_func_powf_use+set} != xset
; then
10352 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
10353 echo $ac_n "(cached) $ac_c" 1>&6
10358 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10359 ac_cpp
='$CXXCPP $CPPFLAGS'
10360 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10361 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10362 cross_compiling
=$ac_cv_prog_cxx_cross
10364 cat > conftest.
$ac_ext <<EOF
10365 #line 10366 "configure"
10366 #include "confdefs.h"
10372 if { (eval echo configure
:10373: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10374 glibcpp_cv_func_powf_use
=yes
10376 echo "configure: failed program was:" >&5
10377 cat conftest.
$ac_ext >&5
10379 glibcpp_cv_func_powf_use
=no
10383 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10384 ac_cpp
='$CPP $CPPFLAGS'
10385 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10386 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10387 cross_compiling
=$ac_cv_prog_cc_cross
10393 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
10395 if test x
$glibcpp_cv_func_powf_use = x
"yes"; then
10396 for ac_func
in powf
10398 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10399 echo "configure:10400: checking for $ac_func" >&5
10400 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10401 echo $ac_n "(cached) $ac_c" 1>&6
10403 cat > conftest.
$ac_ext <<EOF
10404 #line 10405 "configure"
10405 #include "confdefs.h"
10406 /* System header to define __stub macros and hopefully few prototypes,
10407 which can conflict with char $ac_func(); below. */
10408 #include <assert.h>
10409 /* Override any gcc2 internal prototype to avoid an error. */
10410 /* We use char because int might match the return type of a gcc2
10411 builtin and then its argument prototype would still apply. */
10416 /* The GNU C library defines this for functions which it implements
10417 to always fail with ENOSYS. Some functions are actually named
10418 something starting with __ and the normal name is an alias. */
10419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10427 if { (eval echo configure
:10428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10429 eval "ac_cv_func_$ac_func=yes"
10431 echo "configure: failed program was:" >&5
10432 cat conftest.
$ac_ext >&5
10434 eval "ac_cv_func_$ac_func=no"
10439 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10440 echo "$ac_t""yes" 1>&6
10441 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10442 cat >> confdefs.h
<<EOF
10443 #define $ac_tr_func 1
10447 echo "$ac_t""no" 1>&6
10453 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
10454 echo "configure:10455: checking for _powf declaration" >&5
10455 if test x
${glibcpp_cv_func__powf_use+set} != xset
; then
10456 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
10457 echo $ac_n "(cached) $ac_c" 1>&6
10462 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10463 ac_cpp
='$CXXCPP $CPPFLAGS'
10464 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10465 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10466 cross_compiling
=$ac_cv_prog_cxx_cross
10468 cat > conftest.
$ac_ext <<EOF
10469 #line 10470 "configure"
10470 #include "confdefs.h"
10476 if { (eval echo configure
:10477: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10478 glibcpp_cv_func__powf_use
=yes
10480 echo "configure: failed program was:" >&5
10481 cat conftest.
$ac_ext >&5
10483 glibcpp_cv_func__powf_use
=no
10487 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10488 ac_cpp
='$CPP $CPPFLAGS'
10489 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10490 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10491 cross_compiling
=$ac_cv_prog_cc_cross
10497 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
10499 if test x
$glibcpp_cv_func__powf_use = x
"yes"; then
10500 for ac_func
in _powf
10502 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10503 echo "configure:10504: checking for $ac_func" >&5
10504 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10505 echo $ac_n "(cached) $ac_c" 1>&6
10507 cat > conftest.
$ac_ext <<EOF
10508 #line 10509 "configure"
10509 #include "confdefs.h"
10510 /* System header to define __stub macros and hopefully few prototypes,
10511 which can conflict with char $ac_func(); below. */
10512 #include <assert.h>
10513 /* Override any gcc2 internal prototype to avoid an error. */
10514 /* We use char because int might match the return type of a gcc2
10515 builtin and then its argument prototype would still apply. */
10520 /* The GNU C library defines this for functions which it implements
10521 to always fail with ENOSYS. Some functions are actually named
10522 something starting with __ and the normal name is an alias. */
10523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10531 if { (eval echo configure
:10532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10533 eval "ac_cv_func_$ac_func=yes"
10535 echo "configure: failed program was:" >&5
10536 cat conftest.
$ac_ext >&5
10538 eval "ac_cv_func_$ac_func=no"
10543 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10544 echo "$ac_t""yes" 1>&6
10545 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10546 cat >> confdefs.h
<<EOF
10547 #define $ac_tr_func 1
10551 echo "$ac_t""no" 1>&6
10560 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
10561 echo "configure:10562: checking for sqrtf declaration" >&5
10562 if test x
${glibcpp_cv_func_sqrtf_use+set} != xset
; then
10563 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
10564 echo $ac_n "(cached) $ac_c" 1>&6
10569 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10570 ac_cpp
='$CXXCPP $CPPFLAGS'
10571 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10572 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10573 cross_compiling
=$ac_cv_prog_cxx_cross
10575 cat > conftest.
$ac_ext <<EOF
10576 #line 10577 "configure"
10577 #include "confdefs.h"
10579 #ifdef HAVE_IEEEFP_H
10580 #include <ieeefp.h>
10587 if { (eval echo configure
:10588: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10589 glibcpp_cv_func_sqrtf_use
=yes
10591 echo "configure: failed program was:" >&5
10592 cat conftest.
$ac_ext >&5
10594 glibcpp_cv_func_sqrtf_use
=no
10598 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10599 ac_cpp
='$CPP $CPPFLAGS'
10600 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10601 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10602 cross_compiling
=$ac_cv_prog_cc_cross
10608 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
10610 if test x
$glibcpp_cv_func_sqrtf_use = x
"yes"; then
10611 for ac_func
in sqrtf
10613 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10614 echo "configure:10615: checking for $ac_func" >&5
10615 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10616 echo $ac_n "(cached) $ac_c" 1>&6
10618 cat > conftest.
$ac_ext <<EOF
10619 #line 10620 "configure"
10620 #include "confdefs.h"
10621 /* System header to define __stub macros and hopefully few prototypes,
10622 which can conflict with char $ac_func(); below. */
10623 #include <assert.h>
10624 /* Override any gcc2 internal prototype to avoid an error. */
10625 /* We use char because int might match the return type of a gcc2
10626 builtin and then its argument prototype would still apply. */
10631 /* The GNU C library defines this for functions which it implements
10632 to always fail with ENOSYS. Some functions are actually named
10633 something starting with __ and the normal name is an alias. */
10634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10642 if { (eval echo configure
:10643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10644 eval "ac_cv_func_$ac_func=yes"
10646 echo "configure: failed program was:" >&5
10647 cat conftest.
$ac_ext >&5
10649 eval "ac_cv_func_$ac_func=no"
10654 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10655 echo "$ac_t""yes" 1>&6
10656 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10657 cat >> confdefs.h
<<EOF
10658 #define $ac_tr_func 1
10662 echo "$ac_t""no" 1>&6
10668 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
10669 echo "configure:10670: checking for _sqrtf declaration" >&5
10670 if test x
${glibcpp_cv_func__sqrtf_use+set} != xset
; then
10671 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
10672 echo $ac_n "(cached) $ac_c" 1>&6
10677 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10678 ac_cpp
='$CXXCPP $CPPFLAGS'
10679 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10680 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10681 cross_compiling
=$ac_cv_prog_cxx_cross
10683 cat > conftest.
$ac_ext <<EOF
10684 #line 10685 "configure"
10685 #include "confdefs.h"
10687 #ifdef HAVE_IEEEFP_H
10688 #include <ieeefp.h>
10695 if { (eval echo configure
:10696: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10697 glibcpp_cv_func__sqrtf_use
=yes
10699 echo "configure: failed program was:" >&5
10700 cat conftest.
$ac_ext >&5
10702 glibcpp_cv_func__sqrtf_use
=no
10706 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10707 ac_cpp
='$CPP $CPPFLAGS'
10708 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10709 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10710 cross_compiling
=$ac_cv_prog_cc_cross
10716 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
10718 if test x
$glibcpp_cv_func__sqrtf_use = x
"yes"; then
10719 for ac_func
in _sqrtf
10721 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10722 echo "configure:10723: checking for $ac_func" >&5
10723 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10724 echo $ac_n "(cached) $ac_c" 1>&6
10726 cat > conftest.
$ac_ext <<EOF
10727 #line 10728 "configure"
10728 #include "confdefs.h"
10729 /* System header to define __stub macros and hopefully few prototypes,
10730 which can conflict with char $ac_func(); below. */
10731 #include <assert.h>
10732 /* Override any gcc2 internal prototype to avoid an error. */
10733 /* We use char because int might match the return type of a gcc2
10734 builtin and then its argument prototype would still apply. */
10739 /* The GNU C library defines this for functions which it implements
10740 to always fail with ENOSYS. Some functions are actually named
10741 something starting with __ and the normal name is an alias. */
10742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10750 if { (eval echo configure
:10751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10752 eval "ac_cv_func_$ac_func=yes"
10754 echo "configure: failed program was:" >&5
10755 cat conftest.
$ac_ext >&5
10757 eval "ac_cv_func_$ac_func=no"
10762 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10763 echo "$ac_t""yes" 1>&6
10764 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10765 cat >> confdefs.h
<<EOF
10766 #define $ac_tr_func 1
10770 echo "$ac_t""no" 1>&6
10779 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
10780 echo "configure:10781: checking for sincosf declaration" >&5
10781 if test x
${glibcpp_cv_func_sincosf_use+set} != xset
; then
10782 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
10783 echo $ac_n "(cached) $ac_c" 1>&6
10788 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10789 ac_cpp
='$CXXCPP $CPPFLAGS'
10790 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10791 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10792 cross_compiling
=$ac_cv_prog_cxx_cross
10794 cat > conftest.
$ac_ext <<EOF
10795 #line 10796 "configure"
10796 #include "confdefs.h"
10802 if { (eval echo configure
:10803: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10804 glibcpp_cv_func_sincosf_use
=yes
10806 echo "configure: failed program was:" >&5
10807 cat conftest.
$ac_ext >&5
10809 glibcpp_cv_func_sincosf_use
=no
10813 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10814 ac_cpp
='$CPP $CPPFLAGS'
10815 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10816 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10817 cross_compiling
=$ac_cv_prog_cc_cross
10823 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
10825 if test x
$glibcpp_cv_func_sincosf_use = x
"yes"; then
10826 for ac_func
in sincosf
10828 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10829 echo "configure:10830: checking for $ac_func" >&5
10830 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10831 echo $ac_n "(cached) $ac_c" 1>&6
10833 cat > conftest.
$ac_ext <<EOF
10834 #line 10835 "configure"
10835 #include "confdefs.h"
10836 /* System header to define __stub macros and hopefully few prototypes,
10837 which can conflict with char $ac_func(); below. */
10838 #include <assert.h>
10839 /* Override any gcc2 internal prototype to avoid an error. */
10840 /* We use char because int might match the return type of a gcc2
10841 builtin and then its argument prototype would still apply. */
10846 /* The GNU C library defines this for functions which it implements
10847 to always fail with ENOSYS. Some functions are actually named
10848 something starting with __ and the normal name is an alias. */
10849 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10857 if { (eval echo configure
:10858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10859 eval "ac_cv_func_$ac_func=yes"
10861 echo "configure: failed program was:" >&5
10862 cat conftest.
$ac_ext >&5
10864 eval "ac_cv_func_$ac_func=no"
10869 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10870 echo "$ac_t""yes" 1>&6
10871 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10872 cat >> confdefs.h
<<EOF
10873 #define $ac_tr_func 1
10877 echo "$ac_t""no" 1>&6
10883 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
10884 echo "configure:10885: checking for _sincosf declaration" >&5
10885 if test x
${glibcpp_cv_func__sincosf_use+set} != xset
; then
10886 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
10887 echo $ac_n "(cached) $ac_c" 1>&6
10892 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10893 ac_cpp
='$CXXCPP $CPPFLAGS'
10894 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10895 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10896 cross_compiling
=$ac_cv_prog_cxx_cross
10898 cat > conftest.
$ac_ext <<EOF
10899 #line 10900 "configure"
10900 #include "confdefs.h"
10906 if { (eval echo configure
:10907: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10908 glibcpp_cv_func__sincosf_use
=yes
10910 echo "configure: failed program was:" >&5
10911 cat conftest.
$ac_ext >&5
10913 glibcpp_cv_func__sincosf_use
=no
10917 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10918 ac_cpp
='$CPP $CPPFLAGS'
10919 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10920 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10921 cross_compiling
=$ac_cv_prog_cc_cross
10927 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
10929 if test x
$glibcpp_cv_func__sincosf_use = x
"yes"; then
10930 for ac_func
in _sincosf
10932 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10933 echo "configure:10934: checking for $ac_func" >&5
10934 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10935 echo $ac_n "(cached) $ac_c" 1>&6
10937 cat > conftest.
$ac_ext <<EOF
10938 #line 10939 "configure"
10939 #include "confdefs.h"
10940 /* System header to define __stub macros and hopefully few prototypes,
10941 which can conflict with char $ac_func(); below. */
10942 #include <assert.h>
10943 /* Override any gcc2 internal prototype to avoid an error. */
10944 /* We use char because int might match the return type of a gcc2
10945 builtin and then its argument prototype would still apply. */
10950 /* The GNU C library defines this for functions which it implements
10951 to always fail with ENOSYS. Some functions are actually named
10952 something starting with __ and the normal name is an alias. */
10953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10961 if { (eval echo configure
:10962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10963 eval "ac_cv_func_$ac_func=yes"
10965 echo "configure: failed program was:" >&5
10966 cat conftest.
$ac_ext >&5
10968 eval "ac_cv_func_$ac_func=no"
10973 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10974 echo "$ac_t""yes" 1>&6
10975 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10976 cat >> confdefs.h
<<EOF
10977 #define $ac_tr_func 1
10981 echo "$ac_t""no" 1>&6
10990 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
10991 echo "configure:10992: checking for finitef declaration" >&5
10992 if test x
${glibcpp_cv_func_finitef_use+set} != xset
; then
10993 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
10994 echo $ac_n "(cached) $ac_c" 1>&6
10999 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11000 ac_cpp
='$CXXCPP $CPPFLAGS'
11001 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11002 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11003 cross_compiling
=$ac_cv_prog_cxx_cross
11005 cat > conftest.
$ac_ext <<EOF
11006 #line 11007 "configure"
11007 #include "confdefs.h"
11009 #ifdef HAVE_IEEEFP_H
11010 #include <ieeefp.h>
11017 if { (eval echo configure
:11018: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11019 glibcpp_cv_func_finitef_use
=yes
11021 echo "configure: failed program was:" >&5
11022 cat conftest.
$ac_ext >&5
11024 glibcpp_cv_func_finitef_use
=no
11028 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11029 ac_cpp
='$CPP $CPPFLAGS'
11030 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11031 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11032 cross_compiling
=$ac_cv_prog_cc_cross
11038 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
11040 if test x
$glibcpp_cv_func_finitef_use = x
"yes"; then
11041 for ac_func
in finitef
11043 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11044 echo "configure:11045: checking for $ac_func" >&5
11045 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11046 echo $ac_n "(cached) $ac_c" 1>&6
11048 cat > conftest.
$ac_ext <<EOF
11049 #line 11050 "configure"
11050 #include "confdefs.h"
11051 /* System header to define __stub macros and hopefully few prototypes,
11052 which can conflict with char $ac_func(); below. */
11053 #include <assert.h>
11054 /* Override any gcc2 internal prototype to avoid an error. */
11055 /* We use char because int might match the return type of a gcc2
11056 builtin and then its argument prototype would still apply. */
11061 /* The GNU C library defines this for functions which it implements
11062 to always fail with ENOSYS. Some functions are actually named
11063 something starting with __ and the normal name is an alias. */
11064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11072 if { (eval echo configure
:11073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11074 eval "ac_cv_func_$ac_func=yes"
11076 echo "configure: failed program was:" >&5
11077 cat conftest.
$ac_ext >&5
11079 eval "ac_cv_func_$ac_func=no"
11084 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11085 echo "$ac_t""yes" 1>&6
11086 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11087 cat >> confdefs.h
<<EOF
11088 #define $ac_tr_func 1
11092 echo "$ac_t""no" 1>&6
11098 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
11099 echo "configure:11100: checking for _finitef declaration" >&5
11100 if test x
${glibcpp_cv_func__finitef_use+set} != xset
; then
11101 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
11102 echo $ac_n "(cached) $ac_c" 1>&6
11107 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11108 ac_cpp
='$CXXCPP $CPPFLAGS'
11109 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11110 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11111 cross_compiling
=$ac_cv_prog_cxx_cross
11113 cat > conftest.
$ac_ext <<EOF
11114 #line 11115 "configure"
11115 #include "confdefs.h"
11117 #ifdef HAVE_IEEEFP_H
11118 #include <ieeefp.h>
11125 if { (eval echo configure
:11126: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11127 glibcpp_cv_func__finitef_use
=yes
11129 echo "configure: failed program was:" >&5
11130 cat conftest.
$ac_ext >&5
11132 glibcpp_cv_func__finitef_use
=no
11136 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11137 ac_cpp
='$CPP $CPPFLAGS'
11138 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11139 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11140 cross_compiling
=$ac_cv_prog_cc_cross
11146 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
11148 if test x
$glibcpp_cv_func__finitef_use = x
"yes"; then
11149 for ac_func
in _finitef
11151 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11152 echo "configure:11153: checking for $ac_func" >&5
11153 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11154 echo $ac_n "(cached) $ac_c" 1>&6
11156 cat > conftest.
$ac_ext <<EOF
11157 #line 11158 "configure"
11158 #include "confdefs.h"
11159 /* System header to define __stub macros and hopefully few prototypes,
11160 which can conflict with char $ac_func(); below. */
11161 #include <assert.h>
11162 /* Override any gcc2 internal prototype to avoid an error. */
11163 /* We use char because int might match the return type of a gcc2
11164 builtin and then its argument prototype would still apply. */
11169 /* The GNU C library defines this for functions which it implements
11170 to always fail with ENOSYS. Some functions are actually named
11171 something starting with __ and the normal name is an alias. */
11172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11180 if { (eval echo configure
:11181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11182 eval "ac_cv_func_$ac_func=yes"
11184 echo "configure: failed program was:" >&5
11185 cat conftest.
$ac_ext >&5
11187 eval "ac_cv_func_$ac_func=no"
11192 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11193 echo "$ac_t""yes" 1>&6
11194 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11195 cat >> confdefs.h
<<EOF
11196 #define $ac_tr_func 1
11200 echo "$ac_t""no" 1>&6
11209 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
11210 echo "configure:11211: checking for long double trig functions" >&5
11211 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
11212 echo $ac_n "(cached) $ac_c" 1>&6
11217 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11218 ac_cpp
='$CXXCPP $CPPFLAGS'
11219 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11220 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11221 cross_compiling
=$ac_cv_prog_cxx_cross
11223 cat > conftest.
$ac_ext <<EOF
11224 #line 11225 "configure"
11225 #include "confdefs.h"
11228 `for x in acosl asinl atanl \
11230 coshl sinhl tanhl; do echo "$x (0);"; done`
11233 if { (eval echo configure
:11234: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11235 glibcpp_cv_func_long_double_trig_use
=yes
11237 echo "configure: failed program was:" >&5
11238 cat conftest.
$ac_ext >&5
11240 glibcpp_cv_func_long_double_trig_use
=no
11244 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11245 ac_cpp
='$CPP $CPPFLAGS'
11246 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11247 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11248 cross_compiling
=$ac_cv_prog_cc_cross
11252 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
11253 if test x
$glibcpp_cv_func_long_double_trig_use = x
"yes"; then
11254 for ac_func
in acosl asinl atanl \
11258 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11259 echo "configure:11260: checking for $ac_func" >&5
11260 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11261 echo $ac_n "(cached) $ac_c" 1>&6
11263 cat > conftest.
$ac_ext <<EOF
11264 #line 11265 "configure"
11265 #include "confdefs.h"
11266 /* System header to define __stub macros and hopefully few prototypes,
11267 which can conflict with char $ac_func(); below. */
11268 #include <assert.h>
11269 /* Override any gcc2 internal prototype to avoid an error. */
11270 /* We use char because int might match the return type of a gcc2
11271 builtin and then its argument prototype would still apply. */
11276 /* The GNU C library defines this for functions which it implements
11277 to always fail with ENOSYS. Some functions are actually named
11278 something starting with __ and the normal name is an alias. */
11279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11287 if { (eval echo configure
:11288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11289 eval "ac_cv_func_$ac_func=yes"
11291 echo "configure: failed program was:" >&5
11292 cat conftest.
$ac_ext >&5
11294 eval "ac_cv_func_$ac_func=no"
11299 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11300 echo "$ac_t""yes" 1>&6
11301 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11302 cat >> confdefs.h
<<EOF
11303 #define $ac_tr_func 1
11307 echo "$ac_t""no" 1>&6
11314 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
11315 echo "configure:11316: checking for long double round functions" >&5
11316 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
11317 echo $ac_n "(cached) $ac_c" 1>&6
11322 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11323 ac_cpp
='$CXXCPP $CPPFLAGS'
11324 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11325 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11326 cross_compiling
=$ac_cv_prog_cxx_cross
11328 cat > conftest.
$ac_ext <<EOF
11329 #line 11330 "configure"
11330 #include "confdefs.h"
11333 `for x in ceill floorl; do echo "$x (0);"; done`
11336 if { (eval echo configure
:11337: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11338 glibcpp_cv_func_long_double_round_use
=yes
11340 echo "configure: failed program was:" >&5
11341 cat conftest.
$ac_ext >&5
11343 glibcpp_cv_func_long_double_round_use
=no
11347 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11348 ac_cpp
='$CPP $CPPFLAGS'
11349 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11350 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11351 cross_compiling
=$ac_cv_prog_cc_cross
11355 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
11356 if test x
$glibcpp_cv_func_long_double_round_use = x
"yes"; then
11357 for ac_func
in ceill floorl
11359 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11360 echo "configure:11361: checking for $ac_func" >&5
11361 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11362 echo $ac_n "(cached) $ac_c" 1>&6
11364 cat > conftest.
$ac_ext <<EOF
11365 #line 11366 "configure"
11366 #include "confdefs.h"
11367 /* System header to define __stub macros and hopefully few prototypes,
11368 which can conflict with char $ac_func(); below. */
11369 #include <assert.h>
11370 /* Override any gcc2 internal prototype to avoid an error. */
11371 /* We use char because int might match the return type of a gcc2
11372 builtin and then its argument prototype would still apply. */
11377 /* The GNU C library defines this for functions which it implements
11378 to always fail with ENOSYS. Some functions are actually named
11379 something starting with __ and the normal name is an alias. */
11380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11388 if { (eval echo configure
:11389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11390 eval "ac_cv_func_$ac_func=yes"
11392 echo "configure: failed program was:" >&5
11393 cat conftest.
$ac_ext >&5
11395 eval "ac_cv_func_$ac_func=no"
11400 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11401 echo "$ac_t""yes" 1>&6
11402 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11403 cat >> confdefs.h
<<EOF
11404 #define $ac_tr_func 1
11408 echo "$ac_t""no" 1>&6
11416 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
11417 echo "configure:11418: checking for isnanl declaration" >&5
11418 if test x
${glibcpp_cv_func_isnanl_use+set} != xset
; then
11419 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
11420 echo $ac_n "(cached) $ac_c" 1>&6
11425 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11426 ac_cpp
='$CXXCPP $CPPFLAGS'
11427 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11428 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11429 cross_compiling
=$ac_cv_prog_cxx_cross
11431 cat > conftest.
$ac_ext <<EOF
11432 #line 11433 "configure"
11433 #include "confdefs.h"
11435 #ifdef HAVE_IEEEFP_H
11436 #include <ieeefp.h>
11443 if { (eval echo configure
:11444: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11445 glibcpp_cv_func_isnanl_use
=yes
11447 echo "configure: failed program was:" >&5
11448 cat conftest.
$ac_ext >&5
11450 glibcpp_cv_func_isnanl_use
=no
11454 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11455 ac_cpp
='$CPP $CPPFLAGS'
11456 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11457 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11458 cross_compiling
=$ac_cv_prog_cc_cross
11464 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
11466 if test x
$glibcpp_cv_func_isnanl_use = x
"yes"; then
11467 for ac_func
in isnanl
11469 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11470 echo "configure:11471: checking for $ac_func" >&5
11471 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11472 echo $ac_n "(cached) $ac_c" 1>&6
11474 cat > conftest.
$ac_ext <<EOF
11475 #line 11476 "configure"
11476 #include "confdefs.h"
11477 /* System header to define __stub macros and hopefully few prototypes,
11478 which can conflict with char $ac_func(); below. */
11479 #include <assert.h>
11480 /* Override any gcc2 internal prototype to avoid an error. */
11481 /* We use char because int might match the return type of a gcc2
11482 builtin and then its argument prototype would still apply. */
11487 /* The GNU C library defines this for functions which it implements
11488 to always fail with ENOSYS. Some functions are actually named
11489 something starting with __ and the normal name is an alias. */
11490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11498 if { (eval echo configure
:11499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11500 eval "ac_cv_func_$ac_func=yes"
11502 echo "configure: failed program was:" >&5
11503 cat conftest.
$ac_ext >&5
11505 eval "ac_cv_func_$ac_func=no"
11510 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11511 echo "$ac_t""yes" 1>&6
11512 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11513 cat >> confdefs.h
<<EOF
11514 #define $ac_tr_func 1
11518 echo "$ac_t""no" 1>&6
11524 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
11525 echo "configure:11526: checking for _isnanl declaration" >&5
11526 if test x
${glibcpp_cv_func__isnanl_use+set} != xset
; then
11527 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
11528 echo $ac_n "(cached) $ac_c" 1>&6
11533 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11534 ac_cpp
='$CXXCPP $CPPFLAGS'
11535 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11536 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11537 cross_compiling
=$ac_cv_prog_cxx_cross
11539 cat > conftest.
$ac_ext <<EOF
11540 #line 11541 "configure"
11541 #include "confdefs.h"
11543 #ifdef HAVE_IEEEFP_H
11544 #include <ieeefp.h>
11551 if { (eval echo configure
:11552: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11553 glibcpp_cv_func__isnanl_use
=yes
11555 echo "configure: failed program was:" >&5
11556 cat conftest.
$ac_ext >&5
11558 glibcpp_cv_func__isnanl_use
=no
11562 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11563 ac_cpp
='$CPP $CPPFLAGS'
11564 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11565 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11566 cross_compiling
=$ac_cv_prog_cc_cross
11572 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
11574 if test x
$glibcpp_cv_func__isnanl_use = x
"yes"; then
11575 for ac_func
in _isnanl
11577 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11578 echo "configure:11579: checking for $ac_func" >&5
11579 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11580 echo $ac_n "(cached) $ac_c" 1>&6
11582 cat > conftest.
$ac_ext <<EOF
11583 #line 11584 "configure"
11584 #include "confdefs.h"
11585 /* System header to define __stub macros and hopefully few prototypes,
11586 which can conflict with char $ac_func(); below. */
11587 #include <assert.h>
11588 /* Override any gcc2 internal prototype to avoid an error. */
11589 /* We use char because int might match the return type of a gcc2
11590 builtin and then its argument prototype would still apply. */
11595 /* The GNU C library defines this for functions which it implements
11596 to always fail with ENOSYS. Some functions are actually named
11597 something starting with __ and the normal name is an alias. */
11598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11606 if { (eval echo configure
:11607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11608 eval "ac_cv_func_$ac_func=yes"
11610 echo "configure: failed program was:" >&5
11611 cat conftest.
$ac_ext >&5
11613 eval "ac_cv_func_$ac_func=no"
11618 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11619 echo "$ac_t""yes" 1>&6
11620 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11621 cat >> confdefs.h
<<EOF
11622 #define $ac_tr_func 1
11626 echo "$ac_t""no" 1>&6
11635 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
11636 echo "configure:11637: checking for isinfl declaration" >&5
11637 if test x
${glibcpp_cv_func_isinfl_use+set} != xset
; then
11638 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
11639 echo $ac_n "(cached) $ac_c" 1>&6
11644 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11645 ac_cpp
='$CXXCPP $CPPFLAGS'
11646 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11647 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11648 cross_compiling
=$ac_cv_prog_cxx_cross
11650 cat > conftest.
$ac_ext <<EOF
11651 #line 11652 "configure"
11652 #include "confdefs.h"
11654 #ifdef HAVE_IEEEFP_H
11655 #include <ieeefp.h>
11662 if { (eval echo configure
:11663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11664 glibcpp_cv_func_isinfl_use
=yes
11666 echo "configure: failed program was:" >&5
11667 cat conftest.
$ac_ext >&5
11669 glibcpp_cv_func_isinfl_use
=no
11673 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11674 ac_cpp
='$CPP $CPPFLAGS'
11675 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11676 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11677 cross_compiling
=$ac_cv_prog_cc_cross
11683 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
11685 if test x
$glibcpp_cv_func_isinfl_use = x
"yes"; then
11686 for ac_func
in isinfl
11688 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11689 echo "configure:11690: checking for $ac_func" >&5
11690 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11691 echo $ac_n "(cached) $ac_c" 1>&6
11693 cat > conftest.
$ac_ext <<EOF
11694 #line 11695 "configure"
11695 #include "confdefs.h"
11696 /* System header to define __stub macros and hopefully few prototypes,
11697 which can conflict with char $ac_func(); below. */
11698 #include <assert.h>
11699 /* Override any gcc2 internal prototype to avoid an error. */
11700 /* We use char because int might match the return type of a gcc2
11701 builtin and then its argument prototype would still apply. */
11706 /* The GNU C library defines this for functions which it implements
11707 to always fail with ENOSYS. Some functions are actually named
11708 something starting with __ and the normal name is an alias. */
11709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11717 if { (eval echo configure
:11718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11719 eval "ac_cv_func_$ac_func=yes"
11721 echo "configure: failed program was:" >&5
11722 cat conftest.
$ac_ext >&5
11724 eval "ac_cv_func_$ac_func=no"
11729 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11730 echo "$ac_t""yes" 1>&6
11731 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11732 cat >> confdefs.h
<<EOF
11733 #define $ac_tr_func 1
11737 echo "$ac_t""no" 1>&6
11743 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
11744 echo "configure:11745: checking for _isinfl declaration" >&5
11745 if test x
${glibcpp_cv_func__isinfl_use+set} != xset
; then
11746 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
11747 echo $ac_n "(cached) $ac_c" 1>&6
11752 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11753 ac_cpp
='$CXXCPP $CPPFLAGS'
11754 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11755 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11756 cross_compiling
=$ac_cv_prog_cxx_cross
11758 cat > conftest.
$ac_ext <<EOF
11759 #line 11760 "configure"
11760 #include "confdefs.h"
11762 #ifdef HAVE_IEEEFP_H
11763 #include <ieeefp.h>
11770 if { (eval echo configure
:11771: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11772 glibcpp_cv_func__isinfl_use
=yes
11774 echo "configure: failed program was:" >&5
11775 cat conftest.
$ac_ext >&5
11777 glibcpp_cv_func__isinfl_use
=no
11781 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11782 ac_cpp
='$CPP $CPPFLAGS'
11783 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11784 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11785 cross_compiling
=$ac_cv_prog_cc_cross
11791 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
11793 if test x
$glibcpp_cv_func__isinfl_use = x
"yes"; then
11794 for ac_func
in _isinfl
11796 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11797 echo "configure:11798: checking for $ac_func" >&5
11798 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11799 echo $ac_n "(cached) $ac_c" 1>&6
11801 cat > conftest.
$ac_ext <<EOF
11802 #line 11803 "configure"
11803 #include "confdefs.h"
11804 /* System header to define __stub macros and hopefully few prototypes,
11805 which can conflict with char $ac_func(); below. */
11806 #include <assert.h>
11807 /* Override any gcc2 internal prototype to avoid an error. */
11808 /* We use char because int might match the return type of a gcc2
11809 builtin and then its argument prototype would still apply. */
11814 /* The GNU C library defines this for functions which it implements
11815 to always fail with ENOSYS. Some functions are actually named
11816 something starting with __ and the normal name is an alias. */
11817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11825 if { (eval echo configure
:11826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11827 eval "ac_cv_func_$ac_func=yes"
11829 echo "configure: failed program was:" >&5
11830 cat conftest.
$ac_ext >&5
11832 eval "ac_cv_func_$ac_func=no"
11837 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11838 echo "$ac_t""yes" 1>&6
11839 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11840 cat >> confdefs.h
<<EOF
11841 #define $ac_tr_func 1
11845 echo "$ac_t""no" 1>&6
11854 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
11855 echo "configure:11856: checking for copysignl declaration" >&5
11856 if test x
${glibcpp_cv_func_copysignl_use+set} != xset
; then
11857 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
11858 echo $ac_n "(cached) $ac_c" 1>&6
11863 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11864 ac_cpp
='$CXXCPP $CPPFLAGS'
11865 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11866 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11867 cross_compiling
=$ac_cv_prog_cxx_cross
11869 cat > conftest.
$ac_ext <<EOF
11870 #line 11871 "configure"
11871 #include "confdefs.h"
11877 if { (eval echo configure
:11878: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11879 glibcpp_cv_func_copysignl_use
=yes
11881 echo "configure: failed program was:" >&5
11882 cat conftest.
$ac_ext >&5
11884 glibcpp_cv_func_copysignl_use
=no
11888 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11889 ac_cpp
='$CPP $CPPFLAGS'
11890 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11891 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11892 cross_compiling
=$ac_cv_prog_cc_cross
11898 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
11900 if test x
$glibcpp_cv_func_copysignl_use = x
"yes"; then
11901 for ac_func
in copysignl
11903 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11904 echo "configure:11905: checking for $ac_func" >&5
11905 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11906 echo $ac_n "(cached) $ac_c" 1>&6
11908 cat > conftest.
$ac_ext <<EOF
11909 #line 11910 "configure"
11910 #include "confdefs.h"
11911 /* System header to define __stub macros and hopefully few prototypes,
11912 which can conflict with char $ac_func(); below. */
11913 #include <assert.h>
11914 /* Override any gcc2 internal prototype to avoid an error. */
11915 /* We use char because int might match the return type of a gcc2
11916 builtin and then its argument prototype would still apply. */
11921 /* The GNU C library defines this for functions which it implements
11922 to always fail with ENOSYS. Some functions are actually named
11923 something starting with __ and the normal name is an alias. */
11924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11932 if { (eval echo configure
:11933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11934 eval "ac_cv_func_$ac_func=yes"
11936 echo "configure: failed program was:" >&5
11937 cat conftest.
$ac_ext >&5
11939 eval "ac_cv_func_$ac_func=no"
11944 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11945 echo "$ac_t""yes" 1>&6
11946 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11947 cat >> confdefs.h
<<EOF
11948 #define $ac_tr_func 1
11952 echo "$ac_t""no" 1>&6
11958 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
11959 echo "configure:11960: checking for _copysignl declaration" >&5
11960 if test x
${glibcpp_cv_func__copysignl_use+set} != xset
; then
11961 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
11962 echo $ac_n "(cached) $ac_c" 1>&6
11967 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11968 ac_cpp
='$CXXCPP $CPPFLAGS'
11969 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11970 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11971 cross_compiling
=$ac_cv_prog_cxx_cross
11973 cat > conftest.
$ac_ext <<EOF
11974 #line 11975 "configure"
11975 #include "confdefs.h"
11981 if { (eval echo configure
:11982: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11983 glibcpp_cv_func__copysignl_use
=yes
11985 echo "configure: failed program was:" >&5
11986 cat conftest.
$ac_ext >&5
11988 glibcpp_cv_func__copysignl_use
=no
11992 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11993 ac_cpp
='$CPP $CPPFLAGS'
11994 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11995 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11996 cross_compiling
=$ac_cv_prog_cc_cross
12002 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
12004 if test x
$glibcpp_cv_func__copysignl_use = x
"yes"; then
12005 for ac_func
in _copysignl
12007 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12008 echo "configure:12009: checking for $ac_func" >&5
12009 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12010 echo $ac_n "(cached) $ac_c" 1>&6
12012 cat > conftest.
$ac_ext <<EOF
12013 #line 12014 "configure"
12014 #include "confdefs.h"
12015 /* System header to define __stub macros and hopefully few prototypes,
12016 which can conflict with char $ac_func(); below. */
12017 #include <assert.h>
12018 /* Override any gcc2 internal prototype to avoid an error. */
12019 /* We use char because int might match the return type of a gcc2
12020 builtin and then its argument prototype would still apply. */
12025 /* The GNU C library defines this for functions which it implements
12026 to always fail with ENOSYS. Some functions are actually named
12027 something starting with __ and the normal name is an alias. */
12028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12036 if { (eval echo configure
:12037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12038 eval "ac_cv_func_$ac_func=yes"
12040 echo "configure: failed program was:" >&5
12041 cat conftest.
$ac_ext >&5
12043 eval "ac_cv_func_$ac_func=no"
12048 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12049 echo "$ac_t""yes" 1>&6
12050 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12051 cat >> confdefs.h
<<EOF
12052 #define $ac_tr_func 1
12056 echo "$ac_t""no" 1>&6
12065 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
12066 echo "configure:12067: checking for atan2l declaration" >&5
12067 if test x
${glibcpp_cv_func_atan2l_use+set} != xset
; then
12068 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
12069 echo $ac_n "(cached) $ac_c" 1>&6
12074 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12075 ac_cpp
='$CXXCPP $CPPFLAGS'
12076 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12077 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12078 cross_compiling
=$ac_cv_prog_cxx_cross
12080 cat > conftest.
$ac_ext <<EOF
12081 #line 12082 "configure"
12082 #include "confdefs.h"
12088 if { (eval echo configure
:12089: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12090 glibcpp_cv_func_atan2l_use
=yes
12092 echo "configure: failed program was:" >&5
12093 cat conftest.
$ac_ext >&5
12095 glibcpp_cv_func_atan2l_use
=no
12099 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12100 ac_cpp
='$CPP $CPPFLAGS'
12101 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12102 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12103 cross_compiling
=$ac_cv_prog_cc_cross
12109 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
12111 if test x
$glibcpp_cv_func_atan2l_use = x
"yes"; then
12112 for ac_func
in atan2l
12114 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12115 echo "configure:12116: checking for $ac_func" >&5
12116 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12117 echo $ac_n "(cached) $ac_c" 1>&6
12119 cat > conftest.
$ac_ext <<EOF
12120 #line 12121 "configure"
12121 #include "confdefs.h"
12122 /* System header to define __stub macros and hopefully few prototypes,
12123 which can conflict with char $ac_func(); below. */
12124 #include <assert.h>
12125 /* Override any gcc2 internal prototype to avoid an error. */
12126 /* We use char because int might match the return type of a gcc2
12127 builtin and then its argument prototype would still apply. */
12132 /* The GNU C library defines this for functions which it implements
12133 to always fail with ENOSYS. Some functions are actually named
12134 something starting with __ and the normal name is an alias. */
12135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12143 if { (eval echo configure
:12144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12145 eval "ac_cv_func_$ac_func=yes"
12147 echo "configure: failed program was:" >&5
12148 cat conftest.
$ac_ext >&5
12150 eval "ac_cv_func_$ac_func=no"
12155 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12156 echo "$ac_t""yes" 1>&6
12157 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12158 cat >> confdefs.h
<<EOF
12159 #define $ac_tr_func 1
12163 echo "$ac_t""no" 1>&6
12169 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
12170 echo "configure:12171: checking for _atan2l declaration" >&5
12171 if test x
${glibcpp_cv_func__atan2l_use+set} != xset
; then
12172 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
12173 echo $ac_n "(cached) $ac_c" 1>&6
12178 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12179 ac_cpp
='$CXXCPP $CPPFLAGS'
12180 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12181 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12182 cross_compiling
=$ac_cv_prog_cxx_cross
12184 cat > conftest.
$ac_ext <<EOF
12185 #line 12186 "configure"
12186 #include "confdefs.h"
12192 if { (eval echo configure
:12193: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12194 glibcpp_cv_func__atan2l_use
=yes
12196 echo "configure: failed program was:" >&5
12197 cat conftest.
$ac_ext >&5
12199 glibcpp_cv_func__atan2l_use
=no
12203 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12204 ac_cpp
='$CPP $CPPFLAGS'
12205 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12206 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12207 cross_compiling
=$ac_cv_prog_cc_cross
12213 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
12215 if test x
$glibcpp_cv_func__atan2l_use = x
"yes"; then
12216 for ac_func
in _atan2l
12218 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12219 echo "configure:12220: checking for $ac_func" >&5
12220 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12221 echo $ac_n "(cached) $ac_c" 1>&6
12223 cat > conftest.
$ac_ext <<EOF
12224 #line 12225 "configure"
12225 #include "confdefs.h"
12226 /* System header to define __stub macros and hopefully few prototypes,
12227 which can conflict with char $ac_func(); below. */
12228 #include <assert.h>
12229 /* Override any gcc2 internal prototype to avoid an error. */
12230 /* We use char because int might match the return type of a gcc2
12231 builtin and then its argument prototype would still apply. */
12236 /* The GNU C library defines this for functions which it implements
12237 to always fail with ENOSYS. Some functions are actually named
12238 something starting with __ and the normal name is an alias. */
12239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12247 if { (eval echo configure
:12248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12249 eval "ac_cv_func_$ac_func=yes"
12251 echo "configure: failed program was:" >&5
12252 cat conftest.
$ac_ext >&5
12254 eval "ac_cv_func_$ac_func=no"
12259 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12260 echo "$ac_t""yes" 1>&6
12261 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12262 cat >> confdefs.h
<<EOF
12263 #define $ac_tr_func 1
12267 echo "$ac_t""no" 1>&6
12276 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
12277 echo "configure:12278: checking for expl declaration" >&5
12278 if test x
${glibcpp_cv_func_expl_use+set} != xset
; then
12279 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
12280 echo $ac_n "(cached) $ac_c" 1>&6
12285 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12286 ac_cpp
='$CXXCPP $CPPFLAGS'
12287 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12288 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12289 cross_compiling
=$ac_cv_prog_cxx_cross
12291 cat > conftest.
$ac_ext <<EOF
12292 #line 12293 "configure"
12293 #include "confdefs.h"
12295 #ifdef HAVE_IEEEFP_H
12296 #include <ieeefp.h>
12303 if { (eval echo configure
:12304: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12305 glibcpp_cv_func_expl_use
=yes
12307 echo "configure: failed program was:" >&5
12308 cat conftest.
$ac_ext >&5
12310 glibcpp_cv_func_expl_use
=no
12314 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12315 ac_cpp
='$CPP $CPPFLAGS'
12316 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12317 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12318 cross_compiling
=$ac_cv_prog_cc_cross
12324 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
12326 if test x
$glibcpp_cv_func_expl_use = x
"yes"; then
12327 for ac_func
in expl
12329 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12330 echo "configure:12331: checking for $ac_func" >&5
12331 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12332 echo $ac_n "(cached) $ac_c" 1>&6
12334 cat > conftest.
$ac_ext <<EOF
12335 #line 12336 "configure"
12336 #include "confdefs.h"
12337 /* System header to define __stub macros and hopefully few prototypes,
12338 which can conflict with char $ac_func(); below. */
12339 #include <assert.h>
12340 /* Override any gcc2 internal prototype to avoid an error. */
12341 /* We use char because int might match the return type of a gcc2
12342 builtin and then its argument prototype would still apply. */
12347 /* The GNU C library defines this for functions which it implements
12348 to always fail with ENOSYS. Some functions are actually named
12349 something starting with __ and the normal name is an alias. */
12350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12358 if { (eval echo configure
:12359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12360 eval "ac_cv_func_$ac_func=yes"
12362 echo "configure: failed program was:" >&5
12363 cat conftest.
$ac_ext >&5
12365 eval "ac_cv_func_$ac_func=no"
12370 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12371 echo "$ac_t""yes" 1>&6
12372 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12373 cat >> confdefs.h
<<EOF
12374 #define $ac_tr_func 1
12378 echo "$ac_t""no" 1>&6
12384 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
12385 echo "configure:12386: checking for _expl declaration" >&5
12386 if test x
${glibcpp_cv_func__expl_use+set} != xset
; then
12387 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
12388 echo $ac_n "(cached) $ac_c" 1>&6
12393 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12394 ac_cpp
='$CXXCPP $CPPFLAGS'
12395 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12396 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12397 cross_compiling
=$ac_cv_prog_cxx_cross
12399 cat > conftest.
$ac_ext <<EOF
12400 #line 12401 "configure"
12401 #include "confdefs.h"
12403 #ifdef HAVE_IEEEFP_H
12404 #include <ieeefp.h>
12411 if { (eval echo configure
:12412: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12413 glibcpp_cv_func__expl_use
=yes
12415 echo "configure: failed program was:" >&5
12416 cat conftest.
$ac_ext >&5
12418 glibcpp_cv_func__expl_use
=no
12422 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12423 ac_cpp
='$CPP $CPPFLAGS'
12424 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12425 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12426 cross_compiling
=$ac_cv_prog_cc_cross
12432 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
12434 if test x
$glibcpp_cv_func__expl_use = x
"yes"; then
12435 for ac_func
in _expl
12437 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12438 echo "configure:12439: checking for $ac_func" >&5
12439 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12440 echo $ac_n "(cached) $ac_c" 1>&6
12442 cat > conftest.
$ac_ext <<EOF
12443 #line 12444 "configure"
12444 #include "confdefs.h"
12445 /* System header to define __stub macros and hopefully few prototypes,
12446 which can conflict with char $ac_func(); below. */
12447 #include <assert.h>
12448 /* Override any gcc2 internal prototype to avoid an error. */
12449 /* We use char because int might match the return type of a gcc2
12450 builtin and then its argument prototype would still apply. */
12455 /* The GNU C library defines this for functions which it implements
12456 to always fail with ENOSYS. Some functions are actually named
12457 something starting with __ and the normal name is an alias. */
12458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12466 if { (eval echo configure
:12467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12468 eval "ac_cv_func_$ac_func=yes"
12470 echo "configure: failed program was:" >&5
12471 cat conftest.
$ac_ext >&5
12473 eval "ac_cv_func_$ac_func=no"
12478 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12479 echo "$ac_t""yes" 1>&6
12480 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12481 cat >> confdefs.h
<<EOF
12482 #define $ac_tr_func 1
12486 echo "$ac_t""no" 1>&6
12495 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
12496 echo "configure:12497: checking for fabsl declaration" >&5
12497 if test x
${glibcpp_cv_func_fabsl_use+set} != xset
; then
12498 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
12499 echo $ac_n "(cached) $ac_c" 1>&6
12504 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12505 ac_cpp
='$CXXCPP $CPPFLAGS'
12506 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12507 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12508 cross_compiling
=$ac_cv_prog_cxx_cross
12510 cat > conftest.
$ac_ext <<EOF
12511 #line 12512 "configure"
12512 #include "confdefs.h"
12514 #ifdef HAVE_IEEEFP_H
12515 #include <ieeefp.h>
12522 if { (eval echo configure
:12523: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12524 glibcpp_cv_func_fabsl_use
=yes
12526 echo "configure: failed program was:" >&5
12527 cat conftest.
$ac_ext >&5
12529 glibcpp_cv_func_fabsl_use
=no
12533 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12534 ac_cpp
='$CPP $CPPFLAGS'
12535 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12536 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12537 cross_compiling
=$ac_cv_prog_cc_cross
12543 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
12545 if test x
$glibcpp_cv_func_fabsl_use = x
"yes"; then
12546 for ac_func
in fabsl
12548 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12549 echo "configure:12550: checking for $ac_func" >&5
12550 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12551 echo $ac_n "(cached) $ac_c" 1>&6
12553 cat > conftest.
$ac_ext <<EOF
12554 #line 12555 "configure"
12555 #include "confdefs.h"
12556 /* System header to define __stub macros and hopefully few prototypes,
12557 which can conflict with char $ac_func(); below. */
12558 #include <assert.h>
12559 /* Override any gcc2 internal prototype to avoid an error. */
12560 /* We use char because int might match the return type of a gcc2
12561 builtin and then its argument prototype would still apply. */
12566 /* The GNU C library defines this for functions which it implements
12567 to always fail with ENOSYS. Some functions are actually named
12568 something starting with __ and the normal name is an alias. */
12569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12577 if { (eval echo configure
:12578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12579 eval "ac_cv_func_$ac_func=yes"
12581 echo "configure: failed program was:" >&5
12582 cat conftest.
$ac_ext >&5
12584 eval "ac_cv_func_$ac_func=no"
12589 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12590 echo "$ac_t""yes" 1>&6
12591 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12592 cat >> confdefs.h
<<EOF
12593 #define $ac_tr_func 1
12597 echo "$ac_t""no" 1>&6
12603 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
12604 echo "configure:12605: checking for _fabsl declaration" >&5
12605 if test x
${glibcpp_cv_func__fabsl_use+set} != xset
; then
12606 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
12607 echo $ac_n "(cached) $ac_c" 1>&6
12612 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12613 ac_cpp
='$CXXCPP $CPPFLAGS'
12614 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12615 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12616 cross_compiling
=$ac_cv_prog_cxx_cross
12618 cat > conftest.
$ac_ext <<EOF
12619 #line 12620 "configure"
12620 #include "confdefs.h"
12622 #ifdef HAVE_IEEEFP_H
12623 #include <ieeefp.h>
12630 if { (eval echo configure
:12631: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12632 glibcpp_cv_func__fabsl_use
=yes
12634 echo "configure: failed program was:" >&5
12635 cat conftest.
$ac_ext >&5
12637 glibcpp_cv_func__fabsl_use
=no
12641 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12642 ac_cpp
='$CPP $CPPFLAGS'
12643 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12644 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12645 cross_compiling
=$ac_cv_prog_cc_cross
12651 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
12653 if test x
$glibcpp_cv_func__fabsl_use = x
"yes"; then
12654 for ac_func
in _fabsl
12656 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12657 echo "configure:12658: checking for $ac_func" >&5
12658 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12659 echo $ac_n "(cached) $ac_c" 1>&6
12661 cat > conftest.
$ac_ext <<EOF
12662 #line 12663 "configure"
12663 #include "confdefs.h"
12664 /* System header to define __stub macros and hopefully few prototypes,
12665 which can conflict with char $ac_func(); below. */
12666 #include <assert.h>
12667 /* Override any gcc2 internal prototype to avoid an error. */
12668 /* We use char because int might match the return type of a gcc2
12669 builtin and then its argument prototype would still apply. */
12674 /* The GNU C library defines this for functions which it implements
12675 to always fail with ENOSYS. Some functions are actually named
12676 something starting with __ and the normal name is an alias. */
12677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12685 if { (eval echo configure
:12686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12687 eval "ac_cv_func_$ac_func=yes"
12689 echo "configure: failed program was:" >&5
12690 cat conftest.
$ac_ext >&5
12692 eval "ac_cv_func_$ac_func=no"
12697 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12698 echo "$ac_t""yes" 1>&6
12699 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12700 cat >> confdefs.h
<<EOF
12701 #define $ac_tr_func 1
12705 echo "$ac_t""no" 1>&6
12714 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
12715 echo "configure:12716: checking for fmodl declaration" >&5
12716 if test x
${glibcpp_cv_func_fmodl_use+set} != xset
; then
12717 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
12718 echo $ac_n "(cached) $ac_c" 1>&6
12723 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12724 ac_cpp
='$CXXCPP $CPPFLAGS'
12725 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12726 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12727 cross_compiling
=$ac_cv_prog_cxx_cross
12729 cat > conftest.
$ac_ext <<EOF
12730 #line 12731 "configure"
12731 #include "confdefs.h"
12737 if { (eval echo configure
:12738: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12739 glibcpp_cv_func_fmodl_use
=yes
12741 echo "configure: failed program was:" >&5
12742 cat conftest.
$ac_ext >&5
12744 glibcpp_cv_func_fmodl_use
=no
12748 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12749 ac_cpp
='$CPP $CPPFLAGS'
12750 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12751 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12752 cross_compiling
=$ac_cv_prog_cc_cross
12758 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
12760 if test x
$glibcpp_cv_func_fmodl_use = x
"yes"; then
12761 for ac_func
in fmodl
12763 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12764 echo "configure:12765: checking for $ac_func" >&5
12765 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12766 echo $ac_n "(cached) $ac_c" 1>&6
12768 cat > conftest.
$ac_ext <<EOF
12769 #line 12770 "configure"
12770 #include "confdefs.h"
12771 /* System header to define __stub macros and hopefully few prototypes,
12772 which can conflict with char $ac_func(); below. */
12773 #include <assert.h>
12774 /* Override any gcc2 internal prototype to avoid an error. */
12775 /* We use char because int might match the return type of a gcc2
12776 builtin and then its argument prototype would still apply. */
12781 /* The GNU C library defines this for functions which it implements
12782 to always fail with ENOSYS. Some functions are actually named
12783 something starting with __ and the normal name is an alias. */
12784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12792 if { (eval echo configure
:12793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12794 eval "ac_cv_func_$ac_func=yes"
12796 echo "configure: failed program was:" >&5
12797 cat conftest.
$ac_ext >&5
12799 eval "ac_cv_func_$ac_func=no"
12804 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12805 echo "$ac_t""yes" 1>&6
12806 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12807 cat >> confdefs.h
<<EOF
12808 #define $ac_tr_func 1
12812 echo "$ac_t""no" 1>&6
12818 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
12819 echo "configure:12820: checking for _fmodl declaration" >&5
12820 if test x
${glibcpp_cv_func__fmodl_use+set} != xset
; then
12821 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
12822 echo $ac_n "(cached) $ac_c" 1>&6
12827 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12828 ac_cpp
='$CXXCPP $CPPFLAGS'
12829 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12830 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12831 cross_compiling
=$ac_cv_prog_cxx_cross
12833 cat > conftest.
$ac_ext <<EOF
12834 #line 12835 "configure"
12835 #include "confdefs.h"
12841 if { (eval echo configure
:12842: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12843 glibcpp_cv_func__fmodl_use
=yes
12845 echo "configure: failed program was:" >&5
12846 cat conftest.
$ac_ext >&5
12848 glibcpp_cv_func__fmodl_use
=no
12852 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12853 ac_cpp
='$CPP $CPPFLAGS'
12854 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12855 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12856 cross_compiling
=$ac_cv_prog_cc_cross
12862 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
12864 if test x
$glibcpp_cv_func__fmodl_use = x
"yes"; then
12865 for ac_func
in _fmodl
12867 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12868 echo "configure:12869: checking for $ac_func" >&5
12869 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12870 echo $ac_n "(cached) $ac_c" 1>&6
12872 cat > conftest.
$ac_ext <<EOF
12873 #line 12874 "configure"
12874 #include "confdefs.h"
12875 /* System header to define __stub macros and hopefully few prototypes,
12876 which can conflict with char $ac_func(); below. */
12877 #include <assert.h>
12878 /* Override any gcc2 internal prototype to avoid an error. */
12879 /* We use char because int might match the return type of a gcc2
12880 builtin and then its argument prototype would still apply. */
12885 /* The GNU C library defines this for functions which it implements
12886 to always fail with ENOSYS. Some functions are actually named
12887 something starting with __ and the normal name is an alias. */
12888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12896 if { (eval echo configure
:12897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12898 eval "ac_cv_func_$ac_func=yes"
12900 echo "configure: failed program was:" >&5
12901 cat conftest.
$ac_ext >&5
12903 eval "ac_cv_func_$ac_func=no"
12908 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12909 echo "$ac_t""yes" 1>&6
12910 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12911 cat >> confdefs.h
<<EOF
12912 #define $ac_tr_func 1
12916 echo "$ac_t""no" 1>&6
12925 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
12926 echo "configure:12927: checking for frexpl declaration" >&5
12927 if test x
${glibcpp_cv_func_frexpl_use+set} != xset
; then
12928 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
12929 echo $ac_n "(cached) $ac_c" 1>&6
12934 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12935 ac_cpp
='$CXXCPP $CPPFLAGS'
12936 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12937 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12938 cross_compiling
=$ac_cv_prog_cxx_cross
12940 cat > conftest.
$ac_ext <<EOF
12941 #line 12942 "configure"
12942 #include "confdefs.h"
12948 if { (eval echo configure
:12949: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12950 glibcpp_cv_func_frexpl_use
=yes
12952 echo "configure: failed program was:" >&5
12953 cat conftest.
$ac_ext >&5
12955 glibcpp_cv_func_frexpl_use
=no
12959 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12960 ac_cpp
='$CPP $CPPFLAGS'
12961 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12962 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12963 cross_compiling
=$ac_cv_prog_cc_cross
12969 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
12971 if test x
$glibcpp_cv_func_frexpl_use = x
"yes"; then
12972 for ac_func
in frexpl
12974 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12975 echo "configure:12976: checking for $ac_func" >&5
12976 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12977 echo $ac_n "(cached) $ac_c" 1>&6
12979 cat > conftest.
$ac_ext <<EOF
12980 #line 12981 "configure"
12981 #include "confdefs.h"
12982 /* System header to define __stub macros and hopefully few prototypes,
12983 which can conflict with char $ac_func(); below. */
12984 #include <assert.h>
12985 /* Override any gcc2 internal prototype to avoid an error. */
12986 /* We use char because int might match the return type of a gcc2
12987 builtin and then its argument prototype would still apply. */
12992 /* The GNU C library defines this for functions which it implements
12993 to always fail with ENOSYS. Some functions are actually named
12994 something starting with __ and the normal name is an alias. */
12995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13003 if { (eval echo configure
:13004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13005 eval "ac_cv_func_$ac_func=yes"
13007 echo "configure: failed program was:" >&5
13008 cat conftest.
$ac_ext >&5
13010 eval "ac_cv_func_$ac_func=no"
13015 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13016 echo "$ac_t""yes" 1>&6
13017 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13018 cat >> confdefs.h
<<EOF
13019 #define $ac_tr_func 1
13023 echo "$ac_t""no" 1>&6
13029 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
13030 echo "configure:13031: checking for _frexpl declaration" >&5
13031 if test x
${glibcpp_cv_func__frexpl_use+set} != xset
; then
13032 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
13033 echo $ac_n "(cached) $ac_c" 1>&6
13038 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13039 ac_cpp
='$CXXCPP $CPPFLAGS'
13040 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13041 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13042 cross_compiling
=$ac_cv_prog_cxx_cross
13044 cat > conftest.
$ac_ext <<EOF
13045 #line 13046 "configure"
13046 #include "confdefs.h"
13052 if { (eval echo configure
:13053: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13054 glibcpp_cv_func__frexpl_use
=yes
13056 echo "configure: failed program was:" >&5
13057 cat conftest.
$ac_ext >&5
13059 glibcpp_cv_func__frexpl_use
=no
13063 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13064 ac_cpp
='$CPP $CPPFLAGS'
13065 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13066 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13067 cross_compiling
=$ac_cv_prog_cc_cross
13073 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
13075 if test x
$glibcpp_cv_func__frexpl_use = x
"yes"; then
13076 for ac_func
in _frexpl
13078 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13079 echo "configure:13080: checking for $ac_func" >&5
13080 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13081 echo $ac_n "(cached) $ac_c" 1>&6
13083 cat > conftest.
$ac_ext <<EOF
13084 #line 13085 "configure"
13085 #include "confdefs.h"
13086 /* System header to define __stub macros and hopefully few prototypes,
13087 which can conflict with char $ac_func(); below. */
13088 #include <assert.h>
13089 /* Override any gcc2 internal prototype to avoid an error. */
13090 /* We use char because int might match the return type of a gcc2
13091 builtin and then its argument prototype would still apply. */
13096 /* The GNU C library defines this for functions which it implements
13097 to always fail with ENOSYS. Some functions are actually named
13098 something starting with __ and the normal name is an alias. */
13099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13107 if { (eval echo configure
:13108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13109 eval "ac_cv_func_$ac_func=yes"
13111 echo "configure: failed program was:" >&5
13112 cat conftest.
$ac_ext >&5
13114 eval "ac_cv_func_$ac_func=no"
13119 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13120 echo "$ac_t""yes" 1>&6
13121 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13122 cat >> confdefs.h
<<EOF
13123 #define $ac_tr_func 1
13127 echo "$ac_t""no" 1>&6
13136 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
13137 echo "configure:13138: checking for ldexpl declaration" >&5
13138 if test x
${glibcpp_cv_func_ldexpl_use+set} != xset
; then
13139 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
13140 echo $ac_n "(cached) $ac_c" 1>&6
13145 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13146 ac_cpp
='$CXXCPP $CPPFLAGS'
13147 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13148 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13149 cross_compiling
=$ac_cv_prog_cxx_cross
13151 cat > conftest.
$ac_ext <<EOF
13152 #line 13153 "configure"
13153 #include "confdefs.h"
13159 if { (eval echo configure
:13160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13161 glibcpp_cv_func_ldexpl_use
=yes
13163 echo "configure: failed program was:" >&5
13164 cat conftest.
$ac_ext >&5
13166 glibcpp_cv_func_ldexpl_use
=no
13170 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13171 ac_cpp
='$CPP $CPPFLAGS'
13172 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13173 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13174 cross_compiling
=$ac_cv_prog_cc_cross
13180 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
13182 if test x
$glibcpp_cv_func_ldexpl_use = x
"yes"; then
13183 for ac_func
in ldexpl
13185 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13186 echo "configure:13187: checking for $ac_func" >&5
13187 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13188 echo $ac_n "(cached) $ac_c" 1>&6
13190 cat > conftest.
$ac_ext <<EOF
13191 #line 13192 "configure"
13192 #include "confdefs.h"
13193 /* System header to define __stub macros and hopefully few prototypes,
13194 which can conflict with char $ac_func(); below. */
13195 #include <assert.h>
13196 /* Override any gcc2 internal prototype to avoid an error. */
13197 /* We use char because int might match the return type of a gcc2
13198 builtin and then its argument prototype would still apply. */
13203 /* The GNU C library defines this for functions which it implements
13204 to always fail with ENOSYS. Some functions are actually named
13205 something starting with __ and the normal name is an alias. */
13206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13214 if { (eval echo configure
:13215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13216 eval "ac_cv_func_$ac_func=yes"
13218 echo "configure: failed program was:" >&5
13219 cat conftest.
$ac_ext >&5
13221 eval "ac_cv_func_$ac_func=no"
13226 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13227 echo "$ac_t""yes" 1>&6
13228 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13229 cat >> confdefs.h
<<EOF
13230 #define $ac_tr_func 1
13234 echo "$ac_t""no" 1>&6
13240 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
13241 echo "configure:13242: checking for _ldexpl declaration" >&5
13242 if test x
${glibcpp_cv_func__ldexpl_use+set} != xset
; then
13243 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
13244 echo $ac_n "(cached) $ac_c" 1>&6
13249 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13250 ac_cpp
='$CXXCPP $CPPFLAGS'
13251 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13252 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13253 cross_compiling
=$ac_cv_prog_cxx_cross
13255 cat > conftest.
$ac_ext <<EOF
13256 #line 13257 "configure"
13257 #include "confdefs.h"
13263 if { (eval echo configure
:13264: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13265 glibcpp_cv_func__ldexpl_use
=yes
13267 echo "configure: failed program was:" >&5
13268 cat conftest.
$ac_ext >&5
13270 glibcpp_cv_func__ldexpl_use
=no
13274 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13275 ac_cpp
='$CPP $CPPFLAGS'
13276 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13277 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13278 cross_compiling
=$ac_cv_prog_cc_cross
13284 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
13286 if test x
$glibcpp_cv_func__ldexpl_use = x
"yes"; then
13287 for ac_func
in _ldexpl
13289 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13290 echo "configure:13291: checking for $ac_func" >&5
13291 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13292 echo $ac_n "(cached) $ac_c" 1>&6
13294 cat > conftest.
$ac_ext <<EOF
13295 #line 13296 "configure"
13296 #include "confdefs.h"
13297 /* System header to define __stub macros and hopefully few prototypes,
13298 which can conflict with char $ac_func(); below. */
13299 #include <assert.h>
13300 /* Override any gcc2 internal prototype to avoid an error. */
13301 /* We use char because int might match the return type of a gcc2
13302 builtin and then its argument prototype would still apply. */
13307 /* The GNU C library defines this for functions which it implements
13308 to always fail with ENOSYS. Some functions are actually named
13309 something starting with __ and the normal name is an alias. */
13310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13318 if { (eval echo configure
:13319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13320 eval "ac_cv_func_$ac_func=yes"
13322 echo "configure: failed program was:" >&5
13323 cat conftest.
$ac_ext >&5
13325 eval "ac_cv_func_$ac_func=no"
13330 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13331 echo "$ac_t""yes" 1>&6
13332 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13333 cat >> confdefs.h
<<EOF
13334 #define $ac_tr_func 1
13338 echo "$ac_t""no" 1>&6
13347 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
13348 echo "configure:13349: checking for logl declaration" >&5
13349 if test x
${glibcpp_cv_func_logl_use+set} != xset
; then
13350 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
13351 echo $ac_n "(cached) $ac_c" 1>&6
13356 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13357 ac_cpp
='$CXXCPP $CPPFLAGS'
13358 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13359 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13360 cross_compiling
=$ac_cv_prog_cxx_cross
13362 cat > conftest.
$ac_ext <<EOF
13363 #line 13364 "configure"
13364 #include "confdefs.h"
13366 #ifdef HAVE_IEEEFP_H
13367 #include <ieeefp.h>
13374 if { (eval echo configure
:13375: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13376 glibcpp_cv_func_logl_use
=yes
13378 echo "configure: failed program was:" >&5
13379 cat conftest.
$ac_ext >&5
13381 glibcpp_cv_func_logl_use
=no
13385 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13386 ac_cpp
='$CPP $CPPFLAGS'
13387 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13388 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13389 cross_compiling
=$ac_cv_prog_cc_cross
13395 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
13397 if test x
$glibcpp_cv_func_logl_use = x
"yes"; then
13398 for ac_func
in logl
13400 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13401 echo "configure:13402: checking for $ac_func" >&5
13402 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13403 echo $ac_n "(cached) $ac_c" 1>&6
13405 cat > conftest.
$ac_ext <<EOF
13406 #line 13407 "configure"
13407 #include "confdefs.h"
13408 /* System header to define __stub macros and hopefully few prototypes,
13409 which can conflict with char $ac_func(); below. */
13410 #include <assert.h>
13411 /* Override any gcc2 internal prototype to avoid an error. */
13412 /* We use char because int might match the return type of a gcc2
13413 builtin and then its argument prototype would still apply. */
13418 /* The GNU C library defines this for functions which it implements
13419 to always fail with ENOSYS. Some functions are actually named
13420 something starting with __ and the normal name is an alias. */
13421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13429 if { (eval echo configure
:13430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13431 eval "ac_cv_func_$ac_func=yes"
13433 echo "configure: failed program was:" >&5
13434 cat conftest.
$ac_ext >&5
13436 eval "ac_cv_func_$ac_func=no"
13441 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13442 echo "$ac_t""yes" 1>&6
13443 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13444 cat >> confdefs.h
<<EOF
13445 #define $ac_tr_func 1
13449 echo "$ac_t""no" 1>&6
13455 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
13456 echo "configure:13457: checking for _logl declaration" >&5
13457 if test x
${glibcpp_cv_func__logl_use+set} != xset
; then
13458 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
13459 echo $ac_n "(cached) $ac_c" 1>&6
13464 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13465 ac_cpp
='$CXXCPP $CPPFLAGS'
13466 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13467 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13468 cross_compiling
=$ac_cv_prog_cxx_cross
13470 cat > conftest.
$ac_ext <<EOF
13471 #line 13472 "configure"
13472 #include "confdefs.h"
13474 #ifdef HAVE_IEEEFP_H
13475 #include <ieeefp.h>
13482 if { (eval echo configure
:13483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13484 glibcpp_cv_func__logl_use
=yes
13486 echo "configure: failed program was:" >&5
13487 cat conftest.
$ac_ext >&5
13489 glibcpp_cv_func__logl_use
=no
13493 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13494 ac_cpp
='$CPP $CPPFLAGS'
13495 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13496 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13497 cross_compiling
=$ac_cv_prog_cc_cross
13503 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
13505 if test x
$glibcpp_cv_func__logl_use = x
"yes"; then
13506 for ac_func
in _logl
13508 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13509 echo "configure:13510: checking for $ac_func" >&5
13510 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13511 echo $ac_n "(cached) $ac_c" 1>&6
13513 cat > conftest.
$ac_ext <<EOF
13514 #line 13515 "configure"
13515 #include "confdefs.h"
13516 /* System header to define __stub macros and hopefully few prototypes,
13517 which can conflict with char $ac_func(); below. */
13518 #include <assert.h>
13519 /* Override any gcc2 internal prototype to avoid an error. */
13520 /* We use char because int might match the return type of a gcc2
13521 builtin and then its argument prototype would still apply. */
13526 /* The GNU C library defines this for functions which it implements
13527 to always fail with ENOSYS. Some functions are actually named
13528 something starting with __ and the normal name is an alias. */
13529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13537 if { (eval echo configure
:13538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13539 eval "ac_cv_func_$ac_func=yes"
13541 echo "configure: failed program was:" >&5
13542 cat conftest.
$ac_ext >&5
13544 eval "ac_cv_func_$ac_func=no"
13549 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13550 echo "$ac_t""yes" 1>&6
13551 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13552 cat >> confdefs.h
<<EOF
13553 #define $ac_tr_func 1
13557 echo "$ac_t""no" 1>&6
13566 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
13567 echo "configure:13568: checking for log10l declaration" >&5
13568 if test x
${glibcpp_cv_func_log10l_use+set} != xset
; then
13569 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
13570 echo $ac_n "(cached) $ac_c" 1>&6
13575 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13576 ac_cpp
='$CXXCPP $CPPFLAGS'
13577 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13578 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13579 cross_compiling
=$ac_cv_prog_cxx_cross
13581 cat > conftest.
$ac_ext <<EOF
13582 #line 13583 "configure"
13583 #include "confdefs.h"
13585 #ifdef HAVE_IEEEFP_H
13586 #include <ieeefp.h>
13593 if { (eval echo configure
:13594: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13595 glibcpp_cv_func_log10l_use
=yes
13597 echo "configure: failed program was:" >&5
13598 cat conftest.
$ac_ext >&5
13600 glibcpp_cv_func_log10l_use
=no
13604 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13605 ac_cpp
='$CPP $CPPFLAGS'
13606 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13607 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13608 cross_compiling
=$ac_cv_prog_cc_cross
13614 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
13616 if test x
$glibcpp_cv_func_log10l_use = x
"yes"; then
13617 for ac_func
in log10l
13619 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13620 echo "configure:13621: checking for $ac_func" >&5
13621 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13622 echo $ac_n "(cached) $ac_c" 1>&6
13624 cat > conftest.
$ac_ext <<EOF
13625 #line 13626 "configure"
13626 #include "confdefs.h"
13627 /* System header to define __stub macros and hopefully few prototypes,
13628 which can conflict with char $ac_func(); below. */
13629 #include <assert.h>
13630 /* Override any gcc2 internal prototype to avoid an error. */
13631 /* We use char because int might match the return type of a gcc2
13632 builtin and then its argument prototype would still apply. */
13637 /* The GNU C library defines this for functions which it implements
13638 to always fail with ENOSYS. Some functions are actually named
13639 something starting with __ and the normal name is an alias. */
13640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13648 if { (eval echo configure
:13649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13650 eval "ac_cv_func_$ac_func=yes"
13652 echo "configure: failed program was:" >&5
13653 cat conftest.
$ac_ext >&5
13655 eval "ac_cv_func_$ac_func=no"
13660 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13661 echo "$ac_t""yes" 1>&6
13662 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13663 cat >> confdefs.h
<<EOF
13664 #define $ac_tr_func 1
13668 echo "$ac_t""no" 1>&6
13674 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
13675 echo "configure:13676: checking for _log10l declaration" >&5
13676 if test x
${glibcpp_cv_func__log10l_use+set} != xset
; then
13677 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
13678 echo $ac_n "(cached) $ac_c" 1>&6
13683 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13684 ac_cpp
='$CXXCPP $CPPFLAGS'
13685 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13686 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13687 cross_compiling
=$ac_cv_prog_cxx_cross
13689 cat > conftest.
$ac_ext <<EOF
13690 #line 13691 "configure"
13691 #include "confdefs.h"
13693 #ifdef HAVE_IEEEFP_H
13694 #include <ieeefp.h>
13701 if { (eval echo configure
:13702: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13703 glibcpp_cv_func__log10l_use
=yes
13705 echo "configure: failed program was:" >&5
13706 cat conftest.
$ac_ext >&5
13708 glibcpp_cv_func__log10l_use
=no
13712 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13713 ac_cpp
='$CPP $CPPFLAGS'
13714 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13715 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13716 cross_compiling
=$ac_cv_prog_cc_cross
13722 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
13724 if test x
$glibcpp_cv_func__log10l_use = x
"yes"; then
13725 for ac_func
in _log10l
13727 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13728 echo "configure:13729: checking for $ac_func" >&5
13729 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13730 echo $ac_n "(cached) $ac_c" 1>&6
13732 cat > conftest.
$ac_ext <<EOF
13733 #line 13734 "configure"
13734 #include "confdefs.h"
13735 /* System header to define __stub macros and hopefully few prototypes,
13736 which can conflict with char $ac_func(); below. */
13737 #include <assert.h>
13738 /* Override any gcc2 internal prototype to avoid an error. */
13739 /* We use char because int might match the return type of a gcc2
13740 builtin and then its argument prototype would still apply. */
13745 /* The GNU C library defines this for functions which it implements
13746 to always fail with ENOSYS. Some functions are actually named
13747 something starting with __ and the normal name is an alias. */
13748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13756 if { (eval echo configure
:13757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13758 eval "ac_cv_func_$ac_func=yes"
13760 echo "configure: failed program was:" >&5
13761 cat conftest.
$ac_ext >&5
13763 eval "ac_cv_func_$ac_func=no"
13768 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13769 echo "$ac_t""yes" 1>&6
13770 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13771 cat >> confdefs.h
<<EOF
13772 #define $ac_tr_func 1
13776 echo "$ac_t""no" 1>&6
13785 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
13786 echo "configure:13787: checking for modfl declaration" >&5
13787 if test x
${glibcpp_cv_func_modfl_use+set} != xset
; then
13788 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
13789 echo $ac_n "(cached) $ac_c" 1>&6
13794 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13795 ac_cpp
='$CXXCPP $CPPFLAGS'
13796 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13797 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13798 cross_compiling
=$ac_cv_prog_cxx_cross
13800 cat > conftest.
$ac_ext <<EOF
13801 #line 13802 "configure"
13802 #include "confdefs.h"
13808 if { (eval echo configure
:13809: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13810 glibcpp_cv_func_modfl_use
=yes
13812 echo "configure: failed program was:" >&5
13813 cat conftest.
$ac_ext >&5
13815 glibcpp_cv_func_modfl_use
=no
13819 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13820 ac_cpp
='$CPP $CPPFLAGS'
13821 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13822 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13823 cross_compiling
=$ac_cv_prog_cc_cross
13829 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
13831 if test x
$glibcpp_cv_func_modfl_use = x
"yes"; then
13832 for ac_func
in modfl
13834 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13835 echo "configure:13836: checking for $ac_func" >&5
13836 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13837 echo $ac_n "(cached) $ac_c" 1>&6
13839 cat > conftest.
$ac_ext <<EOF
13840 #line 13841 "configure"
13841 #include "confdefs.h"
13842 /* System header to define __stub macros and hopefully few prototypes,
13843 which can conflict with char $ac_func(); below. */
13844 #include <assert.h>
13845 /* Override any gcc2 internal prototype to avoid an error. */
13846 /* We use char because int might match the return type of a gcc2
13847 builtin and then its argument prototype would still apply. */
13852 /* The GNU C library defines this for functions which it implements
13853 to always fail with ENOSYS. Some functions are actually named
13854 something starting with __ and the normal name is an alias. */
13855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13863 if { (eval echo configure
:13864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13865 eval "ac_cv_func_$ac_func=yes"
13867 echo "configure: failed program was:" >&5
13868 cat conftest.
$ac_ext >&5
13870 eval "ac_cv_func_$ac_func=no"
13875 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13876 echo "$ac_t""yes" 1>&6
13877 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13878 cat >> confdefs.h
<<EOF
13879 #define $ac_tr_func 1
13883 echo "$ac_t""no" 1>&6
13889 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
13890 echo "configure:13891: checking for _modfl declaration" >&5
13891 if test x
${glibcpp_cv_func__modfl_use+set} != xset
; then
13892 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
13893 echo $ac_n "(cached) $ac_c" 1>&6
13898 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13899 ac_cpp
='$CXXCPP $CPPFLAGS'
13900 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13901 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13902 cross_compiling
=$ac_cv_prog_cxx_cross
13904 cat > conftest.
$ac_ext <<EOF
13905 #line 13906 "configure"
13906 #include "confdefs.h"
13912 if { (eval echo configure
:13913: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13914 glibcpp_cv_func__modfl_use
=yes
13916 echo "configure: failed program was:" >&5
13917 cat conftest.
$ac_ext >&5
13919 glibcpp_cv_func__modfl_use
=no
13923 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13924 ac_cpp
='$CPP $CPPFLAGS'
13925 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13926 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13927 cross_compiling
=$ac_cv_prog_cc_cross
13933 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
13935 if test x
$glibcpp_cv_func__modfl_use = x
"yes"; then
13936 for ac_func
in _modfl
13938 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13939 echo "configure:13940: checking for $ac_func" >&5
13940 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13941 echo $ac_n "(cached) $ac_c" 1>&6
13943 cat > conftest.
$ac_ext <<EOF
13944 #line 13945 "configure"
13945 #include "confdefs.h"
13946 /* System header to define __stub macros and hopefully few prototypes,
13947 which can conflict with char $ac_func(); below. */
13948 #include <assert.h>
13949 /* Override any gcc2 internal prototype to avoid an error. */
13950 /* We use char because int might match the return type of a gcc2
13951 builtin and then its argument prototype would still apply. */
13956 /* The GNU C library defines this for functions which it implements
13957 to always fail with ENOSYS. Some functions are actually named
13958 something starting with __ and the normal name is an alias. */
13959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13967 if { (eval echo configure
:13968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13969 eval "ac_cv_func_$ac_func=yes"
13971 echo "configure: failed program was:" >&5
13972 cat conftest.
$ac_ext >&5
13974 eval "ac_cv_func_$ac_func=no"
13979 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13980 echo "$ac_t""yes" 1>&6
13981 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13982 cat >> confdefs.h
<<EOF
13983 #define $ac_tr_func 1
13987 echo "$ac_t""no" 1>&6
13996 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
13997 echo "configure:13998: checking for powl declaration" >&5
13998 if test x
${glibcpp_cv_func_powl_use+set} != xset
; then
13999 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
14000 echo $ac_n "(cached) $ac_c" 1>&6
14005 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14006 ac_cpp
='$CXXCPP $CPPFLAGS'
14007 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14008 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14009 cross_compiling
=$ac_cv_prog_cxx_cross
14011 cat > conftest.
$ac_ext <<EOF
14012 #line 14013 "configure"
14013 #include "confdefs.h"
14019 if { (eval echo configure
:14020: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14021 glibcpp_cv_func_powl_use
=yes
14023 echo "configure: failed program was:" >&5
14024 cat conftest.
$ac_ext >&5
14026 glibcpp_cv_func_powl_use
=no
14030 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14031 ac_cpp
='$CPP $CPPFLAGS'
14032 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14033 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14034 cross_compiling
=$ac_cv_prog_cc_cross
14040 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
14042 if test x
$glibcpp_cv_func_powl_use = x
"yes"; then
14043 for ac_func
in powl
14045 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14046 echo "configure:14047: checking for $ac_func" >&5
14047 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14048 echo $ac_n "(cached) $ac_c" 1>&6
14050 cat > conftest.
$ac_ext <<EOF
14051 #line 14052 "configure"
14052 #include "confdefs.h"
14053 /* System header to define __stub macros and hopefully few prototypes,
14054 which can conflict with char $ac_func(); below. */
14055 #include <assert.h>
14056 /* Override any gcc2 internal prototype to avoid an error. */
14057 /* We use char because int might match the return type of a gcc2
14058 builtin and then its argument prototype would still apply. */
14063 /* The GNU C library defines this for functions which it implements
14064 to always fail with ENOSYS. Some functions are actually named
14065 something starting with __ and the normal name is an alias. */
14066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14074 if { (eval echo configure
:14075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14076 eval "ac_cv_func_$ac_func=yes"
14078 echo "configure: failed program was:" >&5
14079 cat conftest.
$ac_ext >&5
14081 eval "ac_cv_func_$ac_func=no"
14086 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14087 echo "$ac_t""yes" 1>&6
14088 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14089 cat >> confdefs.h
<<EOF
14090 #define $ac_tr_func 1
14094 echo "$ac_t""no" 1>&6
14100 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
14101 echo "configure:14102: checking for _powl declaration" >&5
14102 if test x
${glibcpp_cv_func__powl_use+set} != xset
; then
14103 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
14104 echo $ac_n "(cached) $ac_c" 1>&6
14109 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14110 ac_cpp
='$CXXCPP $CPPFLAGS'
14111 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14112 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14113 cross_compiling
=$ac_cv_prog_cxx_cross
14115 cat > conftest.
$ac_ext <<EOF
14116 #line 14117 "configure"
14117 #include "confdefs.h"
14123 if { (eval echo configure
:14124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14125 glibcpp_cv_func__powl_use
=yes
14127 echo "configure: failed program was:" >&5
14128 cat conftest.
$ac_ext >&5
14130 glibcpp_cv_func__powl_use
=no
14134 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14135 ac_cpp
='$CPP $CPPFLAGS'
14136 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14137 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14138 cross_compiling
=$ac_cv_prog_cc_cross
14144 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
14146 if test x
$glibcpp_cv_func__powl_use = x
"yes"; then
14147 for ac_func
in _powl
14149 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14150 echo "configure:14151: checking for $ac_func" >&5
14151 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14152 echo $ac_n "(cached) $ac_c" 1>&6
14154 cat > conftest.
$ac_ext <<EOF
14155 #line 14156 "configure"
14156 #include "confdefs.h"
14157 /* System header to define __stub macros and hopefully few prototypes,
14158 which can conflict with char $ac_func(); below. */
14159 #include <assert.h>
14160 /* Override any gcc2 internal prototype to avoid an error. */
14161 /* We use char because int might match the return type of a gcc2
14162 builtin and then its argument prototype would still apply. */
14167 /* The GNU C library defines this for functions which it implements
14168 to always fail with ENOSYS. Some functions are actually named
14169 something starting with __ and the normal name is an alias. */
14170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14178 if { (eval echo configure
:14179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14180 eval "ac_cv_func_$ac_func=yes"
14182 echo "configure: failed program was:" >&5
14183 cat conftest.
$ac_ext >&5
14185 eval "ac_cv_func_$ac_func=no"
14190 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14191 echo "$ac_t""yes" 1>&6
14192 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14193 cat >> confdefs.h
<<EOF
14194 #define $ac_tr_func 1
14198 echo "$ac_t""no" 1>&6
14207 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
14208 echo "configure:14209: checking for sqrtl declaration" >&5
14209 if test x
${glibcpp_cv_func_sqrtl_use+set} != xset
; then
14210 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
14211 echo $ac_n "(cached) $ac_c" 1>&6
14216 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14217 ac_cpp
='$CXXCPP $CPPFLAGS'
14218 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14219 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14220 cross_compiling
=$ac_cv_prog_cxx_cross
14222 cat > conftest.
$ac_ext <<EOF
14223 #line 14224 "configure"
14224 #include "confdefs.h"
14226 #ifdef HAVE_IEEEFP_H
14227 #include <ieeefp.h>
14234 if { (eval echo configure
:14235: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14236 glibcpp_cv_func_sqrtl_use
=yes
14238 echo "configure: failed program was:" >&5
14239 cat conftest.
$ac_ext >&5
14241 glibcpp_cv_func_sqrtl_use
=no
14245 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14246 ac_cpp
='$CPP $CPPFLAGS'
14247 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14248 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14249 cross_compiling
=$ac_cv_prog_cc_cross
14255 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
14257 if test x
$glibcpp_cv_func_sqrtl_use = x
"yes"; then
14258 for ac_func
in sqrtl
14260 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14261 echo "configure:14262: checking for $ac_func" >&5
14262 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14263 echo $ac_n "(cached) $ac_c" 1>&6
14265 cat > conftest.
$ac_ext <<EOF
14266 #line 14267 "configure"
14267 #include "confdefs.h"
14268 /* System header to define __stub macros and hopefully few prototypes,
14269 which can conflict with char $ac_func(); below. */
14270 #include <assert.h>
14271 /* Override any gcc2 internal prototype to avoid an error. */
14272 /* We use char because int might match the return type of a gcc2
14273 builtin and then its argument prototype would still apply. */
14278 /* The GNU C library defines this for functions which it implements
14279 to always fail with ENOSYS. Some functions are actually named
14280 something starting with __ and the normal name is an alias. */
14281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14289 if { (eval echo configure
:14290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14291 eval "ac_cv_func_$ac_func=yes"
14293 echo "configure: failed program was:" >&5
14294 cat conftest.
$ac_ext >&5
14296 eval "ac_cv_func_$ac_func=no"
14301 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14302 echo "$ac_t""yes" 1>&6
14303 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14304 cat >> confdefs.h
<<EOF
14305 #define $ac_tr_func 1
14309 echo "$ac_t""no" 1>&6
14315 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
14316 echo "configure:14317: checking for _sqrtl declaration" >&5
14317 if test x
${glibcpp_cv_func__sqrtl_use+set} != xset
; then
14318 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
14319 echo $ac_n "(cached) $ac_c" 1>&6
14324 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14325 ac_cpp
='$CXXCPP $CPPFLAGS'
14326 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14327 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14328 cross_compiling
=$ac_cv_prog_cxx_cross
14330 cat > conftest.
$ac_ext <<EOF
14331 #line 14332 "configure"
14332 #include "confdefs.h"
14334 #ifdef HAVE_IEEEFP_H
14335 #include <ieeefp.h>
14342 if { (eval echo configure
:14343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14344 glibcpp_cv_func__sqrtl_use
=yes
14346 echo "configure: failed program was:" >&5
14347 cat conftest.
$ac_ext >&5
14349 glibcpp_cv_func__sqrtl_use
=no
14353 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14354 ac_cpp
='$CPP $CPPFLAGS'
14355 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14356 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14357 cross_compiling
=$ac_cv_prog_cc_cross
14363 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
14365 if test x
$glibcpp_cv_func__sqrtl_use = x
"yes"; then
14366 for ac_func
in _sqrtl
14368 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14369 echo "configure:14370: checking for $ac_func" >&5
14370 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14371 echo $ac_n "(cached) $ac_c" 1>&6
14373 cat > conftest.
$ac_ext <<EOF
14374 #line 14375 "configure"
14375 #include "confdefs.h"
14376 /* System header to define __stub macros and hopefully few prototypes,
14377 which can conflict with char $ac_func(); below. */
14378 #include <assert.h>
14379 /* Override any gcc2 internal prototype to avoid an error. */
14380 /* We use char because int might match the return type of a gcc2
14381 builtin and then its argument prototype would still apply. */
14386 /* The GNU C library defines this for functions which it implements
14387 to always fail with ENOSYS. Some functions are actually named
14388 something starting with __ and the normal name is an alias. */
14389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14397 if { (eval echo configure
:14398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14399 eval "ac_cv_func_$ac_func=yes"
14401 echo "configure: failed program was:" >&5
14402 cat conftest.
$ac_ext >&5
14404 eval "ac_cv_func_$ac_func=no"
14409 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14410 echo "$ac_t""yes" 1>&6
14411 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14412 cat >> confdefs.h
<<EOF
14413 #define $ac_tr_func 1
14417 echo "$ac_t""no" 1>&6
14426 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
14427 echo "configure:14428: checking for sincosl declaration" >&5
14428 if test x
${glibcpp_cv_func_sincosl_use+set} != xset
; then
14429 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
14430 echo $ac_n "(cached) $ac_c" 1>&6
14435 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14436 ac_cpp
='$CXXCPP $CPPFLAGS'
14437 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14438 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14439 cross_compiling
=$ac_cv_prog_cxx_cross
14441 cat > conftest.
$ac_ext <<EOF
14442 #line 14443 "configure"
14443 #include "confdefs.h"
14449 if { (eval echo configure
:14450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14451 glibcpp_cv_func_sincosl_use
=yes
14453 echo "configure: failed program was:" >&5
14454 cat conftest.
$ac_ext >&5
14456 glibcpp_cv_func_sincosl_use
=no
14460 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14461 ac_cpp
='$CPP $CPPFLAGS'
14462 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14463 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14464 cross_compiling
=$ac_cv_prog_cc_cross
14470 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
14472 if test x
$glibcpp_cv_func_sincosl_use = x
"yes"; then
14473 for ac_func
in sincosl
14475 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14476 echo "configure:14477: checking for $ac_func" >&5
14477 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14478 echo $ac_n "(cached) $ac_c" 1>&6
14480 cat > conftest.
$ac_ext <<EOF
14481 #line 14482 "configure"
14482 #include "confdefs.h"
14483 /* System header to define __stub macros and hopefully few prototypes,
14484 which can conflict with char $ac_func(); below. */
14485 #include <assert.h>
14486 /* Override any gcc2 internal prototype to avoid an error. */
14487 /* We use char because int might match the return type of a gcc2
14488 builtin and then its argument prototype would still apply. */
14493 /* The GNU C library defines this for functions which it implements
14494 to always fail with ENOSYS. Some functions are actually named
14495 something starting with __ and the normal name is an alias. */
14496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14504 if { (eval echo configure
:14505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14506 eval "ac_cv_func_$ac_func=yes"
14508 echo "configure: failed program was:" >&5
14509 cat conftest.
$ac_ext >&5
14511 eval "ac_cv_func_$ac_func=no"
14516 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14517 echo "$ac_t""yes" 1>&6
14518 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14519 cat >> confdefs.h
<<EOF
14520 #define $ac_tr_func 1
14524 echo "$ac_t""no" 1>&6
14530 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
14531 echo "configure:14532: checking for _sincosl declaration" >&5
14532 if test x
${glibcpp_cv_func__sincosl_use+set} != xset
; then
14533 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
14534 echo $ac_n "(cached) $ac_c" 1>&6
14539 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14540 ac_cpp
='$CXXCPP $CPPFLAGS'
14541 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14542 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14543 cross_compiling
=$ac_cv_prog_cxx_cross
14545 cat > conftest.
$ac_ext <<EOF
14546 #line 14547 "configure"
14547 #include "confdefs.h"
14553 if { (eval echo configure
:14554: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14555 glibcpp_cv_func__sincosl_use
=yes
14557 echo "configure: failed program was:" >&5
14558 cat conftest.
$ac_ext >&5
14560 glibcpp_cv_func__sincosl_use
=no
14564 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14565 ac_cpp
='$CPP $CPPFLAGS'
14566 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14567 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14568 cross_compiling
=$ac_cv_prog_cc_cross
14574 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
14576 if test x
$glibcpp_cv_func__sincosl_use = x
"yes"; then
14577 for ac_func
in _sincosl
14579 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14580 echo "configure:14581: checking for $ac_func" >&5
14581 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14582 echo $ac_n "(cached) $ac_c" 1>&6
14584 cat > conftest.
$ac_ext <<EOF
14585 #line 14586 "configure"
14586 #include "confdefs.h"
14587 /* System header to define __stub macros and hopefully few prototypes,
14588 which can conflict with char $ac_func(); below. */
14589 #include <assert.h>
14590 /* Override any gcc2 internal prototype to avoid an error. */
14591 /* We use char because int might match the return type of a gcc2
14592 builtin and then its argument prototype would still apply. */
14597 /* The GNU C library defines this for functions which it implements
14598 to always fail with ENOSYS. Some functions are actually named
14599 something starting with __ and the normal name is an alias. */
14600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14608 if { (eval echo configure
:14609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14610 eval "ac_cv_func_$ac_func=yes"
14612 echo "configure: failed program was:" >&5
14613 cat conftest.
$ac_ext >&5
14615 eval "ac_cv_func_$ac_func=no"
14620 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14621 echo "$ac_t""yes" 1>&6
14622 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14623 cat >> confdefs.h
<<EOF
14624 #define $ac_tr_func 1
14628 echo "$ac_t""no" 1>&6
14637 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
14638 echo "configure:14639: checking for finitel declaration" >&5
14639 if test x
${glibcpp_cv_func_finitel_use+set} != xset
; then
14640 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
14641 echo $ac_n "(cached) $ac_c" 1>&6
14646 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14647 ac_cpp
='$CXXCPP $CPPFLAGS'
14648 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14649 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14650 cross_compiling
=$ac_cv_prog_cxx_cross
14652 cat > conftest.
$ac_ext <<EOF
14653 #line 14654 "configure"
14654 #include "confdefs.h"
14656 #ifdef HAVE_IEEEFP_H
14657 #include <ieeefp.h>
14664 if { (eval echo configure
:14665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14666 glibcpp_cv_func_finitel_use
=yes
14668 echo "configure: failed program was:" >&5
14669 cat conftest.
$ac_ext >&5
14671 glibcpp_cv_func_finitel_use
=no
14675 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14676 ac_cpp
='$CPP $CPPFLAGS'
14677 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14678 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14679 cross_compiling
=$ac_cv_prog_cc_cross
14685 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
14687 if test x
$glibcpp_cv_func_finitel_use = x
"yes"; then
14688 for ac_func
in finitel
14690 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14691 echo "configure:14692: checking for $ac_func" >&5
14692 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14693 echo $ac_n "(cached) $ac_c" 1>&6
14695 cat > conftest.
$ac_ext <<EOF
14696 #line 14697 "configure"
14697 #include "confdefs.h"
14698 /* System header to define __stub macros and hopefully few prototypes,
14699 which can conflict with char $ac_func(); below. */
14700 #include <assert.h>
14701 /* Override any gcc2 internal prototype to avoid an error. */
14702 /* We use char because int might match the return type of a gcc2
14703 builtin and then its argument prototype would still apply. */
14708 /* The GNU C library defines this for functions which it implements
14709 to always fail with ENOSYS. Some functions are actually named
14710 something starting with __ and the normal name is an alias. */
14711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14719 if { (eval echo configure
:14720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14721 eval "ac_cv_func_$ac_func=yes"
14723 echo "configure: failed program was:" >&5
14724 cat conftest.
$ac_ext >&5
14726 eval "ac_cv_func_$ac_func=no"
14731 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14732 echo "$ac_t""yes" 1>&6
14733 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14734 cat >> confdefs.h
<<EOF
14735 #define $ac_tr_func 1
14739 echo "$ac_t""no" 1>&6
14745 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
14746 echo "configure:14747: checking for _finitel declaration" >&5
14747 if test x
${glibcpp_cv_func__finitel_use+set} != xset
; then
14748 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
14749 echo $ac_n "(cached) $ac_c" 1>&6
14754 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14755 ac_cpp
='$CXXCPP $CPPFLAGS'
14756 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14757 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14758 cross_compiling
=$ac_cv_prog_cxx_cross
14760 cat > conftest.
$ac_ext <<EOF
14761 #line 14762 "configure"
14762 #include "confdefs.h"
14764 #ifdef HAVE_IEEEFP_H
14765 #include <ieeefp.h>
14772 if { (eval echo configure
:14773: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14774 glibcpp_cv_func__finitel_use
=yes
14776 echo "configure: failed program was:" >&5
14777 cat conftest.
$ac_ext >&5
14779 glibcpp_cv_func__finitel_use
=no
14783 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14784 ac_cpp
='$CPP $CPPFLAGS'
14785 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14786 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14787 cross_compiling
=$ac_cv_prog_cc_cross
14793 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
14795 if test x
$glibcpp_cv_func__finitel_use = x
"yes"; then
14796 for ac_func
in _finitel
14798 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14799 echo "configure:14800: checking for $ac_func" >&5
14800 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14801 echo $ac_n "(cached) $ac_c" 1>&6
14803 cat > conftest.
$ac_ext <<EOF
14804 #line 14805 "configure"
14805 #include "confdefs.h"
14806 /* System header to define __stub macros and hopefully few prototypes,
14807 which can conflict with char $ac_func(); below. */
14808 #include <assert.h>
14809 /* Override any gcc2 internal prototype to avoid an error. */
14810 /* We use char because int might match the return type of a gcc2
14811 builtin and then its argument prototype would still apply. */
14816 /* The GNU C library defines this for functions which it implements
14817 to always fail with ENOSYS. Some functions are actually named
14818 something starting with __ and the normal name is an alias. */
14819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14827 if { (eval echo configure
:14828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14829 eval "ac_cv_func_$ac_func=yes"
14831 echo "configure: failed program was:" >&5
14832 cat conftest.
$ac_ext >&5
14834 eval "ac_cv_func_$ac_func=no"
14839 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14840 echo "$ac_t""yes" 1>&6
14841 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14842 cat >> confdefs.h
<<EOF
14843 #define $ac_tr_func 1
14847 echo "$ac_t""no" 1>&6
14857 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
14858 echo "configure:14859: checking for _float trig functions" >&5
14859 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
14860 echo $ac_n "(cached) $ac_c" 1>&6
14865 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14866 ac_cpp
='$CXXCPP $CPPFLAGS'
14867 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14868 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14869 cross_compiling
=$ac_cv_prog_cxx_cross
14871 cat > conftest.
$ac_ext <<EOF
14872 #line 14873 "configure"
14873 #include "confdefs.h"
14876 `for x in _acosf _asinf _atanf \
14877 _cosf _sinf _tanf \
14878 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
14881 if { (eval echo configure
:14882: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14883 glibcpp_cv_func__float_trig_use
=yes
14885 echo "configure: failed program was:" >&5
14886 cat conftest.
$ac_ext >&5
14888 glibcpp_cv_func__float_trig_use
=no
14892 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14893 ac_cpp
='$CPP $CPPFLAGS'
14894 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14895 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14896 cross_compiling
=$ac_cv_prog_cc_cross
14900 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
14901 if test x
$glibcpp_cv_func__float_trig_use = x
"yes"; then
14902 for ac_func
in _acosf _asinf _atanf \
14903 _cosf _sinf _tanf \
14904 _coshf _sinhf _tanhf
14906 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14907 echo "configure:14908: checking for $ac_func" >&5
14908 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14909 echo $ac_n "(cached) $ac_c" 1>&6
14911 cat > conftest.
$ac_ext <<EOF
14912 #line 14913 "configure"
14913 #include "confdefs.h"
14914 /* System header to define __stub macros and hopefully few prototypes,
14915 which can conflict with char $ac_func(); below. */
14916 #include <assert.h>
14917 /* Override any gcc2 internal prototype to avoid an error. */
14918 /* We use char because int might match the return type of a gcc2
14919 builtin and then its argument prototype would still apply. */
14924 /* The GNU C library defines this for functions which it implements
14925 to always fail with ENOSYS. Some functions are actually named
14926 something starting with __ and the normal name is an alias. */
14927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14935 if { (eval echo configure
:14936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14937 eval "ac_cv_func_$ac_func=yes"
14939 echo "configure: failed program was:" >&5
14940 cat conftest.
$ac_ext >&5
14942 eval "ac_cv_func_$ac_func=no"
14947 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14948 echo "$ac_t""yes" 1>&6
14949 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14950 cat >> confdefs.h
<<EOF
14951 #define $ac_tr_func 1
14955 echo "$ac_t""no" 1>&6
14962 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
14963 echo "configure:14964: checking for _float round functions" >&5
14964 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
14965 echo $ac_n "(cached) $ac_c" 1>&6
14970 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14971 ac_cpp
='$CXXCPP $CPPFLAGS'
14972 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14973 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14974 cross_compiling
=$ac_cv_prog_cxx_cross
14976 cat > conftest.
$ac_ext <<EOF
14977 #line 14978 "configure"
14978 #include "confdefs.h"
14981 `for x in _ceilf _floorf; do echo "$x (0);"; done`
14984 if { (eval echo configure
:14985: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14986 glibcpp_cv_func__float_round_use
=yes
14988 echo "configure: failed program was:" >&5
14989 cat conftest.
$ac_ext >&5
14991 glibcpp_cv_func__float_round_use
=no
14995 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14996 ac_cpp
='$CPP $CPPFLAGS'
14997 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14998 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14999 cross_compiling
=$ac_cv_prog_cc_cross
15003 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
15004 if test x
$glibcpp_cv_func__float_round_use = x
"yes"; then
15005 for ac_func
in _ceilf _floorf
15007 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15008 echo "configure:15009: checking for $ac_func" >&5
15009 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15010 echo $ac_n "(cached) $ac_c" 1>&6
15012 cat > conftest.
$ac_ext <<EOF
15013 #line 15014 "configure"
15014 #include "confdefs.h"
15015 /* System header to define __stub macros and hopefully few prototypes,
15016 which can conflict with char $ac_func(); below. */
15017 #include <assert.h>
15018 /* Override any gcc2 internal prototype to avoid an error. */
15019 /* We use char because int might match the return type of a gcc2
15020 builtin and then its argument prototype would still apply. */
15025 /* The GNU C library defines this for functions which it implements
15026 to always fail with ENOSYS. Some functions are actually named
15027 something starting with __ and the normal name is an alias. */
15028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15036 if { (eval echo configure
:15037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15038 eval "ac_cv_func_$ac_func=yes"
15040 echo "configure: failed program was:" >&5
15041 cat conftest.
$ac_ext >&5
15043 eval "ac_cv_func_$ac_func=no"
15048 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15049 echo "$ac_t""yes" 1>&6
15050 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15051 cat >> confdefs.h
<<EOF
15052 #define $ac_tr_func 1
15056 echo "$ac_t""no" 1>&6
15064 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
15065 echo "configure:15066: checking for _long double trig functions" >&5
15066 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
15067 echo $ac_n "(cached) $ac_c" 1>&6
15072 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15073 ac_cpp
='$CXXCPP $CPPFLAGS'
15074 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15075 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15076 cross_compiling
=$ac_cv_prog_cxx_cross
15078 cat > conftest.
$ac_ext <<EOF
15079 #line 15080 "configure"
15080 #include "confdefs.h"
15083 `for x in _acosl _asinl _atanl \
15084 _cosl _sinl _tanl \
15085 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
15088 if { (eval echo configure
:15089: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15090 glibcpp_cv_func__long_double_trig_use
=yes
15092 echo "configure: failed program was:" >&5
15093 cat conftest.
$ac_ext >&5
15095 glibcpp_cv_func__long_double_trig_use
=no
15099 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15100 ac_cpp
='$CPP $CPPFLAGS'
15101 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15102 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15103 cross_compiling
=$ac_cv_prog_cc_cross
15107 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
15108 if test x
$glibcpp_cv_func__long_double_trig_use = x
"yes"; then
15109 for ac_func
in _acosl _asinl _atanl \
15110 _cosl _sinl _tanl \
15111 _coshl _sinhl _tanhl
15113 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15114 echo "configure:15115: checking for $ac_func" >&5
15115 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15116 echo $ac_n "(cached) $ac_c" 1>&6
15118 cat > conftest.
$ac_ext <<EOF
15119 #line 15120 "configure"
15120 #include "confdefs.h"
15121 /* System header to define __stub macros and hopefully few prototypes,
15122 which can conflict with char $ac_func(); below. */
15123 #include <assert.h>
15124 /* Override any gcc2 internal prototype to avoid an error. */
15125 /* We use char because int might match the return type of a gcc2
15126 builtin and then its argument prototype would still apply. */
15131 /* The GNU C library defines this for functions which it implements
15132 to always fail with ENOSYS. Some functions are actually named
15133 something starting with __ and the normal name is an alias. */
15134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15142 if { (eval echo configure
:15143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15144 eval "ac_cv_func_$ac_func=yes"
15146 echo "configure: failed program was:" >&5
15147 cat conftest.
$ac_ext >&5
15149 eval "ac_cv_func_$ac_func=no"
15154 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15155 echo "$ac_t""yes" 1>&6
15156 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15157 cat >> confdefs.h
<<EOF
15158 #define $ac_tr_func 1
15162 echo "$ac_t""no" 1>&6
15169 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
15170 echo "configure:15171: checking for _long double round functions" >&5
15171 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
15172 echo $ac_n "(cached) $ac_c" 1>&6
15177 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15178 ac_cpp
='$CXXCPP $CPPFLAGS'
15179 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15180 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15181 cross_compiling
=$ac_cv_prog_cxx_cross
15183 cat > conftest.
$ac_ext <<EOF
15184 #line 15185 "configure"
15185 #include "confdefs.h"
15188 `for x in _ceill _floorl; do echo "$x (0);"; done`
15191 if { (eval echo configure
:15192: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15193 glibcpp_cv_func__long_double_round_use
=yes
15195 echo "configure: failed program was:" >&5
15196 cat conftest.
$ac_ext >&5
15198 glibcpp_cv_func__long_double_round_use
=no
15202 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15203 ac_cpp
='$CPP $CPPFLAGS'
15204 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15205 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15206 cross_compiling
=$ac_cv_prog_cc_cross
15210 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
15211 if test x
$glibcpp_cv_func__long_double_round_use = x
"yes"; then
15212 for ac_func
in _ceill _floorl
15214 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15215 echo "configure:15216: checking for $ac_func" >&5
15216 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15217 echo $ac_n "(cached) $ac_c" 1>&6
15219 cat > conftest.
$ac_ext <<EOF
15220 #line 15221 "configure"
15221 #include "confdefs.h"
15222 /* System header to define __stub macros and hopefully few prototypes,
15223 which can conflict with char $ac_func(); below. */
15224 #include <assert.h>
15225 /* Override any gcc2 internal prototype to avoid an error. */
15226 /* We use char because int might match the return type of a gcc2
15227 builtin and then its argument prototype would still apply. */
15232 /* The GNU C library defines this for functions which it implements
15233 to always fail with ENOSYS. Some functions are actually named
15234 something starting with __ and the normal name is an alias. */
15235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15243 if { (eval echo configure
:15244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15245 eval "ac_cv_func_$ac_func=yes"
15247 echo "configure: failed program was:" >&5
15248 cat conftest.
$ac_ext >&5
15250 eval "ac_cv_func_$ac_func=no"
15255 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15256 echo "$ac_t""yes" 1>&6
15257 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15258 cat >> confdefs.h
<<EOF
15259 #define $ac_tr_func 1
15263 echo "$ac_t""no" 1>&6
15270 LIBS
="$ac_save_LIBS"
15271 CXXFLAGS
="$ac_save_CXXFLAGS"
15274 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
15275 echo "configure:15276: checking for main in -lm" >&5
15276 ac_lib_var
=`echo m'_'main | sed 'y%./+-%__p_%'`
15277 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15278 echo $ac_n "(cached) $ac_c" 1>&6
15280 ac_save_LIBS
="$LIBS"
15282 cat > conftest.
$ac_ext <<EOF
15283 #line 15284 "configure"
15284 #include "confdefs.h"
15290 if { (eval echo configure
:15291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15292 eval "ac_cv_lib_$ac_lib_var=yes"
15294 echo "configure: failed program was:" >&5
15295 cat conftest.
$ac_ext >&5
15297 eval "ac_cv_lib_$ac_lib_var=no"
15300 LIBS
="$ac_save_LIBS"
15303 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15304 echo "$ac_t""yes" 1>&6
15305 ac_tr_lib
=HAVE_LIB
`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
15306 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
15307 cat >> confdefs.h
<<EOF
15308 #define $ac_tr_lib 1
15314 echo "$ac_t""no" 1>&6
15317 for ac_func
in nan hypot hypotf atan2f expf copysignf
15319 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15320 echo "configure:15321: checking for $ac_func" >&5
15321 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15322 echo $ac_n "(cached) $ac_c" 1>&6
15324 cat > conftest.
$ac_ext <<EOF
15325 #line 15326 "configure"
15326 #include "confdefs.h"
15327 /* System header to define __stub macros and hopefully few prototypes,
15328 which can conflict with char $ac_func(); below. */
15329 #include <assert.h>
15330 /* Override any gcc2 internal prototype to avoid an error. */
15331 /* We use char because int might match the return type of a gcc2
15332 builtin and then its argument prototype would still apply. */
15337 /* The GNU C library defines this for functions which it implements
15338 to always fail with ENOSYS. Some functions are actually named
15339 something starting with __ and the normal name is an alias. */
15340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15348 if { (eval echo configure
:15349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15350 eval "ac_cv_func_$ac_func=yes"
15352 echo "configure: failed program was:" >&5
15353 cat conftest.
$ac_ext >&5
15355 eval "ac_cv_func_$ac_func=no"
15360 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15361 echo "$ac_t""yes" 1>&6
15362 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15363 cat >> confdefs.h
<<EOF
15364 #define $ac_tr_func 1
15368 echo "$ac_t""no" 1>&6
15369 LIBMATHOBJS
="$LIBMATHOBJS ${ac_func}.lo"
15375 USE_COMPLEX_LONG_DOUBLE
=no
15376 if test x
$ac_cv_func_atan2l = x
"yes" \
15377 && test x
$ac_cv_func_copysignl = x
"yes"; then
15378 USE_COMPLEX_LONG_DOUBLE
=yes
15379 for ac_func
in hypotl signbitl
15381 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15382 echo "configure:15383: checking for $ac_func" >&5
15383 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15384 echo $ac_n "(cached) $ac_c" 1>&6
15386 cat > conftest.
$ac_ext <<EOF
15387 #line 15388 "configure"
15388 #include "confdefs.h"
15389 /* System header to define __stub macros and hopefully few prototypes,
15390 which can conflict with char $ac_func(); below. */
15391 #include <assert.h>
15392 /* Override any gcc2 internal prototype to avoid an error. */
15393 /* We use char because int might match the return type of a gcc2
15394 builtin and then its argument prototype would still apply. */
15399 /* The GNU C library defines this for functions which it implements
15400 to always fail with ENOSYS. Some functions are actually named
15401 something starting with __ and the normal name is an alias. */
15402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15410 if { (eval echo configure
:15411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15412 eval "ac_cv_func_$ac_func=yes"
15414 echo "configure: failed program was:" >&5
15415 cat conftest.
$ac_ext >&5
15417 eval "ac_cv_func_$ac_func=no"
15422 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15423 echo "$ac_t""yes" 1>&6
15424 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15425 cat >> confdefs.h
<<EOF
15426 #define $ac_tr_func 1
15430 echo "$ac_t""no" 1>&6
15431 LIBMATHOBJS
="$LIBMATHOBJS ${ac_func}.lo"
15443 echo $ac_n "checking for GNU C++ __complex__ support""... $ac_c" 1>&6
15444 echo "configure:15445: checking for GNU C++ __complex__ support" >&5
15445 if eval "test \"`echo '$''{'glibcpp_cv_complex'+set}'`\" = set"; then
15446 echo $ac_n "(cached) $ac_c" 1>&6
15451 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15452 ac_cpp
='$CXXCPP $CPPFLAGS'
15453 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15454 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15455 cross_compiling
=$ac_cv_prog_cxx_cross
15457 cat > conftest.
$ac_ext <<EOF
15458 #line 15459 "configure"
15459 #include "confdefs.h"
15460 struct dcomplex { __complex__ double x; }; \
15461 dcomplex f(const dcomplex& x) { return dcomplex(x); }
15467 if { (eval echo configure
:15468: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15469 glibcpp_cv_complex
=ok
15471 echo "configure: failed program was:" >&5
15472 cat conftest.
$ac_ext >&5
15474 glibcpp_cv_complex
=buggy
15479 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15480 ac_cpp
='$CPP $CPPFLAGS'
15481 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15482 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15483 cross_compiling
=$ac_cv_prog_cc_cross
15488 echo "$ac_t""$glibcpp_cv_complex" 1>&6
15489 if test $glibcpp_cv_complex = buggy
; then
15490 cat >> confdefs.h
<<\EOF
15491 #define _GLIBCPP_BUGGY_COMPLEX 1
15496 echo $ac_n "checking for GNU C++ __complex__ float support""... $ac_c" 1>&6
15497 echo "configure:15498: checking for GNU C++ __complex__ float support" >&5
15498 if eval "test \"`echo '$''{'glibcpp_cv_float_complex'+set}'`\" = set"; then
15499 echo $ac_n "(cached) $ac_c" 1>&6
15504 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15505 ac_cpp
='$CXXCPP $CPPFLAGS'
15506 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15507 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15508 cross_compiling
=$ac_cv_prog_cxx_cross
15511 cat > conftest.h
<<EOB
15513 // Check for buggy __complex__ that causes ICE in most versions of egcs
15514 // and gcc-2.95.x on certain platforms (eg., x86-win32).
15516 // See http://gcc.gnu.org/ml/gcc-bugs/1999-07n/msg00845.html for
15517 // more info on the bug itself.
15522 __complex__ float m_value;
15523 float_complex (float = 0.0f, float = 0.0f);
15524 float_complex (__complex__ float val) : m_value (val) {}
15525 float_complex foo (const float_complex &val)
15526 { return float_complex (~val.m_value); }
15529 cat > conftest.
$ac_ext <<EOF
15530 #line 15531 "configure"
15531 #include "confdefs.h"
15532 #include "conftest.h"
15537 if { (eval echo configure
:15538: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15539 glibcpp_cv_float_complex
=ok
15541 echo "configure: failed program was:" >&5
15542 cat conftest.
$ac_ext >&5
15544 glibcpp_cv_float_complex
=buggy
15549 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15550 ac_cpp
='$CPP $CPPFLAGS'
15551 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15552 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15553 cross_compiling
=$ac_cv_prog_cc_cross
15558 echo "$ac_t""$glibcpp_cv_float_complex" 1>&6
15559 if test $glibcpp_cv_float_complex = buggy
; then
15560 cat >> confdefs.h
<<\EOF
15561 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
15568 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
15569 echo "configure:15570: checking for mbstate_t" >&5
15570 cat > conftest.
$ac_ext <<EOF
15571 #line 15572 "configure"
15572 #include "confdefs.h"
15575 mbstate_t teststate;
15578 if { (eval echo configure
:15579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15582 echo "configure: failed program was:" >&5
15583 cat conftest.
$ac_ext >&5
15588 echo "$ac_t""$have_mbstate_t" 1>&6
15589 if test x
"$have_mbstate_t" = xyes
; then
15590 cat >> confdefs.h
<<\EOF
15591 #define HAVE_MBSTATE_T 1
15596 for ac_hdr
in wchar.h
15598 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15599 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15600 echo "configure:15601: checking for $ac_hdr" >&5
15601 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15602 echo $ac_n "(cached) $ac_c" 1>&6
15604 cat > conftest.
$ac_ext <<EOF
15605 #line 15606 "configure"
15606 #include "confdefs.h"
15609 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15610 { (eval echo configure
:15611: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15611 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15612 if test -z "$ac_err"; then
15614 eval "ac_cv_header_$ac_safe=yes"
15617 echo "configure: failed program was:" >&5
15618 cat conftest.
$ac_ext >&5
15620 eval "ac_cv_header_$ac_safe=no"
15624 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15625 echo "$ac_t""yes" 1>&6
15626 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15627 cat >> confdefs.h
<<EOF
15628 #define $ac_tr_hdr 1
15632 echo "$ac_t""no" 1>&6
15637 ac_safe
=`echo "wctype.h" | sed 'y%./+-%__p_%'`
15638 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
15639 echo "configure:15640: checking for wctype.h" >&5
15640 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15641 echo $ac_n "(cached) $ac_c" 1>&6
15643 cat > conftest.
$ac_ext <<EOF
15644 #line 15645 "configure"
15645 #include "confdefs.h"
15646 #include <wctype.h>
15648 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15649 { (eval echo configure
:15650: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15650 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15651 if test -z "$ac_err"; then
15653 eval "ac_cv_header_$ac_safe=yes"
15656 echo "configure: failed program was:" >&5
15657 cat conftest.
$ac_ext >&5
15659 eval "ac_cv_header_$ac_safe=no"
15663 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15664 echo "$ac_t""yes" 1>&6
15665 ac_has_wctype_h
=yes
15667 echo "$ac_t""no" 1>&6
15672 if test x
"$ac_has_wchar_h" = xyes
&& test x
"$ac_has_wctype_h" = xyes \
15673 && test x
"$enable_c_mbchar" != xno
; then
15675 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
15676 echo "configure:15677: checking for WCHAR_MIN and WCHAR_MAX" >&5
15677 cat > conftest.
$ac_ext <<EOF
15678 #line 15679 "configure"
15679 #include "confdefs.h"
15682 int i = WCHAR_MIN; int j = WCHAR_MAX;
15685 if { (eval echo configure
:15686: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15687 has_wchar_minmax
=yes
15689 echo "configure: failed program was:" >&5
15690 cat conftest.
$ac_ext >&5
15692 has_wchar_minmax
=no
15695 echo "$ac_t""$has_wchar_minmax" 1>&6
15697 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
15698 echo "configure:15699: checking for WEOF" >&5
15699 cat > conftest.
$ac_ext <<EOF
15700 #line 15701 "configure"
15701 #include "confdefs.h"
15704 #include <stddef.h>
15709 if { (eval echo configure
:15710: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15713 echo "configure: failed program was:" >&5
15714 cat conftest.
$ac_ext >&5
15719 echo "$ac_t""$has_weof" 1>&6
15721 for ac_func
in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset \
15722 wcsrtombs mbsrtowcs
15724 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15725 echo "configure:15726: checking for $ac_func" >&5
15726 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15727 echo $ac_n "(cached) $ac_c" 1>&6
15729 cat > conftest.
$ac_ext <<EOF
15730 #line 15731 "configure"
15731 #include "confdefs.h"
15732 /* System header to define __stub macros and hopefully few prototypes,
15733 which can conflict with char $ac_func(); below. */
15734 #include <assert.h>
15735 /* Override any gcc2 internal prototype to avoid an error. */
15736 /* We use char because int might match the return type of a gcc2
15737 builtin and then its argument prototype would still apply. */
15742 /* The GNU C library defines this for functions which it implements
15743 to always fail with ENOSYS. Some functions are actually named
15744 something starting with __ and the normal name is an alias. */
15745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15753 if { (eval echo configure
:15754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15755 eval "ac_cv_func_$ac_func=yes"
15757 echo "configure: failed program was:" >&5
15758 cat conftest.
$ac_ext >&5
15760 eval "ac_cv_func_$ac_func=no"
15765 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15766 echo "$ac_t""yes" 1>&6
15767 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15768 cat >> confdefs.h
<<EOF
15769 #define $ac_tr_func 1
15773 echo "$ac_t""no" 1>&6
15779 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
15780 echo "configure:15781: checking for ISO C99 wchar_t support" >&5
15781 if test x
"$has_weof" = xyes
&& test x
"$has_wchar_minmax" = xyes \
15782 && test x
"$ac_wfuncs" = xyes
; then
15783 ac_isoC99_wchar_t
=yes
15785 ac_isoC99_wchar_t
=no
15787 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
15789 ac_safe
=`echo "iconv.h" | sed 'y%./+-%__p_%'`
15790 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
15791 echo "configure:15792: checking for iconv.h" >&5
15792 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15793 echo $ac_n "(cached) $ac_c" 1>&6
15795 cat > conftest.
$ac_ext <<EOF
15796 #line 15797 "configure"
15797 #include "confdefs.h"
15800 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15801 { (eval echo configure
:15802: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15802 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15803 if test -z "$ac_err"; then
15805 eval "ac_cv_header_$ac_safe=yes"
15808 echo "configure: failed program was:" >&5
15809 cat conftest.
$ac_ext >&5
15811 eval "ac_cv_header_$ac_safe=no"
15815 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15816 echo "$ac_t""yes" 1>&6
15819 echo "$ac_t""no" 1>&6
15823 ac_safe
=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
15824 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
15825 echo "configure:15826: checking for langinfo.h" >&5
15826 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15827 echo $ac_n "(cached) $ac_c" 1>&6
15829 cat > conftest.
$ac_ext <<EOF
15830 #line 15831 "configure"
15831 #include "confdefs.h"
15832 #include <langinfo.h>
15834 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15835 { (eval echo configure
:15836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15836 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15837 if test -z "$ac_err"; then
15839 eval "ac_cv_header_$ac_safe=yes"
15842 echo "configure: failed program was:" >&5
15843 cat conftest.
$ac_ext >&5
15845 eval "ac_cv_header_$ac_safe=no"
15849 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15850 echo "$ac_t""yes" 1>&6
15851 ac_has_langinfo_h
=yes
15853 echo "$ac_t""no" 1>&6
15854 ac_has_langinfo_h
=no
15858 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
15859 echo "configure:15860: checking for iconv in -liconv" >&5
15860 ac_lib_var
=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
15861 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15862 echo $ac_n "(cached) $ac_c" 1>&6
15864 ac_save_LIBS
="$LIBS"
15865 LIBS
="-liconv $LIBS"
15866 cat > conftest.
$ac_ext <<EOF
15867 #line 15868 "configure"
15868 #include "confdefs.h"
15869 /* Override any gcc2 internal prototype to avoid an error. */
15870 /* We use char because int might match the return type of a gcc2
15871 builtin and then its argument prototype would still apply. */
15878 if { (eval echo configure
:15879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15880 eval "ac_cv_lib_$ac_lib_var=yes"
15882 echo "configure: failed program was:" >&5
15883 cat conftest.
$ac_ext >&5
15885 eval "ac_cv_lib_$ac_lib_var=no"
15888 LIBS
="$ac_save_LIBS"
15891 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15892 echo "$ac_t""yes" 1>&6
15895 echo "$ac_t""no" 1>&6
15898 ac_save_LIBS
="$LIBS"
15899 LIBS
="$LIBS $libiconv"
15901 for ac_func
in iconv_open iconv_close
iconv nl_langinfo
15903 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15904 echo "configure:15905: checking for $ac_func" >&5
15905 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15906 echo $ac_n "(cached) $ac_c" 1>&6
15908 cat > conftest.
$ac_ext <<EOF
15909 #line 15910 "configure"
15910 #include "confdefs.h"
15911 /* System header to define __stub macros and hopefully few prototypes,
15912 which can conflict with char $ac_func(); below. */
15913 #include <assert.h>
15914 /* Override any gcc2 internal prototype to avoid an error. */
15915 /* We use char because int might match the return type of a gcc2
15916 builtin and then its argument prototype would still apply. */
15921 /* The GNU C library defines this for functions which it implements
15922 to always fail with ENOSYS. Some functions are actually named
15923 something starting with __ and the normal name is an alias. */
15924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15932 if { (eval echo configure
:15933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15934 eval "ac_cv_func_$ac_func=yes"
15936 echo "configure: failed program was:" >&5
15937 cat conftest.
$ac_ext >&5
15939 eval "ac_cv_func_$ac_func=no"
15944 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15945 echo "$ac_t""yes" 1>&6
15946 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15947 cat >> confdefs.h
<<EOF
15948 #define $ac_tr_func 1
15953 echo "$ac_t""no" 1>&6
15959 LIBS
="$ac_save_LIBS"
15961 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
15962 echo "configure:15963: checking for XPG2 wchar_t support" >&5
15963 if test x
"$ac_has_iconv_h" = xyes
&& test x
"$ac_has_langinfo_h" = xyes \
15964 && test x
"$ac_XPG2funcs" = xyes
; then
15965 ac_XPG2_wchar_t
=yes
15969 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
15971 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
15972 echo "configure:15973: checking for enabled wchar_t specializations" >&5
15973 if test x
"$ac_isoC99_wchar_t" = xyes \
15974 && test x
"$ac_XPG2_wchar_t" = xyes
; then
15975 cat >> confdefs.h
<<\EOF
15976 #define _GLIBCPP_USE_WCHAR_T 1
15979 echo "$ac_t"""yes"" 1>&6
15981 echo "$ac_t"""no
"" 1>&6
15984 echo "configure: warning: wchar_t support disabled." 1>&2
15988 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
15989 ac_save_CXXFLAGS
="$CXXFLAGS"
15990 CXXFLAGS
='-fno-builtins -D_GNU_SOURCE'
15992 for ac_func
in strtof
15994 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15995 echo "configure:15996: checking for $ac_func" >&5
15996 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15997 echo $ac_n "(cached) $ac_c" 1>&6
15999 cat > conftest.
$ac_ext <<EOF
16000 #line 16001 "configure"
16001 #include "confdefs.h"
16002 /* System header to define __stub macros and hopefully few prototypes,
16003 which can conflict with char $ac_func(); below. */
16004 #include <assert.h>
16005 /* Override any gcc2 internal prototype to avoid an error. */
16006 /* We use char because int might match the return type of a gcc2
16007 builtin and then its argument prototype would still apply. */
16012 /* The GNU C library defines this for functions which it implements
16013 to always fail with ENOSYS. Some functions are actually named
16014 something starting with __ and the normal name is an alias. */
16015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16023 if { (eval echo configure
:16024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16025 eval "ac_cv_func_$ac_func=yes"
16027 echo "configure: failed program was:" >&5
16028 cat conftest.
$ac_ext >&5
16030 eval "ac_cv_func_$ac_func=no"
16035 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16036 echo "$ac_t""yes" 1>&6
16037 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16038 cat >> confdefs.h
<<EOF
16039 #define $ac_tr_func 1
16043 echo "$ac_t""no" 1>&6
16048 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
16049 echo "configure:16050: checking for strtold declaration" >&5
16050 if test x
${glibcpp_cv_func_strtold_use+set} != xset
; then
16051 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
16052 echo $ac_n "(cached) $ac_c" 1>&6
16057 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16058 ac_cpp
='$CXXCPP $CPPFLAGS'
16059 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16060 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16061 cross_compiling
=$ac_cv_prog_cxx_cross
16063 cat > conftest.
$ac_ext <<EOF
16064 #line 16065 "configure"
16065 #include "confdefs.h"
16066 #include <stdlib.h>
16071 if { (eval echo configure
:16072: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16073 glibcpp_cv_func_strtold_use
=yes
16075 echo "configure: failed program was:" >&5
16076 cat conftest.
$ac_ext >&5
16078 glibcpp_cv_func_strtold_use
=no
16082 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16083 ac_cpp
='$CPP $CPPFLAGS'
16084 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16085 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16086 cross_compiling
=$ac_cv_prog_cc_cross
16092 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
16093 if test x
$glibcpp_cv_func_strtold_use = x
"yes"; then
16094 for ac_func
in strtold
16096 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16097 echo "configure:16098: checking for $ac_func" >&5
16098 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16099 echo $ac_n "(cached) $ac_c" 1>&6
16101 cat > conftest.
$ac_ext <<EOF
16102 #line 16103 "configure"
16103 #include "confdefs.h"
16104 /* System header to define __stub macros and hopefully few prototypes,
16105 which can conflict with char $ac_func(); below. */
16106 #include <assert.h>
16107 /* Override any gcc2 internal prototype to avoid an error. */
16108 /* We use char because int might match the return type of a gcc2
16109 builtin and then its argument prototype would still apply. */
16114 /* The GNU C library defines this for functions which it implements
16115 to always fail with ENOSYS. Some functions are actually named
16116 something starting with __ and the normal name is an alias. */
16117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16125 if { (eval echo configure
:16126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16127 eval "ac_cv_func_$ac_func=yes"
16129 echo "configure: failed program was:" >&5
16130 cat conftest.
$ac_ext >&5
16132 eval "ac_cv_func_$ac_func=no"
16137 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16138 echo "$ac_t""yes" 1>&6
16139 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16140 cat >> confdefs.h
<<EOF
16141 #define $ac_tr_func 1
16145 echo "$ac_t""no" 1>&6
16151 for ac_func
in drand48
16153 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16154 echo "configure:16155: checking for $ac_func" >&5
16155 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16156 echo $ac_n "(cached) $ac_c" 1>&6
16158 cat > conftest.
$ac_ext <<EOF
16159 #line 16160 "configure"
16160 #include "confdefs.h"
16161 /* System header to define __stub macros and hopefully few prototypes,
16162 which can conflict with char $ac_func(); below. */
16163 #include <assert.h>
16164 /* Override any gcc2 internal prototype to avoid an error. */
16165 /* We use char because int might match the return type of a gcc2
16166 builtin and then its argument prototype would still apply. */
16171 /* The GNU C library defines this for functions which it implements
16172 to always fail with ENOSYS. Some functions are actually named
16173 something starting with __ and the normal name is an alias. */
16174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16182 if { (eval echo configure
:16183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16184 eval "ac_cv_func_$ac_func=yes"
16186 echo "configure: failed program was:" >&5
16187 cat conftest.
$ac_ext >&5
16189 eval "ac_cv_func_$ac_func=no"
16194 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16195 echo "$ac_t""yes" 1>&6
16196 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16197 cat >> confdefs.h
<<EOF
16198 #define $ac_tr_func 1
16202 echo "$ac_t""no" 1>&6
16207 CXXFLAGS
="$ac_save_CXXFLAGS"
16210 cat > conftest.
$ac_ext <<EOF
16211 #line 16212 "configure"
16212 #include "confdefs.h"
16214 #include <setjmp.h>
16217 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
16220 if { (eval echo configure
:16221: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16222 cat >> confdefs.h
<<\EOF
16223 #define HAVE_SIGSETJMP 1
16227 echo "configure: failed program was:" >&5
16228 cat conftest.
$ac_ext >&5
16232 for ac_hdr
in unistd.h
16234 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16235 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16236 echo "configure:16237: checking for $ac_hdr" >&5
16237 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16238 echo $ac_n "(cached) $ac_c" 1>&6
16240 cat > conftest.
$ac_ext <<EOF
16241 #line 16242 "configure"
16242 #include "confdefs.h"
16245 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16246 { (eval echo configure
:16247: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16247 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16248 if test -z "$ac_err"; then
16250 eval "ac_cv_header_$ac_safe=yes"
16253 echo "configure: failed program was:" >&5
16254 cat conftest.
$ac_ext >&5
16256 eval "ac_cv_header_$ac_safe=no"
16260 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16261 echo "$ac_t""yes" 1>&6
16262 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16263 cat >> confdefs.h
<<EOF
16264 #define $ac_tr_hdr 1
16268 echo "$ac_t""no" 1>&6
16272 for ac_func
in getpagesize
16274 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16275 echo "configure:16276: checking for $ac_func" >&5
16276 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16277 echo $ac_n "(cached) $ac_c" 1>&6
16279 cat > conftest.
$ac_ext <<EOF
16280 #line 16281 "configure"
16281 #include "confdefs.h"
16282 /* System header to define __stub macros and hopefully few prototypes,
16283 which can conflict with char $ac_func(); below. */
16284 #include <assert.h>
16285 /* Override any gcc2 internal prototype to avoid an error. */
16286 /* We use char because int might match the return type of a gcc2
16287 builtin and then its argument prototype would still apply. */
16292 /* The GNU C library defines this for functions which it implements
16293 to always fail with ENOSYS. Some functions are actually named
16294 something starting with __ and the normal name is an alias. */
16295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16303 if { (eval echo configure
:16304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16305 eval "ac_cv_func_$ac_func=yes"
16307 echo "configure: failed program was:" >&5
16308 cat conftest.
$ac_ext >&5
16310 eval "ac_cv_func_$ac_func=no"
16315 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16316 echo "$ac_t""yes" 1>&6
16317 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16318 cat >> confdefs.h
<<EOF
16319 #define $ac_tr_func 1
16323 echo "$ac_t""no" 1>&6
16327 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
16328 echo "configure:16329: checking for working mmap" >&5
16329 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
16330 echo $ac_n "(cached) $ac_c" 1>&6
16332 if test "$cross_compiling" = yes; then
16333 ac_cv_func_mmap_fixed_mapped
=no
16335 cat > conftest.
$ac_ext <<EOF
16336 #line 16337 "configure"
16337 #include "confdefs.h"
16339 /* Thanks to Mike Haertel and Jim Avera for this test.
16340 Here is a matrix of mmap possibilities:
16341 mmap private not fixed
16342 mmap private fixed at somewhere currently unmapped
16343 mmap private fixed at somewhere already mapped
16344 mmap shared not fixed
16345 mmap shared fixed at somewhere currently unmapped
16346 mmap shared fixed at somewhere already mapped
16347 For private mappings, we should verify that changes cannot be read()
16348 back from the file, nor mmap's back from the file at a different
16349 address. (There have been systems where private was not correctly
16350 implemented like the infamous i386 svr4.0, and systems where the
16351 VM page cache was not coherent with the filesystem buffer cache
16352 like early versions of FreeBSD and possibly contemporary NetBSD.)
16353 For shared mappings, we should conversely verify that changes get
16354 propogated back to all the places they're supposed to be.
16356 Grep wants private fixed already mapped.
16357 The main things grep needs to know about mmap are:
16358 * does it exist and is it safe to write into the mmap'd area
16359 * how to use it (BSD variants) */
16360 #include <sys/types.h>
16362 #include <sys/mman.h>
16364 /* This mess was copied from the GNU getpagesize.h. */
16365 #ifndef HAVE_GETPAGESIZE
16366 # ifdef HAVE_UNISTD_H
16367 # include <unistd.h>
16370 /* Assume that all systems that can run configure have sys/param.h. */
16371 # ifndef HAVE_SYS_PARAM_H
16372 # define HAVE_SYS_PARAM_H 1
16375 # ifdef _SC_PAGESIZE
16376 # define getpagesize() sysconf(_SC_PAGESIZE)
16377 # else /* no _SC_PAGESIZE */
16378 # ifdef HAVE_SYS_PARAM_H
16379 # include <sys/param.h>
16380 # ifdef EXEC_PAGESIZE
16381 # define getpagesize() EXEC_PAGESIZE
16382 # else /* no EXEC_PAGESIZE */
16384 # define getpagesize() NBPG * CLSIZE
16387 # endif /* no CLSIZE */
16388 # else /* no NBPG */
16390 # define getpagesize() NBPC
16391 # else /* no NBPC */
16393 # define getpagesize() PAGESIZE
16394 # endif /* PAGESIZE */
16395 # endif /* no NBPC */
16396 # endif /* no NBPG */
16397 # endif /* no EXEC_PAGESIZE */
16398 # else /* no HAVE_SYS_PARAM_H */
16399 # define getpagesize() 8192 /* punt totally */
16400 # endif /* no HAVE_SYS_PARAM_H */
16401 # endif /* no _SC_PAGESIZE */
16403 #endif /* no HAVE_GETPAGESIZE */
16406 extern "C" { void *malloc(unsigned); }
16414 char *data, *data2, *data3;
16418 pagesize = getpagesize();
16421 * First, make a file with some known garbage in it.
16423 data = malloc(pagesize);
16426 for (i = 0; i < pagesize; ++i)
16427 *(data + i) = rand();
16429 fd = creat("conftestmmap", 0600);
16432 if (write(fd, data, pagesize) != pagesize)
16437 * Next, try to mmap the file at a fixed address which
16438 * already has something else allocated at it. If we can,
16439 * also make sure that we see the same garbage.
16441 fd = open("conftestmmap", O_RDWR);
16444 data2 = malloc(2 * pagesize);
16447 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
16448 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
16449 MAP_PRIVATE | MAP_FIXED, fd, 0L))
16451 for (i = 0; i < pagesize; ++i)
16452 if (*(data + i) != *(data2 + i))
16456 * Finally, make sure that changes to the mapped area
16457 * do not percolate back to the file as seen by read().
16458 * (This is a bug on some variants of i386 svr4.0.)
16460 for (i = 0; i < pagesize; ++i)
16461 *(data2 + i) = *(data2 + i) + 1;
16462 data3 = malloc(pagesize);
16465 if (read(fd, data3, pagesize) != pagesize)
16467 for (i = 0; i < pagesize; ++i)
16468 if (*(data + i) != *(data3 + i))
16471 unlink("conftestmmap");
16476 if { (eval echo configure
:16477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
16478 ac_cv_func_mmap_fixed_mapped
=yes
16480 echo "configure: failed program was:" >&5
16481 cat conftest.
$ac_ext >&5
16483 ac_cv_func_mmap_fixed_mapped
=no
16490 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
16491 if test $ac_cv_func_mmap_fixed_mapped = yes; then
16492 cat >> confdefs.h
<<\EOF
16493 #define HAVE_MMAP 1
16500 # Now that ctype is determined for all possible targets, we can do this...
16508 if test "$NULL_TARGET" = yes; then
16510 NULL_TARGET_FALSE
='#'
16512 NULL_TARGET_TRUE
='#'
16517 if test "$NATIVE" = yes ||
test "$NULL_TARGET" = yes; then
16526 if test "$CANADIAN" = yes; then
16534 cat > confcache
<<\EOF
16535 # This file is a shell script that caches the results of configure
16536 # tests run on this system so they can be shared between configure
16537 # scripts and configure runs. It is not useful on other systems.
16538 # If it contains results you don't want to keep, you may remove or edit it.
16540 # By default, configure uses ./config.cache as the cache file,
16541 # creating it if it does not exist already. You can give configure
16542 # the --cache-file=FILE option to use a different cache file; that is
16543 # what configure does when it calls configure scripts in
16544 # subdirectories, so they share the cache.
16545 # Giving --cache-file=/dev/null disables caching, for debugging configure.
16546 # config.status only pays attention to the cache file if you give it the
16547 # --recheck option to rerun configure.
16550 # The following way of writing the cache mishandles newlines in values,
16551 # but we know of no workaround that is simple, portable, and efficient.
16552 # So, don't put newlines in cache variables' values.
16553 # Ultrix sh set writes to stderr and can't be redirected directly,
16554 # and sets the high bit in the cache file unless we assign to the vars.
16556 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16558 # `set' does not quote correctly, so add quotes (double-quote substitution
16559 # turns \\\\ into \\, and sed turns \\ into \).
16561 -e "s/'/'\\\\''/g" \
16562 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
16565 # `set' quotes correctly as required by POSIX, so do not add quotes.
16566 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
16569 if cmp -s $cache_file confcache
; then
16572 if test -w $cache_file; then
16573 echo "updating cache $cache_file"
16574 cat confcache
> $cache_file
16576 echo "not updating unwritable cache $cache_file"
16582 ac_safe
=`echo "locale.h" | sed 'y%./+-%__p_%'`
16583 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
16584 echo "configure:16585: checking for locale.h" >&5
16585 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16586 echo $ac_n "(cached) $ac_c" 1>&6
16588 cat > conftest.
$ac_ext <<EOF
16589 #line 16590 "configure"
16590 #include "confdefs.h"
16591 #include <locale.h>
16593 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16594 { (eval echo configure
:16595: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16595 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16596 if test -z "$ac_err"; then
16598 eval "ac_cv_header_$ac_safe=yes"
16601 echo "configure: failed program was:" >&5
16602 cat conftest.
$ac_ext >&5
16604 eval "ac_cv_header_$ac_safe=no"
16608 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16609 echo "$ac_t""yes" 1>&6
16611 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
16612 echo "configure:16613: checking for LC_MESSAGES" >&5
16613 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
16614 echo $ac_n "(cached) $ac_c" 1>&6
16616 cat > conftest.
$ac_ext <<EOF
16617 #line 16618 "configure"
16618 #include "confdefs.h"
16619 #include <locale.h>
16624 if { (eval echo configure
:16625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16626 ac_cv_val_LC_MESSAGES
=yes
16628 echo "configure: failed program was:" >&5
16629 cat conftest.
$ac_ext >&5
16631 ac_cv_val_LC_MESSAGES
=no
16636 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
16637 if test $ac_cv_val_LC_MESSAGES = yes; then
16638 cat >> confdefs.h
<<\EOF
16639 #define HAVE_LC_MESSAGES 1
16645 echo "$ac_t""no" 1>&6
16650 if test "${multilib}" = "yes"; then
16651 multilib_arg
="--enable-multilib"
16657 # Generate the various Makefiles, include files, and scripts.
16659 # Needed so that g++ can find the correct include subdir automatically.
16662 # Export all the install information
16665 glibcpp_toolexecdir
=no
16666 glibcpp_toolexeclibdir
=no
16668 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
16669 echo "configure:16670: checking for interface version number" >&5
16670 libstdcxx_interface
=$INTERFACE
16671 echo "$ac_t""$libstdcxx_interface" 1>&6
16673 # Process the option --with-gxx-include-dir=<path to include-files directory>
16674 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
16675 echo "configure:16676: checking for --with-gxx-include-dir" >&5
16676 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
16677 if test "${with_gxx_include_dir+set}" = set; then
16678 withval
="$with_gxx_include_dir"
16679 case "${withval}" in
16681 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
16688 gxx_include_dir
=${withval}
16695 echo "$ac_t""$gxx_include_dir" 1>&6
16697 # Process the option "--enable-version-specific-runtime-libs"
16698 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
16699 echo "configure:16700: checking for --enable-version-specific-runtime-libs" >&5
16700 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
16701 if test "${enable_version_specific_runtime_libs+set}" = set; then
16702 enableval
="$enable_version_specific_runtime_libs"
16703 version_specific_libs
=yes
16704 # Need the gcc compiler version to know where to install libraries
16705 # and header files if --enable-version-specific-runtime-libs option
16707 gcc_version_trigger
=${srcdir}/..
/gcc
/version.c
16708 gcc_version_full
=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
16709 gcc_version
=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
16710 gxx_include_dir
='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include
/g
++
16711 glibcpp_toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
16712 glibcpp_toolexeclibdir
='$(toolexecdir)/'${gcc_version}
16715 version_specific_libs
=no
16718 echo "$ac_t""$version_specific_libs" 1>&6
16720 # Default case for install directory for include files.
16721 if test x
"$version_specific_libs" = x
"no" \
16722 && test x
"$gxx_include_dir" = x
"no"; then
16723 gxx_include_dir
='$(prefix)'/include
/g
++-${libstdcxx_interface}
16726 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
16727 # Install a library built with a cross compiler in tooldir, not libdir.
16728 if test x
"$glibcpp_toolexecdir" = x
"no"; then
16729 if test -n "$with_cross_host" && test x
"$with_cross_host" != x
"no"; then
16730 glibcpp_toolexecdir
='$(exec_prefix)/$(target_alias)'
16731 glibcpp_toolexeclibdir
='$(toolexecdir)/lib$(MULTISUBDIR)'
16733 glibcpp_toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
16734 glibcpp_toolexeclibdir
='$(libdir)$(MULTISUBDIR)'
16738 echo $ac_n "checking for install location""... $ac_c" 1>&6
16739 echo "configure:16740: checking for install location" >&5
16740 echo "$ac_t""$gxx_include_dir" 1>&6
16747 # Export all the include and flag information to makefiles.
16749 # Root level of the include sources.
16750 GLIBCPP_INCLUDE_DIR
='$(top_srcdir)/include'
16752 # Can either use include/c or include/c_std to grab "C" headers. This
16753 # variable is set to the include directory currently in use.
16754 # set with C_INCLUDE_DIR in GLIBCPP_ENABLE_CHEADERS
16756 # Passed down for canadian crosses.
16757 if test x
"$CANADIAN" = xyes
; then
16758 TOPLEVEL_INCLUDES
='-I$(includedir)'
16761 LIBMATH_INCLUDES
='-I$(top_srcdir)/libmath'
16763 LIBSUPCXX_INCLUDES
='-I$(top_srcdir)/libsupc++'
16765 #if GLIBCPP_NEED_LIBIO
16766 LIBIO_INCLUDES
='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
16768 #LIBIO_INCLUDES='-I$(top_srcdir)/libio'
16771 #if GLIBCPP_USE_CSHADOW
16772 # CSHADOW_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR) \
16773 # -I$(top_blddir)/cshadow'
16775 CSTD_INCLUDES
='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR)'
16778 # Now, export this to all the little Makefiles....
16787 # Optimization flags that are probably a good idea for thrill-seekers. Just
16788 # uncomment the lines below and make, everything else is ready to go...
16789 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
16793 WARN_FLAGS
='-Wall -Wno-format -W -Wwrite-strings -Winline'
16797 # This should be done by mkincludedir, but hack around it now.
16799 echo "checking for $blddir/include"
16801 if test ! -d "$blddir/include"; then
16802 mkdir
"$blddir/include"
16805 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
16806 # and libsupc++/Makefile.am so that multilib installs will end up
16807 # installed in the correct place. To work around this not being passed
16808 # down from config-ml.in -> top_srcdir/Makefile.am ->
16809 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
16811 cat > confcache
<<\EOF
16812 # This file is a shell script that caches the results of configure
16813 # tests run on this system so they can be shared between configure
16814 # scripts and configure runs. It is not useful on other systems.
16815 # If it contains results you don't want to keep, you may remove or edit it.
16817 # By default, configure uses ./config.cache as the cache file,
16818 # creating it if it does not exist already. You can give configure
16819 # the --cache-file=FILE option to use a different cache file; that is
16820 # what configure does when it calls configure scripts in
16821 # subdirectories, so they share the cache.
16822 # Giving --cache-file=/dev/null disables caching, for debugging configure.
16823 # config.status only pays attention to the cache file if you give it the
16824 # --recheck option to rerun configure.
16827 # The following way of writing the cache mishandles newlines in values,
16828 # but we know of no workaround that is simple, portable, and efficient.
16829 # So, don't put newlines in cache variables' values.
16830 # Ultrix sh set writes to stderr and can't be redirected directly,
16831 # and sets the high bit in the cache file unless we assign to the vars.
16833 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16835 # `set' does not quote correctly, so add quotes (double-quote substitution
16836 # turns \\\\ into \\, and sed turns \\ into \).
16838 -e "s/'/'\\\\''/g" \
16839 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
16842 # `set' quotes correctly as required by POSIX, so do not add quotes.
16843 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
16846 if cmp -s $cache_file confcache
; then
16849 if test -w $cache_file; then
16850 echo "updating cache $cache_file"
16851 cat confcache
> $cache_file
16853 echo "not updating unwritable cache $cache_file"
16858 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
16860 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16861 # Let make expand exec_prefix.
16862 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16864 # Any assignment to VPATH causes Sun make to only execute
16865 # the first set of double-colon rules, so remove it if not needed.
16866 # If there is a colon in the path, we need to keep it.
16867 if test "x$srcdir" = x.
; then
16868 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
16871 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
16873 DEFS
=-DHAVE_CONFIG_H
16875 # Without the "./", some shells look in PATH for config.status.
16876 : ${CONFIG_STATUS=./config.status}
16878 echo creating
$CONFIG_STATUS
16879 rm -f $CONFIG_STATUS
16880 cat > $CONFIG_STATUS <<EOF
16882 # Generated automatically by configure.
16883 # Run this file to recreate the current configuration.
16884 # This directory was configured as follows,
16885 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16887 # $0 $ac_configure_args
16889 # Compiler output produced by configure, useful for debugging
16890 # configure, is in ./config.log if it exists.
16892 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
16895 case "\$ac_option" in
16896 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16897 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
16898 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
16899 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
16900 echo "$CONFIG_STATUS generated by autoconf version 2.13"
16902 -help | --help | --hel | --he | --h)
16903 echo "\$ac_cs_usage"; exit 0 ;;
16904 *) echo "\$ac_cs_usage"; exit 1 ;;
16908 ac_given_srcdir=$srcdir
16909 ac_given_INSTALL="$INSTALL"
16911 trap 'rm -fr `echo "tests_flags mkcheck Makefile src/Makefile libmath/Makefile libio/Makefile libsupc++/Makefile testsuite/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
16913 cat >> $CONFIG_STATUS <<EOF
16915 # Protect against being on the right side of a sed subst in config.status.
16916 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
16917 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
16921 s%@CFLAGS@%$CFLAGS%g
16922 s%@CPPFLAGS@%$CPPFLAGS%g
16923 s%@CXXFLAGS@%$CXXFLAGS%g
16924 s%@FFLAGS@%$FFLAGS%g
16926 s%@LDFLAGS@%$LDFLAGS%g
16928 s%@exec_prefix@%$exec_prefix%g
16929 s%@prefix@%$prefix%g
16930 s%@program_transform_name@%$program_transform_name%g
16931 s%@bindir@%$bindir%g
16932 s%@sbindir@%$sbindir%g
16933 s%@libexecdir@%$libexecdir%g
16934 s%@datadir@%$datadir%g
16935 s%@sysconfdir@%$sysconfdir%g
16936 s%@sharedstatedir@%$sharedstatedir%g
16937 s%@localstatedir@%$localstatedir%g
16938 s%@libdir@%$libdir%g
16939 s%@includedir@%$includedir%g
16940 s%@oldincludedir@%$oldincludedir%g
16941 s%@infodir@%$infodir%g
16942 s%@mandir@%$mandir%g
16943 s%@toplevel_srcdir@%$toplevel_srcdir%g
16945 s%@host_alias@%$host_alias%g
16946 s%@host_cpu@%$host_cpu%g
16947 s%@host_vendor@%$host_vendor%g
16948 s%@host_os@%$host_os%g
16949 s%@target@%$target%g
16950 s%@target_alias@%$target_alias%g
16951 s%@target_cpu@%$target_cpu%g
16952 s%@target_vendor@%$target_vendor%g
16953 s%@target_os@%$target_os%g
16955 s%@build_alias@%$build_alias%g
16956 s%@build_cpu@%$build_cpu%g
16957 s%@build_vendor@%$build_vendor%g
16958 s%@build_os@%$build_os%g
16959 s%@glibcpp_basedir@%$glibcpp_basedir%g
16960 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
16961 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
16962 s%@INSTALL_DATA@%$INSTALL_DATA%g
16963 s%@PACKAGE@%$PACKAGE%g
16964 s%@VERSION@%$VERSION%g
16965 s%@ACLOCAL@%$ACLOCAL%g
16966 s%@AUTOCONF@%$AUTOCONF%g
16967 s%@AUTOMAKE@%$AUTOMAKE%g
16968 s%@AUTOHEADER@%$AUTOHEADER%g
16969 s%@MAKEINFO@%$MAKEINFO%g
16970 s%@SET_MAKE@%$SET_MAKE%g
16972 s%@glibcpp_CXX@%$glibcpp_CXX%g
16975 s%@RANLIB@%$RANLIB%g
16976 s%@glibcpp_expect@%$glibcpp_expect%g
16977 s%@glibcpp_runtest@%$glibcpp_runtest%g
16978 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
16979 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
16981 s%@EXEEXT@%$EXEEXT%g
16983 s%@OBJEXT@%$OBJEXT%g
16985 s%@LIBTOOL@%$LIBTOOL%g
16986 s%@CXXCPP@%$CXXCPP%g
16987 s%@enable_shared@%$enable_shared%g
16988 s%@enable_static@%$enable_static%g
16989 s%@ifGNUmake@%$ifGNUmake%g
16990 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
16992 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
16993 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
16994 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
16995 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
16996 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
16997 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
16998 s%@libio_la@%$libio_la%g
16999 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
17000 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
17001 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
17002 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
17003 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
17004 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
17005 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
17006 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
17007 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
17008 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
17009 s%@WERROR@%$WERROR%g
17010 s%@NULL_TARGET_TRUE@%$NULL_TARGET_TRUE%g
17011 s%@NULL_TARGET_FALSE@%$NULL_TARGET_FALSE%g
17012 s%@NATIVE_TRUE@%$NATIVE_TRUE%g
17013 s%@NATIVE_FALSE@%$NATIVE_FALSE%g
17014 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
17015 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
17016 s%@gxx_include_dir@%$gxx_include_dir%g
17017 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
17018 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
17019 s%@GLIBCPP_INCLUDE_DIR@%$GLIBCPP_INCLUDE_DIR%g
17020 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
17021 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
17022 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
17023 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
17024 s%@CSTD_INCLUDES@%$CSTD_INCLUDES%g
17025 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
17026 s%@WARN_FLAGS@%$WARN_FLAGS%g
17031 cat >> $CONFIG_STATUS <<\EOF
17033 # Split the substitutions into bite-sized pieces for seds with
17034 # small command number limits, like on Digital OSF/1 and HP-UX.
17035 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
17036 ac_file
=1 # Number of current file.
17037 ac_beg
=1 # First line for current file.
17038 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
17041 while $ac_more_lines; do
17042 if test $ac_beg -gt 1; then
17043 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
17045 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
17047 if test ! -s conftest.s
$ac_file; then
17048 ac_more_lines
=false
17049 rm -f conftest.s
$ac_file
17051 if test -z "$ac_sed_cmds"; then
17052 ac_sed_cmds
="sed -f conftest.s$ac_file"
17054 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
17056 ac_file
=`expr $ac_file + 1`
17058 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
17061 if test -z "$ac_sed_cmds"; then
17066 cat >> $CONFIG_STATUS <<EOF
17068 CONFIG_FILES=\${CONFIG_FILES-"tests_flags mkcheck Makefile src/Makefile libmath/Makefile libio/Makefile libsupc++/Makefile testsuite/Makefile"}
17070 cat >> $CONFIG_STATUS <<\EOF
17071 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
17072 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17074 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
17075 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
17076 *) ac_file_in
="${ac_file}.in" ;;
17079 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
17081 # Remove last slash and all that follows it. Not all systems have dirname.
17082 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
17083 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
17084 # The file is in a subdirectory.
17085 test ! -d "$ac_dir" && mkdir
"$ac_dir"
17086 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
17087 # A "../" for each directory in $ac_dir_suffix.
17088 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
17090 ac_dir_suffix
= ac_dots
=
17093 case "$ac_given_srcdir" in
17095 if test -z "$ac_dots"; then top_srcdir
=.
17096 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
17097 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
17098 *) # Relative path.
17099 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
17100 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
17103 case "$ac_given_INSTALL" in
17104 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
17105 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
17108 echo creating
"$ac_file"
17110 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
17112 *Makefile
*) ac_comsub
="1i\\
17113 # $configure_input" ;;
17117 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
17119 s%@configure_input@%$configure_input%g
17120 s%@srcdir@%$srcdir%g
17121 s%@top_srcdir@%$top_srcdir%g
17122 s%@INSTALL@%$INSTALL%g
17123 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
17127 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
17128 # NAME is the cpp macro being defined and VALUE is the value it is being given.
17130 # ac_d sets the value in "#define NAME VALUE" lines.
17131 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
17132 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
17135 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
17136 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17137 ac_uB
='\([ ]\)%\1#\2define\3'
17140 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
17141 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17142 ac_eB
='$%\1#\2define\3'
17146 if test "${CONFIG_HEADERS+set}" != set; then
17148 cat >> $CONFIG_STATUS <<EOF
17149 CONFIG_HEADERS="config.h"
17151 cat >> $CONFIG_STATUS <<\EOF
17153 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
17154 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17156 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
17157 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
17158 *) ac_file_in
="${ac_file}.in" ;;
17161 echo creating
$ac_file
17163 rm -f conftest.frag conftest.
in conftest.out
17164 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
17165 cat $ac_file_inputs > conftest.
in
17169 # Transform confdefs.h into a sed script conftest.vals that substitutes
17170 # the proper values into config.h.in to produce config.h. And first:
17171 # Protect against being on the right side of a sed subst in config.status.
17172 # Protect against being in an unquoted here document in config.status.
17173 rm -f conftest.vals
17174 cat > conftest.hdr
<<\EOF
17177 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
17181 sed -n -f conftest.hdr confdefs.h > conftest.vals
17184 # This sed command replaces #undef with comments. This is necessary, for
17185 # example, in the case of _POSIX_SOURCE, which is predefined and required
17186 # on some systems where configure will not decide to define it.
17187 cat >> conftest.vals <<\EOF
17188 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
17191 # Break up conftest.vals because some shells have a limit on
17192 # the size of here documents, and old seds have small limits too.
17194 rm -f conftest.tail
17197 ac_lines=`grep -c . conftest.vals
`
17198 # grep -c gives empty output for an empty file on some AIX systems.
17199 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
17200 # Write a limited-size here document to conftest.frag.
17201 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
17202 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
17204 sed -f conftest.frag conftest.in > conftest.out
17206 mv conftest.out conftest.in
17207 ' >> $CONFIG_STATUS
17208 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
17209 rm -f conftest.vals
17210 mv conftest.tail conftest.vals
17212 rm -f conftest.vals
17214 cat >> $CONFIG_STATUS <<\EOF
17215 rm -f conftest.frag conftest.h
17216 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
17217 cat conftest.in >> conftest.h
17219 if cmp -s $ac_file conftest.h 2>/dev/null; then
17220 echo "$ac_file is unchanged"
17223 # Remove last slash and all that follows it. Not all systems have dirname.
17224 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
17225 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
17226 # The file is in a subdirectory.
17227 test ! -d "$ac_dir" && mkdir "$ac_dir"
17230 mv conftest.h $ac_file
17236 cat >> $CONFIG_STATUS <<EOF
17237 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"
17238 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 \
17239 include/bits/ctype_base.h \
17240 include/bits/ctype_inline.h \
17241 include/bits/ctype_noninline.h include/bits/atomicity.h"
17244 cat >> $CONFIG_STATUS <<\EOF
17245 srcdir=$ac_given_srcdir
17246 while test -n "$ac_sources"; do
17247 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
17248 set $ac_sources; ac_source=$1; shift; ac_sources=$*
17250 echo "linking $srcdir/$ac_source to $ac_dest"
17252 if test ! -r $srcdir/$ac_source; then
17253 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
17257 # Make relative symlinks.
17258 # Remove last slash and all that follows it. Not all systems have dirname.
17259 ac_dest_dir=`echo $ac_dest|
sed 's%/[^/][^/]*$%%'`
17260 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
17261 # The dest file is in a subdirectory.
17262 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
17263 ac_dest_dir_suffix="/`echo $ac_dest_dir|
sed 's%^\./%%'`"
17264 # A "../" for each directory in $ac_dest_dir_suffix.
17265 ac_dots=`echo $ac_dest_dir_suffix|
sed 's%/[^/]*%../%g'`
17267 ac_dest_dir_suffix= ac_dots=
17271 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
17272 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
17275 # Make a symlink if possible; otherwise try a hard link.
17276 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
17277 ln $srcdir/$ac_source $ac_dest; then :
17279 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
17283 cat >> $CONFIG_STATUS <<EOF
17288 with_multisubdir=${with_multisubdir}
17289 ac_configure_args="${multilib_arg} ${ac_configure_args}"
17290 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
17291 glibcpp_basedir=${glibcpp_basedir}
17296 cat >> $CONFIG_STATUS <<\EOF
17297 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
17298 if test -n "$CONFIG_FILES"; then
17299 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
17300 grep '^MULTISUBDIR =' Makefile >> src/Makefile
17301 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
17303 chmod +x tests_flags
17308 chmod +x $CONFIG_STATUS
17309 rm -fr confdefs* $ac_clean_files
17310 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
17314 # Generate bits/c++config.h
17315 # NB: This must be the first generated file as others include it. . .
17316 $srcdir/mkc++config $blddir $srcdir
17318 # Generate bits/std_limits.h and src/limitsMEMBERS.cc
17319 if test ! -f stamp-limits; then
17320 $srcdir/mknumeric_limits $blddir $srcdir $xcompiling
17321 if test ! -f include/bits/std_limits.h; then
17322 echo "mknumeric_limits failed to execute properly: exiting"
17330 # Sanity checking & User-visible messages.
17331 # Checks down here, otherwise they get scrolled off before
17332 # the user will notice.
17334 # Trying to get more people to read documentation. Possibly remove
17335 # check and warn all the time. There is no "informational" AC_MSG_
17336 # macro, so these are going to be printed even when --quiet/--silent
17338 if test ! -f stamp-sanity-warned; then
17339 touch stamp-sanity-warned
17341 echo "Please make certain that you read the installation information here:"
17342 echo " faster => ${srcdir}/docs/install.html"
17343 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
17345 echo "and the configuration information here:"
17346 echo " faster => ${srcdir}/docs/configopts.html"
17347 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
17349 echo "before proceeding with ${_cv_gnu_make_command}."