3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix
=/usr
/local
13 # Any additions from configure.in:
15 --with-target-subdir=SUBDIR
16 configuring in a subdirectory"
18 --with-cross-host=HOST configuring with a cross compiler"
20 --enable-multilib build hella library versions (default)"
22 --enable-maintainer-mode enable make rules and dependencies not useful
23 (and sometimes confusing) to the casual installer"
25 --enable-shared[=PKGS] build shared libraries [default=yes]"
27 --enable-static[=PKGS] build static libraries [default=yes]"
29 --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
31 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
33 --disable-libtool-lock avoid locking (might break parallel builds)"
35 --with-pic try to use only PIC/non-PIC objects [default=use both]"
37 --enable-debug extra debugging, turn off optimization [default=no]"
39 --enable-cstdio enable stdio for target io package.
40 --enable-cstdio=LIB use LIB target-speific io package. [default=stdio]
43 --enable-clocale enable model for target locale package.
44 --enable-clocale=MODEL use MODEL target-speific locale package. [default=generic]
47 --enable-c-mbchar enable multibyte (wide) characters [default=yes]"
49 --enable-c99 turns on 'ISO/IEC 9899:1999 support' [default=yes]"
51 --enable-long-long turns on 'long long' [default=yes]"
53 --enable-cheaders construct "C
" header files for g++ [default=c_std]"
55 --enable-cxx-flags=FLAGS pass compiler FLAGS when building library;
58 --enable-sjlj-exceptions force use of builtin_setjmp for exceptions"
60 --with-gxx-include-dir the installation directory for include files"
62 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
64 # Initialize some variables set by options.
65 # The variables have the same names as the options, with
66 # dashes changed to underlines.
68 cache_file
=.
/config.cache
77 program_transform_name
=s
,x
,x
,
85 bindir
='${exec_prefix}/bin'
86 sbindir
='${exec_prefix}/sbin'
87 libexecdir
='${exec_prefix}/libexec'
88 datadir
='${prefix}/share'
89 sysconfdir
='${prefix}/etc'
90 sharedstatedir
='${prefix}/com'
91 localstatedir
='${prefix}/var'
92 libdir
='${exec_prefix}/lib'
93 includedir
='${prefix}/include'
94 oldincludedir
='/usr/include'
95 infodir
='${prefix}/info'
96 mandir
='${prefix}/man'
98 # Initialize some other variables.
101 SHELL
=${CONFIG_SHELL-/bin/sh}
102 # Maximum number of lines to put in a shell here document.
109 # If the previous option needs an argument, assign it.
110 if test -n "$ac_prev"; then
111 eval "$ac_prev=\$ac_option"
117 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
121 # Accept the important Cygnus configure options, so we can diagnose typos.
125 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
127 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
128 bindir
="$ac_optarg" ;;
130 -build |
--build |
--buil |
--bui |
--bu)
132 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
133 build
="$ac_optarg" ;;
135 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
136 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
137 ac_prev
=cache_file
;;
138 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
139 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
140 cache_file
="$ac_optarg" ;;
142 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
144 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
146 datadir
="$ac_optarg" ;;
148 -disable-* |
--disable-*)
149 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
150 # Reject names that are not valid shell variable names.
151 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
152 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
154 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
155 eval "enable_${ac_feature}=no" ;;
157 -enable-* |
--enable-*)
158 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
159 # Reject names that are not valid shell variable names.
160 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
161 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
163 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
168 eval "enable_${ac_feature}='$ac_optarg'" ;;
170 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
171 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
172 |
--exec |
--exe |
--ex)
173 ac_prev
=exec_prefix
;;
174 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
175 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
176 |
--exec=* |
--exe=* |
--ex=*)
177 exec_prefix
="$ac_optarg" ;;
179 -gas |
--gas |
--ga |
--g)
180 # Obsolete; use --with-gas.
183 -help |
--help |
--hel |
--he)
184 # Omit some internal or obsolete options to make the list less imposing.
185 # This message is too long to be a string in the A/UX 3.1 sh.
187 Usage: configure [options] [host]
188 Options: [defaults in brackets after descriptions]
190 --cache-file=FILE cache test results in FILE
191 --help print this message
192 --no-create do not create output files
193 --quiet, --silent do not print \`checking...' messages
194 --version print the version of autoconf that created configure
195 Directory and file names:
196 --prefix=PREFIX install architecture-independent files in PREFIX
198 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
200 --bindir=DIR user executables in DIR [EPREFIX/bin]
201 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
202 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
203 --datadir=DIR read-only architecture-independent data in DIR
205 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
206 --sharedstatedir=DIR modifiable architecture-independent data in DIR
208 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
209 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
210 --includedir=DIR C header files in DIR [PREFIX/include]
211 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
212 --infodir=DIR info documentation in DIR [PREFIX/info]
213 --mandir=DIR man documentation in DIR [PREFIX/man]
214 --srcdir=DIR find the sources in DIR [configure dir or ..]
215 --program-prefix=PREFIX prepend PREFIX to installed program names
216 --program-suffix=SUFFIX append SUFFIX to installed program names
217 --program-transform-name=PROGRAM
218 run sed PROGRAM on installed program names
222 --build=BUILD configure for building on BUILD [BUILD=HOST]
223 --host=HOST configure for HOST [guessed]
224 --target=TARGET configure for TARGET [TARGET=HOST]
225 Features and packages:
226 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
227 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
228 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
229 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
230 --x-includes=DIR X include files are in DIR
231 --x-libraries=DIR X library files are in DIR
233 if test -n "$ac_help"; then
234 echo "--enable and --with options recognized:$ac_help"
238 -host |
--host |
--hos |
--ho)
240 -host=* |
--host=* |
--hos=* |
--ho=*)
243 -includedir |
--includedir |
--includedi |
--included |
--include \
244 |
--includ |
--inclu |
--incl |
--inc)
245 ac_prev
=includedir
;;
246 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
247 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
248 includedir
="$ac_optarg" ;;
250 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
252 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
253 infodir
="$ac_optarg" ;;
255 -libdir |
--libdir |
--libdi |
--libd)
257 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
258 libdir
="$ac_optarg" ;;
260 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
261 |
--libexe |
--libex |
--libe)
262 ac_prev
=libexecdir
;;
263 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
264 |
--libexe=* |
--libex=* |
--libe=*)
265 libexecdir
="$ac_optarg" ;;
267 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
268 |
--localstate |
--localstat |
--localsta |
--localst \
269 |
--locals |
--local |
--loca |
--loc |
--lo)
270 ac_prev
=localstatedir
;;
271 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
272 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
273 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
274 localstatedir
="$ac_optarg" ;;
276 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
278 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
279 mandir
="$ac_optarg" ;;
282 # Obsolete; use --without-fp.
285 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
289 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
290 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
293 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
294 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
295 |
--oldin |
--oldi |
--old |
--ol |
--o)
296 ac_prev
=oldincludedir
;;
297 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
298 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
299 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
300 oldincludedir
="$ac_optarg" ;;
302 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
304 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
305 prefix
="$ac_optarg" ;;
307 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
308 |
--program-pre |
--program-pr |
--program-p)
309 ac_prev
=program_prefix
;;
310 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
311 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
312 program_prefix
="$ac_optarg" ;;
314 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
315 |
--program-suf |
--program-su |
--program-s)
316 ac_prev
=program_suffix
;;
317 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
318 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
319 program_suffix
="$ac_optarg" ;;
321 -program-transform-name |
--program-transform-name \
322 |
--program-transform-nam |
--program-transform-na \
323 |
--program-transform-n |
--program-transform- \
324 |
--program-transform |
--program-transfor \
325 |
--program-transfo |
--program-transf \
326 |
--program-trans |
--program-tran \
327 |
--progr-tra |
--program-tr |
--program-t)
328 ac_prev
=program_transform_name
;;
329 -program-transform-name=* |
--program-transform-name=* \
330 |
--program-transform-nam=* |
--program-transform-na=* \
331 |
--program-transform-n=* |
--program-transform-=* \
332 |
--program-transform=* |
--program-transfor=* \
333 |
--program-transfo=* |
--program-transf=* \
334 |
--program-trans=* |
--program-tran=* \
335 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
336 program_transform_name
="$ac_optarg" ;;
338 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
339 |
-silent |
--silent |
--silen |
--sile |
--sil)
342 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
344 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
346 sbindir
="$ac_optarg" ;;
348 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
349 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
350 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
352 ac_prev
=sharedstatedir
;;
353 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
354 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
355 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
357 sharedstatedir
="$ac_optarg" ;;
359 -site |
--site |
--sit)
361 -site=* |
--site=* |
--sit=*)
364 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
366 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
367 srcdir
="$ac_optarg" ;;
369 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
370 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
371 ac_prev
=sysconfdir
;;
372 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
373 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
374 sysconfdir
="$ac_optarg" ;;
376 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
378 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
379 target
="$ac_optarg" ;;
381 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
384 -version |
--version |
--versio |
--versi |
--vers)
385 echo "configure generated by autoconf version 2.13"
389 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
390 # Reject names that are not valid shell variable names.
391 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
392 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
394 ac_package
=`echo $ac_package| sed 's/-/_/g'`
399 eval "with_${ac_package}='$ac_optarg'" ;;
401 -without-* |
--without-*)
402 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
403 # Reject names that are not valid shell variable names.
404 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
405 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
407 ac_package
=`echo $ac_package| sed 's/-/_/g'`
408 eval "with_${ac_package}=no" ;;
411 # Obsolete; use --with-x.
414 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
415 |
--x-incl |
--x-inc |
--x-in |
--x-i)
416 ac_prev
=x_includes
;;
417 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
418 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
419 x_includes
="$ac_optarg" ;;
421 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
422 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
423 ac_prev
=x_libraries
;;
424 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
425 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
426 x_libraries
="$ac_optarg" ;;
428 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
432 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
433 echo "configure: warning: $ac_option: invalid host type" 1>&2
435 if test "x$nonopt" != xNONE
; then
436 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
444 if test -n "$ac_prev"; then
445 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
448 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
450 # File descriptor usage:
453 # 2 errors and warnings
454 # 3 some systems may open it to /dev/tty
455 # 4 used on the Kubota Titan
456 # 6 checking for... messages and results
457 # 5 compiler messages saved in config.log
458 if test "$silent" = yes; then
466 This file contains any messages produced by compilers while
467 running configure, to aid debugging if configure makes a mistake.
470 # Strip out --no-create and --no-recursion so they do not pile up.
471 # Also quote any args containing shell metacharacters.
476 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
477 |
--no-cr |
--no-c) ;;
478 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
479 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
480 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
481 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
482 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
487 # Only set these to C if already set. These must not be set unconditionally
488 # because not all systems understand e.g. LANG=C (notably SCO).
489 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
490 # Non-C LC_CTYPE values break the ctype check.
491 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
492 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
493 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
494 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
496 # confdefs.h avoids OS command line length limits that DEFS can exceed.
497 rm -rf conftest
* confdefs.h
498 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
501 # A filename unique to this package, relative to the directory that
502 # configure is in, which we can look for to find out if srcdir is correct.
503 ac_unique_file
=src
/ios.cc
505 # Find the source files, if location was not specified.
506 if test -z "$srcdir"; then
507 ac_srcdir_defaulted
=yes
508 # Try the directory containing this script, then its parent.
510 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
511 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
513 if test ! -r $srcdir/$ac_unique_file; then
517 ac_srcdir_defaulted
=no
519 if test ! -r $srcdir/$ac_unique_file; then
520 if test "$ac_srcdir_defaulted" = yes; then
521 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
523 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
526 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
528 # Prefer explicitly selected file to automatically selected ones.
529 if test -z "$CONFIG_SITE"; then
530 if test "x$prefix" != xNONE
; then
531 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
533 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
536 for ac_site_file
in $CONFIG_SITE; do
537 if test -r "$ac_site_file"; then
538 echo "loading site script $ac_site_file"
543 if test -r "$cache_file"; then
544 echo "loading cache $cache_file"
547 echo "creating cache $cache_file"
552 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
553 ac_cpp
='$CPP $CPPFLAGS'
554 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
555 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
556 cross_compiling
=$ac_cv_prog_cc_cross
560 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
561 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
562 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
569 ac_n
= ac_c
='\c' ac_t
=
574 # When building with srcdir == objdir, links to the source files will
575 # be created in directories within the target_subdir. We have to
576 # adjust toplevel_srcdir accordingly, so that configure finds
577 # install-sh and other auxiliary files that live in the top-level
579 if test "${srcdir}" = "."; then
580 if test -z "${with_target_subdir}"; then
583 if test "${with_target_subdir}" != "."; then
584 toprel
="${with_multisrctop}../.."
586 toprel
="${with_multisrctop}.."
593 for ac_dir
in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
594 if test -f $ac_dir/install-sh
; then
596 ac_install_sh
="$ac_aux_dir/install-sh -c"
598 elif test -f $ac_dir/install.sh
; then
600 ac_install_sh
="$ac_aux_dir/install.sh -c"
604 if test -z "$ac_aux_dir"; then
605 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
607 ac_config_guess=$ac_aux_dir/config.guess
608 ac_config_sub=$ac_aux_dir/config.sub
609 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
611 toplevel_srcdir=\${top_srcdir}/$toprel
616 # Gets and sets build, host, target, *_vendor, *_cpu, *_os, etc.
617 # AC 2.50 sets target_alias iff the user specified --target, but we use it
618 # everywhere, so we set it here just to be sure.
620 # Do some error checking and defaulting for the host and target type.
622 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
625 # 1. You are not allowed to specify --host, --target, and nonopt at the
627 # 2. Host defaults to nonopt.
628 # 3. If nonopt is not specified, then host defaults to the current host,
629 # as determined by config.guess.
630 # 4. Target and build default to nonopt.
631 # 5. If nonopt is not specified, then target and build default to host.
633 # The aliases save the names the user supplied, while $host etc.
634 # will get canonicalized.
635 case $host---$target---$nonopt in
636 NONE---*---* | *---NONE---* | *---*---NONE) ;;
637 *) { echo "configure
: error
: can only configure
for one
host and one target
at a
time" 1>&2; exit 1; } ;;
641 # Make sure we can run config.sub.
642 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
643 else { echo "configure
: error
: can not run
$ac_config_sub" 1>&2; exit 1; }
646 echo $ac_n "checking
host system
type""...
$ac_c" 1>&6
647 echo "configure
:648: checking
host system
type" >&5
650 case "$host_alias" in
654 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
655 else { echo "configure
: error
: can not guess
host type; you must specify one
" 1>&2; exit 1; }
657 *) host_alias=$nonopt ;;
661 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
662 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
663 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
664 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
665 echo "$ac_t""$host" 1>&6
667 echo $ac_n "checking target system
type""...
$ac_c" 1>&6
668 echo "configure
:669: checking target system
type" >&5
671 case "$target_alias" in
674 NONE) target_alias=$host_alias ;;
675 *) target_alias=$nonopt ;;
679 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
680 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
681 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
682 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
683 echo "$ac_t""$target" 1>&6
685 echo $ac_n "checking build system
type""...
$ac_c" 1>&6
686 echo "configure
:687: checking build system
type" >&5
689 case "$build_alias" in
692 NONE) build_alias=$host_alias ;;
693 *) build_alias=$nonopt ;;
697 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
698 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
699 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
700 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
701 echo "$ac_t""$build" 1>&6
703 test "$host_alias" != "$target_alias" &&
704 test "$program_prefix$program_suffix$program_transform_name" = \
706 program_prefix=${target_alias}-
708 target_alias=${target_alias-$target}
711 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.50+, can also
712 # be 'cp -p' if linking isn't available.
713 #ac_cv_prog_LN_S='cp -p'
714 echo $ac_n "checking whether
ln -s works
""...
$ac_c" 1>&6
715 echo "configure
:716: checking whether
ln -s works
" >&5
716 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
717 echo $ac_n "(cached
) $ac_c" 1>&6
720 if ln -s X conftestdata 2>/dev/null
723 ac_cv_prog_LN_S="ln -s"
728 LN_S="$ac_cv_prog_LN_S"
729 if test "$ac_cv_prog_LN_S" = "ln -s"; then
730 echo "$ac_t""yes" 1>&6
732 echo "$ac_t""no
" 1>&6
736 # We use these options to decide which functions to include.
737 # Check whether --with-target-subdir or --without-target-subdir was given.
738 if test "${with_target_subdir+set}" = set; then
739 withval="$with_target_subdir"
743 # Check whether --with-cross-host or --without-cross-host was given.
744 if test "${with_cross_host+set}" = set; then
745 withval="$with_cross_host"
750 # Runs configure.host and configure.target. Have to run this before
751 # the GLIBCPP_ENABLE_* macros below.
752 # Find a good install program. We prefer a C program (faster),
753 # so one script is as good as another. But avoid the broken or
754 # incompatible versions:
755 # SysV /etc/install, /usr/sbin/install
756 # SunOS /usr/etc/install
759 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
760 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
761 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
762 # ./install, which can be erroneously created by make from ./install.sh.
763 echo $ac_n "checking
for a BSD compatible
install""...
$ac_c" 1>&6
764 echo "configure
:765: checking
for a BSD compatible
install" >&5
765 if test -z "$INSTALL"; then
766 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
767 echo $ac_n "(cached
) $ac_c" 1>&6
769 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
770 for ac_dir in $PATH; do
771 # Account for people who put trailing slashes in PATH elements.
773 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
775 # OSF1 and SCO ODT 3.0 have their own names for install.
776 # Don't use installbsd from OSF since it installs stuff as root
778 for ac_prog in ginstall scoinst install; do
779 if test -f $ac_dir/$ac_prog; then
780 if test $ac_prog = install &&
781 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
782 # AIX install. It has an incompatible calling convention.
785 ac_cv_path_install="$ac_dir/$ac_prog -c"
796 if test "${ac_cv_path_install+set}" = set; then
797 INSTALL="$ac_cv_path_install"
799 # As a last resort, use the slow shell script. We don't cache a
800 # path for INSTALL within a source directory, because that will
801 # break other packages using the cache if that directory is
802 # removed, or if the path is relative.
803 INSTALL="$ac_install_sh"
806 echo "$ac_t""$INSTALL" 1>&6
808 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
809 # It thinks the first close brace ends the variable substitution.
810 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
812 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
814 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
816 echo $ac_n "checking whether build environment is sane
""...
$ac_c" 1>&6
817 echo "configure
:818: checking whether build environment is sane
" >&5
820 echo timestamp > conftestfile
821 # Do `set' in a subshell so we don't clobber the current shell's
822 # arguments. Must try -L first in case configure is actually a
823 # symlink; some systems play weird games with the mod time of symlinks
824 # (eg FreeBSD returns the mod time of the symlink's containing
827 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
828 if test "$
*" = "X
"; then
830 set X `ls -t $srcdir/configure conftestfile`
832 if test "$
*" != "X
$srcdir/configure conftestfile
" \
833 && test "$
*" != "X conftestfile
$srcdir/configure
"; then
835 # If neither matched, then we have a broken ls. This can happen
836 # if, for instance, CONFIG_SHELL is bash and it inherits a
837 # broken ls alias from the environment. This has actually
838 # happened. Such a system could not be considered "sane
".
839 { echo "configure
: error
: ls -t appears to fail. Make sure there is not a broken
840 alias in your environment
" 1>&2; exit 1; }
843 test "$2" = conftestfile
849 { echo "configure
: error
: newly created
file is older than distributed files
!
850 Check your system
clock" 1>&2; exit 1; }
853 echo "$ac_t""yes" 1>&6
854 if test "$program_transform_name" = s,x,x,; then
855 program_transform_name=
857 # Double any \ or $. echo might interpret backslashes.
858 cat <<\EOF_SED > conftestsed
859 s,\\,\\\\,g; s,\$,$$,g
861 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
864 test "$program_prefix" != NONE &&
865 program_transform_name="s
,^
,${program_prefix},; $program_transform_name"
866 # Use a double $ so make ignores it.
867 test "$program_suffix" != NONE &&
868 program_transform_name="s
,\$\$
,${program_suffix},; $program_transform_name"
870 # sed with no file args requires a program.
871 test "$program_transform_name" = "" && program_transform_name="s
,x
,x
,"
873 echo $ac_n "checking whether
${MAKE-make} sets \
${MAKE}""...
$ac_c" 1>&6
874 echo "configure
:875: checking whether
${MAKE-make} sets \
${MAKE}" >&5
875 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
876 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
877 echo $ac_n "(cached
) $ac_c" 1>&6
879 cat > conftestmake <<\EOF
881 @echo 'ac_maketemp="${MAKE}"'
883 # GNU make sometimes prints "make[1]: Entering...
", which would confuse us.
884 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
885 if test -n "$ac_maketemp"; then
886 eval ac_cv_prog_make_${ac_make}_set=yes
888 eval ac_cv_prog_make_${ac_make}_set=no
892 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
893 echo "$ac_t""yes" 1>&6
896 echo "$ac_t""no
" 1>&6
897 SET_MAKE="MAKE
=${MAKE-make}"
900 if test $host != $build; then
901 ac_tool_prefix=${host_alias}-
906 echo $ac_n "checking
for Cygwin environment
""...
$ac_c" 1>&6
907 echo "configure
:908: checking
for Cygwin environment
" >&5
908 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
909 echo $ac_n "(cached
) $ac_c" 1>&6
911 cat > conftest.$ac_ext <<EOF
912 #line 913 "configure
"
913 #include "confdefs.h
"
918 #define __CYGWIN__ __CYGWIN32__
923 if { (eval echo configure:924: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
927 echo "configure
: failed program was
:" >&5
928 cat conftest.$ac_ext >&5
936 echo "$ac_t""$ac_cv_cygwin" 1>&6
938 test "$ac_cv_cygwin" = yes && CYGWIN=yes
939 echo $ac_n "checking
for mingw32 environment
""...
$ac_c" 1>&6
940 echo "configure
:941: checking
for mingw32 environment
" >&5
941 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
942 echo $ac_n "(cached
) $ac_c" 1>&6
944 cat > conftest.$ac_ext <<EOF
945 #line 946 "configure
"
946 #include "confdefs.h
"
952 if { (eval echo configure:953: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
956 echo "configure
: failed program was
:" >&5
957 cat conftest.$ac_ext >&5
965 echo "$ac_t""$ac_cv_mingw32" 1>&6
967 test "$ac_cv_mingw32" = yes && MINGW32=yes
969 # Check whether --enable-multilib or --disable-multilib was given.
970 if test "${enable_multilib+set}" = set; then
971 enableval="$enable_multilib"
972 case "${enableval}" in
975 *) { echo "configure
: error
: bad value
${enableval} for multilib option
" 1>&2; exit 1; } ;;
981 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
989 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
990 { echo "configure
: error
: source directory already configured
; run
"make distclean" there first
" 1>&2; exit 1; }
992 cat >> confdefs.h <<EOF
993 #define PACKAGE "$PACKAGE"
996 cat >> confdefs.h <<EOF
997 #define VERSION "$VERSION"
1002 missing_dir=`cd $ac_aux_dir && pwd`
1003 echo $ac_n "checking
for working aclocal
""...
$ac_c" 1>&6
1004 echo "configure
:1005: checking
for working aclocal
" >&5
1005 # Run test in a subshell; some versions of sh will print an error if
1006 # an executable is not found, even if stderr is redirected.
1007 # Redirect stdin to placate older versions of autoconf. Sigh.
1008 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
1010 echo "$ac_t""found
" 1>&6
1012 ACLOCAL="$missing_dir/missing aclocal
"
1013 echo "$ac_t""missing
" 1>&6
1016 echo $ac_n "checking
for working autoconf
""...
$ac_c" 1>&6
1017 echo "configure
:1018: checking
for working autoconf
" >&5
1018 # Run test in a subshell; some versions of sh will print an error if
1019 # an executable is not found, even if stderr is redirected.
1020 # Redirect stdin to placate older versions of autoconf. Sigh.
1021 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1023 echo "$ac_t""found
" 1>&6
1025 AUTOCONF="$missing_dir/missing autoconf
"
1026 echo "$ac_t""missing
" 1>&6
1029 echo $ac_n "checking
for working automake
""...
$ac_c" 1>&6
1030 echo "configure
:1031: checking
for working automake
" >&5
1031 # Run test in a subshell; some versions of sh will print an error if
1032 # an executable is not found, even if stderr is redirected.
1033 # Redirect stdin to placate older versions of autoconf. Sigh.
1034 if (automake --version) < /dev/null > /dev/null 2>&1; then
1036 echo "$ac_t""found
" 1>&6
1038 AUTOMAKE="$missing_dir/missing automake
"
1039 echo "$ac_t""missing
" 1>&6
1042 echo $ac_n "checking
for working autoheader
""...
$ac_c" 1>&6
1043 echo "configure
:1044: checking
for working autoheader
" >&5
1044 # Run test in a subshell; some versions of sh will print an error if
1045 # an executable is not found, even if stderr is redirected.
1046 # Redirect stdin to placate older versions of autoconf. Sigh.
1047 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1048 AUTOHEADER=autoheader
1049 echo "$ac_t""found
" 1>&6
1051 AUTOHEADER="$missing_dir/missing autoheader
"
1052 echo "$ac_t""missing
" 1>&6
1055 echo $ac_n "checking
for working makeinfo
""...
$ac_c" 1>&6
1056 echo "configure
:1057: checking
for working makeinfo
" >&5
1057 # Run test in a subshell; some versions of sh will print an error if
1058 # an executable is not found, even if stderr is redirected.
1059 # Redirect stdin to placate older versions of autoconf. Sigh.
1060 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1062 echo "$ac_t""found
" 1>&6
1064 MAKEINFO="$missing_dir/missing makeinfo
"
1065 echo "$ac_t""missing
" 1>&6
1070 # Never versions of autoconf add an underscore to these functions.
1071 # Prevent future problems ...
1079 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1080 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1081 # are probably using a cross compiler, which will not be able to fully
1082 # link an executable. This should really be fixed in autoconf
1088 # Extract the first word of "gcc
", so it can be a program name with args.
1089 set dummy gcc; ac_word=$2
1090 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1091 echo "configure
:1092: checking
for $ac_word" >&5
1092 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1093 echo $ac_n "(cached
) $ac_c" 1>&6
1095 if test -n "$CC"; then
1096 ac_cv_prog_CC="$CC" # Let the user override the test.
1098 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1100 for ac_dir in $ac_dummy; do
1101 test -z "$ac_dir" && ac_dir=.
1102 if test -f $ac_dir/$ac_word; then
1111 if test -n "$CC"; then
1112 echo "$ac_t""$CC" 1>&6
1114 echo "$ac_t""no
" 1>&6
1117 if test -z "$CC"; then
1118 # Extract the first word of "cc
", so it can be a program name with args.
1119 set dummy cc; ac_word=$2
1120 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1121 echo "configure
:1122: checking
for $ac_word" >&5
1122 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1123 echo $ac_n "(cached
) $ac_c" 1>&6
1125 if test -n "$CC"; then
1126 ac_cv_prog_CC="$CC" # Let the user override the test.
1128 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1131 for ac_dir in $ac_dummy; do
1132 test -z "$ac_dir" && ac_dir=.
1133 if test -f $ac_dir/$ac_word; then
1134 if test "$ac_dir/$ac_word" = "/usr
/ucb
/cc
"; then
1135 ac_prog_rejected=yes
1143 if test $ac_prog_rejected = yes; then
1144 # We found a bogon in the path, so make sure we never use it.
1145 set dummy $ac_cv_prog_CC
1147 if test $# -gt 0; then
1148 # We chose a different compiler from the bogus one.
1149 # However, it has the same basename, so the bogon will be chosen
1150 # first if we set CC to just the basename; use the full file name.
1152 set dummy "$ac_dir/$ac_word" "$@
"
1160 if test -n "$CC"; then
1161 echo "$ac_t""$CC" 1>&6
1163 echo "$ac_t""no
" 1>&6
1166 test -z "$CC" && { echo "configure
: error
: no acceptable cc found
in \
$PATH" 1>&2; exit 1; }
1169 echo $ac_n "checking whether we are using GNU C
""...
$ac_c" 1>&6
1170 echo "configure
:1171: checking whether we are using GNU C
" >&5
1171 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1172 echo $ac_n "(cached
) $ac_c" 1>&6
1174 cat > conftest.c <<EOF
1179 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1180: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1186 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1188 if test $ac_cv_prog_gcc = yes; then
1190 ac_test_CFLAGS="${CFLAGS+set}"
1191 ac_save_CFLAGS="$CFLAGS"
1193 echo $ac_n "checking whether
${CC-cc} accepts
-g""...
$ac_c" 1>&6
1194 echo "configure
:1195: checking whether
${CC-cc} accepts
-g" >&5
1195 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1196 echo $ac_n "(cached
) $ac_c" 1>&6
1198 echo 'void f(){}' > conftest.c
1199 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1208 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1209 if test "$ac_test_CFLAGS" = set; then
1210 CFLAGS="$ac_save_CFLAGS"
1211 elif test $ac_cv_prog_cc_g = yes; then
1218 test "${CFLAGS+set}" = set || CFLAGS="-g"
1222 # Can't just call these here as g++ requires libstc++ to be built....
1225 # Likewise for AC_PROG_CXX.
1229 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1230 # flags that come in CXX while configuring libstdc++. They're different
1231 # from those used for all other target libraries. If CXX is set in
1232 # the environment, respect that here.
1234 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1236 # Extract the first word of "$ac_prog", so it can be a program name with args.
1237 set dummy $ac_prog; ac_word=$2
1238 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1239 echo "configure
:1240: checking
for $ac_word" >&5
1240 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1241 echo $ac_n "(cached
) $ac_c" 1>&6
1243 if test -n "$glibcpp_CXX"; then
1244 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1246 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1248 for ac_dir in $ac_dummy; do
1249 test -z "$ac_dir" && ac_dir=.
1250 if test -f $ac_dir/$ac_word; then
1251 ac_cv_prog_glibcpp_CXX="$ac_prog"
1258 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1259 if test -n "$glibcpp_CXX"; then
1260 echo "$ac_t""$glibcpp_CXX" 1>&6
1262 echo "$ac_t""no
" 1>&6
1265 test -n "$glibcpp_CXX" && break
1267 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc
"
1271 test -z "$glibcpp_CXX" && { echo "configure
: error
: no acceptable c
++ found
in \
$PATH" 1>&2; exit 1; }
1273 echo $ac_n "checking whether we are using GNU C
++""...
$ac_c" 1>&6
1274 echo "configure
:1275: checking whether we are using GNU C
++" >&5
1275 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1276 echo $ac_n "(cached
) $ac_c" 1>&6
1278 cat > conftest.C <<EOF
1283 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1284: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1290 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1292 if test $ac_cv_prog_gxx = yes; then
1294 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1295 ac_save_CXXFLAGS="$CXXFLAGS"
1297 echo $ac_n "checking whether
${CXX-g++} accepts
-g""...
$ac_c" 1>&6
1298 echo "configure
:1299: checking whether
${CXX-g++} accepts
-g" >&5
1299 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1300 echo $ac_n "(cached
) $ac_c" 1>&6
1302 echo 'void f(){}' > conftest.cc
1303 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1304 ac_cv_prog_cxx_g=yes
1312 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1313 if test "$ac_test_CXXFLAGS" = set; then
1314 CXXFLAGS="$ac_save_CXXFLAGS"
1315 elif test $ac_cv_prog_cxx_g = yes; then
1322 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1326 # Extract the first word of "${ac_tool_prefix}as
", so it can be a program name with args.
1327 set dummy ${ac_tool_prefix}as; ac_word=$2
1328 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1329 echo "configure
:1330: checking
for $ac_word" >&5
1330 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1331 echo $ac_n "(cached
) $ac_c" 1>&6
1333 if test -n "$AS"; then
1334 ac_cv_prog_AS="$AS" # Let the user override the test.
1336 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1338 for ac_dir in $ac_dummy; do
1339 test -z "$ac_dir" && ac_dir=.
1340 if test -f $ac_dir/$ac_word; then
1341 ac_cv_prog_AS="${ac_tool_prefix}as
"
1346 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as
"
1350 if test -n "$AS"; then
1351 echo "$ac_t""$AS" 1>&6
1353 echo "$ac_t""no
" 1>&6
1358 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1359 set dummy ${ac_tool_prefix}ar; ac_word=$2
1360 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1361 echo "configure
:1362: checking
for $ac_word" >&5
1362 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1363 echo $ac_n "(cached
) $ac_c" 1>&6
1365 if test -n "$AR"; then
1366 ac_cv_prog_AR="$AR" # Let the user override the test.
1368 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1370 for ac_dir in $ac_dummy; do
1371 test -z "$ac_dir" && ac_dir=.
1372 if test -f $ac_dir/$ac_word; then
1373 ac_cv_prog_AR="${ac_tool_prefix}ar"
1378 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1382 if test -n "$AR"; then
1383 echo "$ac_t""$AR" 1>&6
1385 echo "$ac_t""no
" 1>&6
1390 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
1391 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1392 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1393 echo "configure
:1394: checking
for $ac_word" >&5
1394 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1395 echo $ac_n "(cached
) $ac_c" 1>&6
1397 if test -n "$RANLIB"; then
1398 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1400 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1402 for ac_dir in $ac_dummy; do
1403 test -z "$ac_dir" && ac_dir=.
1404 if test -f $ac_dir/$ac_word; then
1405 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
1412 RANLIB="$ac_cv_prog_RANLIB"
1413 if test -n "$RANLIB"; then
1414 echo "$ac_t""$RANLIB" 1>&6
1416 echo "$ac_t""no
" 1>&6
1420 if test -z "$ac_cv_prog_RANLIB"; then
1421 if test -n "$ac_tool_prefix"; then
1422 # Extract the first word of "ranlib
", so it can be a program name with args.
1423 set dummy ranlib; ac_word=$2
1424 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1425 echo "configure
:1426: checking
for $ac_word" >&5
1426 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1427 echo $ac_n "(cached
) $ac_c" 1>&6
1429 if test -n "$RANLIB"; then
1430 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1432 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1434 for ac_dir in $ac_dummy; do
1435 test -z "$ac_dir" && ac_dir=.
1436 if test -f $ac_dir/$ac_word; then
1437 ac_cv_prog_RANLIB="ranlib
"
1442 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error
"
1445 RANLIB="$ac_cv_prog_RANLIB"
1446 if test -n "$RANLIB"; then
1447 echo "$ac_t""$RANLIB" 1>&6
1449 echo "$ac_t""no
" 1>&6
1453 RANLIB="ranlib-not-found-in-path-error
"
1457 # Find a good install program. We prefer a C program (faster),
1458 # so one script is as good as another. But avoid the broken or
1459 # incompatible versions:
1460 # SysV /etc/install, /usr/sbin/install
1461 # SunOS /usr/etc/install
1462 # IRIX /sbin/install
1464 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1465 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1466 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
1467 # ./install, which can be erroneously created by make from ./install.sh.
1468 echo $ac_n "checking
for a BSD compatible
install""...
$ac_c" 1>&6
1469 echo "configure
:1470: checking
for a BSD compatible
install" >&5
1470 if test -z "$INSTALL"; then
1471 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1472 echo $ac_n "(cached
) $ac_c" 1>&6
1474 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1475 for ac_dir in $PATH; do
1476 # Account for people who put trailing slashes in PATH elements.
1478 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1480 # OSF1 and SCO ODT 3.0 have their own names for install.
1481 # Don't use installbsd from OSF since it installs stuff as root
1483 for ac_prog in ginstall scoinst install; do
1484 if test -f $ac_dir/$ac_prog; then
1485 if test $ac_prog = install &&
1486 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1487 # AIX install. It has an incompatible calling convention.
1490 ac_cv_path_install="$ac_dir/$ac_prog -c"
1501 if test "${ac_cv_path_install+set}" = set; then
1502 INSTALL="$ac_cv_path_install"
1504 # As a last resort, use the slow shell script. We don't cache a
1505 # path for INSTALL within a source directory, because that will
1506 # break other packages using the cache if that directory is
1507 # removed, or if the path is relative.
1508 INSTALL="$ac_install_sh"
1511 echo "$ac_t""$INSTALL" 1>&6
1513 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1514 # It thinks the first close brace ends the variable substitution.
1515 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1517 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1519 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1522 echo $ac_n "checking whether to
enable maintainer-specific portions of Makefiles
""...
$ac_c" 1>&6
1523 echo "configure
:1524: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
1524 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1525 if test "${enable_maintainer_mode+set}" = set; then
1526 enableval="$enable_maintainer_mode"
1527 USE_MAINTAINER_MODE=$enableval
1529 USE_MAINTAINER_MODE=no
1532 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1535 if test $USE_MAINTAINER_MODE = yes; then
1536 MAINTAINER_MODE_TRUE=
1537 MAINTAINER_MODE_FALSE='#'
1539 MAINTAINER_MODE_TRUE='#'
1540 MAINTAINER_MODE_FALSE=
1542 MAINT=$MAINTAINER_MODE_TRUE
1546 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1547 # at least currently, we never actually build a program, so we never
1548 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1549 # fails, because we are probably configuring with a cross compiler
1550 # which cant create executables. So we include AC_EXEEXT to keep
1551 # automake happy, but we dont execute it, since we dont care about
1554 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1555 # to nothing, so nothing would remain between `then' and `fi' if it
1556 # were not for the `:' below.
1560 echo $ac_n "checking
for executable suffix
""...
$ac_c" 1>&6
1561 echo "configure
:1562: checking
for executable suffix
" >&5
1562 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1563 echo $ac_n "(cached
) $ac_c" 1>&6
1565 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1569 echo 'int main () { return 0; }' > conftest.$ac_ext
1571 if { (eval echo configure:1572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1572 for file in conftest.*; do
1574 *.c | *.o | *.obj) ;;
1575 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1579 { echo "configure
: error
: installation or configuration problem
: compiler cannot create executables.
" 1>&2; exit 1; }
1582 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1587 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1588 echo "$ac_t""${ac_cv_exeext}" 1>&6
1593 . ${glibcpp_basedir}/configure.host
1595 case ${glibcpp_basedir} in
1596 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1597 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1600 # This does for the target what configure.host does for the host. In
1601 # addition to possibly modifying the same flags, it also sets up symlinks.
1603 . ${glibcpp_basedir}/configure.target
1604 echo "$ac_t""CPU config directory is
$cpu_include_dir" 1>&6
1605 echo "$ac_t""OS config directory is
$os_include_dir" 1>&6
1610 # Check whether --enable-shared or --disable-shared was given.
1611 if test "${enable_shared+set}" = set; then
1612 enableval="$enable_shared"
1613 p=${PACKAGE-default}
1615 yes) enable_shared=yes ;;
1616 no) enable_shared=no ;;
1619 # Look at the argument we got. We use all the common list separators.
1620 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1621 for pkg in $enableval; do
1622 if test "X
$pkg" = "X
$p"; then
1633 # Check whether --enable-static or --disable-static was given.
1634 if test "${enable_static+set}" = set; then
1635 enableval="$enable_static"
1636 p=${PACKAGE-default}
1638 yes) enable_static=yes ;;
1639 no) enable_static=no ;;
1642 # Look at the argument we got. We use all the common list separators.
1643 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1644 for pkg in $enableval; do
1645 if test "X
$pkg" = "X
$p"; then
1656 # Check whether --enable-fast-install or --disable-fast-install was given.
1657 if test "${enable_fast_install+set}" = set; then
1658 enableval="$enable_fast_install"
1659 p=${PACKAGE-default}
1661 yes) enable_fast_install=yes ;;
1662 no) enable_fast_install=no ;;
1664 enable_fast_install=no
1665 # Look at the argument we got. We use all the common list separators.
1666 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1667 for pkg in $enableval; do
1668 if test "X
$pkg" = "X
$p"; then
1669 enable_fast_install=yes
1676 enable_fast_install=yes
1679 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1680 if test "${with_gnu_ld+set}" = set; then
1681 withval="$with_gnu_ld"
1682 test "$withval" = no || with_gnu_ld=yes
1688 if test "$GCC" = yes; then
1689 # Check if gcc -print-prog-name=ld gives a path.
1690 echo $ac_n "checking
for ld used by GCC
""...
$ac_c" 1>&6
1691 echo "configure
:1692: checking
for ld used by GCC
" >&5
1694 # gcc leaves a trailing carriage return which upsets mingw
1695 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1697 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1700 # Accept absolute paths.
1701 [\\/]* | [A-Za-z]:[\\/]*)
1702 re_direlt='/[^/][^/]*/\.\./'
1703 # Canonicalize the path of ld
1704 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1705 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1706 ac_prog=`echo $ac_prog| sed "s
%$re_direlt%/%"`
1708 test -z "$LD" && LD="$ac_prog"
1711 # If it fails, then pretend we aren't using GCC.
1715 # If it is relative, then search for the first ld in PATH.
1719 elif test "$with_gnu_ld" = yes; then
1720 echo $ac_n "checking
for GNU ld
""...
$ac_c" 1>&6
1721 echo "configure
:1722: checking
for GNU ld
" >&5
1723 echo $ac_n "checking
for non-GNU ld
""...
$ac_c" 1>&6
1724 echo "configure
:1725: checking
for non-GNU ld
" >&5
1726 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1727 echo $ac_n "(cached
) $ac_c" 1>&6
1729 if test -z "$LD"; then
1730 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1731 for ac_dir in $PATH; do
1732 test -z "$ac_dir" && ac_dir=.
1733 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1734 lt_cv_path_LD="$ac_dir/$ac_prog"
1735 # Check to see if the program is GNU ld. I'd rather use --version,
1736 # but apparently some GNU ld's only accept -v.
1737 # Break only if it was the GNU/non-GNU ld that we prefer.
1738 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1739 test "$with_gnu_ld" != no && break
1741 test "$with_gnu_ld" != yes && break
1747 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1752 if test -n "$LD"; then
1753 echo "$ac_t""$LD" 1>&6
1755 echo "$ac_t""no
" 1>&6
1757 test -z "$LD" && { echo "configure
: error
: no acceptable ld found
in \
$PATH" 1>&2; exit 1; }
1758 echo $ac_n "checking
if the linker
($LD) is GNU ld
""...
$ac_c" 1>&6
1759 echo "configure
:1760: checking
if the linker
($LD) is GNU ld
" >&5
1760 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1761 echo $ac_n "(cached
) $ac_c" 1>&6
1763 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1764 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1765 lt_cv_prog_gnu_ld=yes
1767 lt_cv_prog_gnu_ld=no
1771 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1772 with_gnu_ld=$lt_cv_prog_gnu_ld
1775 echo $ac_n "checking
for $LD option to reload object files
""...
$ac_c" 1>&6
1776 echo "configure
:1777: checking
for $LD option to reload object files
" >&5
1777 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1778 echo $ac_n "(cached
) $ac_c" 1>&6
1780 lt_cv_ld_reload_flag='-r'
1783 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1784 reload_flag=$lt_cv_ld_reload_flag
1785 test -n "$reload_flag" && reload_flag=" $reload_flag"
1787 echo $ac_n "checking
for BSD-compatible nm
""...
$ac_c" 1>&6
1788 echo "configure
:1789: checking
for BSD-compatible nm
" >&5
1789 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1790 echo $ac_n "(cached
) $ac_c" 1>&6
1792 if test -n "$NM"; then
1793 # Let the user override the test.
1796 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1797 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1798 test -z "$ac_dir" && ac_dir=.
1799 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1800 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1801 # Check to see if the nm accepts a BSD-compat flag.
1802 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1803 # nm: unknown option "B
" ignored
1804 # Tru64's nm complains that /dev/null is an invalid object file
1805 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1806 lt_cv_path_NM="$tmp_nm -B"
1808 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1809 lt_cv_path_NM="$tmp_nm -p"
1812 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1813 continue # so that we can try to find one that supports BSD flags
1818 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1823 echo "$ac_t""$NM" 1>&6
1825 echo $ac_n "checking how to recognise dependant libraries
""...
$ac_c" 1>&6
1826 echo "configure
:1827: checking how to recognise dependant libraries
" >&5
1827 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1828 echo $ac_n "(cached
) $ac_c" 1>&6
1830 lt_cv_file_magic_cmd='$MAGIC_CMD'
1831 lt_cv_file_magic_test_file=
1832 lt_cv_deplibs_check_method='unknown'
1833 # Need to set the preceding variable on all platforms that support
1834 # interlibrary dependencies.
1835 # 'none' -- dependencies not supported.
1836 # `unknown' -- same as none, but documents that we really don't know.
1837 # 'pass_all' -- all dependencies passed with no checks.
1838 # 'test_compile' -- check by making test program.
1839 # 'file_magic [regex]' -- check by looking for files in library path
1840 # which responds to the $file_magic_cmd with a given egrep regex.
1841 # If you have `file' or equivalent on your system and you're not sure
1842 # whether `pass_all' will *always* work, you probably want this one.
1846 lt_cv_deplibs_check_method=pass_all
1850 lt_cv_deplibs_check_method=pass_all
1854 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1855 lt_cv_file_magic_cmd='/usr/bin/file -L'
1856 lt_cv_file_magic_test_file=/shlib/libc.so
1859 cygwin* | mingw* |pw32*)
1860 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1861 lt_cv_file_magic_cmd='$OBJDUMP -f'
1864 darwin* | rhapsody*)
1865 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1866 lt_cv_file_magic_cmd='/usr/bin/file -L'
1868 rhapsody* | darwin1.012)
1869 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1872 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1878 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1881 # Not sure whether the presence of OpenBSD here was a mistake.
1882 # Let's accept both of them until this is cleared up.
1883 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1884 lt_cv_file_magic_cmd=/usr/bin/file
1885 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1889 lt_cv_deplibs_check_method=pass_all
1894 lt_cv_deplibs_check_method=pass_all
1898 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1899 lt_cv_file_magic_cmd=/usr/bin/file
1900 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1906 # this will be overridden with pass_all, but let us keep it just in case
1907 lt_cv_deplibs_check_method="file_magic ELF
32-bit MSB dynamic lib MIPS
- version
1"
1911 *-32|*"-32 ") libmagic=32-bit;;
1912 *-n32|*"-n32 ") libmagic=N32;;
1913 *-64|*"-64 ") libmagic=64-bit;;
1914 *) libmagic=never-match;;
1916 # this will be overridden with pass_all, but let us keep it just in case
1917 lt_cv_deplibs_check_method="file_magic ELF
${libmagic} MSB mips-
[1234] dynamic lib MIPS
- version
1"
1920 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1921 lt_cv_deplibs_check_method=pass_all
1924 # This must be Linux ELF.
1927 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
1928 lt_cv_deplibs_check_method=pass_all ;;
1930 # glibc up to 2.1.1 does not perform some relocations on ARM
1931 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
1933 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
1937 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1938 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
1940 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
1945 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
1946 lt_cv_file_magic_cmd=/usr/bin/file
1947 lt_cv_file_magic_test_file=/usr/lib/libnls.so
1950 osf3* | osf4* | osf5*)
1951 # this will be overridden with pass_all, but let us keep it just in case
1952 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
1953 lt_cv_file_magic_test_file=/shlib/libc.so
1954 lt_cv_deplibs_check_method=pass_all
1958 lt_cv_deplibs_check_method=pass_all
1962 lt_cv_deplibs_check_method=pass_all
1963 lt_cv_file_magic_test_file=/lib/libc.so
1966 sysv5uw[78]* | sysv4*uw2*)
1967 lt_cv_deplibs_check_method=pass_all
1970 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1971 case $host_vendor in
1973 lt_cv_deplibs_check_method=pass_all
1976 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]'
1977 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1985 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
1986 file_magic_cmd=$lt_cv_file_magic_cmd
1987 deplibs_check_method=$lt_cv_deplibs_check_method
1989 echo $ac_n "checking
for object suffix
""...
$ac_c" 1>&6
1990 echo "configure
:1991: checking
for object suffix
" >&5
1991 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
1992 echo $ac_n "(cached
) $ac_c" 1>&6
1995 echo 'int i = 1;' > conftest.$ac_ext
1996 if { (eval echo configure:1997: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1997 for ac_file in conftest.*; do
2000 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2004 { echo "configure
: error
: installation or configuration problem
; compiler does not work
" 1>&2; exit 1; }
2009 echo "$ac_t""$ac_cv_objext" 1>&6
2010 OBJEXT=$ac_cv_objext
2011 ac_objext=$ac_cv_objext
2013 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2015 # Only perform the check for file, if the check method requires it
2016 case $deplibs_check_method in
2018 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2019 echo $ac_n "checking
for ${ac_tool_prefix}file""...
$ac_c" 1>&6
2020 echo "configure
:2021: checking
for ${ac_tool_prefix}file" >&5
2021 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2022 echo $ac_n "(cached
) $ac_c" 1>&6
2026 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2029 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2032 ac_save_MAGIC_CMD="$MAGIC_CMD"
2033 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2034 ac_dummy="/usr
/bin
:$PATH"
2035 for ac_dir in $ac_dummy; do
2036 test -z "$ac_dir" && ac_dir=.
2037 if test -f $ac_dir/${ac_tool_prefix}file; then
2038 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2039 if test -n "$file_magic_test_file"; then
2040 case $deplibs_check_method in
2042 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2043 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2044 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2045 egrep "$file_magic_regex" > /dev/null; then
2050 *** Warning: the command libtool uses to detect shared libraries,
2051 *** $file_magic_cmd, produces output that libtool cannot recognize.
2052 *** The result is that libtool may fail to recognize shared libraries
2053 *** as such. This will affect the creation of libtool libraries that
2054 *** depend on shared libraries, but programs linked with such libtool
2055 *** libraries will work regardless of this problem. Nevertheless, you
2056 *** may want to report the problem to your system manager and/or to
2057 *** bug-libtool@gnu.org
2067 MAGIC_CMD="$ac_save_MAGIC_CMD"
2072 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2073 if test -n "$MAGIC_CMD"; then
2074 echo "$ac_t""$MAGIC_CMD" 1>&6
2076 echo "$ac_t""no
" 1>&6
2079 if test -z "$lt_cv_path_MAGIC_CMD"; then
2080 if test -n "$ac_tool_prefix"; then
2081 echo $ac_n "checking
for file""...
$ac_c" 1>&6
2082 echo "configure
:2083: checking
for file" >&5
2083 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2084 echo $ac_n "(cached
) $ac_c" 1>&6
2088 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2091 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2094 ac_save_MAGIC_CMD="$MAGIC_CMD"
2095 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2096 ac_dummy="/usr
/bin
:$PATH"
2097 for ac_dir in $ac_dummy; do
2098 test -z "$ac_dir" && ac_dir=.
2099 if test -f $ac_dir/file; then
2100 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2101 if test -n "$file_magic_test_file"; then
2102 case $deplibs_check_method in
2104 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2105 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2106 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2107 egrep "$file_magic_regex" > /dev/null; then
2112 *** Warning: the command libtool uses to detect shared libraries,
2113 *** $file_magic_cmd, produces output that libtool cannot recognize.
2114 *** The result is that libtool may fail to recognize shared libraries
2115 *** as such. This will affect the creation of libtool libraries that
2116 *** depend on shared libraries, but programs linked with such libtool
2117 *** libraries will work regardless of this problem. Nevertheless, you
2118 *** may want to report the problem to your system manager and/or to
2119 *** bug-libtool@gnu.org
2129 MAGIC_CMD="$ac_save_MAGIC_CMD"
2134 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2135 if test -n "$MAGIC_CMD"; then
2136 echo "$ac_t""$MAGIC_CMD" 1>&6
2138 echo "$ac_t""no
" 1>&6
2150 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
2151 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2152 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2153 echo "configure
:2154: checking
for $ac_word" >&5
2154 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2155 echo $ac_n "(cached
) $ac_c" 1>&6
2157 if test -n "$RANLIB"; then
2158 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2160 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2162 for ac_dir in $ac_dummy; do
2163 test -z "$ac_dir" && ac_dir=.
2164 if test -f $ac_dir/$ac_word; then
2165 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
2172 RANLIB="$ac_cv_prog_RANLIB"
2173 if test -n "$RANLIB"; then
2174 echo "$ac_t""$RANLIB" 1>&6
2176 echo "$ac_t""no
" 1>&6
2180 if test -z "$ac_cv_prog_RANLIB"; then
2181 if test -n "$ac_tool_prefix"; then
2182 # Extract the first word of "ranlib
", so it can be a program name with args.
2183 set dummy ranlib; ac_word=$2
2184 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2185 echo "configure
:2186: checking
for $ac_word" >&5
2186 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2187 echo $ac_n "(cached
) $ac_c" 1>&6
2189 if test -n "$RANLIB"; then
2190 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2192 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2194 for ac_dir in $ac_dummy; do
2195 test -z "$ac_dir" && ac_dir=.
2196 if test -f $ac_dir/$ac_word; then
2197 ac_cv_prog_RANLIB="ranlib
"
2202 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2205 RANLIB="$ac_cv_prog_RANLIB"
2206 if test -n "$RANLIB"; then
2207 echo "$ac_t""$RANLIB" 1>&6
2209 echo "$ac_t""no
" 1>&6
2217 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
2218 set dummy ${ac_tool_prefix}strip; ac_word=$2
2219 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2220 echo "configure
:2221: checking
for $ac_word" >&5
2221 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2222 echo $ac_n "(cached
) $ac_c" 1>&6
2224 if test -n "$STRIP"; then
2225 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2227 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2229 for ac_dir in $ac_dummy; do
2230 test -z "$ac_dir" && ac_dir=.
2231 if test -f $ac_dir/$ac_word; then
2232 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
2239 STRIP="$ac_cv_prog_STRIP"
2240 if test -n "$STRIP"; then
2241 echo "$ac_t""$STRIP" 1>&6
2243 echo "$ac_t""no
" 1>&6
2247 if test -z "$ac_cv_prog_STRIP"; then
2248 if test -n "$ac_tool_prefix"; then
2249 # Extract the first word of "strip
", so it can be a program name with args.
2250 set dummy strip; ac_word=$2
2251 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2252 echo "configure
:2253: checking
for $ac_word" >&5
2253 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2254 echo $ac_n "(cached
) $ac_c" 1>&6
2256 if test -n "$STRIP"; then
2257 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2259 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2261 for ac_dir in $ac_dummy; do
2262 test -z "$ac_dir" && ac_dir=.
2263 if test -f $ac_dir/$ac_word; then
2264 ac_cv_prog_STRIP="strip
"
2269 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2272 STRIP="$ac_cv_prog_STRIP"
2273 if test -n "$STRIP"; then
2274 echo "$ac_t""$STRIP" 1>&6
2276 echo "$ac_t""no
" 1>&6
2285 # Check for any special flags to pass to ltconfig.
2286 libtool_flags="--cache-file=$cache_file"
2287 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2288 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2289 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2290 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2291 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2292 libtool_flags="$libtool_flags --enable-dlopen"
2294 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2295 if test "${enable_libtool_lock+set}" = set; then
2296 enableval="$enable_libtool_lock"
2300 test "x
$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2301 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2303 # Check whether --with-pic or --without-pic was given.
2304 if test "${with_pic+set}" = set; then
2311 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2312 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2314 # Some flags need to be propagated to the compiler or linker for good
2318 # Find out which ABI we are using.
2319 echo '#line 2320 "configure
"' > conftest.$ac_ext
2320 if { (eval echo configure:2321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2321 case `/usr/bin/file conftest.$ac_objext` in
2337 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2338 SAVE_CFLAGS="$CFLAGS"
2339 CFLAGS="$CFLAGS -belf"
2340 echo $ac_n "checking whether the C compiler needs
-belf""...
$ac_c" 1>&6
2341 echo "configure
:2342: checking whether the C compiler needs
-belf" >&5
2342 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2343 echo $ac_n "(cached
) $ac_c" 1>&6
2347 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2348 ac_cpp='$CPP $CPPFLAGS'
2349 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2350 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2351 cross_compiling=$ac_cv_prog_cc_cross
2353 cat > conftest.$ac_ext <<EOF
2354 #line 2355 "configure
"
2355 #include "confdefs.h
"
2361 if { (eval echo configure:2362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2363 lt_cv_cc_needs_belf=yes
2365 echo "configure
: failed program was
:" >&5
2366 cat conftest.$ac_ext >&5
2368 lt_cv_cc_needs_belf=no
2372 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2373 ac_cpp='$CPP $CPPFLAGS'
2374 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2375 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2376 cross_compiling=$ac_cv_prog_cc_cross
2380 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2381 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2382 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2383 CFLAGS="$SAVE_CFLAGS"
2390 echo $ac_n "checking how to run the C
++ preprocessor
""...
$ac_c" 1>&6
2391 echo "configure
:2392: checking how to run the C
++ preprocessor
" >&5
2392 if test -z "$CXXCPP"; then
2393 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2394 echo $ac_n "(cached
) $ac_c" 1>&6
2397 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2398 ac_cpp='$CXXCPP $CPPFLAGS'
2399 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2400 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2401 cross_compiling=$ac_cv_prog_cxx_cross
2402 CXXCPP="${CXX-g++} -E"
2403 cat > conftest.$ac_ext <<EOF
2404 #line 2405 "configure
"
2405 #include "confdefs.h
"
2408 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2409 { (eval echo configure:2410: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2410 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2411 if test -z "$ac_err"; then
2415 echo "configure
: failed program was
:" >&5
2416 cat conftest.$ac_ext >&5
2421 ac_cv_prog_CXXCPP="$CXXCPP"
2423 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2424 ac_cpp='$CPP $CPPFLAGS'
2425 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2426 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2427 cross_compiling=$ac_cv_prog_cc_cross
2430 CXXCPP="$ac_cv_prog_CXXCPP"
2431 echo "$ac_t""$CXXCPP" 1>&6
2434 # Save cache, so that ltconfig can load it
2435 cat > confcache <<\EOF
2436 # This file is a shell script that caches the results of configure
2437 # tests run on this system so they can be shared between configure
2438 # scripts and configure runs. It is not useful on other systems.
2439 # If it contains results you don't want to keep, you may remove or edit it.
2441 # By default, configure uses ./config.cache as the cache file,
2442 # creating it if it does not exist already. You can give configure
2443 # the --cache-file=FILE option to use a different cache file; that is
2444 # what configure does when it calls configure scripts in
2445 # subdirectories, so they share the cache.
2446 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2447 # config.status only pays attention to the cache file if you give it the
2448 # --recheck option to rerun configure.
2451 # The following way of writing the cache mishandles newlines in values,
2452 # but we know of no workaround that is simple, portable, and efficient.
2453 # So, don't put newlines in cache variables' values.
2454 # Ultrix sh set writes to stderr and can't be redirected directly,
2455 # and sets the high bit in the cache file unless we assign to the vars.
2457 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2459 # `set' does not quote correctly, so add quotes (double-quote substitution
2460 # turns \\\\ into \\, and sed turns \\ into \).
2462 -e "s
/'/'\\\\''/g
" \
2463 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
2466 # `set' quotes correctly as required by POSIX, so do not add quotes.
2467 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2470 if cmp -s $cache_file confcache; then
2473 if test -w $cache_file; then
2474 echo "updating cache
$cache_file"
2475 cat confcache > $cache_file
2477 echo "not updating unwritable cache
$cache_file"
2483 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2484 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2485 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2486 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2487 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2488 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2489 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2490 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2491 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2492 || { echo "configure
: error
: libtool configure failed
" 1>&2; exit 1; }
2494 # Reload cache, that may have been modified by ltconfig
2495 if test -r "$cache_file"; then
2496 echo "loading cache
$cache_file"
2499 echo "creating cache
$cache_file"
2504 # This can be used to rebuild libtool when needed
2505 LIBTOOL_DEPS="$ac_aux_dir/ltconfig
$ac_aux_dir/ltmain.sh
$ac_aux_dir/ltcf-c.sh
"
2507 # Always use our own libtool.
2508 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2510 # Redirect the config.log output again, so that the ltconfig log is not
2511 # clobbered by the next message.
2512 exec 5>>./config.log
2516 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh
"
2518 lt_save_CFLAGS="$CFLAGS"
2519 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2520 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2521 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2522 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2523 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2524 deplibs_check_method="$deplibs_check_method" \
2525 file_magic_cmd="$file_magic_cmd" \
2526 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2527 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2528 || { echo "configure
: error
: libtool tag configuration failed
" 1>&2; exit 1; }
2530 CFLAGS="$lt_save_CFLAGS"
2532 # Redirect the config.log output again, so that the ltconfig log is not
2533 # clobbered by the next message.
2534 exec 5>>./config.log
2543 echo $ac_n "checking
for GNU
make""...
$ac_c" 1>&6
2544 echo "configure
:2545: checking
for GNU
make" >&5
2545 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2546 echo $ac_n "(cached
) $ac_c" 1>&6
2548 _cv_gnu_make_command='' ;
2549 for a in "${MAKE-make}" make gmake gnumake ; do
2550 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2552 _cv_gnu_make_command=$a ;
2559 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2560 if test "x
$_cv_gnu_make_command" != "x
" ; then
2572 # Check for c++ or library specific bits that don't require linking.
2574 if test ! -f stamp-sanity-compiler; then
2575 echo $ac_n "checking
for g
++ that will successfully compile libstdc
++-v3""...
$ac_c" 1>&6
2576 echo "configure
:2577: checking
for g
++ that will successfully compile libstdc
++-v3" >&5
2579 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2580 ac_cpp='$CXXCPP $CPPFLAGS'
2581 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2582 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2583 cross_compiling=$ac_cv_prog_cxx_cross
2585 cat > conftest.$ac_ext <<EOF
2586 #line 2587 "configure
"
2587 #include "confdefs.h
"
2597 if { (eval echo configure:2598: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2599 gpp_satisfactory=yes
2601 echo "configure
: failed program was
:" >&5
2602 cat conftest.$ac_ext >&5
2604 { echo "configure
: error
: please upgrade to GCC
3.0 or above
" 1>&2; exit 1; }
2608 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2609 ac_cpp='$CPP $CPPFLAGS'
2610 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2611 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2612 cross_compiling=$ac_cv_prog_cc_cross
2614 echo "$ac_t""$gpp_satisfactory" 1>&6
2615 touch stamp-sanity-compiler
2619 # Enable all the crazy c++ stuff. C_MBCHAR must come early.
2620 # Check whether --enable-debug or --disable-debug was given.
2621 if test "${enable_debug+set}" = set; then
2622 enableval="$enable_debug"
2623 case "${enableval}" in
2624 yes) enable_debug=yes ;;
2625 no) enable_debug=no ;;
2626 *) { echo "configure
: error
: Unknown argument to enable
/disable extra debugging
" 1>&2; exit 1; } ;;
2632 case "${enable_debug}" in
2634 DEBUG_FLAGS='-O0 -ggdb3'
2642 echo $ac_n "checking how to run the C preprocessor
""...
$ac_c" 1>&6
2643 echo "configure
:2644: checking how to run the C preprocessor
" >&5
2644 # On Suns, sometimes $CPP names a directory.
2645 if test -n "$CPP" && test -d "$CPP"; then
2648 if test -z "$CPP"; then
2649 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2650 echo $ac_n "(cached
) $ac_c" 1>&6
2652 # This must be in double quotes, not single quotes, because CPP may get
2653 # substituted into the Makefile and "${CC-cc}" will confuse make.
2655 # On the NeXT, cc -E runs the code through the compiler's parser,
2656 # not just through cpp.
2657 cat > conftest.$ac_ext <<EOF
2658 #line 2659 "configure
"
2659 #include "confdefs.h
"
2663 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2664 { (eval echo configure:2665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2665 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2666 if test -z "$ac_err"; then
2670 echo "configure
: failed program was
:" >&5
2671 cat conftest.$ac_ext >&5
2673 CPP="${CC-cc} -E -traditional-cpp"
2674 cat > conftest.$ac_ext <<EOF
2675 #line 2676 "configure
"
2676 #include "confdefs.h
"
2680 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2681 { (eval echo configure:2682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2682 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2683 if test -z "$ac_err"; then
2687 echo "configure
: failed program was
:" >&5
2688 cat conftest.$ac_ext >&5
2690 CPP="${CC-cc} -nologo -E"
2691 cat > conftest.$ac_ext <<EOF
2692 #line 2693 "configure
"
2693 #include "confdefs.h
"
2697 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2698 { (eval echo configure:2699: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2699 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2700 if test -z "$ac_err"; then
2704 echo "configure
: failed program was
:" >&5
2705 cat conftest.$ac_ext >&5
2714 ac_cv_prog_CPP="$CPP"
2716 CPP="$ac_cv_prog_CPP"
2718 ac_cv_prog_CPP="$CPP"
2720 echo "$ac_t""$CPP" 1>&6
2723 echo $ac_n "checking
for cstdio to use
""...
$ac_c" 1>&6
2724 echo "configure
:2725: checking
for cstdio to use
" >&5
2725 # Check whether --enable-cstdio or --disable-cstdio was given.
2726 if test "${enable_cstdio+set}" = set; then
2727 enableval="$enable_cstdio"
2728 if test x$enable_cstdio = xno; then
2736 enable_cstdio_flag=$enable_cstdio
2738 case x${enable_cstdio_flag} in
2740 CSTDIO_H=config/c_io_libio.h
2741 BASIC_FILE_H=config/basic_file_libio.h
2742 BASIC_FILE_CC=config/basic_file_libio.cc
2743 echo "$ac_t""libio
" 1>&6
2745 # see if we are on a system with libio native (ie, linux)
2746 ac_safe=`echo "libio.h
" | sed 'y%./+-%__p_%'`
2747 echo $ac_n "checking
for libio.h
""...
$ac_c" 1>&6
2748 echo "configure
:2749: checking
for libio.h
" >&5
2749 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2750 echo $ac_n "(cached
) $ac_c" 1>&6
2752 cat > conftest.$ac_ext <<EOF
2753 #line 2754 "configure
"
2754 #include "confdefs.h
"
2757 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2758 { (eval echo configure:2759: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2759 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2760 if test -z "$ac_err"; then
2762 eval "ac_cv_header_
$ac_safe=yes"
2765 echo "configure
: failed program was
:" >&5
2766 cat conftest.$ac_ext >&5
2768 eval "ac_cv_header_
$ac_safe=no
"
2772 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2773 echo "$ac_t""yes" 1>&6
2776 echo "$ac_t""no
" 1>&6
2781 # Need to check and see what version of glibc is being used. If
2782 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2783 # compile most of libio for linux systems.
2784 if test x$has_libio = x"yes"; then
2787 echo $ac_n "checking
for glibc version
>= 2.2""...
$ac_c" 1>&6
2788 echo "configure
:2789: checking
for glibc version
>= 2.2" >&5
2789 cat > conftest.$ac_ext <<EOF
2790 #line 2791 "configure
"
2791 #include "confdefs.h
"
2793 #include <features.h>
2794 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2799 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
2800 egrep "ok
" >/dev/null 2>&1; then
2802 glibc_satisfactory=yes
2805 glibc_satisfactory=no
2809 echo "$ac_t""$glibc_satisfactory" 1>&6
2813 # XXX at the moment, admit defeat and force the recompilation
2814 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2815 glibc_satisfactory=no
2817 if test x$glibc_satisfactory = x"yes"; then
2822 # bkoz XXX need to add checks to enable this
2823 # pme XXX here's a first pass at such a check
2824 if test x$enable_c_mbchar != xno; then
2832 # Using libio, but <libio.h> doesn't exist on the target system. . .
2834 # bkoz XXX need to add checks to enable this
2835 # pme XXX here's a first pass at such a check
2836 if test x$enable_c_mbchar != xno; then
2843 xstdio | x | xno | xnone | xyes)
2845 CSTDIO_H=config/c_io_stdio.h
2846 BASIC_FILE_H=config/basic_file_stdio.h
2847 BASIC_FILE_CC=config/basic_file_stdio.cc
2848 echo "$ac_t""stdio
" 1>&6
2850 # We're not using stdio.
2855 echo "$enable_cstdio is an unknown io package
" 1>&2
2863 # 2000-08-04 bkoz hack
2864 CCODECVT_C=config/c_io_libio_codecvt.c
2866 # 2000-08-04 bkoz hack
2870 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2871 GLIBCPP_BUILD_LIBIO_TRUE=
2872 GLIBCPP_BUILD_LIBIO_FALSE='#'
2874 GLIBCPP_BUILD_LIBIO_TRUE='#'
2875 GLIBCPP_BUILD_LIBIO_FALSE=
2879 if test "$need_libio" = yes; then
2880 GLIBCPP_NEED_LIBIO_TRUE=
2881 GLIBCPP_NEED_LIBIO_FALSE='#'
2883 GLIBCPP_NEED_LIBIO_TRUE='#'
2884 GLIBCPP_NEED_LIBIO_FALSE=
2888 if test "$need_wlibio" = yes; then
2889 GLIBCPP_NEED_WLIBIO_TRUE=
2890 GLIBCPP_NEED_WLIBIO_FALSE='#'
2892 GLIBCPP_NEED_WLIBIO_TRUE='#'
2893 GLIBCPP_NEED_WLIBIO_FALSE=
2895 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2896 libio_la=../libio/libio.la
2903 echo $ac_n "checking
for clocale to use
""...
$ac_c" 1>&6
2904 echo "configure
:2905: checking
for clocale to use
" >&5
2905 # Check whether --enable-clocale or --disable-clocale was given.
2906 if test "${enable_clocale+set}" = set; then
2907 enableval="$enable_clocale"
2908 if test x$enable_clocale = xno; then
2909 enable_clocale=generic
2912 enable_clocale=generic
2916 enable_clocale_flag=$enable_clocale
2918 case x${enable_clocale_flag} in
2920 CLOCALE_H=config/c_locale_gnu.h
2921 CLOCALE_CC=config/c_locale_gnu.cc
2922 echo "$ac_t""gnu
" 1>&6
2925 CLOCALE_H=config/c_locale_generic.h
2926 CLOCALE_CC=config/c_locale_generic.cc
2927 echo "$ac_t""generic
" 1>&6
2930 echo "$enable_clocale is an unknown locale package
" 1>&2
2938 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
2939 if test "${enable_c_mbchar+set}" = set; then
2940 enableval="$enable_c_mbchar"
2941 case "$enableval" in
2942 yes) enable_c_mbchar=yes ;;
2943 no) enable_c_mbchar=no ;;
2944 *) { echo "configure
: error
: Unknown argument to enable
/disable c-mbchar
" 1>&2; exit 1; } ;;
2951 # Check whether --enable-c99 or --disable-c99 was given.
2952 if test "${enable_c99+set}" = set; then
2953 enableval="$enable_c99"
2954 case "$enableval" in
2955 yes) enable_c99=yes ;;
2956 no) enable_c99=no ;;
2957 *) { echo "configure
: error
: Unknown argument to enable
/disable C99
" 1>&2; exit 1; } ;;
2965 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2966 ac_cpp='$CXXCPP $CPPFLAGS'
2967 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2968 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2969 cross_compiling=$ac_cv_prog_cxx_cross
2972 # Check for the existence of <math.h> functions used if C99 is enabled.
2974 echo $ac_n "checking
for ISO C99 support
in <math.h
>""...
$ac_c" 1>&6
2975 echo "configure
:2976: checking
for ISO C99 support
in <math.h
>" >&5
2976 cat > conftest.$ac_ext <<EOF
2977 #line 2978 "configure
"
2978 #include "confdefs.h
"
2984 if { (eval echo configure:2985: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2987 echo "configure
: failed program was
:" >&5
2988 cat conftest.$ac_ext >&5
2993 cat > conftest.$ac_ext <<EOF
2994 #line 2995 "configure
"
2995 #include "confdefs.h
"
3001 if { (eval echo configure:3002: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3004 echo "configure
: failed program was
:" >&5
3005 cat conftest.$ac_ext >&5
3010 cat > conftest.$ac_ext <<EOF
3011 #line 3012 "configure
"
3012 #include "confdefs.h
"
3018 if { (eval echo configure:3019: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3021 echo "configure
: failed program was
:" >&5
3022 cat conftest.$ac_ext >&5
3027 cat > conftest.$ac_ext <<EOF
3028 #line 3029 "configure
"
3029 #include "confdefs.h
"
3035 if { (eval echo configure:3036: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3038 echo "configure
: failed program was
:" >&5
3039 cat conftest.$ac_ext >&5
3044 cat > conftest.$ac_ext <<EOF
3045 #line 3046 "configure
"
3046 #include "confdefs.h
"
3052 if { (eval echo configure:3053: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3055 echo "configure
: failed program was
:" >&5
3056 cat conftest.$ac_ext >&5
3061 cat > conftest.$ac_ext <<EOF
3062 #line 3063 "configure
"
3063 #include "confdefs.h
"
3069 if { (eval echo configure:3070: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3072 echo "configure
: failed program was
:" >&5
3073 cat conftest.$ac_ext >&5
3078 cat > conftest.$ac_ext <<EOF
3079 #line 3080 "configure
"
3080 #include "confdefs.h
"
3086 if { (eval echo configure:3087: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3089 echo "configure
: failed program was
:" >&5
3090 cat conftest.$ac_ext >&5
3095 cat > conftest.$ac_ext <<EOF
3096 #line 3097 "configure
"
3097 #include "confdefs.h
"
3100 isgreaterequal(0.0,0.0);
3103 if { (eval echo configure:3104: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3106 echo "configure
: failed program was
:" >&5
3107 cat conftest.$ac_ext >&5
3112 cat > conftest.$ac_ext <<EOF
3113 #line 3114 "configure
"
3114 #include "confdefs.h
"
3120 if { (eval echo configure:3121: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3123 echo "configure
: failed program was
:" >&5
3124 cat conftest.$ac_ext >&5
3129 cat > conftest.$ac_ext <<EOF
3130 #line 3131 "configure
"
3131 #include "confdefs.h
"
3134 islessequal(0.0,0.0);
3137 if { (eval echo configure:3138: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3140 echo "configure
: failed program was
:" >&5
3141 cat conftest.$ac_ext >&5
3146 cat > conftest.$ac_ext <<EOF
3147 #line 3148 "configure
"
3148 #include "confdefs.h
"
3151 islessgreater(0.0,0.0);
3154 if { (eval echo configure:3155: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3157 echo "configure
: failed program was
:" >&5
3158 cat conftest.$ac_ext >&5
3163 cat > conftest.$ac_ext <<EOF
3164 #line 3165 "configure
"
3165 #include "confdefs.h
"
3168 isunordered(0.0,0.0);
3171 if { (eval echo configure:3172: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3174 echo "configure
: failed program was
:" >&5
3175 cat conftest.$ac_ext >&5
3180 echo "$ac_t""$ac_c99_math" 1>&6
3182 # Check for the existence in <stdio.h> of vscanf, et. al.
3184 echo $ac_n "checking
for ISO C99 support
in <stdio.h
>""...
$ac_c" 1>&6
3185 echo "configure
:3186: checking
for ISO C99 support
in <stdio.h
>" >&5
3186 cat > conftest.$ac_ext <<EOF
3187 #line 3188 "configure
"
3188 #include "confdefs.h
"
3191 snprintf("12", 0, "%i
");
3194 if { (eval echo configure:3195: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3197 echo "configure
: failed program was
:" >&5
3198 cat conftest.$ac_ext >&5
3203 cat > conftest.$ac_ext <<EOF
3204 #line 3205 "configure
"
3205 #include "confdefs.h
"
3208 void foo(char* fmt, ...)
3209 {va_list args; va_start(args, fmt);
3210 vfscanf(stderr, "%i
", args);}
3215 if { (eval echo configure:3216: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3218 echo "configure
: failed program was
:" >&5
3219 cat conftest.$ac_ext >&5
3224 cat > conftest.$ac_ext <<EOF
3225 #line 3226 "configure
"
3226 #include "confdefs.h
"
3229 void foo(char* fmt, ...)
3230 {va_list args; va_start(args, fmt);
3231 vscanf("%i
", args);}
3236 if { (eval echo configure:3237: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3239 echo "configure
: failed program was
:" >&5
3240 cat conftest.$ac_ext >&5
3245 cat > conftest.$ac_ext <<EOF
3246 #line 3247 "configure
"
3247 #include "confdefs.h
"
3250 void foo(char* fmt, ...)
3251 {va_list args; va_start(args, fmt);
3252 vsnprintf(fmt, 0, "%i
", args);}
3257 if { (eval echo configure:3258: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3260 echo "configure
: failed program was
:" >&5
3261 cat conftest.$ac_ext >&5
3266 cat > conftest.$ac_ext <<EOF
3267 #line 3268 "configure
"
3268 #include "confdefs.h
"
3271 void foo(char* fmt, ...)
3272 {va_list args; va_start(args, fmt);
3273 vsscanf(fmt, "%i
", args);}
3278 if { (eval echo configure:3279: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3281 echo "configure
: failed program was
:" >&5
3282 cat conftest.$ac_ext >&5
3287 echo "$ac_t""$ac_c99_stdio" 1>&6
3289 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3291 echo $ac_n "checking
for lldiv_t declaration
""...
$ac_c" 1>&6
3292 echo "configure
:3293: checking
for lldiv_t declaration
" >&5
3293 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3294 echo $ac_n "(cached
) $ac_c" 1>&6
3297 cat > conftest.$ac_ext <<EOF
3298 #line 3299 "configure
"
3299 #include "confdefs.h
"
3305 if { (eval echo configure:3306: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3309 echo "configure
: failed program was
:" >&5
3310 cat conftest.$ac_ext >&5
3318 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3320 echo $ac_n "checking
for ISO C99 support
in <stdlib.h
>""...
$ac_c" 1>&6
3321 echo "configure
:3322: checking
for ISO C99 support
in <stdlib.h
>" >&5
3322 cat > conftest.$ac_ext <<EOF
3323 #line 3324 "configure
"
3324 #include "confdefs.h
"
3327 char* tmp; strtof("gnu
", &tmp);
3330 if { (eval echo configure:3331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3333 echo "configure
: failed program was
:" >&5
3334 cat conftest.$ac_ext >&5
3339 cat > conftest.$ac_ext <<EOF
3340 #line 3341 "configure
"
3341 #include "confdefs.h
"
3344 char* tmp; strtold("gnu
", &tmp);
3347 if { (eval echo configure:3348: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3350 echo "configure
: failed program was
:" >&5
3351 cat conftest.$ac_ext >&5
3356 cat > conftest.$ac_ext <<EOF
3357 #line 3358 "configure
"
3358 #include "confdefs.h
"
3361 char* tmp; strtoll("gnu
", &tmp, 10);
3364 if { (eval echo configure:3365: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3367 echo "configure
: failed program was
:" >&5
3368 cat conftest.$ac_ext >&5
3373 cat > conftest.$ac_ext <<EOF
3374 #line 3375 "configure
"
3375 #include "confdefs.h
"
3378 char* tmp; strtoull("gnu
", &tmp, 10);
3381 if { (eval echo configure:3382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3384 echo "configure
: failed program was
:" >&5
3385 cat conftest.$ac_ext >&5
3390 cat > conftest.$ac_ext <<EOF
3391 #line 3392 "configure
"
3392 #include "confdefs.h
"
3398 if { (eval echo configure:3399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3401 echo "configure
: failed program was
:" >&5
3402 cat conftest.$ac_ext >&5
3407 cat > conftest.$ac_ext <<EOF
3408 #line 3409 "configure
"
3409 #include "confdefs.h
"
3415 if { (eval echo configure:3416: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3418 echo "configure
: failed program was
:" >&5
3419 cat conftest.$ac_ext >&5
3424 cat > conftest.$ac_ext <<EOF
3425 #line 3426 "configure
"
3426 #include "confdefs.h
"
3432 if { (eval echo configure:3433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3435 echo "configure
: failed program was
:" >&5
3436 cat conftest.$ac_ext >&5
3441 cat > conftest.$ac_ext <<EOF
3442 #line 3443 "configure
"
3443 #include "confdefs.h
"
3449 if { (eval echo configure:3450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3452 echo "configure
: failed program was
:" >&5
3453 cat conftest.$ac_ext >&5
3458 if test x"$ac_c99_lldiv_t" = x"no
"; then
3461 echo "$ac_t""$ac_c99_stdlib" 1>&6
3463 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3464 # XXX the wchar.h checks should be rolled into the general C99 bits.
3466 echo $ac_n "checking
for additional ISO C99 support
in <wchar.h
>""...
$ac_c" 1>&6
3467 echo "configure
:3468: checking
for additional ISO C99 support
in <wchar.h
>" >&5
3468 cat > conftest.$ac_ext <<EOF
3469 #line 3470 "configure
"
3470 #include "confdefs.h
"
3473 wcstold(L"10.0", NULL);
3476 if { (eval echo configure:3477: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3479 echo "configure
: failed program was
:" >&5
3480 cat conftest.$ac_ext >&5
3485 cat > conftest.$ac_ext <<EOF
3486 #line 3487 "configure
"
3487 #include "confdefs.h
"
3490 wcstoll(L"10", NULL, 10);
3493 if { (eval echo configure:3494: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3496 echo "configure
: failed program was
:" >&5
3497 cat conftest.$ac_ext >&5
3502 cat > conftest.$ac_ext <<EOF
3503 #line 3504 "configure
"
3504 #include "confdefs.h
"
3507 wcstoull(L"10", NULL, 10);
3510 if { (eval echo configure:3511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3513 echo "configure
: failed program was
:" >&5
3514 cat conftest.$ac_ext >&5
3519 echo "$ac_t""$ac_c99_wchar" 1>&6
3521 echo $ac_n "checking
for enabled ISO C99 support
""...
$ac_c" 1>&6
3522 echo "configure
:3523: checking
for enabled ISO C99 support
" >&5
3523 if test x"$ac_c99_math" = x"no
" ||
3524 test x"$ac_c99_stdio" = x"no
" ||
3525 test x"$ac_c99_stdlib" = x"no
" ||
3526 test x"$ac_c99_wchar" = x"no
"; then
3529 echo "$ac_t""$enable_c99" 1>&6
3531 # Option parsed, now set things appropriately
3532 if test x"$enable_c99" = x"yes"; then
3533 cat >> confdefs.h <<\EOF
3534 #define _GLIBCPP_USE_C99 1
3540 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3541 ac_cpp='$CPP $CPPFLAGS'
3542 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3543 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3544 cross_compiling=$ac_cv_prog_cc_cross
3548 # Check whether --enable-long-long or --disable-long-long was given.
3549 if test "${enable_long_long+set}" = set; then
3550 enableval="$enable_long_long"
3551 case "$enableval" in
3552 yes) enable_long_long=yes ;;
3553 no) enable_long_long=no ;;
3554 *) { echo "configure
: error
: Unknown argument to enable
/disable long long
" 1>&2; exit 1; } ;;
3557 enable_long_long=yes
3560 # iostreams require strtoll, strtoull to compile. If the
3561 # GLIBCPP_ENABLE_C99 tests found these, and if C99 support is enabled,
3562 # go ahead and allow long long to be used.
3563 if test x"$enable_c99" = x"no
"; then
3564 enable_long_long=no;
3567 # Option parsed, now set things appropriately
3568 echo $ac_n "checking
for enabled long long support
""...
$ac_c" 1>&6
3569 echo "configure
:3570: checking
for enabled long long support
" >&5
3570 if test x"$enable_long_long" = xyes; then
3571 cat >> confdefs.h <<\EOF
3572 #define _GLIBCPP_USE_LONG_LONG 1
3576 echo "$ac_t""$enable_long_long" 1>&6
3578 echo $ac_n "checking
for c header strategy to use
""...
$ac_c" 1>&6
3579 echo "configure
:3580: checking
for c header strategy to use
" >&5
3580 # Check whether --enable-cheaders or --disable-cheaders was given.
3581 if test "${enable_cheaders+set}" = set; then
3582 enableval="$enable_cheaders"
3584 case "$enableval" in
3589 enable_cheaders=c_std
3592 enable_cheaders=c_shadow
3594 *) { echo "configure
: error
: Unknown argument to enable
/disable
"C" headers
" 1>&2; exit 1; }
3598 enable_cheaders=c_std
3601 echo "$ac_t""$enable_cheaders" 1>&6
3603 case "$enable_cheaders" in
3605 CSHADOW_FLAGS="-fno-builtin"
3606 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow'
3607 cat >> confdefs.h <<\EOF
3608 #define _GLIBCPP_USE_SHADOW_HEADERS 1
3614 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3618 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3626 if test "$enable_cheaders" = c_shadow; then
3627 GLIBCPP_USE_CSHADOW_TRUE=
3628 GLIBCPP_USE_CSHADOW_FALSE='#'
3630 GLIBCPP_USE_CSHADOW_TRUE='#'
3631 GLIBCPP_USE_CSHADOW_FALSE=
3635 echo $ac_n "checking
for thread model used by GCC
""...
$ac_c" 1>&6
3636 echo "configure
:3637: checking
for thread model used by GCC
" >&5
3637 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3638 echo "$ac_t""$target_thread_file" 1>&6
3640 if test $target_thread_file != single; then
3641 cat >> confdefs.h <<\EOF
3642 #define HAVE_GTHR_DEFAULT 1
3645 cat >> confdefs.h <<\EOF
3646 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3651 glibcpp_thread_h=gthr-$target_thread_file.h
3654 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3655 if test "${enable_cxx_flags+set}" = set; then
3656 enableval="$enable_cxx_flags"
3657 case "x
$enableval" in
3659 { echo "configure
: error
: --enable-cxx-flags needs compiler flags as arguments
" 1>&2; exit 1; } ;;
3661 enable_cxx_flags='' ;;
3663 enable_cxx_flags="$enableval" ;;
3666 enable_cxx_flags='none'
3670 if test "$enable_cxx_flags" = "none
"; then
3671 enable_cxx_flags='';
3674 if test -n "$enable_cxx_flags"; then
3675 for f in $enable_cxx_flags; do
3679 *) # and we're trying to pass /what/ exactly?
3680 { echo "configure
: error
: compiler flags start with a
-" 1>&2; exit 1; } ;;
3684 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3688 echo $ac_n "checking
for exception model to use
""...
$ac_c" 1>&6
3689 echo "configure
:3690: checking
for exception model to use
" >&5
3692 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3693 ac_cpp='$CXXCPP $CPPFLAGS'
3694 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3695 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3696 cross_compiling=$ac_cv_prog_cxx_cross
3698 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3699 if test "${enable_sjlj_exceptions+set}" = set; then
3700 enableval="$enable_sjlj_exceptions"
3703 cat > conftest.$ac_ext << EOF
3704 #line 3705 "configure
"
3713 old_CXXFLAGS="$CXXFLAGS"
3715 if { (eval echo configure:3716: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3716 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3717 enable_sjlj_exceptions=yes
3718 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3719 enable_sjlj_exceptions=no
3722 CXXFLAGS="$old_CXXFLAGS"
3726 if test x$enable_sjlj_exceptions = xyes; then
3727 cat >> confdefs.h <<\EOF
3728 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3731 ac_exception_model_name=sjlj
3732 elif test x$enable_sjlj_exceptions = xno; then
3733 ac_exception_model_name="call frame
"
3735 { echo "configure
: error
: unable to detect exception model
" 1>&2; exit 1; }
3738 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3739 ac_cpp='$CPP $CPPFLAGS'
3740 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3741 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3742 cross_compiling=$ac_cv_prog_cc_cross
3744 echo "$ac_t""$ac_exception_model_name" 1>&6
3747 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
3749 # We are being configured with some form of cross compiler.
3750 # mknumeric_limits may not work correctly, either because the
3751 # compiler may not run on this machine, may not be able to link
3752 # executables, or may produce executables we can't run on this
3754 GLIBCPP_IS_CROSS_COMPILING=1
3756 # If Canadian cross, then don't pick up tools from the build
3758 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
3764 case "$target_alias" in
3766 # Construct linux crosses by hand, eliminating bits that need ld...
3767 # Check for available headers.
3768 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
3769 machine/endian.h machine/param.h sys/machine.h fp.h locale.h \
3772 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3773 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
3774 echo "configure
:3775: checking
for $ac_hdr" >&5
3775 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3776 echo $ac_n "(cached
) $ac_c" 1>&6
3778 cat > conftest.$ac_ext <<EOF
3779 #line 3780 "configure
"
3780 #include "confdefs.h
"
3783 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
3784 { (eval echo configure:3785: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3785 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
3786 if test -z "$ac_err"; then
3788 eval "ac_cv_header_
$ac_safe=yes"
3791 echo "configure
: failed program was
:" >&5
3792 cat conftest.$ac_ext >&5
3794 eval "ac_cv_header_
$ac_safe=no
"
3798 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3799 echo "$ac_t""yes" 1>&6
3800 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3801 cat >> confdefs.h <<EOF
3802 #define $ac_tr_hdr 1
3806 echo "$ac_t""no
" 1>&6
3811 # GLIBCPP_CHECK_COMPILER_FEATURES
3812 SECTION_FLAGS='-ffunction-sections -fdata-sections'
3815 # If we're not using GNU ld, then there's no point in even trying these
3816 # tests. Check for that first. We should have already tested for gld
3817 # by now (in libtool), but require it now just to be safe...
3822 # Set --gc-sections.
3823 if test "$ac_cv_prog_gnu_ld" = "notbroken
"; then
3824 # GNU ld it is! Joy and bunny rabbits!
3826 # All these tests are for C++; save the language and the compiler flags.
3827 # Need to do this so that g++ won't try to link in libstdc++
3828 ac_test_CFLAGS="${CFLAGS+set}"
3829 ac_save_CFLAGS="$CFLAGS"
3830 CFLAGS='-x c++ -Wl,--gc-sections'
3832 # Check for -Wl,--gc-sections
3833 # XXX This test is broken at the moment, as symbols required for
3834 # linking are now in libsupc++ (not built yet.....). In addition,
3835 # this test has cored on solaris in the past. In addition,
3836 # --gc-sections doesn't really work at the moment (keeps on discarding
3837 # used sections, first .eh_frame and now some of the glibc sections for
3838 # iconv). Bzzzzt. Thanks for playing, maybe next time.
3839 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
3840 echo "configure
:3841: checking
for ld that supports
-Wl,--gc-sections" >&5
3841 if test "$cross_compiling" = yes; then
3842 ac_sectionLDflags=yes
3844 cat > conftest.$ac_ext <<EOF
3845 #line 3846 "configure
"
3846 #include "confdefs.h
"
3856 if { (eval echo configure:3857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3858 ac_sectionLDflags=yes
3860 echo "configure
: failed program was
:" >&5
3861 cat conftest.$ac_ext >&5
3863 ac_sectionLFflags=no
3868 if test "$ac_test_CFLAGS" = set; then
3869 CFLAGS="$ac_save_CFLAGS"
3871 # this is the suspicious part
3874 if test "$ac_sectionLDflags" = "yes"; then
3875 SECTION_LDFLAGS='-Wl,--gc-sections'
3877 echo "$ac_t""$ac_sectionLDflags" 1>&6
3880 # Set linker optimization flags.
3881 if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
3882 test x"$enable_debug" = x"no
"; then
3883 OPT_LDFLAGS='-Wl,-O1'
3889 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
3890 # GLIBCPP_CHECK_MATH_SUPPORT
3891 cat >> confdefs.h <<\EOF
3892 #define HAVE_ACOSF 1
3895 cat >> confdefs.h <<\EOF
3896 #define HAVE_ASINF 1
3899 cat >> confdefs.h <<\EOF
3900 #define HAVE_ATAN2F 1
3903 cat >> confdefs.h <<\EOF
3904 #define HAVE_ATANF 1
3907 cat >> confdefs.h <<\EOF
3908 #define HAVE_CEILF 1
3911 cat >> confdefs.h <<\EOF
3912 #define HAVE_COPYSIGN 1
3915 cat >> confdefs.h <<\EOF
3916 #define HAVE_COPYSIGNF 1
3919 cat >> confdefs.h <<\EOF
3923 cat >> confdefs.h <<\EOF
3924 #define HAVE_COSHF 1
3927 cat >> confdefs.h <<\EOF
3931 cat >> confdefs.h <<\EOF
3932 #define HAVE_FABSF 1
3935 cat >> confdefs.h <<\EOF
3936 #define HAVE_FINITE 1
3939 cat >> confdefs.h <<\EOF
3940 #define HAVE_FINITEF 1
3943 cat >> confdefs.h <<\EOF
3944 #define HAVE_FLOORF 1
3947 cat >> confdefs.h <<\EOF
3948 #define HAVE_FMODF 1
3951 cat >> confdefs.h <<\EOF
3952 #define HAVE_FREXPF 1
3955 cat >> confdefs.h <<\EOF
3956 #define HAVE_ISINF 1
3959 cat >> confdefs.h <<\EOF
3960 #define HAVE_ISINFF 1
3963 cat >> confdefs.h <<\EOF
3964 #define HAVE_ISNAN 1
3967 cat >> confdefs.h <<\EOF
3968 #define HAVE_ISNANF 1
3971 cat >> confdefs.h <<\EOF
3972 #define HAVE_LDEXPF 1
3975 cat >> confdefs.h <<\EOF
3976 #define HAVE_LOG10F 1
3979 cat >> confdefs.h <<\EOF
3983 cat >> confdefs.h <<\EOF
3984 #define HAVE_MODFF 1
3987 cat >> confdefs.h <<\EOF
3991 cat >> confdefs.h <<\EOF
3992 #define HAVE_SINCOS 1
3995 cat >> confdefs.h <<\EOF
3996 #define HAVE_SINCOSF 1
3999 cat >> confdefs.h <<\EOF
4003 cat >> confdefs.h <<\EOF
4004 #define HAVE_SINHF 1
4007 cat >> confdefs.h <<\EOF
4008 #define HAVE_SQRTF 1
4011 cat >> confdefs.h <<\EOF
4015 cat >> confdefs.h <<\EOF
4016 #define HAVE_TANHF 1
4020 # At some point, we should differentiate between architectures
4021 # like x86, which have long double versions, and alpha/powerpc/etc.,
4022 # which don't. For the time being, punt.
4023 if test x"long_double_math_on_this_cpu
" = x"yes"; then
4024 cat >> confdefs.h <<\EOF
4025 #define HAVE_ACOSL 1
4028 cat >> confdefs.h <<\EOF
4029 #define HAVE_ASINL 1
4032 cat >> confdefs.h <<\EOF
4033 #define HAVE_ATAN2L 1
4036 cat >> confdefs.h <<\EOF
4037 #define HAVE_ATANL 1
4040 cat >> confdefs.h <<\EOF
4041 #define HAVE_CEILL 1
4044 cat >> confdefs.h <<\EOF
4045 #define HAVE_COPYSIGNL 1
4048 cat >> confdefs.h <<\EOF
4052 cat >> confdefs.h <<\EOF
4053 #define HAVE_COSHL 1
4056 cat >> confdefs.h <<\EOF
4060 cat >> confdefs.h <<\EOF
4061 #define HAVE_FABSL 1
4064 cat >> confdefs.h <<\EOF
4065 #define HAVE_FINITEL 1
4068 cat >> confdefs.h <<\EOF
4069 #define HAVE_FLOORL 1
4072 cat >> confdefs.h <<\EOF
4073 #define HAVE_FMODL 1
4076 cat >> confdefs.h <<\EOF
4077 #define HAVE_FREXPL 1
4080 cat >> confdefs.h <<\EOF
4081 #define HAVE_ISINFL 1
4084 cat >> confdefs.h <<\EOF
4085 #define HAVE_ISNANL 1
4088 cat >> confdefs.h <<\EOF
4089 #define HAVE_LDEXPL 1
4092 cat >> confdefs.h <<\EOF
4093 #define HAVE_LOG10L 1
4096 cat >> confdefs.h <<\EOF
4100 cat >> confdefs.h <<\EOF
4101 #define HAVE_MODFL 1
4104 cat >> confdefs.h <<\EOF
4108 cat >> confdefs.h <<\EOF
4109 #define HAVE_SINCOSL 1
4112 cat >> confdefs.h <<\EOF
4116 cat >> confdefs.h <<\EOF
4117 #define HAVE_SINHL 1
4120 cat >> confdefs.h <<\EOF
4121 #define HAVE_SQRTL 1
4124 cat >> confdefs.h <<\EOF
4128 cat >> confdefs.h <<\EOF
4129 #define HAVE_TANHL 1
4134 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
4135 echo "configure
:4136: checking
for main
in -lm" >&5
4136 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4137 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4138 echo $ac_n "(cached
) $ac_c" 1>&6
4140 ac_save_LIBS="$LIBS"
4142 cat > conftest.$ac_ext <<EOF
4143 #line 4144 "configure
"
4144 #include "confdefs.h
"
4150 if { (eval echo configure:4151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4152 eval "ac_cv_lib_
$ac_lib_var=yes"
4154 echo "configure
: failed program was
:" >&5
4155 cat conftest.$ac_ext >&5
4157 eval "ac_cv_lib_
$ac_lib_var=no
"
4160 LIBS="$ac_save_LIBS"
4163 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4164 echo "$ac_t""yes" 1>&6
4165 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4166 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4167 cat >> confdefs.h <<EOF
4168 #define $ac_tr_lib 1
4174 echo "$ac_t""no
" 1>&6
4177 for ac_func in nan copysignf
4179 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4180 echo "configure
:4181: checking
for $ac_func" >&5
4181 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4182 echo $ac_n "(cached
) $ac_c" 1>&6
4184 cat > conftest.$ac_ext <<EOF
4185 #line 4186 "configure
"
4186 #include "confdefs.h
"
4187 /* System header to define __stub macros and hopefully few prototypes,
4188 which can conflict with char $ac_func(); below. */
4190 /* Override any gcc2 internal prototype to avoid an error. */
4191 /* We use char because int might match the return type of a gcc2
4192 builtin and then its argument prototype would still apply. */
4197 /* The GNU C library defines this for functions which it implements
4198 to always fail with ENOSYS. Some functions are actually named
4199 something starting with __ and the normal name is an alias. */
4200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4208 if { (eval echo configure:4209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4210 eval "ac_cv_func_
$ac_func=yes"
4212 echo "configure
: failed program was
:" >&5
4213 cat conftest.$ac_ext >&5
4215 eval "ac_cv_func_
$ac_func=no
"
4220 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4221 echo "$ac_t""yes" 1>&6
4222 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4223 cat >> confdefs.h <<EOF
4224 #define $ac_tr_func 1
4228 echo "$ac_t""no
" 1>&6
4229 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
4235 USE_COMPLEX_LONG_DOUBLE=no
4236 if test x$ac_cv_func_copysignl = x"yes"; then
4237 USE_COMPLEX_LONG_DOUBLE=yes
4238 for ac_func in signbitl
4240 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4241 echo "configure
:4242: checking
for $ac_func" >&5
4242 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4243 echo $ac_n "(cached
) $ac_c" 1>&6
4245 cat > conftest.$ac_ext <<EOF
4246 #line 4247 "configure
"
4247 #include "confdefs.h
"
4248 /* System header to define __stub macros and hopefully few prototypes,
4249 which can conflict with char $ac_func(); below. */
4251 /* Override any gcc2 internal prototype to avoid an error. */
4252 /* We use char because int might match the return type of a gcc2
4253 builtin and then its argument prototype would still apply. */
4258 /* The GNU C library defines this for functions which it implements
4259 to always fail with ENOSYS. Some functions are actually named
4260 something starting with __ and the normal name is an alias. */
4261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4269 if { (eval echo configure:4270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4271 eval "ac_cv_func_
$ac_func=yes"
4273 echo "configure
: failed program was
:" >&5
4274 cat conftest.$ac_ext >&5
4276 eval "ac_cv_func_
$ac_func=no
"
4281 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4282 echo "$ac_t""yes" 1>&6
4283 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4284 cat >> confdefs.h <<EOF
4285 #define $ac_tr_func 1
4289 echo "$ac_t""no
" 1>&6
4290 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
4301 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
4302 echo "configure
:4303: checking
for mbstate_t
" >&5
4303 cat > conftest.$ac_ext <<EOF
4304 #line 4305 "configure
"
4305 #include "confdefs.h
"
4308 mbstate_t teststate;
4311 if { (eval echo configure:4312: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4315 echo "configure
: failed program was
:" >&5
4316 cat conftest.$ac_ext >&5
4321 echo "$ac_t""$have_mbstate_t" 1>&6
4322 if test x"$have_mbstate_t" = xyes; then
4323 cat >> confdefs.h <<\EOF
4324 #define HAVE_MBSTATE_T 1
4329 for ac_hdr in wchar.h
4331 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4332 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4333 echo "configure
:4334: checking
for $ac_hdr" >&5
4334 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4335 echo $ac_n "(cached
) $ac_c" 1>&6
4337 cat > conftest.$ac_ext <<EOF
4338 #line 4339 "configure
"
4339 #include "confdefs.h
"
4342 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4343 { (eval echo configure:4344: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4344 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4345 if test -z "$ac_err"; then
4347 eval "ac_cv_header_
$ac_safe=yes"
4350 echo "configure
: failed program was
:" >&5
4351 cat conftest.$ac_ext >&5
4353 eval "ac_cv_header_
$ac_safe=no
"
4357 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4358 echo "$ac_t""yes" 1>&6
4359 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4360 cat >> confdefs.h <<EOF
4361 #define $ac_tr_hdr 1
4365 echo "$ac_t""no
" 1>&6
4370 ac_safe=`echo "wctype.h
" | sed 'y%./+-%__p_%'`
4371 echo $ac_n "checking
for wctype.h
""...
$ac_c" 1>&6
4372 echo "configure
:4373: checking
for wctype.h
" >&5
4373 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4374 echo $ac_n "(cached
) $ac_c" 1>&6
4376 cat > conftest.$ac_ext <<EOF
4377 #line 4378 "configure
"
4378 #include "confdefs.h
"
4381 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4382 { (eval echo configure:4383: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4383 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4384 if test -z "$ac_err"; then
4386 eval "ac_cv_header_
$ac_safe=yes"
4389 echo "configure
: failed program was
:" >&5
4390 cat conftest.$ac_ext >&5
4392 eval "ac_cv_header_
$ac_safe=no
"
4396 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4397 echo "$ac_t""yes" 1>&6
4400 echo "$ac_t""no
" 1>&6
4405 if test x"$ac_has_wchar_h" = xyes &&
4406 test x"$ac_has_wctype_h" = xyes &&
4407 test x"$enable_c_mbchar" != xno; then
4409 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
4410 echo "configure
:4411: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
4411 cat > conftest.$ac_ext <<EOF
4412 #line 4413 "configure
"
4413 #include "confdefs.h
"
4416 int i = WCHAR_MIN; int j = WCHAR_MAX;
4419 if { (eval echo configure:4420: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4421 has_wchar_minmax=yes
4423 echo "configure
: failed program was
:" >&5
4424 cat conftest.$ac_ext >&5
4429 echo "$ac_t""$has_wchar_minmax" 1>&6
4431 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
4432 echo "configure
:4433: checking
for WEOF
" >&5
4433 cat > conftest.$ac_ext <<EOF
4434 #line 4435 "configure
"
4435 #include "confdefs.h
"
4443 if { (eval echo configure:4444: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4447 echo "configure
: failed program was
:" >&5
4448 cat conftest.$ac_ext >&5
4453 echo "$ac_t""$has_weof" 1>&6
4456 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4458 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4459 echo "configure
:4460: checking
for $ac_func" >&5
4460 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4461 echo $ac_n "(cached
) $ac_c" 1>&6
4463 cat > conftest.$ac_ext <<EOF
4464 #line 4465 "configure
"
4465 #include "confdefs.h
"
4466 /* System header to define __stub macros and hopefully few prototypes,
4467 which can conflict with char $ac_func(); below. */
4469 /* Override any gcc2 internal prototype to avoid an error. */
4470 /* We use char because int might match the return type of a gcc2
4471 builtin and then its argument prototype would still apply. */
4476 /* The GNU C library defines this for functions which it implements
4477 to always fail with ENOSYS. Some functions are actually named
4478 something starting with __ and the normal name is an alias. */
4479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4487 if { (eval echo configure:4488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4489 eval "ac_cv_func_
$ac_func=yes"
4491 echo "configure
: failed program was
:" >&5
4492 cat conftest.$ac_ext >&5
4494 eval "ac_cv_func_
$ac_func=no
"
4499 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4500 echo "$ac_t""yes" 1>&6
4501 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4502 cat >> confdefs.h <<EOF
4503 #define $ac_tr_func 1
4507 echo "$ac_t""no
" 1>&6
4514 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4515 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4516 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4517 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4518 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4519 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4521 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4522 echo "configure
:4523: checking
for $ac_func" >&5
4523 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4524 echo $ac_n "(cached
) $ac_c" 1>&6
4526 cat > conftest.$ac_ext <<EOF
4527 #line 4528 "configure
"
4528 #include "confdefs.h
"
4529 /* System header to define __stub macros and hopefully few prototypes,
4530 which can conflict with char $ac_func(); below. */
4532 /* Override any gcc2 internal prototype to avoid an error. */
4533 /* We use char because int might match the return type of a gcc2
4534 builtin and then its argument prototype would still apply. */
4539 /* The GNU C library defines this for functions which it implements
4540 to always fail with ENOSYS. Some functions are actually named
4541 something starting with __ and the normal name is an alias. */
4542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4550 if { (eval echo configure:4551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4552 eval "ac_cv_func_
$ac_func=yes"
4554 echo "configure
: failed program was
:" >&5
4555 cat conftest.$ac_ext >&5
4557 eval "ac_cv_func_
$ac_func=no
"
4562 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4563 echo "$ac_t""yes" 1>&6
4564 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4565 cat >> confdefs.h <<EOF
4566 #define $ac_tr_func 1
4570 echo "$ac_t""no
" 1>&6
4577 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
4578 echo "configure
:4579: checking
for ISO C99 wchar_t support
" >&5
4579 if test x"$has_weof" = xyes &&
4580 test x"$has_wchar_minmax" = xyes &&
4581 test x"$ac_wfuncs" = xyes; then
4582 ac_isoC99_wchar_t=yes
4584 ac_isoC99_wchar_t=no
4586 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4588 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
4589 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
4590 echo "configure
:4591: checking
for iconv.h
" >&5
4591 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4592 echo $ac_n "(cached
) $ac_c" 1>&6
4594 cat > conftest.$ac_ext <<EOF
4595 #line 4596 "configure
"
4596 #include "confdefs.h
"
4599 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4600 { (eval echo configure:4601: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4601 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4602 if test -z "$ac_err"; then
4604 eval "ac_cv_header_
$ac_safe=yes"
4607 echo "configure
: failed program was
:" >&5
4608 cat conftest.$ac_ext >&5
4610 eval "ac_cv_header_
$ac_safe=no
"
4614 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4615 echo "$ac_t""yes" 1>&6
4618 echo "$ac_t""no
" 1>&6
4622 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
4623 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
4624 echo "configure
:4625: checking
for langinfo.h
" >&5
4625 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4626 echo $ac_n "(cached
) $ac_c" 1>&6
4628 cat > conftest.$ac_ext <<EOF
4629 #line 4630 "configure
"
4630 #include "confdefs.h
"
4631 #include <langinfo.h>
4633 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4634 { (eval echo configure:4635: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4635 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4636 if test -z "$ac_err"; then
4638 eval "ac_cv_header_
$ac_safe=yes"
4641 echo "configure
: failed program was
:" >&5
4642 cat conftest.$ac_ext >&5
4644 eval "ac_cv_header_
$ac_safe=no
"
4648 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4649 echo "$ac_t""yes" 1>&6
4650 ac_has_langinfo_h=yes
4652 echo "$ac_t""no
" 1>&6
4653 ac_has_langinfo_h=no
4657 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
4658 echo "configure
:4659: checking
for iconv in -liconv" >&5
4659 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4660 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4661 echo $ac_n "(cached
) $ac_c" 1>&6
4663 ac_save_LIBS="$LIBS"
4664 LIBS="-liconv $LIBS"
4665 cat > conftest.$ac_ext <<EOF
4666 #line 4667 "configure
"
4667 #include "confdefs.h
"
4668 /* Override any gcc2 internal prototype to avoid an error. */
4669 /* We use char because int might match the return type of a gcc2
4670 builtin and then its argument prototype would still apply. */
4677 if { (eval echo configure:4678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4679 eval "ac_cv_lib_
$ac_lib_var=yes"
4681 echo "configure
: failed program was
:" >&5
4682 cat conftest.$ac_ext >&5
4684 eval "ac_cv_lib_
$ac_lib_var=no
"
4687 LIBS="$ac_save_LIBS"
4690 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4691 echo "$ac_t""yes" 1>&6
4694 echo "$ac_t""no
" 1>&6
4697 ac_save_LIBS="$LIBS"
4698 LIBS="$LIBS $libiconv"
4700 for ac_func in iconv_open iconv_close iconv nl_langinfo
4702 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4703 echo "configure
:4704: checking
for $ac_func" >&5
4704 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4705 echo $ac_n "(cached
) $ac_c" 1>&6
4707 cat > conftest.$ac_ext <<EOF
4708 #line 4709 "configure
"
4709 #include "confdefs.h
"
4710 /* System header to define __stub macros and hopefully few prototypes,
4711 which can conflict with char $ac_func(); below. */
4713 /* Override any gcc2 internal prototype to avoid an error. */
4714 /* We use char because int might match the return type of a gcc2
4715 builtin and then its argument prototype would still apply. */
4720 /* The GNU C library defines this for functions which it implements
4721 to always fail with ENOSYS. Some functions are actually named
4722 something starting with __ and the normal name is an alias. */
4723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4731 if { (eval echo configure:4732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4733 eval "ac_cv_func_
$ac_func=yes"
4735 echo "configure
: failed program was
:" >&5
4736 cat conftest.$ac_ext >&5
4738 eval "ac_cv_func_
$ac_func=no
"
4743 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4744 echo "$ac_t""yes" 1>&6
4745 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4746 cat >> confdefs.h <<EOF
4747 #define $ac_tr_func 1
4752 echo "$ac_t""no
" 1>&6
4758 LIBS="$ac_save_LIBS"
4760 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
4761 echo "configure
:4762: checking
for XPG2 wchar_t support
" >&5
4762 if test x"$ac_has_iconv_h" = xyes &&
4763 test x"$ac_has_langinfo_h" = xyes &&
4764 test x"$ac_XPG2funcs" = xyes; then
4769 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
4771 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
4772 echo "configure
:4773: checking
for enabled wchar_t specializations
" >&5
4773 if test x"$ac_isoC99_wchar_t" = xyes &&
4774 test x"$ac_XPG2_wchar_t" = xyes; then
4775 cat >> confdefs.h <<\EOF
4776 #define _GLIBCPP_USE_WCHAR_T 1
4779 echo "$ac_t"""yes"" 1>&6
4781 echo "$ac_t"""no"" 1>&6
4784 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
4787 os_include_dir="config
/os
/gnu-linux
"
4788 # GLIBCPP_CHECK_STDLIB_SUPPORT
4789 cat >> confdefs.h <<\EOF
4790 #define HAVE_STRTOF 1
4793 cat >> confdefs.h <<\EOF
4794 #define HAVE_STRTOLD 1
4798 cat >> confdefs.h <<\EOF
4804 # We assume newlib. This lets us hard-code the functions we know
4806 cat >> confdefs.h <<\EOF
4807 #define HAVE_FINITE 1
4810 cat >> confdefs.h <<\EOF
4811 #define HAVE_ISNAN 1
4814 cat >> confdefs.h <<\EOF
4815 #define HAVE_ISNANF 1
4818 cat >> confdefs.h <<\EOF
4819 #define HAVE_ISINF 1
4822 cat >> confdefs.h <<\EOF
4823 #define HAVE_ISINFF 1
4827 os_include_dir="config
/os
/newlib
"
4829 # need to check for faster f versions of math functions, ie sinf?
4834 # We are being configured natively. We can do more elaborate tests
4835 # that include AC_TRY_COMPILE now, as the linker is assumed to be
4837 GLIBCPP_IS_CROSS_COMPILING=0
4840 # Check for available headers.
4841 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
4842 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h
4844 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4845 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4846 echo "configure
:4847: checking
for $ac_hdr" >&5
4847 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4848 echo $ac_n "(cached
) $ac_c" 1>&6
4850 cat > conftest.$ac_ext <<EOF
4851 #line 4852 "configure
"
4852 #include "confdefs.h
"
4855 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4856 { (eval echo configure:4857: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4857 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4858 if test -z "$ac_err"; then
4860 eval "ac_cv_header_
$ac_safe=yes"
4863 echo "configure
: failed program was
:" >&5
4864 cat conftest.$ac_ext >&5
4866 eval "ac_cv_header_
$ac_safe=no
"
4870 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4871 echo "$ac_t""yes" 1>&6
4872 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4873 cat >> confdefs.h <<EOF
4874 #define $ac_tr_hdr 1
4878 echo "$ac_t""no
" 1>&6
4884 # All these tests are for C++; save the language and the compiler flags.
4885 # The CXXFLAGS thing is suspicious, but based on similar bits previously
4886 # found in GLIBCPP_CONFIGURE.
4889 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4890 ac_cpp='$CXXCPP $CPPFLAGS'
4891 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4892 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4893 cross_compiling=$ac_cv_prog_cxx_cross
4895 ac_test_CXXFLAGS="${CXXFLAGS+set}"
4896 ac_save_CXXFLAGS="$CXXFLAGS"
4898 # Check for maintainer-mode bits.
4899 if test x"$USE_MAINTAINER_MODE" = xno; then
4905 # Check for -ffunction-sections -fdata-sections
4906 echo $ac_n "checking
for g
++ that supports
-ffunction-sections -fdata-sections""...
$ac_c" 1>&6
4907 echo "configure
:4908: checking
for g
++ that supports
-ffunction-sections -fdata-sections" >&5
4908 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
4909 cat > conftest.$ac_ext <<EOF
4910 #line 4911 "configure
"
4911 #include "confdefs.h
"
4918 if { (eval echo configure:4919: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4922 echo "configure
: failed program was
:" >&5
4923 cat conftest.$ac_ext >&5
4928 if test "$ac_test_CXXFLAGS" = set; then
4929 CXXFLAGS="$ac_save_CXXFLAGS"
4931 # this is the suspicious part
4934 if test x"$ac_fdsections" = x"yes" &&
4935 test x"$enable_debug" = x"no
"; then
4936 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4938 echo "$ac_t""$ac_fdsections" 1>&6
4941 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4942 ac_cpp='$CPP $CPPFLAGS'
4943 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4944 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4945 cross_compiling=$ac_cv_prog_cc_cross
4951 # If we're not using GNU ld, then there's no point in even trying these
4952 # tests. Check for that first. We should have already tested for gld
4953 # by now (in libtool), but require it now just to be safe...
4958 # Set --gc-sections.
4959 if test "$ac_cv_prog_gnu_ld" = "notbroken
"; then
4960 # GNU ld it is! Joy and bunny rabbits!
4962 # All these tests are for C++; save the language and the compiler flags.
4963 # Need to do this so that g++ won't try to link in libstdc++
4964 ac_test_CFLAGS="${CFLAGS+set}"
4965 ac_save_CFLAGS="$CFLAGS"
4966 CFLAGS='-x c++ -Wl,--gc-sections'
4968 # Check for -Wl,--gc-sections
4969 # XXX This test is broken at the moment, as symbols required for
4970 # linking are now in libsupc++ (not built yet.....). In addition,
4971 # this test has cored on solaris in the past. In addition,
4972 # --gc-sections doesn't really work at the moment (keeps on discarding
4973 # used sections, first .eh_frame and now some of the glibc sections for
4974 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4975 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
4976 echo "configure
:4977: checking
for ld that supports
-Wl,--gc-sections" >&5
4977 if test "$cross_compiling" = yes; then
4978 ac_sectionLDflags=yes
4980 cat > conftest.$ac_ext <<EOF
4981 #line 4982 "configure
"
4982 #include "confdefs.h
"
4992 if { (eval echo configure:4993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4994 ac_sectionLDflags=yes
4996 echo "configure
: failed program was
:" >&5
4997 cat conftest.$ac_ext >&5
4999 ac_sectionLFflags=no
5004 if test "$ac_test_CFLAGS" = set; then
5005 CFLAGS="$ac_save_CFLAGS"
5007 # this is the suspicious part
5010 if test "$ac_sectionLDflags" = "yes"; then
5011 SECTION_LDFLAGS='-Wl,--gc-sections'
5013 echo "$ac_t""$ac_sectionLDflags" 1>&6
5016 # Set linker optimization flags.
5017 if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
5018 test x"$enable_debug" = x"no
"; then
5019 OPT_LDFLAGS='-Wl,-O1'
5027 echo $ac_n "checking
for __builtin_abs declaration
""...
$ac_c" 1>&6
5028 echo "configure
:5029: checking
for __builtin_abs declaration
" >&5
5029 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
5030 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
5031 echo $ac_n "(cached
) $ac_c" 1>&6
5036 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5037 ac_cpp='$CXXCPP $CPPFLAGS'
5038 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5039 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5040 cross_compiling=$ac_cv_prog_cxx_cross
5042 cat > conftest.$ac_ext <<EOF
5043 #line 5044 "configure
"
5044 #include "confdefs.h
"
5050 if { (eval echo configure:5051: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5052 glibcpp_cv_func___builtin_abs_use=yes
5054 echo "configure
: failed program was
:" >&5
5055 cat conftest.$ac_ext >&5
5057 glibcpp_cv_func___builtin_abs_use=no
5061 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5062 ac_cpp='$CPP $CPPFLAGS'
5063 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5064 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5065 cross_compiling=$ac_cv_prog_cc_cross
5071 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
5072 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
5073 echo $ac_n "checking
for __builtin_abs linkage
""...
$ac_c" 1>&6
5074 echo "configure
:5075: checking
for __builtin_abs linkage
" >&5
5075 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
5076 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
5077 echo $ac_n "(cached
) $ac_c" 1>&6
5080 cat > conftest.$ac_ext <<EOF
5081 #line 5082 "configure
"
5082 #include "confdefs.h
"
5088 if { (eval echo configure:5089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5090 glibcpp_cv_func___builtin_abs_link=yes
5092 echo "configure
: failed program was
:" >&5
5093 cat conftest.$ac_ext >&5
5095 glibcpp_cv_func___builtin_abs_link=no
5102 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
5103 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
5104 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5105 cat >> confdefs.h <<EOF
5106 #define ${ac_tr_func} 1
5113 echo $ac_n "checking
for __builtin_fabsf declaration
""...
$ac_c" 1>&6
5114 echo "configure
:5115: checking
for __builtin_fabsf declaration
" >&5
5115 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
5116 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
5117 echo $ac_n "(cached
) $ac_c" 1>&6
5122 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5123 ac_cpp='$CXXCPP $CPPFLAGS'
5124 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5125 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5126 cross_compiling=$ac_cv_prog_cxx_cross
5128 cat > conftest.$ac_ext <<EOF
5129 #line 5130 "configure
"
5130 #include "confdefs.h
"
5136 if { (eval echo configure:5137: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5138 glibcpp_cv_func___builtin_fabsf_use=yes
5140 echo "configure
: failed program was
:" >&5
5141 cat conftest.$ac_ext >&5
5143 glibcpp_cv_func___builtin_fabsf_use=no
5147 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5148 ac_cpp='$CPP $CPPFLAGS'
5149 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5150 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5151 cross_compiling=$ac_cv_prog_cc_cross
5157 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
5158 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
5159 echo $ac_n "checking
for __builtin_fabsf linkage
""...
$ac_c" 1>&6
5160 echo "configure
:5161: checking
for __builtin_fabsf linkage
" >&5
5161 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
5162 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
5163 echo $ac_n "(cached
) $ac_c" 1>&6
5166 cat > conftest.$ac_ext <<EOF
5167 #line 5168 "configure
"
5168 #include "confdefs.h
"
5174 if { (eval echo configure:5175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5176 glibcpp_cv_func___builtin_fabsf_link=yes
5178 echo "configure
: failed program was
:" >&5
5179 cat conftest.$ac_ext >&5
5181 glibcpp_cv_func___builtin_fabsf_link=no
5188 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
5189 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
5190 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5191 cat >> confdefs.h <<EOF
5192 #define ${ac_tr_func} 1
5199 echo $ac_n "checking
for __builtin_fabs declaration
""...
$ac_c" 1>&6
5200 echo "configure
:5201: checking
for __builtin_fabs declaration
" >&5
5201 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
5202 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
5203 echo $ac_n "(cached
) $ac_c" 1>&6
5208 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5209 ac_cpp='$CXXCPP $CPPFLAGS'
5210 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5211 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5212 cross_compiling=$ac_cv_prog_cxx_cross
5214 cat > conftest.$ac_ext <<EOF
5215 #line 5216 "configure
"
5216 #include "confdefs.h
"
5222 if { (eval echo configure:5223: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5224 glibcpp_cv_func___builtin_fabs_use=yes
5226 echo "configure
: failed program was
:" >&5
5227 cat conftest.$ac_ext >&5
5229 glibcpp_cv_func___builtin_fabs_use=no
5233 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5234 ac_cpp='$CPP $CPPFLAGS'
5235 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5236 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5237 cross_compiling=$ac_cv_prog_cc_cross
5243 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
5244 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
5245 echo $ac_n "checking
for __builtin_fabs linkage
""...
$ac_c" 1>&6
5246 echo "configure
:5247: checking
for __builtin_fabs linkage
" >&5
5247 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
5248 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
5249 echo $ac_n "(cached
) $ac_c" 1>&6
5252 cat > conftest.$ac_ext <<EOF
5253 #line 5254 "configure
"
5254 #include "confdefs.h
"
5260 if { (eval echo configure:5261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5262 glibcpp_cv_func___builtin_fabs_link=yes
5264 echo "configure
: failed program was
:" >&5
5265 cat conftest.$ac_ext >&5
5267 glibcpp_cv_func___builtin_fabs_link=no
5274 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
5275 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
5276 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5277 cat >> confdefs.h <<EOF
5278 #define ${ac_tr_func} 1
5285 echo $ac_n "checking
for __builtin_fabsl declaration
""...
$ac_c" 1>&6
5286 echo "configure
:5287: checking
for __builtin_fabsl declaration
" >&5
5287 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
5288 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
5289 echo $ac_n "(cached
) $ac_c" 1>&6
5294 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5295 ac_cpp='$CXXCPP $CPPFLAGS'
5296 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5297 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5298 cross_compiling=$ac_cv_prog_cxx_cross
5300 cat > conftest.$ac_ext <<EOF
5301 #line 5302 "configure
"
5302 #include "confdefs.h
"
5308 if { (eval echo configure:5309: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5310 glibcpp_cv_func___builtin_fabsl_use=yes
5312 echo "configure
: failed program was
:" >&5
5313 cat conftest.$ac_ext >&5
5315 glibcpp_cv_func___builtin_fabsl_use=no
5319 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5320 ac_cpp='$CPP $CPPFLAGS'
5321 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5322 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5323 cross_compiling=$ac_cv_prog_cc_cross
5329 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
5330 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
5331 echo $ac_n "checking
for __builtin_fabsl linkage
""...
$ac_c" 1>&6
5332 echo "configure
:5333: checking
for __builtin_fabsl linkage
" >&5
5333 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
5334 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
5335 echo $ac_n "(cached
) $ac_c" 1>&6
5338 cat > conftest.$ac_ext <<EOF
5339 #line 5340 "configure
"
5340 #include "confdefs.h
"
5346 if { (eval echo configure:5347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5348 glibcpp_cv_func___builtin_fabsl_link=yes
5350 echo "configure
: failed program was
:" >&5
5351 cat conftest.$ac_ext >&5
5353 glibcpp_cv_func___builtin_fabsl_link=no
5360 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
5361 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
5362 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5363 cat >> confdefs.h <<EOF
5364 #define ${ac_tr_func} 1
5371 echo $ac_n "checking
for __builtin_labs declaration
""...
$ac_c" 1>&6
5372 echo "configure
:5373: checking
for __builtin_labs declaration
" >&5
5373 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
5374 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
5375 echo $ac_n "(cached
) $ac_c" 1>&6
5380 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5381 ac_cpp='$CXXCPP $CPPFLAGS'
5382 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5383 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5384 cross_compiling=$ac_cv_prog_cxx_cross
5386 cat > conftest.$ac_ext <<EOF
5387 #line 5388 "configure
"
5388 #include "confdefs.h
"
5394 if { (eval echo configure:5395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5396 glibcpp_cv_func___builtin_labs_use=yes
5398 echo "configure
: failed program was
:" >&5
5399 cat conftest.$ac_ext >&5
5401 glibcpp_cv_func___builtin_labs_use=no
5405 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5406 ac_cpp='$CPP $CPPFLAGS'
5407 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5408 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5409 cross_compiling=$ac_cv_prog_cc_cross
5415 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
5416 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
5417 echo $ac_n "checking
for __builtin_labs linkage
""...
$ac_c" 1>&6
5418 echo "configure
:5419: checking
for __builtin_labs linkage
" >&5
5419 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
5420 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
5421 echo $ac_n "(cached
) $ac_c" 1>&6
5424 cat > conftest.$ac_ext <<EOF
5425 #line 5426 "configure
"
5426 #include "confdefs.h
"
5432 if { (eval echo configure:5433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5434 glibcpp_cv_func___builtin_labs_link=yes
5436 echo "configure
: failed program was
:" >&5
5437 cat conftest.$ac_ext >&5
5439 glibcpp_cv_func___builtin_labs_link=no
5446 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
5447 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
5448 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5449 cat >> confdefs.h <<EOF
5450 #define ${ac_tr_func} 1
5458 echo $ac_n "checking
for __builtin_sqrtf declaration
""...
$ac_c" 1>&6
5459 echo "configure
:5460: checking
for __builtin_sqrtf declaration
" >&5
5460 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
5461 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
5462 echo $ac_n "(cached
) $ac_c" 1>&6
5467 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5468 ac_cpp='$CXXCPP $CPPFLAGS'
5469 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5470 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5471 cross_compiling=$ac_cv_prog_cxx_cross
5473 cat > conftest.$ac_ext <<EOF
5474 #line 5475 "configure
"
5475 #include "confdefs.h
"
5481 if { (eval echo configure:5482: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5483 glibcpp_cv_func___builtin_sqrtf_use=yes
5485 echo "configure
: failed program was
:" >&5
5486 cat conftest.$ac_ext >&5
5488 glibcpp_cv_func___builtin_sqrtf_use=no
5492 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5493 ac_cpp='$CPP $CPPFLAGS'
5494 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5495 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5496 cross_compiling=$ac_cv_prog_cc_cross
5502 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
5503 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
5504 echo $ac_n "checking
for __builtin_sqrtf linkage
""...
$ac_c" 1>&6
5505 echo "configure
:5506: checking
for __builtin_sqrtf linkage
" >&5
5506 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
5507 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
5508 echo $ac_n "(cached
) $ac_c" 1>&6
5511 cat > conftest.$ac_ext <<EOF
5512 #line 5513 "configure
"
5513 #include "confdefs.h
"
5519 if { (eval echo configure:5520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5521 glibcpp_cv_func___builtin_sqrtf_link=yes
5523 echo "configure
: failed program was
:" >&5
5524 cat conftest.$ac_ext >&5
5526 glibcpp_cv_func___builtin_sqrtf_link=no
5533 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
5534 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
5535 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5536 cat >> confdefs.h <<EOF
5537 #define ${ac_tr_func} 1
5544 echo $ac_n "checking
for __builtin_fsqrt declaration
""...
$ac_c" 1>&6
5545 echo "configure
:5546: checking
for __builtin_fsqrt declaration
" >&5
5546 if test x${glibcpp_cv_func___builtin_fsqrt_use+set} != xset; then
5547 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_use'+set}'`\" = set"; then
5548 echo $ac_n "(cached
) $ac_c" 1>&6
5553 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5554 ac_cpp='$CXXCPP $CPPFLAGS'
5555 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5556 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5557 cross_compiling=$ac_cv_prog_cxx_cross
5559 cat > conftest.$ac_ext <<EOF
5560 #line 5561 "configure
"
5561 #include "confdefs.h
"
5567 if { (eval echo configure:5568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5569 glibcpp_cv_func___builtin_fsqrt_use=yes
5571 echo "configure
: failed program was
:" >&5
5572 cat conftest.$ac_ext >&5
5574 glibcpp_cv_func___builtin_fsqrt_use=no
5578 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5579 ac_cpp='$CPP $CPPFLAGS'
5580 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5581 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5582 cross_compiling=$ac_cv_prog_cc_cross
5588 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_use" 1>&6
5589 if test x$glibcpp_cv_func___builtin_fsqrt_use = x"yes"; then
5590 echo $ac_n "checking
for __builtin_fsqrt linkage
""...
$ac_c" 1>&6
5591 echo "configure
:5592: checking
for __builtin_fsqrt linkage
" >&5
5592 if test x${glibcpp_cv_func___builtin_fsqrt_link+set} != xset; then
5593 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_link'+set}'`\" = set"; then
5594 echo $ac_n "(cached
) $ac_c" 1>&6
5597 cat > conftest.$ac_ext <<EOF
5598 #line 5599 "configure
"
5599 #include "confdefs.h
"
5605 if { (eval echo configure:5606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5607 glibcpp_cv_func___builtin_fsqrt_link=yes
5609 echo "configure
: failed program was
:" >&5
5610 cat conftest.$ac_ext >&5
5612 glibcpp_cv_func___builtin_fsqrt_link=no
5619 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_link" 1>&6
5620 if test x$glibcpp_cv_func___builtin_fsqrt_link = x"yes"; then
5621 ac_tr_func=HAVE_`echo __builtin_fsqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5622 cat >> confdefs.h <<EOF
5623 #define ${ac_tr_func} 1
5630 echo $ac_n "checking
for __builtin_sqrtl declaration
""...
$ac_c" 1>&6
5631 echo "configure
:5632: checking
for __builtin_sqrtl declaration
" >&5
5632 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
5633 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
5634 echo $ac_n "(cached
) $ac_c" 1>&6
5639 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5640 ac_cpp='$CXXCPP $CPPFLAGS'
5641 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5642 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5643 cross_compiling=$ac_cv_prog_cxx_cross
5645 cat > conftest.$ac_ext <<EOF
5646 #line 5647 "configure
"
5647 #include "confdefs.h
"
5653 if { (eval echo configure:5654: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5655 glibcpp_cv_func___builtin_sqrtl_use=yes
5657 echo "configure
: failed program was
:" >&5
5658 cat conftest.$ac_ext >&5
5660 glibcpp_cv_func___builtin_sqrtl_use=no
5664 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5665 ac_cpp='$CPP $CPPFLAGS'
5666 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5667 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5668 cross_compiling=$ac_cv_prog_cc_cross
5674 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
5675 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
5676 echo $ac_n "checking
for __builtin_sqrtl linkage
""...
$ac_c" 1>&6
5677 echo "configure
:5678: checking
for __builtin_sqrtl linkage
" >&5
5678 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
5679 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
5680 echo $ac_n "(cached
) $ac_c" 1>&6
5683 cat > conftest.$ac_ext <<EOF
5684 #line 5685 "configure
"
5685 #include "confdefs.h
"
5691 if { (eval echo configure:5692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5693 glibcpp_cv_func___builtin_sqrtl_link=yes
5695 echo "configure
: failed program was
:" >&5
5696 cat conftest.$ac_ext >&5
5698 glibcpp_cv_func___builtin_sqrtl_link=no
5705 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
5706 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
5707 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5708 cat >> confdefs.h <<EOF
5709 #define ${ac_tr_func} 1
5717 echo $ac_n "checking
for __builtin_sinf declaration
""...
$ac_c" 1>&6
5718 echo "configure
:5719: checking
for __builtin_sinf declaration
" >&5
5719 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
5720 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
5721 echo $ac_n "(cached
) $ac_c" 1>&6
5726 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5727 ac_cpp='$CXXCPP $CPPFLAGS'
5728 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5729 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5730 cross_compiling=$ac_cv_prog_cxx_cross
5732 cat > conftest.$ac_ext <<EOF
5733 #line 5734 "configure
"
5734 #include "confdefs.h
"
5740 if { (eval echo configure:5741: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5742 glibcpp_cv_func___builtin_sinf_use=yes
5744 echo "configure
: failed program was
:" >&5
5745 cat conftest.$ac_ext >&5
5747 glibcpp_cv_func___builtin_sinf_use=no
5751 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5752 ac_cpp='$CPP $CPPFLAGS'
5753 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5754 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5755 cross_compiling=$ac_cv_prog_cc_cross
5761 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
5762 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
5763 echo $ac_n "checking
for __builtin_sinf linkage
""...
$ac_c" 1>&6
5764 echo "configure
:5765: checking
for __builtin_sinf linkage
" >&5
5765 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
5766 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
5767 echo $ac_n "(cached
) $ac_c" 1>&6
5770 cat > conftest.$ac_ext <<EOF
5771 #line 5772 "configure
"
5772 #include "confdefs.h
"
5778 if { (eval echo configure:5779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5780 glibcpp_cv_func___builtin_sinf_link=yes
5782 echo "configure
: failed program was
:" >&5
5783 cat conftest.$ac_ext >&5
5785 glibcpp_cv_func___builtin_sinf_link=no
5792 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
5793 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
5794 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5795 cat >> confdefs.h <<EOF
5796 #define ${ac_tr_func} 1
5803 echo $ac_n "checking
for __builtin_sin declaration
""...
$ac_c" 1>&6
5804 echo "configure
:5805: checking
for __builtin_sin declaration
" >&5
5805 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
5806 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
5807 echo $ac_n "(cached
) $ac_c" 1>&6
5812 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5813 ac_cpp='$CXXCPP $CPPFLAGS'
5814 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5815 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5816 cross_compiling=$ac_cv_prog_cxx_cross
5818 cat > conftest.$ac_ext <<EOF
5819 #line 5820 "configure
"
5820 #include "confdefs.h
"
5826 if { (eval echo configure:5827: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5828 glibcpp_cv_func___builtin_sin_use=yes
5830 echo "configure
: failed program was
:" >&5
5831 cat conftest.$ac_ext >&5
5833 glibcpp_cv_func___builtin_sin_use=no
5837 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5838 ac_cpp='$CPP $CPPFLAGS'
5839 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5840 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5841 cross_compiling=$ac_cv_prog_cc_cross
5847 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
5848 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
5849 echo $ac_n "checking
for __builtin_sin linkage
""...
$ac_c" 1>&6
5850 echo "configure
:5851: checking
for __builtin_sin linkage
" >&5
5851 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
5852 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
5853 echo $ac_n "(cached
) $ac_c" 1>&6
5856 cat > conftest.$ac_ext <<EOF
5857 #line 5858 "configure
"
5858 #include "confdefs.h
"
5864 if { (eval echo configure:5865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5866 glibcpp_cv_func___builtin_sin_link=yes
5868 echo "configure
: failed program was
:" >&5
5869 cat conftest.$ac_ext >&5
5871 glibcpp_cv_func___builtin_sin_link=no
5878 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
5879 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
5880 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5881 cat >> confdefs.h <<EOF
5882 #define ${ac_tr_func} 1
5889 echo $ac_n "checking
for __builtin_sinl declaration
""...
$ac_c" 1>&6
5890 echo "configure
:5891: checking
for __builtin_sinl declaration
" >&5
5891 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
5892 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
5893 echo $ac_n "(cached
) $ac_c" 1>&6
5898 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5899 ac_cpp='$CXXCPP $CPPFLAGS'
5900 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5901 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5902 cross_compiling=$ac_cv_prog_cxx_cross
5904 cat > conftest.$ac_ext <<EOF
5905 #line 5906 "configure
"
5906 #include "confdefs.h
"
5912 if { (eval echo configure:5913: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5914 glibcpp_cv_func___builtin_sinl_use=yes
5916 echo "configure
: failed program was
:" >&5
5917 cat conftest.$ac_ext >&5
5919 glibcpp_cv_func___builtin_sinl_use=no
5923 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5924 ac_cpp='$CPP $CPPFLAGS'
5925 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5926 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5927 cross_compiling=$ac_cv_prog_cc_cross
5933 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
5934 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
5935 echo $ac_n "checking
for __builtin_sinl linkage
""...
$ac_c" 1>&6
5936 echo "configure
:5937: checking
for __builtin_sinl linkage
" >&5
5937 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
5938 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
5939 echo $ac_n "(cached
) $ac_c" 1>&6
5942 cat > conftest.$ac_ext <<EOF
5943 #line 5944 "configure
"
5944 #include "confdefs.h
"
5950 if { (eval echo configure:5951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5952 glibcpp_cv_func___builtin_sinl_link=yes
5954 echo "configure
: failed program was
:" >&5
5955 cat conftest.$ac_ext >&5
5957 glibcpp_cv_func___builtin_sinl_link=no
5964 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
5965 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
5966 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5967 cat >> confdefs.h <<EOF
5968 #define ${ac_tr_func} 1
5976 echo $ac_n "checking
for __builtin_cosf declaration
""...
$ac_c" 1>&6
5977 echo "configure
:5978: checking
for __builtin_cosf declaration
" >&5
5978 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
5979 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
5980 echo $ac_n "(cached
) $ac_c" 1>&6
5985 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5986 ac_cpp='$CXXCPP $CPPFLAGS'
5987 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5988 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5989 cross_compiling=$ac_cv_prog_cxx_cross
5991 cat > conftest.$ac_ext <<EOF
5992 #line 5993 "configure
"
5993 #include "confdefs.h
"
5999 if { (eval echo configure:6000: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6001 glibcpp_cv_func___builtin_cosf_use=yes
6003 echo "configure
: failed program was
:" >&5
6004 cat conftest.$ac_ext >&5
6006 glibcpp_cv_func___builtin_cosf_use=no
6010 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6011 ac_cpp='$CPP $CPPFLAGS'
6012 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6013 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6014 cross_compiling=$ac_cv_prog_cc_cross
6020 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
6021 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
6022 echo $ac_n "checking
for __builtin_cosf linkage
""...
$ac_c" 1>&6
6023 echo "configure
:6024: checking
for __builtin_cosf linkage
" >&5
6024 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
6025 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
6026 echo $ac_n "(cached
) $ac_c" 1>&6
6029 cat > conftest.$ac_ext <<EOF
6030 #line 6031 "configure
"
6031 #include "confdefs.h
"
6037 if { (eval echo configure:6038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6039 glibcpp_cv_func___builtin_cosf_link=yes
6041 echo "configure
: failed program was
:" >&5
6042 cat conftest.$ac_ext >&5
6044 glibcpp_cv_func___builtin_cosf_link=no
6051 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
6052 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
6053 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6054 cat >> confdefs.h <<EOF
6055 #define ${ac_tr_func} 1
6062 echo $ac_n "checking
for __builtin_cos declaration
""...
$ac_c" 1>&6
6063 echo "configure
:6064: checking
for __builtin_cos declaration
" >&5
6064 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
6065 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
6066 echo $ac_n "(cached
) $ac_c" 1>&6
6071 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6072 ac_cpp='$CXXCPP $CPPFLAGS'
6073 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6074 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6075 cross_compiling=$ac_cv_prog_cxx_cross
6077 cat > conftest.$ac_ext <<EOF
6078 #line 6079 "configure
"
6079 #include "confdefs.h
"
6085 if { (eval echo configure:6086: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6087 glibcpp_cv_func___builtin_cos_use=yes
6089 echo "configure
: failed program was
:" >&5
6090 cat conftest.$ac_ext >&5
6092 glibcpp_cv_func___builtin_cos_use=no
6096 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6097 ac_cpp='$CPP $CPPFLAGS'
6098 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6099 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6100 cross_compiling=$ac_cv_prog_cc_cross
6106 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
6107 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
6108 echo $ac_n "checking
for __builtin_cos linkage
""...
$ac_c" 1>&6
6109 echo "configure
:6110: checking
for __builtin_cos linkage
" >&5
6110 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
6111 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
6112 echo $ac_n "(cached
) $ac_c" 1>&6
6115 cat > conftest.$ac_ext <<EOF
6116 #line 6117 "configure
"
6117 #include "confdefs.h
"
6123 if { (eval echo configure:6124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6125 glibcpp_cv_func___builtin_cos_link=yes
6127 echo "configure
: failed program was
:" >&5
6128 cat conftest.$ac_ext >&5
6130 glibcpp_cv_func___builtin_cos_link=no
6137 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
6138 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
6139 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6140 cat >> confdefs.h <<EOF
6141 #define ${ac_tr_func} 1
6148 echo $ac_n "checking
for __builtin_cosl declaration
""...
$ac_c" 1>&6
6149 echo "configure
:6150: checking
for __builtin_cosl declaration
" >&5
6150 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
6151 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
6152 echo $ac_n "(cached
) $ac_c" 1>&6
6157 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6158 ac_cpp='$CXXCPP $CPPFLAGS'
6159 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6160 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6161 cross_compiling=$ac_cv_prog_cxx_cross
6163 cat > conftest.$ac_ext <<EOF
6164 #line 6165 "configure
"
6165 #include "confdefs.h
"
6171 if { (eval echo configure:6172: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6173 glibcpp_cv_func___builtin_cosl_use=yes
6175 echo "configure
: failed program was
:" >&5
6176 cat conftest.$ac_ext >&5
6178 glibcpp_cv_func___builtin_cosl_use=no
6182 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6183 ac_cpp='$CPP $CPPFLAGS'
6184 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6185 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6186 cross_compiling=$ac_cv_prog_cc_cross
6192 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
6193 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
6194 echo $ac_n "checking
for __builtin_cosl linkage
""...
$ac_c" 1>&6
6195 echo "configure
:6196: checking
for __builtin_cosl linkage
" >&5
6196 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
6197 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
6198 echo $ac_n "(cached
) $ac_c" 1>&6
6201 cat > conftest.$ac_ext <<EOF
6202 #line 6203 "configure
"
6203 #include "confdefs.h
"
6209 if { (eval echo configure:6210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6211 glibcpp_cv_func___builtin_cosl_link=yes
6213 echo "configure
: failed program was
:" >&5
6214 cat conftest.$ac_ext >&5
6216 glibcpp_cv_func___builtin_cosl_link=no
6223 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
6224 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
6225 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6226 cat >> confdefs.h <<EOF
6227 #define ${ac_tr_func} 1
6235 if test x$dummyvar = x"yes"; then
6236 cat >> confdefs.h <<\EOF
6237 #define HAVE___BUILTIN_ABS 1
6240 cat >> confdefs.h <<\EOF
6241 #define HAVE___BUILTIN_LABS 1
6244 cat >> confdefs.h <<\EOF
6245 #define HAVE___BUILTIN_COS 1
6248 cat >> confdefs.h <<\EOF
6249 #define HAVE___BUILTIN_COSF 1
6252 cat >> confdefs.h <<\EOF
6253 #define HAVE___BUILTIN_COSL 1
6256 cat >> confdefs.h <<\EOF
6257 #define HAVE___BUILTIN_FABS 1
6260 cat >> confdefs.h <<\EOF
6261 #define HAVE___BUILTIN_FABSF 1
6264 cat >> confdefs.h <<\EOF
6265 #define HAVE___BUILTIN_FABSL 1
6268 cat >> confdefs.h <<\EOF
6269 #define HAVE___BUILTIN_SIN 1
6272 cat >> confdefs.h <<\EOF
6273 #define HAVE___BUILTIN_SINF 1
6276 cat >> confdefs.h <<\EOF
6277 #define HAVE___BUILTIN_SINL 1
6280 cat >> confdefs.h <<\EOF
6281 #define HAVE___BUILTIN_FSQRT 1
6284 cat >> confdefs.h <<\EOF
6285 #define HAVE___BUILTIN_SQRTF 1
6288 cat >> confdefs.h <<\EOF
6289 #define HAVE___BUILTIN_SQRTL 1
6295 ac_test_CXXFLAGS="${CXXFLAGS+set}"
6296 ac_save_CXXFLAGS="$CXXFLAGS"
6297 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
6299 echo $ac_n "checking
for sin
in -lm""...
$ac_c" 1>&6
6300 echo "configure
:6301: checking
for sin
in -lm" >&5
6301 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
6302 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6303 echo $ac_n "(cached
) $ac_c" 1>&6
6305 ac_save_LIBS="$LIBS"
6307 cat > conftest.$ac_ext <<EOF
6308 #line 6309 "configure
"
6309 #include "confdefs.h
"
6310 /* Override any gcc2 internal prototype to avoid an error. */
6311 /* We use char because int might match the return type of a gcc2
6312 builtin and then its argument prototype would still apply. */
6319 if { (eval echo configure:6320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6321 eval "ac_cv_lib_
$ac_lib_var=yes"
6323 echo "configure
: failed program was
:" >&5
6324 cat conftest.$ac_ext >&5
6326 eval "ac_cv_lib_
$ac_lib_var=no
"
6329 LIBS="$ac_save_LIBS"
6332 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6333 echo "$ac_t""yes" 1>&6
6336 echo "$ac_t""no
" 1>&6
6339 ac_save_LIBS="$LIBS"
6344 echo $ac_n "checking
for isinf declaration
""...
$ac_c" 1>&6
6345 echo "configure
:6346: checking
for isinf declaration
" >&5
6346 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
6347 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
6348 echo $ac_n "(cached
) $ac_c" 1>&6
6353 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6354 ac_cpp='$CXXCPP $CPPFLAGS'
6355 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6356 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6357 cross_compiling=$ac_cv_prog_cxx_cross
6359 cat > conftest.$ac_ext <<EOF
6360 #line 6361 "configure
"
6361 #include "confdefs.h
"
6363 #ifdef HAVE_IEEEFP_H
6371 if { (eval echo configure:6372: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6373 glibcpp_cv_func_isinf_use=yes
6375 echo "configure
: failed program was
:" >&5
6376 cat conftest.$ac_ext >&5
6378 glibcpp_cv_func_isinf_use=no
6382 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6383 ac_cpp='$CPP $CPPFLAGS'
6384 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6385 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6386 cross_compiling=$ac_cv_prog_cc_cross
6392 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
6394 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
6395 for ac_func in isinf
6397 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6398 echo "configure
:6399: checking
for $ac_func" >&5
6399 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6400 echo $ac_n "(cached
) $ac_c" 1>&6
6402 cat > conftest.$ac_ext <<EOF
6403 #line 6404 "configure
"
6404 #include "confdefs.h
"
6405 /* System header to define __stub macros and hopefully few prototypes,
6406 which can conflict with char $ac_func(); below. */
6408 /* Override any gcc2 internal prototype to avoid an error. */
6409 /* We use char because int might match the return type of a gcc2
6410 builtin and then its argument prototype would still apply. */
6415 /* The GNU C library defines this for functions which it implements
6416 to always fail with ENOSYS. Some functions are actually named
6417 something starting with __ and the normal name is an alias. */
6418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6426 if { (eval echo configure:6427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6428 eval "ac_cv_func_
$ac_func=yes"
6430 echo "configure
: failed program was
:" >&5
6431 cat conftest.$ac_ext >&5
6433 eval "ac_cv_func_
$ac_func=no
"
6438 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6439 echo "$ac_t""yes" 1>&6
6440 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6441 cat >> confdefs.h <<EOF
6442 #define $ac_tr_func 1
6446 echo "$ac_t""no
" 1>&6
6452 echo $ac_n "checking
for _isinf declaration
""...
$ac_c" 1>&6
6453 echo "configure
:6454: checking
for _isinf declaration
" >&5
6454 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
6455 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
6456 echo $ac_n "(cached
) $ac_c" 1>&6
6461 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6462 ac_cpp='$CXXCPP $CPPFLAGS'
6463 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6464 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6465 cross_compiling=$ac_cv_prog_cxx_cross
6467 cat > conftest.$ac_ext <<EOF
6468 #line 6469 "configure
"
6469 #include "confdefs.h
"
6471 #ifdef HAVE_IEEEFP_H
6479 if { (eval echo configure:6480: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6481 glibcpp_cv_func__isinf_use=yes
6483 echo "configure
: failed program was
:" >&5
6484 cat conftest.$ac_ext >&5
6486 glibcpp_cv_func__isinf_use=no
6490 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6491 ac_cpp='$CPP $CPPFLAGS'
6492 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6493 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6494 cross_compiling=$ac_cv_prog_cc_cross
6500 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
6502 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
6503 for ac_func in _isinf
6505 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6506 echo "configure
:6507: checking
for $ac_func" >&5
6507 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6508 echo $ac_n "(cached
) $ac_c" 1>&6
6510 cat > conftest.$ac_ext <<EOF
6511 #line 6512 "configure
"
6512 #include "confdefs.h
"
6513 /* System header to define __stub macros and hopefully few prototypes,
6514 which can conflict with char $ac_func(); below. */
6516 /* Override any gcc2 internal prototype to avoid an error. */
6517 /* We use char because int might match the return type of a gcc2
6518 builtin and then its argument prototype would still apply. */
6523 /* The GNU C library defines this for functions which it implements
6524 to always fail with ENOSYS. Some functions are actually named
6525 something starting with __ and the normal name is an alias. */
6526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6534 if { (eval echo configure:6535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6536 eval "ac_cv_func_
$ac_func=yes"
6538 echo "configure
: failed program was
:" >&5
6539 cat conftest.$ac_ext >&5
6541 eval "ac_cv_func_
$ac_func=no
"
6546 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6547 echo "$ac_t""yes" 1>&6
6548 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6549 cat >> confdefs.h <<EOF
6550 #define $ac_tr_func 1
6554 echo "$ac_t""no
" 1>&6
6563 echo $ac_n "checking
for isnan declaration
""...
$ac_c" 1>&6
6564 echo "configure
:6565: checking
for isnan declaration
" >&5
6565 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
6566 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
6567 echo $ac_n "(cached
) $ac_c" 1>&6
6572 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6573 ac_cpp='$CXXCPP $CPPFLAGS'
6574 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6575 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6576 cross_compiling=$ac_cv_prog_cxx_cross
6578 cat > conftest.$ac_ext <<EOF
6579 #line 6580 "configure
"
6580 #include "confdefs.h
"
6582 #ifdef HAVE_IEEEFP_H
6590 if { (eval echo configure:6591: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6592 glibcpp_cv_func_isnan_use=yes
6594 echo "configure
: failed program was
:" >&5
6595 cat conftest.$ac_ext >&5
6597 glibcpp_cv_func_isnan_use=no
6601 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6602 ac_cpp='$CPP $CPPFLAGS'
6603 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6604 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6605 cross_compiling=$ac_cv_prog_cc_cross
6611 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
6613 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
6614 for ac_func in isnan
6616 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6617 echo "configure
:6618: checking
for $ac_func" >&5
6618 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6619 echo $ac_n "(cached
) $ac_c" 1>&6
6621 cat > conftest.$ac_ext <<EOF
6622 #line 6623 "configure
"
6623 #include "confdefs.h
"
6624 /* System header to define __stub macros and hopefully few prototypes,
6625 which can conflict with char $ac_func(); below. */
6627 /* Override any gcc2 internal prototype to avoid an error. */
6628 /* We use char because int might match the return type of a gcc2
6629 builtin and then its argument prototype would still apply. */
6634 /* The GNU C library defines this for functions which it implements
6635 to always fail with ENOSYS. Some functions are actually named
6636 something starting with __ and the normal name is an alias. */
6637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6645 if { (eval echo configure:6646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6647 eval "ac_cv_func_
$ac_func=yes"
6649 echo "configure
: failed program was
:" >&5
6650 cat conftest.$ac_ext >&5
6652 eval "ac_cv_func_
$ac_func=no
"
6657 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6658 echo "$ac_t""yes" 1>&6
6659 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6660 cat >> confdefs.h <<EOF
6661 #define $ac_tr_func 1
6665 echo "$ac_t""no
" 1>&6
6671 echo $ac_n "checking
for _isnan declaration
""...
$ac_c" 1>&6
6672 echo "configure
:6673: checking
for _isnan declaration
" >&5
6673 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
6674 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
6675 echo $ac_n "(cached
) $ac_c" 1>&6
6680 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6681 ac_cpp='$CXXCPP $CPPFLAGS'
6682 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6683 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6684 cross_compiling=$ac_cv_prog_cxx_cross
6686 cat > conftest.$ac_ext <<EOF
6687 #line 6688 "configure
"
6688 #include "confdefs.h
"
6690 #ifdef HAVE_IEEEFP_H
6698 if { (eval echo configure:6699: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6700 glibcpp_cv_func__isnan_use=yes
6702 echo "configure
: failed program was
:" >&5
6703 cat conftest.$ac_ext >&5
6705 glibcpp_cv_func__isnan_use=no
6709 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6710 ac_cpp='$CPP $CPPFLAGS'
6711 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6712 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6713 cross_compiling=$ac_cv_prog_cc_cross
6719 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
6721 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
6722 for ac_func in _isnan
6724 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6725 echo "configure
:6726: checking
for $ac_func" >&5
6726 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6727 echo $ac_n "(cached
) $ac_c" 1>&6
6729 cat > conftest.$ac_ext <<EOF
6730 #line 6731 "configure
"
6731 #include "confdefs.h
"
6732 /* System header to define __stub macros and hopefully few prototypes,
6733 which can conflict with char $ac_func(); below. */
6735 /* Override any gcc2 internal prototype to avoid an error. */
6736 /* We use char because int might match the return type of a gcc2
6737 builtin and then its argument prototype would still apply. */
6742 /* The GNU C library defines this for functions which it implements
6743 to always fail with ENOSYS. Some functions are actually named
6744 something starting with __ and the normal name is an alias. */
6745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6753 if { (eval echo configure:6754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6755 eval "ac_cv_func_
$ac_func=yes"
6757 echo "configure
: failed program was
:" >&5
6758 cat conftest.$ac_ext >&5
6760 eval "ac_cv_func_
$ac_func=no
"
6765 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6766 echo "$ac_t""yes" 1>&6
6767 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6768 cat >> confdefs.h <<EOF
6769 #define $ac_tr_func 1
6773 echo "$ac_t""no
" 1>&6
6782 echo $ac_n "checking
for finite declaration
""...
$ac_c" 1>&6
6783 echo "configure
:6784: checking
for finite declaration
" >&5
6784 if test x${glibcpp_cv_func_finite_use+set} != xset; then
6785 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
6786 echo $ac_n "(cached
) $ac_c" 1>&6
6791 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6792 ac_cpp='$CXXCPP $CPPFLAGS'
6793 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6794 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6795 cross_compiling=$ac_cv_prog_cxx_cross
6797 cat > conftest.$ac_ext <<EOF
6798 #line 6799 "configure
"
6799 #include "confdefs.h
"
6801 #ifdef HAVE_IEEEFP_H
6809 if { (eval echo configure:6810: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6811 glibcpp_cv_func_finite_use=yes
6813 echo "configure
: failed program was
:" >&5
6814 cat conftest.$ac_ext >&5
6816 glibcpp_cv_func_finite_use=no
6820 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6821 ac_cpp='$CPP $CPPFLAGS'
6822 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6823 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6824 cross_compiling=$ac_cv_prog_cc_cross
6830 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
6832 if test x$glibcpp_cv_func_finite_use = x"yes"; then
6833 for ac_func in finite
6835 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6836 echo "configure
:6837: checking
for $ac_func" >&5
6837 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6838 echo $ac_n "(cached
) $ac_c" 1>&6
6840 cat > conftest.$ac_ext <<EOF
6841 #line 6842 "configure
"
6842 #include "confdefs.h
"
6843 /* System header to define __stub macros and hopefully few prototypes,
6844 which can conflict with char $ac_func(); below. */
6846 /* Override any gcc2 internal prototype to avoid an error. */
6847 /* We use char because int might match the return type of a gcc2
6848 builtin and then its argument prototype would still apply. */
6853 /* The GNU C library defines this for functions which it implements
6854 to always fail with ENOSYS. Some functions are actually named
6855 something starting with __ and the normal name is an alias. */
6856 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6864 if { (eval echo configure:6865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6866 eval "ac_cv_func_
$ac_func=yes"
6868 echo "configure
: failed program was
:" >&5
6869 cat conftest.$ac_ext >&5
6871 eval "ac_cv_func_
$ac_func=no
"
6876 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6877 echo "$ac_t""yes" 1>&6
6878 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6879 cat >> confdefs.h <<EOF
6880 #define $ac_tr_func 1
6884 echo "$ac_t""no
" 1>&6
6890 echo $ac_n "checking
for _finite declaration
""...
$ac_c" 1>&6
6891 echo "configure
:6892: checking
for _finite declaration
" >&5
6892 if test x${glibcpp_cv_func__finite_use+set} != xset; then
6893 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
6894 echo $ac_n "(cached
) $ac_c" 1>&6
6899 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6900 ac_cpp='$CXXCPP $CPPFLAGS'
6901 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6902 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6903 cross_compiling=$ac_cv_prog_cxx_cross
6905 cat > conftest.$ac_ext <<EOF
6906 #line 6907 "configure
"
6907 #include "confdefs.h
"
6909 #ifdef HAVE_IEEEFP_H
6917 if { (eval echo configure:6918: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6919 glibcpp_cv_func__finite_use=yes
6921 echo "configure
: failed program was
:" >&5
6922 cat conftest.$ac_ext >&5
6924 glibcpp_cv_func__finite_use=no
6928 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6929 ac_cpp='$CPP $CPPFLAGS'
6930 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6931 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6932 cross_compiling=$ac_cv_prog_cc_cross
6938 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
6940 if test x$glibcpp_cv_func__finite_use = x"yes"; then
6941 for ac_func in _finite
6943 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6944 echo "configure
:6945: checking
for $ac_func" >&5
6945 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6946 echo $ac_n "(cached
) $ac_c" 1>&6
6948 cat > conftest.$ac_ext <<EOF
6949 #line 6950 "configure
"
6950 #include "confdefs.h
"
6951 /* System header to define __stub macros and hopefully few prototypes,
6952 which can conflict with char $ac_func(); below. */
6954 /* Override any gcc2 internal prototype to avoid an error. */
6955 /* We use char because int might match the return type of a gcc2
6956 builtin and then its argument prototype would still apply. */
6961 /* The GNU C library defines this for functions which it implements
6962 to always fail with ENOSYS. Some functions are actually named
6963 something starting with __ and the normal name is an alias. */
6964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6972 if { (eval echo configure:6973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6974 eval "ac_cv_func_
$ac_func=yes"
6976 echo "configure
: failed program was
:" >&5
6977 cat conftest.$ac_ext >&5
6979 eval "ac_cv_func_
$ac_func=no
"
6984 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6985 echo "$ac_t""yes" 1>&6
6986 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6987 cat >> confdefs.h <<EOF
6988 #define $ac_tr_func 1
6992 echo "$ac_t""no
" 1>&6
7001 echo $ac_n "checking
for copysign declaration
""...
$ac_c" 1>&6
7002 echo "configure
:7003: checking
for copysign declaration
" >&5
7003 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
7004 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
7005 echo $ac_n "(cached
) $ac_c" 1>&6
7010 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7011 ac_cpp='$CXXCPP $CPPFLAGS'
7012 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7013 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7014 cross_compiling=$ac_cv_prog_cxx_cross
7016 cat > conftest.$ac_ext <<EOF
7017 #line 7018 "configure
"
7018 #include "confdefs.h
"
7024 if { (eval echo configure:7025: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7026 glibcpp_cv_func_copysign_use=yes
7028 echo "configure
: failed program was
:" >&5
7029 cat conftest.$ac_ext >&5
7031 glibcpp_cv_func_copysign_use=no
7035 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7036 ac_cpp='$CPP $CPPFLAGS'
7037 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7038 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7039 cross_compiling=$ac_cv_prog_cc_cross
7045 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
7047 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
7048 for ac_func in copysign
7050 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7051 echo "configure
:7052: checking
for $ac_func" >&5
7052 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7053 echo $ac_n "(cached
) $ac_c" 1>&6
7055 cat > conftest.$ac_ext <<EOF
7056 #line 7057 "configure
"
7057 #include "confdefs.h
"
7058 /* System header to define __stub macros and hopefully few prototypes,
7059 which can conflict with char $ac_func(); below. */
7061 /* Override any gcc2 internal prototype to avoid an error. */
7062 /* We use char because int might match the return type of a gcc2
7063 builtin and then its argument prototype would still apply. */
7068 /* The GNU C library defines this for functions which it implements
7069 to always fail with ENOSYS. Some functions are actually named
7070 something starting with __ and the normal name is an alias. */
7071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7079 if { (eval echo configure:7080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7081 eval "ac_cv_func_
$ac_func=yes"
7083 echo "configure
: failed program was
:" >&5
7084 cat conftest.$ac_ext >&5
7086 eval "ac_cv_func_
$ac_func=no
"
7091 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7092 echo "$ac_t""yes" 1>&6
7093 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7094 cat >> confdefs.h <<EOF
7095 #define $ac_tr_func 1
7099 echo "$ac_t""no
" 1>&6
7105 echo $ac_n "checking
for _copysign declaration
""...
$ac_c" 1>&6
7106 echo "configure
:7107: checking
for _copysign declaration
" >&5
7107 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
7108 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
7109 echo $ac_n "(cached
) $ac_c" 1>&6
7114 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7115 ac_cpp='$CXXCPP $CPPFLAGS'
7116 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7117 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7118 cross_compiling=$ac_cv_prog_cxx_cross
7120 cat > conftest.$ac_ext <<EOF
7121 #line 7122 "configure
"
7122 #include "confdefs.h
"
7128 if { (eval echo configure:7129: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7130 glibcpp_cv_func__copysign_use=yes
7132 echo "configure
: failed program was
:" >&5
7133 cat conftest.$ac_ext >&5
7135 glibcpp_cv_func__copysign_use=no
7139 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7140 ac_cpp='$CPP $CPPFLAGS'
7141 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7142 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7143 cross_compiling=$ac_cv_prog_cc_cross
7149 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
7151 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
7152 for ac_func in _copysign
7154 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7155 echo "configure
:7156: checking
for $ac_func" >&5
7156 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7157 echo $ac_n "(cached
) $ac_c" 1>&6
7159 cat > conftest.$ac_ext <<EOF
7160 #line 7161 "configure
"
7161 #include "confdefs.h
"
7162 /* System header to define __stub macros and hopefully few prototypes,
7163 which can conflict with char $ac_func(); below. */
7165 /* Override any gcc2 internal prototype to avoid an error. */
7166 /* We use char because int might match the return type of a gcc2
7167 builtin and then its argument prototype would still apply. */
7172 /* The GNU C library defines this for functions which it implements
7173 to always fail with ENOSYS. Some functions are actually named
7174 something starting with __ and the normal name is an alias. */
7175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7183 if { (eval echo configure:7184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7185 eval "ac_cv_func_
$ac_func=yes"
7187 echo "configure
: failed program was
:" >&5
7188 cat conftest.$ac_ext >&5
7190 eval "ac_cv_func_
$ac_func=no
"
7195 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7196 echo "$ac_t""yes" 1>&6
7197 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7198 cat >> confdefs.h <<EOF
7199 #define $ac_tr_func 1
7203 echo "$ac_t""no
" 1>&6
7212 echo $ac_n "checking
for sincos declaration
""...
$ac_c" 1>&6
7213 echo "configure
:7214: checking
for sincos declaration
" >&5
7214 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
7215 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
7216 echo $ac_n "(cached
) $ac_c" 1>&6
7221 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7222 ac_cpp='$CXXCPP $CPPFLAGS'
7223 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7224 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7225 cross_compiling=$ac_cv_prog_cxx_cross
7227 cat > conftest.$ac_ext <<EOF
7228 #line 7229 "configure
"
7229 #include "confdefs.h
"
7235 if { (eval echo configure:7236: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7237 glibcpp_cv_func_sincos_use=yes
7239 echo "configure
: failed program was
:" >&5
7240 cat conftest.$ac_ext >&5
7242 glibcpp_cv_func_sincos_use=no
7246 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7247 ac_cpp='$CPP $CPPFLAGS'
7248 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7249 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7250 cross_compiling=$ac_cv_prog_cc_cross
7256 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
7258 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
7259 for ac_func in sincos
7261 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7262 echo "configure
:7263: checking
for $ac_func" >&5
7263 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7264 echo $ac_n "(cached
) $ac_c" 1>&6
7266 cat > conftest.$ac_ext <<EOF
7267 #line 7268 "configure
"
7268 #include "confdefs.h
"
7269 /* System header to define __stub macros and hopefully few prototypes,
7270 which can conflict with char $ac_func(); below. */
7272 /* Override any gcc2 internal prototype to avoid an error. */
7273 /* We use char because int might match the return type of a gcc2
7274 builtin and then its argument prototype would still apply. */
7279 /* The GNU C library defines this for functions which it implements
7280 to always fail with ENOSYS. Some functions are actually named
7281 something starting with __ and the normal name is an alias. */
7282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7290 if { (eval echo configure:7291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7292 eval "ac_cv_func_
$ac_func=yes"
7294 echo "configure
: failed program was
:" >&5
7295 cat conftest.$ac_ext >&5
7297 eval "ac_cv_func_
$ac_func=no
"
7302 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7303 echo "$ac_t""yes" 1>&6
7304 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7305 cat >> confdefs.h <<EOF
7306 #define $ac_tr_func 1
7310 echo "$ac_t""no
" 1>&6
7316 echo $ac_n "checking
for _sincos declaration
""...
$ac_c" 1>&6
7317 echo "configure
:7318: checking
for _sincos declaration
" >&5
7318 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
7319 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
7320 echo $ac_n "(cached
) $ac_c" 1>&6
7325 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7326 ac_cpp='$CXXCPP $CPPFLAGS'
7327 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7328 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7329 cross_compiling=$ac_cv_prog_cxx_cross
7331 cat > conftest.$ac_ext <<EOF
7332 #line 7333 "configure
"
7333 #include "confdefs.h
"
7339 if { (eval echo configure:7340: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7341 glibcpp_cv_func__sincos_use=yes
7343 echo "configure
: failed program was
:" >&5
7344 cat conftest.$ac_ext >&5
7346 glibcpp_cv_func__sincos_use=no
7350 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7351 ac_cpp='$CPP $CPPFLAGS'
7352 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7353 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7354 cross_compiling=$ac_cv_prog_cc_cross
7360 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
7362 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
7363 for ac_func in _sincos
7365 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7366 echo "configure
:7367: checking
for $ac_func" >&5
7367 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7368 echo $ac_n "(cached
) $ac_c" 1>&6
7370 cat > conftest.$ac_ext <<EOF
7371 #line 7372 "configure
"
7372 #include "confdefs.h
"
7373 /* System header to define __stub macros and hopefully few prototypes,
7374 which can conflict with char $ac_func(); below. */
7376 /* Override any gcc2 internal prototype to avoid an error. */
7377 /* We use char because int might match the return type of a gcc2
7378 builtin and then its argument prototype would still apply. */
7383 /* The GNU C library defines this for functions which it implements
7384 to always fail with ENOSYS. Some functions are actually named
7385 something starting with __ and the normal name is an alias. */
7386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7394 if { (eval echo configure:7395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7396 eval "ac_cv_func_
$ac_func=yes"
7398 echo "configure
: failed program was
:" >&5
7399 cat conftest.$ac_ext >&5
7401 eval "ac_cv_func_
$ac_func=no
"
7406 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7407 echo "$ac_t""yes" 1>&6
7408 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7409 cat >> confdefs.h <<EOF
7410 #define $ac_tr_func 1
7414 echo "$ac_t""no
" 1>&6
7423 echo $ac_n "checking
for fpclass declaration
""...
$ac_c" 1>&6
7424 echo "configure
:7425: checking
for fpclass declaration
" >&5
7425 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
7426 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
7427 echo $ac_n "(cached
) $ac_c" 1>&6
7432 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7433 ac_cpp='$CXXCPP $CPPFLAGS'
7434 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7435 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7436 cross_compiling=$ac_cv_prog_cxx_cross
7438 cat > conftest.$ac_ext <<EOF
7439 #line 7440 "configure
"
7440 #include "confdefs.h
"
7442 #ifdef HAVE_IEEEFP_H
7450 if { (eval echo configure:7451: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7452 glibcpp_cv_func_fpclass_use=yes
7454 echo "configure
: failed program was
:" >&5
7455 cat conftest.$ac_ext >&5
7457 glibcpp_cv_func_fpclass_use=no
7461 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7462 ac_cpp='$CPP $CPPFLAGS'
7463 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7464 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7465 cross_compiling=$ac_cv_prog_cc_cross
7471 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
7473 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
7474 for ac_func in fpclass
7476 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7477 echo "configure
:7478: checking
for $ac_func" >&5
7478 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7479 echo $ac_n "(cached
) $ac_c" 1>&6
7481 cat > conftest.$ac_ext <<EOF
7482 #line 7483 "configure
"
7483 #include "confdefs.h
"
7484 /* System header to define __stub macros and hopefully few prototypes,
7485 which can conflict with char $ac_func(); below. */
7487 /* Override any gcc2 internal prototype to avoid an error. */
7488 /* We use char because int might match the return type of a gcc2
7489 builtin and then its argument prototype would still apply. */
7494 /* The GNU C library defines this for functions which it implements
7495 to always fail with ENOSYS. Some functions are actually named
7496 something starting with __ and the normal name is an alias. */
7497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7505 if { (eval echo configure:7506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7507 eval "ac_cv_func_
$ac_func=yes"
7509 echo "configure
: failed program was
:" >&5
7510 cat conftest.$ac_ext >&5
7512 eval "ac_cv_func_
$ac_func=no
"
7517 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7518 echo "$ac_t""yes" 1>&6
7519 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7520 cat >> confdefs.h <<EOF
7521 #define $ac_tr_func 1
7525 echo "$ac_t""no
" 1>&6
7531 echo $ac_n "checking
for _fpclass declaration
""...
$ac_c" 1>&6
7532 echo "configure
:7533: checking
for _fpclass declaration
" >&5
7533 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
7534 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
7535 echo $ac_n "(cached
) $ac_c" 1>&6
7540 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7541 ac_cpp='$CXXCPP $CPPFLAGS'
7542 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7543 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7544 cross_compiling=$ac_cv_prog_cxx_cross
7546 cat > conftest.$ac_ext <<EOF
7547 #line 7548 "configure
"
7548 #include "confdefs.h
"
7550 #ifdef HAVE_IEEEFP_H
7558 if { (eval echo configure:7559: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7560 glibcpp_cv_func__fpclass_use=yes
7562 echo "configure
: failed program was
:" >&5
7563 cat conftest.$ac_ext >&5
7565 glibcpp_cv_func__fpclass_use=no
7569 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7570 ac_cpp='$CPP $CPPFLAGS'
7571 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7572 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7573 cross_compiling=$ac_cv_prog_cc_cross
7579 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
7581 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
7582 for ac_func in _fpclass
7584 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7585 echo "configure
:7586: checking
for $ac_func" >&5
7586 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7587 echo $ac_n "(cached
) $ac_c" 1>&6
7589 cat > conftest.$ac_ext <<EOF
7590 #line 7591 "configure
"
7591 #include "confdefs.h
"
7592 /* System header to define __stub macros and hopefully few prototypes,
7593 which can conflict with char $ac_func(); below. */
7595 /* Override any gcc2 internal prototype to avoid an error. */
7596 /* We use char because int might match the return type of a gcc2
7597 builtin and then its argument prototype would still apply. */
7602 /* The GNU C library defines this for functions which it implements
7603 to always fail with ENOSYS. Some functions are actually named
7604 something starting with __ and the normal name is an alias. */
7605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7613 if { (eval echo configure:7614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7615 eval "ac_cv_func_
$ac_func=yes"
7617 echo "configure
: failed program was
:" >&5
7618 cat conftest.$ac_ext >&5
7620 eval "ac_cv_func_
$ac_func=no
"
7625 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7626 echo "$ac_t""yes" 1>&6
7627 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7628 cat >> confdefs.h <<EOF
7629 #define $ac_tr_func 1
7633 echo "$ac_t""no
" 1>&6
7642 echo $ac_n "checking
for qfpclass declaration
""...
$ac_c" 1>&6
7643 echo "configure
:7644: checking
for qfpclass declaration
" >&5
7644 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
7645 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
7646 echo $ac_n "(cached
) $ac_c" 1>&6
7651 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7652 ac_cpp='$CXXCPP $CPPFLAGS'
7653 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7654 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7655 cross_compiling=$ac_cv_prog_cxx_cross
7657 cat > conftest.$ac_ext <<EOF
7658 #line 7659 "configure
"
7659 #include "confdefs.h
"
7661 #ifdef HAVE_IEEEFP_H
7669 if { (eval echo configure:7670: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7671 glibcpp_cv_func_qfpclass_use=yes
7673 echo "configure
: failed program was
:" >&5
7674 cat conftest.$ac_ext >&5
7676 glibcpp_cv_func_qfpclass_use=no
7680 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7681 ac_cpp='$CPP $CPPFLAGS'
7682 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7683 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7684 cross_compiling=$ac_cv_prog_cc_cross
7690 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
7692 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
7693 for ac_func in qfpclass
7695 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7696 echo "configure
:7697: checking
for $ac_func" >&5
7697 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7698 echo $ac_n "(cached
) $ac_c" 1>&6
7700 cat > conftest.$ac_ext <<EOF
7701 #line 7702 "configure
"
7702 #include "confdefs.h
"
7703 /* System header to define __stub macros and hopefully few prototypes,
7704 which can conflict with char $ac_func(); below. */
7706 /* Override any gcc2 internal prototype to avoid an error. */
7707 /* We use char because int might match the return type of a gcc2
7708 builtin and then its argument prototype would still apply. */
7713 /* The GNU C library defines this for functions which it implements
7714 to always fail with ENOSYS. Some functions are actually named
7715 something starting with __ and the normal name is an alias. */
7716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7724 if { (eval echo configure:7725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7726 eval "ac_cv_func_
$ac_func=yes"
7728 echo "configure
: failed program was
:" >&5
7729 cat conftest.$ac_ext >&5
7731 eval "ac_cv_func_
$ac_func=no
"
7736 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7737 echo "$ac_t""yes" 1>&6
7738 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7739 cat >> confdefs.h <<EOF
7740 #define $ac_tr_func 1
7744 echo "$ac_t""no
" 1>&6
7750 echo $ac_n "checking
for _qfpclass declaration
""...
$ac_c" 1>&6
7751 echo "configure
:7752: checking
for _qfpclass declaration
" >&5
7752 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
7753 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
7754 echo $ac_n "(cached
) $ac_c" 1>&6
7759 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7760 ac_cpp='$CXXCPP $CPPFLAGS'
7761 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7762 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7763 cross_compiling=$ac_cv_prog_cxx_cross
7765 cat > conftest.$ac_ext <<EOF
7766 #line 7767 "configure
"
7767 #include "confdefs.h
"
7769 #ifdef HAVE_IEEEFP_H
7777 if { (eval echo configure:7778: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7779 glibcpp_cv_func__qfpclass_use=yes
7781 echo "configure
: failed program was
:" >&5
7782 cat conftest.$ac_ext >&5
7784 glibcpp_cv_func__qfpclass_use=no
7788 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7789 ac_cpp='$CPP $CPPFLAGS'
7790 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7791 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7792 cross_compiling=$ac_cv_prog_cc_cross
7798 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
7800 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
7801 for ac_func in _qfpclass
7803 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7804 echo "configure
:7805: checking
for $ac_func" >&5
7805 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7806 echo $ac_n "(cached
) $ac_c" 1>&6
7808 cat > conftest.$ac_ext <<EOF
7809 #line 7810 "configure
"
7810 #include "confdefs.h
"
7811 /* System header to define __stub macros and hopefully few prototypes,
7812 which can conflict with char $ac_func(); below. */
7814 /* Override any gcc2 internal prototype to avoid an error. */
7815 /* We use char because int might match the return type of a gcc2
7816 builtin and then its argument prototype would still apply. */
7821 /* The GNU C library defines this for functions which it implements
7822 to always fail with ENOSYS. Some functions are actually named
7823 something starting with __ and the normal name is an alias. */
7824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7832 if { (eval echo configure:7833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7834 eval "ac_cv_func_
$ac_func=yes"
7836 echo "configure
: failed program was
:" >&5
7837 cat conftest.$ac_ext >&5
7839 eval "ac_cv_func_
$ac_func=no
"
7844 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7845 echo "$ac_t""yes" 1>&6
7846 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7847 cat >> confdefs.h <<EOF
7848 #define $ac_tr_func 1
7852 echo "$ac_t""no
" 1>&6
7861 echo $ac_n "checking
for hypot declaration
""...
$ac_c" 1>&6
7862 echo "configure
:7863: checking
for hypot declaration
" >&5
7863 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
7864 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
7865 echo $ac_n "(cached
) $ac_c" 1>&6
7870 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7871 ac_cpp='$CXXCPP $CPPFLAGS'
7872 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7873 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7874 cross_compiling=$ac_cv_prog_cxx_cross
7876 cat > conftest.$ac_ext <<EOF
7877 #line 7878 "configure
"
7878 #include "confdefs.h
"
7884 if { (eval echo configure:7885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7886 glibcpp_cv_func_hypot_use=yes
7888 echo "configure
: failed program was
:" >&5
7889 cat conftest.$ac_ext >&5
7891 glibcpp_cv_func_hypot_use=no
7895 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7896 ac_cpp='$CPP $CPPFLAGS'
7897 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7898 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7899 cross_compiling=$ac_cv_prog_cc_cross
7905 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
7907 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
7908 for ac_func in hypot
7910 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7911 echo "configure
:7912: checking
for $ac_func" >&5
7912 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7913 echo $ac_n "(cached
) $ac_c" 1>&6
7915 cat > conftest.$ac_ext <<EOF
7916 #line 7917 "configure
"
7917 #include "confdefs.h
"
7918 /* System header to define __stub macros and hopefully few prototypes,
7919 which can conflict with char $ac_func(); below. */
7921 /* Override any gcc2 internal prototype to avoid an error. */
7922 /* We use char because int might match the return type of a gcc2
7923 builtin and then its argument prototype would still apply. */
7928 /* The GNU C library defines this for functions which it implements
7929 to always fail with ENOSYS. Some functions are actually named
7930 something starting with __ and the normal name is an alias. */
7931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7939 if { (eval echo configure:7940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7941 eval "ac_cv_func_
$ac_func=yes"
7943 echo "configure
: failed program was
:" >&5
7944 cat conftest.$ac_ext >&5
7946 eval "ac_cv_func_
$ac_func=no
"
7951 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7952 echo "$ac_t""yes" 1>&6
7953 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7954 cat >> confdefs.h <<EOF
7955 #define $ac_tr_func 1
7959 echo "$ac_t""no
" 1>&6
7965 echo $ac_n "checking
for _hypot declaration
""...
$ac_c" 1>&6
7966 echo "configure
:7967: checking
for _hypot declaration
" >&5
7967 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
7968 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
7969 echo $ac_n "(cached
) $ac_c" 1>&6
7974 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7975 ac_cpp='$CXXCPP $CPPFLAGS'
7976 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7977 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7978 cross_compiling=$ac_cv_prog_cxx_cross
7980 cat > conftest.$ac_ext <<EOF
7981 #line 7982 "configure
"
7982 #include "confdefs.h
"
7988 if { (eval echo configure:7989: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7990 glibcpp_cv_func__hypot_use=yes
7992 echo "configure
: failed program was
:" >&5
7993 cat conftest.$ac_ext >&5
7995 glibcpp_cv_func__hypot_use=no
7999 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8000 ac_cpp='$CPP $CPPFLAGS'
8001 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8002 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8003 cross_compiling=$ac_cv_prog_cc_cross
8009 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
8011 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
8012 for ac_func in _hypot
8014 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8015 echo "configure
:8016: checking
for $ac_func" >&5
8016 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8017 echo $ac_n "(cached
) $ac_c" 1>&6
8019 cat > conftest.$ac_ext <<EOF
8020 #line 8021 "configure
"
8021 #include "confdefs.h
"
8022 /* System header to define __stub macros and hopefully few prototypes,
8023 which can conflict with char $ac_func(); below. */
8025 /* Override any gcc2 internal prototype to avoid an error. */
8026 /* We use char because int might match the return type of a gcc2
8027 builtin and then its argument prototype would still apply. */
8032 /* The GNU C library defines this for functions which it implements
8033 to always fail with ENOSYS. Some functions are actually named
8034 something starting with __ and the normal name is an alias. */
8035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8043 if { (eval echo configure:8044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8045 eval "ac_cv_func_
$ac_func=yes"
8047 echo "configure
: failed program was
:" >&5
8048 cat conftest.$ac_ext >&5
8050 eval "ac_cv_func_
$ac_func=no
"
8055 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8056 echo "$ac_t""yes" 1>&6
8057 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8058 cat >> confdefs.h <<EOF
8059 #define $ac_tr_func 1
8063 echo "$ac_t""no
" 1>&6
8072 echo $ac_n "checking
for float trig functions
""...
$ac_c" 1>&6
8073 echo "configure
:8074: checking
for float trig functions
" >&5
8074 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
8075 echo $ac_n "(cached
) $ac_c" 1>&6
8080 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8081 ac_cpp='$CXXCPP $CPPFLAGS'
8082 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8083 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8084 cross_compiling=$ac_cv_prog_cxx_cross
8086 cat > conftest.$ac_ext <<EOF
8087 #line 8088 "configure
"
8088 #include "confdefs.h
"
8091 `for x in acosf asinf atanf \
8093 coshf sinhf tanhf; do echo "$x (0);"; done`
8096 if { (eval echo configure:8097: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8098 glibcpp_cv_func_float_trig_use=yes
8100 echo "configure
: failed program was
:" >&5
8101 cat conftest.$ac_ext >&5
8103 glibcpp_cv_func_float_trig_use=no
8107 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8108 ac_cpp='$CPP $CPPFLAGS'
8109 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8110 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8111 cross_compiling=$ac_cv_prog_cc_cross
8115 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
8116 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
8117 for ac_func in acosf asinf atanf \
8121 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8122 echo "configure
:8123: checking
for $ac_func" >&5
8123 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8124 echo $ac_n "(cached
) $ac_c" 1>&6
8126 cat > conftest.$ac_ext <<EOF
8127 #line 8128 "configure
"
8128 #include "confdefs.h
"
8129 /* System header to define __stub macros and hopefully few prototypes,
8130 which can conflict with char $ac_func(); below. */
8132 /* Override any gcc2 internal prototype to avoid an error. */
8133 /* We use char because int might match the return type of a gcc2
8134 builtin and then its argument prototype would still apply. */
8139 /* The GNU C library defines this for functions which it implements
8140 to always fail with ENOSYS. Some functions are actually named
8141 something starting with __ and the normal name is an alias. */
8142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8150 if { (eval echo configure:8151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8152 eval "ac_cv_func_
$ac_func=yes"
8154 echo "configure
: failed program was
:" >&5
8155 cat conftest.$ac_ext >&5
8157 eval "ac_cv_func_
$ac_func=no
"
8162 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8163 echo "$ac_t""yes" 1>&6
8164 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8165 cat >> confdefs.h <<EOF
8166 #define $ac_tr_func 1
8170 echo "$ac_t""no
" 1>&6
8177 echo $ac_n "checking
for float round functions
""...
$ac_c" 1>&6
8178 echo "configure
:8179: checking
for float round functions
" >&5
8179 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
8180 echo $ac_n "(cached
) $ac_c" 1>&6
8185 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8186 ac_cpp='$CXXCPP $CPPFLAGS'
8187 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8188 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8189 cross_compiling=$ac_cv_prog_cxx_cross
8191 cat > conftest.$ac_ext <<EOF
8192 #line 8193 "configure
"
8193 #include "confdefs.h
"
8196 `for x in ceilf floorf; do echo "$x (0);"; done`
8199 if { (eval echo configure:8200: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8201 glibcpp_cv_func_float_round_use=yes
8203 echo "configure
: failed program was
:" >&5
8204 cat conftest.$ac_ext >&5
8206 glibcpp_cv_func_float_round_use=no
8210 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8211 ac_cpp='$CPP $CPPFLAGS'
8212 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8213 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8214 cross_compiling=$ac_cv_prog_cc_cross
8218 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
8219 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
8220 for ac_func in ceilf floorf
8222 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8223 echo "configure
:8224: checking
for $ac_func" >&5
8224 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8225 echo $ac_n "(cached
) $ac_c" 1>&6
8227 cat > conftest.$ac_ext <<EOF
8228 #line 8229 "configure
"
8229 #include "confdefs.h
"
8230 /* System header to define __stub macros and hopefully few prototypes,
8231 which can conflict with char $ac_func(); below. */
8233 /* Override any gcc2 internal prototype to avoid an error. */
8234 /* We use char because int might match the return type of a gcc2
8235 builtin and then its argument prototype would still apply. */
8240 /* The GNU C library defines this for functions which it implements
8241 to always fail with ENOSYS. Some functions are actually named
8242 something starting with __ and the normal name is an alias. */
8243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8251 if { (eval echo configure:8252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8253 eval "ac_cv_func_
$ac_func=yes"
8255 echo "configure
: failed program was
:" >&5
8256 cat conftest.$ac_ext >&5
8258 eval "ac_cv_func_
$ac_func=no
"
8263 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8264 echo "$ac_t""yes" 1>&6
8265 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8266 cat >> confdefs.h <<EOF
8267 #define $ac_tr_func 1
8271 echo "$ac_t""no
" 1>&6
8279 echo $ac_n "checking
for isnanf declaration
""...
$ac_c" 1>&6
8280 echo "configure
:8281: checking
for isnanf declaration
" >&5
8281 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
8282 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
8283 echo $ac_n "(cached
) $ac_c" 1>&6
8288 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8289 ac_cpp='$CXXCPP $CPPFLAGS'
8290 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8291 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8292 cross_compiling=$ac_cv_prog_cxx_cross
8294 cat > conftest.$ac_ext <<EOF
8295 #line 8296 "configure
"
8296 #include "confdefs.h
"
8298 #ifdef HAVE_IEEEFP_H
8306 if { (eval echo configure:8307: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8308 glibcpp_cv_func_isnanf_use=yes
8310 echo "configure
: failed program was
:" >&5
8311 cat conftest.$ac_ext >&5
8313 glibcpp_cv_func_isnanf_use=no
8317 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8318 ac_cpp='$CPP $CPPFLAGS'
8319 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8320 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8321 cross_compiling=$ac_cv_prog_cc_cross
8327 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
8329 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
8330 for ac_func in isnanf
8332 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8333 echo "configure
:8334: checking
for $ac_func" >&5
8334 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8335 echo $ac_n "(cached
) $ac_c" 1>&6
8337 cat > conftest.$ac_ext <<EOF
8338 #line 8339 "configure
"
8339 #include "confdefs.h
"
8340 /* System header to define __stub macros and hopefully few prototypes,
8341 which can conflict with char $ac_func(); below. */
8343 /* Override any gcc2 internal prototype to avoid an error. */
8344 /* We use char because int might match the return type of a gcc2
8345 builtin and then its argument prototype would still apply. */
8350 /* The GNU C library defines this for functions which it implements
8351 to always fail with ENOSYS. Some functions are actually named
8352 something starting with __ and the normal name is an alias. */
8353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8361 if { (eval echo configure:8362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8363 eval "ac_cv_func_
$ac_func=yes"
8365 echo "configure
: failed program was
:" >&5
8366 cat conftest.$ac_ext >&5
8368 eval "ac_cv_func_
$ac_func=no
"
8373 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8374 echo "$ac_t""yes" 1>&6
8375 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8376 cat >> confdefs.h <<EOF
8377 #define $ac_tr_func 1
8381 echo "$ac_t""no
" 1>&6
8387 echo $ac_n "checking
for _isnanf declaration
""...
$ac_c" 1>&6
8388 echo "configure
:8389: checking
for _isnanf declaration
" >&5
8389 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
8390 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
8391 echo $ac_n "(cached
) $ac_c" 1>&6
8396 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8397 ac_cpp='$CXXCPP $CPPFLAGS'
8398 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8399 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8400 cross_compiling=$ac_cv_prog_cxx_cross
8402 cat > conftest.$ac_ext <<EOF
8403 #line 8404 "configure
"
8404 #include "confdefs.h
"
8406 #ifdef HAVE_IEEEFP_H
8414 if { (eval echo configure:8415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8416 glibcpp_cv_func__isnanf_use=yes
8418 echo "configure
: failed program was
:" >&5
8419 cat conftest.$ac_ext >&5
8421 glibcpp_cv_func__isnanf_use=no
8425 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8426 ac_cpp='$CPP $CPPFLAGS'
8427 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8428 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8429 cross_compiling=$ac_cv_prog_cc_cross
8435 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
8437 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
8438 for ac_func in _isnanf
8440 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8441 echo "configure
:8442: checking
for $ac_func" >&5
8442 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8443 echo $ac_n "(cached
) $ac_c" 1>&6
8445 cat > conftest.$ac_ext <<EOF
8446 #line 8447 "configure
"
8447 #include "confdefs.h
"
8448 /* System header to define __stub macros and hopefully few prototypes,
8449 which can conflict with char $ac_func(); below. */
8451 /* Override any gcc2 internal prototype to avoid an error. */
8452 /* We use char because int might match the return type of a gcc2
8453 builtin and then its argument prototype would still apply. */
8458 /* The GNU C library defines this for functions which it implements
8459 to always fail with ENOSYS. Some functions are actually named
8460 something starting with __ and the normal name is an alias. */
8461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8469 if { (eval echo configure:8470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8471 eval "ac_cv_func_
$ac_func=yes"
8473 echo "configure
: failed program was
:" >&5
8474 cat conftest.$ac_ext >&5
8476 eval "ac_cv_func_
$ac_func=no
"
8481 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8482 echo "$ac_t""yes" 1>&6
8483 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8484 cat >> confdefs.h <<EOF
8485 #define $ac_tr_func 1
8489 echo "$ac_t""no
" 1>&6
8498 echo $ac_n "checking
for isinff declaration
""...
$ac_c" 1>&6
8499 echo "configure
:8500: checking
for isinff declaration
" >&5
8500 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
8501 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
8502 echo $ac_n "(cached
) $ac_c" 1>&6
8507 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8508 ac_cpp='$CXXCPP $CPPFLAGS'
8509 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8510 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8511 cross_compiling=$ac_cv_prog_cxx_cross
8513 cat > conftest.$ac_ext <<EOF
8514 #line 8515 "configure
"
8515 #include "confdefs.h
"
8517 #ifdef HAVE_IEEEFP_H
8525 if { (eval echo configure:8526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8527 glibcpp_cv_func_isinff_use=yes
8529 echo "configure
: failed program was
:" >&5
8530 cat conftest.$ac_ext >&5
8532 glibcpp_cv_func_isinff_use=no
8536 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8537 ac_cpp='$CPP $CPPFLAGS'
8538 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8539 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8540 cross_compiling=$ac_cv_prog_cc_cross
8546 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
8548 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
8549 for ac_func in isinff
8551 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8552 echo "configure
:8553: checking
for $ac_func" >&5
8553 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8554 echo $ac_n "(cached
) $ac_c" 1>&6
8556 cat > conftest.$ac_ext <<EOF
8557 #line 8558 "configure
"
8558 #include "confdefs.h
"
8559 /* System header to define __stub macros and hopefully few prototypes,
8560 which can conflict with char $ac_func(); below. */
8562 /* Override any gcc2 internal prototype to avoid an error. */
8563 /* We use char because int might match the return type of a gcc2
8564 builtin and then its argument prototype would still apply. */
8569 /* The GNU C library defines this for functions which it implements
8570 to always fail with ENOSYS. Some functions are actually named
8571 something starting with __ and the normal name is an alias. */
8572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8580 if { (eval echo configure:8581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8582 eval "ac_cv_func_
$ac_func=yes"
8584 echo "configure
: failed program was
:" >&5
8585 cat conftest.$ac_ext >&5
8587 eval "ac_cv_func_
$ac_func=no
"
8592 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8593 echo "$ac_t""yes" 1>&6
8594 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8595 cat >> confdefs.h <<EOF
8596 #define $ac_tr_func 1
8600 echo "$ac_t""no
" 1>&6
8606 echo $ac_n "checking
for _isinff declaration
""...
$ac_c" 1>&6
8607 echo "configure
:8608: checking
for _isinff declaration
" >&5
8608 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
8609 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
8610 echo $ac_n "(cached
) $ac_c" 1>&6
8615 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8616 ac_cpp='$CXXCPP $CPPFLAGS'
8617 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8618 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8619 cross_compiling=$ac_cv_prog_cxx_cross
8621 cat > conftest.$ac_ext <<EOF
8622 #line 8623 "configure
"
8623 #include "confdefs.h
"
8625 #ifdef HAVE_IEEEFP_H
8633 if { (eval echo configure:8634: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8635 glibcpp_cv_func__isinff_use=yes
8637 echo "configure
: failed program was
:" >&5
8638 cat conftest.$ac_ext >&5
8640 glibcpp_cv_func__isinff_use=no
8644 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8645 ac_cpp='$CPP $CPPFLAGS'
8646 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8647 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8648 cross_compiling=$ac_cv_prog_cc_cross
8654 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
8656 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
8657 for ac_func in _isinff
8659 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8660 echo "configure
:8661: checking
for $ac_func" >&5
8661 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8662 echo $ac_n "(cached
) $ac_c" 1>&6
8664 cat > conftest.$ac_ext <<EOF
8665 #line 8666 "configure
"
8666 #include "confdefs.h
"
8667 /* System header to define __stub macros and hopefully few prototypes,
8668 which can conflict with char $ac_func(); below. */
8670 /* Override any gcc2 internal prototype to avoid an error. */
8671 /* We use char because int might match the return type of a gcc2
8672 builtin and then its argument prototype would still apply. */
8677 /* The GNU C library defines this for functions which it implements
8678 to always fail with ENOSYS. Some functions are actually named
8679 something starting with __ and the normal name is an alias. */
8680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8688 if { (eval echo configure:8689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8690 eval "ac_cv_func_
$ac_func=yes"
8692 echo "configure
: failed program was
:" >&5
8693 cat conftest.$ac_ext >&5
8695 eval "ac_cv_func_
$ac_func=no
"
8700 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8701 echo "$ac_t""yes" 1>&6
8702 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8703 cat >> confdefs.h <<EOF
8704 #define $ac_tr_func 1
8708 echo "$ac_t""no
" 1>&6
8717 echo $ac_n "checking
for atan2f declaration
""...
$ac_c" 1>&6
8718 echo "configure
:8719: checking
for atan2f declaration
" >&5
8719 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
8720 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
8721 echo $ac_n "(cached
) $ac_c" 1>&6
8726 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8727 ac_cpp='$CXXCPP $CPPFLAGS'
8728 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8729 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8730 cross_compiling=$ac_cv_prog_cxx_cross
8732 cat > conftest.$ac_ext <<EOF
8733 #line 8734 "configure
"
8734 #include "confdefs.h
"
8740 if { (eval echo configure:8741: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8742 glibcpp_cv_func_atan2f_use=yes
8744 echo "configure
: failed program was
:" >&5
8745 cat conftest.$ac_ext >&5
8747 glibcpp_cv_func_atan2f_use=no
8751 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8752 ac_cpp='$CPP $CPPFLAGS'
8753 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8754 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8755 cross_compiling=$ac_cv_prog_cc_cross
8761 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
8763 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
8764 for ac_func in atan2f
8766 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8767 echo "configure
:8768: checking
for $ac_func" >&5
8768 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8769 echo $ac_n "(cached
) $ac_c" 1>&6
8771 cat > conftest.$ac_ext <<EOF
8772 #line 8773 "configure
"
8773 #include "confdefs.h
"
8774 /* System header to define __stub macros and hopefully few prototypes,
8775 which can conflict with char $ac_func(); below. */
8777 /* Override any gcc2 internal prototype to avoid an error. */
8778 /* We use char because int might match the return type of a gcc2
8779 builtin and then its argument prototype would still apply. */
8784 /* The GNU C library defines this for functions which it implements
8785 to always fail with ENOSYS. Some functions are actually named
8786 something starting with __ and the normal name is an alias. */
8787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8795 if { (eval echo configure:8796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8797 eval "ac_cv_func_
$ac_func=yes"
8799 echo "configure
: failed program was
:" >&5
8800 cat conftest.$ac_ext >&5
8802 eval "ac_cv_func_
$ac_func=no
"
8807 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8808 echo "$ac_t""yes" 1>&6
8809 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8810 cat >> confdefs.h <<EOF
8811 #define $ac_tr_func 1
8815 echo "$ac_t""no
" 1>&6
8821 echo $ac_n "checking
for _atan2f declaration
""...
$ac_c" 1>&6
8822 echo "configure
:8823: checking
for _atan2f declaration
" >&5
8823 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
8824 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
8825 echo $ac_n "(cached
) $ac_c" 1>&6
8830 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8831 ac_cpp='$CXXCPP $CPPFLAGS'
8832 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8833 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8834 cross_compiling=$ac_cv_prog_cxx_cross
8836 cat > conftest.$ac_ext <<EOF
8837 #line 8838 "configure
"
8838 #include "confdefs.h
"
8844 if { (eval echo configure:8845: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8846 glibcpp_cv_func__atan2f_use=yes
8848 echo "configure
: failed program was
:" >&5
8849 cat conftest.$ac_ext >&5
8851 glibcpp_cv_func__atan2f_use=no
8855 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8856 ac_cpp='$CPP $CPPFLAGS'
8857 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8858 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8859 cross_compiling=$ac_cv_prog_cc_cross
8865 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
8867 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
8868 for ac_func in _atan2f
8870 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8871 echo "configure
:8872: checking
for $ac_func" >&5
8872 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8873 echo $ac_n "(cached
) $ac_c" 1>&6
8875 cat > conftest.$ac_ext <<EOF
8876 #line 8877 "configure
"
8877 #include "confdefs.h
"
8878 /* System header to define __stub macros and hopefully few prototypes,
8879 which can conflict with char $ac_func(); below. */
8881 /* Override any gcc2 internal prototype to avoid an error. */
8882 /* We use char because int might match the return type of a gcc2
8883 builtin and then its argument prototype would still apply. */
8888 /* The GNU C library defines this for functions which it implements
8889 to always fail with ENOSYS. Some functions are actually named
8890 something starting with __ and the normal name is an alias. */
8891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8899 if { (eval echo configure:8900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8901 eval "ac_cv_func_
$ac_func=yes"
8903 echo "configure
: failed program was
:" >&5
8904 cat conftest.$ac_ext >&5
8906 eval "ac_cv_func_
$ac_func=no
"
8911 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8912 echo "$ac_t""yes" 1>&6
8913 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8914 cat >> confdefs.h <<EOF
8915 #define $ac_tr_func 1
8919 echo "$ac_t""no
" 1>&6
8928 echo $ac_n "checking
for fabsf declaration
""...
$ac_c" 1>&6
8929 echo "configure
:8930: checking
for fabsf declaration
" >&5
8930 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
8931 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
8932 echo $ac_n "(cached
) $ac_c" 1>&6
8937 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8938 ac_cpp='$CXXCPP $CPPFLAGS'
8939 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8940 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8941 cross_compiling=$ac_cv_prog_cxx_cross
8943 cat > conftest.$ac_ext <<EOF
8944 #line 8945 "configure
"
8945 #include "confdefs.h
"
8947 #ifdef HAVE_IEEEFP_H
8955 if { (eval echo configure:8956: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8957 glibcpp_cv_func_fabsf_use=yes
8959 echo "configure
: failed program was
:" >&5
8960 cat conftest.$ac_ext >&5
8962 glibcpp_cv_func_fabsf_use=no
8966 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8967 ac_cpp='$CPP $CPPFLAGS'
8968 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8969 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8970 cross_compiling=$ac_cv_prog_cc_cross
8976 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
8978 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
8979 for ac_func in fabsf
8981 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8982 echo "configure
:8983: checking
for $ac_func" >&5
8983 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8984 echo $ac_n "(cached
) $ac_c" 1>&6
8986 cat > conftest.$ac_ext <<EOF
8987 #line 8988 "configure
"
8988 #include "confdefs.h
"
8989 /* System header to define __stub macros and hopefully few prototypes,
8990 which can conflict with char $ac_func(); below. */
8992 /* Override any gcc2 internal prototype to avoid an error. */
8993 /* We use char because int might match the return type of a gcc2
8994 builtin and then its argument prototype would still apply. */
8999 /* The GNU C library defines this for functions which it implements
9000 to always fail with ENOSYS. Some functions are actually named
9001 something starting with __ and the normal name is an alias. */
9002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9010 if { (eval echo configure:9011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9012 eval "ac_cv_func_
$ac_func=yes"
9014 echo "configure
: failed program was
:" >&5
9015 cat conftest.$ac_ext >&5
9017 eval "ac_cv_func_
$ac_func=no
"
9022 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9023 echo "$ac_t""yes" 1>&6
9024 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9025 cat >> confdefs.h <<EOF
9026 #define $ac_tr_func 1
9030 echo "$ac_t""no
" 1>&6
9036 echo $ac_n "checking
for _fabsf declaration
""...
$ac_c" 1>&6
9037 echo "configure
:9038: checking
for _fabsf declaration
" >&5
9038 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
9039 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
9040 echo $ac_n "(cached
) $ac_c" 1>&6
9045 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9046 ac_cpp='$CXXCPP $CPPFLAGS'
9047 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9048 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9049 cross_compiling=$ac_cv_prog_cxx_cross
9051 cat > conftest.$ac_ext <<EOF
9052 #line 9053 "configure
"
9053 #include "confdefs.h
"
9055 #ifdef HAVE_IEEEFP_H
9063 if { (eval echo configure:9064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9065 glibcpp_cv_func__fabsf_use=yes
9067 echo "configure
: failed program was
:" >&5
9068 cat conftest.$ac_ext >&5
9070 glibcpp_cv_func__fabsf_use=no
9074 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9075 ac_cpp='$CPP $CPPFLAGS'
9076 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9077 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9078 cross_compiling=$ac_cv_prog_cc_cross
9084 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
9086 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
9087 for ac_func in _fabsf
9089 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9090 echo "configure
:9091: checking
for $ac_func" >&5
9091 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9092 echo $ac_n "(cached
) $ac_c" 1>&6
9094 cat > conftest.$ac_ext <<EOF
9095 #line 9096 "configure
"
9096 #include "confdefs.h
"
9097 /* System header to define __stub macros and hopefully few prototypes,
9098 which can conflict with char $ac_func(); below. */
9100 /* Override any gcc2 internal prototype to avoid an error. */
9101 /* We use char because int might match the return type of a gcc2
9102 builtin and then its argument prototype would still apply. */
9107 /* The GNU C library defines this for functions which it implements
9108 to always fail with ENOSYS. Some functions are actually named
9109 something starting with __ and the normal name is an alias. */
9110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9118 if { (eval echo configure:9119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9120 eval "ac_cv_func_
$ac_func=yes"
9122 echo "configure
: failed program was
:" >&5
9123 cat conftest.$ac_ext >&5
9125 eval "ac_cv_func_
$ac_func=no
"
9130 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9131 echo "$ac_t""yes" 1>&6
9132 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9133 cat >> confdefs.h <<EOF
9134 #define $ac_tr_func 1
9138 echo "$ac_t""no
" 1>&6
9147 echo $ac_n "checking
for fmodf declaration
""...
$ac_c" 1>&6
9148 echo "configure
:9149: checking
for fmodf declaration
" >&5
9149 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
9150 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
9151 echo $ac_n "(cached
) $ac_c" 1>&6
9156 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9157 ac_cpp='$CXXCPP $CPPFLAGS'
9158 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9159 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9160 cross_compiling=$ac_cv_prog_cxx_cross
9162 cat > conftest.$ac_ext <<EOF
9163 #line 9164 "configure
"
9164 #include "confdefs.h
"
9170 if { (eval echo configure:9171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9172 glibcpp_cv_func_fmodf_use=yes
9174 echo "configure
: failed program was
:" >&5
9175 cat conftest.$ac_ext >&5
9177 glibcpp_cv_func_fmodf_use=no
9181 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9182 ac_cpp='$CPP $CPPFLAGS'
9183 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9184 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9185 cross_compiling=$ac_cv_prog_cc_cross
9191 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
9193 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
9194 for ac_func in fmodf
9196 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9197 echo "configure
:9198: checking
for $ac_func" >&5
9198 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9199 echo $ac_n "(cached
) $ac_c" 1>&6
9201 cat > conftest.$ac_ext <<EOF
9202 #line 9203 "configure
"
9203 #include "confdefs.h
"
9204 /* System header to define __stub macros and hopefully few prototypes,
9205 which can conflict with char $ac_func(); below. */
9207 /* Override any gcc2 internal prototype to avoid an error. */
9208 /* We use char because int might match the return type of a gcc2
9209 builtin and then its argument prototype would still apply. */
9214 /* The GNU C library defines this for functions which it implements
9215 to always fail with ENOSYS. Some functions are actually named
9216 something starting with __ and the normal name is an alias. */
9217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9225 if { (eval echo configure:9226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9227 eval "ac_cv_func_
$ac_func=yes"
9229 echo "configure
: failed program was
:" >&5
9230 cat conftest.$ac_ext >&5
9232 eval "ac_cv_func_
$ac_func=no
"
9237 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9238 echo "$ac_t""yes" 1>&6
9239 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9240 cat >> confdefs.h <<EOF
9241 #define $ac_tr_func 1
9245 echo "$ac_t""no
" 1>&6
9251 echo $ac_n "checking
for _fmodf declaration
""...
$ac_c" 1>&6
9252 echo "configure
:9253: checking
for _fmodf declaration
" >&5
9253 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
9254 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
9255 echo $ac_n "(cached
) $ac_c" 1>&6
9260 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9261 ac_cpp='$CXXCPP $CPPFLAGS'
9262 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9263 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9264 cross_compiling=$ac_cv_prog_cxx_cross
9266 cat > conftest.$ac_ext <<EOF
9267 #line 9268 "configure
"
9268 #include "confdefs.h
"
9274 if { (eval echo configure:9275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9276 glibcpp_cv_func__fmodf_use=yes
9278 echo "configure
: failed program was
:" >&5
9279 cat conftest.$ac_ext >&5
9281 glibcpp_cv_func__fmodf_use=no
9285 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9286 ac_cpp='$CPP $CPPFLAGS'
9287 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9288 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9289 cross_compiling=$ac_cv_prog_cc_cross
9295 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
9297 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
9298 for ac_func in _fmodf
9300 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9301 echo "configure
:9302: checking
for $ac_func" >&5
9302 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9303 echo $ac_n "(cached
) $ac_c" 1>&6
9305 cat > conftest.$ac_ext <<EOF
9306 #line 9307 "configure
"
9307 #include "confdefs.h
"
9308 /* System header to define __stub macros and hopefully few prototypes,
9309 which can conflict with char $ac_func(); below. */
9311 /* Override any gcc2 internal prototype to avoid an error. */
9312 /* We use char because int might match the return type of a gcc2
9313 builtin and then its argument prototype would still apply. */
9318 /* The GNU C library defines this for functions which it implements
9319 to always fail with ENOSYS. Some functions are actually named
9320 something starting with __ and the normal name is an alias. */
9321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9329 if { (eval echo configure:9330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9331 eval "ac_cv_func_
$ac_func=yes"
9333 echo "configure
: failed program was
:" >&5
9334 cat conftest.$ac_ext >&5
9336 eval "ac_cv_func_
$ac_func=no
"
9341 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9342 echo "$ac_t""yes" 1>&6
9343 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9344 cat >> confdefs.h <<EOF
9345 #define $ac_tr_func 1
9349 echo "$ac_t""no
" 1>&6
9358 echo $ac_n "checking
for frexpf declaration
""...
$ac_c" 1>&6
9359 echo "configure
:9360: checking
for frexpf declaration
" >&5
9360 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
9361 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
9362 echo $ac_n "(cached
) $ac_c" 1>&6
9367 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9368 ac_cpp='$CXXCPP $CPPFLAGS'
9369 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9370 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9371 cross_compiling=$ac_cv_prog_cxx_cross
9373 cat > conftest.$ac_ext <<EOF
9374 #line 9375 "configure
"
9375 #include "confdefs.h
"
9381 if { (eval echo configure:9382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9383 glibcpp_cv_func_frexpf_use=yes
9385 echo "configure
: failed program was
:" >&5
9386 cat conftest.$ac_ext >&5
9388 glibcpp_cv_func_frexpf_use=no
9392 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9393 ac_cpp='$CPP $CPPFLAGS'
9394 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9395 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9396 cross_compiling=$ac_cv_prog_cc_cross
9402 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
9404 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
9405 for ac_func in frexpf
9407 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9408 echo "configure
:9409: checking
for $ac_func" >&5
9409 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9410 echo $ac_n "(cached
) $ac_c" 1>&6
9412 cat > conftest.$ac_ext <<EOF
9413 #line 9414 "configure
"
9414 #include "confdefs.h
"
9415 /* System header to define __stub macros and hopefully few prototypes,
9416 which can conflict with char $ac_func(); below. */
9418 /* Override any gcc2 internal prototype to avoid an error. */
9419 /* We use char because int might match the return type of a gcc2
9420 builtin and then its argument prototype would still apply. */
9425 /* The GNU C library defines this for functions which it implements
9426 to always fail with ENOSYS. Some functions are actually named
9427 something starting with __ and the normal name is an alias. */
9428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9436 if { (eval echo configure:9437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9438 eval "ac_cv_func_
$ac_func=yes"
9440 echo "configure
: failed program was
:" >&5
9441 cat conftest.$ac_ext >&5
9443 eval "ac_cv_func_
$ac_func=no
"
9448 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9449 echo "$ac_t""yes" 1>&6
9450 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9451 cat >> confdefs.h <<EOF
9452 #define $ac_tr_func 1
9456 echo "$ac_t""no
" 1>&6
9462 echo $ac_n "checking
for _frexpf declaration
""...
$ac_c" 1>&6
9463 echo "configure
:9464: checking
for _frexpf declaration
" >&5
9464 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
9465 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
9466 echo $ac_n "(cached
) $ac_c" 1>&6
9471 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9472 ac_cpp='$CXXCPP $CPPFLAGS'
9473 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9474 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9475 cross_compiling=$ac_cv_prog_cxx_cross
9477 cat > conftest.$ac_ext <<EOF
9478 #line 9479 "configure
"
9479 #include "confdefs.h
"
9485 if { (eval echo configure:9486: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9487 glibcpp_cv_func__frexpf_use=yes
9489 echo "configure
: failed program was
:" >&5
9490 cat conftest.$ac_ext >&5
9492 glibcpp_cv_func__frexpf_use=no
9496 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9497 ac_cpp='$CPP $CPPFLAGS'
9498 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9499 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9500 cross_compiling=$ac_cv_prog_cc_cross
9506 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
9508 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
9509 for ac_func in _frexpf
9511 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9512 echo "configure
:9513: checking
for $ac_func" >&5
9513 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9514 echo $ac_n "(cached
) $ac_c" 1>&6
9516 cat > conftest.$ac_ext <<EOF
9517 #line 9518 "configure
"
9518 #include "confdefs.h
"
9519 /* System header to define __stub macros and hopefully few prototypes,
9520 which can conflict with char $ac_func(); below. */
9522 /* Override any gcc2 internal prototype to avoid an error. */
9523 /* We use char because int might match the return type of a gcc2
9524 builtin and then its argument prototype would still apply. */
9529 /* The GNU C library defines this for functions which it implements
9530 to always fail with ENOSYS. Some functions are actually named
9531 something starting with __ and the normal name is an alias. */
9532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9540 if { (eval echo configure:9541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9542 eval "ac_cv_func_
$ac_func=yes"
9544 echo "configure
: failed program was
:" >&5
9545 cat conftest.$ac_ext >&5
9547 eval "ac_cv_func_
$ac_func=no
"
9552 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9553 echo "$ac_t""yes" 1>&6
9554 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9555 cat >> confdefs.h <<EOF
9556 #define $ac_tr_func 1
9560 echo "$ac_t""no
" 1>&6
9569 echo $ac_n "checking
for hypotf declaration
""...
$ac_c" 1>&6
9570 echo "configure
:9571: checking
for hypotf declaration
" >&5
9571 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
9572 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
9573 echo $ac_n "(cached
) $ac_c" 1>&6
9578 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9579 ac_cpp='$CXXCPP $CPPFLAGS'
9580 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9581 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9582 cross_compiling=$ac_cv_prog_cxx_cross
9584 cat > conftest.$ac_ext <<EOF
9585 #line 9586 "configure
"
9586 #include "confdefs.h
"
9592 if { (eval echo configure:9593: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9594 glibcpp_cv_func_hypotf_use=yes
9596 echo "configure
: failed program was
:" >&5
9597 cat conftest.$ac_ext >&5
9599 glibcpp_cv_func_hypotf_use=no
9603 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9604 ac_cpp='$CPP $CPPFLAGS'
9605 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9606 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9607 cross_compiling=$ac_cv_prog_cc_cross
9613 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
9615 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
9616 for ac_func in hypotf
9618 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9619 echo "configure
:9620: checking
for $ac_func" >&5
9620 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9621 echo $ac_n "(cached
) $ac_c" 1>&6
9623 cat > conftest.$ac_ext <<EOF
9624 #line 9625 "configure
"
9625 #include "confdefs.h
"
9626 /* System header to define __stub macros and hopefully few prototypes,
9627 which can conflict with char $ac_func(); below. */
9629 /* Override any gcc2 internal prototype to avoid an error. */
9630 /* We use char because int might match the return type of a gcc2
9631 builtin and then its argument prototype would still apply. */
9636 /* The GNU C library defines this for functions which it implements
9637 to always fail with ENOSYS. Some functions are actually named
9638 something starting with __ and the normal name is an alias. */
9639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9647 if { (eval echo configure:9648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9649 eval "ac_cv_func_
$ac_func=yes"
9651 echo "configure
: failed program was
:" >&5
9652 cat conftest.$ac_ext >&5
9654 eval "ac_cv_func_
$ac_func=no
"
9659 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9660 echo "$ac_t""yes" 1>&6
9661 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9662 cat >> confdefs.h <<EOF
9663 #define $ac_tr_func 1
9667 echo "$ac_t""no
" 1>&6
9673 echo $ac_n "checking
for _hypotf declaration
""...
$ac_c" 1>&6
9674 echo "configure
:9675: checking
for _hypotf declaration
" >&5
9675 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
9676 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
9677 echo $ac_n "(cached
) $ac_c" 1>&6
9682 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9683 ac_cpp='$CXXCPP $CPPFLAGS'
9684 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9685 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9686 cross_compiling=$ac_cv_prog_cxx_cross
9688 cat > conftest.$ac_ext <<EOF
9689 #line 9690 "configure
"
9690 #include "confdefs.h
"
9696 if { (eval echo configure:9697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9698 glibcpp_cv_func__hypotf_use=yes
9700 echo "configure
: failed program was
:" >&5
9701 cat conftest.$ac_ext >&5
9703 glibcpp_cv_func__hypotf_use=no
9707 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9708 ac_cpp='$CPP $CPPFLAGS'
9709 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9710 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9711 cross_compiling=$ac_cv_prog_cc_cross
9717 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
9719 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
9720 for ac_func in _hypotf
9722 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9723 echo "configure
:9724: checking
for $ac_func" >&5
9724 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9725 echo $ac_n "(cached
) $ac_c" 1>&6
9727 cat > conftest.$ac_ext <<EOF
9728 #line 9729 "configure
"
9729 #include "confdefs.h
"
9730 /* System header to define __stub macros and hopefully few prototypes,
9731 which can conflict with char $ac_func(); below. */
9733 /* Override any gcc2 internal prototype to avoid an error. */
9734 /* We use char because int might match the return type of a gcc2
9735 builtin and then its argument prototype would still apply. */
9740 /* The GNU C library defines this for functions which it implements
9741 to always fail with ENOSYS. Some functions are actually named
9742 something starting with __ and the normal name is an alias. */
9743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9751 if { (eval echo configure:9752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9753 eval "ac_cv_func_
$ac_func=yes"
9755 echo "configure
: failed program was
:" >&5
9756 cat conftest.$ac_ext >&5
9758 eval "ac_cv_func_
$ac_func=no
"
9763 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9764 echo "$ac_t""yes" 1>&6
9765 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9766 cat >> confdefs.h <<EOF
9767 #define $ac_tr_func 1
9771 echo "$ac_t""no
" 1>&6
9780 echo $ac_n "checking
for ldexpf declaration
""...
$ac_c" 1>&6
9781 echo "configure
:9782: checking
for ldexpf declaration
" >&5
9782 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
9783 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
9784 echo $ac_n "(cached
) $ac_c" 1>&6
9789 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9790 ac_cpp='$CXXCPP $CPPFLAGS'
9791 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9792 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9793 cross_compiling=$ac_cv_prog_cxx_cross
9795 cat > conftest.$ac_ext <<EOF
9796 #line 9797 "configure
"
9797 #include "confdefs.h
"
9803 if { (eval echo configure:9804: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9805 glibcpp_cv_func_ldexpf_use=yes
9807 echo "configure
: failed program was
:" >&5
9808 cat conftest.$ac_ext >&5
9810 glibcpp_cv_func_ldexpf_use=no
9814 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9815 ac_cpp='$CPP $CPPFLAGS'
9816 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9817 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9818 cross_compiling=$ac_cv_prog_cc_cross
9824 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
9826 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
9827 for ac_func in ldexpf
9829 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9830 echo "configure
:9831: checking
for $ac_func" >&5
9831 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9832 echo $ac_n "(cached
) $ac_c" 1>&6
9834 cat > conftest.$ac_ext <<EOF
9835 #line 9836 "configure
"
9836 #include "confdefs.h
"
9837 /* System header to define __stub macros and hopefully few prototypes,
9838 which can conflict with char $ac_func(); below. */
9840 /* Override any gcc2 internal prototype to avoid an error. */
9841 /* We use char because int might match the return type of a gcc2
9842 builtin and then its argument prototype would still apply. */
9847 /* The GNU C library defines this for functions which it implements
9848 to always fail with ENOSYS. Some functions are actually named
9849 something starting with __ and the normal name is an alias. */
9850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9858 if { (eval echo configure:9859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9860 eval "ac_cv_func_
$ac_func=yes"
9862 echo "configure
: failed program was
:" >&5
9863 cat conftest.$ac_ext >&5
9865 eval "ac_cv_func_
$ac_func=no
"
9870 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9871 echo "$ac_t""yes" 1>&6
9872 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9873 cat >> confdefs.h <<EOF
9874 #define $ac_tr_func 1
9878 echo "$ac_t""no
" 1>&6
9884 echo $ac_n "checking
for _ldexpf declaration
""...
$ac_c" 1>&6
9885 echo "configure
:9886: checking
for _ldexpf declaration
" >&5
9886 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
9887 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
9888 echo $ac_n "(cached
) $ac_c" 1>&6
9893 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9894 ac_cpp='$CXXCPP $CPPFLAGS'
9895 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9896 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9897 cross_compiling=$ac_cv_prog_cxx_cross
9899 cat > conftest.$ac_ext <<EOF
9900 #line 9901 "configure
"
9901 #include "confdefs.h
"
9907 if { (eval echo configure:9908: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9909 glibcpp_cv_func__ldexpf_use=yes
9911 echo "configure
: failed program was
:" >&5
9912 cat conftest.$ac_ext >&5
9914 glibcpp_cv_func__ldexpf_use=no
9918 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9919 ac_cpp='$CPP $CPPFLAGS'
9920 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9921 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9922 cross_compiling=$ac_cv_prog_cc_cross
9928 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
9930 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
9931 for ac_func in _ldexpf
9933 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9934 echo "configure
:9935: checking
for $ac_func" >&5
9935 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9936 echo $ac_n "(cached
) $ac_c" 1>&6
9938 cat > conftest.$ac_ext <<EOF
9939 #line 9940 "configure
"
9940 #include "confdefs.h
"
9941 /* System header to define __stub macros and hopefully few prototypes,
9942 which can conflict with char $ac_func(); below. */
9944 /* Override any gcc2 internal prototype to avoid an error. */
9945 /* We use char because int might match the return type of a gcc2
9946 builtin and then its argument prototype would still apply. */
9951 /* The GNU C library defines this for functions which it implements
9952 to always fail with ENOSYS. Some functions are actually named
9953 something starting with __ and the normal name is an alias. */
9954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9962 if { (eval echo configure:9963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9964 eval "ac_cv_func_
$ac_func=yes"
9966 echo "configure
: failed program was
:" >&5
9967 cat conftest.$ac_ext >&5
9969 eval "ac_cv_func_
$ac_func=no
"
9974 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9975 echo "$ac_t""yes" 1>&6
9976 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9977 cat >> confdefs.h <<EOF
9978 #define $ac_tr_func 1
9982 echo "$ac_t""no
" 1>&6
9991 echo $ac_n "checking
for logf declaration
""...
$ac_c" 1>&6
9992 echo "configure
:9993: checking
for logf declaration
" >&5
9993 if test x${glibcpp_cv_func_logf_use+set} != xset; then
9994 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
9995 echo $ac_n "(cached
) $ac_c" 1>&6
10000 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10001 ac_cpp='$CXXCPP $CPPFLAGS'
10002 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10003 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10004 cross_compiling=$ac_cv_prog_cxx_cross
10006 cat > conftest.$ac_ext <<EOF
10007 #line 10008 "configure
"
10008 #include "confdefs.h
"
10010 #ifdef HAVE_IEEEFP_H
10011 #include <ieeefp.h>
10018 if { (eval echo configure:10019: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10020 glibcpp_cv_func_logf_use=yes
10022 echo "configure
: failed program was
:" >&5
10023 cat conftest.$ac_ext >&5
10025 glibcpp_cv_func_logf_use=no
10029 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10030 ac_cpp='$CPP $CPPFLAGS'
10031 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10032 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10033 cross_compiling=$ac_cv_prog_cc_cross
10039 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
10041 if test x$glibcpp_cv_func_logf_use = x"yes"; then
10042 for ac_func in logf
10044 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10045 echo "configure
:10046: checking
for $ac_func" >&5
10046 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10047 echo $ac_n "(cached
) $ac_c" 1>&6
10049 cat > conftest.$ac_ext <<EOF
10050 #line 10051 "configure
"
10051 #include "confdefs.h
"
10052 /* System header to define __stub macros and hopefully few prototypes,
10053 which can conflict with char $ac_func(); below. */
10054 #include <assert.h>
10055 /* Override any gcc2 internal prototype to avoid an error. */
10056 /* We use char because int might match the return type of a gcc2
10057 builtin and then its argument prototype would still apply. */
10062 /* The GNU C library defines this for functions which it implements
10063 to always fail with ENOSYS. Some functions are actually named
10064 something starting with __ and the normal name is an alias. */
10065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10073 if { (eval echo configure:10074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10075 eval "ac_cv_func_
$ac_func=yes"
10077 echo "configure
: failed program was
:" >&5
10078 cat conftest.$ac_ext >&5
10080 eval "ac_cv_func_
$ac_func=no
"
10085 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10086 echo "$ac_t""yes" 1>&6
10087 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10088 cat >> confdefs.h <<EOF
10089 #define $ac_tr_func 1
10093 echo "$ac_t""no
" 1>&6
10099 echo $ac_n "checking
for _logf declaration
""...
$ac_c" 1>&6
10100 echo "configure
:10101: checking
for _logf declaration
" >&5
10101 if test x${glibcpp_cv_func__logf_use+set} != xset; then
10102 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
10103 echo $ac_n "(cached
) $ac_c" 1>&6
10108 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10109 ac_cpp='$CXXCPP $CPPFLAGS'
10110 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10111 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10112 cross_compiling=$ac_cv_prog_cxx_cross
10114 cat > conftest.$ac_ext <<EOF
10115 #line 10116 "configure
"
10116 #include "confdefs.h
"
10118 #ifdef HAVE_IEEEFP_H
10119 #include <ieeefp.h>
10126 if { (eval echo configure:10127: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10128 glibcpp_cv_func__logf_use=yes
10130 echo "configure
: failed program was
:" >&5
10131 cat conftest.$ac_ext >&5
10133 glibcpp_cv_func__logf_use=no
10137 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10138 ac_cpp='$CPP $CPPFLAGS'
10139 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10140 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10141 cross_compiling=$ac_cv_prog_cc_cross
10147 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
10149 if test x$glibcpp_cv_func__logf_use = x"yes"; then
10150 for ac_func in _logf
10152 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10153 echo "configure
:10154: checking
for $ac_func" >&5
10154 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10155 echo $ac_n "(cached
) $ac_c" 1>&6
10157 cat > conftest.$ac_ext <<EOF
10158 #line 10159 "configure
"
10159 #include "confdefs.h
"
10160 /* System header to define __stub macros and hopefully few prototypes,
10161 which can conflict with char $ac_func(); below. */
10162 #include <assert.h>
10163 /* Override any gcc2 internal prototype to avoid an error. */
10164 /* We use char because int might match the return type of a gcc2
10165 builtin and then its argument prototype would still apply. */
10170 /* The GNU C library defines this for functions which it implements
10171 to always fail with ENOSYS. Some functions are actually named
10172 something starting with __ and the normal name is an alias. */
10173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10181 if { (eval echo configure:10182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10183 eval "ac_cv_func_
$ac_func=yes"
10185 echo "configure
: failed program was
:" >&5
10186 cat conftest.$ac_ext >&5
10188 eval "ac_cv_func_
$ac_func=no
"
10193 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10194 echo "$ac_t""yes" 1>&6
10195 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10196 cat >> confdefs.h <<EOF
10197 #define $ac_tr_func 1
10201 echo "$ac_t""no
" 1>&6
10210 echo $ac_n "checking
for log10f declaration
""...
$ac_c" 1>&6
10211 echo "configure
:10212: checking
for log10f declaration
" >&5
10212 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
10213 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
10214 echo $ac_n "(cached
) $ac_c" 1>&6
10219 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10220 ac_cpp='$CXXCPP $CPPFLAGS'
10221 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10222 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10223 cross_compiling=$ac_cv_prog_cxx_cross
10225 cat > conftest.$ac_ext <<EOF
10226 #line 10227 "configure
"
10227 #include "confdefs.h
"
10229 #ifdef HAVE_IEEEFP_H
10230 #include <ieeefp.h>
10237 if { (eval echo configure:10238: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10239 glibcpp_cv_func_log10f_use=yes
10241 echo "configure
: failed program was
:" >&5
10242 cat conftest.$ac_ext >&5
10244 glibcpp_cv_func_log10f_use=no
10248 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10249 ac_cpp='$CPP $CPPFLAGS'
10250 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10251 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10252 cross_compiling=$ac_cv_prog_cc_cross
10258 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
10260 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
10261 for ac_func in log10f
10263 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10264 echo "configure
:10265: checking
for $ac_func" >&5
10265 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10266 echo $ac_n "(cached
) $ac_c" 1>&6
10268 cat > conftest.$ac_ext <<EOF
10269 #line 10270 "configure
"
10270 #include "confdefs.h
"
10271 /* System header to define __stub macros and hopefully few prototypes,
10272 which can conflict with char $ac_func(); below. */
10273 #include <assert.h>
10274 /* Override any gcc2 internal prototype to avoid an error. */
10275 /* We use char because int might match the return type of a gcc2
10276 builtin and then its argument prototype would still apply. */
10281 /* The GNU C library defines this for functions which it implements
10282 to always fail with ENOSYS. Some functions are actually named
10283 something starting with __ and the normal name is an alias. */
10284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10292 if { (eval echo configure:10293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10294 eval "ac_cv_func_
$ac_func=yes"
10296 echo "configure
: failed program was
:" >&5
10297 cat conftest.$ac_ext >&5
10299 eval "ac_cv_func_
$ac_func=no
"
10304 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10305 echo "$ac_t""yes" 1>&6
10306 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10307 cat >> confdefs.h <<EOF
10308 #define $ac_tr_func 1
10312 echo "$ac_t""no
" 1>&6
10318 echo $ac_n "checking
for _log10f declaration
""...
$ac_c" 1>&6
10319 echo "configure
:10320: checking
for _log10f declaration
" >&5
10320 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
10321 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
10322 echo $ac_n "(cached
) $ac_c" 1>&6
10327 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10328 ac_cpp='$CXXCPP $CPPFLAGS'
10329 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10330 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10331 cross_compiling=$ac_cv_prog_cxx_cross
10333 cat > conftest.$ac_ext <<EOF
10334 #line 10335 "configure
"
10335 #include "confdefs.h
"
10337 #ifdef HAVE_IEEEFP_H
10338 #include <ieeefp.h>
10345 if { (eval echo configure:10346: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10347 glibcpp_cv_func__log10f_use=yes
10349 echo "configure
: failed program was
:" >&5
10350 cat conftest.$ac_ext >&5
10352 glibcpp_cv_func__log10f_use=no
10356 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10357 ac_cpp='$CPP $CPPFLAGS'
10358 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10359 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10360 cross_compiling=$ac_cv_prog_cc_cross
10366 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
10368 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
10369 for ac_func in _log10f
10371 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10372 echo "configure
:10373: checking
for $ac_func" >&5
10373 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10374 echo $ac_n "(cached
) $ac_c" 1>&6
10376 cat > conftest.$ac_ext <<EOF
10377 #line 10378 "configure
"
10378 #include "confdefs.h
"
10379 /* System header to define __stub macros and hopefully few prototypes,
10380 which can conflict with char $ac_func(); below. */
10381 #include <assert.h>
10382 /* Override any gcc2 internal prototype to avoid an error. */
10383 /* We use char because int might match the return type of a gcc2
10384 builtin and then its argument prototype would still apply. */
10389 /* The GNU C library defines this for functions which it implements
10390 to always fail with ENOSYS. Some functions are actually named
10391 something starting with __ and the normal name is an alias. */
10392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10400 if { (eval echo configure:10401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10402 eval "ac_cv_func_
$ac_func=yes"
10404 echo "configure
: failed program was
:" >&5
10405 cat conftest.$ac_ext >&5
10407 eval "ac_cv_func_
$ac_func=no
"
10412 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10413 echo "$ac_t""yes" 1>&6
10414 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10415 cat >> confdefs.h <<EOF
10416 #define $ac_tr_func 1
10420 echo "$ac_t""no
" 1>&6
10429 echo $ac_n "checking
for modff declaration
""...
$ac_c" 1>&6
10430 echo "configure
:10431: checking
for modff declaration
" >&5
10431 if test x${glibcpp_cv_func_modff_use+set} != xset; then
10432 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
10433 echo $ac_n "(cached
) $ac_c" 1>&6
10438 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10439 ac_cpp='$CXXCPP $CPPFLAGS'
10440 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10441 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10442 cross_compiling=$ac_cv_prog_cxx_cross
10444 cat > conftest.$ac_ext <<EOF
10445 #line 10446 "configure
"
10446 #include "confdefs.h
"
10452 if { (eval echo configure:10453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10454 glibcpp_cv_func_modff_use=yes
10456 echo "configure
: failed program was
:" >&5
10457 cat conftest.$ac_ext >&5
10459 glibcpp_cv_func_modff_use=no
10463 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10464 ac_cpp='$CPP $CPPFLAGS'
10465 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10466 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10467 cross_compiling=$ac_cv_prog_cc_cross
10473 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
10475 if test x$glibcpp_cv_func_modff_use = x"yes"; then
10476 for ac_func in modff
10478 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10479 echo "configure
:10480: checking
for $ac_func" >&5
10480 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10481 echo $ac_n "(cached
) $ac_c" 1>&6
10483 cat > conftest.$ac_ext <<EOF
10484 #line 10485 "configure
"
10485 #include "confdefs.h
"
10486 /* System header to define __stub macros and hopefully few prototypes,
10487 which can conflict with char $ac_func(); below. */
10488 #include <assert.h>
10489 /* Override any gcc2 internal prototype to avoid an error. */
10490 /* We use char because int might match the return type of a gcc2
10491 builtin and then its argument prototype would still apply. */
10496 /* The GNU C library defines this for functions which it implements
10497 to always fail with ENOSYS. Some functions are actually named
10498 something starting with __ and the normal name is an alias. */
10499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10507 if { (eval echo configure:10508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10509 eval "ac_cv_func_
$ac_func=yes"
10511 echo "configure
: failed program was
:" >&5
10512 cat conftest.$ac_ext >&5
10514 eval "ac_cv_func_
$ac_func=no
"
10519 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10520 echo "$ac_t""yes" 1>&6
10521 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10522 cat >> confdefs.h <<EOF
10523 #define $ac_tr_func 1
10527 echo "$ac_t""no
" 1>&6
10533 echo $ac_n "checking
for _modff declaration
""...
$ac_c" 1>&6
10534 echo "configure
:10535: checking
for _modff declaration
" >&5
10535 if test x${glibcpp_cv_func__modff_use+set} != xset; then
10536 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
10537 echo $ac_n "(cached
) $ac_c" 1>&6
10542 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10543 ac_cpp='$CXXCPP $CPPFLAGS'
10544 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10545 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10546 cross_compiling=$ac_cv_prog_cxx_cross
10548 cat > conftest.$ac_ext <<EOF
10549 #line 10550 "configure
"
10550 #include "confdefs.h
"
10556 if { (eval echo configure:10557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10558 glibcpp_cv_func__modff_use=yes
10560 echo "configure
: failed program was
:" >&5
10561 cat conftest.$ac_ext >&5
10563 glibcpp_cv_func__modff_use=no
10567 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10568 ac_cpp='$CPP $CPPFLAGS'
10569 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10570 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10571 cross_compiling=$ac_cv_prog_cc_cross
10577 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
10579 if test x$glibcpp_cv_func__modff_use = x"yes"; then
10580 for ac_func in _modff
10582 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10583 echo "configure
:10584: checking
for $ac_func" >&5
10584 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10585 echo $ac_n "(cached
) $ac_c" 1>&6
10587 cat > conftest.$ac_ext <<EOF
10588 #line 10589 "configure
"
10589 #include "confdefs.h
"
10590 /* System header to define __stub macros and hopefully few prototypes,
10591 which can conflict with char $ac_func(); below. */
10592 #include <assert.h>
10593 /* Override any gcc2 internal prototype to avoid an error. */
10594 /* We use char because int might match the return type of a gcc2
10595 builtin and then its argument prototype would still apply. */
10600 /* The GNU C library defines this for functions which it implements
10601 to always fail with ENOSYS. Some functions are actually named
10602 something starting with __ and the normal name is an alias. */
10603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10611 if { (eval echo configure:10612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10613 eval "ac_cv_func_
$ac_func=yes"
10615 echo "configure
: failed program was
:" >&5
10616 cat conftest.$ac_ext >&5
10618 eval "ac_cv_func_
$ac_func=no
"
10623 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10624 echo "$ac_t""yes" 1>&6
10625 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10626 cat >> confdefs.h <<EOF
10627 #define $ac_tr_func 1
10631 echo "$ac_t""no
" 1>&6
10640 echo $ac_n "checking
for powf declaration
""...
$ac_c" 1>&6
10641 echo "configure
:10642: checking
for powf declaration
" >&5
10642 if test x${glibcpp_cv_func_powf_use+set} != xset; then
10643 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
10644 echo $ac_n "(cached
) $ac_c" 1>&6
10649 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10650 ac_cpp='$CXXCPP $CPPFLAGS'
10651 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10652 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10653 cross_compiling=$ac_cv_prog_cxx_cross
10655 cat > conftest.$ac_ext <<EOF
10656 #line 10657 "configure
"
10657 #include "confdefs.h
"
10663 if { (eval echo configure:10664: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10665 glibcpp_cv_func_powf_use=yes
10667 echo "configure
: failed program was
:" >&5
10668 cat conftest.$ac_ext >&5
10670 glibcpp_cv_func_powf_use=no
10674 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10675 ac_cpp='$CPP $CPPFLAGS'
10676 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10677 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10678 cross_compiling=$ac_cv_prog_cc_cross
10684 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
10686 if test x$glibcpp_cv_func_powf_use = x"yes"; then
10687 for ac_func in powf
10689 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10690 echo "configure
:10691: checking
for $ac_func" >&5
10691 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10692 echo $ac_n "(cached
) $ac_c" 1>&6
10694 cat > conftest.$ac_ext <<EOF
10695 #line 10696 "configure
"
10696 #include "confdefs.h
"
10697 /* System header to define __stub macros and hopefully few prototypes,
10698 which can conflict with char $ac_func(); below. */
10699 #include <assert.h>
10700 /* Override any gcc2 internal prototype to avoid an error. */
10701 /* We use char because int might match the return type of a gcc2
10702 builtin and then its argument prototype would still apply. */
10707 /* The GNU C library defines this for functions which it implements
10708 to always fail with ENOSYS. Some functions are actually named
10709 something starting with __ and the normal name is an alias. */
10710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10718 if { (eval echo configure:10719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10720 eval "ac_cv_func_
$ac_func=yes"
10722 echo "configure
: failed program was
:" >&5
10723 cat conftest.$ac_ext >&5
10725 eval "ac_cv_func_
$ac_func=no
"
10730 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10731 echo "$ac_t""yes" 1>&6
10732 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10733 cat >> confdefs.h <<EOF
10734 #define $ac_tr_func 1
10738 echo "$ac_t""no
" 1>&6
10744 echo $ac_n "checking
for _powf declaration
""...
$ac_c" 1>&6
10745 echo "configure
:10746: checking
for _powf declaration
" >&5
10746 if test x${glibcpp_cv_func__powf_use+set} != xset; then
10747 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
10748 echo $ac_n "(cached
) $ac_c" 1>&6
10753 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10754 ac_cpp='$CXXCPP $CPPFLAGS'
10755 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10756 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10757 cross_compiling=$ac_cv_prog_cxx_cross
10759 cat > conftest.$ac_ext <<EOF
10760 #line 10761 "configure
"
10761 #include "confdefs.h
"
10767 if { (eval echo configure:10768: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10769 glibcpp_cv_func__powf_use=yes
10771 echo "configure
: failed program was
:" >&5
10772 cat conftest.$ac_ext >&5
10774 glibcpp_cv_func__powf_use=no
10778 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10779 ac_cpp='$CPP $CPPFLAGS'
10780 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10781 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10782 cross_compiling=$ac_cv_prog_cc_cross
10788 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
10790 if test x$glibcpp_cv_func__powf_use = x"yes"; then
10791 for ac_func in _powf
10793 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10794 echo "configure
:10795: checking
for $ac_func" >&5
10795 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10796 echo $ac_n "(cached
) $ac_c" 1>&6
10798 cat > conftest.$ac_ext <<EOF
10799 #line 10800 "configure
"
10800 #include "confdefs.h
"
10801 /* System header to define __stub macros and hopefully few prototypes,
10802 which can conflict with char $ac_func(); below. */
10803 #include <assert.h>
10804 /* Override any gcc2 internal prototype to avoid an error. */
10805 /* We use char because int might match the return type of a gcc2
10806 builtin and then its argument prototype would still apply. */
10811 /* The GNU C library defines this for functions which it implements
10812 to always fail with ENOSYS. Some functions are actually named
10813 something starting with __ and the normal name is an alias. */
10814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10822 if { (eval echo configure:10823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10824 eval "ac_cv_func_
$ac_func=yes"
10826 echo "configure
: failed program was
:" >&5
10827 cat conftest.$ac_ext >&5
10829 eval "ac_cv_func_
$ac_func=no
"
10834 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10835 echo "$ac_t""yes" 1>&6
10836 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10837 cat >> confdefs.h <<EOF
10838 #define $ac_tr_func 1
10842 echo "$ac_t""no
" 1>&6
10851 echo $ac_n "checking
for sqrtf declaration
""...
$ac_c" 1>&6
10852 echo "configure
:10853: checking
for sqrtf declaration
" >&5
10853 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
10854 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
10855 echo $ac_n "(cached
) $ac_c" 1>&6
10860 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10861 ac_cpp='$CXXCPP $CPPFLAGS'
10862 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10863 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10864 cross_compiling=$ac_cv_prog_cxx_cross
10866 cat > conftest.$ac_ext <<EOF
10867 #line 10868 "configure
"
10868 #include "confdefs.h
"
10870 #ifdef HAVE_IEEEFP_H
10871 #include <ieeefp.h>
10878 if { (eval echo configure:10879: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10880 glibcpp_cv_func_sqrtf_use=yes
10882 echo "configure
: failed program was
:" >&5
10883 cat conftest.$ac_ext >&5
10885 glibcpp_cv_func_sqrtf_use=no
10889 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10890 ac_cpp='$CPP $CPPFLAGS'
10891 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10892 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10893 cross_compiling=$ac_cv_prog_cc_cross
10899 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
10901 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
10902 for ac_func in sqrtf
10904 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10905 echo "configure
:10906: checking
for $ac_func" >&5
10906 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10907 echo $ac_n "(cached
) $ac_c" 1>&6
10909 cat > conftest.$ac_ext <<EOF
10910 #line 10911 "configure
"
10911 #include "confdefs.h
"
10912 /* System header to define __stub macros and hopefully few prototypes,
10913 which can conflict with char $ac_func(); below. */
10914 #include <assert.h>
10915 /* Override any gcc2 internal prototype to avoid an error. */
10916 /* We use char because int might match the return type of a gcc2
10917 builtin and then its argument prototype would still apply. */
10922 /* The GNU C library defines this for functions which it implements
10923 to always fail with ENOSYS. Some functions are actually named
10924 something starting with __ and the normal name is an alias. */
10925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10933 if { (eval echo configure:10934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10935 eval "ac_cv_func_
$ac_func=yes"
10937 echo "configure
: failed program was
:" >&5
10938 cat conftest.$ac_ext >&5
10940 eval "ac_cv_func_
$ac_func=no
"
10945 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10946 echo "$ac_t""yes" 1>&6
10947 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10948 cat >> confdefs.h <<EOF
10949 #define $ac_tr_func 1
10953 echo "$ac_t""no
" 1>&6
10959 echo $ac_n "checking
for _sqrtf declaration
""...
$ac_c" 1>&6
10960 echo "configure
:10961: checking
for _sqrtf declaration
" >&5
10961 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
10962 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
10963 echo $ac_n "(cached
) $ac_c" 1>&6
10968 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10969 ac_cpp='$CXXCPP $CPPFLAGS'
10970 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10971 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10972 cross_compiling=$ac_cv_prog_cxx_cross
10974 cat > conftest.$ac_ext <<EOF
10975 #line 10976 "configure
"
10976 #include "confdefs.h
"
10978 #ifdef HAVE_IEEEFP_H
10979 #include <ieeefp.h>
10986 if { (eval echo configure:10987: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10988 glibcpp_cv_func__sqrtf_use=yes
10990 echo "configure
: failed program was
:" >&5
10991 cat conftest.$ac_ext >&5
10993 glibcpp_cv_func__sqrtf_use=no
10997 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10998 ac_cpp='$CPP $CPPFLAGS'
10999 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11000 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11001 cross_compiling=$ac_cv_prog_cc_cross
11007 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
11009 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
11010 for ac_func in _sqrtf
11012 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11013 echo "configure
:11014: checking
for $ac_func" >&5
11014 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11015 echo $ac_n "(cached
) $ac_c" 1>&6
11017 cat > conftest.$ac_ext <<EOF
11018 #line 11019 "configure
"
11019 #include "confdefs.h
"
11020 /* System header to define __stub macros and hopefully few prototypes,
11021 which can conflict with char $ac_func(); below. */
11022 #include <assert.h>
11023 /* Override any gcc2 internal prototype to avoid an error. */
11024 /* We use char because int might match the return type of a gcc2
11025 builtin and then its argument prototype would still apply. */
11030 /* The GNU C library defines this for functions which it implements
11031 to always fail with ENOSYS. Some functions are actually named
11032 something starting with __ and the normal name is an alias. */
11033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11041 if { (eval echo configure:11042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11043 eval "ac_cv_func_
$ac_func=yes"
11045 echo "configure
: failed program was
:" >&5
11046 cat conftest.$ac_ext >&5
11048 eval "ac_cv_func_
$ac_func=no
"
11053 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11054 echo "$ac_t""yes" 1>&6
11055 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11056 cat >> confdefs.h <<EOF
11057 #define $ac_tr_func 1
11061 echo "$ac_t""no
" 1>&6
11070 echo $ac_n "checking
for sincosf declaration
""...
$ac_c" 1>&6
11071 echo "configure
:11072: checking
for sincosf declaration
" >&5
11072 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
11073 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
11074 echo $ac_n "(cached
) $ac_c" 1>&6
11079 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11080 ac_cpp='$CXXCPP $CPPFLAGS'
11081 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11082 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11083 cross_compiling=$ac_cv_prog_cxx_cross
11085 cat > conftest.$ac_ext <<EOF
11086 #line 11087 "configure
"
11087 #include "confdefs.h
"
11093 if { (eval echo configure:11094: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11095 glibcpp_cv_func_sincosf_use=yes
11097 echo "configure
: failed program was
:" >&5
11098 cat conftest.$ac_ext >&5
11100 glibcpp_cv_func_sincosf_use=no
11104 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11105 ac_cpp='$CPP $CPPFLAGS'
11106 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11107 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11108 cross_compiling=$ac_cv_prog_cc_cross
11114 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
11116 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
11117 for ac_func in sincosf
11119 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11120 echo "configure
:11121: checking
for $ac_func" >&5
11121 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11122 echo $ac_n "(cached
) $ac_c" 1>&6
11124 cat > conftest.$ac_ext <<EOF
11125 #line 11126 "configure
"
11126 #include "confdefs.h
"
11127 /* System header to define __stub macros and hopefully few prototypes,
11128 which can conflict with char $ac_func(); below. */
11129 #include <assert.h>
11130 /* Override any gcc2 internal prototype to avoid an error. */
11131 /* We use char because int might match the return type of a gcc2
11132 builtin and then its argument prototype would still apply. */
11137 /* The GNU C library defines this for functions which it implements
11138 to always fail with ENOSYS. Some functions are actually named
11139 something starting with __ and the normal name is an alias. */
11140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11148 if { (eval echo configure:11149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11150 eval "ac_cv_func_
$ac_func=yes"
11152 echo "configure
: failed program was
:" >&5
11153 cat conftest.$ac_ext >&5
11155 eval "ac_cv_func_
$ac_func=no
"
11160 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11161 echo "$ac_t""yes" 1>&6
11162 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11163 cat >> confdefs.h <<EOF
11164 #define $ac_tr_func 1
11168 echo "$ac_t""no
" 1>&6
11174 echo $ac_n "checking
for _sincosf declaration
""...
$ac_c" 1>&6
11175 echo "configure
:11176: checking
for _sincosf declaration
" >&5
11176 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
11177 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
11178 echo $ac_n "(cached
) $ac_c" 1>&6
11183 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11184 ac_cpp='$CXXCPP $CPPFLAGS'
11185 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11186 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11187 cross_compiling=$ac_cv_prog_cxx_cross
11189 cat > conftest.$ac_ext <<EOF
11190 #line 11191 "configure
"
11191 #include "confdefs.h
"
11197 if { (eval echo configure:11198: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11199 glibcpp_cv_func__sincosf_use=yes
11201 echo "configure
: failed program was
:" >&5
11202 cat conftest.$ac_ext >&5
11204 glibcpp_cv_func__sincosf_use=no
11208 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11209 ac_cpp='$CPP $CPPFLAGS'
11210 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11211 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11212 cross_compiling=$ac_cv_prog_cc_cross
11218 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
11220 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
11221 for ac_func in _sincosf
11223 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11224 echo "configure
:11225: checking
for $ac_func" >&5
11225 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11226 echo $ac_n "(cached
) $ac_c" 1>&6
11228 cat > conftest.$ac_ext <<EOF
11229 #line 11230 "configure
"
11230 #include "confdefs.h
"
11231 /* System header to define __stub macros and hopefully few prototypes,
11232 which can conflict with char $ac_func(); below. */
11233 #include <assert.h>
11234 /* Override any gcc2 internal prototype to avoid an error. */
11235 /* We use char because int might match the return type of a gcc2
11236 builtin and then its argument prototype would still apply. */
11241 /* The GNU C library defines this for functions which it implements
11242 to always fail with ENOSYS. Some functions are actually named
11243 something starting with __ and the normal name is an alias. */
11244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11252 if { (eval echo configure:11253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11254 eval "ac_cv_func_
$ac_func=yes"
11256 echo "configure
: failed program was
:" >&5
11257 cat conftest.$ac_ext >&5
11259 eval "ac_cv_func_
$ac_func=no
"
11264 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11265 echo "$ac_t""yes" 1>&6
11266 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11267 cat >> confdefs.h <<EOF
11268 #define $ac_tr_func 1
11272 echo "$ac_t""no
" 1>&6
11281 echo $ac_n "checking
for finitef declaration
""...
$ac_c" 1>&6
11282 echo "configure
:11283: checking
for finitef declaration
" >&5
11283 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
11284 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
11285 echo $ac_n "(cached
) $ac_c" 1>&6
11290 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11291 ac_cpp='$CXXCPP $CPPFLAGS'
11292 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11293 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11294 cross_compiling=$ac_cv_prog_cxx_cross
11296 cat > conftest.$ac_ext <<EOF
11297 #line 11298 "configure
"
11298 #include "confdefs.h
"
11300 #ifdef HAVE_IEEEFP_H
11301 #include <ieeefp.h>
11308 if { (eval echo configure:11309: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11310 glibcpp_cv_func_finitef_use=yes
11312 echo "configure
: failed program was
:" >&5
11313 cat conftest.$ac_ext >&5
11315 glibcpp_cv_func_finitef_use=no
11319 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11320 ac_cpp='$CPP $CPPFLAGS'
11321 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11322 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11323 cross_compiling=$ac_cv_prog_cc_cross
11329 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
11331 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
11332 for ac_func in finitef
11334 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11335 echo "configure
:11336: checking
for $ac_func" >&5
11336 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11337 echo $ac_n "(cached
) $ac_c" 1>&6
11339 cat > conftest.$ac_ext <<EOF
11340 #line 11341 "configure
"
11341 #include "confdefs.h
"
11342 /* System header to define __stub macros and hopefully few prototypes,
11343 which can conflict with char $ac_func(); below. */
11344 #include <assert.h>
11345 /* Override any gcc2 internal prototype to avoid an error. */
11346 /* We use char because int might match the return type of a gcc2
11347 builtin and then its argument prototype would still apply. */
11352 /* The GNU C library defines this for functions which it implements
11353 to always fail with ENOSYS. Some functions are actually named
11354 something starting with __ and the normal name is an alias. */
11355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11363 if { (eval echo configure:11364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11365 eval "ac_cv_func_
$ac_func=yes"
11367 echo "configure
: failed program was
:" >&5
11368 cat conftest.$ac_ext >&5
11370 eval "ac_cv_func_
$ac_func=no
"
11375 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11376 echo "$ac_t""yes" 1>&6
11377 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11378 cat >> confdefs.h <<EOF
11379 #define $ac_tr_func 1
11383 echo "$ac_t""no
" 1>&6
11389 echo $ac_n "checking
for _finitef declaration
""...
$ac_c" 1>&6
11390 echo "configure
:11391: checking
for _finitef declaration
" >&5
11391 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
11392 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
11393 echo $ac_n "(cached
) $ac_c" 1>&6
11398 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11399 ac_cpp='$CXXCPP $CPPFLAGS'
11400 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11401 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11402 cross_compiling=$ac_cv_prog_cxx_cross
11404 cat > conftest.$ac_ext <<EOF
11405 #line 11406 "configure
"
11406 #include "confdefs.h
"
11408 #ifdef HAVE_IEEEFP_H
11409 #include <ieeefp.h>
11416 if { (eval echo configure:11417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11418 glibcpp_cv_func__finitef_use=yes
11420 echo "configure
: failed program was
:" >&5
11421 cat conftest.$ac_ext >&5
11423 glibcpp_cv_func__finitef_use=no
11427 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11428 ac_cpp='$CPP $CPPFLAGS'
11429 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11430 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11431 cross_compiling=$ac_cv_prog_cc_cross
11437 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
11439 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
11440 for ac_func in _finitef
11442 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11443 echo "configure
:11444: checking
for $ac_func" >&5
11444 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11445 echo $ac_n "(cached
) $ac_c" 1>&6
11447 cat > conftest.$ac_ext <<EOF
11448 #line 11449 "configure
"
11449 #include "confdefs.h
"
11450 /* System header to define __stub macros and hopefully few prototypes,
11451 which can conflict with char $ac_func(); below. */
11452 #include <assert.h>
11453 /* Override any gcc2 internal prototype to avoid an error. */
11454 /* We use char because int might match the return type of a gcc2
11455 builtin and then its argument prototype would still apply. */
11460 /* The GNU C library defines this for functions which it implements
11461 to always fail with ENOSYS. Some functions are actually named
11462 something starting with __ and the normal name is an alias. */
11463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11471 if { (eval echo configure:11472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11473 eval "ac_cv_func_
$ac_func=yes"
11475 echo "configure
: failed program was
:" >&5
11476 cat conftest.$ac_ext >&5
11478 eval "ac_cv_func_
$ac_func=no
"
11483 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11484 echo "$ac_t""yes" 1>&6
11485 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11486 cat >> confdefs.h <<EOF
11487 #define $ac_tr_func 1
11491 echo "$ac_t""no
" 1>&6
11500 echo $ac_n "checking
for long double trig functions
""...
$ac_c" 1>&6
11501 echo "configure
:11502: checking
for long double trig functions
" >&5
11502 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
11503 echo $ac_n "(cached
) $ac_c" 1>&6
11508 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11509 ac_cpp='$CXXCPP $CPPFLAGS'
11510 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11511 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11512 cross_compiling=$ac_cv_prog_cxx_cross
11514 cat > conftest.$ac_ext <<EOF
11515 #line 11516 "configure
"
11516 #include "confdefs.h
"
11519 `for x in acosl asinl atanl \
11521 coshl sinhl tanhl; do echo "$x (0);"; done`
11524 if { (eval echo configure:11525: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11526 glibcpp_cv_func_long_double_trig_use=yes
11528 echo "configure
: failed program was
:" >&5
11529 cat conftest.$ac_ext >&5
11531 glibcpp_cv_func_long_double_trig_use=no
11535 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11536 ac_cpp='$CPP $CPPFLAGS'
11537 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11538 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11539 cross_compiling=$ac_cv_prog_cc_cross
11543 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
11544 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
11545 for ac_func in acosl asinl atanl \
11549 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11550 echo "configure
:11551: checking
for $ac_func" >&5
11551 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11552 echo $ac_n "(cached
) $ac_c" 1>&6
11554 cat > conftest.$ac_ext <<EOF
11555 #line 11556 "configure
"
11556 #include "confdefs.h
"
11557 /* System header to define __stub macros and hopefully few prototypes,
11558 which can conflict with char $ac_func(); below. */
11559 #include <assert.h>
11560 /* Override any gcc2 internal prototype to avoid an error. */
11561 /* We use char because int might match the return type of a gcc2
11562 builtin and then its argument prototype would still apply. */
11567 /* The GNU C library defines this for functions which it implements
11568 to always fail with ENOSYS. Some functions are actually named
11569 something starting with __ and the normal name is an alias. */
11570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11578 if { (eval echo configure:11579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11580 eval "ac_cv_func_
$ac_func=yes"
11582 echo "configure
: failed program was
:" >&5
11583 cat conftest.$ac_ext >&5
11585 eval "ac_cv_func_
$ac_func=no
"
11590 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11591 echo "$ac_t""yes" 1>&6
11592 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11593 cat >> confdefs.h <<EOF
11594 #define $ac_tr_func 1
11598 echo "$ac_t""no
" 1>&6
11605 echo $ac_n "checking
for long double round functions
""...
$ac_c" 1>&6
11606 echo "configure
:11607: checking
for long double round functions
" >&5
11607 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
11608 echo $ac_n "(cached
) $ac_c" 1>&6
11613 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11614 ac_cpp='$CXXCPP $CPPFLAGS'
11615 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11616 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11617 cross_compiling=$ac_cv_prog_cxx_cross
11619 cat > conftest.$ac_ext <<EOF
11620 #line 11621 "configure
"
11621 #include "confdefs.h
"
11624 `for x in ceill floorl; do echo "$x (0);"; done`
11627 if { (eval echo configure:11628: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11629 glibcpp_cv_func_long_double_round_use=yes
11631 echo "configure
: failed program was
:" >&5
11632 cat conftest.$ac_ext >&5
11634 glibcpp_cv_func_long_double_round_use=no
11638 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11639 ac_cpp='$CPP $CPPFLAGS'
11640 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11641 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11642 cross_compiling=$ac_cv_prog_cc_cross
11646 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
11647 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
11648 for ac_func in ceill floorl
11650 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11651 echo "configure
:11652: checking
for $ac_func" >&5
11652 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11653 echo $ac_n "(cached
) $ac_c" 1>&6
11655 cat > conftest.$ac_ext <<EOF
11656 #line 11657 "configure
"
11657 #include "confdefs.h
"
11658 /* System header to define __stub macros and hopefully few prototypes,
11659 which can conflict with char $ac_func(); below. */
11660 #include <assert.h>
11661 /* Override any gcc2 internal prototype to avoid an error. */
11662 /* We use char because int might match the return type of a gcc2
11663 builtin and then its argument prototype would still apply. */
11668 /* The GNU C library defines this for functions which it implements
11669 to always fail with ENOSYS. Some functions are actually named
11670 something starting with __ and the normal name is an alias. */
11671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11679 if { (eval echo configure:11680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11681 eval "ac_cv_func_
$ac_func=yes"
11683 echo "configure
: failed program was
:" >&5
11684 cat conftest.$ac_ext >&5
11686 eval "ac_cv_func_
$ac_func=no
"
11691 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11692 echo "$ac_t""yes" 1>&6
11693 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11694 cat >> confdefs.h <<EOF
11695 #define $ac_tr_func 1
11699 echo "$ac_t""no
" 1>&6
11707 echo $ac_n "checking
for isnanl declaration
""...
$ac_c" 1>&6
11708 echo "configure
:11709: checking
for isnanl declaration
" >&5
11709 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
11710 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
11711 echo $ac_n "(cached
) $ac_c" 1>&6
11716 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11717 ac_cpp='$CXXCPP $CPPFLAGS'
11718 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11719 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11720 cross_compiling=$ac_cv_prog_cxx_cross
11722 cat > conftest.$ac_ext <<EOF
11723 #line 11724 "configure
"
11724 #include "confdefs.h
"
11726 #ifdef HAVE_IEEEFP_H
11727 #include <ieeefp.h>
11734 if { (eval echo configure:11735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11736 glibcpp_cv_func_isnanl_use=yes
11738 echo "configure
: failed program was
:" >&5
11739 cat conftest.$ac_ext >&5
11741 glibcpp_cv_func_isnanl_use=no
11745 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11746 ac_cpp='$CPP $CPPFLAGS'
11747 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11748 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11749 cross_compiling=$ac_cv_prog_cc_cross
11755 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
11757 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
11758 for ac_func in isnanl
11760 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11761 echo "configure
:11762: checking
for $ac_func" >&5
11762 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11763 echo $ac_n "(cached
) $ac_c" 1>&6
11765 cat > conftest.$ac_ext <<EOF
11766 #line 11767 "configure
"
11767 #include "confdefs.h
"
11768 /* System header to define __stub macros and hopefully few prototypes,
11769 which can conflict with char $ac_func(); below. */
11770 #include <assert.h>
11771 /* Override any gcc2 internal prototype to avoid an error. */
11772 /* We use char because int might match the return type of a gcc2
11773 builtin and then its argument prototype would still apply. */
11778 /* The GNU C library defines this for functions which it implements
11779 to always fail with ENOSYS. Some functions are actually named
11780 something starting with __ and the normal name is an alias. */
11781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11789 if { (eval echo configure:11790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11791 eval "ac_cv_func_
$ac_func=yes"
11793 echo "configure
: failed program was
:" >&5
11794 cat conftest.$ac_ext >&5
11796 eval "ac_cv_func_
$ac_func=no
"
11801 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11802 echo "$ac_t""yes" 1>&6
11803 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11804 cat >> confdefs.h <<EOF
11805 #define $ac_tr_func 1
11809 echo "$ac_t""no
" 1>&6
11815 echo $ac_n "checking
for _isnanl declaration
""...
$ac_c" 1>&6
11816 echo "configure
:11817: checking
for _isnanl declaration
" >&5
11817 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
11818 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
11819 echo $ac_n "(cached
) $ac_c" 1>&6
11824 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11825 ac_cpp='$CXXCPP $CPPFLAGS'
11826 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11827 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11828 cross_compiling=$ac_cv_prog_cxx_cross
11830 cat > conftest.$ac_ext <<EOF
11831 #line 11832 "configure
"
11832 #include "confdefs.h
"
11834 #ifdef HAVE_IEEEFP_H
11835 #include <ieeefp.h>
11842 if { (eval echo configure:11843: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11844 glibcpp_cv_func__isnanl_use=yes
11846 echo "configure
: failed program was
:" >&5
11847 cat conftest.$ac_ext >&5
11849 glibcpp_cv_func__isnanl_use=no
11853 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11854 ac_cpp='$CPP $CPPFLAGS'
11855 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11856 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11857 cross_compiling=$ac_cv_prog_cc_cross
11863 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
11865 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
11866 for ac_func in _isnanl
11868 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11869 echo "configure
:11870: checking
for $ac_func" >&5
11870 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11871 echo $ac_n "(cached
) $ac_c" 1>&6
11873 cat > conftest.$ac_ext <<EOF
11874 #line 11875 "configure
"
11875 #include "confdefs.h
"
11876 /* System header to define __stub macros and hopefully few prototypes,
11877 which can conflict with char $ac_func(); below. */
11878 #include <assert.h>
11879 /* Override any gcc2 internal prototype to avoid an error. */
11880 /* We use char because int might match the return type of a gcc2
11881 builtin and then its argument prototype would still apply. */
11886 /* The GNU C library defines this for functions which it implements
11887 to always fail with ENOSYS. Some functions are actually named
11888 something starting with __ and the normal name is an alias. */
11889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11897 if { (eval echo configure:11898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11899 eval "ac_cv_func_
$ac_func=yes"
11901 echo "configure
: failed program was
:" >&5
11902 cat conftest.$ac_ext >&5
11904 eval "ac_cv_func_
$ac_func=no
"
11909 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11910 echo "$ac_t""yes" 1>&6
11911 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11912 cat >> confdefs.h <<EOF
11913 #define $ac_tr_func 1
11917 echo "$ac_t""no
" 1>&6
11926 echo $ac_n "checking
for isinfl declaration
""...
$ac_c" 1>&6
11927 echo "configure
:11928: checking
for isinfl declaration
" >&5
11928 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
11929 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
11930 echo $ac_n "(cached
) $ac_c" 1>&6
11935 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11936 ac_cpp='$CXXCPP $CPPFLAGS'
11937 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11938 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11939 cross_compiling=$ac_cv_prog_cxx_cross
11941 cat > conftest.$ac_ext <<EOF
11942 #line 11943 "configure
"
11943 #include "confdefs.h
"
11945 #ifdef HAVE_IEEEFP_H
11946 #include <ieeefp.h>
11953 if { (eval echo configure:11954: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11955 glibcpp_cv_func_isinfl_use=yes
11957 echo "configure
: failed program was
:" >&5
11958 cat conftest.$ac_ext >&5
11960 glibcpp_cv_func_isinfl_use=no
11964 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11965 ac_cpp='$CPP $CPPFLAGS'
11966 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11967 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11968 cross_compiling=$ac_cv_prog_cc_cross
11974 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
11976 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
11977 for ac_func in isinfl
11979 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11980 echo "configure
:11981: checking
for $ac_func" >&5
11981 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11982 echo $ac_n "(cached
) $ac_c" 1>&6
11984 cat > conftest.$ac_ext <<EOF
11985 #line 11986 "configure
"
11986 #include "confdefs.h
"
11987 /* System header to define __stub macros and hopefully few prototypes,
11988 which can conflict with char $ac_func(); below. */
11989 #include <assert.h>
11990 /* Override any gcc2 internal prototype to avoid an error. */
11991 /* We use char because int might match the return type of a gcc2
11992 builtin and then its argument prototype would still apply. */
11997 /* The GNU C library defines this for functions which it implements
11998 to always fail with ENOSYS. Some functions are actually named
11999 something starting with __ and the normal name is an alias. */
12000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12008 if { (eval echo configure:12009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12010 eval "ac_cv_func_
$ac_func=yes"
12012 echo "configure
: failed program was
:" >&5
12013 cat conftest.$ac_ext >&5
12015 eval "ac_cv_func_
$ac_func=no
"
12020 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12021 echo "$ac_t""yes" 1>&6
12022 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12023 cat >> confdefs.h <<EOF
12024 #define $ac_tr_func 1
12028 echo "$ac_t""no
" 1>&6
12034 echo $ac_n "checking
for _isinfl declaration
""...
$ac_c" 1>&6
12035 echo "configure
:12036: checking
for _isinfl declaration
" >&5
12036 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
12037 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
12038 echo $ac_n "(cached
) $ac_c" 1>&6
12043 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12044 ac_cpp='$CXXCPP $CPPFLAGS'
12045 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12046 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12047 cross_compiling=$ac_cv_prog_cxx_cross
12049 cat > conftest.$ac_ext <<EOF
12050 #line 12051 "configure
"
12051 #include "confdefs.h
"
12053 #ifdef HAVE_IEEEFP_H
12054 #include <ieeefp.h>
12061 if { (eval echo configure:12062: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12063 glibcpp_cv_func__isinfl_use=yes
12065 echo "configure
: failed program was
:" >&5
12066 cat conftest.$ac_ext >&5
12068 glibcpp_cv_func__isinfl_use=no
12072 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12073 ac_cpp='$CPP $CPPFLAGS'
12074 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12075 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12076 cross_compiling=$ac_cv_prog_cc_cross
12082 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
12084 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
12085 for ac_func in _isinfl
12087 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12088 echo "configure
:12089: checking
for $ac_func" >&5
12089 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12090 echo $ac_n "(cached
) $ac_c" 1>&6
12092 cat > conftest.$ac_ext <<EOF
12093 #line 12094 "configure
"
12094 #include "confdefs.h
"
12095 /* System header to define __stub macros and hopefully few prototypes,
12096 which can conflict with char $ac_func(); below. */
12097 #include <assert.h>
12098 /* Override any gcc2 internal prototype to avoid an error. */
12099 /* We use char because int might match the return type of a gcc2
12100 builtin and then its argument prototype would still apply. */
12105 /* The GNU C library defines this for functions which it implements
12106 to always fail with ENOSYS. Some functions are actually named
12107 something starting with __ and the normal name is an alias. */
12108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12116 if { (eval echo configure:12117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12118 eval "ac_cv_func_
$ac_func=yes"
12120 echo "configure
: failed program was
:" >&5
12121 cat conftest.$ac_ext >&5
12123 eval "ac_cv_func_
$ac_func=no
"
12128 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12129 echo "$ac_t""yes" 1>&6
12130 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12131 cat >> confdefs.h <<EOF
12132 #define $ac_tr_func 1
12136 echo "$ac_t""no
" 1>&6
12145 echo $ac_n "checking
for copysignl declaration
""...
$ac_c" 1>&6
12146 echo "configure
:12147: checking
for copysignl declaration
" >&5
12147 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
12148 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
12149 echo $ac_n "(cached
) $ac_c" 1>&6
12154 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12155 ac_cpp='$CXXCPP $CPPFLAGS'
12156 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12157 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12158 cross_compiling=$ac_cv_prog_cxx_cross
12160 cat > conftest.$ac_ext <<EOF
12161 #line 12162 "configure
"
12162 #include "confdefs.h
"
12168 if { (eval echo configure:12169: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12170 glibcpp_cv_func_copysignl_use=yes
12172 echo "configure
: failed program was
:" >&5
12173 cat conftest.$ac_ext >&5
12175 glibcpp_cv_func_copysignl_use=no
12179 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12180 ac_cpp='$CPP $CPPFLAGS'
12181 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12182 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12183 cross_compiling=$ac_cv_prog_cc_cross
12189 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
12191 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
12192 for ac_func in copysignl
12194 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12195 echo "configure
:12196: checking
for $ac_func" >&5
12196 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12197 echo $ac_n "(cached
) $ac_c" 1>&6
12199 cat > conftest.$ac_ext <<EOF
12200 #line 12201 "configure
"
12201 #include "confdefs.h
"
12202 /* System header to define __stub macros and hopefully few prototypes,
12203 which can conflict with char $ac_func(); below. */
12204 #include <assert.h>
12205 /* Override any gcc2 internal prototype to avoid an error. */
12206 /* We use char because int might match the return type of a gcc2
12207 builtin and then its argument prototype would still apply. */
12212 /* The GNU C library defines this for functions which it implements
12213 to always fail with ENOSYS. Some functions are actually named
12214 something starting with __ and the normal name is an alias. */
12215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12223 if { (eval echo configure:12224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12225 eval "ac_cv_func_
$ac_func=yes"
12227 echo "configure
: failed program was
:" >&5
12228 cat conftest.$ac_ext >&5
12230 eval "ac_cv_func_
$ac_func=no
"
12235 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12236 echo "$ac_t""yes" 1>&6
12237 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12238 cat >> confdefs.h <<EOF
12239 #define $ac_tr_func 1
12243 echo "$ac_t""no
" 1>&6
12249 echo $ac_n "checking
for _copysignl declaration
""...
$ac_c" 1>&6
12250 echo "configure
:12251: checking
for _copysignl declaration
" >&5
12251 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
12252 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
12253 echo $ac_n "(cached
) $ac_c" 1>&6
12258 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12259 ac_cpp='$CXXCPP $CPPFLAGS'
12260 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12261 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12262 cross_compiling=$ac_cv_prog_cxx_cross
12264 cat > conftest.$ac_ext <<EOF
12265 #line 12266 "configure
"
12266 #include "confdefs.h
"
12272 if { (eval echo configure:12273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12274 glibcpp_cv_func__copysignl_use=yes
12276 echo "configure
: failed program was
:" >&5
12277 cat conftest.$ac_ext >&5
12279 glibcpp_cv_func__copysignl_use=no
12283 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12284 ac_cpp='$CPP $CPPFLAGS'
12285 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12286 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12287 cross_compiling=$ac_cv_prog_cc_cross
12293 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
12295 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
12296 for ac_func in _copysignl
12298 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12299 echo "configure
:12300: checking
for $ac_func" >&5
12300 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12301 echo $ac_n "(cached
) $ac_c" 1>&6
12303 cat > conftest.$ac_ext <<EOF
12304 #line 12305 "configure
"
12305 #include "confdefs.h
"
12306 /* System header to define __stub macros and hopefully few prototypes,
12307 which can conflict with char $ac_func(); below. */
12308 #include <assert.h>
12309 /* Override any gcc2 internal prototype to avoid an error. */
12310 /* We use char because int might match the return type of a gcc2
12311 builtin and then its argument prototype would still apply. */
12316 /* The GNU C library defines this for functions which it implements
12317 to always fail with ENOSYS. Some functions are actually named
12318 something starting with __ and the normal name is an alias. */
12319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12327 if { (eval echo configure:12328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12329 eval "ac_cv_func_
$ac_func=yes"
12331 echo "configure
: failed program was
:" >&5
12332 cat conftest.$ac_ext >&5
12334 eval "ac_cv_func_
$ac_func=no
"
12339 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12340 echo "$ac_t""yes" 1>&6
12341 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12342 cat >> confdefs.h <<EOF
12343 #define $ac_tr_func 1
12347 echo "$ac_t""no
" 1>&6
12356 echo $ac_n "checking
for atan2l declaration
""...
$ac_c" 1>&6
12357 echo "configure
:12358: checking
for atan2l declaration
" >&5
12358 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
12359 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
12360 echo $ac_n "(cached
) $ac_c" 1>&6
12365 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12366 ac_cpp='$CXXCPP $CPPFLAGS'
12367 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12368 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12369 cross_compiling=$ac_cv_prog_cxx_cross
12371 cat > conftest.$ac_ext <<EOF
12372 #line 12373 "configure
"
12373 #include "confdefs.h
"
12379 if { (eval echo configure:12380: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12381 glibcpp_cv_func_atan2l_use=yes
12383 echo "configure
: failed program was
:" >&5
12384 cat conftest.$ac_ext >&5
12386 glibcpp_cv_func_atan2l_use=no
12390 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12391 ac_cpp='$CPP $CPPFLAGS'
12392 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12393 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12394 cross_compiling=$ac_cv_prog_cc_cross
12400 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
12402 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
12403 for ac_func in atan2l
12405 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12406 echo "configure
:12407: checking
for $ac_func" >&5
12407 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12408 echo $ac_n "(cached
) $ac_c" 1>&6
12410 cat > conftest.$ac_ext <<EOF
12411 #line 12412 "configure
"
12412 #include "confdefs.h
"
12413 /* System header to define __stub macros and hopefully few prototypes,
12414 which can conflict with char $ac_func(); below. */
12415 #include <assert.h>
12416 /* Override any gcc2 internal prototype to avoid an error. */
12417 /* We use char because int might match the return type of a gcc2
12418 builtin and then its argument prototype would still apply. */
12423 /* The GNU C library defines this for functions which it implements
12424 to always fail with ENOSYS. Some functions are actually named
12425 something starting with __ and the normal name is an alias. */
12426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12434 if { (eval echo configure:12435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12436 eval "ac_cv_func_
$ac_func=yes"
12438 echo "configure
: failed program was
:" >&5
12439 cat conftest.$ac_ext >&5
12441 eval "ac_cv_func_
$ac_func=no
"
12446 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12447 echo "$ac_t""yes" 1>&6
12448 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12449 cat >> confdefs.h <<EOF
12450 #define $ac_tr_func 1
12454 echo "$ac_t""no
" 1>&6
12460 echo $ac_n "checking
for _atan2l declaration
""...
$ac_c" 1>&6
12461 echo "configure
:12462: checking
for _atan2l declaration
" >&5
12462 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
12463 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
12464 echo $ac_n "(cached
) $ac_c" 1>&6
12469 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12470 ac_cpp='$CXXCPP $CPPFLAGS'
12471 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12472 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12473 cross_compiling=$ac_cv_prog_cxx_cross
12475 cat > conftest.$ac_ext <<EOF
12476 #line 12477 "configure
"
12477 #include "confdefs.h
"
12483 if { (eval echo configure:12484: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12485 glibcpp_cv_func__atan2l_use=yes
12487 echo "configure
: failed program was
:" >&5
12488 cat conftest.$ac_ext >&5
12490 glibcpp_cv_func__atan2l_use=no
12494 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12495 ac_cpp='$CPP $CPPFLAGS'
12496 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12497 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12498 cross_compiling=$ac_cv_prog_cc_cross
12504 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
12506 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
12507 for ac_func in _atan2l
12509 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12510 echo "configure
:12511: checking
for $ac_func" >&5
12511 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12512 echo $ac_n "(cached
) $ac_c" 1>&6
12514 cat > conftest.$ac_ext <<EOF
12515 #line 12516 "configure
"
12516 #include "confdefs.h
"
12517 /* System header to define __stub macros and hopefully few prototypes,
12518 which can conflict with char $ac_func(); below. */
12519 #include <assert.h>
12520 /* Override any gcc2 internal prototype to avoid an error. */
12521 /* We use char because int might match the return type of a gcc2
12522 builtin and then its argument prototype would still apply. */
12527 /* The GNU C library defines this for functions which it implements
12528 to always fail with ENOSYS. Some functions are actually named
12529 something starting with __ and the normal name is an alias. */
12530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12538 if { (eval echo configure:12539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12540 eval "ac_cv_func_
$ac_func=yes"
12542 echo "configure
: failed program was
:" >&5
12543 cat conftest.$ac_ext >&5
12545 eval "ac_cv_func_
$ac_func=no
"
12550 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12551 echo "$ac_t""yes" 1>&6
12552 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12553 cat >> confdefs.h <<EOF
12554 #define $ac_tr_func 1
12558 echo "$ac_t""no
" 1>&6
12567 echo $ac_n "checking
for expl declaration
""...
$ac_c" 1>&6
12568 echo "configure
:12569: checking
for expl declaration
" >&5
12569 if test x${glibcpp_cv_func_expl_use+set} != xset; then
12570 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
12571 echo $ac_n "(cached
) $ac_c" 1>&6
12576 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12577 ac_cpp='$CXXCPP $CPPFLAGS'
12578 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12579 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12580 cross_compiling=$ac_cv_prog_cxx_cross
12582 cat > conftest.$ac_ext <<EOF
12583 #line 12584 "configure
"
12584 #include "confdefs.h
"
12586 #ifdef HAVE_IEEEFP_H
12587 #include <ieeefp.h>
12594 if { (eval echo configure:12595: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12596 glibcpp_cv_func_expl_use=yes
12598 echo "configure
: failed program was
:" >&5
12599 cat conftest.$ac_ext >&5
12601 glibcpp_cv_func_expl_use=no
12605 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12606 ac_cpp='$CPP $CPPFLAGS'
12607 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12608 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12609 cross_compiling=$ac_cv_prog_cc_cross
12615 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
12617 if test x$glibcpp_cv_func_expl_use = x"yes"; then
12618 for ac_func in expl
12620 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12621 echo "configure
:12622: checking
for $ac_func" >&5
12622 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12623 echo $ac_n "(cached
) $ac_c" 1>&6
12625 cat > conftest.$ac_ext <<EOF
12626 #line 12627 "configure
"
12627 #include "confdefs.h
"
12628 /* System header to define __stub macros and hopefully few prototypes,
12629 which can conflict with char $ac_func(); below. */
12630 #include <assert.h>
12631 /* Override any gcc2 internal prototype to avoid an error. */
12632 /* We use char because int might match the return type of a gcc2
12633 builtin and then its argument prototype would still apply. */
12638 /* The GNU C library defines this for functions which it implements
12639 to always fail with ENOSYS. Some functions are actually named
12640 something starting with __ and the normal name is an alias. */
12641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12649 if { (eval echo configure:12650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12651 eval "ac_cv_func_
$ac_func=yes"
12653 echo "configure
: failed program was
:" >&5
12654 cat conftest.$ac_ext >&5
12656 eval "ac_cv_func_
$ac_func=no
"
12661 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12662 echo "$ac_t""yes" 1>&6
12663 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12664 cat >> confdefs.h <<EOF
12665 #define $ac_tr_func 1
12669 echo "$ac_t""no
" 1>&6
12675 echo $ac_n "checking
for _expl declaration
""...
$ac_c" 1>&6
12676 echo "configure
:12677: checking
for _expl declaration
" >&5
12677 if test x${glibcpp_cv_func__expl_use+set} != xset; then
12678 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
12679 echo $ac_n "(cached
) $ac_c" 1>&6
12684 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12685 ac_cpp='$CXXCPP $CPPFLAGS'
12686 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12687 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12688 cross_compiling=$ac_cv_prog_cxx_cross
12690 cat > conftest.$ac_ext <<EOF
12691 #line 12692 "configure
"
12692 #include "confdefs.h
"
12694 #ifdef HAVE_IEEEFP_H
12695 #include <ieeefp.h>
12702 if { (eval echo configure:12703: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12704 glibcpp_cv_func__expl_use=yes
12706 echo "configure
: failed program was
:" >&5
12707 cat conftest.$ac_ext >&5
12709 glibcpp_cv_func__expl_use=no
12713 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12714 ac_cpp='$CPP $CPPFLAGS'
12715 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12716 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12717 cross_compiling=$ac_cv_prog_cc_cross
12723 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
12725 if test x$glibcpp_cv_func__expl_use = x"yes"; then
12726 for ac_func in _expl
12728 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12729 echo "configure
:12730: checking
for $ac_func" >&5
12730 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12731 echo $ac_n "(cached
) $ac_c" 1>&6
12733 cat > conftest.$ac_ext <<EOF
12734 #line 12735 "configure
"
12735 #include "confdefs.h
"
12736 /* System header to define __stub macros and hopefully few prototypes,
12737 which can conflict with char $ac_func(); below. */
12738 #include <assert.h>
12739 /* Override any gcc2 internal prototype to avoid an error. */
12740 /* We use char because int might match the return type of a gcc2
12741 builtin and then its argument prototype would still apply. */
12746 /* The GNU C library defines this for functions which it implements
12747 to always fail with ENOSYS. Some functions are actually named
12748 something starting with __ and the normal name is an alias. */
12749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12757 if { (eval echo configure:12758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12759 eval "ac_cv_func_
$ac_func=yes"
12761 echo "configure
: failed program was
:" >&5
12762 cat conftest.$ac_ext >&5
12764 eval "ac_cv_func_
$ac_func=no
"
12769 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12770 echo "$ac_t""yes" 1>&6
12771 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12772 cat >> confdefs.h <<EOF
12773 #define $ac_tr_func 1
12777 echo "$ac_t""no
" 1>&6
12786 echo $ac_n "checking
for fabsl declaration
""...
$ac_c" 1>&6
12787 echo "configure
:12788: checking
for fabsl declaration
" >&5
12788 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
12789 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
12790 echo $ac_n "(cached
) $ac_c" 1>&6
12795 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12796 ac_cpp='$CXXCPP $CPPFLAGS'
12797 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12798 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12799 cross_compiling=$ac_cv_prog_cxx_cross
12801 cat > conftest.$ac_ext <<EOF
12802 #line 12803 "configure
"
12803 #include "confdefs.h
"
12805 #ifdef HAVE_IEEEFP_H
12806 #include <ieeefp.h>
12813 if { (eval echo configure:12814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12815 glibcpp_cv_func_fabsl_use=yes
12817 echo "configure
: failed program was
:" >&5
12818 cat conftest.$ac_ext >&5
12820 glibcpp_cv_func_fabsl_use=no
12824 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12825 ac_cpp='$CPP $CPPFLAGS'
12826 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12827 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12828 cross_compiling=$ac_cv_prog_cc_cross
12834 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
12836 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
12837 for ac_func in fabsl
12839 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12840 echo "configure
:12841: checking
for $ac_func" >&5
12841 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12842 echo $ac_n "(cached
) $ac_c" 1>&6
12844 cat > conftest.$ac_ext <<EOF
12845 #line 12846 "configure
"
12846 #include "confdefs.h
"
12847 /* System header to define __stub macros and hopefully few prototypes,
12848 which can conflict with char $ac_func(); below. */
12849 #include <assert.h>
12850 /* Override any gcc2 internal prototype to avoid an error. */
12851 /* We use char because int might match the return type of a gcc2
12852 builtin and then its argument prototype would still apply. */
12857 /* The GNU C library defines this for functions which it implements
12858 to always fail with ENOSYS. Some functions are actually named
12859 something starting with __ and the normal name is an alias. */
12860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12868 if { (eval echo configure:12869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12870 eval "ac_cv_func_
$ac_func=yes"
12872 echo "configure
: failed program was
:" >&5
12873 cat conftest.$ac_ext >&5
12875 eval "ac_cv_func_
$ac_func=no
"
12880 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12881 echo "$ac_t""yes" 1>&6
12882 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12883 cat >> confdefs.h <<EOF
12884 #define $ac_tr_func 1
12888 echo "$ac_t""no
" 1>&6
12894 echo $ac_n "checking
for _fabsl declaration
""...
$ac_c" 1>&6
12895 echo "configure
:12896: checking
for _fabsl declaration
" >&5
12896 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
12897 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
12898 echo $ac_n "(cached
) $ac_c" 1>&6
12903 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12904 ac_cpp='$CXXCPP $CPPFLAGS'
12905 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12906 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12907 cross_compiling=$ac_cv_prog_cxx_cross
12909 cat > conftest.$ac_ext <<EOF
12910 #line 12911 "configure
"
12911 #include "confdefs.h
"
12913 #ifdef HAVE_IEEEFP_H
12914 #include <ieeefp.h>
12921 if { (eval echo configure:12922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12923 glibcpp_cv_func__fabsl_use=yes
12925 echo "configure
: failed program was
:" >&5
12926 cat conftest.$ac_ext >&5
12928 glibcpp_cv_func__fabsl_use=no
12932 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12933 ac_cpp='$CPP $CPPFLAGS'
12934 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12935 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12936 cross_compiling=$ac_cv_prog_cc_cross
12942 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
12944 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
12945 for ac_func in _fabsl
12947 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12948 echo "configure
:12949: checking
for $ac_func" >&5
12949 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12950 echo $ac_n "(cached
) $ac_c" 1>&6
12952 cat > conftest.$ac_ext <<EOF
12953 #line 12954 "configure
"
12954 #include "confdefs.h
"
12955 /* System header to define __stub macros and hopefully few prototypes,
12956 which can conflict with char $ac_func(); below. */
12957 #include <assert.h>
12958 /* Override any gcc2 internal prototype to avoid an error. */
12959 /* We use char because int might match the return type of a gcc2
12960 builtin and then its argument prototype would still apply. */
12965 /* The GNU C library defines this for functions which it implements
12966 to always fail with ENOSYS. Some functions are actually named
12967 something starting with __ and the normal name is an alias. */
12968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12976 if { (eval echo configure:12977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12978 eval "ac_cv_func_
$ac_func=yes"
12980 echo "configure
: failed program was
:" >&5
12981 cat conftest.$ac_ext >&5
12983 eval "ac_cv_func_
$ac_func=no
"
12988 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12989 echo "$ac_t""yes" 1>&6
12990 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12991 cat >> confdefs.h <<EOF
12992 #define $ac_tr_func 1
12996 echo "$ac_t""no
" 1>&6
13005 echo $ac_n "checking
for fmodl declaration
""...
$ac_c" 1>&6
13006 echo "configure
:13007: checking
for fmodl declaration
" >&5
13007 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
13008 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
13009 echo $ac_n "(cached
) $ac_c" 1>&6
13014 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13015 ac_cpp='$CXXCPP $CPPFLAGS'
13016 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13017 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13018 cross_compiling=$ac_cv_prog_cxx_cross
13020 cat > conftest.$ac_ext <<EOF
13021 #line 13022 "configure
"
13022 #include "confdefs.h
"
13028 if { (eval echo configure:13029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13030 glibcpp_cv_func_fmodl_use=yes
13032 echo "configure
: failed program was
:" >&5
13033 cat conftest.$ac_ext >&5
13035 glibcpp_cv_func_fmodl_use=no
13039 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13040 ac_cpp='$CPP $CPPFLAGS'
13041 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13042 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13043 cross_compiling=$ac_cv_prog_cc_cross
13049 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
13051 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
13052 for ac_func in fmodl
13054 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13055 echo "configure
:13056: checking
for $ac_func" >&5
13056 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13057 echo $ac_n "(cached
) $ac_c" 1>&6
13059 cat > conftest.$ac_ext <<EOF
13060 #line 13061 "configure
"
13061 #include "confdefs.h
"
13062 /* System header to define __stub macros and hopefully few prototypes,
13063 which can conflict with char $ac_func(); below. */
13064 #include <assert.h>
13065 /* Override any gcc2 internal prototype to avoid an error. */
13066 /* We use char because int might match the return type of a gcc2
13067 builtin and then its argument prototype would still apply. */
13072 /* The GNU C library defines this for functions which it implements
13073 to always fail with ENOSYS. Some functions are actually named
13074 something starting with __ and the normal name is an alias. */
13075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13083 if { (eval echo configure:13084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13085 eval "ac_cv_func_
$ac_func=yes"
13087 echo "configure
: failed program was
:" >&5
13088 cat conftest.$ac_ext >&5
13090 eval "ac_cv_func_
$ac_func=no
"
13095 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13096 echo "$ac_t""yes" 1>&6
13097 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13098 cat >> confdefs.h <<EOF
13099 #define $ac_tr_func 1
13103 echo "$ac_t""no
" 1>&6
13109 echo $ac_n "checking
for _fmodl declaration
""...
$ac_c" 1>&6
13110 echo "configure
:13111: checking
for _fmodl declaration
" >&5
13111 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
13112 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
13113 echo $ac_n "(cached
) $ac_c" 1>&6
13118 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13119 ac_cpp='$CXXCPP $CPPFLAGS'
13120 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13121 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13122 cross_compiling=$ac_cv_prog_cxx_cross
13124 cat > conftest.$ac_ext <<EOF
13125 #line 13126 "configure
"
13126 #include "confdefs.h
"
13132 if { (eval echo configure:13133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13134 glibcpp_cv_func__fmodl_use=yes
13136 echo "configure
: failed program was
:" >&5
13137 cat conftest.$ac_ext >&5
13139 glibcpp_cv_func__fmodl_use=no
13143 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13144 ac_cpp='$CPP $CPPFLAGS'
13145 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13146 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13147 cross_compiling=$ac_cv_prog_cc_cross
13153 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
13155 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
13156 for ac_func in _fmodl
13158 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13159 echo "configure
:13160: checking
for $ac_func" >&5
13160 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13161 echo $ac_n "(cached
) $ac_c" 1>&6
13163 cat > conftest.$ac_ext <<EOF
13164 #line 13165 "configure
"
13165 #include "confdefs.h
"
13166 /* System header to define __stub macros and hopefully few prototypes,
13167 which can conflict with char $ac_func(); below. */
13168 #include <assert.h>
13169 /* Override any gcc2 internal prototype to avoid an error. */
13170 /* We use char because int might match the return type of a gcc2
13171 builtin and then its argument prototype would still apply. */
13176 /* The GNU C library defines this for functions which it implements
13177 to always fail with ENOSYS. Some functions are actually named
13178 something starting with __ and the normal name is an alias. */
13179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13187 if { (eval echo configure:13188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13189 eval "ac_cv_func_
$ac_func=yes"
13191 echo "configure
: failed program was
:" >&5
13192 cat conftest.$ac_ext >&5
13194 eval "ac_cv_func_
$ac_func=no
"
13199 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13200 echo "$ac_t""yes" 1>&6
13201 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13202 cat >> confdefs.h <<EOF
13203 #define $ac_tr_func 1
13207 echo "$ac_t""no
" 1>&6
13216 echo $ac_n "checking
for frexpl declaration
""...
$ac_c" 1>&6
13217 echo "configure
:13218: checking
for frexpl declaration
" >&5
13218 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
13219 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
13220 echo $ac_n "(cached
) $ac_c" 1>&6
13225 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13226 ac_cpp='$CXXCPP $CPPFLAGS'
13227 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13228 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13229 cross_compiling=$ac_cv_prog_cxx_cross
13231 cat > conftest.$ac_ext <<EOF
13232 #line 13233 "configure
"
13233 #include "confdefs.h
"
13239 if { (eval echo configure:13240: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13241 glibcpp_cv_func_frexpl_use=yes
13243 echo "configure
: failed program was
:" >&5
13244 cat conftest.$ac_ext >&5
13246 glibcpp_cv_func_frexpl_use=no
13250 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13251 ac_cpp='$CPP $CPPFLAGS'
13252 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13253 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13254 cross_compiling=$ac_cv_prog_cc_cross
13260 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
13262 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
13263 for ac_func in frexpl
13265 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13266 echo "configure
:13267: checking
for $ac_func" >&5
13267 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13268 echo $ac_n "(cached
) $ac_c" 1>&6
13270 cat > conftest.$ac_ext <<EOF
13271 #line 13272 "configure
"
13272 #include "confdefs.h
"
13273 /* System header to define __stub macros and hopefully few prototypes,
13274 which can conflict with char $ac_func(); below. */
13275 #include <assert.h>
13276 /* Override any gcc2 internal prototype to avoid an error. */
13277 /* We use char because int might match the return type of a gcc2
13278 builtin and then its argument prototype would still apply. */
13283 /* The GNU C library defines this for functions which it implements
13284 to always fail with ENOSYS. Some functions are actually named
13285 something starting with __ and the normal name is an alias. */
13286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13294 if { (eval echo configure:13295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13296 eval "ac_cv_func_
$ac_func=yes"
13298 echo "configure
: failed program was
:" >&5
13299 cat conftest.$ac_ext >&5
13301 eval "ac_cv_func_
$ac_func=no
"
13306 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13307 echo "$ac_t""yes" 1>&6
13308 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13309 cat >> confdefs.h <<EOF
13310 #define $ac_tr_func 1
13314 echo "$ac_t""no
" 1>&6
13320 echo $ac_n "checking
for _frexpl declaration
""...
$ac_c" 1>&6
13321 echo "configure
:13322: checking
for _frexpl declaration
" >&5
13322 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
13323 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
13324 echo $ac_n "(cached
) $ac_c" 1>&6
13329 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13330 ac_cpp='$CXXCPP $CPPFLAGS'
13331 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13332 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13333 cross_compiling=$ac_cv_prog_cxx_cross
13335 cat > conftest.$ac_ext <<EOF
13336 #line 13337 "configure
"
13337 #include "confdefs.h
"
13343 if { (eval echo configure:13344: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13345 glibcpp_cv_func__frexpl_use=yes
13347 echo "configure
: failed program was
:" >&5
13348 cat conftest.$ac_ext >&5
13350 glibcpp_cv_func__frexpl_use=no
13354 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13355 ac_cpp='$CPP $CPPFLAGS'
13356 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13357 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13358 cross_compiling=$ac_cv_prog_cc_cross
13364 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
13366 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
13367 for ac_func in _frexpl
13369 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13370 echo "configure
:13371: checking
for $ac_func" >&5
13371 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13372 echo $ac_n "(cached
) $ac_c" 1>&6
13374 cat > conftest.$ac_ext <<EOF
13375 #line 13376 "configure
"
13376 #include "confdefs.h
"
13377 /* System header to define __stub macros and hopefully few prototypes,
13378 which can conflict with char $ac_func(); below. */
13379 #include <assert.h>
13380 /* Override any gcc2 internal prototype to avoid an error. */
13381 /* We use char because int might match the return type of a gcc2
13382 builtin and then its argument prototype would still apply. */
13387 /* The GNU C library defines this for functions which it implements
13388 to always fail with ENOSYS. Some functions are actually named
13389 something starting with __ and the normal name is an alias. */
13390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13398 if { (eval echo configure:13399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13400 eval "ac_cv_func_
$ac_func=yes"
13402 echo "configure
: failed program was
:" >&5
13403 cat conftest.$ac_ext >&5
13405 eval "ac_cv_func_
$ac_func=no
"
13410 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13411 echo "$ac_t""yes" 1>&6
13412 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13413 cat >> confdefs.h <<EOF
13414 #define $ac_tr_func 1
13418 echo "$ac_t""no
" 1>&6
13427 echo $ac_n "checking
for hypotl declaration
""...
$ac_c" 1>&6
13428 echo "configure
:13429: checking
for hypotl declaration
" >&5
13429 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
13430 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
13431 echo $ac_n "(cached
) $ac_c" 1>&6
13436 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13437 ac_cpp='$CXXCPP $CPPFLAGS'
13438 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13439 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13440 cross_compiling=$ac_cv_prog_cxx_cross
13442 cat > conftest.$ac_ext <<EOF
13443 #line 13444 "configure
"
13444 #include "confdefs.h
"
13450 if { (eval echo configure:13451: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13452 glibcpp_cv_func_hypotl_use=yes
13454 echo "configure
: failed program was
:" >&5
13455 cat conftest.$ac_ext >&5
13457 glibcpp_cv_func_hypotl_use=no
13461 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13462 ac_cpp='$CPP $CPPFLAGS'
13463 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13464 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13465 cross_compiling=$ac_cv_prog_cc_cross
13471 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
13473 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
13474 for ac_func in hypotl
13476 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13477 echo "configure
:13478: checking
for $ac_func" >&5
13478 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13479 echo $ac_n "(cached
) $ac_c" 1>&6
13481 cat > conftest.$ac_ext <<EOF
13482 #line 13483 "configure
"
13483 #include "confdefs.h
"
13484 /* System header to define __stub macros and hopefully few prototypes,
13485 which can conflict with char $ac_func(); below. */
13486 #include <assert.h>
13487 /* Override any gcc2 internal prototype to avoid an error. */
13488 /* We use char because int might match the return type of a gcc2
13489 builtin and then its argument prototype would still apply. */
13494 /* The GNU C library defines this for functions which it implements
13495 to always fail with ENOSYS. Some functions are actually named
13496 something starting with __ and the normal name is an alias. */
13497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13505 if { (eval echo configure:13506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13507 eval "ac_cv_func_
$ac_func=yes"
13509 echo "configure
: failed program was
:" >&5
13510 cat conftest.$ac_ext >&5
13512 eval "ac_cv_func_
$ac_func=no
"
13517 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13518 echo "$ac_t""yes" 1>&6
13519 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13520 cat >> confdefs.h <<EOF
13521 #define $ac_tr_func 1
13525 echo "$ac_t""no
" 1>&6
13531 echo $ac_n "checking
for _hypotl declaration
""...
$ac_c" 1>&6
13532 echo "configure
:13533: checking
for _hypotl declaration
" >&5
13533 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
13534 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
13535 echo $ac_n "(cached
) $ac_c" 1>&6
13540 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13541 ac_cpp='$CXXCPP $CPPFLAGS'
13542 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13543 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13544 cross_compiling=$ac_cv_prog_cxx_cross
13546 cat > conftest.$ac_ext <<EOF
13547 #line 13548 "configure
"
13548 #include "confdefs.h
"
13554 if { (eval echo configure:13555: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13556 glibcpp_cv_func__hypotl_use=yes
13558 echo "configure
: failed program was
:" >&5
13559 cat conftest.$ac_ext >&5
13561 glibcpp_cv_func__hypotl_use=no
13565 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13566 ac_cpp='$CPP $CPPFLAGS'
13567 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13568 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13569 cross_compiling=$ac_cv_prog_cc_cross
13575 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
13577 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
13578 for ac_func in _hypotl
13580 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13581 echo "configure
:13582: checking
for $ac_func" >&5
13582 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13583 echo $ac_n "(cached
) $ac_c" 1>&6
13585 cat > conftest.$ac_ext <<EOF
13586 #line 13587 "configure
"
13587 #include "confdefs.h
"
13588 /* System header to define __stub macros and hopefully few prototypes,
13589 which can conflict with char $ac_func(); below. */
13590 #include <assert.h>
13591 /* Override any gcc2 internal prototype to avoid an error. */
13592 /* We use char because int might match the return type of a gcc2
13593 builtin and then its argument prototype would still apply. */
13598 /* The GNU C library defines this for functions which it implements
13599 to always fail with ENOSYS. Some functions are actually named
13600 something starting with __ and the normal name is an alias. */
13601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13609 if { (eval echo configure:13610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13611 eval "ac_cv_func_
$ac_func=yes"
13613 echo "configure
: failed program was
:" >&5
13614 cat conftest.$ac_ext >&5
13616 eval "ac_cv_func_
$ac_func=no
"
13621 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13622 echo "$ac_t""yes" 1>&6
13623 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13624 cat >> confdefs.h <<EOF
13625 #define $ac_tr_func 1
13629 echo "$ac_t""no
" 1>&6
13638 echo $ac_n "checking
for ldexpl declaration
""...
$ac_c" 1>&6
13639 echo "configure
:13640: checking
for ldexpl declaration
" >&5
13640 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
13641 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
13642 echo $ac_n "(cached
) $ac_c" 1>&6
13647 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13648 ac_cpp='$CXXCPP $CPPFLAGS'
13649 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13650 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13651 cross_compiling=$ac_cv_prog_cxx_cross
13653 cat > conftest.$ac_ext <<EOF
13654 #line 13655 "configure
"
13655 #include "confdefs.h
"
13661 if { (eval echo configure:13662: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13663 glibcpp_cv_func_ldexpl_use=yes
13665 echo "configure
: failed program was
:" >&5
13666 cat conftest.$ac_ext >&5
13668 glibcpp_cv_func_ldexpl_use=no
13672 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13673 ac_cpp='$CPP $CPPFLAGS'
13674 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13675 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13676 cross_compiling=$ac_cv_prog_cc_cross
13682 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
13684 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
13685 for ac_func in ldexpl
13687 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13688 echo "configure
:13689: checking
for $ac_func" >&5
13689 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13690 echo $ac_n "(cached
) $ac_c" 1>&6
13692 cat > conftest.$ac_ext <<EOF
13693 #line 13694 "configure
"
13694 #include "confdefs.h
"
13695 /* System header to define __stub macros and hopefully few prototypes,
13696 which can conflict with char $ac_func(); below. */
13697 #include <assert.h>
13698 /* Override any gcc2 internal prototype to avoid an error. */
13699 /* We use char because int might match the return type of a gcc2
13700 builtin and then its argument prototype would still apply. */
13705 /* The GNU C library defines this for functions which it implements
13706 to always fail with ENOSYS. Some functions are actually named
13707 something starting with __ and the normal name is an alias. */
13708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13716 if { (eval echo configure:13717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13718 eval "ac_cv_func_
$ac_func=yes"
13720 echo "configure
: failed program was
:" >&5
13721 cat conftest.$ac_ext >&5
13723 eval "ac_cv_func_
$ac_func=no
"
13728 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13729 echo "$ac_t""yes" 1>&6
13730 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13731 cat >> confdefs.h <<EOF
13732 #define $ac_tr_func 1
13736 echo "$ac_t""no
" 1>&6
13742 echo $ac_n "checking
for _ldexpl declaration
""...
$ac_c" 1>&6
13743 echo "configure
:13744: checking
for _ldexpl declaration
" >&5
13744 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
13745 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
13746 echo $ac_n "(cached
) $ac_c" 1>&6
13751 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13752 ac_cpp='$CXXCPP $CPPFLAGS'
13753 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13754 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13755 cross_compiling=$ac_cv_prog_cxx_cross
13757 cat > conftest.$ac_ext <<EOF
13758 #line 13759 "configure
"
13759 #include "confdefs.h
"
13765 if { (eval echo configure:13766: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13767 glibcpp_cv_func__ldexpl_use=yes
13769 echo "configure
: failed program was
:" >&5
13770 cat conftest.$ac_ext >&5
13772 glibcpp_cv_func__ldexpl_use=no
13776 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13777 ac_cpp='$CPP $CPPFLAGS'
13778 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13779 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13780 cross_compiling=$ac_cv_prog_cc_cross
13786 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
13788 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
13789 for ac_func in _ldexpl
13791 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13792 echo "configure
:13793: checking
for $ac_func" >&5
13793 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13794 echo $ac_n "(cached
) $ac_c" 1>&6
13796 cat > conftest.$ac_ext <<EOF
13797 #line 13798 "configure
"
13798 #include "confdefs.h
"
13799 /* System header to define __stub macros and hopefully few prototypes,
13800 which can conflict with char $ac_func(); below. */
13801 #include <assert.h>
13802 /* Override any gcc2 internal prototype to avoid an error. */
13803 /* We use char because int might match the return type of a gcc2
13804 builtin and then its argument prototype would still apply. */
13809 /* The GNU C library defines this for functions which it implements
13810 to always fail with ENOSYS. Some functions are actually named
13811 something starting with __ and the normal name is an alias. */
13812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13820 if { (eval echo configure:13821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13822 eval "ac_cv_func_
$ac_func=yes"
13824 echo "configure
: failed program was
:" >&5
13825 cat conftest.$ac_ext >&5
13827 eval "ac_cv_func_
$ac_func=no
"
13832 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13833 echo "$ac_t""yes" 1>&6
13834 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13835 cat >> confdefs.h <<EOF
13836 #define $ac_tr_func 1
13840 echo "$ac_t""no
" 1>&6
13849 echo $ac_n "checking
for logl declaration
""...
$ac_c" 1>&6
13850 echo "configure
:13851: checking
for logl declaration
" >&5
13851 if test x${glibcpp_cv_func_logl_use+set} != xset; then
13852 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
13853 echo $ac_n "(cached
) $ac_c" 1>&6
13858 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13859 ac_cpp='$CXXCPP $CPPFLAGS'
13860 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13861 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13862 cross_compiling=$ac_cv_prog_cxx_cross
13864 cat > conftest.$ac_ext <<EOF
13865 #line 13866 "configure
"
13866 #include "confdefs.h
"
13868 #ifdef HAVE_IEEEFP_H
13869 #include <ieeefp.h>
13876 if { (eval echo configure:13877: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13878 glibcpp_cv_func_logl_use=yes
13880 echo "configure
: failed program was
:" >&5
13881 cat conftest.$ac_ext >&5
13883 glibcpp_cv_func_logl_use=no
13887 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13888 ac_cpp='$CPP $CPPFLAGS'
13889 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13890 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13891 cross_compiling=$ac_cv_prog_cc_cross
13897 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
13899 if test x$glibcpp_cv_func_logl_use = x"yes"; then
13900 for ac_func in logl
13902 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13903 echo "configure
:13904: checking
for $ac_func" >&5
13904 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13905 echo $ac_n "(cached
) $ac_c" 1>&6
13907 cat > conftest.$ac_ext <<EOF
13908 #line 13909 "configure
"
13909 #include "confdefs.h
"
13910 /* System header to define __stub macros and hopefully few prototypes,
13911 which can conflict with char $ac_func(); below. */
13912 #include <assert.h>
13913 /* Override any gcc2 internal prototype to avoid an error. */
13914 /* We use char because int might match the return type of a gcc2
13915 builtin and then its argument prototype would still apply. */
13920 /* The GNU C library defines this for functions which it implements
13921 to always fail with ENOSYS. Some functions are actually named
13922 something starting with __ and the normal name is an alias. */
13923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13931 if { (eval echo configure:13932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13933 eval "ac_cv_func_
$ac_func=yes"
13935 echo "configure
: failed program was
:" >&5
13936 cat conftest.$ac_ext >&5
13938 eval "ac_cv_func_
$ac_func=no
"
13943 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13944 echo "$ac_t""yes" 1>&6
13945 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13946 cat >> confdefs.h <<EOF
13947 #define $ac_tr_func 1
13951 echo "$ac_t""no
" 1>&6
13957 echo $ac_n "checking
for _logl declaration
""...
$ac_c" 1>&6
13958 echo "configure
:13959: checking
for _logl declaration
" >&5
13959 if test x${glibcpp_cv_func__logl_use+set} != xset; then
13960 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
13961 echo $ac_n "(cached
) $ac_c" 1>&6
13966 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13967 ac_cpp='$CXXCPP $CPPFLAGS'
13968 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13969 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13970 cross_compiling=$ac_cv_prog_cxx_cross
13972 cat > conftest.$ac_ext <<EOF
13973 #line 13974 "configure
"
13974 #include "confdefs.h
"
13976 #ifdef HAVE_IEEEFP_H
13977 #include <ieeefp.h>
13984 if { (eval echo configure:13985: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13986 glibcpp_cv_func__logl_use=yes
13988 echo "configure
: failed program was
:" >&5
13989 cat conftest.$ac_ext >&5
13991 glibcpp_cv_func__logl_use=no
13995 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13996 ac_cpp='$CPP $CPPFLAGS'
13997 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13998 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13999 cross_compiling=$ac_cv_prog_cc_cross
14005 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
14007 if test x$glibcpp_cv_func__logl_use = x"yes"; then
14008 for ac_func in _logl
14010 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14011 echo "configure
:14012: checking
for $ac_func" >&5
14012 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14013 echo $ac_n "(cached
) $ac_c" 1>&6
14015 cat > conftest.$ac_ext <<EOF
14016 #line 14017 "configure
"
14017 #include "confdefs.h
"
14018 /* System header to define __stub macros and hopefully few prototypes,
14019 which can conflict with char $ac_func(); below. */
14020 #include <assert.h>
14021 /* Override any gcc2 internal prototype to avoid an error. */
14022 /* We use char because int might match the return type of a gcc2
14023 builtin and then its argument prototype would still apply. */
14028 /* The GNU C library defines this for functions which it implements
14029 to always fail with ENOSYS. Some functions are actually named
14030 something starting with __ and the normal name is an alias. */
14031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14039 if { (eval echo configure:14040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14041 eval "ac_cv_func_
$ac_func=yes"
14043 echo "configure
: failed program was
:" >&5
14044 cat conftest.$ac_ext >&5
14046 eval "ac_cv_func_
$ac_func=no
"
14051 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14052 echo "$ac_t""yes" 1>&6
14053 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14054 cat >> confdefs.h <<EOF
14055 #define $ac_tr_func 1
14059 echo "$ac_t""no
" 1>&6
14068 echo $ac_n "checking
for log10l declaration
""...
$ac_c" 1>&6
14069 echo "configure
:14070: checking
for log10l declaration
" >&5
14070 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
14071 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
14072 echo $ac_n "(cached
) $ac_c" 1>&6
14077 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14078 ac_cpp='$CXXCPP $CPPFLAGS'
14079 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14080 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14081 cross_compiling=$ac_cv_prog_cxx_cross
14083 cat > conftest.$ac_ext <<EOF
14084 #line 14085 "configure
"
14085 #include "confdefs.h
"
14087 #ifdef HAVE_IEEEFP_H
14088 #include <ieeefp.h>
14095 if { (eval echo configure:14096: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14097 glibcpp_cv_func_log10l_use=yes
14099 echo "configure
: failed program was
:" >&5
14100 cat conftest.$ac_ext >&5
14102 glibcpp_cv_func_log10l_use=no
14106 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14107 ac_cpp='$CPP $CPPFLAGS'
14108 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14109 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14110 cross_compiling=$ac_cv_prog_cc_cross
14116 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
14118 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
14119 for ac_func in log10l
14121 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14122 echo "configure
:14123: checking
for $ac_func" >&5
14123 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14124 echo $ac_n "(cached
) $ac_c" 1>&6
14126 cat > conftest.$ac_ext <<EOF
14127 #line 14128 "configure
"
14128 #include "confdefs.h
"
14129 /* System header to define __stub macros and hopefully few prototypes,
14130 which can conflict with char $ac_func(); below. */
14131 #include <assert.h>
14132 /* Override any gcc2 internal prototype to avoid an error. */
14133 /* We use char because int might match the return type of a gcc2
14134 builtin and then its argument prototype would still apply. */
14139 /* The GNU C library defines this for functions which it implements
14140 to always fail with ENOSYS. Some functions are actually named
14141 something starting with __ and the normal name is an alias. */
14142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14150 if { (eval echo configure:14151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14152 eval "ac_cv_func_
$ac_func=yes"
14154 echo "configure
: failed program was
:" >&5
14155 cat conftest.$ac_ext >&5
14157 eval "ac_cv_func_
$ac_func=no
"
14162 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14163 echo "$ac_t""yes" 1>&6
14164 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14165 cat >> confdefs.h <<EOF
14166 #define $ac_tr_func 1
14170 echo "$ac_t""no
" 1>&6
14176 echo $ac_n "checking
for _log10l declaration
""...
$ac_c" 1>&6
14177 echo "configure
:14178: checking
for _log10l declaration
" >&5
14178 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
14179 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
14180 echo $ac_n "(cached
) $ac_c" 1>&6
14185 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14186 ac_cpp='$CXXCPP $CPPFLAGS'
14187 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14188 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14189 cross_compiling=$ac_cv_prog_cxx_cross
14191 cat > conftest.$ac_ext <<EOF
14192 #line 14193 "configure
"
14193 #include "confdefs.h
"
14195 #ifdef HAVE_IEEEFP_H
14196 #include <ieeefp.h>
14203 if { (eval echo configure:14204: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14205 glibcpp_cv_func__log10l_use=yes
14207 echo "configure
: failed program was
:" >&5
14208 cat conftest.$ac_ext >&5
14210 glibcpp_cv_func__log10l_use=no
14214 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14215 ac_cpp='$CPP $CPPFLAGS'
14216 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14217 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14218 cross_compiling=$ac_cv_prog_cc_cross
14224 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
14226 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
14227 for ac_func in _log10l
14229 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14230 echo "configure
:14231: checking
for $ac_func" >&5
14231 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14232 echo $ac_n "(cached
) $ac_c" 1>&6
14234 cat > conftest.$ac_ext <<EOF
14235 #line 14236 "configure
"
14236 #include "confdefs.h
"
14237 /* System header to define __stub macros and hopefully few prototypes,
14238 which can conflict with char $ac_func(); below. */
14239 #include <assert.h>
14240 /* Override any gcc2 internal prototype to avoid an error. */
14241 /* We use char because int might match the return type of a gcc2
14242 builtin and then its argument prototype would still apply. */
14247 /* The GNU C library defines this for functions which it implements
14248 to always fail with ENOSYS. Some functions are actually named
14249 something starting with __ and the normal name is an alias. */
14250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14258 if { (eval echo configure:14259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14260 eval "ac_cv_func_
$ac_func=yes"
14262 echo "configure
: failed program was
:" >&5
14263 cat conftest.$ac_ext >&5
14265 eval "ac_cv_func_
$ac_func=no
"
14270 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14271 echo "$ac_t""yes" 1>&6
14272 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14273 cat >> confdefs.h <<EOF
14274 #define $ac_tr_func 1
14278 echo "$ac_t""no
" 1>&6
14287 echo $ac_n "checking
for modfl declaration
""...
$ac_c" 1>&6
14288 echo "configure
:14289: checking
for modfl declaration
" >&5
14289 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
14290 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
14291 echo $ac_n "(cached
) $ac_c" 1>&6
14296 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14297 ac_cpp='$CXXCPP $CPPFLAGS'
14298 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14299 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14300 cross_compiling=$ac_cv_prog_cxx_cross
14302 cat > conftest.$ac_ext <<EOF
14303 #line 14304 "configure
"
14304 #include "confdefs.h
"
14310 if { (eval echo configure:14311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14312 glibcpp_cv_func_modfl_use=yes
14314 echo "configure
: failed program was
:" >&5
14315 cat conftest.$ac_ext >&5
14317 glibcpp_cv_func_modfl_use=no
14321 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14322 ac_cpp='$CPP $CPPFLAGS'
14323 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14324 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14325 cross_compiling=$ac_cv_prog_cc_cross
14331 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
14333 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
14334 for ac_func in modfl
14336 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14337 echo "configure
:14338: checking
for $ac_func" >&5
14338 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14339 echo $ac_n "(cached
) $ac_c" 1>&6
14341 cat > conftest.$ac_ext <<EOF
14342 #line 14343 "configure
"
14343 #include "confdefs.h
"
14344 /* System header to define __stub macros and hopefully few prototypes,
14345 which can conflict with char $ac_func(); below. */
14346 #include <assert.h>
14347 /* Override any gcc2 internal prototype to avoid an error. */
14348 /* We use char because int might match the return type of a gcc2
14349 builtin and then its argument prototype would still apply. */
14354 /* The GNU C library defines this for functions which it implements
14355 to always fail with ENOSYS. Some functions are actually named
14356 something starting with __ and the normal name is an alias. */
14357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14365 if { (eval echo configure:14366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14367 eval "ac_cv_func_
$ac_func=yes"
14369 echo "configure
: failed program was
:" >&5
14370 cat conftest.$ac_ext >&5
14372 eval "ac_cv_func_
$ac_func=no
"
14377 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14378 echo "$ac_t""yes" 1>&6
14379 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14380 cat >> confdefs.h <<EOF
14381 #define $ac_tr_func 1
14385 echo "$ac_t""no
" 1>&6
14391 echo $ac_n "checking
for _modfl declaration
""...
$ac_c" 1>&6
14392 echo "configure
:14393: checking
for _modfl declaration
" >&5
14393 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
14394 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
14395 echo $ac_n "(cached
) $ac_c" 1>&6
14400 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14401 ac_cpp='$CXXCPP $CPPFLAGS'
14402 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14403 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14404 cross_compiling=$ac_cv_prog_cxx_cross
14406 cat > conftest.$ac_ext <<EOF
14407 #line 14408 "configure
"
14408 #include "confdefs.h
"
14414 if { (eval echo configure:14415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14416 glibcpp_cv_func__modfl_use=yes
14418 echo "configure
: failed program was
:" >&5
14419 cat conftest.$ac_ext >&5
14421 glibcpp_cv_func__modfl_use=no
14425 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14426 ac_cpp='$CPP $CPPFLAGS'
14427 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14428 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14429 cross_compiling=$ac_cv_prog_cc_cross
14435 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
14437 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
14438 for ac_func in _modfl
14440 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14441 echo "configure
:14442: checking
for $ac_func" >&5
14442 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14443 echo $ac_n "(cached
) $ac_c" 1>&6
14445 cat > conftest.$ac_ext <<EOF
14446 #line 14447 "configure
"
14447 #include "confdefs.h
"
14448 /* System header to define __stub macros and hopefully few prototypes,
14449 which can conflict with char $ac_func(); below. */
14450 #include <assert.h>
14451 /* Override any gcc2 internal prototype to avoid an error. */
14452 /* We use char because int might match the return type of a gcc2
14453 builtin and then its argument prototype would still apply. */
14458 /* The GNU C library defines this for functions which it implements
14459 to always fail with ENOSYS. Some functions are actually named
14460 something starting with __ and the normal name is an alias. */
14461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14469 if { (eval echo configure:14470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14471 eval "ac_cv_func_
$ac_func=yes"
14473 echo "configure
: failed program was
:" >&5
14474 cat conftest.$ac_ext >&5
14476 eval "ac_cv_func_
$ac_func=no
"
14481 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14482 echo "$ac_t""yes" 1>&6
14483 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14484 cat >> confdefs.h <<EOF
14485 #define $ac_tr_func 1
14489 echo "$ac_t""no
" 1>&6
14498 echo $ac_n "checking
for powl declaration
""...
$ac_c" 1>&6
14499 echo "configure
:14500: checking
for powl declaration
" >&5
14500 if test x${glibcpp_cv_func_powl_use+set} != xset; then
14501 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
14502 echo $ac_n "(cached
) $ac_c" 1>&6
14507 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14508 ac_cpp='$CXXCPP $CPPFLAGS'
14509 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14510 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14511 cross_compiling=$ac_cv_prog_cxx_cross
14513 cat > conftest.$ac_ext <<EOF
14514 #line 14515 "configure
"
14515 #include "confdefs.h
"
14521 if { (eval echo configure:14522: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14523 glibcpp_cv_func_powl_use=yes
14525 echo "configure
: failed program was
:" >&5
14526 cat conftest.$ac_ext >&5
14528 glibcpp_cv_func_powl_use=no
14532 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14533 ac_cpp='$CPP $CPPFLAGS'
14534 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14535 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14536 cross_compiling=$ac_cv_prog_cc_cross
14542 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
14544 if test x$glibcpp_cv_func_powl_use = x"yes"; then
14545 for ac_func in powl
14547 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14548 echo "configure
:14549: checking
for $ac_func" >&5
14549 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14550 echo $ac_n "(cached
) $ac_c" 1>&6
14552 cat > conftest.$ac_ext <<EOF
14553 #line 14554 "configure
"
14554 #include "confdefs.h
"
14555 /* System header to define __stub macros and hopefully few prototypes,
14556 which can conflict with char $ac_func(); below. */
14557 #include <assert.h>
14558 /* Override any gcc2 internal prototype to avoid an error. */
14559 /* We use char because int might match the return type of a gcc2
14560 builtin and then its argument prototype would still apply. */
14565 /* The GNU C library defines this for functions which it implements
14566 to always fail with ENOSYS. Some functions are actually named
14567 something starting with __ and the normal name is an alias. */
14568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14576 if { (eval echo configure:14577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14578 eval "ac_cv_func_
$ac_func=yes"
14580 echo "configure
: failed program was
:" >&5
14581 cat conftest.$ac_ext >&5
14583 eval "ac_cv_func_
$ac_func=no
"
14588 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14589 echo "$ac_t""yes" 1>&6
14590 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14591 cat >> confdefs.h <<EOF
14592 #define $ac_tr_func 1
14596 echo "$ac_t""no
" 1>&6
14602 echo $ac_n "checking
for _powl declaration
""...
$ac_c" 1>&6
14603 echo "configure
:14604: checking
for _powl declaration
" >&5
14604 if test x${glibcpp_cv_func__powl_use+set} != xset; then
14605 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
14606 echo $ac_n "(cached
) $ac_c" 1>&6
14611 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14612 ac_cpp='$CXXCPP $CPPFLAGS'
14613 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14614 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14615 cross_compiling=$ac_cv_prog_cxx_cross
14617 cat > conftest.$ac_ext <<EOF
14618 #line 14619 "configure
"
14619 #include "confdefs.h
"
14625 if { (eval echo configure:14626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14627 glibcpp_cv_func__powl_use=yes
14629 echo "configure
: failed program was
:" >&5
14630 cat conftest.$ac_ext >&5
14632 glibcpp_cv_func__powl_use=no
14636 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14637 ac_cpp='$CPP $CPPFLAGS'
14638 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14639 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14640 cross_compiling=$ac_cv_prog_cc_cross
14646 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
14648 if test x$glibcpp_cv_func__powl_use = x"yes"; then
14649 for ac_func in _powl
14651 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14652 echo "configure
:14653: checking
for $ac_func" >&5
14653 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14654 echo $ac_n "(cached
) $ac_c" 1>&6
14656 cat > conftest.$ac_ext <<EOF
14657 #line 14658 "configure
"
14658 #include "confdefs.h
"
14659 /* System header to define __stub macros and hopefully few prototypes,
14660 which can conflict with char $ac_func(); below. */
14661 #include <assert.h>
14662 /* Override any gcc2 internal prototype to avoid an error. */
14663 /* We use char because int might match the return type of a gcc2
14664 builtin and then its argument prototype would still apply. */
14669 /* The GNU C library defines this for functions which it implements
14670 to always fail with ENOSYS. Some functions are actually named
14671 something starting with __ and the normal name is an alias. */
14672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14680 if { (eval echo configure:14681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14682 eval "ac_cv_func_
$ac_func=yes"
14684 echo "configure
: failed program was
:" >&5
14685 cat conftest.$ac_ext >&5
14687 eval "ac_cv_func_
$ac_func=no
"
14692 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14693 echo "$ac_t""yes" 1>&6
14694 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14695 cat >> confdefs.h <<EOF
14696 #define $ac_tr_func 1
14700 echo "$ac_t""no
" 1>&6
14709 echo $ac_n "checking
for sqrtl declaration
""...
$ac_c" 1>&6
14710 echo "configure
:14711: checking
for sqrtl declaration
" >&5
14711 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
14712 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
14713 echo $ac_n "(cached
) $ac_c" 1>&6
14718 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14719 ac_cpp='$CXXCPP $CPPFLAGS'
14720 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14721 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14722 cross_compiling=$ac_cv_prog_cxx_cross
14724 cat > conftest.$ac_ext <<EOF
14725 #line 14726 "configure
"
14726 #include "confdefs.h
"
14728 #ifdef HAVE_IEEEFP_H
14729 #include <ieeefp.h>
14736 if { (eval echo configure:14737: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14738 glibcpp_cv_func_sqrtl_use=yes
14740 echo "configure
: failed program was
:" >&5
14741 cat conftest.$ac_ext >&5
14743 glibcpp_cv_func_sqrtl_use=no
14747 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14748 ac_cpp='$CPP $CPPFLAGS'
14749 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14750 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14751 cross_compiling=$ac_cv_prog_cc_cross
14757 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
14759 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
14760 for ac_func in sqrtl
14762 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14763 echo "configure
:14764: checking
for $ac_func" >&5
14764 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14765 echo $ac_n "(cached
) $ac_c" 1>&6
14767 cat > conftest.$ac_ext <<EOF
14768 #line 14769 "configure
"
14769 #include "confdefs.h
"
14770 /* System header to define __stub macros and hopefully few prototypes,
14771 which can conflict with char $ac_func(); below. */
14772 #include <assert.h>
14773 /* Override any gcc2 internal prototype to avoid an error. */
14774 /* We use char because int might match the return type of a gcc2
14775 builtin and then its argument prototype would still apply. */
14780 /* The GNU C library defines this for functions which it implements
14781 to always fail with ENOSYS. Some functions are actually named
14782 something starting with __ and the normal name is an alias. */
14783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14791 if { (eval echo configure:14792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14793 eval "ac_cv_func_
$ac_func=yes"
14795 echo "configure
: failed program was
:" >&5
14796 cat conftest.$ac_ext >&5
14798 eval "ac_cv_func_
$ac_func=no
"
14803 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14804 echo "$ac_t""yes" 1>&6
14805 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14806 cat >> confdefs.h <<EOF
14807 #define $ac_tr_func 1
14811 echo "$ac_t""no
" 1>&6
14817 echo $ac_n "checking
for _sqrtl declaration
""...
$ac_c" 1>&6
14818 echo "configure
:14819: checking
for _sqrtl declaration
" >&5
14819 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
14820 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
14821 echo $ac_n "(cached
) $ac_c" 1>&6
14826 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14827 ac_cpp='$CXXCPP $CPPFLAGS'
14828 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14829 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14830 cross_compiling=$ac_cv_prog_cxx_cross
14832 cat > conftest.$ac_ext <<EOF
14833 #line 14834 "configure
"
14834 #include "confdefs.h
"
14836 #ifdef HAVE_IEEEFP_H
14837 #include <ieeefp.h>
14844 if { (eval echo configure:14845: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14846 glibcpp_cv_func__sqrtl_use=yes
14848 echo "configure
: failed program was
:" >&5
14849 cat conftest.$ac_ext >&5
14851 glibcpp_cv_func__sqrtl_use=no
14855 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14856 ac_cpp='$CPP $CPPFLAGS'
14857 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14858 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14859 cross_compiling=$ac_cv_prog_cc_cross
14865 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
14867 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
14868 for ac_func in _sqrtl
14870 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14871 echo "configure
:14872: checking
for $ac_func" >&5
14872 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14873 echo $ac_n "(cached
) $ac_c" 1>&6
14875 cat > conftest.$ac_ext <<EOF
14876 #line 14877 "configure
"
14877 #include "confdefs.h
"
14878 /* System header to define __stub macros and hopefully few prototypes,
14879 which can conflict with char $ac_func(); below. */
14880 #include <assert.h>
14881 /* Override any gcc2 internal prototype to avoid an error. */
14882 /* We use char because int might match the return type of a gcc2
14883 builtin and then its argument prototype would still apply. */
14888 /* The GNU C library defines this for functions which it implements
14889 to always fail with ENOSYS. Some functions are actually named
14890 something starting with __ and the normal name is an alias. */
14891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14899 if { (eval echo configure:14900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14901 eval "ac_cv_func_
$ac_func=yes"
14903 echo "configure
: failed program was
:" >&5
14904 cat conftest.$ac_ext >&5
14906 eval "ac_cv_func_
$ac_func=no
"
14911 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14912 echo "$ac_t""yes" 1>&6
14913 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14914 cat >> confdefs.h <<EOF
14915 #define $ac_tr_func 1
14919 echo "$ac_t""no
" 1>&6
14928 echo $ac_n "checking
for sincosl declaration
""...
$ac_c" 1>&6
14929 echo "configure
:14930: checking
for sincosl declaration
" >&5
14930 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
14931 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
14932 echo $ac_n "(cached
) $ac_c" 1>&6
14937 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14938 ac_cpp='$CXXCPP $CPPFLAGS'
14939 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14940 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14941 cross_compiling=$ac_cv_prog_cxx_cross
14943 cat > conftest.$ac_ext <<EOF
14944 #line 14945 "configure
"
14945 #include "confdefs.h
"
14951 if { (eval echo configure:14952: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14953 glibcpp_cv_func_sincosl_use=yes
14955 echo "configure
: failed program was
:" >&5
14956 cat conftest.$ac_ext >&5
14958 glibcpp_cv_func_sincosl_use=no
14962 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14963 ac_cpp='$CPP $CPPFLAGS'
14964 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14965 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14966 cross_compiling=$ac_cv_prog_cc_cross
14972 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
14974 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
14975 for ac_func in sincosl
14977 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14978 echo "configure
:14979: checking
for $ac_func" >&5
14979 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14980 echo $ac_n "(cached
) $ac_c" 1>&6
14982 cat > conftest.$ac_ext <<EOF
14983 #line 14984 "configure
"
14984 #include "confdefs.h
"
14985 /* System header to define __stub macros and hopefully few prototypes,
14986 which can conflict with char $ac_func(); below. */
14987 #include <assert.h>
14988 /* Override any gcc2 internal prototype to avoid an error. */
14989 /* We use char because int might match the return type of a gcc2
14990 builtin and then its argument prototype would still apply. */
14995 /* The GNU C library defines this for functions which it implements
14996 to always fail with ENOSYS. Some functions are actually named
14997 something starting with __ and the normal name is an alias. */
14998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15006 if { (eval echo configure:15007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15008 eval "ac_cv_func_
$ac_func=yes"
15010 echo "configure
: failed program was
:" >&5
15011 cat conftest.$ac_ext >&5
15013 eval "ac_cv_func_
$ac_func=no
"
15018 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15019 echo "$ac_t""yes" 1>&6
15020 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15021 cat >> confdefs.h <<EOF
15022 #define $ac_tr_func 1
15026 echo "$ac_t""no
" 1>&6
15032 echo $ac_n "checking
for _sincosl declaration
""...
$ac_c" 1>&6
15033 echo "configure
:15034: checking
for _sincosl declaration
" >&5
15034 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
15035 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
15036 echo $ac_n "(cached
) $ac_c" 1>&6
15041 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15042 ac_cpp='$CXXCPP $CPPFLAGS'
15043 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15044 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15045 cross_compiling=$ac_cv_prog_cxx_cross
15047 cat > conftest.$ac_ext <<EOF
15048 #line 15049 "configure
"
15049 #include "confdefs.h
"
15055 if { (eval echo configure:15056: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15057 glibcpp_cv_func__sincosl_use=yes
15059 echo "configure
: failed program was
:" >&5
15060 cat conftest.$ac_ext >&5
15062 glibcpp_cv_func__sincosl_use=no
15066 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15067 ac_cpp='$CPP $CPPFLAGS'
15068 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15069 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15070 cross_compiling=$ac_cv_prog_cc_cross
15076 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
15078 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
15079 for ac_func in _sincosl
15081 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15082 echo "configure
:15083: checking
for $ac_func" >&5
15083 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15084 echo $ac_n "(cached
) $ac_c" 1>&6
15086 cat > conftest.$ac_ext <<EOF
15087 #line 15088 "configure
"
15088 #include "confdefs.h
"
15089 /* System header to define __stub macros and hopefully few prototypes,
15090 which can conflict with char $ac_func(); below. */
15091 #include <assert.h>
15092 /* Override any gcc2 internal prototype to avoid an error. */
15093 /* We use char because int might match the return type of a gcc2
15094 builtin and then its argument prototype would still apply. */
15099 /* The GNU C library defines this for functions which it implements
15100 to always fail with ENOSYS. Some functions are actually named
15101 something starting with __ and the normal name is an alias. */
15102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15110 if { (eval echo configure:15111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15112 eval "ac_cv_func_
$ac_func=yes"
15114 echo "configure
: failed program was
:" >&5
15115 cat conftest.$ac_ext >&5
15117 eval "ac_cv_func_
$ac_func=no
"
15122 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15123 echo "$ac_t""yes" 1>&6
15124 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15125 cat >> confdefs.h <<EOF
15126 #define $ac_tr_func 1
15130 echo "$ac_t""no
" 1>&6
15139 echo $ac_n "checking
for finitel declaration
""...
$ac_c" 1>&6
15140 echo "configure
:15141: checking
for finitel declaration
" >&5
15141 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
15142 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
15143 echo $ac_n "(cached
) $ac_c" 1>&6
15148 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15149 ac_cpp='$CXXCPP $CPPFLAGS'
15150 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15151 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15152 cross_compiling=$ac_cv_prog_cxx_cross
15154 cat > conftest.$ac_ext <<EOF
15155 #line 15156 "configure
"
15156 #include "confdefs.h
"
15158 #ifdef HAVE_IEEEFP_H
15159 #include <ieeefp.h>
15166 if { (eval echo configure:15167: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15168 glibcpp_cv_func_finitel_use=yes
15170 echo "configure
: failed program was
:" >&5
15171 cat conftest.$ac_ext >&5
15173 glibcpp_cv_func_finitel_use=no
15177 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15178 ac_cpp='$CPP $CPPFLAGS'
15179 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15180 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15181 cross_compiling=$ac_cv_prog_cc_cross
15187 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
15189 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
15190 for ac_func in finitel
15192 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15193 echo "configure
:15194: checking
for $ac_func" >&5
15194 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15195 echo $ac_n "(cached
) $ac_c" 1>&6
15197 cat > conftest.$ac_ext <<EOF
15198 #line 15199 "configure
"
15199 #include "confdefs.h
"
15200 /* System header to define __stub macros and hopefully few prototypes,
15201 which can conflict with char $ac_func(); below. */
15202 #include <assert.h>
15203 /* Override any gcc2 internal prototype to avoid an error. */
15204 /* We use char because int might match the return type of a gcc2
15205 builtin and then its argument prototype would still apply. */
15210 /* The GNU C library defines this for functions which it implements
15211 to always fail with ENOSYS. Some functions are actually named
15212 something starting with __ and the normal name is an alias. */
15213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15221 if { (eval echo configure:15222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15223 eval "ac_cv_func_
$ac_func=yes"
15225 echo "configure
: failed program was
:" >&5
15226 cat conftest.$ac_ext >&5
15228 eval "ac_cv_func_
$ac_func=no
"
15233 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15234 echo "$ac_t""yes" 1>&6
15235 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15236 cat >> confdefs.h <<EOF
15237 #define $ac_tr_func 1
15241 echo "$ac_t""no
" 1>&6
15247 echo $ac_n "checking
for _finitel declaration
""...
$ac_c" 1>&6
15248 echo "configure
:15249: checking
for _finitel declaration
" >&5
15249 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
15250 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
15251 echo $ac_n "(cached
) $ac_c" 1>&6
15256 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15257 ac_cpp='$CXXCPP $CPPFLAGS'
15258 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15259 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15260 cross_compiling=$ac_cv_prog_cxx_cross
15262 cat > conftest.$ac_ext <<EOF
15263 #line 15264 "configure
"
15264 #include "confdefs.h
"
15266 #ifdef HAVE_IEEEFP_H
15267 #include <ieeefp.h>
15274 if { (eval echo configure:15275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15276 glibcpp_cv_func__finitel_use=yes
15278 echo "configure
: failed program was
:" >&5
15279 cat conftest.$ac_ext >&5
15281 glibcpp_cv_func__finitel_use=no
15285 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15286 ac_cpp='$CPP $CPPFLAGS'
15287 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15288 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15289 cross_compiling=$ac_cv_prog_cc_cross
15295 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
15297 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
15298 for ac_func in _finitel
15300 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15301 echo "configure
:15302: checking
for $ac_func" >&5
15302 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15303 echo $ac_n "(cached
) $ac_c" 1>&6
15305 cat > conftest.$ac_ext <<EOF
15306 #line 15307 "configure
"
15307 #include "confdefs.h
"
15308 /* System header to define __stub macros and hopefully few prototypes,
15309 which can conflict with char $ac_func(); below. */
15310 #include <assert.h>
15311 /* Override any gcc2 internal prototype to avoid an error. */
15312 /* We use char because int might match the return type of a gcc2
15313 builtin and then its argument prototype would still apply. */
15318 /* The GNU C library defines this for functions which it implements
15319 to always fail with ENOSYS. Some functions are actually named
15320 something starting with __ and the normal name is an alias. */
15321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15329 if { (eval echo configure:15330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15331 eval "ac_cv_func_
$ac_func=yes"
15333 echo "configure
: failed program was
:" >&5
15334 cat conftest.$ac_ext >&5
15336 eval "ac_cv_func_
$ac_func=no
"
15341 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15342 echo "$ac_t""yes" 1>&6
15343 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15344 cat >> confdefs.h <<EOF
15345 #define $ac_tr_func 1
15349 echo "$ac_t""no
" 1>&6
15359 echo $ac_n "checking
for _float trig functions
""...
$ac_c" 1>&6
15360 echo "configure
:15361: checking
for _float trig functions
" >&5
15361 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
15362 echo $ac_n "(cached
) $ac_c" 1>&6
15367 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15368 ac_cpp='$CXXCPP $CPPFLAGS'
15369 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15370 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15371 cross_compiling=$ac_cv_prog_cxx_cross
15373 cat > conftest.$ac_ext <<EOF
15374 #line 15375 "configure
"
15375 #include "confdefs.h
"
15378 `for x in _acosf _asinf _atanf \
15379 _cosf _sinf _tanf \
15380 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
15383 if { (eval echo configure:15384: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15385 glibcpp_cv_func__float_trig_use=yes
15387 echo "configure
: failed program was
:" >&5
15388 cat conftest.$ac_ext >&5
15390 glibcpp_cv_func__float_trig_use=no
15394 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15395 ac_cpp='$CPP $CPPFLAGS'
15396 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15397 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15398 cross_compiling=$ac_cv_prog_cc_cross
15402 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
15403 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
15404 for ac_func in _acosf _asinf _atanf \
15405 _cosf _sinf _tanf \
15406 _coshf _sinhf _tanhf
15408 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15409 echo "configure
:15410: checking
for $ac_func" >&5
15410 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15411 echo $ac_n "(cached
) $ac_c" 1>&6
15413 cat > conftest.$ac_ext <<EOF
15414 #line 15415 "configure
"
15415 #include "confdefs.h
"
15416 /* System header to define __stub macros and hopefully few prototypes,
15417 which can conflict with char $ac_func(); below. */
15418 #include <assert.h>
15419 /* Override any gcc2 internal prototype to avoid an error. */
15420 /* We use char because int might match the return type of a gcc2
15421 builtin and then its argument prototype would still apply. */
15426 /* The GNU C library defines this for functions which it implements
15427 to always fail with ENOSYS. Some functions are actually named
15428 something starting with __ and the normal name is an alias. */
15429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15437 if { (eval echo configure:15438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15439 eval "ac_cv_func_
$ac_func=yes"
15441 echo "configure
: failed program was
:" >&5
15442 cat conftest.$ac_ext >&5
15444 eval "ac_cv_func_
$ac_func=no
"
15449 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15450 echo "$ac_t""yes" 1>&6
15451 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15452 cat >> confdefs.h <<EOF
15453 #define $ac_tr_func 1
15457 echo "$ac_t""no
" 1>&6
15464 echo $ac_n "checking
for _float round functions
""...
$ac_c" 1>&6
15465 echo "configure
:15466: checking
for _float round functions
" >&5
15466 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
15467 echo $ac_n "(cached
) $ac_c" 1>&6
15472 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15473 ac_cpp='$CXXCPP $CPPFLAGS'
15474 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15475 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15476 cross_compiling=$ac_cv_prog_cxx_cross
15478 cat > conftest.$ac_ext <<EOF
15479 #line 15480 "configure
"
15480 #include "confdefs.h
"
15483 `for x in _ceilf _floorf; do echo "$x (0);"; done`
15486 if { (eval echo configure:15487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15488 glibcpp_cv_func__float_round_use=yes
15490 echo "configure
: failed program was
:" >&5
15491 cat conftest.$ac_ext >&5
15493 glibcpp_cv_func__float_round_use=no
15497 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15498 ac_cpp='$CPP $CPPFLAGS'
15499 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15500 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15501 cross_compiling=$ac_cv_prog_cc_cross
15505 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
15506 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
15507 for ac_func in _ceilf _floorf
15509 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15510 echo "configure
:15511: checking
for $ac_func" >&5
15511 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15512 echo $ac_n "(cached
) $ac_c" 1>&6
15514 cat > conftest.$ac_ext <<EOF
15515 #line 15516 "configure
"
15516 #include "confdefs.h
"
15517 /* System header to define __stub macros and hopefully few prototypes,
15518 which can conflict with char $ac_func(); below. */
15519 #include <assert.h>
15520 /* Override any gcc2 internal prototype to avoid an error. */
15521 /* We use char because int might match the return type of a gcc2
15522 builtin and then its argument prototype would still apply. */
15527 /* The GNU C library defines this for functions which it implements
15528 to always fail with ENOSYS. Some functions are actually named
15529 something starting with __ and the normal name is an alias. */
15530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15538 if { (eval echo configure:15539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15540 eval "ac_cv_func_
$ac_func=yes"
15542 echo "configure
: failed program was
:" >&5
15543 cat conftest.$ac_ext >&5
15545 eval "ac_cv_func_
$ac_func=no
"
15550 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15551 echo "$ac_t""yes" 1>&6
15552 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15553 cat >> confdefs.h <<EOF
15554 #define $ac_tr_func 1
15558 echo "$ac_t""no
" 1>&6
15566 echo $ac_n "checking
for _long double trig functions
""...
$ac_c" 1>&6
15567 echo "configure
:15568: checking
for _long double trig functions
" >&5
15568 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
15569 echo $ac_n "(cached
) $ac_c" 1>&6
15574 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15575 ac_cpp='$CXXCPP $CPPFLAGS'
15576 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15577 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15578 cross_compiling=$ac_cv_prog_cxx_cross
15580 cat > conftest.$ac_ext <<EOF
15581 #line 15582 "configure
"
15582 #include "confdefs.h
"
15585 `for x in _acosl _asinl _atanl \
15586 _cosl _sinl _tanl \
15587 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
15590 if { (eval echo configure:15591: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15592 glibcpp_cv_func__long_double_trig_use=yes
15594 echo "configure
: failed program was
:" >&5
15595 cat conftest.$ac_ext >&5
15597 glibcpp_cv_func__long_double_trig_use=no
15601 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15602 ac_cpp='$CPP $CPPFLAGS'
15603 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15604 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15605 cross_compiling=$ac_cv_prog_cc_cross
15609 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
15610 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
15611 for ac_func in _acosl _asinl _atanl \
15612 _cosl _sinl _tanl \
15613 _coshl _sinhl _tanhl
15615 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15616 echo "configure
:15617: checking
for $ac_func" >&5
15617 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15618 echo $ac_n "(cached
) $ac_c" 1>&6
15620 cat > conftest.$ac_ext <<EOF
15621 #line 15622 "configure
"
15622 #include "confdefs.h
"
15623 /* System header to define __stub macros and hopefully few prototypes,
15624 which can conflict with char $ac_func(); below. */
15625 #include <assert.h>
15626 /* Override any gcc2 internal prototype to avoid an error. */
15627 /* We use char because int might match the return type of a gcc2
15628 builtin and then its argument prototype would still apply. */
15633 /* The GNU C library defines this for functions which it implements
15634 to always fail with ENOSYS. Some functions are actually named
15635 something starting with __ and the normal name is an alias. */
15636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15644 if { (eval echo configure:15645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15646 eval "ac_cv_func_
$ac_func=yes"
15648 echo "configure
: failed program was
:" >&5
15649 cat conftest.$ac_ext >&5
15651 eval "ac_cv_func_
$ac_func=no
"
15656 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15657 echo "$ac_t""yes" 1>&6
15658 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15659 cat >> confdefs.h <<EOF
15660 #define $ac_tr_func 1
15664 echo "$ac_t""no
" 1>&6
15671 echo $ac_n "checking
for _long double round functions
""...
$ac_c" 1>&6
15672 echo "configure
:15673: checking
for _long double round functions
" >&5
15673 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
15674 echo $ac_n "(cached
) $ac_c" 1>&6
15679 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15680 ac_cpp='$CXXCPP $CPPFLAGS'
15681 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15682 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15683 cross_compiling=$ac_cv_prog_cxx_cross
15685 cat > conftest.$ac_ext <<EOF
15686 #line 15687 "configure
"
15687 #include "confdefs.h
"
15690 `for x in _ceill _floorl; do echo "$x (0);"; done`
15693 if { (eval echo configure:15694: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15695 glibcpp_cv_func__long_double_round_use=yes
15697 echo "configure
: failed program was
:" >&5
15698 cat conftest.$ac_ext >&5
15700 glibcpp_cv_func__long_double_round_use=no
15704 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15705 ac_cpp='$CPP $CPPFLAGS'
15706 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15707 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15708 cross_compiling=$ac_cv_prog_cc_cross
15712 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
15713 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
15714 for ac_func in _ceill _floorl
15716 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15717 echo "configure
:15718: checking
for $ac_func" >&5
15718 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15719 echo $ac_n "(cached
) $ac_c" 1>&6
15721 cat > conftest.$ac_ext <<EOF
15722 #line 15723 "configure
"
15723 #include "confdefs.h
"
15724 /* System header to define __stub macros and hopefully few prototypes,
15725 which can conflict with char $ac_func(); below. */
15726 #include <assert.h>
15727 /* Override any gcc2 internal prototype to avoid an error. */
15728 /* We use char because int might match the return type of a gcc2
15729 builtin and then its argument prototype would still apply. */
15734 /* The GNU C library defines this for functions which it implements
15735 to always fail with ENOSYS. Some functions are actually named
15736 something starting with __ and the normal name is an alias. */
15737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15745 if { (eval echo configure:15746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15747 eval "ac_cv_func_
$ac_func=yes"
15749 echo "configure
: failed program was
:" >&5
15750 cat conftest.$ac_ext >&5
15752 eval "ac_cv_func_
$ac_func=no
"
15757 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15758 echo "$ac_t""yes" 1>&6
15759 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15760 cat >> confdefs.h <<EOF
15761 #define $ac_tr_func 1
15765 echo "$ac_t""no
" 1>&6
15772 LIBS="$ac_save_LIBS"
15773 CXXFLAGS="$ac_save_CXXFLAGS"
15776 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
15777 echo "configure
:15778: checking
for main
in -lm" >&5
15778 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
15779 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15780 echo $ac_n "(cached
) $ac_c" 1>&6
15782 ac_save_LIBS="$LIBS"
15784 cat > conftest.$ac_ext <<EOF
15785 #line 15786 "configure
"
15786 #include "confdefs.h
"
15792 if { (eval echo configure:15793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15794 eval "ac_cv_lib_
$ac_lib_var=yes"
15796 echo "configure
: failed program was
:" >&5
15797 cat conftest.$ac_ext >&5
15799 eval "ac_cv_lib_
$ac_lib_var=no
"
15802 LIBS="$ac_save_LIBS"
15805 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15806 echo "$ac_t""yes" 1>&6
15807 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
15808 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
15809 cat >> confdefs.h <<EOF
15810 #define $ac_tr_lib 1
15816 echo "$ac_t""no
" 1>&6
15819 for ac_func in nan copysignf
15821 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15822 echo "configure
:15823: checking
for $ac_func" >&5
15823 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15824 echo $ac_n "(cached
) $ac_c" 1>&6
15826 cat > conftest.$ac_ext <<EOF
15827 #line 15828 "configure
"
15828 #include "confdefs.h
"
15829 /* System header to define __stub macros and hopefully few prototypes,
15830 which can conflict with char $ac_func(); below. */
15831 #include <assert.h>
15832 /* Override any gcc2 internal prototype to avoid an error. */
15833 /* We use char because int might match the return type of a gcc2
15834 builtin and then its argument prototype would still apply. */
15839 /* The GNU C library defines this for functions which it implements
15840 to always fail with ENOSYS. Some functions are actually named
15841 something starting with __ and the normal name is an alias. */
15842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15850 if { (eval echo configure:15851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15852 eval "ac_cv_func_
$ac_func=yes"
15854 echo "configure
: failed program was
:" >&5
15855 cat conftest.$ac_ext >&5
15857 eval "ac_cv_func_
$ac_func=no
"
15862 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15863 echo "$ac_t""yes" 1>&6
15864 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15865 cat >> confdefs.h <<EOF
15866 #define $ac_tr_func 1
15870 echo "$ac_t""no
" 1>&6
15871 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
15877 USE_COMPLEX_LONG_DOUBLE=no
15878 if test x$ac_cv_func_copysignl = x"yes"; then
15879 USE_COMPLEX_LONG_DOUBLE=yes
15880 for ac_func in signbitl
15882 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15883 echo "configure
:15884: checking
for $ac_func" >&5
15884 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15885 echo $ac_n "(cached
) $ac_c" 1>&6
15887 cat > conftest.$ac_ext <<EOF
15888 #line 15889 "configure
"
15889 #include "confdefs.h
"
15890 /* System header to define __stub macros and hopefully few prototypes,
15891 which can conflict with char $ac_func(); below. */
15892 #include <assert.h>
15893 /* Override any gcc2 internal prototype to avoid an error. */
15894 /* We use char because int might match the return type of a gcc2
15895 builtin and then its argument prototype would still apply. */
15900 /* The GNU C library defines this for functions which it implements
15901 to always fail with ENOSYS. Some functions are actually named
15902 something starting with __ and the normal name is an alias. */
15903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15911 if { (eval echo configure:15912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15913 eval "ac_cv_func_
$ac_func=yes"
15915 echo "configure
: failed program was
:" >&5
15916 cat conftest.$ac_ext >&5
15918 eval "ac_cv_func_
$ac_func=no
"
15923 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15924 echo "$ac_t""yes" 1>&6
15925 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15926 cat >> confdefs.h <<EOF
15927 #define $ac_tr_func 1
15931 echo "$ac_t""no
" 1>&6
15932 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
15943 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
15944 echo "configure
:15945: checking
for mbstate_t
" >&5
15945 cat > conftest.$ac_ext <<EOF
15946 #line 15947 "configure
"
15947 #include "confdefs.h
"
15950 mbstate_t teststate;
15953 if { (eval echo configure:15954: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15957 echo "configure
: failed program was
:" >&5
15958 cat conftest.$ac_ext >&5
15963 echo "$ac_t""$have_mbstate_t" 1>&6
15964 if test x"$have_mbstate_t" = xyes; then
15965 cat >> confdefs.h <<\EOF
15966 #define HAVE_MBSTATE_T 1
15971 for ac_hdr in wchar.h
15973 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15974 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
15975 echo "configure
:15976: checking
for $ac_hdr" >&5
15976 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15977 echo $ac_n "(cached
) $ac_c" 1>&6
15979 cat > conftest.$ac_ext <<EOF
15980 #line 15981 "configure
"
15981 #include "confdefs.h
"
15984 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
15985 { (eval echo configure:15986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15986 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
15987 if test -z "$ac_err"; then
15989 eval "ac_cv_header_
$ac_safe=yes"
15992 echo "configure
: failed program was
:" >&5
15993 cat conftest.$ac_ext >&5
15995 eval "ac_cv_header_
$ac_safe=no
"
15999 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16000 echo "$ac_t""yes" 1>&6
16001 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16002 cat >> confdefs.h <<EOF
16003 #define $ac_tr_hdr 1
16007 echo "$ac_t""no
" 1>&6
16012 ac_safe=`echo "wctype.h
" | sed 'y%./+-%__p_%'`
16013 echo $ac_n "checking
for wctype.h
""...
$ac_c" 1>&6
16014 echo "configure
:16015: checking
for wctype.h
" >&5
16015 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16016 echo $ac_n "(cached
) $ac_c" 1>&6
16018 cat > conftest.$ac_ext <<EOF
16019 #line 16020 "configure
"
16020 #include "confdefs.h
"
16021 #include <wctype.h>
16023 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
16024 { (eval echo configure:16025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16025 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
16026 if test -z "$ac_err"; then
16028 eval "ac_cv_header_
$ac_safe=yes"
16031 echo "configure
: failed program was
:" >&5
16032 cat conftest.$ac_ext >&5
16034 eval "ac_cv_header_
$ac_safe=no
"
16038 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16039 echo "$ac_t""yes" 1>&6
16040 ac_has_wctype_h=yes
16042 echo "$ac_t""no
" 1>&6
16047 if test x"$ac_has_wchar_h" = xyes &&
16048 test x"$ac_has_wctype_h" = xyes &&
16049 test x"$enable_c_mbchar" != xno; then
16051 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
16052 echo "configure
:16053: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
16053 cat > conftest.$ac_ext <<EOF
16054 #line 16055 "configure
"
16055 #include "confdefs.h
"
16058 int i = WCHAR_MIN; int j = WCHAR_MAX;
16061 if { (eval echo configure:16062: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16063 has_wchar_minmax=yes
16065 echo "configure
: failed program was
:" >&5
16066 cat conftest.$ac_ext >&5
16068 has_wchar_minmax=no
16071 echo "$ac_t""$has_wchar_minmax" 1>&6
16073 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
16074 echo "configure
:16075: checking
for WEOF
" >&5
16075 cat > conftest.$ac_ext <<EOF
16076 #line 16077 "configure
"
16077 #include "confdefs.h
"
16080 #include <stddef.h>
16085 if { (eval echo configure:16086: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16089 echo "configure
: failed program was
:" >&5
16090 cat conftest.$ac_ext >&5
16095 echo "$ac_t""$has_weof" 1>&6
16098 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
16100 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16101 echo "configure
:16102: checking
for $ac_func" >&5
16102 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16103 echo $ac_n "(cached
) $ac_c" 1>&6
16105 cat > conftest.$ac_ext <<EOF
16106 #line 16107 "configure
"
16107 #include "confdefs.h
"
16108 /* System header to define __stub macros and hopefully few prototypes,
16109 which can conflict with char $ac_func(); below. */
16110 #include <assert.h>
16111 /* Override any gcc2 internal prototype to avoid an error. */
16112 /* We use char because int might match the return type of a gcc2
16113 builtin and then its argument prototype would still apply. */
16118 /* The GNU C library defines this for functions which it implements
16119 to always fail with ENOSYS. Some functions are actually named
16120 something starting with __ and the normal name is an alias. */
16121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16129 if { (eval echo configure:16130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16131 eval "ac_cv_func_
$ac_func=yes"
16133 echo "configure
: failed program was
:" >&5
16134 cat conftest.$ac_ext >&5
16136 eval "ac_cv_func_
$ac_func=no
"
16141 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16142 echo "$ac_t""yes" 1>&6
16143 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16144 cat >> confdefs.h <<EOF
16145 #define $ac_tr_func 1
16149 echo "$ac_t""no
" 1>&6
16156 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
16157 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
16158 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
16159 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
16160 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
16161 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
16163 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16164 echo "configure
:16165: checking
for $ac_func" >&5
16165 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16166 echo $ac_n "(cached
) $ac_c" 1>&6
16168 cat > conftest.$ac_ext <<EOF
16169 #line 16170 "configure
"
16170 #include "confdefs.h
"
16171 /* System header to define __stub macros and hopefully few prototypes,
16172 which can conflict with char $ac_func(); below. */
16173 #include <assert.h>
16174 /* Override any gcc2 internal prototype to avoid an error. */
16175 /* We use char because int might match the return type of a gcc2
16176 builtin and then its argument prototype would still apply. */
16181 /* The GNU C library defines this for functions which it implements
16182 to always fail with ENOSYS. Some functions are actually named
16183 something starting with __ and the normal name is an alias. */
16184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16192 if { (eval echo configure:16193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16194 eval "ac_cv_func_
$ac_func=yes"
16196 echo "configure
: failed program was
:" >&5
16197 cat conftest.$ac_ext >&5
16199 eval "ac_cv_func_
$ac_func=no
"
16204 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16205 echo "$ac_t""yes" 1>&6
16206 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16207 cat >> confdefs.h <<EOF
16208 #define $ac_tr_func 1
16212 echo "$ac_t""no
" 1>&6
16219 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
16220 echo "configure
:16221: checking
for ISO C99 wchar_t support
" >&5
16221 if test x"$has_weof" = xyes &&
16222 test x"$has_wchar_minmax" = xyes &&
16223 test x"$ac_wfuncs" = xyes; then
16224 ac_isoC99_wchar_t=yes
16226 ac_isoC99_wchar_t=no
16228 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
16230 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
16231 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
16232 echo "configure
:16233: checking
for iconv.h
" >&5
16233 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16234 echo $ac_n "(cached
) $ac_c" 1>&6
16236 cat > conftest.$ac_ext <<EOF
16237 #line 16238 "configure
"
16238 #include "confdefs.h
"
16241 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
16242 { (eval echo configure:16243: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16243 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
16244 if test -z "$ac_err"; then
16246 eval "ac_cv_header_
$ac_safe=yes"
16249 echo "configure
: failed program was
:" >&5
16250 cat conftest.$ac_ext >&5
16252 eval "ac_cv_header_
$ac_safe=no
"
16256 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16257 echo "$ac_t""yes" 1>&6
16260 echo "$ac_t""no
" 1>&6
16264 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
16265 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
16266 echo "configure
:16267: checking
for langinfo.h
" >&5
16267 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16268 echo $ac_n "(cached
) $ac_c" 1>&6
16270 cat > conftest.$ac_ext <<EOF
16271 #line 16272 "configure
"
16272 #include "confdefs.h
"
16273 #include <langinfo.h>
16275 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
16276 { (eval echo configure:16277: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16277 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
16278 if test -z "$ac_err"; then
16280 eval "ac_cv_header_
$ac_safe=yes"
16283 echo "configure
: failed program was
:" >&5
16284 cat conftest.$ac_ext >&5
16286 eval "ac_cv_header_
$ac_safe=no
"
16290 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16291 echo "$ac_t""yes" 1>&6
16292 ac_has_langinfo_h=yes
16294 echo "$ac_t""no
" 1>&6
16295 ac_has_langinfo_h=no
16299 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
16300 echo "configure
:16301: checking
for iconv in -liconv" >&5
16301 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
16302 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16303 echo $ac_n "(cached
) $ac_c" 1>&6
16305 ac_save_LIBS="$LIBS"
16306 LIBS="-liconv $LIBS"
16307 cat > conftest.$ac_ext <<EOF
16308 #line 16309 "configure
"
16309 #include "confdefs.h
"
16310 /* Override any gcc2 internal prototype to avoid an error. */
16311 /* We use char because int might match the return type of a gcc2
16312 builtin and then its argument prototype would still apply. */
16319 if { (eval echo configure:16320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16321 eval "ac_cv_lib_
$ac_lib_var=yes"
16323 echo "configure
: failed program was
:" >&5
16324 cat conftest.$ac_ext >&5
16326 eval "ac_cv_lib_
$ac_lib_var=no
"
16329 LIBS="$ac_save_LIBS"
16332 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16333 echo "$ac_t""yes" 1>&6
16336 echo "$ac_t""no
" 1>&6
16339 ac_save_LIBS="$LIBS"
16340 LIBS="$LIBS $libiconv"
16342 for ac_func in iconv_open iconv_close iconv nl_langinfo
16344 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16345 echo "configure
:16346: checking
for $ac_func" >&5
16346 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16347 echo $ac_n "(cached
) $ac_c" 1>&6
16349 cat > conftest.$ac_ext <<EOF
16350 #line 16351 "configure
"
16351 #include "confdefs.h
"
16352 /* System header to define __stub macros and hopefully few prototypes,
16353 which can conflict with char $ac_func(); below. */
16354 #include <assert.h>
16355 /* Override any gcc2 internal prototype to avoid an error. */
16356 /* We use char because int might match the return type of a gcc2
16357 builtin and then its argument prototype would still apply. */
16362 /* The GNU C library defines this for functions which it implements
16363 to always fail with ENOSYS. Some functions are actually named
16364 something starting with __ and the normal name is an alias. */
16365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16373 if { (eval echo configure:16374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16375 eval "ac_cv_func_
$ac_func=yes"
16377 echo "configure
: failed program was
:" >&5
16378 cat conftest.$ac_ext >&5
16380 eval "ac_cv_func_
$ac_func=no
"
16385 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16386 echo "$ac_t""yes" 1>&6
16387 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16388 cat >> confdefs.h <<EOF
16389 #define $ac_tr_func 1
16394 echo "$ac_t""no
" 1>&6
16400 LIBS="$ac_save_LIBS"
16402 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
16403 echo "configure
:16404: checking
for XPG2 wchar_t support
" >&5
16404 if test x"$ac_has_iconv_h" = xyes &&
16405 test x"$ac_has_langinfo_h" = xyes &&
16406 test x"$ac_XPG2funcs" = xyes; then
16407 ac_XPG2_wchar_t=yes
16411 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
16413 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
16414 echo "configure
:16415: checking
for enabled wchar_t specializations
" >&5
16415 if test x"$ac_isoC99_wchar_t" = xyes &&
16416 test x"$ac_XPG2_wchar_t" = xyes; then
16417 cat >> confdefs.h <<\EOF
16418 #define _GLIBCPP_USE_WCHAR_T 1
16421 echo "$ac_t"""yes"" 1>&6
16423 echo "$ac_t"""no"" 1>&6
16426 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
16430 ac_test_CXXFLAGS="${CXXFLAGS+set}"
16431 ac_save_CXXFLAGS="$CXXFLAGS"
16432 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
16435 echo $ac_n "checking
for strtold declaration
""...
$ac_c" 1>&6
16436 echo "configure
:16437: checking
for strtold declaration
" >&5
16437 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
16438 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
16439 echo $ac_n "(cached
) $ac_c" 1>&6
16444 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16445 ac_cpp='$CXXCPP $CPPFLAGS'
16446 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16447 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16448 cross_compiling=$ac_cv_prog_cxx_cross
16450 cat > conftest.$ac_ext <<EOF
16451 #line 16452 "configure
"
16452 #include "confdefs.h
"
16453 #include <stdlib.h>
16458 if { (eval echo configure:16459: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16460 glibcpp_cv_func_strtold_use=yes
16462 echo "configure
: failed program was
:" >&5
16463 cat conftest.$ac_ext >&5
16465 glibcpp_cv_func_strtold_use=no
16469 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16470 ac_cpp='$CPP $CPPFLAGS'
16471 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16472 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16473 cross_compiling=$ac_cv_prog_cc_cross
16479 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
16480 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
16481 for ac_func in strtold
16483 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16484 echo "configure
:16485: checking
for $ac_func" >&5
16485 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16486 echo $ac_n "(cached
) $ac_c" 1>&6
16488 cat > conftest.$ac_ext <<EOF
16489 #line 16490 "configure
"
16490 #include "confdefs.h
"
16491 /* System header to define __stub macros and hopefully few prototypes,
16492 which can conflict with char $ac_func(); below. */
16493 #include <assert.h>
16494 /* Override any gcc2 internal prototype to avoid an error. */
16495 /* We use char because int might match the return type of a gcc2
16496 builtin and then its argument prototype would still apply. */
16501 /* The GNU C library defines this for functions which it implements
16502 to always fail with ENOSYS. Some functions are actually named
16503 something starting with __ and the normal name is an alias. */
16504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16512 if { (eval echo configure:16513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16514 eval "ac_cv_func_
$ac_func=yes"
16516 echo "configure
: failed program was
:" >&5
16517 cat conftest.$ac_ext >&5
16519 eval "ac_cv_func_
$ac_func=no
"
16524 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16525 echo "$ac_t""yes" 1>&6
16526 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16527 cat >> confdefs.h <<EOF
16528 #define $ac_tr_func 1
16532 echo "$ac_t""no
" 1>&6
16538 for ac_func in drand48
16540 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16541 echo "configure
:16542: checking
for $ac_func" >&5
16542 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16543 echo $ac_n "(cached
) $ac_c" 1>&6
16545 cat > conftest.$ac_ext <<EOF
16546 #line 16547 "configure
"
16547 #include "confdefs.h
"
16548 /* System header to define __stub macros and hopefully few prototypes,
16549 which can conflict with char $ac_func(); below. */
16550 #include <assert.h>
16551 /* Override any gcc2 internal prototype to avoid an error. */
16552 /* We use char because int might match the return type of a gcc2
16553 builtin and then its argument prototype would still apply. */
16558 /* The GNU C library defines this for functions which it implements
16559 to always fail with ENOSYS. Some functions are actually named
16560 something starting with __ and the normal name is an alias. */
16561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16569 if { (eval echo configure:16570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16571 eval "ac_cv_func_
$ac_func=yes"
16573 echo "configure
: failed program was
:" >&5
16574 cat conftest.$ac_ext >&5
16576 eval "ac_cv_func_
$ac_func=no
"
16581 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16582 echo "$ac_t""yes" 1>&6
16583 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16584 cat >> confdefs.h <<EOF
16585 #define $ac_tr_func 1
16589 echo "$ac_t""no
" 1>&6
16594 CXXFLAGS="$ac_save_CXXFLAGS"
16597 cat > conftest.$ac_ext <<EOF
16598 #line 16599 "configure
"
16599 #include "confdefs.h
"
16601 #include <setjmp.h>
16604 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
16607 if { (eval echo configure:16608: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16609 cat >> confdefs.h <<\EOF
16610 #define HAVE_SIGSETJMP 1
16614 echo "configure
: failed program was
:" >&5
16615 cat conftest.$ac_ext >&5
16619 for ac_hdr in unistd.h
16621 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16622 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
16623 echo "configure
:16624: checking
for $ac_hdr" >&5
16624 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16625 echo $ac_n "(cached
) $ac_c" 1>&6
16627 cat > conftest.$ac_ext <<EOF
16628 #line 16629 "configure
"
16629 #include "confdefs.h
"
16632 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
16633 { (eval echo configure:16634: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16634 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
16635 if test -z "$ac_err"; then
16637 eval "ac_cv_header_
$ac_safe=yes"
16640 echo "configure
: failed program was
:" >&5
16641 cat conftest.$ac_ext >&5
16643 eval "ac_cv_header_
$ac_safe=no
"
16647 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16648 echo "$ac_t""yes" 1>&6
16649 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16650 cat >> confdefs.h <<EOF
16651 #define $ac_tr_hdr 1
16655 echo "$ac_t""no
" 1>&6
16659 for ac_func in getpagesize
16661 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16662 echo "configure
:16663: checking
for $ac_func" >&5
16663 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16664 echo $ac_n "(cached
) $ac_c" 1>&6
16666 cat > conftest.$ac_ext <<EOF
16667 #line 16668 "configure
"
16668 #include "confdefs.h
"
16669 /* System header to define __stub macros and hopefully few prototypes,
16670 which can conflict with char $ac_func(); below. */
16671 #include <assert.h>
16672 /* Override any gcc2 internal prototype to avoid an error. */
16673 /* We use char because int might match the return type of a gcc2
16674 builtin and then its argument prototype would still apply. */
16679 /* The GNU C library defines this for functions which it implements
16680 to always fail with ENOSYS. Some functions are actually named
16681 something starting with __ and the normal name is an alias. */
16682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16690 if { (eval echo configure:16691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16692 eval "ac_cv_func_
$ac_func=yes"
16694 echo "configure
: failed program was
:" >&5
16695 cat conftest.$ac_ext >&5
16697 eval "ac_cv_func_
$ac_func=no
"
16702 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16703 echo "$ac_t""yes" 1>&6
16704 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16705 cat >> confdefs.h <<EOF
16706 #define $ac_tr_func 1
16710 echo "$ac_t""no
" 1>&6
16714 echo $ac_n "checking
for working mmap
""...
$ac_c" 1>&6
16715 echo "configure
:16716: checking
for working mmap
" >&5
16716 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
16717 echo $ac_n "(cached
) $ac_c" 1>&6
16719 if test "$cross_compiling" = yes; then
16720 ac_cv_func_mmap_fixed_mapped=no
16722 cat > conftest.$ac_ext <<EOF
16723 #line 16724 "configure
"
16724 #include "confdefs.h
"
16726 /* Thanks to Mike Haertel and Jim Avera for this test.
16727 Here is a matrix of mmap possibilities:
16728 mmap private not fixed
16729 mmap private fixed at somewhere currently unmapped
16730 mmap private fixed at somewhere already mapped
16731 mmap shared not fixed
16732 mmap shared fixed at somewhere currently unmapped
16733 mmap shared fixed at somewhere already mapped
16734 For private mappings, we should verify that changes cannot be read()
16735 back from the file, nor mmap's back from the file at a different
16736 address. (There have been systems where private was not correctly
16737 implemented like the infamous i386 svr4.0, and systems where the
16738 VM page cache was not coherent with the filesystem buffer cache
16739 like early versions of FreeBSD and possibly contemporary NetBSD.)
16740 For shared mappings, we should conversely verify that changes get
16741 propogated back to all the places they're supposed to be.
16743 Grep wants private fixed already mapped.
16744 The main things grep needs to know about mmap are:
16745 * does it exist and is it safe to write into the mmap'd area
16746 * how to use it (BSD variants) */
16747 #include <sys/types.h>
16749 #include <sys/mman.h>
16751 /* This mess was copied from the GNU getpagesize.h. */
16752 #ifndef HAVE_GETPAGESIZE
16753 # ifdef HAVE_UNISTD_H
16754 # include <unistd.h>
16757 /* Assume that all systems that can run configure have sys/param.h. */
16758 # ifndef HAVE_SYS_PARAM_H
16759 # define HAVE_SYS_PARAM_H 1
16762 # ifdef _SC_PAGESIZE
16763 # define getpagesize() sysconf(_SC_PAGESIZE)
16764 # else /* no _SC_PAGESIZE */
16765 # ifdef HAVE_SYS_PARAM_H
16766 # include <sys/param.h>
16767 # ifdef EXEC_PAGESIZE
16768 # define getpagesize() EXEC_PAGESIZE
16769 # else /* no EXEC_PAGESIZE */
16771 # define getpagesize() NBPG * CLSIZE
16774 # endif /* no CLSIZE */
16775 # else /* no NBPG */
16777 # define getpagesize() NBPC
16778 # else /* no NBPC */
16780 # define getpagesize() PAGESIZE
16781 # endif /* PAGESIZE */
16782 # endif /* no NBPC */
16783 # endif /* no NBPG */
16784 # endif /* no EXEC_PAGESIZE */
16785 # else /* no HAVE_SYS_PARAM_H */
16786 # define getpagesize() 8192 /* punt totally */
16787 # endif /* no HAVE_SYS_PARAM_H */
16788 # endif /* no _SC_PAGESIZE */
16790 #endif /* no HAVE_GETPAGESIZE */
16793 extern "C
" { void *malloc(unsigned); }
16801 char *data, *data2, *data3;
16805 pagesize = getpagesize();
16808 * First, make a file with some known garbage in it.
16810 data = malloc(pagesize);
16813 for (i = 0; i < pagesize; ++i)
16814 *(data + i) = rand();
16816 fd = creat("conftestmmap
", 0600);
16819 if (write(fd, data, pagesize) != pagesize)
16824 * Next, try to mmap the file at a fixed address which
16825 * already has something else allocated at it. If we can,
16826 * also make sure that we see the same garbage.
16828 fd = open("conftestmmap
", O_RDWR);
16831 data2 = malloc(2 * pagesize);
16834 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
16835 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
16836 MAP_PRIVATE | MAP_FIXED, fd, 0L))
16838 for (i = 0; i < pagesize; ++i)
16839 if (*(data + i) != *(data2 + i))
16843 * Finally, make sure that changes to the mapped area
16844 * do not percolate back to the file as seen by read().
16845 * (This is a bug on some variants of i386 svr4.0.)
16847 for (i = 0; i < pagesize; ++i)
16848 *(data2 + i) = *(data2 + i) + 1;
16849 data3 = malloc(pagesize);
16852 if (read(fd, data3, pagesize) != pagesize)
16854 for (i = 0; i < pagesize; ++i)
16855 if (*(data + i) != *(data3 + i))
16858 unlink("conftestmmap
");
16863 if { (eval echo configure:16864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
16865 ac_cv_func_mmap_fixed_mapped=yes
16867 echo "configure
: failed program was
:" >&5
16868 cat conftest.$ac_ext >&5
16870 ac_cv_func_mmap_fixed_mapped=no
16877 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
16878 if test $ac_cv_func_mmap_fixed_mapped = yes; then
16879 cat >> confdefs.h <<\EOF
16880 #define HAVE_MMAP 1
16887 # Propagate the target-specific source directories through the build chain.
16888 OS_INC_SRCDIR=$os_include_dir/bits
16889 ATOMICITY_INC_SRCDIR=$ATOMICITYH/bits
16893 # Set up cross-compile flags
16897 if test "$CANADIAN" = yes; then
16905 cat > confcache <<\EOF
16906 # This file is a shell script that caches the results of configure
16907 # tests run on this system so they can be shared between configure
16908 # scripts and configure runs. It is not useful on other systems.
16909 # If it contains results you don't want to keep, you may remove or edit it.
16911 # By default, configure uses ./config.cache as the cache file,
16912 # creating it if it does not exist already. You can give configure
16913 # the --cache-file=FILE option to use a different cache file; that is
16914 # what configure does when it calls configure scripts in
16915 # subdirectories, so they share the cache.
16916 # Giving --cache-file=/dev/null disables caching, for debugging configure.
16917 # config.status only pays attention to the cache file if you give it the
16918 # --recheck option to rerun configure.
16921 # The following way of writing the cache mishandles newlines in values,
16922 # but we know of no workaround that is simple, portable, and efficient.
16923 # So, don't put newlines in cache variables' values.
16924 # Ultrix sh set writes to stderr and can't be redirected directly,
16925 # and sets the high bit in the cache file unless we assign to the vars.
16927 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16929 # `set' does not quote correctly, so add quotes (double-quote substitution
16930 # turns \\\\ into \\, and sed turns \\ into \).
16932 -e "s
/'/'\\\\''/g
" \
16933 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
16936 # `set' quotes correctly as required by POSIX, so do not add quotes.
16937 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
16940 if cmp -s $cache_file confcache; then
16943 if test -w $cache_file; then
16944 echo "updating cache
$cache_file"
16945 cat confcache > $cache_file
16947 echo "not updating unwritable cache
$cache_file"
16953 ac_safe=`echo "locale.h
" | sed 'y%./+-%__p_%'`
16954 echo $ac_n "checking
for locale.h
""...
$ac_c" 1>&6
16955 echo "configure
:16956: checking
for locale.h
" >&5
16956 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16957 echo $ac_n "(cached
) $ac_c" 1>&6
16959 cat > conftest.$ac_ext <<EOF
16960 #line 16961 "configure
"
16961 #include "confdefs.h
"
16962 #include <locale.h>
16964 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
16965 { (eval echo configure:16966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16966 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
16967 if test -z "$ac_err"; then
16969 eval "ac_cv_header_
$ac_safe=yes"
16972 echo "configure
: failed program was
:" >&5
16973 cat conftest.$ac_ext >&5
16975 eval "ac_cv_header_
$ac_safe=no
"
16979 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16980 echo "$ac_t""yes" 1>&6
16982 echo $ac_n "checking
for LC_MESSAGES
""...
$ac_c" 1>&6
16983 echo "configure
:16984: checking
for LC_MESSAGES
" >&5
16984 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
16985 echo $ac_n "(cached
) $ac_c" 1>&6
16987 cat > conftest.$ac_ext <<EOF
16988 #line 16989 "configure
"
16989 #include "confdefs.h
"
16990 #include <locale.h>
16995 if { (eval echo configure:16996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16997 ac_cv_val_LC_MESSAGES=yes
16999 echo "configure
: failed program was
:" >&5
17000 cat conftest.$ac_ext >&5
17002 ac_cv_val_LC_MESSAGES=no
17007 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
17008 if test $ac_cv_val_LC_MESSAGES = yes; then
17009 cat >> confdefs.h <<\EOF
17010 #define HAVE_LC_MESSAGES 1
17016 echo "$ac_t""no
" 1>&6
17021 if test "${multilib}" = "yes"; then
17022 multilib_arg="--enable-multilib"
17027 # Needed so that g++ can find the correct include subdir automatically.
17030 # Export all the install information
17033 glibcpp_toolexecdir=no
17034 glibcpp_toolexeclibdir=no
17036 # Export build and source directories.
17037 # These need to be absolute paths, yet at the same time need to
17038 # canonicalize only relative paths, because then amd will not unmount
17039 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
17040 glibcpp_builddir=`pwd`
17042 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
17043 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
17045 glibcpp_prefixdir=${prefix}
17047 echo $ac_n "checking
for interface version number
""...
$ac_c" 1>&6
17048 echo "configure
:17049: checking
for interface version number
" >&5
17049 libstdcxx_interface=$INTERFACE
17050 echo "$ac_t""$libstdcxx_interface" 1>&6
17052 # Process the option --with-gxx-include-dir=<path to include-files directory>
17053 echo $ac_n "checking
for --with-gxx-include-dir""...
$ac_c" 1>&6
17054 echo "configure
:17055: checking
for --with-gxx-include-dir" >&5
17055 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
17056 if test "${with_gxx_include_dir+set}" = set; then
17057 withval="$with_gxx_include_dir"
17058 case "${withval}" in
17060 { echo "configure
: error
: Missing directory
for --with-gxx-include-dir" 1>&2; exit 1; }
17067 gxx_include_dir=${withval}
17074 echo "$ac_t""$gxx_include_dir" 1>&6
17076 # Process the option "--enable-version-specific-runtime-libs"
17077 echo $ac_n "checking
for --enable-version-specific-runtime-libs""...
$ac_c" 1>&6
17078 echo "configure
:17079: checking
for --enable-version-specific-runtime-libs" >&5
17079 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
17080 if test "${enable_version_specific_runtime_libs+set}" = set; then
17081 enableval="$enable_version_specific_runtime_libs"
17082 version_specific_libs=yes
17083 # Need the gcc compiler version to know where to install libraries
17084 # and header files if --enable-version-specific-runtime-libs option
17086 gcc_version_trigger=${srcdir}/../gcc/version.c
17087 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
17088 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
17089 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/g++
17090 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
17091 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
17094 version_specific_libs=no
17097 echo "$ac_t""$version_specific_libs" 1>&6
17099 # Default case for install directory for include files.
17100 if test x"$version_specific_libs" = x"no
" \
17101 && test x"$gxx_include_dir" = x"no
"; then
17102 gxx_include_dir='$(prefix)'/include/g++-${libstdcxx_interface}
17105 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
17106 # Install a library built with a cross compiler in tooldir, not libdir.
17107 if test x"$glibcpp_toolexecdir" = x"no
"; then
17108 if test -n "$with_cross_host" &&
17109 test x"$with_cross_host" != x"no
"; then
17110 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
17111 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
17113 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
17114 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
17118 echo $ac_n "checking
for install location
""...
$ac_c" 1>&6
17119 echo "configure
:17120: checking
for install location
" >&5
17120 echo "$ac_t""$gxx_include_dir" 1>&6
17130 # Export all the include and flag information to makefiles.
17132 # Root level of the build directory include sources.
17133 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include
"
17135 # Passed down for canadian crosses.
17136 if test x"$CANADIAN" = xyes; then
17137 TOPLEVEL_INCLUDES='-I$(includedir)'
17140 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
17142 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
17144 if test x"$need_libio" = xyes; then
17145 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
17149 # Now, export this to all the little Makefiles....
17156 # Optimization flags that are probably a good idea for thrill-seekers. Just
17157 # uncomment the lines below and make, everything else is ready to go...
17158 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
17162 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
17166 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
17167 grep "enable shared
" > /dev/null; then
17168 LIBSUPCXX_PICFLAGS=-prefer-pic
17170 LIBSUPCXX_PICFLAGS=
17174 # Generate the various Makefiles, include files, and scripts.
17175 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
17176 # and libsupc++/Makefile.am so that multilib installs will end up
17177 # installed in the correct place. To work around this not being passed
17178 # down from config-ml.in -> top_srcdir/Makefile.am ->
17179 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
17181 cat > confcache <<\EOF
17182 # This file is a shell script that caches the results of configure
17183 # tests run on this system so they can be shared between configure
17184 # scripts and configure runs. It is not useful on other systems.
17185 # If it contains results you don't want to keep, you may remove or edit it.
17187 # By default, configure uses ./config.cache as the cache file,
17188 # creating it if it does not exist already. You can give configure
17189 # the --cache-file=FILE option to use a different cache file; that is
17190 # what configure does when it calls configure scripts in
17191 # subdirectories, so they share the cache.
17192 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17193 # config.status only pays attention to the cache file if you give it the
17194 # --recheck option to rerun configure.
17197 # The following way of writing the cache mishandles newlines in values,
17198 # but we know of no workaround that is simple, portable, and efficient.
17199 # So, don't put newlines in cache variables' values.
17200 # Ultrix sh set writes to stderr and can't be redirected directly,
17201 # and sets the high bit in the cache file unless we assign to the vars.
17203 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17205 # `set' does not quote correctly, so add quotes (double-quote substitution
17206 # turns \\\\ into \\, and sed turns \\ into \).
17208 -e "s
/'/'\\\\''/g
" \
17209 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
17212 # `set' quotes correctly as required by POSIX, so do not add quotes.
17213 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17216 if cmp -s $cache_file confcache; then
17219 if test -w $cache_file; then
17220 echo "updating cache
$cache_file"
17221 cat confcache > $cache_file
17223 echo "not updating unwritable cache
$cache_file"
17228 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
17230 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
17231 # Let make expand exec_prefix.
17232 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
17234 # Any assignment to VPATH causes Sun make to only execute
17235 # the first set of double-colon rules, so remove it if not needed.
17236 # If there is a colon in the path, we need to keep it.
17237 if test "x
$srcdir" = x.; then
17238 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
17241 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
17243 DEFS=-DHAVE_CONFIG_H
17245 # Without the ".
/", some shells look in PATH for config.status.
17246 : ${CONFIG_STATUS=./config.status}
17248 echo creating $CONFIG_STATUS
17249 rm -f $CONFIG_STATUS
17250 cat > $CONFIG_STATUS <<EOF
17252 # Generated automatically by configure.
17253 # Run this file to recreate the current configuration.
17254 # This directory was configured as follows,
17255 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17257 # $0 $ac_configure_args
17259 # Compiler output produced by configure, useful for debugging
17260 # configure, is in ./config.log if it exists.
17262 ac_cs_usage="Usage
: $CONFIG_STATUS [--recheck] [--version] [--help]"
17265 case "\
$ac_option" in
17266 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17267 echo "running \
${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
17268 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
17269 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
17270 echo "$CONFIG_STATUS generated by autoconf version
2.13"
17272 -help | --help | --hel | --he | --h)
17273 echo "\
$ac_cs_usage"; exit 0 ;;
17274 *) echo "\
$ac_cs_usage"; exit 1 ;;
17278 ac_given_srcdir=$srcdir
17279 ac_given_INSTALL="$INSTALL"
17281 trap 'rm -fr `echo "Makefile \
17282 include
/Makefile src
/Makefile \
17283 libmath
/Makefile libio
/Makefile libsupc
++/Makefile \
17284 testsuite
/Makefile mkcheck testsuite_flags config.h
" | sed "s
/:[^
]*//g
"` conftest*; exit 1' 1 2 15
17286 cat >> $CONFIG_STATUS <<EOF
17288 # Protect against being on the right side of a sed subst in config.status.
17289 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
17290 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
17294 s%@CFLAGS@%$CFLAGS%g
17295 s%@CPPFLAGS@%$CPPFLAGS%g
17296 s%@CXXFLAGS@%$CXXFLAGS%g
17297 s%@FFLAGS@%$FFLAGS%g
17299 s%@LDFLAGS@%$LDFLAGS%g
17301 s%@exec_prefix@%$exec_prefix%g
17302 s%@prefix@%$prefix%g
17303 s%@program_transform_name@%$program_transform_name%g
17304 s%@bindir@%$bindir%g
17305 s%@sbindir@%$sbindir%g
17306 s%@libexecdir@%$libexecdir%g
17307 s%@datadir@%$datadir%g
17308 s%@sysconfdir@%$sysconfdir%g
17309 s%@sharedstatedir@%$sharedstatedir%g
17310 s%@localstatedir@%$localstatedir%g
17311 s%@libdir@%$libdir%g
17312 s%@includedir@%$includedir%g
17313 s%@oldincludedir@%$oldincludedir%g
17314 s%@infodir@%$infodir%g
17315 s%@mandir@%$mandir%g
17316 s%@toplevel_srcdir@%$toplevel_srcdir%g
17318 s%@host_alias@%$host_alias%g
17319 s%@host_cpu@%$host_cpu%g
17320 s%@host_vendor@%$host_vendor%g
17321 s%@host_os@%$host_os%g
17322 s%@target@%$target%g
17323 s%@target_alias@%$target_alias%g
17324 s%@target_cpu@%$target_cpu%g
17325 s%@target_vendor@%$target_vendor%g
17326 s%@target_os@%$target_os%g
17328 s%@build_alias@%$build_alias%g
17329 s%@build_cpu@%$build_cpu%g
17330 s%@build_vendor@%$build_vendor%g
17331 s%@build_os@%$build_os%g
17333 s%@glibcpp_basedir@%$glibcpp_basedir%g
17334 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
17335 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
17336 s%@INSTALL_DATA@%$INSTALL_DATA%g
17337 s%@PACKAGE@%$PACKAGE%g
17338 s%@VERSION@%$VERSION%g
17339 s%@ACLOCAL@%$ACLOCAL%g
17340 s%@AUTOCONF@%$AUTOCONF%g
17341 s%@AUTOMAKE@%$AUTOMAKE%g
17342 s%@AUTOHEADER@%$AUTOHEADER%g
17343 s%@MAKEINFO@%$MAKEINFO%g
17344 s%@SET_MAKE@%$SET_MAKE%g
17346 s%@glibcpp_CXX@%$glibcpp_CXX%g
17349 s%@RANLIB@%$RANLIB%g
17350 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
17351 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
17353 s%@EXEEXT@%$EXEEXT%g
17354 s%@OBJEXT@%$OBJEXT%g
17356 s%@LIBTOOL@%$LIBTOOL%g
17357 s%@CXXCPP@%$CXXCPP%g
17358 s%@enable_shared@%$enable_shared%g
17359 s%@enable_static@%$enable_static%g
17360 s%@ifGNUmake@%$ifGNUmake%g
17361 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
17363 s%@CSTDIO_H@%$CSTDIO_H%g
17364 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
17365 s%@CCODECVT_C@%$CCODECVT_C%g
17366 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
17367 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
17368 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
17369 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
17370 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
17371 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
17372 s%@libio_la@%$libio_la%g
17373 s%@CLOCALE_H@%$CLOCALE_H%g
17374 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
17375 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
17376 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
17377 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
17378 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
17379 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
17380 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
17381 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
17382 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
17383 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
17384 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
17385 s%@WERROR@%$WERROR%g
17386 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
17387 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
17388 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
17389 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
17390 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
17391 s%@glibcpp_builddir@%$glibcpp_builddir%g
17392 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
17393 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
17394 s%@gxx_include_dir@%$gxx_include_dir%g
17395 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
17396 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
17397 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
17398 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
17399 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
17400 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
17401 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
17402 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
17403 s%@WARN_FLAGS@%$WARN_FLAGS%g
17404 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
17409 cat >> $CONFIG_STATUS <<\EOF
17411 # Split the substitutions into bite-sized pieces for seds with
17412 # small command number limits, like on Digital OSF/1 and HP-UX.
17413 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
17414 ac_file=1 # Number of current file.
17415 ac_beg=1 # First line for current file.
17416 ac_end=$ac_max_sed_cmds # Line after last line for current file.
17419 while $ac_more_lines; do
17420 if test $ac_beg -gt 1; then
17421 sed "1,${ac_beg}d
; ${ac_end}q
" conftest.subs > conftest.s$ac_file
17423 sed "${ac_end}q
" conftest.subs > conftest.s$ac_file
17425 if test ! -s conftest.s$ac_file; then
17426 ac_more_lines=false
17427 rm -f conftest.s$ac_file
17429 if test -z "$ac_sed_cmds"; then
17430 ac_sed_cmds="sed -f conftest.s
$ac_file"
17432 ac_sed_cmds="$ac_sed_cmds |
sed -f conftest.s
$ac_file"
17434 ac_file=`expr $ac_file + 1`
17436 ac_end=`expr $ac_end + $ac_max_sed_cmds`
17439 if test -z "$ac_sed_cmds"; then
17444 cat >> $CONFIG_STATUS <<EOF
17446 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
17447 include
/Makefile src
/Makefile \
17448 libmath
/Makefile libio
/Makefile libsupc
++/Makefile \
17449 testsuite
/Makefile mkcheck testsuite_flags
"}
17451 cat >> $CONFIG_STATUS <<\EOF
17452 for ac_file in .. $CONFIG_FILES; do if test "x
$ac_file" != x..; then
17453 # Support "outfile
[:infile
[:infile...
]]", defaulting infile="outfile.
in".
17455 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
17456 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
17457 *) ac_file_in="${ac_file}.
in" ;;
17460 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
17462 # Remove last slash and all that follows it. Not all systems have dirname.
17463 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
17464 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
17465 # The file is in a subdirectory.
17466 test ! -d "$ac_dir" && mkdir "$ac_dir"
17467 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
17468 # A "..
/" for each directory in $ac_dir_suffix.
17469 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
17471 ac_dir_suffix= ac_dots=
17474 case "$ac_given_srcdir" in
17476 if test -z "$ac_dots"; then top_srcdir=.
17477 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
17478 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
17479 *) # Relative path.
17480 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
17481 top_srcdir="$ac_dots$ac_given_srcdir" ;;
17484 case "$ac_given_INSTALL" in
17485 [/$]*) INSTALL="$ac_given_INSTALL" ;;
17486 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
17489 echo creating "$ac_file"
17491 configure_input="Generated automatically from
`echo $ac_file_in|sed 's%.*/%%'` by configure.
"
17493 *Makefile*) ac_comsub="1i
\\
17494 # $configure_input" ;;
17498 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
17500 s%@configure_input@%$configure_input%g
17501 s%@srcdir@%$srcdir%g
17502 s%@top_srcdir@%$top_srcdir%g
17503 s%@INSTALL@%$INSTALL%g
17504 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
17508 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
17509 # NAME is the cpp macro being defined and VALUE is the value it is being given.
17511 # ac_d sets the value in "#define NAME VALUE" lines.
17512 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
17513 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
17516 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
17517 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17518 ac_uB
='\([ ]\)%\1#\2define\3'
17521 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
17522 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17523 ac_eB
='$%\1#\2define\3'
17527 if test "${CONFIG_HEADERS+set}" != set; then
17529 cat >> $CONFIG_STATUS <<EOF
17530 CONFIG_HEADERS="config.h"
17532 cat >> $CONFIG_STATUS <<\EOF
17534 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
17535 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17537 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
17538 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
17539 *) ac_file_in
="${ac_file}.in" ;;
17542 echo creating
$ac_file
17544 rm -f conftest.frag conftest.
in conftest.out
17545 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
17546 cat $ac_file_inputs > conftest.
in
17550 # Transform confdefs.h into a sed script conftest.vals that substitutes
17551 # the proper values into config.h.in to produce config.h. And first:
17552 # Protect against being on the right side of a sed subst in config.status.
17553 # Protect against being in an unquoted here document in config.status.
17554 rm -f conftest.vals
17555 cat > conftest.hdr
<<\EOF
17558 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
17562 sed -n -f conftest.hdr confdefs.h > conftest.vals
17565 # This sed command replaces #undef with comments. This is necessary, for
17566 # example, in the case of _POSIX_SOURCE, which is predefined and required
17567 # on some systems where configure will not decide to define it.
17568 cat >> conftest.vals <<\EOF
17569 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
17572 # Break up conftest.vals because some shells have a limit on
17573 # the size of here documents, and old seds have small limits too.
17575 rm -f conftest.tail
17578 ac_lines=`grep -c . conftest.vals
`
17579 # grep -c gives empty output for an empty file on some AIX systems.
17580 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
17581 # Write a limited-size here document to conftest.frag.
17582 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
17583 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
17585 sed -f conftest.frag conftest.in > conftest.out
17587 mv conftest.out conftest.in
17588 ' >> $CONFIG_STATUS
17589 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
17590 rm -f conftest.vals
17591 mv conftest.tail conftest.vals
17593 rm -f conftest.vals
17595 cat >> $CONFIG_STATUS <<\EOF
17596 rm -f conftest.frag conftest.h
17597 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
17598 cat conftest.in >> conftest.h
17600 if cmp -s $ac_file conftest.h 2>/dev/null; then
17601 echo "$ac_file is unchanged"
17604 # Remove last slash and all that follows it. Not all systems have dirname.
17605 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
17606 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
17607 # The file is in a subdirectory.
17608 test ! -d "$ac_dir" && mkdir "$ac_dir"
17611 mv conftest.h $ac_file
17617 cat >> $CONFIG_STATUS <<EOF
17618 ac_sources="$BASIC_FILE_CC $CLOCALE_CC"
17619 ac_dests="src/basic_file.cc src/c++locale.cc"
17622 cat >> $CONFIG_STATUS <<\EOF
17623 srcdir=$ac_given_srcdir
17624 while test -n "$ac_sources"; do
17625 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
17626 set $ac_sources; ac_source=$1; shift; ac_sources=$*
17628 echo "linking $srcdir/$ac_source to $ac_dest"
17630 if test ! -r $srcdir/$ac_source; then
17631 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
17635 # Make relative symlinks.
17636 # Remove last slash and all that follows it. Not all systems have dirname.
17637 ac_dest_dir=`echo $ac_dest|
sed 's%/[^/][^/]*$%%'`
17638 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
17639 # The dest file is in a subdirectory.
17640 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
17641 ac_dest_dir_suffix="/`echo $ac_dest_dir|
sed 's%^\./%%'`"
17642 # A "../" for each directory in $ac_dest_dir_suffix.
17643 ac_dots=`echo $ac_dest_dir_suffix|
sed 's%/[^/]*%../%g'`
17645 ac_dest_dir_suffix= ac_dots=
17649 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
17650 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
17653 # Make a symlink if possible; otherwise try a hard link.
17654 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
17655 ln $srcdir/$ac_source $ac_dest; then :
17657 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
17661 cat >> $CONFIG_STATUS <<EOF
17666 with_multisubdir=${with_multisubdir}
17667 ac_configure_args="${multilib_arg} ${ac_configure_args}"
17668 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
17669 glibcpp_basedir=${glibcpp_basedir}
17674 cat >> $CONFIG_STATUS <<\EOF
17675 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
17676 if test -n "$CONFIG_FILES"; then
17677 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
17678 grep '^MULTISUBDIR =' Makefile >> src/Makefile
17679 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
17682 chmod +x testsuite_flags
17686 chmod +x $CONFIG_STATUS
17687 rm -fr confdefs* $ac_clean_files
17688 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
17692 # Sanity checking & User-visible messages.
17693 # Checks down here, otherwise they get scrolled off before
17694 # the user will notice.
17696 # Trying to get more people to read documentation. Possibly remove
17697 # check and warn all the time. There is no "informational" AC_MSG_
17698 # macro, so these are going to be printed even when --quiet/--silent
17700 if test ! -f stamp-sanity-warned; then
17701 touch stamp-sanity-warned
17703 echo "Please make certain that you read the installation information here:"
17704 echo " faster => ${srcdir}/docs/install.html"
17705 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
17707 echo "and the configuration information here:"
17708 echo " faster => ${srcdir}/docs/configopts.html"
17709 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
17711 echo "before proceeding with ${_cv_gnu_make_command}."