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 echo $ac_n "checking whether
ln -s works
""...
$ac_c" 1>&6
714 echo "configure
:715: checking whether
ln -s works
" >&5
715 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
716 echo $ac_n "(cached
) $ac_c" 1>&6
719 if ln -s X conftestdata 2>/dev/null
722 ac_cv_prog_LN_S="ln -s"
727 LN_S="$ac_cv_prog_LN_S"
728 if test "$ac_cv_prog_LN_S" = "ln -s"; then
729 echo "$ac_t""yes" 1>&6
731 echo "$ac_t""no
" 1>&6
735 # We use these options to decide which functions to include.
736 # Check whether --with-target-subdir or --without-target-subdir was given.
737 if test "${with_target_subdir+set}" = set; then
738 withval="$with_target_subdir"
742 # Check whether --with-cross-host or --without-cross-host was given.
743 if test "${with_cross_host+set}" = set; then
744 withval="$with_cross_host"
749 # Runs configure.host and configure.target. Have to run this before
750 # the GLIBCPP_ENABLE_* macros below.
751 # Find a good install program. We prefer a C program (faster),
752 # so one script is as good as another. But avoid the broken or
753 # incompatible versions:
754 # SysV /etc/install, /usr/sbin/install
755 # SunOS /usr/etc/install
758 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
759 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
760 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
761 # ./install, which can be erroneously created by make from ./install.sh.
762 echo $ac_n "checking
for a BSD compatible
install""...
$ac_c" 1>&6
763 echo "configure
:764: checking
for a BSD compatible
install" >&5
764 if test -z "$INSTALL"; then
765 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
766 echo $ac_n "(cached
) $ac_c" 1>&6
768 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
769 for ac_dir in $PATH; do
770 # Account for people who put trailing slashes in PATH elements.
772 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
774 # OSF1 and SCO ODT 3.0 have their own names for install.
775 # Don't use installbsd from OSF since it installs stuff as root
777 for ac_prog in ginstall scoinst install; do
778 if test -f $ac_dir/$ac_prog; then
779 if test $ac_prog = install &&
780 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
781 # AIX install. It has an incompatible calling convention.
784 ac_cv_path_install="$ac_dir/$ac_prog -c"
795 if test "${ac_cv_path_install+set}" = set; then
796 INSTALL="$ac_cv_path_install"
798 # As a last resort, use the slow shell script. We don't cache a
799 # path for INSTALL within a source directory, because that will
800 # break other packages using the cache if that directory is
801 # removed, or if the path is relative.
802 INSTALL="$ac_install_sh"
805 echo "$ac_t""$INSTALL" 1>&6
807 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
808 # It thinks the first close brace ends the variable substitution.
809 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
811 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
813 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
815 echo $ac_n "checking whether build environment is sane
""...
$ac_c" 1>&6
816 echo "configure
:817: checking whether build environment is sane
" >&5
819 echo timestamp > conftestfile
820 # Do `set' in a subshell so we don't clobber the current shell's
821 # arguments. Must try -L first in case configure is actually a
822 # symlink; some systems play weird games with the mod time of symlinks
823 # (eg FreeBSD returns the mod time of the symlink's containing
826 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
827 if test "$
*" = "X
"; then
829 set X `ls -t $srcdir/configure conftestfile`
831 if test "$
*" != "X
$srcdir/configure conftestfile
" \
832 && test "$
*" != "X conftestfile
$srcdir/configure
"; then
834 # If neither matched, then we have a broken ls. This can happen
835 # if, for instance, CONFIG_SHELL is bash and it inherits a
836 # broken ls alias from the environment. This has actually
837 # happened. Such a system could not be considered "sane
".
838 { echo "configure
: error
: ls -t appears to fail. Make sure there is not a broken
839 alias in your environment
" 1>&2; exit 1; }
842 test "$2" = conftestfile
848 { echo "configure
: error
: newly created
file is older than distributed files
!
849 Check your system
clock" 1>&2; exit 1; }
852 echo "$ac_t""yes" 1>&6
853 if test "$program_transform_name" = s,x,x,; then
854 program_transform_name=
856 # Double any \ or $. echo might interpret backslashes.
857 cat <<\EOF_SED > conftestsed
858 s,\\,\\\\,g; s,\$,$$,g
860 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
863 test "$program_prefix" != NONE &&
864 program_transform_name="s
,^
,${program_prefix},; $program_transform_name"
865 # Use a double $ so make ignores it.
866 test "$program_suffix" != NONE &&
867 program_transform_name="s
,\$\$
,${program_suffix},; $program_transform_name"
869 # sed with no file args requires a program.
870 test "$program_transform_name" = "" && program_transform_name="s
,x
,x
,"
872 echo $ac_n "checking whether
${MAKE-make} sets \
${MAKE}""...
$ac_c" 1>&6
873 echo "configure
:874: checking whether
${MAKE-make} sets \
${MAKE}" >&5
874 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
875 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
876 echo $ac_n "(cached
) $ac_c" 1>&6
878 cat > conftestmake <<\EOF
880 @echo 'ac_maketemp="${MAKE}"'
882 # GNU make sometimes prints "make[1]: Entering...
", which would confuse us.
883 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
884 if test -n "$ac_maketemp"; then
885 eval ac_cv_prog_make_${ac_make}_set=yes
887 eval ac_cv_prog_make_${ac_make}_set=no
891 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
892 echo "$ac_t""yes" 1>&6
895 echo "$ac_t""no
" 1>&6
896 SET_MAKE="MAKE
=${MAKE-make}"
899 if test $host != $build; then
900 ac_tool_prefix=${host_alias}-
905 echo $ac_n "checking
for Cygwin environment
""...
$ac_c" 1>&6
906 echo "configure
:907: checking
for Cygwin environment
" >&5
907 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
908 echo $ac_n "(cached
) $ac_c" 1>&6
910 cat > conftest.$ac_ext <<EOF
911 #line 912 "configure
"
912 #include "confdefs.h
"
917 #define __CYGWIN__ __CYGWIN32__
922 if { (eval echo configure:923: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
926 echo "configure
: failed program was
:" >&5
927 cat conftest.$ac_ext >&5
935 echo "$ac_t""$ac_cv_cygwin" 1>&6
937 test "$ac_cv_cygwin" = yes && CYGWIN=yes
938 echo $ac_n "checking
for mingw32 environment
""...
$ac_c" 1>&6
939 echo "configure
:940: checking
for mingw32 environment
" >&5
940 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
941 echo $ac_n "(cached
) $ac_c" 1>&6
943 cat > conftest.$ac_ext <<EOF
944 #line 945 "configure
"
945 #include "confdefs.h
"
951 if { (eval echo configure:952: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
955 echo "configure
: failed program was
:" >&5
956 cat conftest.$ac_ext >&5
964 echo "$ac_t""$ac_cv_mingw32" 1>&6
966 test "$ac_cv_mingw32" = yes && MINGW32=yes
968 # Check whether --enable-multilib or --disable-multilib was given.
969 if test "${enable_multilib+set}" = set; then
970 enableval="$enable_multilib"
971 case "${enableval}" in
974 *) { echo "configure
: error
: bad value
${enableval} for multilib option
" 1>&2; exit 1; } ;;
980 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
988 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
989 { echo "configure
: error
: source directory already configured
; run
"make distclean" there first
" 1>&2; exit 1; }
991 cat >> confdefs.h <<EOF
992 #define PACKAGE "$PACKAGE"
995 cat >> confdefs.h <<EOF
996 #define VERSION "$VERSION"
1001 missing_dir=`cd $ac_aux_dir && pwd`
1002 echo $ac_n "checking
for working aclocal
""...
$ac_c" 1>&6
1003 echo "configure
:1004: checking
for working aclocal
" >&5
1004 # Run test in a subshell; some versions of sh will print an error if
1005 # an executable is not found, even if stderr is redirected.
1006 # Redirect stdin to placate older versions of autoconf. Sigh.
1007 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
1009 echo "$ac_t""found
" 1>&6
1011 ACLOCAL="$missing_dir/missing aclocal
"
1012 echo "$ac_t""missing
" 1>&6
1015 echo $ac_n "checking
for working autoconf
""...
$ac_c" 1>&6
1016 echo "configure
:1017: checking
for working autoconf
" >&5
1017 # Run test in a subshell; some versions of sh will print an error if
1018 # an executable is not found, even if stderr is redirected.
1019 # Redirect stdin to placate older versions of autoconf. Sigh.
1020 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1022 echo "$ac_t""found
" 1>&6
1024 AUTOCONF="$missing_dir/missing autoconf
"
1025 echo "$ac_t""missing
" 1>&6
1028 echo $ac_n "checking
for working automake
""...
$ac_c" 1>&6
1029 echo "configure
:1030: checking
for working automake
" >&5
1030 # Run test in a subshell; some versions of sh will print an error if
1031 # an executable is not found, even if stderr is redirected.
1032 # Redirect stdin to placate older versions of autoconf. Sigh.
1033 if (automake --version) < /dev/null > /dev/null 2>&1; then
1035 echo "$ac_t""found
" 1>&6
1037 AUTOMAKE="$missing_dir/missing automake
"
1038 echo "$ac_t""missing
" 1>&6
1041 echo $ac_n "checking
for working autoheader
""...
$ac_c" 1>&6
1042 echo "configure
:1043: checking
for working autoheader
" >&5
1043 # Run test in a subshell; some versions of sh will print an error if
1044 # an executable is not found, even if stderr is redirected.
1045 # Redirect stdin to placate older versions of autoconf. Sigh.
1046 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1047 AUTOHEADER=autoheader
1048 echo "$ac_t""found
" 1>&6
1050 AUTOHEADER="$missing_dir/missing autoheader
"
1051 echo "$ac_t""missing
" 1>&6
1054 echo $ac_n "checking
for working makeinfo
""...
$ac_c" 1>&6
1055 echo "configure
:1056: checking
for working makeinfo
" >&5
1056 # Run test in a subshell; some versions of sh will print an error if
1057 # an executable is not found, even if stderr is redirected.
1058 # Redirect stdin to placate older versions of autoconf. Sigh.
1059 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1061 echo "$ac_t""found
" 1>&6
1063 MAKEINFO="$missing_dir/missing makeinfo
"
1064 echo "$ac_t""missing
" 1>&6
1069 # Never versions of autoconf add an underscore to these functions.
1070 # Prevent future problems ...
1078 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1079 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1080 # are probably using a cross compiler, which will not be able to fully
1081 # link an executable. This should really be fixed in autoconf
1087 # Extract the first word of "gcc
", so it can be a program name with args.
1088 set dummy gcc; ac_word=$2
1089 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1090 echo "configure
:1091: checking
for $ac_word" >&5
1091 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1092 echo $ac_n "(cached
) $ac_c" 1>&6
1094 if test -n "$CC"; then
1095 ac_cv_prog_CC="$CC" # Let the user override the test.
1097 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1099 for ac_dir in $ac_dummy; do
1100 test -z "$ac_dir" && ac_dir=.
1101 if test -f $ac_dir/$ac_word; then
1110 if test -n "$CC"; then
1111 echo "$ac_t""$CC" 1>&6
1113 echo "$ac_t""no
" 1>&6
1116 if test -z "$CC"; then
1117 # Extract the first word of "cc
", so it can be a program name with args.
1118 set dummy cc; ac_word=$2
1119 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1120 echo "configure
:1121: checking
for $ac_word" >&5
1121 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1122 echo $ac_n "(cached
) $ac_c" 1>&6
1124 if test -n "$CC"; then
1125 ac_cv_prog_CC="$CC" # Let the user override the test.
1127 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1130 for ac_dir in $ac_dummy; do
1131 test -z "$ac_dir" && ac_dir=.
1132 if test -f $ac_dir/$ac_word; then
1133 if test "$ac_dir/$ac_word" = "/usr
/ucb
/cc
"; then
1134 ac_prog_rejected=yes
1142 if test $ac_prog_rejected = yes; then
1143 # We found a bogon in the path, so make sure we never use it.
1144 set dummy $ac_cv_prog_CC
1146 if test $# -gt 0; then
1147 # We chose a different compiler from the bogus one.
1148 # However, it has the same basename, so the bogon will be chosen
1149 # first if we set CC to just the basename; use the full file name.
1151 set dummy "$ac_dir/$ac_word" "$@
"
1159 if test -n "$CC"; then
1160 echo "$ac_t""$CC" 1>&6
1162 echo "$ac_t""no
" 1>&6
1165 test -z "$CC" && { echo "configure
: error
: no acceptable cc found
in \
$PATH" 1>&2; exit 1; }
1168 echo $ac_n "checking whether we are using GNU C
""...
$ac_c" 1>&6
1169 echo "configure
:1170: checking whether we are using GNU C
" >&5
1170 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1171 echo $ac_n "(cached
) $ac_c" 1>&6
1173 cat > conftest.c <<EOF
1178 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1185 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1187 if test $ac_cv_prog_gcc = yes; then
1189 ac_test_CFLAGS="${CFLAGS+set}"
1190 ac_save_CFLAGS="$CFLAGS"
1192 echo $ac_n "checking whether
${CC-cc} accepts
-g""...
$ac_c" 1>&6
1193 echo "configure
:1194: checking whether
${CC-cc} accepts
-g" >&5
1194 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1195 echo $ac_n "(cached
) $ac_c" 1>&6
1197 echo 'void f(){}' > conftest.c
1198 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1207 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1208 if test "$ac_test_CFLAGS" = set; then
1209 CFLAGS="$ac_save_CFLAGS"
1210 elif test $ac_cv_prog_cc_g = yes; then
1217 test "${CFLAGS+set}" = set || CFLAGS="-g"
1221 # Can't just call these here as g++ requires libstc++ to be built....
1224 # Likewise for AC_PROG_CXX.
1228 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1229 # flags that come in CXX while configuring libstdc++. They're different
1230 # from those used for all other target libraries. If CXX is set in
1231 # the environment, respect that here.
1233 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1235 # Extract the first word of "$ac_prog", so it can be a program name with args.
1236 set dummy $ac_prog; ac_word=$2
1237 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1238 echo "configure
:1239: checking
for $ac_word" >&5
1239 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1240 echo $ac_n "(cached
) $ac_c" 1>&6
1242 if test -n "$glibcpp_CXX"; then
1243 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1245 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1247 for ac_dir in $ac_dummy; do
1248 test -z "$ac_dir" && ac_dir=.
1249 if test -f $ac_dir/$ac_word; then
1250 ac_cv_prog_glibcpp_CXX="$ac_prog"
1257 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1258 if test -n "$glibcpp_CXX"; then
1259 echo "$ac_t""$glibcpp_CXX" 1>&6
1261 echo "$ac_t""no
" 1>&6
1264 test -n "$glibcpp_CXX" && break
1266 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc
"
1270 test -z "$glibcpp_CXX" && { echo "configure
: error
: no acceptable c
++ found
in \
$PATH" 1>&2; exit 1; }
1272 echo $ac_n "checking whether we are using GNU C
++""...
$ac_c" 1>&6
1273 echo "configure
:1274: checking whether we are using GNU C
++" >&5
1274 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1275 echo $ac_n "(cached
) $ac_c" 1>&6
1277 cat > conftest.C <<EOF
1282 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1289 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1291 if test $ac_cv_prog_gxx = yes; then
1293 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1294 ac_save_CXXFLAGS="$CXXFLAGS"
1296 echo $ac_n "checking whether
${CXX-g++} accepts
-g""...
$ac_c" 1>&6
1297 echo "configure
:1298: checking whether
${CXX-g++} accepts
-g" >&5
1298 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1299 echo $ac_n "(cached
) $ac_c" 1>&6
1301 echo 'void f(){}' > conftest.cc
1302 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1303 ac_cv_prog_cxx_g=yes
1311 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1312 if test "$ac_test_CXXFLAGS" = set; then
1313 CXXFLAGS="$ac_save_CXXFLAGS"
1314 elif test $ac_cv_prog_cxx_g = yes; then
1321 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1325 # Extract the first word of "${ac_tool_prefix}as
", so it can be a program name with args.
1326 set dummy ${ac_tool_prefix}as; ac_word=$2
1327 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1328 echo "configure
:1329: checking
for $ac_word" >&5
1329 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1330 echo $ac_n "(cached
) $ac_c" 1>&6
1332 if test -n "$AS"; then
1333 ac_cv_prog_AS="$AS" # Let the user override the test.
1335 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1337 for ac_dir in $ac_dummy; do
1338 test -z "$ac_dir" && ac_dir=.
1339 if test -f $ac_dir/$ac_word; then
1340 ac_cv_prog_AS="${ac_tool_prefix}as
"
1345 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as
"
1349 if test -n "$AS"; then
1350 echo "$ac_t""$AS" 1>&6
1352 echo "$ac_t""no
" 1>&6
1357 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1358 set dummy ${ac_tool_prefix}ar; ac_word=$2
1359 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1360 echo "configure
:1361: checking
for $ac_word" >&5
1361 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1362 echo $ac_n "(cached
) $ac_c" 1>&6
1364 if test -n "$AR"; then
1365 ac_cv_prog_AR="$AR" # Let the user override the test.
1367 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1369 for ac_dir in $ac_dummy; do
1370 test -z "$ac_dir" && ac_dir=.
1371 if test -f $ac_dir/$ac_word; then
1372 ac_cv_prog_AR="${ac_tool_prefix}ar"
1377 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1381 if test -n "$AR"; then
1382 echo "$ac_t""$AR" 1>&6
1384 echo "$ac_t""no
" 1>&6
1389 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
1390 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1391 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1392 echo "configure
:1393: checking
for $ac_word" >&5
1393 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1394 echo $ac_n "(cached
) $ac_c" 1>&6
1396 if test -n "$RANLIB"; then
1397 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1399 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1401 for ac_dir in $ac_dummy; do
1402 test -z "$ac_dir" && ac_dir=.
1403 if test -f $ac_dir/$ac_word; then
1404 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
1411 RANLIB="$ac_cv_prog_RANLIB"
1412 if test -n "$RANLIB"; then
1413 echo "$ac_t""$RANLIB" 1>&6
1415 echo "$ac_t""no
" 1>&6
1419 if test -z "$ac_cv_prog_RANLIB"; then
1420 if test -n "$ac_tool_prefix"; then
1421 # Extract the first word of "ranlib
", so it can be a program name with args.
1422 set dummy ranlib; ac_word=$2
1423 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1424 echo "configure
:1425: checking
for $ac_word" >&5
1425 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1426 echo $ac_n "(cached
) $ac_c" 1>&6
1428 if test -n "$RANLIB"; then
1429 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1431 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1433 for ac_dir in $ac_dummy; do
1434 test -z "$ac_dir" && ac_dir=.
1435 if test -f $ac_dir/$ac_word; then
1436 ac_cv_prog_RANLIB="ranlib
"
1441 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error
"
1444 RANLIB="$ac_cv_prog_RANLIB"
1445 if test -n "$RANLIB"; then
1446 echo "$ac_t""$RANLIB" 1>&6
1448 echo "$ac_t""no
" 1>&6
1452 RANLIB="ranlib-not-found-in-path-error
"
1456 # Find a good install program. We prefer a C program (faster),
1457 # so one script is as good as another. But avoid the broken or
1458 # incompatible versions:
1459 # SysV /etc/install, /usr/sbin/install
1460 # SunOS /usr/etc/install
1461 # IRIX /sbin/install
1463 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1464 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1465 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
1466 # ./install, which can be erroneously created by make from ./install.sh.
1467 echo $ac_n "checking
for a BSD compatible
install""...
$ac_c" 1>&6
1468 echo "configure
:1469: checking
for a BSD compatible
install" >&5
1469 if test -z "$INSTALL"; then
1470 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1471 echo $ac_n "(cached
) $ac_c" 1>&6
1473 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1474 for ac_dir in $PATH; do
1475 # Account for people who put trailing slashes in PATH elements.
1477 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1479 # OSF1 and SCO ODT 3.0 have their own names for install.
1480 # Don't use installbsd from OSF since it installs stuff as root
1482 for ac_prog in ginstall scoinst install; do
1483 if test -f $ac_dir/$ac_prog; then
1484 if test $ac_prog = install &&
1485 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1486 # AIX install. It has an incompatible calling convention.
1489 ac_cv_path_install="$ac_dir/$ac_prog -c"
1500 if test "${ac_cv_path_install+set}" = set; then
1501 INSTALL="$ac_cv_path_install"
1503 # As a last resort, use the slow shell script. We don't cache a
1504 # path for INSTALL within a source directory, because that will
1505 # break other packages using the cache if that directory is
1506 # removed, or if the path is relative.
1507 INSTALL="$ac_install_sh"
1510 echo "$ac_t""$INSTALL" 1>&6
1512 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1513 # It thinks the first close brace ends the variable substitution.
1514 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1516 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1518 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1521 echo $ac_n "checking whether to
enable maintainer-specific portions of Makefiles
""...
$ac_c" 1>&6
1522 echo "configure
:1523: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
1523 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1524 if test "${enable_maintainer_mode+set}" = set; then
1525 enableval="$enable_maintainer_mode"
1526 USE_MAINTAINER_MODE=$enableval
1528 USE_MAINTAINER_MODE=no
1531 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1534 if test $USE_MAINTAINER_MODE = yes; then
1535 MAINTAINER_MODE_TRUE=
1536 MAINTAINER_MODE_FALSE='#'
1538 MAINTAINER_MODE_TRUE='#'
1539 MAINTAINER_MODE_FALSE=
1541 MAINT=$MAINTAINER_MODE_TRUE
1545 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1546 # at least currently, we never actually build a program, so we never
1547 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1548 # fails, because we are probably configuring with a cross compiler
1549 # which cant create executables. So we include AC_EXEEXT to keep
1550 # automake happy, but we dont execute it, since we dont care about
1553 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1554 # to nothing, so nothing would remain between `then' and `fi' if it
1555 # were not for the `:' below.
1559 echo $ac_n "checking
for executable suffix
""...
$ac_c" 1>&6
1560 echo "configure
:1561: checking
for executable suffix
" >&5
1561 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1562 echo $ac_n "(cached
) $ac_c" 1>&6
1564 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1568 echo 'int main () { return 0; }' > conftest.$ac_ext
1570 if { (eval echo configure:1571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1571 for file in conftest.*; do
1573 *.c | *.o | *.obj) ;;
1574 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1578 { echo "configure
: error
: installation or configuration problem
: compiler cannot create executables.
" 1>&2; exit 1; }
1581 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1586 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1587 echo "$ac_t""${ac_cv_exeext}" 1>&6
1592 . ${glibcpp_basedir}/configure.host
1594 case ${glibcpp_basedir} in
1595 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1596 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1599 # This does for the target what configure.host does for the host. In
1600 # addition to possibly modifying the same flags, it also sets up symlinks.
1602 . ${glibcpp_basedir}/configure.target
1603 echo "$ac_t""CPU config directory is
$cpu_include_dir" 1>&6
1604 echo "$ac_t""OS config directory is
$os_include_dir" 1>&6
1609 # Check whether --enable-shared or --disable-shared was given.
1610 if test "${enable_shared+set}" = set; then
1611 enableval="$enable_shared"
1612 p=${PACKAGE-default}
1614 yes) enable_shared=yes ;;
1615 no) enable_shared=no ;;
1618 # Look at the argument we got. We use all the common list separators.
1619 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1620 for pkg in $enableval; do
1621 if test "X
$pkg" = "X
$p"; then
1632 # Check whether --enable-static or --disable-static was given.
1633 if test "${enable_static+set}" = set; then
1634 enableval="$enable_static"
1635 p=${PACKAGE-default}
1637 yes) enable_static=yes ;;
1638 no) enable_static=no ;;
1641 # Look at the argument we got. We use all the common list separators.
1642 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1643 for pkg in $enableval; do
1644 if test "X
$pkg" = "X
$p"; then
1655 # Check whether --enable-fast-install or --disable-fast-install was given.
1656 if test "${enable_fast_install+set}" = set; then
1657 enableval="$enable_fast_install"
1658 p=${PACKAGE-default}
1660 yes) enable_fast_install=yes ;;
1661 no) enable_fast_install=no ;;
1663 enable_fast_install=no
1664 # Look at the argument we got. We use all the common list separators.
1665 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1666 for pkg in $enableval; do
1667 if test "X
$pkg" = "X
$p"; then
1668 enable_fast_install=yes
1675 enable_fast_install=yes
1678 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1679 if test "${with_gnu_ld+set}" = set; then
1680 withval="$with_gnu_ld"
1681 test "$withval" = no || with_gnu_ld=yes
1687 if test "$GCC" = yes; then
1688 # Check if gcc -print-prog-name=ld gives a path.
1689 echo $ac_n "checking
for ld used by GCC
""...
$ac_c" 1>&6
1690 echo "configure
:1691: checking
for ld used by GCC
" >&5
1693 # gcc leaves a trailing carriage return which upsets mingw
1694 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1696 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1699 # Accept absolute paths.
1700 [\\/]* | [A-Za-z]:[\\/]*)
1701 re_direlt='/[^/][^/]*/\.\./'
1702 # Canonicalize the path of ld
1703 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1704 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1705 ac_prog=`echo $ac_prog| sed "s
%$re_direlt%/%"`
1707 test -z "$LD" && LD="$ac_prog"
1710 # If it fails, then pretend we aren't using GCC.
1714 # If it is relative, then search for the first ld in PATH.
1718 elif test "$with_gnu_ld" = yes; then
1719 echo $ac_n "checking
for GNU ld
""...
$ac_c" 1>&6
1720 echo "configure
:1721: checking
for GNU ld
" >&5
1722 echo $ac_n "checking
for non-GNU ld
""...
$ac_c" 1>&6
1723 echo "configure
:1724: checking
for non-GNU ld
" >&5
1725 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1726 echo $ac_n "(cached
) $ac_c" 1>&6
1728 if test -z "$LD"; then
1729 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1730 for ac_dir in $PATH; do
1731 test -z "$ac_dir" && ac_dir=.
1732 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1733 lt_cv_path_LD="$ac_dir/$ac_prog"
1734 # Check to see if the program is GNU ld. I'd rather use --version,
1735 # but apparently some GNU ld's only accept -v.
1736 # Break only if it was the GNU/non-GNU ld that we prefer.
1737 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1738 test "$with_gnu_ld" != no && break
1740 test "$with_gnu_ld" != yes && break
1746 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1751 if test -n "$LD"; then
1752 echo "$ac_t""$LD" 1>&6
1754 echo "$ac_t""no
" 1>&6
1756 test -z "$LD" && { echo "configure
: error
: no acceptable ld found
in \
$PATH" 1>&2; exit 1; }
1757 echo $ac_n "checking
if the linker
($LD) is GNU ld
""...
$ac_c" 1>&6
1758 echo "configure
:1759: checking
if the linker
($LD) is GNU ld
" >&5
1759 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1760 echo $ac_n "(cached
) $ac_c" 1>&6
1762 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1763 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1764 lt_cv_prog_gnu_ld=yes
1766 lt_cv_prog_gnu_ld=no
1770 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1771 with_gnu_ld=$lt_cv_prog_gnu_ld
1774 echo $ac_n "checking
for $LD option to reload object files
""...
$ac_c" 1>&6
1775 echo "configure
:1776: checking
for $LD option to reload object files
" >&5
1776 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1777 echo $ac_n "(cached
) $ac_c" 1>&6
1779 lt_cv_ld_reload_flag='-r'
1782 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1783 reload_flag=$lt_cv_ld_reload_flag
1784 test -n "$reload_flag" && reload_flag=" $reload_flag"
1786 echo $ac_n "checking
for BSD-compatible nm
""...
$ac_c" 1>&6
1787 echo "configure
:1788: checking
for BSD-compatible nm
" >&5
1788 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1789 echo $ac_n "(cached
) $ac_c" 1>&6
1791 if test -n "$NM"; then
1792 # Let the user override the test.
1795 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1796 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1797 test -z "$ac_dir" && ac_dir=.
1798 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1799 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1800 # Check to see if the nm accepts a BSD-compat flag.
1801 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1802 # nm: unknown option "B
" ignored
1803 # Tru64's nm complains that /dev/null is an invalid object file
1804 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1805 lt_cv_path_NM="$tmp_nm -B"
1807 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1808 lt_cv_path_NM="$tmp_nm -p"
1811 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1812 continue # so that we can try to find one that supports BSD flags
1817 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1822 echo "$ac_t""$NM" 1>&6
1824 echo $ac_n "checking how to recognise dependant libraries
""...
$ac_c" 1>&6
1825 echo "configure
:1826: checking how to recognise dependant libraries
" >&5
1826 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1827 echo $ac_n "(cached
) $ac_c" 1>&6
1829 lt_cv_file_magic_cmd='$MAGIC_CMD'
1830 lt_cv_file_magic_test_file=
1831 lt_cv_deplibs_check_method='unknown'
1832 # Need to set the preceding variable on all platforms that support
1833 # interlibrary dependencies.
1834 # 'none' -- dependencies not supported.
1835 # `unknown' -- same as none, but documents that we really don't know.
1836 # 'pass_all' -- all dependencies passed with no checks.
1837 # 'test_compile' -- check by making test program.
1838 # 'file_magic [regex]' -- check by looking for files in library path
1839 # which responds to the $file_magic_cmd with a given egrep regex.
1840 # If you have `file' or equivalent on your system and you're not sure
1841 # whether `pass_all' will *always* work, you probably want this one.
1845 lt_cv_deplibs_check_method=pass_all
1849 lt_cv_deplibs_check_method=pass_all
1853 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1854 lt_cv_file_magic_cmd='/usr/bin/file -L'
1855 lt_cv_file_magic_test_file=/shlib/libc.so
1858 cygwin* | mingw* |pw32*)
1859 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1860 lt_cv_file_magic_cmd='$OBJDUMP -f'
1863 darwin* | rhapsody*)
1864 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1865 lt_cv_file_magic_cmd='/usr/bin/file -L'
1867 rhapsody* | darwin1.012)
1868 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1871 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1877 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1880 # Not sure whether the presence of OpenBSD here was a mistake.
1881 # Let's accept both of them until this is cleared up.
1882 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1883 lt_cv_file_magic_cmd=/usr/bin/file
1884 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1888 lt_cv_deplibs_check_method=pass_all
1893 lt_cv_deplibs_check_method=pass_all
1897 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1898 lt_cv_file_magic_cmd=/usr/bin/file
1899 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1905 # this will be overridden with pass_all, but let us keep it just in case
1906 lt_cv_deplibs_check_method="file_magic ELF
32-bit MSB dynamic lib MIPS
- version
1"
1910 *-32|*"-32 ") libmagic=32-bit;;
1911 *-n32|*"-n32 ") libmagic=N32;;
1912 *-64|*"-64 ") libmagic=64-bit;;
1913 *) libmagic=never-match;;
1915 # this will be overridden with pass_all, but let us keep it just in case
1916 lt_cv_deplibs_check_method="file_magic ELF
${libmagic} MSB mips-
[1234] dynamic lib MIPS
- version
1"
1919 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1920 lt_cv_deplibs_check_method=pass_all
1923 # This must be Linux ELF.
1926 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
1927 lt_cv_deplibs_check_method=pass_all ;;
1929 # glibc up to 2.1.1 does not perform some relocations on ARM
1930 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
1932 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
1936 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1937 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
1939 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
1944 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
1945 lt_cv_file_magic_cmd=/usr/bin/file
1946 lt_cv_file_magic_test_file=/usr/lib/libnls.so
1949 osf3* | osf4* | osf5*)
1950 # this will be overridden with pass_all, but let us keep it just in case
1951 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
1952 lt_cv_file_magic_test_file=/shlib/libc.so
1953 lt_cv_deplibs_check_method=pass_all
1957 lt_cv_deplibs_check_method=pass_all
1961 lt_cv_deplibs_check_method=pass_all
1962 lt_cv_file_magic_test_file=/lib/libc.so
1965 sysv5uw[78]* | sysv4*uw2*)
1966 lt_cv_deplibs_check_method=pass_all
1969 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1970 case $host_vendor in
1972 lt_cv_deplibs_check_method=pass_all
1975 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
1976 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1984 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
1985 file_magic_cmd=$lt_cv_file_magic_cmd
1986 deplibs_check_method=$lt_cv_deplibs_check_method
1988 echo $ac_n "checking
for object suffix
""...
$ac_c" 1>&6
1989 echo "configure
:1990: checking
for object suffix
" >&5
1990 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
1991 echo $ac_n "(cached
) $ac_c" 1>&6
1994 echo 'int i = 1;' > conftest.$ac_ext
1995 if { (eval echo configure:1996: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1996 for ac_file in conftest.*; do
1999 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2003 { echo "configure
: error
: installation or configuration problem
; compiler does not work
" 1>&2; exit 1; }
2008 echo "$ac_t""$ac_cv_objext" 1>&6
2009 OBJEXT=$ac_cv_objext
2010 ac_objext=$ac_cv_objext
2012 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2014 # Only perform the check for file, if the check method requires it
2015 case $deplibs_check_method in
2017 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2018 echo $ac_n "checking
for ${ac_tool_prefix}file""...
$ac_c" 1>&6
2019 echo "configure
:2020: checking
for ${ac_tool_prefix}file" >&5
2020 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2021 echo $ac_n "(cached
) $ac_c" 1>&6
2025 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2028 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2031 ac_save_MAGIC_CMD="$MAGIC_CMD"
2032 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2033 ac_dummy="/usr
/bin
:$PATH"
2034 for ac_dir in $ac_dummy; do
2035 test -z "$ac_dir" && ac_dir=.
2036 if test -f $ac_dir/${ac_tool_prefix}file; then
2037 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2038 if test -n "$file_magic_test_file"; then
2039 case $deplibs_check_method in
2041 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2042 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2043 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2044 egrep "$file_magic_regex" > /dev/null; then
2049 *** Warning: the command libtool uses to detect shared libraries,
2050 *** $file_magic_cmd, produces output that libtool cannot recognize.
2051 *** The result is that libtool may fail to recognize shared libraries
2052 *** as such. This will affect the creation of libtool libraries that
2053 *** depend on shared libraries, but programs linked with such libtool
2054 *** libraries will work regardless of this problem. Nevertheless, you
2055 *** may want to report the problem to your system manager and/or to
2056 *** bug-libtool@gnu.org
2066 MAGIC_CMD="$ac_save_MAGIC_CMD"
2071 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2072 if test -n "$MAGIC_CMD"; then
2073 echo "$ac_t""$MAGIC_CMD" 1>&6
2075 echo "$ac_t""no
" 1>&6
2078 if test -z "$lt_cv_path_MAGIC_CMD"; then
2079 if test -n "$ac_tool_prefix"; then
2080 echo $ac_n "checking
for file""...
$ac_c" 1>&6
2081 echo "configure
:2082: checking
for file" >&5
2082 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2083 echo $ac_n "(cached
) $ac_c" 1>&6
2087 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2090 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2093 ac_save_MAGIC_CMD="$MAGIC_CMD"
2094 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2095 ac_dummy="/usr
/bin
:$PATH"
2096 for ac_dir in $ac_dummy; do
2097 test -z "$ac_dir" && ac_dir=.
2098 if test -f $ac_dir/file; then
2099 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2100 if test -n "$file_magic_test_file"; then
2101 case $deplibs_check_method in
2103 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2104 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2105 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2106 egrep "$file_magic_regex" > /dev/null; then
2111 *** Warning: the command libtool uses to detect shared libraries,
2112 *** $file_magic_cmd, produces output that libtool cannot recognize.
2113 *** The result is that libtool may fail to recognize shared libraries
2114 *** as such. This will affect the creation of libtool libraries that
2115 *** depend on shared libraries, but programs linked with such libtool
2116 *** libraries will work regardless of this problem. Nevertheless, you
2117 *** may want to report the problem to your system manager and/or to
2118 *** bug-libtool@gnu.org
2128 MAGIC_CMD="$ac_save_MAGIC_CMD"
2133 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2134 if test -n "$MAGIC_CMD"; then
2135 echo "$ac_t""$MAGIC_CMD" 1>&6
2137 echo "$ac_t""no
" 1>&6
2149 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
2150 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2151 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2152 echo "configure
:2153: checking
for $ac_word" >&5
2153 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2154 echo $ac_n "(cached
) $ac_c" 1>&6
2156 if test -n "$RANLIB"; then
2157 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2159 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2161 for ac_dir in $ac_dummy; do
2162 test -z "$ac_dir" && ac_dir=.
2163 if test -f $ac_dir/$ac_word; then
2164 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
2171 RANLIB="$ac_cv_prog_RANLIB"
2172 if test -n "$RANLIB"; then
2173 echo "$ac_t""$RANLIB" 1>&6
2175 echo "$ac_t""no
" 1>&6
2179 if test -z "$ac_cv_prog_RANLIB"; then
2180 if test -n "$ac_tool_prefix"; then
2181 # Extract the first word of "ranlib
", so it can be a program name with args.
2182 set dummy ranlib; ac_word=$2
2183 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2184 echo "configure
:2185: checking
for $ac_word" >&5
2185 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2186 echo $ac_n "(cached
) $ac_c" 1>&6
2188 if test -n "$RANLIB"; then
2189 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2191 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2193 for ac_dir in $ac_dummy; do
2194 test -z "$ac_dir" && ac_dir=.
2195 if test -f $ac_dir/$ac_word; then
2196 ac_cv_prog_RANLIB="ranlib
"
2201 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2204 RANLIB="$ac_cv_prog_RANLIB"
2205 if test -n "$RANLIB"; then
2206 echo "$ac_t""$RANLIB" 1>&6
2208 echo "$ac_t""no
" 1>&6
2216 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
2217 set dummy ${ac_tool_prefix}strip; ac_word=$2
2218 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2219 echo "configure
:2220: checking
for $ac_word" >&5
2220 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2221 echo $ac_n "(cached
) $ac_c" 1>&6
2223 if test -n "$STRIP"; then
2224 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2226 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2228 for ac_dir in $ac_dummy; do
2229 test -z "$ac_dir" && ac_dir=.
2230 if test -f $ac_dir/$ac_word; then
2231 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
2238 STRIP="$ac_cv_prog_STRIP"
2239 if test -n "$STRIP"; then
2240 echo "$ac_t""$STRIP" 1>&6
2242 echo "$ac_t""no
" 1>&6
2246 if test -z "$ac_cv_prog_STRIP"; then
2247 if test -n "$ac_tool_prefix"; then
2248 # Extract the first word of "strip
", so it can be a program name with args.
2249 set dummy strip; ac_word=$2
2250 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2251 echo "configure
:2252: checking
for $ac_word" >&5
2252 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2253 echo $ac_n "(cached
) $ac_c" 1>&6
2255 if test -n "$STRIP"; then
2256 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2258 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2260 for ac_dir in $ac_dummy; do
2261 test -z "$ac_dir" && ac_dir=.
2262 if test -f $ac_dir/$ac_word; then
2263 ac_cv_prog_STRIP="strip
"
2268 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2271 STRIP="$ac_cv_prog_STRIP"
2272 if test -n "$STRIP"; then
2273 echo "$ac_t""$STRIP" 1>&6
2275 echo "$ac_t""no
" 1>&6
2284 # Check for any special flags to pass to ltconfig.
2285 libtool_flags="--cache-file=$cache_file"
2286 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2287 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2288 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2289 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2290 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2291 libtool_flags="$libtool_flags --enable-dlopen"
2293 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2294 if test "${enable_libtool_lock+set}" = set; then
2295 enableval="$enable_libtool_lock"
2299 test "x
$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2300 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2302 # Check whether --with-pic or --without-pic was given.
2303 if test "${with_pic+set}" = set; then
2310 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2311 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2313 # Some flags need to be propagated to the compiler or linker for good
2317 # Find out which ABI we are using.
2318 echo '#line 2319 "configure
"' > conftest.$ac_ext
2319 if { (eval echo configure:2320: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2320 case `/usr/bin/file conftest.$ac_objext` in
2336 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2337 SAVE_CFLAGS="$CFLAGS"
2338 CFLAGS="$CFLAGS -belf"
2339 echo $ac_n "checking whether the C compiler needs
-belf""...
$ac_c" 1>&6
2340 echo "configure
:2341: checking whether the C compiler needs
-belf" >&5
2341 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2342 echo $ac_n "(cached
) $ac_c" 1>&6
2346 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2347 ac_cpp='$CPP $CPPFLAGS'
2348 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2349 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2350 cross_compiling=$ac_cv_prog_cc_cross
2352 cat > conftest.$ac_ext <<EOF
2353 #line 2354 "configure
"
2354 #include "confdefs.h
"
2360 if { (eval echo configure:2361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2362 lt_cv_cc_needs_belf=yes
2364 echo "configure
: failed program was
:" >&5
2365 cat conftest.$ac_ext >&5
2367 lt_cv_cc_needs_belf=no
2371 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2372 ac_cpp='$CPP $CPPFLAGS'
2373 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2374 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2375 cross_compiling=$ac_cv_prog_cc_cross
2379 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2380 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2381 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2382 CFLAGS="$SAVE_CFLAGS"
2389 echo $ac_n "checking how to run the C
++ preprocessor
""...
$ac_c" 1>&6
2390 echo "configure
:2391: checking how to run the C
++ preprocessor
" >&5
2391 if test -z "$CXXCPP"; then
2392 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2393 echo $ac_n "(cached
) $ac_c" 1>&6
2396 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2397 ac_cpp='$CXXCPP $CPPFLAGS'
2398 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2399 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2400 cross_compiling=$ac_cv_prog_cxx_cross
2401 CXXCPP="${CXX-g++} -E"
2402 cat > conftest.$ac_ext <<EOF
2403 #line 2404 "configure
"
2404 #include "confdefs.h
"
2407 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2408 { (eval echo configure:2409: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2409 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2410 if test -z "$ac_err"; then
2414 echo "configure
: failed program was
:" >&5
2415 cat conftest.$ac_ext >&5
2420 ac_cv_prog_CXXCPP="$CXXCPP"
2422 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2423 ac_cpp='$CPP $CPPFLAGS'
2424 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2425 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2426 cross_compiling=$ac_cv_prog_cc_cross
2429 CXXCPP="$ac_cv_prog_CXXCPP"
2430 echo "$ac_t""$CXXCPP" 1>&6
2433 # Save cache, so that ltconfig can load it
2434 cat > confcache <<\EOF
2435 # This file is a shell script that caches the results of configure
2436 # tests run on this system so they can be shared between configure
2437 # scripts and configure runs. It is not useful on other systems.
2438 # If it contains results you don't want to keep, you may remove or edit it.
2440 # By default, configure uses ./config.cache as the cache file,
2441 # creating it if it does not exist already. You can give configure
2442 # the --cache-file=FILE option to use a different cache file; that is
2443 # what configure does when it calls configure scripts in
2444 # subdirectories, so they share the cache.
2445 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2446 # config.status only pays attention to the cache file if you give it the
2447 # --recheck option to rerun configure.
2450 # The following way of writing the cache mishandles newlines in values,
2451 # but we know of no workaround that is simple, portable, and efficient.
2452 # So, don't put newlines in cache variables' values.
2453 # Ultrix sh set writes to stderr and can't be redirected directly,
2454 # and sets the high bit in the cache file unless we assign to the vars.
2456 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2458 # `set' does not quote correctly, so add quotes (double-quote substitution
2459 # turns \\\\ into \\, and sed turns \\ into \).
2461 -e "s
/'/'\\\\''/g
" \
2462 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
2465 # `set' quotes correctly as required by POSIX, so do not add quotes.
2466 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2469 if cmp -s $cache_file confcache; then
2472 if test -w $cache_file; then
2473 echo "updating cache
$cache_file"
2474 cat confcache > $cache_file
2476 echo "not updating unwritable cache
$cache_file"
2482 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2483 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2484 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2485 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2486 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2487 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2488 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2489 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2490 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2491 || { echo "configure
: error
: libtool configure failed
" 1>&2; exit 1; }
2493 # Reload cache, that may have been modified by ltconfig
2494 if test -r "$cache_file"; then
2495 echo "loading cache
$cache_file"
2498 echo "creating cache
$cache_file"
2503 # This can be used to rebuild libtool when needed
2504 LIBTOOL_DEPS="$ac_aux_dir/ltconfig
$ac_aux_dir/ltmain.sh
$ac_aux_dir/ltcf-c.sh
"
2506 # Always use our own libtool.
2507 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2509 # Redirect the config.log output again, so that the ltconfig log is not
2510 # clobbered by the next message.
2511 exec 5>>./config.log
2515 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh
"
2517 lt_save_CFLAGS="$CFLAGS"
2518 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2519 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2520 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2521 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2522 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2523 deplibs_check_method="$deplibs_check_method" \
2524 file_magic_cmd="$file_magic_cmd" \
2525 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2526 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2527 || { echo "configure
: error
: libtool tag configuration failed
" 1>&2; exit 1; }
2529 CFLAGS="$lt_save_CFLAGS"
2531 # Redirect the config.log output again, so that the ltconfig log is not
2532 # clobbered by the next message.
2533 exec 5>>./config.log
2542 echo $ac_n "checking
for GNU
make""...
$ac_c" 1>&6
2543 echo "configure
:2544: checking
for GNU
make" >&5
2544 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2545 echo $ac_n "(cached
) $ac_c" 1>&6
2547 _cv_gnu_make_command='' ;
2548 for a in "${MAKE-make}" make gmake gnumake ; do
2549 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2551 _cv_gnu_make_command=$a ;
2558 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2559 if test "x
$_cv_gnu_make_command" != "x
" ; then
2571 # Check for c++ or library specific bits that don't require linking.
2573 if test ! -f stamp-sanity-compiler; then
2574 echo $ac_n "checking
for g
++ that will successfully compile libstdc
++-v3""...
$ac_c" 1>&6
2575 echo "configure
:2576: checking
for g
++ that will successfully compile libstdc
++-v3" >&5
2578 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2579 ac_cpp='$CXXCPP $CPPFLAGS'
2580 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2581 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2582 cross_compiling=$ac_cv_prog_cxx_cross
2584 cat > conftest.$ac_ext <<EOF
2585 #line 2586 "configure
"
2586 #include "confdefs.h
"
2596 if { (eval echo configure:2597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2598 gpp_satisfactory=yes
2600 echo "configure
: failed program was
:" >&5
2601 cat conftest.$ac_ext >&5
2603 { echo "configure
: error
: please upgrade to GCC
3.0 or above
" 1>&2; exit 1; }
2607 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2608 ac_cpp='$CPP $CPPFLAGS'
2609 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2610 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2611 cross_compiling=$ac_cv_prog_cc_cross
2613 echo "$ac_t""$gpp_satisfactory" 1>&6
2614 touch stamp-sanity-compiler
2618 # Enable all the crazy c++ stuff. C_MBCHAR must come early.
2619 # Check whether --enable-debug or --disable-debug was given.
2620 if test "${enable_debug+set}" = set; then
2621 enableval="$enable_debug"
2622 case "${enableval}" in
2623 yes) enable_debug=yes ;;
2624 no) enable_debug=no ;;
2625 *) { echo "configure
: error
: Unknown argument to enable
/disable extra debugging
" 1>&2; exit 1; } ;;
2631 case "${enable_debug}" in
2633 DEBUG_FLAGS='-O0 -ggdb3'
2641 echo $ac_n "checking how to run the C preprocessor
""...
$ac_c" 1>&6
2642 echo "configure
:2643: checking how to run the C preprocessor
" >&5
2643 # On Suns, sometimes $CPP names a directory.
2644 if test -n "$CPP" && test -d "$CPP"; then
2647 if test -z "$CPP"; then
2648 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2649 echo $ac_n "(cached
) $ac_c" 1>&6
2651 # This must be in double quotes, not single quotes, because CPP may get
2652 # substituted into the Makefile and "${CC-cc}" will confuse make.
2654 # On the NeXT, cc -E runs the code through the compiler's parser,
2655 # not just through cpp.
2656 cat > conftest.$ac_ext <<EOF
2657 #line 2658 "configure
"
2658 #include "confdefs.h
"
2662 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2663 { (eval echo configure:2664: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2664 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2665 if test -z "$ac_err"; then
2669 echo "configure
: failed program was
:" >&5
2670 cat conftest.$ac_ext >&5
2672 CPP="${CC-cc} -E -traditional-cpp"
2673 cat > conftest.$ac_ext <<EOF
2674 #line 2675 "configure
"
2675 #include "confdefs.h
"
2679 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2680 { (eval echo configure:2681: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2681 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2682 if test -z "$ac_err"; then
2686 echo "configure
: failed program was
:" >&5
2687 cat conftest.$ac_ext >&5
2689 CPP="${CC-cc} -nologo -E"
2690 cat > conftest.$ac_ext <<EOF
2691 #line 2692 "configure
"
2692 #include "confdefs.h
"
2696 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2697 { (eval echo configure:2698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2698 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2699 if test -z "$ac_err"; then
2703 echo "configure
: failed program was
:" >&5
2704 cat conftest.$ac_ext >&5
2713 ac_cv_prog_CPP="$CPP"
2715 CPP="$ac_cv_prog_CPP"
2717 ac_cv_prog_CPP="$CPP"
2719 echo "$ac_t""$CPP" 1>&6
2722 echo $ac_n "checking
for cstdio to use
""...
$ac_c" 1>&6
2723 echo "configure
:2724: checking
for cstdio to use
" >&5
2724 # Check whether --enable-cstdio or --disable-cstdio was given.
2725 if test "${enable_cstdio+set}" = set; then
2726 enableval="$enable_cstdio"
2727 if test x$enable_cstdio = xno; then
2735 enable_cstdio_flag=$enable_cstdio
2737 case x${enable_cstdio_flag} in
2739 CSTDIO_H=config/c_io_libio.h
2740 BASIC_FILE_H=config/basic_file_libio.h
2741 BASIC_FILE_CC=config/basic_file_libio.cc
2742 echo "$ac_t""libio
" 1>&6
2744 # see if we are on a system with libio native (ie, linux)
2745 ac_safe=`echo "libio.h
" | sed 'y%./+-%__p_%'`
2746 echo $ac_n "checking
for libio.h
""...
$ac_c" 1>&6
2747 echo "configure
:2748: checking
for libio.h
" >&5
2748 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2749 echo $ac_n "(cached
) $ac_c" 1>&6
2751 cat > conftest.$ac_ext <<EOF
2752 #line 2753 "configure
"
2753 #include "confdefs.h
"
2756 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2757 { (eval echo configure:2758: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2758 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2759 if test -z "$ac_err"; then
2761 eval "ac_cv_header_
$ac_safe=yes"
2764 echo "configure
: failed program was
:" >&5
2765 cat conftest.$ac_ext >&5
2767 eval "ac_cv_header_
$ac_safe=no
"
2771 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2772 echo "$ac_t""yes" 1>&6
2775 echo "$ac_t""no
" 1>&6
2780 # Need to check and see what version of glibc is being used. If
2781 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2782 # compile most of libio for linux systems.
2783 if test x$has_libio = x"yes"; then
2786 echo $ac_n "checking
for glibc version
>= 2.2""...
$ac_c" 1>&6
2787 echo "configure
:2788: checking
for glibc version
>= 2.2" >&5
2788 cat > conftest.$ac_ext <<EOF
2789 #line 2790 "configure
"
2790 #include "confdefs.h
"
2792 #include <features.h>
2793 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2798 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
2799 egrep "ok
" >/dev/null 2>&1; then
2801 glibc_satisfactory=yes
2804 glibc_satisfactory=no
2808 echo "$ac_t""$glibc_satisfactory" 1>&6
2812 # XXX at the moment, admit defeat and force the recompilation
2813 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2814 glibc_satisfactory=no
2816 if test x$glibc_satisfactory = x"yes"; then
2821 # bkoz XXX need to add checks to enable this
2822 # pme XXX here's a first pass at such a check
2823 if test x$enable_c_mbchar != xno; then
2831 # Using libio, but <libio.h> doesn't exist on the target system. . .
2833 # bkoz XXX need to add checks to enable this
2834 # pme XXX here's a first pass at such a check
2835 if test x$enable_c_mbchar != xno; then
2842 xstdio | x | xno | xnone | xyes)
2844 CSTDIO_H=config/c_io_stdio.h
2845 BASIC_FILE_H=config/basic_file_stdio.h
2846 BASIC_FILE_CC=config/basic_file_stdio.cc
2847 echo "$ac_t""stdio
" 1>&6
2849 # We're not using stdio.
2854 echo "$enable_cstdio is an unknown io package
" 1>&2
2862 # 2000-08-04 bkoz hack
2863 CCODECVT_C=config/c_io_libio_codecvt.c
2865 # 2000-08-04 bkoz hack
2869 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2870 GLIBCPP_BUILD_LIBIO_TRUE=
2871 GLIBCPP_BUILD_LIBIO_FALSE='#'
2873 GLIBCPP_BUILD_LIBIO_TRUE='#'
2874 GLIBCPP_BUILD_LIBIO_FALSE=
2878 if test "$need_libio" = yes; then
2879 GLIBCPP_NEED_LIBIO_TRUE=
2880 GLIBCPP_NEED_LIBIO_FALSE='#'
2882 GLIBCPP_NEED_LIBIO_TRUE='#'
2883 GLIBCPP_NEED_LIBIO_FALSE=
2887 if test "$need_wlibio" = yes; then
2888 GLIBCPP_NEED_WLIBIO_TRUE=
2889 GLIBCPP_NEED_WLIBIO_FALSE='#'
2891 GLIBCPP_NEED_WLIBIO_TRUE='#'
2892 GLIBCPP_NEED_WLIBIO_FALSE=
2894 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2895 libio_la=../libio/libio.la
2902 echo $ac_n "checking
for clocale to use
""...
$ac_c" 1>&6
2903 echo "configure
:2904: checking
for clocale to use
" >&5
2904 # Check whether --enable-clocale or --disable-clocale was given.
2905 if test "${enable_clocale+set}" = set; then
2906 enableval="$enable_clocale"
2907 if test x$enable_clocale = xno; then
2908 enable_clocale=generic
2911 enable_clocale=generic
2915 enable_clocale_flag=$enable_clocale
2917 case x${enable_clocale_flag} in
2919 CLOCALE_H=config/c_locale_gnu.h
2920 CLOCALE_CC=config/c_locale_gnu.cc
2921 echo "$ac_t""gnu
" 1>&6
2924 CLOCALE_H=config/c_locale_generic.h
2925 CLOCALE_CC=config/c_locale_generic.cc
2926 echo "$ac_t""generic
" 1>&6
2929 echo "$enable_clocale is an unknown locale package
" 1>&2
2937 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
2938 if test "${enable_c_mbchar+set}" = set; then
2939 enableval="$enable_c_mbchar"
2940 case "$enableval" in
2941 yes) enable_c_mbchar=yes ;;
2942 no) enable_c_mbchar=no ;;
2943 *) { echo "configure
: error
: Unknown argument to enable
/disable c-mbchar
" 1>&2; exit 1; } ;;
2950 # Check whether --enable-c99 or --disable-c99 was given.
2951 if test "${enable_c99+set}" = set; then
2952 enableval="$enable_c99"
2953 case "$enableval" in
2954 yes) enable_c99=yes ;;
2955 no) enable_c99=no ;;
2956 *) { echo "configure
: error
: Unknown argument to enable
/disable C99
" 1>&2; exit 1; } ;;
2964 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2965 ac_cpp='$CXXCPP $CPPFLAGS'
2966 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2967 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2968 cross_compiling=$ac_cv_prog_cxx_cross
2971 # Check for the existence of <math.h> functions used if C99 is enabled.
2973 echo $ac_n "checking
for ISO C99 support
in <math.h
>""...
$ac_c" 1>&6
2974 echo "configure
:2975: checking
for ISO C99 support
in <math.h
>" >&5
2975 cat > conftest.$ac_ext <<EOF
2976 #line 2977 "configure
"
2977 #include "confdefs.h
"
2983 if { (eval echo configure:2984: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2986 echo "configure
: failed program was
:" >&5
2987 cat conftest.$ac_ext >&5
2992 cat > conftest.$ac_ext <<EOF
2993 #line 2994 "configure
"
2994 #include "confdefs.h
"
3000 if { (eval echo configure:3001: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3003 echo "configure
: failed program was
:" >&5
3004 cat conftest.$ac_ext >&5
3009 cat > conftest.$ac_ext <<EOF
3010 #line 3011 "configure
"
3011 #include "confdefs.h
"
3017 if { (eval echo configure:3018: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3020 echo "configure
: failed program was
:" >&5
3021 cat conftest.$ac_ext >&5
3026 cat > conftest.$ac_ext <<EOF
3027 #line 3028 "configure
"
3028 #include "confdefs.h
"
3034 if { (eval echo configure:3035: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3037 echo "configure
: failed program was
:" >&5
3038 cat conftest.$ac_ext >&5
3043 cat > conftest.$ac_ext <<EOF
3044 #line 3045 "configure
"
3045 #include "confdefs.h
"
3051 if { (eval echo configure:3052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3054 echo "configure
: failed program was
:" >&5
3055 cat conftest.$ac_ext >&5
3060 cat > conftest.$ac_ext <<EOF
3061 #line 3062 "configure
"
3062 #include "confdefs.h
"
3068 if { (eval echo configure:3069: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3071 echo "configure
: failed program was
:" >&5
3072 cat conftest.$ac_ext >&5
3077 cat > conftest.$ac_ext <<EOF
3078 #line 3079 "configure
"
3079 #include "confdefs.h
"
3085 if { (eval echo configure:3086: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3088 echo "configure
: failed program was
:" >&5
3089 cat conftest.$ac_ext >&5
3094 cat > conftest.$ac_ext <<EOF
3095 #line 3096 "configure
"
3096 #include "confdefs.h
"
3099 isgreaterequal(0.0,0.0);
3102 if { (eval echo configure:3103: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3105 echo "configure
: failed program was
:" >&5
3106 cat conftest.$ac_ext >&5
3111 cat > conftest.$ac_ext <<EOF
3112 #line 3113 "configure
"
3113 #include "confdefs.h
"
3119 if { (eval echo configure:3120: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3122 echo "configure
: failed program was
:" >&5
3123 cat conftest.$ac_ext >&5
3128 cat > conftest.$ac_ext <<EOF
3129 #line 3130 "configure
"
3130 #include "confdefs.h
"
3133 islessequal(0.0,0.0);
3136 if { (eval echo configure:3137: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3139 echo "configure
: failed program was
:" >&5
3140 cat conftest.$ac_ext >&5
3145 cat > conftest.$ac_ext <<EOF
3146 #line 3147 "configure
"
3147 #include "confdefs.h
"
3150 islessgreater(0.0,0.0);
3153 if { (eval echo configure:3154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3156 echo "configure
: failed program was
:" >&5
3157 cat conftest.$ac_ext >&5
3162 cat > conftest.$ac_ext <<EOF
3163 #line 3164 "configure
"
3164 #include "confdefs.h
"
3167 isunordered(0.0,0.0);
3170 if { (eval echo configure:3171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3173 echo "configure
: failed program was
:" >&5
3174 cat conftest.$ac_ext >&5
3179 echo "$ac_t""$ac_c99_math" 1>&6
3181 # Check for the existence in <stdio.h> of vscanf, et. al.
3183 echo $ac_n "checking
for ISO C99 support
in <stdio.h
>""...
$ac_c" 1>&6
3184 echo "configure
:3185: checking
for ISO C99 support
in <stdio.h
>" >&5
3185 cat > conftest.$ac_ext <<EOF
3186 #line 3187 "configure
"
3187 #include "confdefs.h
"
3190 snprintf("12", 0, "%i
");
3193 if { (eval echo configure:3194: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3196 echo "configure
: failed program was
:" >&5
3197 cat conftest.$ac_ext >&5
3202 cat > conftest.$ac_ext <<EOF
3203 #line 3204 "configure
"
3204 #include "confdefs.h
"
3207 void foo(char* fmt, ...)
3208 {va_list args; va_start(args, fmt);
3209 vfscanf(stderr, "%i
", args);}
3214 if { (eval echo configure:3215: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3217 echo "configure
: failed program was
:" >&5
3218 cat conftest.$ac_ext >&5
3223 cat > conftest.$ac_ext <<EOF
3224 #line 3225 "configure
"
3225 #include "confdefs.h
"
3228 void foo(char* fmt, ...)
3229 {va_list args; va_start(args, fmt);
3230 vscanf("%i
", args);}
3235 if { (eval echo configure:3236: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3238 echo "configure
: failed program was
:" >&5
3239 cat conftest.$ac_ext >&5
3244 cat > conftest.$ac_ext <<EOF
3245 #line 3246 "configure
"
3246 #include "confdefs.h
"
3249 void foo(char* fmt, ...)
3250 {va_list args; va_start(args, fmt);
3251 vsnprintf(fmt, 0, "%i
", args);}
3256 if { (eval echo configure:3257: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3259 echo "configure
: failed program was
:" >&5
3260 cat conftest.$ac_ext >&5
3265 cat > conftest.$ac_ext <<EOF
3266 #line 3267 "configure
"
3267 #include "confdefs.h
"
3270 void foo(char* fmt, ...)
3271 {va_list args; va_start(args, fmt);
3272 vsscanf(fmt, "%i
", args);}
3277 if { (eval echo configure:3278: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3280 echo "configure
: failed program was
:" >&5
3281 cat conftest.$ac_ext >&5
3286 echo "$ac_t""$ac_c99_stdio" 1>&6
3288 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3290 echo $ac_n "checking
for lldiv_t declaration
""...
$ac_c" 1>&6
3291 echo "configure
:3292: checking
for lldiv_t declaration
" >&5
3292 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3293 echo $ac_n "(cached
) $ac_c" 1>&6
3296 cat > conftest.$ac_ext <<EOF
3297 #line 3298 "configure
"
3298 #include "confdefs.h
"
3304 if { (eval echo configure:3305: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3308 echo "configure
: failed program was
:" >&5
3309 cat conftest.$ac_ext >&5
3317 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3319 echo $ac_n "checking
for ISO C99 support
in <stdlib.h
>""...
$ac_c" 1>&6
3320 echo "configure
:3321: checking
for ISO C99 support
in <stdlib.h
>" >&5
3321 cat > conftest.$ac_ext <<EOF
3322 #line 3323 "configure
"
3323 #include "confdefs.h
"
3326 char* tmp; strtof("gnu
", &tmp);
3329 if { (eval echo configure:3330: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3332 echo "configure
: failed program was
:" >&5
3333 cat conftest.$ac_ext >&5
3338 cat > conftest.$ac_ext <<EOF
3339 #line 3340 "configure
"
3340 #include "confdefs.h
"
3343 char* tmp; strtold("gnu
", &tmp);
3346 if { (eval echo configure:3347: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3349 echo "configure
: failed program was
:" >&5
3350 cat conftest.$ac_ext >&5
3355 cat > conftest.$ac_ext <<EOF
3356 #line 3357 "configure
"
3357 #include "confdefs.h
"
3360 char* tmp; strtoll("gnu
", &tmp, 10);
3363 if { (eval echo configure:3364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3366 echo "configure
: failed program was
:" >&5
3367 cat conftest.$ac_ext >&5
3372 cat > conftest.$ac_ext <<EOF
3373 #line 3374 "configure
"
3374 #include "confdefs.h
"
3377 char* tmp; strtoull("gnu
", &tmp, 10);
3380 if { (eval echo configure:3381: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3383 echo "configure
: failed program was
:" >&5
3384 cat conftest.$ac_ext >&5
3389 cat > conftest.$ac_ext <<EOF
3390 #line 3391 "configure
"
3391 #include "confdefs.h
"
3397 if { (eval echo configure:3398: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3400 echo "configure
: failed program was
:" >&5
3401 cat conftest.$ac_ext >&5
3406 cat > conftest.$ac_ext <<EOF
3407 #line 3408 "configure
"
3408 #include "confdefs.h
"
3414 if { (eval echo configure:3415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3417 echo "configure
: failed program was
:" >&5
3418 cat conftest.$ac_ext >&5
3423 cat > conftest.$ac_ext <<EOF
3424 #line 3425 "configure
"
3425 #include "confdefs.h
"
3431 if { (eval echo configure:3432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3434 echo "configure
: failed program was
:" >&5
3435 cat conftest.$ac_ext >&5
3440 cat > conftest.$ac_ext <<EOF
3441 #line 3442 "configure
"
3442 #include "confdefs.h
"
3448 if { (eval echo configure:3449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3451 echo "configure
: failed program was
:" >&5
3452 cat conftest.$ac_ext >&5
3457 if test x"$ac_c99_lldiv_t" = x"no
"; then
3460 echo "$ac_t""$ac_c99_stdlib" 1>&6
3462 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3463 # XXX the wchar.h checks should be rolled into the general C99 bits.
3465 echo $ac_n "checking
for additional ISO C99 support
in <wchar.h
>""...
$ac_c" 1>&6
3466 echo "configure
:3467: checking
for additional ISO C99 support
in <wchar.h
>" >&5
3467 cat > conftest.$ac_ext <<EOF
3468 #line 3469 "configure
"
3469 #include "confdefs.h
"
3472 wcstold(L"10.0", NULL);
3475 if { (eval echo configure:3476: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3478 echo "configure
: failed program was
:" >&5
3479 cat conftest.$ac_ext >&5
3484 cat > conftest.$ac_ext <<EOF
3485 #line 3486 "configure
"
3486 #include "confdefs.h
"
3489 wcstoll(L"10", NULL, 10);
3492 if { (eval echo configure:3493: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3495 echo "configure
: failed program was
:" >&5
3496 cat conftest.$ac_ext >&5
3501 cat > conftest.$ac_ext <<EOF
3502 #line 3503 "configure
"
3503 #include "confdefs.h
"
3506 wcstoull(L"10", NULL, 10);
3509 if { (eval echo configure:3510: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3512 echo "configure
: failed program was
:" >&5
3513 cat conftest.$ac_ext >&5
3518 echo "$ac_t""$ac_c99_wchar" 1>&6
3520 echo $ac_n "checking
for enabled ISO C99 support
""...
$ac_c" 1>&6
3521 echo "configure
:3522: checking
for enabled ISO C99 support
" >&5
3522 if test x"$ac_c99_math" = x"no
" || test x"$ac_c99_stdio" = x"no
" \
3523 || test x"$ac_c99_stdlib" = x"no
" \
3524 || test x"$ac_c99_wchar" = x"no
"; then
3527 echo "$ac_t""$enable_c99" 1>&6
3529 # Option parsed, now set things appropriately
3530 if test x"$enable_c99" = x"yes"; then
3531 cat >> confdefs.h <<\EOF
3532 #define _GLIBCPP_USE_C99 1
3538 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3539 ac_cpp='$CPP $CPPFLAGS'
3540 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3541 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3542 cross_compiling=$ac_cv_prog_cc_cross
3546 # Check whether --enable-long-long or --disable-long-long was given.
3547 if test "${enable_long_long+set}" = set; then
3548 enableval="$enable_long_long"
3549 case "$enableval" in
3550 yes) enable_long_long=yes ;;
3551 no) enable_long_long=no ;;
3552 *) { echo "configure
: error
: Unknown argument to enable
/disable long long
" 1>&2; exit 1; } ;;
3555 enable_long_long=yes
3558 # iostreams require strtoll, strtoull to compile. If the
3559 # GLIBCPP_ENABLE_C99 tests found these, and if C99 support is enabled,
3560 # go ahead and allow long long to be used.
3561 if test x"$enable_c99" = x"no
"; then
3562 enable_long_long=no;
3565 # Option parsed, now set things appropriately
3566 echo $ac_n "checking
for enabled long long support
""...
$ac_c" 1>&6
3567 echo "configure
:3568: checking
for enabled long long support
" >&5
3568 if test x"$enable_long_long" = xyes; then
3569 cat >> confdefs.h <<\EOF
3570 #define _GLIBCPP_USE_LONG_LONG 1
3574 echo "$ac_t""$enable_long_long" 1>&6
3576 echo $ac_n "checking
for c header strategy to use
""...
$ac_c" 1>&6
3577 echo "configure
:3578: checking
for c header strategy to use
" >&5
3578 # Check whether --enable-cheaders or --disable-cheaders was given.
3579 if test "${enable_cheaders+set}" = set; then
3580 enableval="$enable_cheaders"
3582 case "$enableval" in
3587 enable_cheaders=c_std
3590 enable_cheaders=c_shadow
3592 *) { echo "configure
: error
: Unknown argument to enable
/disable
"C" headers
" 1>&2; exit 1; }
3596 enable_cheaders=c_std
3599 echo "$ac_t""$enable_cheaders" 1>&6
3601 case "$enable_cheaders" in
3603 CSHADOW_FLAGS="-fno-builtin"
3604 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow'
3605 cat >> confdefs.h <<\EOF
3606 #define _GLIBCPP_USE_SHADOW_HEADERS 1
3612 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3616 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3624 if test "$enable_cheaders" = c_shadow; then
3625 GLIBCPP_USE_CSHADOW_TRUE=
3626 GLIBCPP_USE_CSHADOW_FALSE='#'
3628 GLIBCPP_USE_CSHADOW_TRUE='#'
3629 GLIBCPP_USE_CSHADOW_FALSE=
3633 echo $ac_n "checking
for thread model used by GCC
""...
$ac_c" 1>&6
3634 echo "configure
:3635: checking
for thread model used by GCC
" >&5
3635 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3636 echo "$ac_t""$target_thread_file" 1>&6
3638 if test $target_thread_file != single; then
3639 cat >> confdefs.h <<\EOF
3640 #define HAVE_GTHR_DEFAULT 1
3643 cat >> confdefs.h <<\EOF
3644 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3649 glibcpp_thread_h=gthr-$target_thread_file.h
3652 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3653 if test "${enable_cxx_flags+set}" = set; then
3654 enableval="$enable_cxx_flags"
3655 case "x
$enableval" in
3657 { echo "configure
: error
: --enable-cxx-flags needs compiler flags as arguments
" 1>&2; exit 1; } ;;
3659 enable_cxx_flags='' ;;
3661 enable_cxx_flags="$enableval" ;;
3664 enable_cxx_flags='none'
3668 if test "$enable_cxx_flags" = "none
"; then
3669 enable_cxx_flags='';
3672 if test -n "$enable_cxx_flags"; then
3673 for f in $enable_cxx_flags; do
3677 *) # and we're trying to pass /what/ exactly?
3678 { echo "configure
: error
: compiler flags start with a
-" 1>&2; exit 1; } ;;
3682 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3686 echo $ac_n "checking
for exception model to use
""...
$ac_c" 1>&6
3687 echo "configure
:3688: checking
for exception model to use
" >&5
3690 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3691 ac_cpp='$CXXCPP $CPPFLAGS'
3692 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3693 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3694 cross_compiling=$ac_cv_prog_cxx_cross
3696 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3697 if test "${enable_sjlj_exceptions+set}" = set; then
3698 enableval="$enable_sjlj_exceptions"
3701 cat > conftest.$ac_ext << EOF
3702 #line 3703 "configure
"
3711 old_CXXFLAGS="$CXXFLAGS"
3713 if { (eval echo configure:3714: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3714 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3715 enable_sjlj_exceptions=yes
3716 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3717 enable_sjlj_exceptions=no
3720 CXXFLAGS="$old_CXXFLAGS"
3724 if test x$enable_sjlj_exceptions = xyes; then
3725 cat >> confdefs.h <<\EOF
3726 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3729 ac_exception_model_name=sjlj
3730 elif test x$enable_sjlj_exceptions = xno; then
3731 ac_exception_model_name="call frame
"
3733 { echo "configure
: error
: unable to detect exception model
" 1>&2; exit 1; }
3736 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3737 ac_cpp='$CPP $CPPFLAGS'
3738 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3739 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3740 cross_compiling=$ac_cv_prog_cc_cross
3742 echo "$ac_t""$ac_exception_model_name" 1>&6
3745 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
3747 # We are being configured with some form of cross compiler.
3748 # mknumeric_limits may not work correctly, either because the
3749 # compiler may not run on this machine, may not be able to link
3750 # executables, or may produce executables we can't run on this
3752 GLIBCPP_IS_CROSS_COMPILING=1
3754 # If Canadian cross, then don't pick up tools from the build
3756 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
3762 case "$target_alias" in
3764 # Construct linux crosses by hand, eliminating bits that need ld...
3765 # Check for available headers.
3766 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
3767 machine/endian.h machine/param.h sys/machine.h fp.h locale.h \
3770 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3771 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
3772 echo "configure
:3773: checking
for $ac_hdr" >&5
3773 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3774 echo $ac_n "(cached
) $ac_c" 1>&6
3776 cat > conftest.$ac_ext <<EOF
3777 #line 3778 "configure
"
3778 #include "confdefs.h
"
3781 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
3782 { (eval echo configure:3783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3783 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
3784 if test -z "$ac_err"; then
3786 eval "ac_cv_header_
$ac_safe=yes"
3789 echo "configure
: failed program was
:" >&5
3790 cat conftest.$ac_ext >&5
3792 eval "ac_cv_header_
$ac_safe=no
"
3796 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3797 echo "$ac_t""yes" 1>&6
3798 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3799 cat >> confdefs.h <<EOF
3800 #define $ac_tr_hdr 1
3804 echo "$ac_t""no
" 1>&6
3809 # GLIBCPP_CHECK_COMPILER_FEATURES
3810 SECTION_FLAGS='-ffunction-sections -fdata-sections'
3813 # If we're not using GNU ld, then there's no point in even trying these
3814 # tests. Check for that first. We should have already tested for gld
3815 # by now (in libtool), but require it now just to be safe...
3820 # Set --gc-sections.
3821 if test "$ac_cv_prog_gnu_ld" = "notbroken
"; then
3822 # GNU ld it is! Joy and bunny rabbits!
3824 # All these tests are for C++; save the language and the compiler flags.
3825 # Need to do this so that g++ won't try to link in libstdc++
3826 ac_test_CFLAGS="${CFLAGS+set}"
3827 ac_save_CFLAGS="$CFLAGS"
3828 CFLAGS='-x c++ -Wl,--gc-sections'
3830 # Check for -Wl,--gc-sections
3831 # XXX This test is broken at the moment, as symbols required for
3832 # linking are now in libsupc++ (not built yet.....). In addition,
3833 # this test has cored on solaris in the past. In addition,
3834 # --gc-sections doesn't really work at the moment (keeps on discarding
3835 # used sections, first .eh_frame and now some of the glibc sections for
3836 # iconv). Bzzzzt. Thanks for playing, maybe next time.
3837 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
3838 echo "configure
:3839: checking
for ld that supports
-Wl,--gc-sections" >&5
3839 if test "$cross_compiling" = yes; then
3840 ac_sectionLDflags=yes
3842 cat > conftest.$ac_ext <<EOF
3843 #line 3844 "configure
"
3844 #include "confdefs.h
"
3854 if { (eval echo configure:3855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3856 ac_sectionLDflags=yes
3858 echo "configure
: failed program was
:" >&5
3859 cat conftest.$ac_ext >&5
3861 ac_sectionLFflags=no
3866 if test "$ac_test_CFLAGS" = set; then
3867 CFLAGS="$ac_save_CFLAGS"
3869 # this is the suspicious part
3872 if test "$ac_sectionLDflags" = "yes"; then
3873 SECTION_LDFLAGS='-Wl,--gc-sections'
3875 echo "$ac_t""$ac_sectionLDflags" 1>&6
3878 # Set linker optimization flags.
3879 if test x"$ac_cv_prog_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
3880 OPT_LDFLAGS='-Wl,-O1'
3886 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
3887 # GLIBCPP_CHECK_MATH_SUPPORT
3888 cat >> confdefs.h <<\EOF
3889 #define HAVE_ACOSF 1
3892 cat >> confdefs.h <<\EOF
3893 #define HAVE_ASINF 1
3896 cat >> confdefs.h <<\EOF
3897 #define HAVE_ATAN2F 1
3900 cat >> confdefs.h <<\EOF
3901 #define HAVE_ATANF 1
3904 cat >> confdefs.h <<\EOF
3905 #define HAVE_CEILF 1
3908 cat >> confdefs.h <<\EOF
3909 #define HAVE_COPYSIGN 1
3912 cat >> confdefs.h <<\EOF
3913 #define HAVE_COPYSIGNF 1
3916 cat >> confdefs.h <<\EOF
3920 cat >> confdefs.h <<\EOF
3921 #define HAVE_COSHF 1
3924 cat >> confdefs.h <<\EOF
3928 cat >> confdefs.h <<\EOF
3929 #define HAVE_FABSF 1
3932 cat >> confdefs.h <<\EOF
3933 #define HAVE_FINITE 1
3936 cat >> confdefs.h <<\EOF
3937 #define HAVE_FINITEF 1
3940 cat >> confdefs.h <<\EOF
3941 #define HAVE_FLOORF 1
3944 cat >> confdefs.h <<\EOF
3945 #define HAVE_FMODF 1
3948 cat >> confdefs.h <<\EOF
3949 #define HAVE_FREXPF 1
3952 cat >> confdefs.h <<\EOF
3953 #define HAVE_ISINF 1
3956 cat >> confdefs.h <<\EOF
3957 #define HAVE_ISINFF 1
3960 cat >> confdefs.h <<\EOF
3961 #define HAVE_ISNAN 1
3964 cat >> confdefs.h <<\EOF
3965 #define HAVE_ISNANF 1
3968 cat >> confdefs.h <<\EOF
3969 #define HAVE_LDEXPF 1
3972 cat >> confdefs.h <<\EOF
3973 #define HAVE_LOG10F 1
3976 cat >> confdefs.h <<\EOF
3980 cat >> confdefs.h <<\EOF
3981 #define HAVE_MODFF 1
3984 cat >> confdefs.h <<\EOF
3988 cat >> confdefs.h <<\EOF
3989 #define HAVE_SINCOS 1
3992 cat >> confdefs.h <<\EOF
3993 #define HAVE_SINCOSF 1
3996 cat >> confdefs.h <<\EOF
4000 cat >> confdefs.h <<\EOF
4001 #define HAVE_SINHF 1
4004 cat >> confdefs.h <<\EOF
4005 #define HAVE_SQRTF 1
4008 cat >> confdefs.h <<\EOF
4012 cat >> confdefs.h <<\EOF
4013 #define HAVE_TANHF 1
4017 # At some point, we should differentiate between architectures
4018 # like x86, which have long double versions, and alpha/powerpc/etc.,
4019 # which don't. For the time being, punt.
4020 if test x"long_double_math_on_this_cpu
" = x"yes"; then
4021 cat >> confdefs.h <<\EOF
4022 #define HAVE_ACOSL 1
4025 cat >> confdefs.h <<\EOF
4026 #define HAVE_ASINL 1
4029 cat >> confdefs.h <<\EOF
4030 #define HAVE_ATAN2L 1
4033 cat >> confdefs.h <<\EOF
4034 #define HAVE_ATANL 1
4037 cat >> confdefs.h <<\EOF
4038 #define HAVE_CEILL 1
4041 cat >> confdefs.h <<\EOF
4042 #define HAVE_COPYSIGNL 1
4045 cat >> confdefs.h <<\EOF
4049 cat >> confdefs.h <<\EOF
4050 #define HAVE_COSHL 1
4053 cat >> confdefs.h <<\EOF
4057 cat >> confdefs.h <<\EOF
4058 #define HAVE_FABSL 1
4061 cat >> confdefs.h <<\EOF
4062 #define HAVE_FINITEL 1
4065 cat >> confdefs.h <<\EOF
4066 #define HAVE_FLOORL 1
4069 cat >> confdefs.h <<\EOF
4070 #define HAVE_FMODL 1
4073 cat >> confdefs.h <<\EOF
4074 #define HAVE_FREXPL 1
4077 cat >> confdefs.h <<\EOF
4078 #define HAVE_ISINFL 1
4081 cat >> confdefs.h <<\EOF
4082 #define HAVE_ISNANL 1
4085 cat >> confdefs.h <<\EOF
4086 #define HAVE_LDEXPL 1
4089 cat >> confdefs.h <<\EOF
4090 #define HAVE_LOG10L 1
4093 cat >> confdefs.h <<\EOF
4097 cat >> confdefs.h <<\EOF
4098 #define HAVE_MODFL 1
4101 cat >> confdefs.h <<\EOF
4105 cat >> confdefs.h <<\EOF
4106 #define HAVE_SINCOSL 1
4109 cat >> confdefs.h <<\EOF
4113 cat >> confdefs.h <<\EOF
4114 #define HAVE_SINHL 1
4117 cat >> confdefs.h <<\EOF
4118 #define HAVE_SQRTL 1
4121 cat >> confdefs.h <<\EOF
4125 cat >> confdefs.h <<\EOF
4126 #define HAVE_TANHL 1
4131 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
4132 echo "configure
:4133: checking
for main
in -lm" >&5
4133 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4134 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4135 echo $ac_n "(cached
) $ac_c" 1>&6
4137 ac_save_LIBS="$LIBS"
4139 cat > conftest.$ac_ext <<EOF
4140 #line 4141 "configure
"
4141 #include "confdefs.h
"
4147 if { (eval echo configure:4148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4149 eval "ac_cv_lib_
$ac_lib_var=yes"
4151 echo "configure
: failed program was
:" >&5
4152 cat conftest.$ac_ext >&5
4154 eval "ac_cv_lib_
$ac_lib_var=no
"
4157 LIBS="$ac_save_LIBS"
4160 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4161 echo "$ac_t""yes" 1>&6
4162 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4163 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4164 cat >> confdefs.h <<EOF
4165 #define $ac_tr_lib 1
4171 echo "$ac_t""no
" 1>&6
4174 for ac_func in nan copysignf
4176 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4177 echo "configure
:4178: checking
for $ac_func" >&5
4178 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4179 echo $ac_n "(cached
) $ac_c" 1>&6
4181 cat > conftest.$ac_ext <<EOF
4182 #line 4183 "configure
"
4183 #include "confdefs.h
"
4184 /* System header to define __stub macros and hopefully few prototypes,
4185 which can conflict with char $ac_func(); below. */
4187 /* Override any gcc2 internal prototype to avoid an error. */
4188 /* We use char because int might match the return type of a gcc2
4189 builtin and then its argument prototype would still apply. */
4194 /* The GNU C library defines this for functions which it implements
4195 to always fail with ENOSYS. Some functions are actually named
4196 something starting with __ and the normal name is an alias. */
4197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4205 if { (eval echo configure:4206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4207 eval "ac_cv_func_
$ac_func=yes"
4209 echo "configure
: failed program was
:" >&5
4210 cat conftest.$ac_ext >&5
4212 eval "ac_cv_func_
$ac_func=no
"
4217 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4218 echo "$ac_t""yes" 1>&6
4219 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4220 cat >> confdefs.h <<EOF
4221 #define $ac_tr_func 1
4225 echo "$ac_t""no
" 1>&6
4226 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
4232 USE_COMPLEX_LONG_DOUBLE=no
4233 if test x$ac_cv_func_copysignl = x"yes"; then
4234 USE_COMPLEX_LONG_DOUBLE=yes
4235 for ac_func in signbitl
4237 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4238 echo "configure
:4239: checking
for $ac_func" >&5
4239 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4240 echo $ac_n "(cached
) $ac_c" 1>&6
4242 cat > conftest.$ac_ext <<EOF
4243 #line 4244 "configure
"
4244 #include "confdefs.h
"
4245 /* System header to define __stub macros and hopefully few prototypes,
4246 which can conflict with char $ac_func(); below. */
4248 /* Override any gcc2 internal prototype to avoid an error. */
4249 /* We use char because int might match the return type of a gcc2
4250 builtin and then its argument prototype would still apply. */
4255 /* The GNU C library defines this for functions which it implements
4256 to always fail with ENOSYS. Some functions are actually named
4257 something starting with __ and the normal name is an alias. */
4258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4266 if { (eval echo configure:4267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4268 eval "ac_cv_func_
$ac_func=yes"
4270 echo "configure
: failed program was
:" >&5
4271 cat conftest.$ac_ext >&5
4273 eval "ac_cv_func_
$ac_func=no
"
4278 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4279 echo "$ac_t""yes" 1>&6
4280 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4281 cat >> confdefs.h <<EOF
4282 #define $ac_tr_func 1
4286 echo "$ac_t""no
" 1>&6
4287 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
4298 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
4299 echo "configure
:4300: checking
for mbstate_t
" >&5
4300 cat > conftest.$ac_ext <<EOF
4301 #line 4302 "configure
"
4302 #include "confdefs.h
"
4305 mbstate_t teststate;
4308 if { (eval echo configure:4309: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4312 echo "configure
: failed program was
:" >&5
4313 cat conftest.$ac_ext >&5
4318 echo "$ac_t""$have_mbstate_t" 1>&6
4319 if test x"$have_mbstate_t" = xyes; then
4320 cat >> confdefs.h <<\EOF
4321 #define HAVE_MBSTATE_T 1
4326 for ac_hdr in wchar.h
4328 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4329 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4330 echo "configure
:4331: checking
for $ac_hdr" >&5
4331 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4332 echo $ac_n "(cached
) $ac_c" 1>&6
4334 cat > conftest.$ac_ext <<EOF
4335 #line 4336 "configure
"
4336 #include "confdefs.h
"
4339 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4340 { (eval echo configure:4341: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4341 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4342 if test -z "$ac_err"; then
4344 eval "ac_cv_header_
$ac_safe=yes"
4347 echo "configure
: failed program was
:" >&5
4348 cat conftest.$ac_ext >&5
4350 eval "ac_cv_header_
$ac_safe=no
"
4354 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4355 echo "$ac_t""yes" 1>&6
4356 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4357 cat >> confdefs.h <<EOF
4358 #define $ac_tr_hdr 1
4362 echo "$ac_t""no
" 1>&6
4367 ac_safe=`echo "wctype.h
" | sed 'y%./+-%__p_%'`
4368 echo $ac_n "checking
for wctype.h
""...
$ac_c" 1>&6
4369 echo "configure
:4370: checking
for wctype.h
" >&5
4370 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4371 echo $ac_n "(cached
) $ac_c" 1>&6
4373 cat > conftest.$ac_ext <<EOF
4374 #line 4375 "configure
"
4375 #include "confdefs.h
"
4378 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4379 { (eval echo configure:4380: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4380 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4381 if test -z "$ac_err"; then
4383 eval "ac_cv_header_
$ac_safe=yes"
4386 echo "configure
: failed program was
:" >&5
4387 cat conftest.$ac_ext >&5
4389 eval "ac_cv_header_
$ac_safe=no
"
4393 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4394 echo "$ac_t""yes" 1>&6
4397 echo "$ac_t""no
" 1>&6
4402 if test x"$ac_has_wchar_h" = xyes && test x"$ac_has_wctype_h" = xyes \
4403 && test x"$enable_c_mbchar" != xno; then
4405 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
4406 echo "configure
:4407: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
4407 cat > conftest.$ac_ext <<EOF
4408 #line 4409 "configure
"
4409 #include "confdefs.h
"
4412 int i = WCHAR_MIN; int j = WCHAR_MAX;
4415 if { (eval echo configure:4416: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4417 has_wchar_minmax=yes
4419 echo "configure
: failed program was
:" >&5
4420 cat conftest.$ac_ext >&5
4425 echo "$ac_t""$has_wchar_minmax" 1>&6
4427 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
4428 echo "configure
:4429: checking
for WEOF
" >&5
4429 cat > conftest.$ac_ext <<EOF
4430 #line 4431 "configure
"
4431 #include "confdefs.h
"
4439 if { (eval echo configure:4440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4443 echo "configure
: failed program was
:" >&5
4444 cat conftest.$ac_ext >&5
4449 echo "$ac_t""$has_weof" 1>&6
4452 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4454 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4455 echo "configure
:4456: checking
for $ac_func" >&5
4456 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4457 echo $ac_n "(cached
) $ac_c" 1>&6
4459 cat > conftest.$ac_ext <<EOF
4460 #line 4461 "configure
"
4461 #include "confdefs.h
"
4462 /* System header to define __stub macros and hopefully few prototypes,
4463 which can conflict with char $ac_func(); below. */
4465 /* Override any gcc2 internal prototype to avoid an error. */
4466 /* We use char because int might match the return type of a gcc2
4467 builtin and then its argument prototype would still apply. */
4472 /* The GNU C library defines this for functions which it implements
4473 to always fail with ENOSYS. Some functions are actually named
4474 something starting with __ and the normal name is an alias. */
4475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4483 if { (eval echo configure:4484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4485 eval "ac_cv_func_
$ac_func=yes"
4487 echo "configure
: failed program was
:" >&5
4488 cat conftest.$ac_ext >&5
4490 eval "ac_cv_func_
$ac_func=no
"
4495 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4496 echo "$ac_t""yes" 1>&6
4497 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4498 cat >> confdefs.h <<EOF
4499 #define $ac_tr_func 1
4503 echo "$ac_t""no
" 1>&6
4510 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4511 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4512 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4513 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4514 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4515 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4517 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4518 echo "configure
:4519: checking
for $ac_func" >&5
4519 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4520 echo $ac_n "(cached
) $ac_c" 1>&6
4522 cat > conftest.$ac_ext <<EOF
4523 #line 4524 "configure
"
4524 #include "confdefs.h
"
4525 /* System header to define __stub macros and hopefully few prototypes,
4526 which can conflict with char $ac_func(); below. */
4528 /* Override any gcc2 internal prototype to avoid an error. */
4529 /* We use char because int might match the return type of a gcc2
4530 builtin and then its argument prototype would still apply. */
4535 /* The GNU C library defines this for functions which it implements
4536 to always fail with ENOSYS. Some functions are actually named
4537 something starting with __ and the normal name is an alias. */
4538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4546 if { (eval echo configure:4547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4548 eval "ac_cv_func_
$ac_func=yes"
4550 echo "configure
: failed program was
:" >&5
4551 cat conftest.$ac_ext >&5
4553 eval "ac_cv_func_
$ac_func=no
"
4558 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4559 echo "$ac_t""yes" 1>&6
4560 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4561 cat >> confdefs.h <<EOF
4562 #define $ac_tr_func 1
4566 echo "$ac_t""no
" 1>&6
4573 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
4574 echo "configure
:4575: checking
for ISO C99 wchar_t support
" >&5
4575 if test x"$has_weof" = xyes && test x"$has_wchar_minmax" = xyes \
4576 && test x"$ac_wfuncs" = xyes; then
4577 ac_isoC99_wchar_t=yes
4579 ac_isoC99_wchar_t=no
4581 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4583 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
4584 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
4585 echo "configure
:4586: checking
for iconv.h
" >&5
4586 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4587 echo $ac_n "(cached
) $ac_c" 1>&6
4589 cat > conftest.$ac_ext <<EOF
4590 #line 4591 "configure
"
4591 #include "confdefs.h
"
4594 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4595 { (eval echo configure:4596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4596 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4597 if test -z "$ac_err"; then
4599 eval "ac_cv_header_
$ac_safe=yes"
4602 echo "configure
: failed program was
:" >&5
4603 cat conftest.$ac_ext >&5
4605 eval "ac_cv_header_
$ac_safe=no
"
4609 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4610 echo "$ac_t""yes" 1>&6
4613 echo "$ac_t""no
" 1>&6
4617 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
4618 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
4619 echo "configure
:4620: checking
for langinfo.h
" >&5
4620 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4621 echo $ac_n "(cached
) $ac_c" 1>&6
4623 cat > conftest.$ac_ext <<EOF
4624 #line 4625 "configure
"
4625 #include "confdefs.h
"
4626 #include <langinfo.h>
4628 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4629 { (eval echo configure:4630: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4630 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4631 if test -z "$ac_err"; then
4633 eval "ac_cv_header_
$ac_safe=yes"
4636 echo "configure
: failed program was
:" >&5
4637 cat conftest.$ac_ext >&5
4639 eval "ac_cv_header_
$ac_safe=no
"
4643 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4644 echo "$ac_t""yes" 1>&6
4645 ac_has_langinfo_h=yes
4647 echo "$ac_t""no
" 1>&6
4648 ac_has_langinfo_h=no
4652 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
4653 echo "configure
:4654: checking
for iconv in -liconv" >&5
4654 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4655 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4656 echo $ac_n "(cached
) $ac_c" 1>&6
4658 ac_save_LIBS="$LIBS"
4659 LIBS="-liconv $LIBS"
4660 cat > conftest.$ac_ext <<EOF
4661 #line 4662 "configure
"
4662 #include "confdefs.h
"
4663 /* Override any gcc2 internal prototype to avoid an error. */
4664 /* We use char because int might match the return type of a gcc2
4665 builtin and then its argument prototype would still apply. */
4672 if { (eval echo configure:4673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4674 eval "ac_cv_lib_
$ac_lib_var=yes"
4676 echo "configure
: failed program was
:" >&5
4677 cat conftest.$ac_ext >&5
4679 eval "ac_cv_lib_
$ac_lib_var=no
"
4682 LIBS="$ac_save_LIBS"
4685 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4686 echo "$ac_t""yes" 1>&6
4689 echo "$ac_t""no
" 1>&6
4692 ac_save_LIBS="$LIBS"
4693 LIBS="$LIBS $libiconv"
4695 for ac_func in iconv_open iconv_close iconv nl_langinfo
4697 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4698 echo "configure
:4699: checking
for $ac_func" >&5
4699 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4700 echo $ac_n "(cached
) $ac_c" 1>&6
4702 cat > conftest.$ac_ext <<EOF
4703 #line 4704 "configure
"
4704 #include "confdefs.h
"
4705 /* System header to define __stub macros and hopefully few prototypes,
4706 which can conflict with char $ac_func(); below. */
4708 /* Override any gcc2 internal prototype to avoid an error. */
4709 /* We use char because int might match the return type of a gcc2
4710 builtin and then its argument prototype would still apply. */
4715 /* The GNU C library defines this for functions which it implements
4716 to always fail with ENOSYS. Some functions are actually named
4717 something starting with __ and the normal name is an alias. */
4718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4726 if { (eval echo configure:4727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4728 eval "ac_cv_func_
$ac_func=yes"
4730 echo "configure
: failed program was
:" >&5
4731 cat conftest.$ac_ext >&5
4733 eval "ac_cv_func_
$ac_func=no
"
4738 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4739 echo "$ac_t""yes" 1>&6
4740 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4741 cat >> confdefs.h <<EOF
4742 #define $ac_tr_func 1
4747 echo "$ac_t""no
" 1>&6
4753 LIBS="$ac_save_LIBS"
4755 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
4756 echo "configure
:4757: checking
for XPG2 wchar_t support
" >&5
4757 if test x"$ac_has_iconv_h" = xyes && test x"$ac_has_langinfo_h" = xyes \
4758 && test x"$ac_XPG2funcs" = xyes; then
4763 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
4765 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
4766 echo "configure
:4767: checking
for enabled wchar_t specializations
" >&5
4767 if test x"$ac_isoC99_wchar_t" = xyes \
4768 && test x"$ac_XPG2_wchar_t" = xyes; then
4769 cat >> confdefs.h <<\EOF
4770 #define _GLIBCPP_USE_WCHAR_T 1
4773 echo "$ac_t"""yes"" 1>&6
4775 echo "$ac_t"""no"" 1>&6
4778 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
4781 os_include_dir="config
/os
/gnu-linux
"
4782 # GLIBCPP_CHECK_STDLIB_SUPPORT
4783 cat >> confdefs.h <<\EOF
4784 #define HAVE_STRTOF 1
4787 cat >> confdefs.h <<\EOF
4788 #define HAVE_STRTOLD 1
4792 cat >> confdefs.h <<\EOF
4798 # We assume newlib. This lets us hard-code the functions we know
4800 cat >> confdefs.h <<\EOF
4801 #define HAVE_FINITE 1
4804 cat >> confdefs.h <<\EOF
4805 #define HAVE_ISNAN 1
4808 cat >> confdefs.h <<\EOF
4809 #define HAVE_ISNANF 1
4812 cat >> confdefs.h <<\EOF
4813 #define HAVE_ISINF 1
4816 cat >> confdefs.h <<\EOF
4817 #define HAVE_ISINFF 1
4821 os_include_dir="config
/os
/newlib
"
4823 # need to check for faster f versions of math functions, ie sinf?
4828 # We are being configured natively. We can do more elaborate tests
4829 # that include AC_TRY_COMPILE now, as the linker is assumed to be
4831 GLIBCPP_IS_CROSS_COMPILING=0
4834 # Check for available headers.
4835 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
4836 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h
4838 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4839 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4840 echo "configure
:4841: checking
for $ac_hdr" >&5
4841 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4842 echo $ac_n "(cached
) $ac_c" 1>&6
4844 cat > conftest.$ac_ext <<EOF
4845 #line 4846 "configure
"
4846 #include "confdefs.h
"
4849 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4850 { (eval echo configure:4851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4851 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4852 if test -z "$ac_err"; then
4854 eval "ac_cv_header_
$ac_safe=yes"
4857 echo "configure
: failed program was
:" >&5
4858 cat conftest.$ac_ext >&5
4860 eval "ac_cv_header_
$ac_safe=no
"
4864 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4865 echo "$ac_t""yes" 1>&6
4866 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4867 cat >> confdefs.h <<EOF
4868 #define $ac_tr_hdr 1
4872 echo "$ac_t""no
" 1>&6
4878 # All these tests are for C++; save the language and the compiler flags.
4879 # The CXXFLAGS thing is suspicious, but based on similar bits previously
4880 # found in GLIBCPP_CONFIGURE.
4883 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4884 ac_cpp='$CXXCPP $CPPFLAGS'
4885 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4886 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4887 cross_compiling=$ac_cv_prog_cxx_cross
4889 ac_test_CXXFLAGS="${CXXFLAGS+set}"
4890 ac_save_CXXFLAGS="$CXXFLAGS"
4892 # Check for maintainer-mode bits.
4893 if test x"$USE_MAINTAINER_MODE" = xno; then
4899 # Check for -ffunction-sections -fdata-sections
4900 echo $ac_n "checking
for g
++ that supports
-ffunction-sections -fdata-sections""...
$ac_c" 1>&6
4901 echo "configure
:4902: checking
for g
++ that supports
-ffunction-sections -fdata-sections" >&5
4902 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
4903 cat > conftest.$ac_ext <<EOF
4904 #line 4905 "configure
"
4905 #include "confdefs.h
"
4912 if { (eval echo configure:4913: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4916 echo "configure
: failed program was
:" >&5
4917 cat conftest.$ac_ext >&5
4922 if test "$ac_test_CXXFLAGS" = set; then
4923 CXXFLAGS="$ac_save_CXXFLAGS"
4925 # this is the suspicious part
4928 if test x"$ac_fdsections" = x"yes" && test x"$enable_debug" = x"no
"; then
4929 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4931 echo "$ac_t""$ac_fdsections" 1>&6
4934 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4935 ac_cpp='$CPP $CPPFLAGS'
4936 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4937 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4938 cross_compiling=$ac_cv_prog_cc_cross
4944 # If we're not using GNU ld, then there's no point in even trying these
4945 # tests. Check for that first. We should have already tested for gld
4946 # by now (in libtool), but require it now just to be safe...
4951 # Set --gc-sections.
4952 if test "$ac_cv_prog_gnu_ld" = "notbroken
"; then
4953 # GNU ld it is! Joy and bunny rabbits!
4955 # All these tests are for C++; save the language and the compiler flags.
4956 # Need to do this so that g++ won't try to link in libstdc++
4957 ac_test_CFLAGS="${CFLAGS+set}"
4958 ac_save_CFLAGS="$CFLAGS"
4959 CFLAGS='-x c++ -Wl,--gc-sections'
4961 # Check for -Wl,--gc-sections
4962 # XXX This test is broken at the moment, as symbols required for
4963 # linking are now in libsupc++ (not built yet.....). In addition,
4964 # this test has cored on solaris in the past. In addition,
4965 # --gc-sections doesn't really work at the moment (keeps on discarding
4966 # used sections, first .eh_frame and now some of the glibc sections for
4967 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4968 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
4969 echo "configure
:4970: checking
for ld that supports
-Wl,--gc-sections" >&5
4970 if test "$cross_compiling" = yes; then
4971 ac_sectionLDflags=yes
4973 cat > conftest.$ac_ext <<EOF
4974 #line 4975 "configure
"
4975 #include "confdefs.h
"
4985 if { (eval echo configure:4986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4987 ac_sectionLDflags=yes
4989 echo "configure
: failed program was
:" >&5
4990 cat conftest.$ac_ext >&5
4992 ac_sectionLFflags=no
4997 if test "$ac_test_CFLAGS" = set; then
4998 CFLAGS="$ac_save_CFLAGS"
5000 # this is the suspicious part
5003 if test "$ac_sectionLDflags" = "yes"; then
5004 SECTION_LDFLAGS='-Wl,--gc-sections'
5006 echo "$ac_t""$ac_sectionLDflags" 1>&6
5009 # Set linker optimization flags.
5010 if test x"$ac_cv_prog_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
5011 OPT_LDFLAGS='-Wl,-O1'
5019 echo $ac_n "checking
for __builtin_abs declaration
""...
$ac_c" 1>&6
5020 echo "configure
:5021: checking
for __builtin_abs declaration
" >&5
5021 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
5022 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
5023 echo $ac_n "(cached
) $ac_c" 1>&6
5028 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5029 ac_cpp='$CXXCPP $CPPFLAGS'
5030 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5031 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5032 cross_compiling=$ac_cv_prog_cxx_cross
5034 cat > conftest.$ac_ext <<EOF
5035 #line 5036 "configure
"
5036 #include "confdefs.h
"
5042 if { (eval echo configure:5043: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5044 glibcpp_cv_func___builtin_abs_use=yes
5046 echo "configure
: failed program was
:" >&5
5047 cat conftest.$ac_ext >&5
5049 glibcpp_cv_func___builtin_abs_use=no
5053 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5054 ac_cpp='$CPP $CPPFLAGS'
5055 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5056 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5057 cross_compiling=$ac_cv_prog_cc_cross
5063 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
5064 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
5065 echo $ac_n "checking
for __builtin_abs linkage
""...
$ac_c" 1>&6
5066 echo "configure
:5067: checking
for __builtin_abs linkage
" >&5
5067 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
5068 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
5069 echo $ac_n "(cached
) $ac_c" 1>&6
5072 cat > conftest.$ac_ext <<EOF
5073 #line 5074 "configure
"
5074 #include "confdefs.h
"
5080 if { (eval echo configure:5081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5082 glibcpp_cv_func___builtin_abs_link=yes
5084 echo "configure
: failed program was
:" >&5
5085 cat conftest.$ac_ext >&5
5087 glibcpp_cv_func___builtin_abs_link=no
5094 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
5095 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
5096 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5097 cat >> confdefs.h <<EOF
5098 #define ${ac_tr_func} 1
5105 echo $ac_n "checking
for __builtin_fabsf declaration
""...
$ac_c" 1>&6
5106 echo "configure
:5107: checking
for __builtin_fabsf declaration
" >&5
5107 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
5108 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
5109 echo $ac_n "(cached
) $ac_c" 1>&6
5114 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5115 ac_cpp='$CXXCPP $CPPFLAGS'
5116 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5117 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5118 cross_compiling=$ac_cv_prog_cxx_cross
5120 cat > conftest.$ac_ext <<EOF
5121 #line 5122 "configure
"
5122 #include "confdefs.h
"
5128 if { (eval echo configure:5129: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5130 glibcpp_cv_func___builtin_fabsf_use=yes
5132 echo "configure
: failed program was
:" >&5
5133 cat conftest.$ac_ext >&5
5135 glibcpp_cv_func___builtin_fabsf_use=no
5139 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5140 ac_cpp='$CPP $CPPFLAGS'
5141 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5142 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5143 cross_compiling=$ac_cv_prog_cc_cross
5149 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
5150 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
5151 echo $ac_n "checking
for __builtin_fabsf linkage
""...
$ac_c" 1>&6
5152 echo "configure
:5153: checking
for __builtin_fabsf linkage
" >&5
5153 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
5154 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
5155 echo $ac_n "(cached
) $ac_c" 1>&6
5158 cat > conftest.$ac_ext <<EOF
5159 #line 5160 "configure
"
5160 #include "confdefs.h
"
5166 if { (eval echo configure:5167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5168 glibcpp_cv_func___builtin_fabsf_link=yes
5170 echo "configure
: failed program was
:" >&5
5171 cat conftest.$ac_ext >&5
5173 glibcpp_cv_func___builtin_fabsf_link=no
5180 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
5181 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
5182 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5183 cat >> confdefs.h <<EOF
5184 #define ${ac_tr_func} 1
5191 echo $ac_n "checking
for __builtin_fabs declaration
""...
$ac_c" 1>&6
5192 echo "configure
:5193: checking
for __builtin_fabs declaration
" >&5
5193 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
5194 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
5195 echo $ac_n "(cached
) $ac_c" 1>&6
5200 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5201 ac_cpp='$CXXCPP $CPPFLAGS'
5202 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5203 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5204 cross_compiling=$ac_cv_prog_cxx_cross
5206 cat > conftest.$ac_ext <<EOF
5207 #line 5208 "configure
"
5208 #include "confdefs.h
"
5214 if { (eval echo configure:5215: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5216 glibcpp_cv_func___builtin_fabs_use=yes
5218 echo "configure
: failed program was
:" >&5
5219 cat conftest.$ac_ext >&5
5221 glibcpp_cv_func___builtin_fabs_use=no
5225 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5226 ac_cpp='$CPP $CPPFLAGS'
5227 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5228 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5229 cross_compiling=$ac_cv_prog_cc_cross
5235 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
5236 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
5237 echo $ac_n "checking
for __builtin_fabs linkage
""...
$ac_c" 1>&6
5238 echo "configure
:5239: checking
for __builtin_fabs linkage
" >&5
5239 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
5240 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
5241 echo $ac_n "(cached
) $ac_c" 1>&6
5244 cat > conftest.$ac_ext <<EOF
5245 #line 5246 "configure
"
5246 #include "confdefs.h
"
5252 if { (eval echo configure:5253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5254 glibcpp_cv_func___builtin_fabs_link=yes
5256 echo "configure
: failed program was
:" >&5
5257 cat conftest.$ac_ext >&5
5259 glibcpp_cv_func___builtin_fabs_link=no
5266 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
5267 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
5268 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5269 cat >> confdefs.h <<EOF
5270 #define ${ac_tr_func} 1
5277 echo $ac_n "checking
for __builtin_fabsl declaration
""...
$ac_c" 1>&6
5278 echo "configure
:5279: checking
for __builtin_fabsl declaration
" >&5
5279 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
5280 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
5281 echo $ac_n "(cached
) $ac_c" 1>&6
5286 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5287 ac_cpp='$CXXCPP $CPPFLAGS'
5288 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5289 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5290 cross_compiling=$ac_cv_prog_cxx_cross
5292 cat > conftest.$ac_ext <<EOF
5293 #line 5294 "configure
"
5294 #include "confdefs.h
"
5300 if { (eval echo configure:5301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5302 glibcpp_cv_func___builtin_fabsl_use=yes
5304 echo "configure
: failed program was
:" >&5
5305 cat conftest.$ac_ext >&5
5307 glibcpp_cv_func___builtin_fabsl_use=no
5311 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5312 ac_cpp='$CPP $CPPFLAGS'
5313 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5314 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5315 cross_compiling=$ac_cv_prog_cc_cross
5321 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
5322 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
5323 echo $ac_n "checking
for __builtin_fabsl linkage
""...
$ac_c" 1>&6
5324 echo "configure
:5325: checking
for __builtin_fabsl linkage
" >&5
5325 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
5326 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
5327 echo $ac_n "(cached
) $ac_c" 1>&6
5330 cat > conftest.$ac_ext <<EOF
5331 #line 5332 "configure
"
5332 #include "confdefs.h
"
5338 if { (eval echo configure:5339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5340 glibcpp_cv_func___builtin_fabsl_link=yes
5342 echo "configure
: failed program was
:" >&5
5343 cat conftest.$ac_ext >&5
5345 glibcpp_cv_func___builtin_fabsl_link=no
5352 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
5353 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
5354 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5355 cat >> confdefs.h <<EOF
5356 #define ${ac_tr_func} 1
5363 echo $ac_n "checking
for __builtin_labs declaration
""...
$ac_c" 1>&6
5364 echo "configure
:5365: checking
for __builtin_labs declaration
" >&5
5365 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
5366 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
5367 echo $ac_n "(cached
) $ac_c" 1>&6
5372 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5373 ac_cpp='$CXXCPP $CPPFLAGS'
5374 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5375 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5376 cross_compiling=$ac_cv_prog_cxx_cross
5378 cat > conftest.$ac_ext <<EOF
5379 #line 5380 "configure
"
5380 #include "confdefs.h
"
5386 if { (eval echo configure:5387: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5388 glibcpp_cv_func___builtin_labs_use=yes
5390 echo "configure
: failed program was
:" >&5
5391 cat conftest.$ac_ext >&5
5393 glibcpp_cv_func___builtin_labs_use=no
5397 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5398 ac_cpp='$CPP $CPPFLAGS'
5399 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5400 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5401 cross_compiling=$ac_cv_prog_cc_cross
5407 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
5408 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
5409 echo $ac_n "checking
for __builtin_labs linkage
""...
$ac_c" 1>&6
5410 echo "configure
:5411: checking
for __builtin_labs linkage
" >&5
5411 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
5412 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
5413 echo $ac_n "(cached
) $ac_c" 1>&6
5416 cat > conftest.$ac_ext <<EOF
5417 #line 5418 "configure
"
5418 #include "confdefs.h
"
5424 if { (eval echo configure:5425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5426 glibcpp_cv_func___builtin_labs_link=yes
5428 echo "configure
: failed program was
:" >&5
5429 cat conftest.$ac_ext >&5
5431 glibcpp_cv_func___builtin_labs_link=no
5438 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
5439 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
5440 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5441 cat >> confdefs.h <<EOF
5442 #define ${ac_tr_func} 1
5450 echo $ac_n "checking
for __builtin_sqrtf declaration
""...
$ac_c" 1>&6
5451 echo "configure
:5452: checking
for __builtin_sqrtf declaration
" >&5
5452 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
5453 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
5454 echo $ac_n "(cached
) $ac_c" 1>&6
5459 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5460 ac_cpp='$CXXCPP $CPPFLAGS'
5461 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5462 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5463 cross_compiling=$ac_cv_prog_cxx_cross
5465 cat > conftest.$ac_ext <<EOF
5466 #line 5467 "configure
"
5467 #include "confdefs.h
"
5473 if { (eval echo configure:5474: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5475 glibcpp_cv_func___builtin_sqrtf_use=yes
5477 echo "configure
: failed program was
:" >&5
5478 cat conftest.$ac_ext >&5
5480 glibcpp_cv_func___builtin_sqrtf_use=no
5484 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5485 ac_cpp='$CPP $CPPFLAGS'
5486 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5487 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5488 cross_compiling=$ac_cv_prog_cc_cross
5494 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
5495 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
5496 echo $ac_n "checking
for __builtin_sqrtf linkage
""...
$ac_c" 1>&6
5497 echo "configure
:5498: checking
for __builtin_sqrtf linkage
" >&5
5498 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
5499 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
5500 echo $ac_n "(cached
) $ac_c" 1>&6
5503 cat > conftest.$ac_ext <<EOF
5504 #line 5505 "configure
"
5505 #include "confdefs.h
"
5511 if { (eval echo configure:5512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5513 glibcpp_cv_func___builtin_sqrtf_link=yes
5515 echo "configure
: failed program was
:" >&5
5516 cat conftest.$ac_ext >&5
5518 glibcpp_cv_func___builtin_sqrtf_link=no
5525 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
5526 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
5527 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5528 cat >> confdefs.h <<EOF
5529 #define ${ac_tr_func} 1
5536 echo $ac_n "checking
for __builtin_fsqrt declaration
""...
$ac_c" 1>&6
5537 echo "configure
:5538: checking
for __builtin_fsqrt declaration
" >&5
5538 if test x${glibcpp_cv_func___builtin_fsqrt_use+set} != xset; then
5539 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_use'+set}'`\" = set"; then
5540 echo $ac_n "(cached
) $ac_c" 1>&6
5545 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5546 ac_cpp='$CXXCPP $CPPFLAGS'
5547 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5548 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5549 cross_compiling=$ac_cv_prog_cxx_cross
5551 cat > conftest.$ac_ext <<EOF
5552 #line 5553 "configure
"
5553 #include "confdefs.h
"
5559 if { (eval echo configure:5560: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5561 glibcpp_cv_func___builtin_fsqrt_use=yes
5563 echo "configure
: failed program was
:" >&5
5564 cat conftest.$ac_ext >&5
5566 glibcpp_cv_func___builtin_fsqrt_use=no
5570 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5571 ac_cpp='$CPP $CPPFLAGS'
5572 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5573 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5574 cross_compiling=$ac_cv_prog_cc_cross
5580 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_use" 1>&6
5581 if test x$glibcpp_cv_func___builtin_fsqrt_use = x"yes"; then
5582 echo $ac_n "checking
for __builtin_fsqrt linkage
""...
$ac_c" 1>&6
5583 echo "configure
:5584: checking
for __builtin_fsqrt linkage
" >&5
5584 if test x${glibcpp_cv_func___builtin_fsqrt_link+set} != xset; then
5585 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_link'+set}'`\" = set"; then
5586 echo $ac_n "(cached
) $ac_c" 1>&6
5589 cat > conftest.$ac_ext <<EOF
5590 #line 5591 "configure
"
5591 #include "confdefs.h
"
5597 if { (eval echo configure:5598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5599 glibcpp_cv_func___builtin_fsqrt_link=yes
5601 echo "configure
: failed program was
:" >&5
5602 cat conftest.$ac_ext >&5
5604 glibcpp_cv_func___builtin_fsqrt_link=no
5611 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_link" 1>&6
5612 if test x$glibcpp_cv_func___builtin_fsqrt_link = x"yes"; then
5613 ac_tr_func=HAVE_`echo __builtin_fsqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5614 cat >> confdefs.h <<EOF
5615 #define ${ac_tr_func} 1
5622 echo $ac_n "checking
for __builtin_sqrtl declaration
""...
$ac_c" 1>&6
5623 echo "configure
:5624: checking
for __builtin_sqrtl declaration
" >&5
5624 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
5625 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
5626 echo $ac_n "(cached
) $ac_c" 1>&6
5631 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5632 ac_cpp='$CXXCPP $CPPFLAGS'
5633 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5634 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5635 cross_compiling=$ac_cv_prog_cxx_cross
5637 cat > conftest.$ac_ext <<EOF
5638 #line 5639 "configure
"
5639 #include "confdefs.h
"
5645 if { (eval echo configure:5646: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5647 glibcpp_cv_func___builtin_sqrtl_use=yes
5649 echo "configure
: failed program was
:" >&5
5650 cat conftest.$ac_ext >&5
5652 glibcpp_cv_func___builtin_sqrtl_use=no
5656 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5657 ac_cpp='$CPP $CPPFLAGS'
5658 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5659 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5660 cross_compiling=$ac_cv_prog_cc_cross
5666 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
5667 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
5668 echo $ac_n "checking
for __builtin_sqrtl linkage
""...
$ac_c" 1>&6
5669 echo "configure
:5670: checking
for __builtin_sqrtl linkage
" >&5
5670 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
5671 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
5672 echo $ac_n "(cached
) $ac_c" 1>&6
5675 cat > conftest.$ac_ext <<EOF
5676 #line 5677 "configure
"
5677 #include "confdefs.h
"
5683 if { (eval echo configure:5684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5685 glibcpp_cv_func___builtin_sqrtl_link=yes
5687 echo "configure
: failed program was
:" >&5
5688 cat conftest.$ac_ext >&5
5690 glibcpp_cv_func___builtin_sqrtl_link=no
5697 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
5698 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
5699 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5700 cat >> confdefs.h <<EOF
5701 #define ${ac_tr_func} 1
5709 echo $ac_n "checking
for __builtin_sinf declaration
""...
$ac_c" 1>&6
5710 echo "configure
:5711: checking
for __builtin_sinf declaration
" >&5
5711 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
5712 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
5713 echo $ac_n "(cached
) $ac_c" 1>&6
5718 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5719 ac_cpp='$CXXCPP $CPPFLAGS'
5720 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5721 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5722 cross_compiling=$ac_cv_prog_cxx_cross
5724 cat > conftest.$ac_ext <<EOF
5725 #line 5726 "configure
"
5726 #include "confdefs.h
"
5732 if { (eval echo configure:5733: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5734 glibcpp_cv_func___builtin_sinf_use=yes
5736 echo "configure
: failed program was
:" >&5
5737 cat conftest.$ac_ext >&5
5739 glibcpp_cv_func___builtin_sinf_use=no
5743 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5744 ac_cpp='$CPP $CPPFLAGS'
5745 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5746 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5747 cross_compiling=$ac_cv_prog_cc_cross
5753 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
5754 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
5755 echo $ac_n "checking
for __builtin_sinf linkage
""...
$ac_c" 1>&6
5756 echo "configure
:5757: checking
for __builtin_sinf linkage
" >&5
5757 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
5758 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
5759 echo $ac_n "(cached
) $ac_c" 1>&6
5762 cat > conftest.$ac_ext <<EOF
5763 #line 5764 "configure
"
5764 #include "confdefs.h
"
5770 if { (eval echo configure:5771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5772 glibcpp_cv_func___builtin_sinf_link=yes
5774 echo "configure
: failed program was
:" >&5
5775 cat conftest.$ac_ext >&5
5777 glibcpp_cv_func___builtin_sinf_link=no
5784 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
5785 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
5786 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5787 cat >> confdefs.h <<EOF
5788 #define ${ac_tr_func} 1
5795 echo $ac_n "checking
for __builtin_sin declaration
""...
$ac_c" 1>&6
5796 echo "configure
:5797: checking
for __builtin_sin declaration
" >&5
5797 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
5798 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
5799 echo $ac_n "(cached
) $ac_c" 1>&6
5804 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5805 ac_cpp='$CXXCPP $CPPFLAGS'
5806 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5807 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5808 cross_compiling=$ac_cv_prog_cxx_cross
5810 cat > conftest.$ac_ext <<EOF
5811 #line 5812 "configure
"
5812 #include "confdefs.h
"
5818 if { (eval echo configure:5819: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5820 glibcpp_cv_func___builtin_sin_use=yes
5822 echo "configure
: failed program was
:" >&5
5823 cat conftest.$ac_ext >&5
5825 glibcpp_cv_func___builtin_sin_use=no
5829 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5830 ac_cpp='$CPP $CPPFLAGS'
5831 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5832 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5833 cross_compiling=$ac_cv_prog_cc_cross
5839 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
5840 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
5841 echo $ac_n "checking
for __builtin_sin linkage
""...
$ac_c" 1>&6
5842 echo "configure
:5843: checking
for __builtin_sin linkage
" >&5
5843 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
5844 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
5845 echo $ac_n "(cached
) $ac_c" 1>&6
5848 cat > conftest.$ac_ext <<EOF
5849 #line 5850 "configure
"
5850 #include "confdefs.h
"
5856 if { (eval echo configure:5857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5858 glibcpp_cv_func___builtin_sin_link=yes
5860 echo "configure
: failed program was
:" >&5
5861 cat conftest.$ac_ext >&5
5863 glibcpp_cv_func___builtin_sin_link=no
5870 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
5871 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
5872 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5873 cat >> confdefs.h <<EOF
5874 #define ${ac_tr_func} 1
5881 echo $ac_n "checking
for __builtin_sinl declaration
""...
$ac_c" 1>&6
5882 echo "configure
:5883: checking
for __builtin_sinl declaration
" >&5
5883 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
5884 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
5885 echo $ac_n "(cached
) $ac_c" 1>&6
5890 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5891 ac_cpp='$CXXCPP $CPPFLAGS'
5892 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5893 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5894 cross_compiling=$ac_cv_prog_cxx_cross
5896 cat > conftest.$ac_ext <<EOF
5897 #line 5898 "configure
"
5898 #include "confdefs.h
"
5904 if { (eval echo configure:5905: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5906 glibcpp_cv_func___builtin_sinl_use=yes
5908 echo "configure
: failed program was
:" >&5
5909 cat conftest.$ac_ext >&5
5911 glibcpp_cv_func___builtin_sinl_use=no
5915 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5916 ac_cpp='$CPP $CPPFLAGS'
5917 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5918 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5919 cross_compiling=$ac_cv_prog_cc_cross
5925 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
5926 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
5927 echo $ac_n "checking
for __builtin_sinl linkage
""...
$ac_c" 1>&6
5928 echo "configure
:5929: checking
for __builtin_sinl linkage
" >&5
5929 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
5930 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
5931 echo $ac_n "(cached
) $ac_c" 1>&6
5934 cat > conftest.$ac_ext <<EOF
5935 #line 5936 "configure
"
5936 #include "confdefs.h
"
5942 if { (eval echo configure:5943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5944 glibcpp_cv_func___builtin_sinl_link=yes
5946 echo "configure
: failed program was
:" >&5
5947 cat conftest.$ac_ext >&5
5949 glibcpp_cv_func___builtin_sinl_link=no
5956 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
5957 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
5958 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5959 cat >> confdefs.h <<EOF
5960 #define ${ac_tr_func} 1
5968 echo $ac_n "checking
for __builtin_cosf declaration
""...
$ac_c" 1>&6
5969 echo "configure
:5970: checking
for __builtin_cosf declaration
" >&5
5970 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
5971 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
5972 echo $ac_n "(cached
) $ac_c" 1>&6
5977 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5978 ac_cpp='$CXXCPP $CPPFLAGS'
5979 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5980 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5981 cross_compiling=$ac_cv_prog_cxx_cross
5983 cat > conftest.$ac_ext <<EOF
5984 #line 5985 "configure
"
5985 #include "confdefs.h
"
5991 if { (eval echo configure:5992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5993 glibcpp_cv_func___builtin_cosf_use=yes
5995 echo "configure
: failed program was
:" >&5
5996 cat conftest.$ac_ext >&5
5998 glibcpp_cv_func___builtin_cosf_use=no
6002 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6003 ac_cpp='$CPP $CPPFLAGS'
6004 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6005 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6006 cross_compiling=$ac_cv_prog_cc_cross
6012 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
6013 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
6014 echo $ac_n "checking
for __builtin_cosf linkage
""...
$ac_c" 1>&6
6015 echo "configure
:6016: checking
for __builtin_cosf linkage
" >&5
6016 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
6017 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
6018 echo $ac_n "(cached
) $ac_c" 1>&6
6021 cat > conftest.$ac_ext <<EOF
6022 #line 6023 "configure
"
6023 #include "confdefs.h
"
6029 if { (eval echo configure:6030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6031 glibcpp_cv_func___builtin_cosf_link=yes
6033 echo "configure
: failed program was
:" >&5
6034 cat conftest.$ac_ext >&5
6036 glibcpp_cv_func___builtin_cosf_link=no
6043 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
6044 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
6045 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6046 cat >> confdefs.h <<EOF
6047 #define ${ac_tr_func} 1
6054 echo $ac_n "checking
for __builtin_cos declaration
""...
$ac_c" 1>&6
6055 echo "configure
:6056: checking
for __builtin_cos declaration
" >&5
6056 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
6057 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
6058 echo $ac_n "(cached
) $ac_c" 1>&6
6063 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6064 ac_cpp='$CXXCPP $CPPFLAGS'
6065 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6066 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6067 cross_compiling=$ac_cv_prog_cxx_cross
6069 cat > conftest.$ac_ext <<EOF
6070 #line 6071 "configure
"
6071 #include "confdefs.h
"
6077 if { (eval echo configure:6078: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6079 glibcpp_cv_func___builtin_cos_use=yes
6081 echo "configure
: failed program was
:" >&5
6082 cat conftest.$ac_ext >&5
6084 glibcpp_cv_func___builtin_cos_use=no
6088 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6089 ac_cpp='$CPP $CPPFLAGS'
6090 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6091 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6092 cross_compiling=$ac_cv_prog_cc_cross
6098 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
6099 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
6100 echo $ac_n "checking
for __builtin_cos linkage
""...
$ac_c" 1>&6
6101 echo "configure
:6102: checking
for __builtin_cos linkage
" >&5
6102 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
6103 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
6104 echo $ac_n "(cached
) $ac_c" 1>&6
6107 cat > conftest.$ac_ext <<EOF
6108 #line 6109 "configure
"
6109 #include "confdefs.h
"
6115 if { (eval echo configure:6116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6117 glibcpp_cv_func___builtin_cos_link=yes
6119 echo "configure
: failed program was
:" >&5
6120 cat conftest.$ac_ext >&5
6122 glibcpp_cv_func___builtin_cos_link=no
6129 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
6130 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
6131 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6132 cat >> confdefs.h <<EOF
6133 #define ${ac_tr_func} 1
6140 echo $ac_n "checking
for __builtin_cosl declaration
""...
$ac_c" 1>&6
6141 echo "configure
:6142: checking
for __builtin_cosl declaration
" >&5
6142 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
6143 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
6144 echo $ac_n "(cached
) $ac_c" 1>&6
6149 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6150 ac_cpp='$CXXCPP $CPPFLAGS'
6151 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6152 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6153 cross_compiling=$ac_cv_prog_cxx_cross
6155 cat > conftest.$ac_ext <<EOF
6156 #line 6157 "configure
"
6157 #include "confdefs.h
"
6163 if { (eval echo configure:6164: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6165 glibcpp_cv_func___builtin_cosl_use=yes
6167 echo "configure
: failed program was
:" >&5
6168 cat conftest.$ac_ext >&5
6170 glibcpp_cv_func___builtin_cosl_use=no
6174 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6175 ac_cpp='$CPP $CPPFLAGS'
6176 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6177 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6178 cross_compiling=$ac_cv_prog_cc_cross
6184 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
6185 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
6186 echo $ac_n "checking
for __builtin_cosl linkage
""...
$ac_c" 1>&6
6187 echo "configure
:6188: checking
for __builtin_cosl linkage
" >&5
6188 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
6189 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
6190 echo $ac_n "(cached
) $ac_c" 1>&6
6193 cat > conftest.$ac_ext <<EOF
6194 #line 6195 "configure
"
6195 #include "confdefs.h
"
6201 if { (eval echo configure:6202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6203 glibcpp_cv_func___builtin_cosl_link=yes
6205 echo "configure
: failed program was
:" >&5
6206 cat conftest.$ac_ext >&5
6208 glibcpp_cv_func___builtin_cosl_link=no
6215 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
6216 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
6217 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6218 cat >> confdefs.h <<EOF
6219 #define ${ac_tr_func} 1
6227 if test x$dummyvar = x"yes"; then
6228 cat >> confdefs.h <<\EOF
6229 #define HAVE___BUILTIN_ABS 1
6232 cat >> confdefs.h <<\EOF
6233 #define HAVE___BUILTIN_LABS 1
6236 cat >> confdefs.h <<\EOF
6237 #define HAVE___BUILTIN_COS 1
6240 cat >> confdefs.h <<\EOF
6241 #define HAVE___BUILTIN_COSF 1
6244 cat >> confdefs.h <<\EOF
6245 #define HAVE___BUILTIN_COSL 1
6248 cat >> confdefs.h <<\EOF
6249 #define HAVE___BUILTIN_FABS 1
6252 cat >> confdefs.h <<\EOF
6253 #define HAVE___BUILTIN_FABSF 1
6256 cat >> confdefs.h <<\EOF
6257 #define HAVE___BUILTIN_FABSL 1
6260 cat >> confdefs.h <<\EOF
6261 #define HAVE___BUILTIN_SIN 1
6264 cat >> confdefs.h <<\EOF
6265 #define HAVE___BUILTIN_SINF 1
6268 cat >> confdefs.h <<\EOF
6269 #define HAVE___BUILTIN_SINL 1
6272 cat >> confdefs.h <<\EOF
6273 #define HAVE___BUILTIN_FSQRT 1
6276 cat >> confdefs.h <<\EOF
6277 #define HAVE___BUILTIN_SQRTF 1
6280 cat >> confdefs.h <<\EOF
6281 #define HAVE___BUILTIN_SQRTL 1
6287 ac_test_CXXFLAGS="${CXXFLAGS+set}"
6288 ac_save_CXXFLAGS="$CXXFLAGS"
6289 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
6291 echo $ac_n "checking
for sin
in -lm""...
$ac_c" 1>&6
6292 echo "configure
:6293: checking
for sin
in -lm" >&5
6293 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
6294 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6295 echo $ac_n "(cached
) $ac_c" 1>&6
6297 ac_save_LIBS="$LIBS"
6299 cat > conftest.$ac_ext <<EOF
6300 #line 6301 "configure
"
6301 #include "confdefs.h
"
6302 /* Override any gcc2 internal prototype to avoid an error. */
6303 /* We use char because int might match the return type of a gcc2
6304 builtin and then its argument prototype would still apply. */
6311 if { (eval echo configure:6312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6313 eval "ac_cv_lib_
$ac_lib_var=yes"
6315 echo "configure
: failed program was
:" >&5
6316 cat conftest.$ac_ext >&5
6318 eval "ac_cv_lib_
$ac_lib_var=no
"
6321 LIBS="$ac_save_LIBS"
6324 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6325 echo "$ac_t""yes" 1>&6
6328 echo "$ac_t""no
" 1>&6
6331 ac_save_LIBS="$LIBS"
6336 echo $ac_n "checking
for isinf declaration
""...
$ac_c" 1>&6
6337 echo "configure
:6338: checking
for isinf declaration
" >&5
6338 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
6339 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
6340 echo $ac_n "(cached
) $ac_c" 1>&6
6345 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6346 ac_cpp='$CXXCPP $CPPFLAGS'
6347 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6348 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6349 cross_compiling=$ac_cv_prog_cxx_cross
6351 cat > conftest.$ac_ext <<EOF
6352 #line 6353 "configure
"
6353 #include "confdefs.h
"
6355 #ifdef HAVE_IEEEFP_H
6363 if { (eval echo configure:6364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6365 glibcpp_cv_func_isinf_use=yes
6367 echo "configure
: failed program was
:" >&5
6368 cat conftest.$ac_ext >&5
6370 glibcpp_cv_func_isinf_use=no
6374 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6375 ac_cpp='$CPP $CPPFLAGS'
6376 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6377 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6378 cross_compiling=$ac_cv_prog_cc_cross
6384 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
6386 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
6387 for ac_func in isinf
6389 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6390 echo "configure
:6391: checking
for $ac_func" >&5
6391 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6392 echo $ac_n "(cached
) $ac_c" 1>&6
6394 cat > conftest.$ac_ext <<EOF
6395 #line 6396 "configure
"
6396 #include "confdefs.h
"
6397 /* System header to define __stub macros and hopefully few prototypes,
6398 which can conflict with char $ac_func(); below. */
6400 /* Override any gcc2 internal prototype to avoid an error. */
6401 /* We use char because int might match the return type of a gcc2
6402 builtin and then its argument prototype would still apply. */
6407 /* The GNU C library defines this for functions which it implements
6408 to always fail with ENOSYS. Some functions are actually named
6409 something starting with __ and the normal name is an alias. */
6410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6418 if { (eval echo configure:6419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6420 eval "ac_cv_func_
$ac_func=yes"
6422 echo "configure
: failed program was
:" >&5
6423 cat conftest.$ac_ext >&5
6425 eval "ac_cv_func_
$ac_func=no
"
6430 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6431 echo "$ac_t""yes" 1>&6
6432 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6433 cat >> confdefs.h <<EOF
6434 #define $ac_tr_func 1
6438 echo "$ac_t""no
" 1>&6
6444 echo $ac_n "checking
for _isinf declaration
""...
$ac_c" 1>&6
6445 echo "configure
:6446: checking
for _isinf declaration
" >&5
6446 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
6447 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
6448 echo $ac_n "(cached
) $ac_c" 1>&6
6453 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6454 ac_cpp='$CXXCPP $CPPFLAGS'
6455 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6456 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6457 cross_compiling=$ac_cv_prog_cxx_cross
6459 cat > conftest.$ac_ext <<EOF
6460 #line 6461 "configure
"
6461 #include "confdefs.h
"
6463 #ifdef HAVE_IEEEFP_H
6471 if { (eval echo configure:6472: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6473 glibcpp_cv_func__isinf_use=yes
6475 echo "configure
: failed program was
:" >&5
6476 cat conftest.$ac_ext >&5
6478 glibcpp_cv_func__isinf_use=no
6482 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6483 ac_cpp='$CPP $CPPFLAGS'
6484 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6485 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6486 cross_compiling=$ac_cv_prog_cc_cross
6492 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
6494 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
6495 for ac_func in _isinf
6497 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6498 echo "configure
:6499: checking
for $ac_func" >&5
6499 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6500 echo $ac_n "(cached
) $ac_c" 1>&6
6502 cat > conftest.$ac_ext <<EOF
6503 #line 6504 "configure
"
6504 #include "confdefs.h
"
6505 /* System header to define __stub macros and hopefully few prototypes,
6506 which can conflict with char $ac_func(); below. */
6508 /* Override any gcc2 internal prototype to avoid an error. */
6509 /* We use char because int might match the return type of a gcc2
6510 builtin and then its argument prototype would still apply. */
6515 /* The GNU C library defines this for functions which it implements
6516 to always fail with ENOSYS. Some functions are actually named
6517 something starting with __ and the normal name is an alias. */
6518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6526 if { (eval echo configure:6527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6528 eval "ac_cv_func_
$ac_func=yes"
6530 echo "configure
: failed program was
:" >&5
6531 cat conftest.$ac_ext >&5
6533 eval "ac_cv_func_
$ac_func=no
"
6538 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6539 echo "$ac_t""yes" 1>&6
6540 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6541 cat >> confdefs.h <<EOF
6542 #define $ac_tr_func 1
6546 echo "$ac_t""no
" 1>&6
6555 echo $ac_n "checking
for isnan declaration
""...
$ac_c" 1>&6
6556 echo "configure
:6557: checking
for isnan declaration
" >&5
6557 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
6558 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
6559 echo $ac_n "(cached
) $ac_c" 1>&6
6564 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6565 ac_cpp='$CXXCPP $CPPFLAGS'
6566 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6567 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6568 cross_compiling=$ac_cv_prog_cxx_cross
6570 cat > conftest.$ac_ext <<EOF
6571 #line 6572 "configure
"
6572 #include "confdefs.h
"
6574 #ifdef HAVE_IEEEFP_H
6582 if { (eval echo configure:6583: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6584 glibcpp_cv_func_isnan_use=yes
6586 echo "configure
: failed program was
:" >&5
6587 cat conftest.$ac_ext >&5
6589 glibcpp_cv_func_isnan_use=no
6593 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6594 ac_cpp='$CPP $CPPFLAGS'
6595 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6596 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6597 cross_compiling=$ac_cv_prog_cc_cross
6603 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
6605 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
6606 for ac_func in isnan
6608 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6609 echo "configure
:6610: checking
for $ac_func" >&5
6610 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6611 echo $ac_n "(cached
) $ac_c" 1>&6
6613 cat > conftest.$ac_ext <<EOF
6614 #line 6615 "configure
"
6615 #include "confdefs.h
"
6616 /* System header to define __stub macros and hopefully few prototypes,
6617 which can conflict with char $ac_func(); below. */
6619 /* Override any gcc2 internal prototype to avoid an error. */
6620 /* We use char because int might match the return type of a gcc2
6621 builtin and then its argument prototype would still apply. */
6626 /* The GNU C library defines this for functions which it implements
6627 to always fail with ENOSYS. Some functions are actually named
6628 something starting with __ and the normal name is an alias. */
6629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6637 if { (eval echo configure:6638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6639 eval "ac_cv_func_
$ac_func=yes"
6641 echo "configure
: failed program was
:" >&5
6642 cat conftest.$ac_ext >&5
6644 eval "ac_cv_func_
$ac_func=no
"
6649 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6650 echo "$ac_t""yes" 1>&6
6651 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6652 cat >> confdefs.h <<EOF
6653 #define $ac_tr_func 1
6657 echo "$ac_t""no
" 1>&6
6663 echo $ac_n "checking
for _isnan declaration
""...
$ac_c" 1>&6
6664 echo "configure
:6665: checking
for _isnan declaration
" >&5
6665 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
6666 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
6667 echo $ac_n "(cached
) $ac_c" 1>&6
6672 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6673 ac_cpp='$CXXCPP $CPPFLAGS'
6674 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6675 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6676 cross_compiling=$ac_cv_prog_cxx_cross
6678 cat > conftest.$ac_ext <<EOF
6679 #line 6680 "configure
"
6680 #include "confdefs.h
"
6682 #ifdef HAVE_IEEEFP_H
6690 if { (eval echo configure:6691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6692 glibcpp_cv_func__isnan_use=yes
6694 echo "configure
: failed program was
:" >&5
6695 cat conftest.$ac_ext >&5
6697 glibcpp_cv_func__isnan_use=no
6701 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6702 ac_cpp='$CPP $CPPFLAGS'
6703 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6704 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6705 cross_compiling=$ac_cv_prog_cc_cross
6711 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
6713 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
6714 for ac_func in _isnan
6716 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6717 echo "configure
:6718: checking
for $ac_func" >&5
6718 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6719 echo $ac_n "(cached
) $ac_c" 1>&6
6721 cat > conftest.$ac_ext <<EOF
6722 #line 6723 "configure
"
6723 #include "confdefs.h
"
6724 /* System header to define __stub macros and hopefully few prototypes,
6725 which can conflict with char $ac_func(); below. */
6727 /* Override any gcc2 internal prototype to avoid an error. */
6728 /* We use char because int might match the return type of a gcc2
6729 builtin and then its argument prototype would still apply. */
6734 /* The GNU C library defines this for functions which it implements
6735 to always fail with ENOSYS. Some functions are actually named
6736 something starting with __ and the normal name is an alias. */
6737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6745 if { (eval echo configure:6746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6747 eval "ac_cv_func_
$ac_func=yes"
6749 echo "configure
: failed program was
:" >&5
6750 cat conftest.$ac_ext >&5
6752 eval "ac_cv_func_
$ac_func=no
"
6757 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6758 echo "$ac_t""yes" 1>&6
6759 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6760 cat >> confdefs.h <<EOF
6761 #define $ac_tr_func 1
6765 echo "$ac_t""no
" 1>&6
6774 echo $ac_n "checking
for finite declaration
""...
$ac_c" 1>&6
6775 echo "configure
:6776: checking
for finite declaration
" >&5
6776 if test x${glibcpp_cv_func_finite_use+set} != xset; then
6777 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
6778 echo $ac_n "(cached
) $ac_c" 1>&6
6783 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6784 ac_cpp='$CXXCPP $CPPFLAGS'
6785 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6786 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6787 cross_compiling=$ac_cv_prog_cxx_cross
6789 cat > conftest.$ac_ext <<EOF
6790 #line 6791 "configure
"
6791 #include "confdefs.h
"
6793 #ifdef HAVE_IEEEFP_H
6801 if { (eval echo configure:6802: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6803 glibcpp_cv_func_finite_use=yes
6805 echo "configure
: failed program was
:" >&5
6806 cat conftest.$ac_ext >&5
6808 glibcpp_cv_func_finite_use=no
6812 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6813 ac_cpp='$CPP $CPPFLAGS'
6814 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6815 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6816 cross_compiling=$ac_cv_prog_cc_cross
6822 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
6824 if test x$glibcpp_cv_func_finite_use = x"yes"; then
6825 for ac_func in finite
6827 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6828 echo "configure
:6829: checking
for $ac_func" >&5
6829 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6830 echo $ac_n "(cached
) $ac_c" 1>&6
6832 cat > conftest.$ac_ext <<EOF
6833 #line 6834 "configure
"
6834 #include "confdefs.h
"
6835 /* System header to define __stub macros and hopefully few prototypes,
6836 which can conflict with char $ac_func(); below. */
6838 /* Override any gcc2 internal prototype to avoid an error. */
6839 /* We use char because int might match the return type of a gcc2
6840 builtin and then its argument prototype would still apply. */
6845 /* The GNU C library defines this for functions which it implements
6846 to always fail with ENOSYS. Some functions are actually named
6847 something starting with __ and the normal name is an alias. */
6848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6856 if { (eval echo configure:6857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6858 eval "ac_cv_func_
$ac_func=yes"
6860 echo "configure
: failed program was
:" >&5
6861 cat conftest.$ac_ext >&5
6863 eval "ac_cv_func_
$ac_func=no
"
6868 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6869 echo "$ac_t""yes" 1>&6
6870 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6871 cat >> confdefs.h <<EOF
6872 #define $ac_tr_func 1
6876 echo "$ac_t""no
" 1>&6
6882 echo $ac_n "checking
for _finite declaration
""...
$ac_c" 1>&6
6883 echo "configure
:6884: checking
for _finite declaration
" >&5
6884 if test x${glibcpp_cv_func__finite_use+set} != xset; then
6885 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
6886 echo $ac_n "(cached
) $ac_c" 1>&6
6891 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6892 ac_cpp='$CXXCPP $CPPFLAGS'
6893 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6894 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6895 cross_compiling=$ac_cv_prog_cxx_cross
6897 cat > conftest.$ac_ext <<EOF
6898 #line 6899 "configure
"
6899 #include "confdefs.h
"
6901 #ifdef HAVE_IEEEFP_H
6909 if { (eval echo configure:6910: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6911 glibcpp_cv_func__finite_use=yes
6913 echo "configure
: failed program was
:" >&5
6914 cat conftest.$ac_ext >&5
6916 glibcpp_cv_func__finite_use=no
6920 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6921 ac_cpp='$CPP $CPPFLAGS'
6922 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6923 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6924 cross_compiling=$ac_cv_prog_cc_cross
6930 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
6932 if test x$glibcpp_cv_func__finite_use = x"yes"; then
6933 for ac_func in _finite
6935 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6936 echo "configure
:6937: checking
for $ac_func" >&5
6937 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6938 echo $ac_n "(cached
) $ac_c" 1>&6
6940 cat > conftest.$ac_ext <<EOF
6941 #line 6942 "configure
"
6942 #include "confdefs.h
"
6943 /* System header to define __stub macros and hopefully few prototypes,
6944 which can conflict with char $ac_func(); below. */
6946 /* Override any gcc2 internal prototype to avoid an error. */
6947 /* We use char because int might match the return type of a gcc2
6948 builtin and then its argument prototype would still apply. */
6953 /* The GNU C library defines this for functions which it implements
6954 to always fail with ENOSYS. Some functions are actually named
6955 something starting with __ and the normal name is an alias. */
6956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6964 if { (eval echo configure:6965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6966 eval "ac_cv_func_
$ac_func=yes"
6968 echo "configure
: failed program was
:" >&5
6969 cat conftest.$ac_ext >&5
6971 eval "ac_cv_func_
$ac_func=no
"
6976 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6977 echo "$ac_t""yes" 1>&6
6978 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6979 cat >> confdefs.h <<EOF
6980 #define $ac_tr_func 1
6984 echo "$ac_t""no
" 1>&6
6993 echo $ac_n "checking
for copysign declaration
""...
$ac_c" 1>&6
6994 echo "configure
:6995: checking
for copysign declaration
" >&5
6995 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
6996 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
6997 echo $ac_n "(cached
) $ac_c" 1>&6
7002 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7003 ac_cpp='$CXXCPP $CPPFLAGS'
7004 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7005 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7006 cross_compiling=$ac_cv_prog_cxx_cross
7008 cat > conftest.$ac_ext <<EOF
7009 #line 7010 "configure
"
7010 #include "confdefs.h
"
7016 if { (eval echo configure:7017: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7018 glibcpp_cv_func_copysign_use=yes
7020 echo "configure
: failed program was
:" >&5
7021 cat conftest.$ac_ext >&5
7023 glibcpp_cv_func_copysign_use=no
7027 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7028 ac_cpp='$CPP $CPPFLAGS'
7029 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7030 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7031 cross_compiling=$ac_cv_prog_cc_cross
7037 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
7039 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
7040 for ac_func in copysign
7042 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7043 echo "configure
:7044: checking
for $ac_func" >&5
7044 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7045 echo $ac_n "(cached
) $ac_c" 1>&6
7047 cat > conftest.$ac_ext <<EOF
7048 #line 7049 "configure
"
7049 #include "confdefs.h
"
7050 /* System header to define __stub macros and hopefully few prototypes,
7051 which can conflict with char $ac_func(); below. */
7053 /* Override any gcc2 internal prototype to avoid an error. */
7054 /* We use char because int might match the return type of a gcc2
7055 builtin and then its argument prototype would still apply. */
7060 /* The GNU C library defines this for functions which it implements
7061 to always fail with ENOSYS. Some functions are actually named
7062 something starting with __ and the normal name is an alias. */
7063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7071 if { (eval echo configure:7072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7073 eval "ac_cv_func_
$ac_func=yes"
7075 echo "configure
: failed program was
:" >&5
7076 cat conftest.$ac_ext >&5
7078 eval "ac_cv_func_
$ac_func=no
"
7083 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7084 echo "$ac_t""yes" 1>&6
7085 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7086 cat >> confdefs.h <<EOF
7087 #define $ac_tr_func 1
7091 echo "$ac_t""no
" 1>&6
7097 echo $ac_n "checking
for _copysign declaration
""...
$ac_c" 1>&6
7098 echo "configure
:7099: checking
for _copysign declaration
" >&5
7099 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
7100 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
7101 echo $ac_n "(cached
) $ac_c" 1>&6
7106 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7107 ac_cpp='$CXXCPP $CPPFLAGS'
7108 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7109 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7110 cross_compiling=$ac_cv_prog_cxx_cross
7112 cat > conftest.$ac_ext <<EOF
7113 #line 7114 "configure
"
7114 #include "confdefs.h
"
7120 if { (eval echo configure:7121: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7122 glibcpp_cv_func__copysign_use=yes
7124 echo "configure
: failed program was
:" >&5
7125 cat conftest.$ac_ext >&5
7127 glibcpp_cv_func__copysign_use=no
7131 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7132 ac_cpp='$CPP $CPPFLAGS'
7133 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7134 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7135 cross_compiling=$ac_cv_prog_cc_cross
7141 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
7143 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
7144 for ac_func in _copysign
7146 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7147 echo "configure
:7148: checking
for $ac_func" >&5
7148 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7149 echo $ac_n "(cached
) $ac_c" 1>&6
7151 cat > conftest.$ac_ext <<EOF
7152 #line 7153 "configure
"
7153 #include "confdefs.h
"
7154 /* System header to define __stub macros and hopefully few prototypes,
7155 which can conflict with char $ac_func(); below. */
7157 /* Override any gcc2 internal prototype to avoid an error. */
7158 /* We use char because int might match the return type of a gcc2
7159 builtin and then its argument prototype would still apply. */
7164 /* The GNU C library defines this for functions which it implements
7165 to always fail with ENOSYS. Some functions are actually named
7166 something starting with __ and the normal name is an alias. */
7167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7175 if { (eval echo configure:7176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7177 eval "ac_cv_func_
$ac_func=yes"
7179 echo "configure
: failed program was
:" >&5
7180 cat conftest.$ac_ext >&5
7182 eval "ac_cv_func_
$ac_func=no
"
7187 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7188 echo "$ac_t""yes" 1>&6
7189 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7190 cat >> confdefs.h <<EOF
7191 #define $ac_tr_func 1
7195 echo "$ac_t""no
" 1>&6
7204 echo $ac_n "checking
for sincos declaration
""...
$ac_c" 1>&6
7205 echo "configure
:7206: checking
for sincos declaration
" >&5
7206 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
7207 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
7208 echo $ac_n "(cached
) $ac_c" 1>&6
7213 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7214 ac_cpp='$CXXCPP $CPPFLAGS'
7215 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7216 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7217 cross_compiling=$ac_cv_prog_cxx_cross
7219 cat > conftest.$ac_ext <<EOF
7220 #line 7221 "configure
"
7221 #include "confdefs.h
"
7227 if { (eval echo configure:7228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7229 glibcpp_cv_func_sincos_use=yes
7231 echo "configure
: failed program was
:" >&5
7232 cat conftest.$ac_ext >&5
7234 glibcpp_cv_func_sincos_use=no
7238 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7239 ac_cpp='$CPP $CPPFLAGS'
7240 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7241 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7242 cross_compiling=$ac_cv_prog_cc_cross
7248 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
7250 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
7251 for ac_func in sincos
7253 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7254 echo "configure
:7255: checking
for $ac_func" >&5
7255 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7256 echo $ac_n "(cached
) $ac_c" 1>&6
7258 cat > conftest.$ac_ext <<EOF
7259 #line 7260 "configure
"
7260 #include "confdefs.h
"
7261 /* System header to define __stub macros and hopefully few prototypes,
7262 which can conflict with char $ac_func(); below. */
7264 /* Override any gcc2 internal prototype to avoid an error. */
7265 /* We use char because int might match the return type of a gcc2
7266 builtin and then its argument prototype would still apply. */
7271 /* The GNU C library defines this for functions which it implements
7272 to always fail with ENOSYS. Some functions are actually named
7273 something starting with __ and the normal name is an alias. */
7274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7282 if { (eval echo configure:7283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7284 eval "ac_cv_func_
$ac_func=yes"
7286 echo "configure
: failed program was
:" >&5
7287 cat conftest.$ac_ext >&5
7289 eval "ac_cv_func_
$ac_func=no
"
7294 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7295 echo "$ac_t""yes" 1>&6
7296 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7297 cat >> confdefs.h <<EOF
7298 #define $ac_tr_func 1
7302 echo "$ac_t""no
" 1>&6
7308 echo $ac_n "checking
for _sincos declaration
""...
$ac_c" 1>&6
7309 echo "configure
:7310: checking
for _sincos declaration
" >&5
7310 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
7311 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
7312 echo $ac_n "(cached
) $ac_c" 1>&6
7317 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7318 ac_cpp='$CXXCPP $CPPFLAGS'
7319 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7320 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7321 cross_compiling=$ac_cv_prog_cxx_cross
7323 cat > conftest.$ac_ext <<EOF
7324 #line 7325 "configure
"
7325 #include "confdefs.h
"
7331 if { (eval echo configure:7332: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7333 glibcpp_cv_func__sincos_use=yes
7335 echo "configure
: failed program was
:" >&5
7336 cat conftest.$ac_ext >&5
7338 glibcpp_cv_func__sincos_use=no
7342 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7343 ac_cpp='$CPP $CPPFLAGS'
7344 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7345 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7346 cross_compiling=$ac_cv_prog_cc_cross
7352 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
7354 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
7355 for ac_func in _sincos
7357 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7358 echo "configure
:7359: checking
for $ac_func" >&5
7359 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7360 echo $ac_n "(cached
) $ac_c" 1>&6
7362 cat > conftest.$ac_ext <<EOF
7363 #line 7364 "configure
"
7364 #include "confdefs.h
"
7365 /* System header to define __stub macros and hopefully few prototypes,
7366 which can conflict with char $ac_func(); below. */
7368 /* Override any gcc2 internal prototype to avoid an error. */
7369 /* We use char because int might match the return type of a gcc2
7370 builtin and then its argument prototype would still apply. */
7375 /* The GNU C library defines this for functions which it implements
7376 to always fail with ENOSYS. Some functions are actually named
7377 something starting with __ and the normal name is an alias. */
7378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7386 if { (eval echo configure:7387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7388 eval "ac_cv_func_
$ac_func=yes"
7390 echo "configure
: failed program was
:" >&5
7391 cat conftest.$ac_ext >&5
7393 eval "ac_cv_func_
$ac_func=no
"
7398 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7399 echo "$ac_t""yes" 1>&6
7400 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7401 cat >> confdefs.h <<EOF
7402 #define $ac_tr_func 1
7406 echo "$ac_t""no
" 1>&6
7415 echo $ac_n "checking
for fpclass declaration
""...
$ac_c" 1>&6
7416 echo "configure
:7417: checking
for fpclass declaration
" >&5
7417 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
7418 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
7419 echo $ac_n "(cached
) $ac_c" 1>&6
7424 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7425 ac_cpp='$CXXCPP $CPPFLAGS'
7426 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7427 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7428 cross_compiling=$ac_cv_prog_cxx_cross
7430 cat > conftest.$ac_ext <<EOF
7431 #line 7432 "configure
"
7432 #include "confdefs.h
"
7434 #ifdef HAVE_IEEEFP_H
7442 if { (eval echo configure:7443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7444 glibcpp_cv_func_fpclass_use=yes
7446 echo "configure
: failed program was
:" >&5
7447 cat conftest.$ac_ext >&5
7449 glibcpp_cv_func_fpclass_use=no
7453 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7454 ac_cpp='$CPP $CPPFLAGS'
7455 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7456 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7457 cross_compiling=$ac_cv_prog_cc_cross
7463 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
7465 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
7466 for ac_func in fpclass
7468 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7469 echo "configure
:7470: checking
for $ac_func" >&5
7470 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7471 echo $ac_n "(cached
) $ac_c" 1>&6
7473 cat > conftest.$ac_ext <<EOF
7474 #line 7475 "configure
"
7475 #include "confdefs.h
"
7476 /* System header to define __stub macros and hopefully few prototypes,
7477 which can conflict with char $ac_func(); below. */
7479 /* Override any gcc2 internal prototype to avoid an error. */
7480 /* We use char because int might match the return type of a gcc2
7481 builtin and then its argument prototype would still apply. */
7486 /* The GNU C library defines this for functions which it implements
7487 to always fail with ENOSYS. Some functions are actually named
7488 something starting with __ and the normal name is an alias. */
7489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7497 if { (eval echo configure:7498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7499 eval "ac_cv_func_
$ac_func=yes"
7501 echo "configure
: failed program was
:" >&5
7502 cat conftest.$ac_ext >&5
7504 eval "ac_cv_func_
$ac_func=no
"
7509 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7510 echo "$ac_t""yes" 1>&6
7511 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7512 cat >> confdefs.h <<EOF
7513 #define $ac_tr_func 1
7517 echo "$ac_t""no
" 1>&6
7523 echo $ac_n "checking
for _fpclass declaration
""...
$ac_c" 1>&6
7524 echo "configure
:7525: checking
for _fpclass declaration
" >&5
7525 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
7526 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
7527 echo $ac_n "(cached
) $ac_c" 1>&6
7532 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7533 ac_cpp='$CXXCPP $CPPFLAGS'
7534 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7535 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7536 cross_compiling=$ac_cv_prog_cxx_cross
7538 cat > conftest.$ac_ext <<EOF
7539 #line 7540 "configure
"
7540 #include "confdefs.h
"
7542 #ifdef HAVE_IEEEFP_H
7550 if { (eval echo configure:7551: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7552 glibcpp_cv_func__fpclass_use=yes
7554 echo "configure
: failed program was
:" >&5
7555 cat conftest.$ac_ext >&5
7557 glibcpp_cv_func__fpclass_use=no
7561 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7562 ac_cpp='$CPP $CPPFLAGS'
7563 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7564 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7565 cross_compiling=$ac_cv_prog_cc_cross
7571 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
7573 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
7574 for ac_func in _fpclass
7576 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7577 echo "configure
:7578: checking
for $ac_func" >&5
7578 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7579 echo $ac_n "(cached
) $ac_c" 1>&6
7581 cat > conftest.$ac_ext <<EOF
7582 #line 7583 "configure
"
7583 #include "confdefs.h
"
7584 /* System header to define __stub macros and hopefully few prototypes,
7585 which can conflict with char $ac_func(); below. */
7587 /* Override any gcc2 internal prototype to avoid an error. */
7588 /* We use char because int might match the return type of a gcc2
7589 builtin and then its argument prototype would still apply. */
7594 /* The GNU C library defines this for functions which it implements
7595 to always fail with ENOSYS. Some functions are actually named
7596 something starting with __ and the normal name is an alias. */
7597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7605 if { (eval echo configure:7606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7607 eval "ac_cv_func_
$ac_func=yes"
7609 echo "configure
: failed program was
:" >&5
7610 cat conftest.$ac_ext >&5
7612 eval "ac_cv_func_
$ac_func=no
"
7617 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7618 echo "$ac_t""yes" 1>&6
7619 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7620 cat >> confdefs.h <<EOF
7621 #define $ac_tr_func 1
7625 echo "$ac_t""no
" 1>&6
7634 echo $ac_n "checking
for qfpclass declaration
""...
$ac_c" 1>&6
7635 echo "configure
:7636: checking
for qfpclass declaration
" >&5
7636 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
7637 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
7638 echo $ac_n "(cached
) $ac_c" 1>&6
7643 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7644 ac_cpp='$CXXCPP $CPPFLAGS'
7645 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7646 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7647 cross_compiling=$ac_cv_prog_cxx_cross
7649 cat > conftest.$ac_ext <<EOF
7650 #line 7651 "configure
"
7651 #include "confdefs.h
"
7653 #ifdef HAVE_IEEEFP_H
7661 if { (eval echo configure:7662: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7663 glibcpp_cv_func_qfpclass_use=yes
7665 echo "configure
: failed program was
:" >&5
7666 cat conftest.$ac_ext >&5
7668 glibcpp_cv_func_qfpclass_use=no
7672 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7673 ac_cpp='$CPP $CPPFLAGS'
7674 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7675 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7676 cross_compiling=$ac_cv_prog_cc_cross
7682 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
7684 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
7685 for ac_func in qfpclass
7687 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7688 echo "configure
:7689: checking
for $ac_func" >&5
7689 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7690 echo $ac_n "(cached
) $ac_c" 1>&6
7692 cat > conftest.$ac_ext <<EOF
7693 #line 7694 "configure
"
7694 #include "confdefs.h
"
7695 /* System header to define __stub macros and hopefully few prototypes,
7696 which can conflict with char $ac_func(); below. */
7698 /* Override any gcc2 internal prototype to avoid an error. */
7699 /* We use char because int might match the return type of a gcc2
7700 builtin and then its argument prototype would still apply. */
7705 /* The GNU C library defines this for functions which it implements
7706 to always fail with ENOSYS. Some functions are actually named
7707 something starting with __ and the normal name is an alias. */
7708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7716 if { (eval echo configure:7717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7718 eval "ac_cv_func_
$ac_func=yes"
7720 echo "configure
: failed program was
:" >&5
7721 cat conftest.$ac_ext >&5
7723 eval "ac_cv_func_
$ac_func=no
"
7728 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7729 echo "$ac_t""yes" 1>&6
7730 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7731 cat >> confdefs.h <<EOF
7732 #define $ac_tr_func 1
7736 echo "$ac_t""no
" 1>&6
7742 echo $ac_n "checking
for _qfpclass declaration
""...
$ac_c" 1>&6
7743 echo "configure
:7744: checking
for _qfpclass declaration
" >&5
7744 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
7745 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
7746 echo $ac_n "(cached
) $ac_c" 1>&6
7751 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7752 ac_cpp='$CXXCPP $CPPFLAGS'
7753 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7754 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7755 cross_compiling=$ac_cv_prog_cxx_cross
7757 cat > conftest.$ac_ext <<EOF
7758 #line 7759 "configure
"
7759 #include "confdefs.h
"
7761 #ifdef HAVE_IEEEFP_H
7769 if { (eval echo configure:7770: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7771 glibcpp_cv_func__qfpclass_use=yes
7773 echo "configure
: failed program was
:" >&5
7774 cat conftest.$ac_ext >&5
7776 glibcpp_cv_func__qfpclass_use=no
7780 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7781 ac_cpp='$CPP $CPPFLAGS'
7782 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7783 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7784 cross_compiling=$ac_cv_prog_cc_cross
7790 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
7792 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
7793 for ac_func in _qfpclass
7795 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7796 echo "configure
:7797: checking
for $ac_func" >&5
7797 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7798 echo $ac_n "(cached
) $ac_c" 1>&6
7800 cat > conftest.$ac_ext <<EOF
7801 #line 7802 "configure
"
7802 #include "confdefs.h
"
7803 /* System header to define __stub macros and hopefully few prototypes,
7804 which can conflict with char $ac_func(); below. */
7806 /* Override any gcc2 internal prototype to avoid an error. */
7807 /* We use char because int might match the return type of a gcc2
7808 builtin and then its argument prototype would still apply. */
7813 /* The GNU C library defines this for functions which it implements
7814 to always fail with ENOSYS. Some functions are actually named
7815 something starting with __ and the normal name is an alias. */
7816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7824 if { (eval echo configure:7825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7826 eval "ac_cv_func_
$ac_func=yes"
7828 echo "configure
: failed program was
:" >&5
7829 cat conftest.$ac_ext >&5
7831 eval "ac_cv_func_
$ac_func=no
"
7836 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7837 echo "$ac_t""yes" 1>&6
7838 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7839 cat >> confdefs.h <<EOF
7840 #define $ac_tr_func 1
7844 echo "$ac_t""no
" 1>&6
7853 echo $ac_n "checking
for hypot declaration
""...
$ac_c" 1>&6
7854 echo "configure
:7855: checking
for hypot declaration
" >&5
7855 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
7856 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
7857 echo $ac_n "(cached
) $ac_c" 1>&6
7862 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7863 ac_cpp='$CXXCPP $CPPFLAGS'
7864 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7865 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7866 cross_compiling=$ac_cv_prog_cxx_cross
7868 cat > conftest.$ac_ext <<EOF
7869 #line 7870 "configure
"
7870 #include "confdefs.h
"
7876 if { (eval echo configure:7877: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7878 glibcpp_cv_func_hypot_use=yes
7880 echo "configure
: failed program was
:" >&5
7881 cat conftest.$ac_ext >&5
7883 glibcpp_cv_func_hypot_use=no
7887 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7888 ac_cpp='$CPP $CPPFLAGS'
7889 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7890 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7891 cross_compiling=$ac_cv_prog_cc_cross
7897 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
7899 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
7900 for ac_func in hypot
7902 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7903 echo "configure
:7904: checking
for $ac_func" >&5
7904 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7905 echo $ac_n "(cached
) $ac_c" 1>&6
7907 cat > conftest.$ac_ext <<EOF
7908 #line 7909 "configure
"
7909 #include "confdefs.h
"
7910 /* System header to define __stub macros and hopefully few prototypes,
7911 which can conflict with char $ac_func(); below. */
7913 /* Override any gcc2 internal prototype to avoid an error. */
7914 /* We use char because int might match the return type of a gcc2
7915 builtin and then its argument prototype would still apply. */
7920 /* The GNU C library defines this for functions which it implements
7921 to always fail with ENOSYS. Some functions are actually named
7922 something starting with __ and the normal name is an alias. */
7923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7931 if { (eval echo configure:7932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7933 eval "ac_cv_func_
$ac_func=yes"
7935 echo "configure
: failed program was
:" >&5
7936 cat conftest.$ac_ext >&5
7938 eval "ac_cv_func_
$ac_func=no
"
7943 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7944 echo "$ac_t""yes" 1>&6
7945 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7946 cat >> confdefs.h <<EOF
7947 #define $ac_tr_func 1
7951 echo "$ac_t""no
" 1>&6
7957 echo $ac_n "checking
for _hypot declaration
""...
$ac_c" 1>&6
7958 echo "configure
:7959: checking
for _hypot declaration
" >&5
7959 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
7960 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
7961 echo $ac_n "(cached
) $ac_c" 1>&6
7966 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7967 ac_cpp='$CXXCPP $CPPFLAGS'
7968 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7969 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7970 cross_compiling=$ac_cv_prog_cxx_cross
7972 cat > conftest.$ac_ext <<EOF
7973 #line 7974 "configure
"
7974 #include "confdefs.h
"
7980 if { (eval echo configure:7981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7982 glibcpp_cv_func__hypot_use=yes
7984 echo "configure
: failed program was
:" >&5
7985 cat conftest.$ac_ext >&5
7987 glibcpp_cv_func__hypot_use=no
7991 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7992 ac_cpp='$CPP $CPPFLAGS'
7993 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7994 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7995 cross_compiling=$ac_cv_prog_cc_cross
8001 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
8003 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
8004 for ac_func in _hypot
8006 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8007 echo "configure
:8008: checking
for $ac_func" >&5
8008 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8009 echo $ac_n "(cached
) $ac_c" 1>&6
8011 cat > conftest.$ac_ext <<EOF
8012 #line 8013 "configure
"
8013 #include "confdefs.h
"
8014 /* System header to define __stub macros and hopefully few prototypes,
8015 which can conflict with char $ac_func(); below. */
8017 /* Override any gcc2 internal prototype to avoid an error. */
8018 /* We use char because int might match the return type of a gcc2
8019 builtin and then its argument prototype would still apply. */
8024 /* The GNU C library defines this for functions which it implements
8025 to always fail with ENOSYS. Some functions are actually named
8026 something starting with __ and the normal name is an alias. */
8027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8035 if { (eval echo configure:8036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8037 eval "ac_cv_func_
$ac_func=yes"
8039 echo "configure
: failed program was
:" >&5
8040 cat conftest.$ac_ext >&5
8042 eval "ac_cv_func_
$ac_func=no
"
8047 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8048 echo "$ac_t""yes" 1>&6
8049 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8050 cat >> confdefs.h <<EOF
8051 #define $ac_tr_func 1
8055 echo "$ac_t""no
" 1>&6
8064 echo $ac_n "checking
for float trig functions
""...
$ac_c" 1>&6
8065 echo "configure
:8066: checking
for float trig functions
" >&5
8066 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
8067 echo $ac_n "(cached
) $ac_c" 1>&6
8072 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8073 ac_cpp='$CXXCPP $CPPFLAGS'
8074 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8075 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8076 cross_compiling=$ac_cv_prog_cxx_cross
8078 cat > conftest.$ac_ext <<EOF
8079 #line 8080 "configure
"
8080 #include "confdefs.h
"
8083 `for x in acosf asinf atanf \
8085 coshf sinhf tanhf; do echo "$x (0);"; done`
8088 if { (eval echo configure:8089: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8090 glibcpp_cv_func_float_trig_use=yes
8092 echo "configure
: failed program was
:" >&5
8093 cat conftest.$ac_ext >&5
8095 glibcpp_cv_func_float_trig_use=no
8099 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8100 ac_cpp='$CPP $CPPFLAGS'
8101 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8102 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8103 cross_compiling=$ac_cv_prog_cc_cross
8107 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
8108 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
8109 for ac_func in acosf asinf atanf \
8113 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8114 echo "configure
:8115: checking
for $ac_func" >&5
8115 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8116 echo $ac_n "(cached
) $ac_c" 1>&6
8118 cat > conftest.$ac_ext <<EOF
8119 #line 8120 "configure
"
8120 #include "confdefs.h
"
8121 /* System header to define __stub macros and hopefully few prototypes,
8122 which can conflict with char $ac_func(); below. */
8124 /* Override any gcc2 internal prototype to avoid an error. */
8125 /* We use char because int might match the return type of a gcc2
8126 builtin and then its argument prototype would still apply. */
8131 /* The GNU C library defines this for functions which it implements
8132 to always fail with ENOSYS. Some functions are actually named
8133 something starting with __ and the normal name is an alias. */
8134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8142 if { (eval echo configure:8143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8144 eval "ac_cv_func_
$ac_func=yes"
8146 echo "configure
: failed program was
:" >&5
8147 cat conftest.$ac_ext >&5
8149 eval "ac_cv_func_
$ac_func=no
"
8154 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8155 echo "$ac_t""yes" 1>&6
8156 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8157 cat >> confdefs.h <<EOF
8158 #define $ac_tr_func 1
8162 echo "$ac_t""no
" 1>&6
8169 echo $ac_n "checking
for float round functions
""...
$ac_c" 1>&6
8170 echo "configure
:8171: checking
for float round functions
" >&5
8171 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
8172 echo $ac_n "(cached
) $ac_c" 1>&6
8177 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8178 ac_cpp='$CXXCPP $CPPFLAGS'
8179 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8180 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8181 cross_compiling=$ac_cv_prog_cxx_cross
8183 cat > conftest.$ac_ext <<EOF
8184 #line 8185 "configure
"
8185 #include "confdefs.h
"
8188 `for x in ceilf floorf; do echo "$x (0);"; done`
8191 if { (eval echo configure:8192: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8193 glibcpp_cv_func_float_round_use=yes
8195 echo "configure
: failed program was
:" >&5
8196 cat conftest.$ac_ext >&5
8198 glibcpp_cv_func_float_round_use=no
8202 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8203 ac_cpp='$CPP $CPPFLAGS'
8204 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8205 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8206 cross_compiling=$ac_cv_prog_cc_cross
8210 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
8211 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
8212 for ac_func in ceilf floorf
8214 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8215 echo "configure
:8216: checking
for $ac_func" >&5
8216 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8217 echo $ac_n "(cached
) $ac_c" 1>&6
8219 cat > conftest.$ac_ext <<EOF
8220 #line 8221 "configure
"
8221 #include "confdefs.h
"
8222 /* System header to define __stub macros and hopefully few prototypes,
8223 which can conflict with char $ac_func(); below. */
8225 /* Override any gcc2 internal prototype to avoid an error. */
8226 /* We use char because int might match the return type of a gcc2
8227 builtin and then its argument prototype would still apply. */
8232 /* The GNU C library defines this for functions which it implements
8233 to always fail with ENOSYS. Some functions are actually named
8234 something starting with __ and the normal name is an alias. */
8235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8243 if { (eval echo configure:8244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8245 eval "ac_cv_func_
$ac_func=yes"
8247 echo "configure
: failed program was
:" >&5
8248 cat conftest.$ac_ext >&5
8250 eval "ac_cv_func_
$ac_func=no
"
8255 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8256 echo "$ac_t""yes" 1>&6
8257 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8258 cat >> confdefs.h <<EOF
8259 #define $ac_tr_func 1
8263 echo "$ac_t""no
" 1>&6
8271 echo $ac_n "checking
for isnanf declaration
""...
$ac_c" 1>&6
8272 echo "configure
:8273: checking
for isnanf declaration
" >&5
8273 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
8274 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
8275 echo $ac_n "(cached
) $ac_c" 1>&6
8280 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8281 ac_cpp='$CXXCPP $CPPFLAGS'
8282 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8283 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8284 cross_compiling=$ac_cv_prog_cxx_cross
8286 cat > conftest.$ac_ext <<EOF
8287 #line 8288 "configure
"
8288 #include "confdefs.h
"
8290 #ifdef HAVE_IEEEFP_H
8298 if { (eval echo configure:8299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8300 glibcpp_cv_func_isnanf_use=yes
8302 echo "configure
: failed program was
:" >&5
8303 cat conftest.$ac_ext >&5
8305 glibcpp_cv_func_isnanf_use=no
8309 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8310 ac_cpp='$CPP $CPPFLAGS'
8311 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8312 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8313 cross_compiling=$ac_cv_prog_cc_cross
8319 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
8321 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
8322 for ac_func in isnanf
8324 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8325 echo "configure
:8326: checking
for $ac_func" >&5
8326 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8327 echo $ac_n "(cached
) $ac_c" 1>&6
8329 cat > conftest.$ac_ext <<EOF
8330 #line 8331 "configure
"
8331 #include "confdefs.h
"
8332 /* System header to define __stub macros and hopefully few prototypes,
8333 which can conflict with char $ac_func(); below. */
8335 /* Override any gcc2 internal prototype to avoid an error. */
8336 /* We use char because int might match the return type of a gcc2
8337 builtin and then its argument prototype would still apply. */
8342 /* The GNU C library defines this for functions which it implements
8343 to always fail with ENOSYS. Some functions are actually named
8344 something starting with __ and the normal name is an alias. */
8345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8353 if { (eval echo configure:8354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8355 eval "ac_cv_func_
$ac_func=yes"
8357 echo "configure
: failed program was
:" >&5
8358 cat conftest.$ac_ext >&5
8360 eval "ac_cv_func_
$ac_func=no
"
8365 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8366 echo "$ac_t""yes" 1>&6
8367 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8368 cat >> confdefs.h <<EOF
8369 #define $ac_tr_func 1
8373 echo "$ac_t""no
" 1>&6
8379 echo $ac_n "checking
for _isnanf declaration
""...
$ac_c" 1>&6
8380 echo "configure
:8381: checking
for _isnanf declaration
" >&5
8381 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
8382 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
8383 echo $ac_n "(cached
) $ac_c" 1>&6
8388 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8389 ac_cpp='$CXXCPP $CPPFLAGS'
8390 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8391 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8392 cross_compiling=$ac_cv_prog_cxx_cross
8394 cat > conftest.$ac_ext <<EOF
8395 #line 8396 "configure
"
8396 #include "confdefs.h
"
8398 #ifdef HAVE_IEEEFP_H
8406 if { (eval echo configure:8407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8408 glibcpp_cv_func__isnanf_use=yes
8410 echo "configure
: failed program was
:" >&5
8411 cat conftest.$ac_ext >&5
8413 glibcpp_cv_func__isnanf_use=no
8417 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8418 ac_cpp='$CPP $CPPFLAGS'
8419 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8420 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8421 cross_compiling=$ac_cv_prog_cc_cross
8427 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
8429 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
8430 for ac_func in _isnanf
8432 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8433 echo "configure
:8434: checking
for $ac_func" >&5
8434 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8435 echo $ac_n "(cached
) $ac_c" 1>&6
8437 cat > conftest.$ac_ext <<EOF
8438 #line 8439 "configure
"
8439 #include "confdefs.h
"
8440 /* System header to define __stub macros and hopefully few prototypes,
8441 which can conflict with char $ac_func(); below. */
8443 /* Override any gcc2 internal prototype to avoid an error. */
8444 /* We use char because int might match the return type of a gcc2
8445 builtin and then its argument prototype would still apply. */
8450 /* The GNU C library defines this for functions which it implements
8451 to always fail with ENOSYS. Some functions are actually named
8452 something starting with __ and the normal name is an alias. */
8453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8461 if { (eval echo configure:8462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8463 eval "ac_cv_func_
$ac_func=yes"
8465 echo "configure
: failed program was
:" >&5
8466 cat conftest.$ac_ext >&5
8468 eval "ac_cv_func_
$ac_func=no
"
8473 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8474 echo "$ac_t""yes" 1>&6
8475 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8476 cat >> confdefs.h <<EOF
8477 #define $ac_tr_func 1
8481 echo "$ac_t""no
" 1>&6
8490 echo $ac_n "checking
for isinff declaration
""...
$ac_c" 1>&6
8491 echo "configure
:8492: checking
for isinff declaration
" >&5
8492 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
8493 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
8494 echo $ac_n "(cached
) $ac_c" 1>&6
8499 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8500 ac_cpp='$CXXCPP $CPPFLAGS'
8501 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8502 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8503 cross_compiling=$ac_cv_prog_cxx_cross
8505 cat > conftest.$ac_ext <<EOF
8506 #line 8507 "configure
"
8507 #include "confdefs.h
"
8509 #ifdef HAVE_IEEEFP_H
8517 if { (eval echo configure:8518: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8519 glibcpp_cv_func_isinff_use=yes
8521 echo "configure
: failed program was
:" >&5
8522 cat conftest.$ac_ext >&5
8524 glibcpp_cv_func_isinff_use=no
8528 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8529 ac_cpp='$CPP $CPPFLAGS'
8530 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8531 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8532 cross_compiling=$ac_cv_prog_cc_cross
8538 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
8540 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
8541 for ac_func in isinff
8543 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8544 echo "configure
:8545: checking
for $ac_func" >&5
8545 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8546 echo $ac_n "(cached
) $ac_c" 1>&6
8548 cat > conftest.$ac_ext <<EOF
8549 #line 8550 "configure
"
8550 #include "confdefs.h
"
8551 /* System header to define __stub macros and hopefully few prototypes,
8552 which can conflict with char $ac_func(); below. */
8554 /* Override any gcc2 internal prototype to avoid an error. */
8555 /* We use char because int might match the return type of a gcc2
8556 builtin and then its argument prototype would still apply. */
8561 /* The GNU C library defines this for functions which it implements
8562 to always fail with ENOSYS. Some functions are actually named
8563 something starting with __ and the normal name is an alias. */
8564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8572 if { (eval echo configure:8573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8574 eval "ac_cv_func_
$ac_func=yes"
8576 echo "configure
: failed program was
:" >&5
8577 cat conftest.$ac_ext >&5
8579 eval "ac_cv_func_
$ac_func=no
"
8584 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8585 echo "$ac_t""yes" 1>&6
8586 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8587 cat >> confdefs.h <<EOF
8588 #define $ac_tr_func 1
8592 echo "$ac_t""no
" 1>&6
8598 echo $ac_n "checking
for _isinff declaration
""...
$ac_c" 1>&6
8599 echo "configure
:8600: checking
for _isinff declaration
" >&5
8600 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
8601 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
8602 echo $ac_n "(cached
) $ac_c" 1>&6
8607 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8608 ac_cpp='$CXXCPP $CPPFLAGS'
8609 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8610 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8611 cross_compiling=$ac_cv_prog_cxx_cross
8613 cat > conftest.$ac_ext <<EOF
8614 #line 8615 "configure
"
8615 #include "confdefs.h
"
8617 #ifdef HAVE_IEEEFP_H
8625 if { (eval echo configure:8626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8627 glibcpp_cv_func__isinff_use=yes
8629 echo "configure
: failed program was
:" >&5
8630 cat conftest.$ac_ext >&5
8632 glibcpp_cv_func__isinff_use=no
8636 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8637 ac_cpp='$CPP $CPPFLAGS'
8638 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8639 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8640 cross_compiling=$ac_cv_prog_cc_cross
8646 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
8648 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
8649 for ac_func in _isinff
8651 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8652 echo "configure
:8653: checking
for $ac_func" >&5
8653 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8654 echo $ac_n "(cached
) $ac_c" 1>&6
8656 cat > conftest.$ac_ext <<EOF
8657 #line 8658 "configure
"
8658 #include "confdefs.h
"
8659 /* System header to define __stub macros and hopefully few prototypes,
8660 which can conflict with char $ac_func(); below. */
8662 /* Override any gcc2 internal prototype to avoid an error. */
8663 /* We use char because int might match the return type of a gcc2
8664 builtin and then its argument prototype would still apply. */
8669 /* The GNU C library defines this for functions which it implements
8670 to always fail with ENOSYS. Some functions are actually named
8671 something starting with __ and the normal name is an alias. */
8672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8680 if { (eval echo configure:8681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8682 eval "ac_cv_func_
$ac_func=yes"
8684 echo "configure
: failed program was
:" >&5
8685 cat conftest.$ac_ext >&5
8687 eval "ac_cv_func_
$ac_func=no
"
8692 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8693 echo "$ac_t""yes" 1>&6
8694 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8695 cat >> confdefs.h <<EOF
8696 #define $ac_tr_func 1
8700 echo "$ac_t""no
" 1>&6
8709 echo $ac_n "checking
for atan2f declaration
""...
$ac_c" 1>&6
8710 echo "configure
:8711: checking
for atan2f declaration
" >&5
8711 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
8712 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
8713 echo $ac_n "(cached
) $ac_c" 1>&6
8718 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8719 ac_cpp='$CXXCPP $CPPFLAGS'
8720 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8721 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8722 cross_compiling=$ac_cv_prog_cxx_cross
8724 cat > conftest.$ac_ext <<EOF
8725 #line 8726 "configure
"
8726 #include "confdefs.h
"
8732 if { (eval echo configure:8733: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8734 glibcpp_cv_func_atan2f_use=yes
8736 echo "configure
: failed program was
:" >&5
8737 cat conftest.$ac_ext >&5
8739 glibcpp_cv_func_atan2f_use=no
8743 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8744 ac_cpp='$CPP $CPPFLAGS'
8745 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8746 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8747 cross_compiling=$ac_cv_prog_cc_cross
8753 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
8755 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
8756 for ac_func in atan2f
8758 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8759 echo "configure
:8760: checking
for $ac_func" >&5
8760 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8761 echo $ac_n "(cached
) $ac_c" 1>&6
8763 cat > conftest.$ac_ext <<EOF
8764 #line 8765 "configure
"
8765 #include "confdefs.h
"
8766 /* System header to define __stub macros and hopefully few prototypes,
8767 which can conflict with char $ac_func(); below. */
8769 /* Override any gcc2 internal prototype to avoid an error. */
8770 /* We use char because int might match the return type of a gcc2
8771 builtin and then its argument prototype would still apply. */
8776 /* The GNU C library defines this for functions which it implements
8777 to always fail with ENOSYS. Some functions are actually named
8778 something starting with __ and the normal name is an alias. */
8779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8787 if { (eval echo configure:8788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8789 eval "ac_cv_func_
$ac_func=yes"
8791 echo "configure
: failed program was
:" >&5
8792 cat conftest.$ac_ext >&5
8794 eval "ac_cv_func_
$ac_func=no
"
8799 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8800 echo "$ac_t""yes" 1>&6
8801 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8802 cat >> confdefs.h <<EOF
8803 #define $ac_tr_func 1
8807 echo "$ac_t""no
" 1>&6
8813 echo $ac_n "checking
for _atan2f declaration
""...
$ac_c" 1>&6
8814 echo "configure
:8815: checking
for _atan2f declaration
" >&5
8815 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
8816 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
8817 echo $ac_n "(cached
) $ac_c" 1>&6
8822 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8823 ac_cpp='$CXXCPP $CPPFLAGS'
8824 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8825 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8826 cross_compiling=$ac_cv_prog_cxx_cross
8828 cat > conftest.$ac_ext <<EOF
8829 #line 8830 "configure
"
8830 #include "confdefs.h
"
8836 if { (eval echo configure:8837: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8838 glibcpp_cv_func__atan2f_use=yes
8840 echo "configure
: failed program was
:" >&5
8841 cat conftest.$ac_ext >&5
8843 glibcpp_cv_func__atan2f_use=no
8847 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8848 ac_cpp='$CPP $CPPFLAGS'
8849 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8850 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8851 cross_compiling=$ac_cv_prog_cc_cross
8857 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
8859 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
8860 for ac_func in _atan2f
8862 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8863 echo "configure
:8864: checking
for $ac_func" >&5
8864 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8865 echo $ac_n "(cached
) $ac_c" 1>&6
8867 cat > conftest.$ac_ext <<EOF
8868 #line 8869 "configure
"
8869 #include "confdefs.h
"
8870 /* System header to define __stub macros and hopefully few prototypes,
8871 which can conflict with char $ac_func(); below. */
8873 /* Override any gcc2 internal prototype to avoid an error. */
8874 /* We use char because int might match the return type of a gcc2
8875 builtin and then its argument prototype would still apply. */
8880 /* The GNU C library defines this for functions which it implements
8881 to always fail with ENOSYS. Some functions are actually named
8882 something starting with __ and the normal name is an alias. */
8883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8891 if { (eval echo configure:8892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8893 eval "ac_cv_func_
$ac_func=yes"
8895 echo "configure
: failed program was
:" >&5
8896 cat conftest.$ac_ext >&5
8898 eval "ac_cv_func_
$ac_func=no
"
8903 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8904 echo "$ac_t""yes" 1>&6
8905 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8906 cat >> confdefs.h <<EOF
8907 #define $ac_tr_func 1
8911 echo "$ac_t""no
" 1>&6
8920 echo $ac_n "checking
for fabsf declaration
""...
$ac_c" 1>&6
8921 echo "configure
:8922: checking
for fabsf declaration
" >&5
8922 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
8923 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
8924 echo $ac_n "(cached
) $ac_c" 1>&6
8929 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8930 ac_cpp='$CXXCPP $CPPFLAGS'
8931 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8932 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8933 cross_compiling=$ac_cv_prog_cxx_cross
8935 cat > conftest.$ac_ext <<EOF
8936 #line 8937 "configure
"
8937 #include "confdefs.h
"
8939 #ifdef HAVE_IEEEFP_H
8947 if { (eval echo configure:8948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8949 glibcpp_cv_func_fabsf_use=yes
8951 echo "configure
: failed program was
:" >&5
8952 cat conftest.$ac_ext >&5
8954 glibcpp_cv_func_fabsf_use=no
8958 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8959 ac_cpp='$CPP $CPPFLAGS'
8960 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8961 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8962 cross_compiling=$ac_cv_prog_cc_cross
8968 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
8970 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
8971 for ac_func in fabsf
8973 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8974 echo "configure
:8975: checking
for $ac_func" >&5
8975 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8976 echo $ac_n "(cached
) $ac_c" 1>&6
8978 cat > conftest.$ac_ext <<EOF
8979 #line 8980 "configure
"
8980 #include "confdefs.h
"
8981 /* System header to define __stub macros and hopefully few prototypes,
8982 which can conflict with char $ac_func(); below. */
8984 /* Override any gcc2 internal prototype to avoid an error. */
8985 /* We use char because int might match the return type of a gcc2
8986 builtin and then its argument prototype would still apply. */
8991 /* The GNU C library defines this for functions which it implements
8992 to always fail with ENOSYS. Some functions are actually named
8993 something starting with __ and the normal name is an alias. */
8994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9002 if { (eval echo configure:9003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9004 eval "ac_cv_func_
$ac_func=yes"
9006 echo "configure
: failed program was
:" >&5
9007 cat conftest.$ac_ext >&5
9009 eval "ac_cv_func_
$ac_func=no
"
9014 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9015 echo "$ac_t""yes" 1>&6
9016 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9017 cat >> confdefs.h <<EOF
9018 #define $ac_tr_func 1
9022 echo "$ac_t""no
" 1>&6
9028 echo $ac_n "checking
for _fabsf declaration
""...
$ac_c" 1>&6
9029 echo "configure
:9030: checking
for _fabsf declaration
" >&5
9030 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
9031 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
9032 echo $ac_n "(cached
) $ac_c" 1>&6
9037 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9038 ac_cpp='$CXXCPP $CPPFLAGS'
9039 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9040 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9041 cross_compiling=$ac_cv_prog_cxx_cross
9043 cat > conftest.$ac_ext <<EOF
9044 #line 9045 "configure
"
9045 #include "confdefs.h
"
9047 #ifdef HAVE_IEEEFP_H
9055 if { (eval echo configure:9056: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9057 glibcpp_cv_func__fabsf_use=yes
9059 echo "configure
: failed program was
:" >&5
9060 cat conftest.$ac_ext >&5
9062 glibcpp_cv_func__fabsf_use=no
9066 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9067 ac_cpp='$CPP $CPPFLAGS'
9068 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9069 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9070 cross_compiling=$ac_cv_prog_cc_cross
9076 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
9078 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
9079 for ac_func in _fabsf
9081 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9082 echo "configure
:9083: checking
for $ac_func" >&5
9083 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9084 echo $ac_n "(cached
) $ac_c" 1>&6
9086 cat > conftest.$ac_ext <<EOF
9087 #line 9088 "configure
"
9088 #include "confdefs.h
"
9089 /* System header to define __stub macros and hopefully few prototypes,
9090 which can conflict with char $ac_func(); below. */
9092 /* Override any gcc2 internal prototype to avoid an error. */
9093 /* We use char because int might match the return type of a gcc2
9094 builtin and then its argument prototype would still apply. */
9099 /* The GNU C library defines this for functions which it implements
9100 to always fail with ENOSYS. Some functions are actually named
9101 something starting with __ and the normal name is an alias. */
9102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9110 if { (eval echo configure:9111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9112 eval "ac_cv_func_
$ac_func=yes"
9114 echo "configure
: failed program was
:" >&5
9115 cat conftest.$ac_ext >&5
9117 eval "ac_cv_func_
$ac_func=no
"
9122 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9123 echo "$ac_t""yes" 1>&6
9124 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9125 cat >> confdefs.h <<EOF
9126 #define $ac_tr_func 1
9130 echo "$ac_t""no
" 1>&6
9139 echo $ac_n "checking
for fmodf declaration
""...
$ac_c" 1>&6
9140 echo "configure
:9141: checking
for fmodf declaration
" >&5
9141 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
9142 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
9143 echo $ac_n "(cached
) $ac_c" 1>&6
9148 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9149 ac_cpp='$CXXCPP $CPPFLAGS'
9150 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9151 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9152 cross_compiling=$ac_cv_prog_cxx_cross
9154 cat > conftest.$ac_ext <<EOF
9155 #line 9156 "configure
"
9156 #include "confdefs.h
"
9162 if { (eval echo configure:9163: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9164 glibcpp_cv_func_fmodf_use=yes
9166 echo "configure
: failed program was
:" >&5
9167 cat conftest.$ac_ext >&5
9169 glibcpp_cv_func_fmodf_use=no
9173 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9174 ac_cpp='$CPP $CPPFLAGS'
9175 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9176 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9177 cross_compiling=$ac_cv_prog_cc_cross
9183 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
9185 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
9186 for ac_func in fmodf
9188 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9189 echo "configure
:9190: checking
for $ac_func" >&5
9190 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9191 echo $ac_n "(cached
) $ac_c" 1>&6
9193 cat > conftest.$ac_ext <<EOF
9194 #line 9195 "configure
"
9195 #include "confdefs.h
"
9196 /* System header to define __stub macros and hopefully few prototypes,
9197 which can conflict with char $ac_func(); below. */
9199 /* Override any gcc2 internal prototype to avoid an error. */
9200 /* We use char because int might match the return type of a gcc2
9201 builtin and then its argument prototype would still apply. */
9206 /* The GNU C library defines this for functions which it implements
9207 to always fail with ENOSYS. Some functions are actually named
9208 something starting with __ and the normal name is an alias. */
9209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9217 if { (eval echo configure:9218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9219 eval "ac_cv_func_
$ac_func=yes"
9221 echo "configure
: failed program was
:" >&5
9222 cat conftest.$ac_ext >&5
9224 eval "ac_cv_func_
$ac_func=no
"
9229 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9230 echo "$ac_t""yes" 1>&6
9231 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9232 cat >> confdefs.h <<EOF
9233 #define $ac_tr_func 1
9237 echo "$ac_t""no
" 1>&6
9243 echo $ac_n "checking
for _fmodf declaration
""...
$ac_c" 1>&6
9244 echo "configure
:9245: checking
for _fmodf declaration
" >&5
9245 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
9246 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
9247 echo $ac_n "(cached
) $ac_c" 1>&6
9252 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9253 ac_cpp='$CXXCPP $CPPFLAGS'
9254 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9255 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9256 cross_compiling=$ac_cv_prog_cxx_cross
9258 cat > conftest.$ac_ext <<EOF
9259 #line 9260 "configure
"
9260 #include "confdefs.h
"
9266 if { (eval echo configure:9267: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9268 glibcpp_cv_func__fmodf_use=yes
9270 echo "configure
: failed program was
:" >&5
9271 cat conftest.$ac_ext >&5
9273 glibcpp_cv_func__fmodf_use=no
9277 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9278 ac_cpp='$CPP $CPPFLAGS'
9279 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9280 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9281 cross_compiling=$ac_cv_prog_cc_cross
9287 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
9289 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
9290 for ac_func in _fmodf
9292 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9293 echo "configure
:9294: checking
for $ac_func" >&5
9294 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9295 echo $ac_n "(cached
) $ac_c" 1>&6
9297 cat > conftest.$ac_ext <<EOF
9298 #line 9299 "configure
"
9299 #include "confdefs.h
"
9300 /* System header to define __stub macros and hopefully few prototypes,
9301 which can conflict with char $ac_func(); below. */
9303 /* Override any gcc2 internal prototype to avoid an error. */
9304 /* We use char because int might match the return type of a gcc2
9305 builtin and then its argument prototype would still apply. */
9310 /* The GNU C library defines this for functions which it implements
9311 to always fail with ENOSYS. Some functions are actually named
9312 something starting with __ and the normal name is an alias. */
9313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9321 if { (eval echo configure:9322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9323 eval "ac_cv_func_
$ac_func=yes"
9325 echo "configure
: failed program was
:" >&5
9326 cat conftest.$ac_ext >&5
9328 eval "ac_cv_func_
$ac_func=no
"
9333 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9334 echo "$ac_t""yes" 1>&6
9335 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9336 cat >> confdefs.h <<EOF
9337 #define $ac_tr_func 1
9341 echo "$ac_t""no
" 1>&6
9350 echo $ac_n "checking
for frexpf declaration
""...
$ac_c" 1>&6
9351 echo "configure
:9352: checking
for frexpf declaration
" >&5
9352 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
9353 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
9354 echo $ac_n "(cached
) $ac_c" 1>&6
9359 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9360 ac_cpp='$CXXCPP $CPPFLAGS'
9361 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9362 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9363 cross_compiling=$ac_cv_prog_cxx_cross
9365 cat > conftest.$ac_ext <<EOF
9366 #line 9367 "configure
"
9367 #include "confdefs.h
"
9373 if { (eval echo configure:9374: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9375 glibcpp_cv_func_frexpf_use=yes
9377 echo "configure
: failed program was
:" >&5
9378 cat conftest.$ac_ext >&5
9380 glibcpp_cv_func_frexpf_use=no
9384 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9385 ac_cpp='$CPP $CPPFLAGS'
9386 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9387 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9388 cross_compiling=$ac_cv_prog_cc_cross
9394 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
9396 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
9397 for ac_func in frexpf
9399 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9400 echo "configure
:9401: checking
for $ac_func" >&5
9401 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9402 echo $ac_n "(cached
) $ac_c" 1>&6
9404 cat > conftest.$ac_ext <<EOF
9405 #line 9406 "configure
"
9406 #include "confdefs.h
"
9407 /* System header to define __stub macros and hopefully few prototypes,
9408 which can conflict with char $ac_func(); below. */
9410 /* Override any gcc2 internal prototype to avoid an error. */
9411 /* We use char because int might match the return type of a gcc2
9412 builtin and then its argument prototype would still apply. */
9417 /* The GNU C library defines this for functions which it implements
9418 to always fail with ENOSYS. Some functions are actually named
9419 something starting with __ and the normal name is an alias. */
9420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9428 if { (eval echo configure:9429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9430 eval "ac_cv_func_
$ac_func=yes"
9432 echo "configure
: failed program was
:" >&5
9433 cat conftest.$ac_ext >&5
9435 eval "ac_cv_func_
$ac_func=no
"
9440 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9441 echo "$ac_t""yes" 1>&6
9442 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9443 cat >> confdefs.h <<EOF
9444 #define $ac_tr_func 1
9448 echo "$ac_t""no
" 1>&6
9454 echo $ac_n "checking
for _frexpf declaration
""...
$ac_c" 1>&6
9455 echo "configure
:9456: checking
for _frexpf declaration
" >&5
9456 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
9457 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
9458 echo $ac_n "(cached
) $ac_c" 1>&6
9463 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9464 ac_cpp='$CXXCPP $CPPFLAGS'
9465 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9466 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9467 cross_compiling=$ac_cv_prog_cxx_cross
9469 cat > conftest.$ac_ext <<EOF
9470 #line 9471 "configure
"
9471 #include "confdefs.h
"
9477 if { (eval echo configure:9478: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9479 glibcpp_cv_func__frexpf_use=yes
9481 echo "configure
: failed program was
:" >&5
9482 cat conftest.$ac_ext >&5
9484 glibcpp_cv_func__frexpf_use=no
9488 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9489 ac_cpp='$CPP $CPPFLAGS'
9490 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9491 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9492 cross_compiling=$ac_cv_prog_cc_cross
9498 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
9500 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
9501 for ac_func in _frexpf
9503 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9504 echo "configure
:9505: checking
for $ac_func" >&5
9505 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9506 echo $ac_n "(cached
) $ac_c" 1>&6
9508 cat > conftest.$ac_ext <<EOF
9509 #line 9510 "configure
"
9510 #include "confdefs.h
"
9511 /* System header to define __stub macros and hopefully few prototypes,
9512 which can conflict with char $ac_func(); below. */
9514 /* Override any gcc2 internal prototype to avoid an error. */
9515 /* We use char because int might match the return type of a gcc2
9516 builtin and then its argument prototype would still apply. */
9521 /* The GNU C library defines this for functions which it implements
9522 to always fail with ENOSYS. Some functions are actually named
9523 something starting with __ and the normal name is an alias. */
9524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9532 if { (eval echo configure:9533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9534 eval "ac_cv_func_
$ac_func=yes"
9536 echo "configure
: failed program was
:" >&5
9537 cat conftest.$ac_ext >&5
9539 eval "ac_cv_func_
$ac_func=no
"
9544 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9545 echo "$ac_t""yes" 1>&6
9546 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9547 cat >> confdefs.h <<EOF
9548 #define $ac_tr_func 1
9552 echo "$ac_t""no
" 1>&6
9561 echo $ac_n "checking
for hypotf declaration
""...
$ac_c" 1>&6
9562 echo "configure
:9563: checking
for hypotf declaration
" >&5
9563 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
9564 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
9565 echo $ac_n "(cached
) $ac_c" 1>&6
9570 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9571 ac_cpp='$CXXCPP $CPPFLAGS'
9572 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9573 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9574 cross_compiling=$ac_cv_prog_cxx_cross
9576 cat > conftest.$ac_ext <<EOF
9577 #line 9578 "configure
"
9578 #include "confdefs.h
"
9584 if { (eval echo configure:9585: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9586 glibcpp_cv_func_hypotf_use=yes
9588 echo "configure
: failed program was
:" >&5
9589 cat conftest.$ac_ext >&5
9591 glibcpp_cv_func_hypotf_use=no
9595 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9596 ac_cpp='$CPP $CPPFLAGS'
9597 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9598 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9599 cross_compiling=$ac_cv_prog_cc_cross
9605 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
9607 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
9608 for ac_func in hypotf
9610 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9611 echo "configure
:9612: checking
for $ac_func" >&5
9612 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9613 echo $ac_n "(cached
) $ac_c" 1>&6
9615 cat > conftest.$ac_ext <<EOF
9616 #line 9617 "configure
"
9617 #include "confdefs.h
"
9618 /* System header to define __stub macros and hopefully few prototypes,
9619 which can conflict with char $ac_func(); below. */
9621 /* Override any gcc2 internal prototype to avoid an error. */
9622 /* We use char because int might match the return type of a gcc2
9623 builtin and then its argument prototype would still apply. */
9628 /* The GNU C library defines this for functions which it implements
9629 to always fail with ENOSYS. Some functions are actually named
9630 something starting with __ and the normal name is an alias. */
9631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9639 if { (eval echo configure:9640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9641 eval "ac_cv_func_
$ac_func=yes"
9643 echo "configure
: failed program was
:" >&5
9644 cat conftest.$ac_ext >&5
9646 eval "ac_cv_func_
$ac_func=no
"
9651 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9652 echo "$ac_t""yes" 1>&6
9653 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9654 cat >> confdefs.h <<EOF
9655 #define $ac_tr_func 1
9659 echo "$ac_t""no
" 1>&6
9665 echo $ac_n "checking
for _hypotf declaration
""...
$ac_c" 1>&6
9666 echo "configure
:9667: checking
for _hypotf declaration
" >&5
9667 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
9668 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
9669 echo $ac_n "(cached
) $ac_c" 1>&6
9674 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9675 ac_cpp='$CXXCPP $CPPFLAGS'
9676 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9677 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9678 cross_compiling=$ac_cv_prog_cxx_cross
9680 cat > conftest.$ac_ext <<EOF
9681 #line 9682 "configure
"
9682 #include "confdefs.h
"
9688 if { (eval echo configure:9689: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9690 glibcpp_cv_func__hypotf_use=yes
9692 echo "configure
: failed program was
:" >&5
9693 cat conftest.$ac_ext >&5
9695 glibcpp_cv_func__hypotf_use=no
9699 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9700 ac_cpp='$CPP $CPPFLAGS'
9701 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9702 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9703 cross_compiling=$ac_cv_prog_cc_cross
9709 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
9711 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
9712 for ac_func in _hypotf
9714 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9715 echo "configure
:9716: checking
for $ac_func" >&5
9716 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9717 echo $ac_n "(cached
) $ac_c" 1>&6
9719 cat > conftest.$ac_ext <<EOF
9720 #line 9721 "configure
"
9721 #include "confdefs.h
"
9722 /* System header to define __stub macros and hopefully few prototypes,
9723 which can conflict with char $ac_func(); below. */
9725 /* Override any gcc2 internal prototype to avoid an error. */
9726 /* We use char because int might match the return type of a gcc2
9727 builtin and then its argument prototype would still apply. */
9732 /* The GNU C library defines this for functions which it implements
9733 to always fail with ENOSYS. Some functions are actually named
9734 something starting with __ and the normal name is an alias. */
9735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9743 if { (eval echo configure:9744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9745 eval "ac_cv_func_
$ac_func=yes"
9747 echo "configure
: failed program was
:" >&5
9748 cat conftest.$ac_ext >&5
9750 eval "ac_cv_func_
$ac_func=no
"
9755 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9756 echo "$ac_t""yes" 1>&6
9757 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9758 cat >> confdefs.h <<EOF
9759 #define $ac_tr_func 1
9763 echo "$ac_t""no
" 1>&6
9772 echo $ac_n "checking
for ldexpf declaration
""...
$ac_c" 1>&6
9773 echo "configure
:9774: checking
for ldexpf declaration
" >&5
9774 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
9775 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
9776 echo $ac_n "(cached
) $ac_c" 1>&6
9781 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9782 ac_cpp='$CXXCPP $CPPFLAGS'
9783 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9784 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9785 cross_compiling=$ac_cv_prog_cxx_cross
9787 cat > conftest.$ac_ext <<EOF
9788 #line 9789 "configure
"
9789 #include "confdefs.h
"
9795 if { (eval echo configure:9796: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9797 glibcpp_cv_func_ldexpf_use=yes
9799 echo "configure
: failed program was
:" >&5
9800 cat conftest.$ac_ext >&5
9802 glibcpp_cv_func_ldexpf_use=no
9806 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9807 ac_cpp='$CPP $CPPFLAGS'
9808 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9809 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9810 cross_compiling=$ac_cv_prog_cc_cross
9816 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
9818 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
9819 for ac_func in ldexpf
9821 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9822 echo "configure
:9823: checking
for $ac_func" >&5
9823 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9824 echo $ac_n "(cached
) $ac_c" 1>&6
9826 cat > conftest.$ac_ext <<EOF
9827 #line 9828 "configure
"
9828 #include "confdefs.h
"
9829 /* System header to define __stub macros and hopefully few prototypes,
9830 which can conflict with char $ac_func(); below. */
9832 /* Override any gcc2 internal prototype to avoid an error. */
9833 /* We use char because int might match the return type of a gcc2
9834 builtin and then its argument prototype would still apply. */
9839 /* The GNU C library defines this for functions which it implements
9840 to always fail with ENOSYS. Some functions are actually named
9841 something starting with __ and the normal name is an alias. */
9842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9850 if { (eval echo configure:9851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9852 eval "ac_cv_func_
$ac_func=yes"
9854 echo "configure
: failed program was
:" >&5
9855 cat conftest.$ac_ext >&5
9857 eval "ac_cv_func_
$ac_func=no
"
9862 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9863 echo "$ac_t""yes" 1>&6
9864 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9865 cat >> confdefs.h <<EOF
9866 #define $ac_tr_func 1
9870 echo "$ac_t""no
" 1>&6
9876 echo $ac_n "checking
for _ldexpf declaration
""...
$ac_c" 1>&6
9877 echo "configure
:9878: checking
for _ldexpf declaration
" >&5
9878 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
9879 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
9880 echo $ac_n "(cached
) $ac_c" 1>&6
9885 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9886 ac_cpp='$CXXCPP $CPPFLAGS'
9887 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9888 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9889 cross_compiling=$ac_cv_prog_cxx_cross
9891 cat > conftest.$ac_ext <<EOF
9892 #line 9893 "configure
"
9893 #include "confdefs.h
"
9899 if { (eval echo configure:9900: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9901 glibcpp_cv_func__ldexpf_use=yes
9903 echo "configure
: failed program was
:" >&5
9904 cat conftest.$ac_ext >&5
9906 glibcpp_cv_func__ldexpf_use=no
9910 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9911 ac_cpp='$CPP $CPPFLAGS'
9912 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9913 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9914 cross_compiling=$ac_cv_prog_cc_cross
9920 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
9922 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
9923 for ac_func in _ldexpf
9925 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9926 echo "configure
:9927: checking
for $ac_func" >&5
9927 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9928 echo $ac_n "(cached
) $ac_c" 1>&6
9930 cat > conftest.$ac_ext <<EOF
9931 #line 9932 "configure
"
9932 #include "confdefs.h
"
9933 /* System header to define __stub macros and hopefully few prototypes,
9934 which can conflict with char $ac_func(); below. */
9936 /* Override any gcc2 internal prototype to avoid an error. */
9937 /* We use char because int might match the return type of a gcc2
9938 builtin and then its argument prototype would still apply. */
9943 /* The GNU C library defines this for functions which it implements
9944 to always fail with ENOSYS. Some functions are actually named
9945 something starting with __ and the normal name is an alias. */
9946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9954 if { (eval echo configure:9955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9956 eval "ac_cv_func_
$ac_func=yes"
9958 echo "configure
: failed program was
:" >&5
9959 cat conftest.$ac_ext >&5
9961 eval "ac_cv_func_
$ac_func=no
"
9966 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9967 echo "$ac_t""yes" 1>&6
9968 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9969 cat >> confdefs.h <<EOF
9970 #define $ac_tr_func 1
9974 echo "$ac_t""no
" 1>&6
9983 echo $ac_n "checking
for logf declaration
""...
$ac_c" 1>&6
9984 echo "configure
:9985: checking
for logf declaration
" >&5
9985 if test x${glibcpp_cv_func_logf_use+set} != xset; then
9986 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
9987 echo $ac_n "(cached
) $ac_c" 1>&6
9992 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9993 ac_cpp='$CXXCPP $CPPFLAGS'
9994 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9995 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9996 cross_compiling=$ac_cv_prog_cxx_cross
9998 cat > conftest.$ac_ext <<EOF
9999 #line 10000 "configure
"
10000 #include "confdefs.h
"
10002 #ifdef HAVE_IEEEFP_H
10003 #include <ieeefp.h>
10010 if { (eval echo configure:10011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10012 glibcpp_cv_func_logf_use=yes
10014 echo "configure
: failed program was
:" >&5
10015 cat conftest.$ac_ext >&5
10017 glibcpp_cv_func_logf_use=no
10021 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10022 ac_cpp='$CPP $CPPFLAGS'
10023 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10024 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10025 cross_compiling=$ac_cv_prog_cc_cross
10031 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
10033 if test x$glibcpp_cv_func_logf_use = x"yes"; then
10034 for ac_func in logf
10036 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10037 echo "configure
:10038: checking
for $ac_func" >&5
10038 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10039 echo $ac_n "(cached
) $ac_c" 1>&6
10041 cat > conftest.$ac_ext <<EOF
10042 #line 10043 "configure
"
10043 #include "confdefs.h
"
10044 /* System header to define __stub macros and hopefully few prototypes,
10045 which can conflict with char $ac_func(); below. */
10046 #include <assert.h>
10047 /* Override any gcc2 internal prototype to avoid an error. */
10048 /* We use char because int might match the return type of a gcc2
10049 builtin and then its argument prototype would still apply. */
10054 /* The GNU C library defines this for functions which it implements
10055 to always fail with ENOSYS. Some functions are actually named
10056 something starting with __ and the normal name is an alias. */
10057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10065 if { (eval echo configure:10066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10067 eval "ac_cv_func_
$ac_func=yes"
10069 echo "configure
: failed program was
:" >&5
10070 cat conftest.$ac_ext >&5
10072 eval "ac_cv_func_
$ac_func=no
"
10077 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10078 echo "$ac_t""yes" 1>&6
10079 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10080 cat >> confdefs.h <<EOF
10081 #define $ac_tr_func 1
10085 echo "$ac_t""no
" 1>&6
10091 echo $ac_n "checking
for _logf declaration
""...
$ac_c" 1>&6
10092 echo "configure
:10093: checking
for _logf declaration
" >&5
10093 if test x${glibcpp_cv_func__logf_use+set} != xset; then
10094 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
10095 echo $ac_n "(cached
) $ac_c" 1>&6
10100 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10101 ac_cpp='$CXXCPP $CPPFLAGS'
10102 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10103 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10104 cross_compiling=$ac_cv_prog_cxx_cross
10106 cat > conftest.$ac_ext <<EOF
10107 #line 10108 "configure
"
10108 #include "confdefs.h
"
10110 #ifdef HAVE_IEEEFP_H
10111 #include <ieeefp.h>
10118 if { (eval echo configure:10119: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10120 glibcpp_cv_func__logf_use=yes
10122 echo "configure
: failed program was
:" >&5
10123 cat conftest.$ac_ext >&5
10125 glibcpp_cv_func__logf_use=no
10129 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10130 ac_cpp='$CPP $CPPFLAGS'
10131 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10132 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10133 cross_compiling=$ac_cv_prog_cc_cross
10139 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
10141 if test x$glibcpp_cv_func__logf_use = x"yes"; then
10142 for ac_func in _logf
10144 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10145 echo "configure
:10146: checking
for $ac_func" >&5
10146 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10147 echo $ac_n "(cached
) $ac_c" 1>&6
10149 cat > conftest.$ac_ext <<EOF
10150 #line 10151 "configure
"
10151 #include "confdefs.h
"
10152 /* System header to define __stub macros and hopefully few prototypes,
10153 which can conflict with char $ac_func(); below. */
10154 #include <assert.h>
10155 /* Override any gcc2 internal prototype to avoid an error. */
10156 /* We use char because int might match the return type of a gcc2
10157 builtin and then its argument prototype would still apply. */
10162 /* The GNU C library defines this for functions which it implements
10163 to always fail with ENOSYS. Some functions are actually named
10164 something starting with __ and the normal name is an alias. */
10165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10173 if { (eval echo configure:10174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10175 eval "ac_cv_func_
$ac_func=yes"
10177 echo "configure
: failed program was
:" >&5
10178 cat conftest.$ac_ext >&5
10180 eval "ac_cv_func_
$ac_func=no
"
10185 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10186 echo "$ac_t""yes" 1>&6
10187 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10188 cat >> confdefs.h <<EOF
10189 #define $ac_tr_func 1
10193 echo "$ac_t""no
" 1>&6
10202 echo $ac_n "checking
for log10f declaration
""...
$ac_c" 1>&6
10203 echo "configure
:10204: checking
for log10f declaration
" >&5
10204 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
10205 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
10206 echo $ac_n "(cached
) $ac_c" 1>&6
10211 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10212 ac_cpp='$CXXCPP $CPPFLAGS'
10213 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10214 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10215 cross_compiling=$ac_cv_prog_cxx_cross
10217 cat > conftest.$ac_ext <<EOF
10218 #line 10219 "configure
"
10219 #include "confdefs.h
"
10221 #ifdef HAVE_IEEEFP_H
10222 #include <ieeefp.h>
10229 if { (eval echo configure:10230: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10231 glibcpp_cv_func_log10f_use=yes
10233 echo "configure
: failed program was
:" >&5
10234 cat conftest.$ac_ext >&5
10236 glibcpp_cv_func_log10f_use=no
10240 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10241 ac_cpp='$CPP $CPPFLAGS'
10242 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10243 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10244 cross_compiling=$ac_cv_prog_cc_cross
10250 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
10252 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
10253 for ac_func in log10f
10255 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10256 echo "configure
:10257: checking
for $ac_func" >&5
10257 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10258 echo $ac_n "(cached
) $ac_c" 1>&6
10260 cat > conftest.$ac_ext <<EOF
10261 #line 10262 "configure
"
10262 #include "confdefs.h
"
10263 /* System header to define __stub macros and hopefully few prototypes,
10264 which can conflict with char $ac_func(); below. */
10265 #include <assert.h>
10266 /* Override any gcc2 internal prototype to avoid an error. */
10267 /* We use char because int might match the return type of a gcc2
10268 builtin and then its argument prototype would still apply. */
10273 /* The GNU C library defines this for functions which it implements
10274 to always fail with ENOSYS. Some functions are actually named
10275 something starting with __ and the normal name is an alias. */
10276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10284 if { (eval echo configure:10285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10286 eval "ac_cv_func_
$ac_func=yes"
10288 echo "configure
: failed program was
:" >&5
10289 cat conftest.$ac_ext >&5
10291 eval "ac_cv_func_
$ac_func=no
"
10296 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10297 echo "$ac_t""yes" 1>&6
10298 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10299 cat >> confdefs.h <<EOF
10300 #define $ac_tr_func 1
10304 echo "$ac_t""no
" 1>&6
10310 echo $ac_n "checking
for _log10f declaration
""...
$ac_c" 1>&6
10311 echo "configure
:10312: checking
for _log10f declaration
" >&5
10312 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
10313 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
10314 echo $ac_n "(cached
) $ac_c" 1>&6
10319 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10320 ac_cpp='$CXXCPP $CPPFLAGS'
10321 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10322 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10323 cross_compiling=$ac_cv_prog_cxx_cross
10325 cat > conftest.$ac_ext <<EOF
10326 #line 10327 "configure
"
10327 #include "confdefs.h
"
10329 #ifdef HAVE_IEEEFP_H
10330 #include <ieeefp.h>
10337 if { (eval echo configure:10338: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10339 glibcpp_cv_func__log10f_use=yes
10341 echo "configure
: failed program was
:" >&5
10342 cat conftest.$ac_ext >&5
10344 glibcpp_cv_func__log10f_use=no
10348 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10349 ac_cpp='$CPP $CPPFLAGS'
10350 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10351 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10352 cross_compiling=$ac_cv_prog_cc_cross
10358 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
10360 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
10361 for ac_func in _log10f
10363 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10364 echo "configure
:10365: checking
for $ac_func" >&5
10365 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10366 echo $ac_n "(cached
) $ac_c" 1>&6
10368 cat > conftest.$ac_ext <<EOF
10369 #line 10370 "configure
"
10370 #include "confdefs.h
"
10371 /* System header to define __stub macros and hopefully few prototypes,
10372 which can conflict with char $ac_func(); below. */
10373 #include <assert.h>
10374 /* Override any gcc2 internal prototype to avoid an error. */
10375 /* We use char because int might match the return type of a gcc2
10376 builtin and then its argument prototype would still apply. */
10381 /* The GNU C library defines this for functions which it implements
10382 to always fail with ENOSYS. Some functions are actually named
10383 something starting with __ and the normal name is an alias. */
10384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10392 if { (eval echo configure:10393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10394 eval "ac_cv_func_
$ac_func=yes"
10396 echo "configure
: failed program was
:" >&5
10397 cat conftest.$ac_ext >&5
10399 eval "ac_cv_func_
$ac_func=no
"
10404 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10405 echo "$ac_t""yes" 1>&6
10406 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10407 cat >> confdefs.h <<EOF
10408 #define $ac_tr_func 1
10412 echo "$ac_t""no
" 1>&6
10421 echo $ac_n "checking
for modff declaration
""...
$ac_c" 1>&6
10422 echo "configure
:10423: checking
for modff declaration
" >&5
10423 if test x${glibcpp_cv_func_modff_use+set} != xset; then
10424 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
10425 echo $ac_n "(cached
) $ac_c" 1>&6
10430 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10431 ac_cpp='$CXXCPP $CPPFLAGS'
10432 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10433 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10434 cross_compiling=$ac_cv_prog_cxx_cross
10436 cat > conftest.$ac_ext <<EOF
10437 #line 10438 "configure
"
10438 #include "confdefs.h
"
10444 if { (eval echo configure:10445: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10446 glibcpp_cv_func_modff_use=yes
10448 echo "configure
: failed program was
:" >&5
10449 cat conftest.$ac_ext >&5
10451 glibcpp_cv_func_modff_use=no
10455 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10456 ac_cpp='$CPP $CPPFLAGS'
10457 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10458 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10459 cross_compiling=$ac_cv_prog_cc_cross
10465 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
10467 if test x$glibcpp_cv_func_modff_use = x"yes"; then
10468 for ac_func in modff
10470 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10471 echo "configure
:10472: checking
for $ac_func" >&5
10472 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10473 echo $ac_n "(cached
) $ac_c" 1>&6
10475 cat > conftest.$ac_ext <<EOF
10476 #line 10477 "configure
"
10477 #include "confdefs.h
"
10478 /* System header to define __stub macros and hopefully few prototypes,
10479 which can conflict with char $ac_func(); below. */
10480 #include <assert.h>
10481 /* Override any gcc2 internal prototype to avoid an error. */
10482 /* We use char because int might match the return type of a gcc2
10483 builtin and then its argument prototype would still apply. */
10488 /* The GNU C library defines this for functions which it implements
10489 to always fail with ENOSYS. Some functions are actually named
10490 something starting with __ and the normal name is an alias. */
10491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10499 if { (eval echo configure:10500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10501 eval "ac_cv_func_
$ac_func=yes"
10503 echo "configure
: failed program was
:" >&5
10504 cat conftest.$ac_ext >&5
10506 eval "ac_cv_func_
$ac_func=no
"
10511 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10512 echo "$ac_t""yes" 1>&6
10513 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10514 cat >> confdefs.h <<EOF
10515 #define $ac_tr_func 1
10519 echo "$ac_t""no
" 1>&6
10525 echo $ac_n "checking
for _modff declaration
""...
$ac_c" 1>&6
10526 echo "configure
:10527: checking
for _modff declaration
" >&5
10527 if test x${glibcpp_cv_func__modff_use+set} != xset; then
10528 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
10529 echo $ac_n "(cached
) $ac_c" 1>&6
10534 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10535 ac_cpp='$CXXCPP $CPPFLAGS'
10536 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10537 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10538 cross_compiling=$ac_cv_prog_cxx_cross
10540 cat > conftest.$ac_ext <<EOF
10541 #line 10542 "configure
"
10542 #include "confdefs.h
"
10548 if { (eval echo configure:10549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10550 glibcpp_cv_func__modff_use=yes
10552 echo "configure
: failed program was
:" >&5
10553 cat conftest.$ac_ext >&5
10555 glibcpp_cv_func__modff_use=no
10559 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10560 ac_cpp='$CPP $CPPFLAGS'
10561 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10562 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10563 cross_compiling=$ac_cv_prog_cc_cross
10569 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
10571 if test x$glibcpp_cv_func__modff_use = x"yes"; then
10572 for ac_func in _modff
10574 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10575 echo "configure
:10576: checking
for $ac_func" >&5
10576 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10577 echo $ac_n "(cached
) $ac_c" 1>&6
10579 cat > conftest.$ac_ext <<EOF
10580 #line 10581 "configure
"
10581 #include "confdefs.h
"
10582 /* System header to define __stub macros and hopefully few prototypes,
10583 which can conflict with char $ac_func(); below. */
10584 #include <assert.h>
10585 /* Override any gcc2 internal prototype to avoid an error. */
10586 /* We use char because int might match the return type of a gcc2
10587 builtin and then its argument prototype would still apply. */
10592 /* The GNU C library defines this for functions which it implements
10593 to always fail with ENOSYS. Some functions are actually named
10594 something starting with __ and the normal name is an alias. */
10595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10603 if { (eval echo configure:10604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10605 eval "ac_cv_func_
$ac_func=yes"
10607 echo "configure
: failed program was
:" >&5
10608 cat conftest.$ac_ext >&5
10610 eval "ac_cv_func_
$ac_func=no
"
10615 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10616 echo "$ac_t""yes" 1>&6
10617 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10618 cat >> confdefs.h <<EOF
10619 #define $ac_tr_func 1
10623 echo "$ac_t""no
" 1>&6
10632 echo $ac_n "checking
for powf declaration
""...
$ac_c" 1>&6
10633 echo "configure
:10634: checking
for powf declaration
" >&5
10634 if test x${glibcpp_cv_func_powf_use+set} != xset; then
10635 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
10636 echo $ac_n "(cached
) $ac_c" 1>&6
10641 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10642 ac_cpp='$CXXCPP $CPPFLAGS'
10643 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10644 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10645 cross_compiling=$ac_cv_prog_cxx_cross
10647 cat > conftest.$ac_ext <<EOF
10648 #line 10649 "configure
"
10649 #include "confdefs.h
"
10655 if { (eval echo configure:10656: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10657 glibcpp_cv_func_powf_use=yes
10659 echo "configure
: failed program was
:" >&5
10660 cat conftest.$ac_ext >&5
10662 glibcpp_cv_func_powf_use=no
10666 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10667 ac_cpp='$CPP $CPPFLAGS'
10668 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10669 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10670 cross_compiling=$ac_cv_prog_cc_cross
10676 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
10678 if test x$glibcpp_cv_func_powf_use = x"yes"; then
10679 for ac_func in powf
10681 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10682 echo "configure
:10683: checking
for $ac_func" >&5
10683 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10684 echo $ac_n "(cached
) $ac_c" 1>&6
10686 cat > conftest.$ac_ext <<EOF
10687 #line 10688 "configure
"
10688 #include "confdefs.h
"
10689 /* System header to define __stub macros and hopefully few prototypes,
10690 which can conflict with char $ac_func(); below. */
10691 #include <assert.h>
10692 /* Override any gcc2 internal prototype to avoid an error. */
10693 /* We use char because int might match the return type of a gcc2
10694 builtin and then its argument prototype would still apply. */
10699 /* The GNU C library defines this for functions which it implements
10700 to always fail with ENOSYS. Some functions are actually named
10701 something starting with __ and the normal name is an alias. */
10702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10710 if { (eval echo configure:10711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10712 eval "ac_cv_func_
$ac_func=yes"
10714 echo "configure
: failed program was
:" >&5
10715 cat conftest.$ac_ext >&5
10717 eval "ac_cv_func_
$ac_func=no
"
10722 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10723 echo "$ac_t""yes" 1>&6
10724 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10725 cat >> confdefs.h <<EOF
10726 #define $ac_tr_func 1
10730 echo "$ac_t""no
" 1>&6
10736 echo $ac_n "checking
for _powf declaration
""...
$ac_c" 1>&6
10737 echo "configure
:10738: checking
for _powf declaration
" >&5
10738 if test x${glibcpp_cv_func__powf_use+set} != xset; then
10739 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
10740 echo $ac_n "(cached
) $ac_c" 1>&6
10745 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10746 ac_cpp='$CXXCPP $CPPFLAGS'
10747 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10748 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10749 cross_compiling=$ac_cv_prog_cxx_cross
10751 cat > conftest.$ac_ext <<EOF
10752 #line 10753 "configure
"
10753 #include "confdefs.h
"
10759 if { (eval echo configure:10760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10761 glibcpp_cv_func__powf_use=yes
10763 echo "configure
: failed program was
:" >&5
10764 cat conftest.$ac_ext >&5
10766 glibcpp_cv_func__powf_use=no
10770 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10771 ac_cpp='$CPP $CPPFLAGS'
10772 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10773 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10774 cross_compiling=$ac_cv_prog_cc_cross
10780 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
10782 if test x$glibcpp_cv_func__powf_use = x"yes"; then
10783 for ac_func in _powf
10785 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10786 echo "configure
:10787: checking
for $ac_func" >&5
10787 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10788 echo $ac_n "(cached
) $ac_c" 1>&6
10790 cat > conftest.$ac_ext <<EOF
10791 #line 10792 "configure
"
10792 #include "confdefs.h
"
10793 /* System header to define __stub macros and hopefully few prototypes,
10794 which can conflict with char $ac_func(); below. */
10795 #include <assert.h>
10796 /* Override any gcc2 internal prototype to avoid an error. */
10797 /* We use char because int might match the return type of a gcc2
10798 builtin and then its argument prototype would still apply. */
10803 /* The GNU C library defines this for functions which it implements
10804 to always fail with ENOSYS. Some functions are actually named
10805 something starting with __ and the normal name is an alias. */
10806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10814 if { (eval echo configure:10815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10816 eval "ac_cv_func_
$ac_func=yes"
10818 echo "configure
: failed program was
:" >&5
10819 cat conftest.$ac_ext >&5
10821 eval "ac_cv_func_
$ac_func=no
"
10826 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10827 echo "$ac_t""yes" 1>&6
10828 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10829 cat >> confdefs.h <<EOF
10830 #define $ac_tr_func 1
10834 echo "$ac_t""no
" 1>&6
10843 echo $ac_n "checking
for sqrtf declaration
""...
$ac_c" 1>&6
10844 echo "configure
:10845: checking
for sqrtf declaration
" >&5
10845 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
10846 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
10847 echo $ac_n "(cached
) $ac_c" 1>&6
10852 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10853 ac_cpp='$CXXCPP $CPPFLAGS'
10854 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10855 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10856 cross_compiling=$ac_cv_prog_cxx_cross
10858 cat > conftest.$ac_ext <<EOF
10859 #line 10860 "configure
"
10860 #include "confdefs.h
"
10862 #ifdef HAVE_IEEEFP_H
10863 #include <ieeefp.h>
10870 if { (eval echo configure:10871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10872 glibcpp_cv_func_sqrtf_use=yes
10874 echo "configure
: failed program was
:" >&5
10875 cat conftest.$ac_ext >&5
10877 glibcpp_cv_func_sqrtf_use=no
10881 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10882 ac_cpp='$CPP $CPPFLAGS'
10883 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10884 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10885 cross_compiling=$ac_cv_prog_cc_cross
10891 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
10893 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
10894 for ac_func in sqrtf
10896 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10897 echo "configure
:10898: checking
for $ac_func" >&5
10898 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10899 echo $ac_n "(cached
) $ac_c" 1>&6
10901 cat > conftest.$ac_ext <<EOF
10902 #line 10903 "configure
"
10903 #include "confdefs.h
"
10904 /* System header to define __stub macros and hopefully few prototypes,
10905 which can conflict with char $ac_func(); below. */
10906 #include <assert.h>
10907 /* Override any gcc2 internal prototype to avoid an error. */
10908 /* We use char because int might match the return type of a gcc2
10909 builtin and then its argument prototype would still apply. */
10914 /* The GNU C library defines this for functions which it implements
10915 to always fail with ENOSYS. Some functions are actually named
10916 something starting with __ and the normal name is an alias. */
10917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10925 if { (eval echo configure:10926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10927 eval "ac_cv_func_
$ac_func=yes"
10929 echo "configure
: failed program was
:" >&5
10930 cat conftest.$ac_ext >&5
10932 eval "ac_cv_func_
$ac_func=no
"
10937 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10938 echo "$ac_t""yes" 1>&6
10939 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10940 cat >> confdefs.h <<EOF
10941 #define $ac_tr_func 1
10945 echo "$ac_t""no
" 1>&6
10951 echo $ac_n "checking
for _sqrtf declaration
""...
$ac_c" 1>&6
10952 echo "configure
:10953: checking
for _sqrtf declaration
" >&5
10953 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
10954 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
10955 echo $ac_n "(cached
) $ac_c" 1>&6
10960 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10961 ac_cpp='$CXXCPP $CPPFLAGS'
10962 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10963 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10964 cross_compiling=$ac_cv_prog_cxx_cross
10966 cat > conftest.$ac_ext <<EOF
10967 #line 10968 "configure
"
10968 #include "confdefs.h
"
10970 #ifdef HAVE_IEEEFP_H
10971 #include <ieeefp.h>
10978 if { (eval echo configure:10979: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10980 glibcpp_cv_func__sqrtf_use=yes
10982 echo "configure
: failed program was
:" >&5
10983 cat conftest.$ac_ext >&5
10985 glibcpp_cv_func__sqrtf_use=no
10989 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10990 ac_cpp='$CPP $CPPFLAGS'
10991 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10992 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10993 cross_compiling=$ac_cv_prog_cc_cross
10999 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
11001 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
11002 for ac_func in _sqrtf
11004 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11005 echo "configure
:11006: checking
for $ac_func" >&5
11006 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11007 echo $ac_n "(cached
) $ac_c" 1>&6
11009 cat > conftest.$ac_ext <<EOF
11010 #line 11011 "configure
"
11011 #include "confdefs.h
"
11012 /* System header to define __stub macros and hopefully few prototypes,
11013 which can conflict with char $ac_func(); below. */
11014 #include <assert.h>
11015 /* Override any gcc2 internal prototype to avoid an error. */
11016 /* We use char because int might match the return type of a gcc2
11017 builtin and then its argument prototype would still apply. */
11022 /* The GNU C library defines this for functions which it implements
11023 to always fail with ENOSYS. Some functions are actually named
11024 something starting with __ and the normal name is an alias. */
11025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11033 if { (eval echo configure:11034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11035 eval "ac_cv_func_
$ac_func=yes"
11037 echo "configure
: failed program was
:" >&5
11038 cat conftest.$ac_ext >&5
11040 eval "ac_cv_func_
$ac_func=no
"
11045 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11046 echo "$ac_t""yes" 1>&6
11047 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11048 cat >> confdefs.h <<EOF
11049 #define $ac_tr_func 1
11053 echo "$ac_t""no
" 1>&6
11062 echo $ac_n "checking
for sincosf declaration
""...
$ac_c" 1>&6
11063 echo "configure
:11064: checking
for sincosf declaration
" >&5
11064 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
11065 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
11066 echo $ac_n "(cached
) $ac_c" 1>&6
11071 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11072 ac_cpp='$CXXCPP $CPPFLAGS'
11073 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11074 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11075 cross_compiling=$ac_cv_prog_cxx_cross
11077 cat > conftest.$ac_ext <<EOF
11078 #line 11079 "configure
"
11079 #include "confdefs.h
"
11085 if { (eval echo configure:11086: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11087 glibcpp_cv_func_sincosf_use=yes
11089 echo "configure
: failed program was
:" >&5
11090 cat conftest.$ac_ext >&5
11092 glibcpp_cv_func_sincosf_use=no
11096 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11097 ac_cpp='$CPP $CPPFLAGS'
11098 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11099 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11100 cross_compiling=$ac_cv_prog_cc_cross
11106 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
11108 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
11109 for ac_func in sincosf
11111 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11112 echo "configure
:11113: checking
for $ac_func" >&5
11113 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11114 echo $ac_n "(cached
) $ac_c" 1>&6
11116 cat > conftest.$ac_ext <<EOF
11117 #line 11118 "configure
"
11118 #include "confdefs.h
"
11119 /* System header to define __stub macros and hopefully few prototypes,
11120 which can conflict with char $ac_func(); below. */
11121 #include <assert.h>
11122 /* Override any gcc2 internal prototype to avoid an error. */
11123 /* We use char because int might match the return type of a gcc2
11124 builtin and then its argument prototype would still apply. */
11129 /* The GNU C library defines this for functions which it implements
11130 to always fail with ENOSYS. Some functions are actually named
11131 something starting with __ and the normal name is an alias. */
11132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11140 if { (eval echo configure:11141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11142 eval "ac_cv_func_
$ac_func=yes"
11144 echo "configure
: failed program was
:" >&5
11145 cat conftest.$ac_ext >&5
11147 eval "ac_cv_func_
$ac_func=no
"
11152 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11153 echo "$ac_t""yes" 1>&6
11154 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11155 cat >> confdefs.h <<EOF
11156 #define $ac_tr_func 1
11160 echo "$ac_t""no
" 1>&6
11166 echo $ac_n "checking
for _sincosf declaration
""...
$ac_c" 1>&6
11167 echo "configure
:11168: checking
for _sincosf declaration
" >&5
11168 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
11169 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
11170 echo $ac_n "(cached
) $ac_c" 1>&6
11175 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11176 ac_cpp='$CXXCPP $CPPFLAGS'
11177 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11178 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11179 cross_compiling=$ac_cv_prog_cxx_cross
11181 cat > conftest.$ac_ext <<EOF
11182 #line 11183 "configure
"
11183 #include "confdefs.h
"
11189 if { (eval echo configure:11190: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11191 glibcpp_cv_func__sincosf_use=yes
11193 echo "configure
: failed program was
:" >&5
11194 cat conftest.$ac_ext >&5
11196 glibcpp_cv_func__sincosf_use=no
11200 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11201 ac_cpp='$CPP $CPPFLAGS'
11202 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11203 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11204 cross_compiling=$ac_cv_prog_cc_cross
11210 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
11212 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
11213 for ac_func in _sincosf
11215 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11216 echo "configure
:11217: checking
for $ac_func" >&5
11217 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11218 echo $ac_n "(cached
) $ac_c" 1>&6
11220 cat > conftest.$ac_ext <<EOF
11221 #line 11222 "configure
"
11222 #include "confdefs.h
"
11223 /* System header to define __stub macros and hopefully few prototypes,
11224 which can conflict with char $ac_func(); below. */
11225 #include <assert.h>
11226 /* Override any gcc2 internal prototype to avoid an error. */
11227 /* We use char because int might match the return type of a gcc2
11228 builtin and then its argument prototype would still apply. */
11233 /* The GNU C library defines this for functions which it implements
11234 to always fail with ENOSYS. Some functions are actually named
11235 something starting with __ and the normal name is an alias. */
11236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11244 if { (eval echo configure:11245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11246 eval "ac_cv_func_
$ac_func=yes"
11248 echo "configure
: failed program was
:" >&5
11249 cat conftest.$ac_ext >&5
11251 eval "ac_cv_func_
$ac_func=no
"
11256 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11257 echo "$ac_t""yes" 1>&6
11258 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11259 cat >> confdefs.h <<EOF
11260 #define $ac_tr_func 1
11264 echo "$ac_t""no
" 1>&6
11273 echo $ac_n "checking
for finitef declaration
""...
$ac_c" 1>&6
11274 echo "configure
:11275: checking
for finitef declaration
" >&5
11275 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
11276 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
11277 echo $ac_n "(cached
) $ac_c" 1>&6
11282 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11283 ac_cpp='$CXXCPP $CPPFLAGS'
11284 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11285 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11286 cross_compiling=$ac_cv_prog_cxx_cross
11288 cat > conftest.$ac_ext <<EOF
11289 #line 11290 "configure
"
11290 #include "confdefs.h
"
11292 #ifdef HAVE_IEEEFP_H
11293 #include <ieeefp.h>
11300 if { (eval echo configure:11301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11302 glibcpp_cv_func_finitef_use=yes
11304 echo "configure
: failed program was
:" >&5
11305 cat conftest.$ac_ext >&5
11307 glibcpp_cv_func_finitef_use=no
11311 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11312 ac_cpp='$CPP $CPPFLAGS'
11313 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11314 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11315 cross_compiling=$ac_cv_prog_cc_cross
11321 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
11323 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
11324 for ac_func in finitef
11326 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11327 echo "configure
:11328: checking
for $ac_func" >&5
11328 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11329 echo $ac_n "(cached
) $ac_c" 1>&6
11331 cat > conftest.$ac_ext <<EOF
11332 #line 11333 "configure
"
11333 #include "confdefs.h
"
11334 /* System header to define __stub macros and hopefully few prototypes,
11335 which can conflict with char $ac_func(); below. */
11336 #include <assert.h>
11337 /* Override any gcc2 internal prototype to avoid an error. */
11338 /* We use char because int might match the return type of a gcc2
11339 builtin and then its argument prototype would still apply. */
11344 /* The GNU C library defines this for functions which it implements
11345 to always fail with ENOSYS. Some functions are actually named
11346 something starting with __ and the normal name is an alias. */
11347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11355 if { (eval echo configure:11356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11357 eval "ac_cv_func_
$ac_func=yes"
11359 echo "configure
: failed program was
:" >&5
11360 cat conftest.$ac_ext >&5
11362 eval "ac_cv_func_
$ac_func=no
"
11367 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11368 echo "$ac_t""yes" 1>&6
11369 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11370 cat >> confdefs.h <<EOF
11371 #define $ac_tr_func 1
11375 echo "$ac_t""no
" 1>&6
11381 echo $ac_n "checking
for _finitef declaration
""...
$ac_c" 1>&6
11382 echo "configure
:11383: checking
for _finitef declaration
" >&5
11383 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
11384 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
11385 echo $ac_n "(cached
) $ac_c" 1>&6
11390 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11391 ac_cpp='$CXXCPP $CPPFLAGS'
11392 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11393 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11394 cross_compiling=$ac_cv_prog_cxx_cross
11396 cat > conftest.$ac_ext <<EOF
11397 #line 11398 "configure
"
11398 #include "confdefs.h
"
11400 #ifdef HAVE_IEEEFP_H
11401 #include <ieeefp.h>
11408 if { (eval echo configure:11409: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11410 glibcpp_cv_func__finitef_use=yes
11412 echo "configure
: failed program was
:" >&5
11413 cat conftest.$ac_ext >&5
11415 glibcpp_cv_func__finitef_use=no
11419 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11420 ac_cpp='$CPP $CPPFLAGS'
11421 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11422 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11423 cross_compiling=$ac_cv_prog_cc_cross
11429 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
11431 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
11432 for ac_func in _finitef
11434 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11435 echo "configure
:11436: checking
for $ac_func" >&5
11436 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11437 echo $ac_n "(cached
) $ac_c" 1>&6
11439 cat > conftest.$ac_ext <<EOF
11440 #line 11441 "configure
"
11441 #include "confdefs.h
"
11442 /* System header to define __stub macros and hopefully few prototypes,
11443 which can conflict with char $ac_func(); below. */
11444 #include <assert.h>
11445 /* Override any gcc2 internal prototype to avoid an error. */
11446 /* We use char because int might match the return type of a gcc2
11447 builtin and then its argument prototype would still apply. */
11452 /* The GNU C library defines this for functions which it implements
11453 to always fail with ENOSYS. Some functions are actually named
11454 something starting with __ and the normal name is an alias. */
11455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11463 if { (eval echo configure:11464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11465 eval "ac_cv_func_
$ac_func=yes"
11467 echo "configure
: failed program was
:" >&5
11468 cat conftest.$ac_ext >&5
11470 eval "ac_cv_func_
$ac_func=no
"
11475 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11476 echo "$ac_t""yes" 1>&6
11477 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11478 cat >> confdefs.h <<EOF
11479 #define $ac_tr_func 1
11483 echo "$ac_t""no
" 1>&6
11492 echo $ac_n "checking
for long double trig functions
""...
$ac_c" 1>&6
11493 echo "configure
:11494: checking
for long double trig functions
" >&5
11494 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
11495 echo $ac_n "(cached
) $ac_c" 1>&6
11500 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11501 ac_cpp='$CXXCPP $CPPFLAGS'
11502 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11503 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11504 cross_compiling=$ac_cv_prog_cxx_cross
11506 cat > conftest.$ac_ext <<EOF
11507 #line 11508 "configure
"
11508 #include "confdefs.h
"
11511 `for x in acosl asinl atanl \
11513 coshl sinhl tanhl; do echo "$x (0);"; done`
11516 if { (eval echo configure:11517: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11518 glibcpp_cv_func_long_double_trig_use=yes
11520 echo "configure
: failed program was
:" >&5
11521 cat conftest.$ac_ext >&5
11523 glibcpp_cv_func_long_double_trig_use=no
11527 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11528 ac_cpp='$CPP $CPPFLAGS'
11529 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11530 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11531 cross_compiling=$ac_cv_prog_cc_cross
11535 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
11536 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
11537 for ac_func in acosl asinl atanl \
11541 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11542 echo "configure
:11543: checking
for $ac_func" >&5
11543 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11544 echo $ac_n "(cached
) $ac_c" 1>&6
11546 cat > conftest.$ac_ext <<EOF
11547 #line 11548 "configure
"
11548 #include "confdefs.h
"
11549 /* System header to define __stub macros and hopefully few prototypes,
11550 which can conflict with char $ac_func(); below. */
11551 #include <assert.h>
11552 /* Override any gcc2 internal prototype to avoid an error. */
11553 /* We use char because int might match the return type of a gcc2
11554 builtin and then its argument prototype would still apply. */
11559 /* The GNU C library defines this for functions which it implements
11560 to always fail with ENOSYS. Some functions are actually named
11561 something starting with __ and the normal name is an alias. */
11562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11570 if { (eval echo configure:11571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11572 eval "ac_cv_func_
$ac_func=yes"
11574 echo "configure
: failed program was
:" >&5
11575 cat conftest.$ac_ext >&5
11577 eval "ac_cv_func_
$ac_func=no
"
11582 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11583 echo "$ac_t""yes" 1>&6
11584 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11585 cat >> confdefs.h <<EOF
11586 #define $ac_tr_func 1
11590 echo "$ac_t""no
" 1>&6
11597 echo $ac_n "checking
for long double round functions
""...
$ac_c" 1>&6
11598 echo "configure
:11599: checking
for long double round functions
" >&5
11599 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
11600 echo $ac_n "(cached
) $ac_c" 1>&6
11605 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11606 ac_cpp='$CXXCPP $CPPFLAGS'
11607 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11608 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11609 cross_compiling=$ac_cv_prog_cxx_cross
11611 cat > conftest.$ac_ext <<EOF
11612 #line 11613 "configure
"
11613 #include "confdefs.h
"
11616 `for x in ceill floorl; do echo "$x (0);"; done`
11619 if { (eval echo configure:11620: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11621 glibcpp_cv_func_long_double_round_use=yes
11623 echo "configure
: failed program was
:" >&5
11624 cat conftest.$ac_ext >&5
11626 glibcpp_cv_func_long_double_round_use=no
11630 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11631 ac_cpp='$CPP $CPPFLAGS'
11632 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11633 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11634 cross_compiling=$ac_cv_prog_cc_cross
11638 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
11639 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
11640 for ac_func in ceill floorl
11642 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11643 echo "configure
:11644: checking
for $ac_func" >&5
11644 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11645 echo $ac_n "(cached
) $ac_c" 1>&6
11647 cat > conftest.$ac_ext <<EOF
11648 #line 11649 "configure
"
11649 #include "confdefs.h
"
11650 /* System header to define __stub macros and hopefully few prototypes,
11651 which can conflict with char $ac_func(); below. */
11652 #include <assert.h>
11653 /* Override any gcc2 internal prototype to avoid an error. */
11654 /* We use char because int might match the return type of a gcc2
11655 builtin and then its argument prototype would still apply. */
11660 /* The GNU C library defines this for functions which it implements
11661 to always fail with ENOSYS. Some functions are actually named
11662 something starting with __ and the normal name is an alias. */
11663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11671 if { (eval echo configure:11672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11673 eval "ac_cv_func_
$ac_func=yes"
11675 echo "configure
: failed program was
:" >&5
11676 cat conftest.$ac_ext >&5
11678 eval "ac_cv_func_
$ac_func=no
"
11683 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11684 echo "$ac_t""yes" 1>&6
11685 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11686 cat >> confdefs.h <<EOF
11687 #define $ac_tr_func 1
11691 echo "$ac_t""no
" 1>&6
11699 echo $ac_n "checking
for isnanl declaration
""...
$ac_c" 1>&6
11700 echo "configure
:11701: checking
for isnanl declaration
" >&5
11701 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
11702 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
11703 echo $ac_n "(cached
) $ac_c" 1>&6
11708 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11709 ac_cpp='$CXXCPP $CPPFLAGS'
11710 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11711 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11712 cross_compiling=$ac_cv_prog_cxx_cross
11714 cat > conftest.$ac_ext <<EOF
11715 #line 11716 "configure
"
11716 #include "confdefs.h
"
11718 #ifdef HAVE_IEEEFP_H
11719 #include <ieeefp.h>
11726 if { (eval echo configure:11727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11728 glibcpp_cv_func_isnanl_use=yes
11730 echo "configure
: failed program was
:" >&5
11731 cat conftest.$ac_ext >&5
11733 glibcpp_cv_func_isnanl_use=no
11737 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11738 ac_cpp='$CPP $CPPFLAGS'
11739 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11740 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11741 cross_compiling=$ac_cv_prog_cc_cross
11747 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
11749 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
11750 for ac_func in isnanl
11752 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11753 echo "configure
:11754: checking
for $ac_func" >&5
11754 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11755 echo $ac_n "(cached
) $ac_c" 1>&6
11757 cat > conftest.$ac_ext <<EOF
11758 #line 11759 "configure
"
11759 #include "confdefs.h
"
11760 /* System header to define __stub macros and hopefully few prototypes,
11761 which can conflict with char $ac_func(); below. */
11762 #include <assert.h>
11763 /* Override any gcc2 internal prototype to avoid an error. */
11764 /* We use char because int might match the return type of a gcc2
11765 builtin and then its argument prototype would still apply. */
11770 /* The GNU C library defines this for functions which it implements
11771 to always fail with ENOSYS. Some functions are actually named
11772 something starting with __ and the normal name is an alias. */
11773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11781 if { (eval echo configure:11782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11783 eval "ac_cv_func_
$ac_func=yes"
11785 echo "configure
: failed program was
:" >&5
11786 cat conftest.$ac_ext >&5
11788 eval "ac_cv_func_
$ac_func=no
"
11793 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11794 echo "$ac_t""yes" 1>&6
11795 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11796 cat >> confdefs.h <<EOF
11797 #define $ac_tr_func 1
11801 echo "$ac_t""no
" 1>&6
11807 echo $ac_n "checking
for _isnanl declaration
""...
$ac_c" 1>&6
11808 echo "configure
:11809: checking
for _isnanl declaration
" >&5
11809 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
11810 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
11811 echo $ac_n "(cached
) $ac_c" 1>&6
11816 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11817 ac_cpp='$CXXCPP $CPPFLAGS'
11818 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11819 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11820 cross_compiling=$ac_cv_prog_cxx_cross
11822 cat > conftest.$ac_ext <<EOF
11823 #line 11824 "configure
"
11824 #include "confdefs.h
"
11826 #ifdef HAVE_IEEEFP_H
11827 #include <ieeefp.h>
11834 if { (eval echo configure:11835: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11836 glibcpp_cv_func__isnanl_use=yes
11838 echo "configure
: failed program was
:" >&5
11839 cat conftest.$ac_ext >&5
11841 glibcpp_cv_func__isnanl_use=no
11845 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11846 ac_cpp='$CPP $CPPFLAGS'
11847 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11848 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11849 cross_compiling=$ac_cv_prog_cc_cross
11855 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
11857 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
11858 for ac_func in _isnanl
11860 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11861 echo "configure
:11862: checking
for $ac_func" >&5
11862 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11863 echo $ac_n "(cached
) $ac_c" 1>&6
11865 cat > conftest.$ac_ext <<EOF
11866 #line 11867 "configure
"
11867 #include "confdefs.h
"
11868 /* System header to define __stub macros and hopefully few prototypes,
11869 which can conflict with char $ac_func(); below. */
11870 #include <assert.h>
11871 /* Override any gcc2 internal prototype to avoid an error. */
11872 /* We use char because int might match the return type of a gcc2
11873 builtin and then its argument prototype would still apply. */
11878 /* The GNU C library defines this for functions which it implements
11879 to always fail with ENOSYS. Some functions are actually named
11880 something starting with __ and the normal name is an alias. */
11881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11889 if { (eval echo configure:11890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11891 eval "ac_cv_func_
$ac_func=yes"
11893 echo "configure
: failed program was
:" >&5
11894 cat conftest.$ac_ext >&5
11896 eval "ac_cv_func_
$ac_func=no
"
11901 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11902 echo "$ac_t""yes" 1>&6
11903 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11904 cat >> confdefs.h <<EOF
11905 #define $ac_tr_func 1
11909 echo "$ac_t""no
" 1>&6
11918 echo $ac_n "checking
for isinfl declaration
""...
$ac_c" 1>&6
11919 echo "configure
:11920: checking
for isinfl declaration
" >&5
11920 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
11921 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
11922 echo $ac_n "(cached
) $ac_c" 1>&6
11927 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11928 ac_cpp='$CXXCPP $CPPFLAGS'
11929 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11930 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11931 cross_compiling=$ac_cv_prog_cxx_cross
11933 cat > conftest.$ac_ext <<EOF
11934 #line 11935 "configure
"
11935 #include "confdefs.h
"
11937 #ifdef HAVE_IEEEFP_H
11938 #include <ieeefp.h>
11945 if { (eval echo configure:11946: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11947 glibcpp_cv_func_isinfl_use=yes
11949 echo "configure
: failed program was
:" >&5
11950 cat conftest.$ac_ext >&5
11952 glibcpp_cv_func_isinfl_use=no
11956 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11957 ac_cpp='$CPP $CPPFLAGS'
11958 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11959 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11960 cross_compiling=$ac_cv_prog_cc_cross
11966 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
11968 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
11969 for ac_func in isinfl
11971 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11972 echo "configure
:11973: checking
for $ac_func" >&5
11973 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11974 echo $ac_n "(cached
) $ac_c" 1>&6
11976 cat > conftest.$ac_ext <<EOF
11977 #line 11978 "configure
"
11978 #include "confdefs.h
"
11979 /* System header to define __stub macros and hopefully few prototypes,
11980 which can conflict with char $ac_func(); below. */
11981 #include <assert.h>
11982 /* Override any gcc2 internal prototype to avoid an error. */
11983 /* We use char because int might match the return type of a gcc2
11984 builtin and then its argument prototype would still apply. */
11989 /* The GNU C library defines this for functions which it implements
11990 to always fail with ENOSYS. Some functions are actually named
11991 something starting with __ and the normal name is an alias. */
11992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12000 if { (eval echo configure:12001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12002 eval "ac_cv_func_
$ac_func=yes"
12004 echo "configure
: failed program was
:" >&5
12005 cat conftest.$ac_ext >&5
12007 eval "ac_cv_func_
$ac_func=no
"
12012 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12013 echo "$ac_t""yes" 1>&6
12014 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12015 cat >> confdefs.h <<EOF
12016 #define $ac_tr_func 1
12020 echo "$ac_t""no
" 1>&6
12026 echo $ac_n "checking
for _isinfl declaration
""...
$ac_c" 1>&6
12027 echo "configure
:12028: checking
for _isinfl declaration
" >&5
12028 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
12029 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
12030 echo $ac_n "(cached
) $ac_c" 1>&6
12035 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12036 ac_cpp='$CXXCPP $CPPFLAGS'
12037 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12038 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12039 cross_compiling=$ac_cv_prog_cxx_cross
12041 cat > conftest.$ac_ext <<EOF
12042 #line 12043 "configure
"
12043 #include "confdefs.h
"
12045 #ifdef HAVE_IEEEFP_H
12046 #include <ieeefp.h>
12053 if { (eval echo configure:12054: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12055 glibcpp_cv_func__isinfl_use=yes
12057 echo "configure
: failed program was
:" >&5
12058 cat conftest.$ac_ext >&5
12060 glibcpp_cv_func__isinfl_use=no
12064 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12065 ac_cpp='$CPP $CPPFLAGS'
12066 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12067 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12068 cross_compiling=$ac_cv_prog_cc_cross
12074 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
12076 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
12077 for ac_func in _isinfl
12079 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12080 echo "configure
:12081: checking
for $ac_func" >&5
12081 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12082 echo $ac_n "(cached
) $ac_c" 1>&6
12084 cat > conftest.$ac_ext <<EOF
12085 #line 12086 "configure
"
12086 #include "confdefs.h
"
12087 /* System header to define __stub macros and hopefully few prototypes,
12088 which can conflict with char $ac_func(); below. */
12089 #include <assert.h>
12090 /* Override any gcc2 internal prototype to avoid an error. */
12091 /* We use char because int might match the return type of a gcc2
12092 builtin and then its argument prototype would still apply. */
12097 /* The GNU C library defines this for functions which it implements
12098 to always fail with ENOSYS. Some functions are actually named
12099 something starting with __ and the normal name is an alias. */
12100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12108 if { (eval echo configure:12109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12110 eval "ac_cv_func_
$ac_func=yes"
12112 echo "configure
: failed program was
:" >&5
12113 cat conftest.$ac_ext >&5
12115 eval "ac_cv_func_
$ac_func=no
"
12120 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12121 echo "$ac_t""yes" 1>&6
12122 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12123 cat >> confdefs.h <<EOF
12124 #define $ac_tr_func 1
12128 echo "$ac_t""no
" 1>&6
12137 echo $ac_n "checking
for copysignl declaration
""...
$ac_c" 1>&6
12138 echo "configure
:12139: checking
for copysignl declaration
" >&5
12139 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
12140 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
12141 echo $ac_n "(cached
) $ac_c" 1>&6
12146 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12147 ac_cpp='$CXXCPP $CPPFLAGS'
12148 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12149 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12150 cross_compiling=$ac_cv_prog_cxx_cross
12152 cat > conftest.$ac_ext <<EOF
12153 #line 12154 "configure
"
12154 #include "confdefs.h
"
12160 if { (eval echo configure:12161: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12162 glibcpp_cv_func_copysignl_use=yes
12164 echo "configure
: failed program was
:" >&5
12165 cat conftest.$ac_ext >&5
12167 glibcpp_cv_func_copysignl_use=no
12171 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12172 ac_cpp='$CPP $CPPFLAGS'
12173 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12174 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12175 cross_compiling=$ac_cv_prog_cc_cross
12181 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
12183 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
12184 for ac_func in copysignl
12186 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12187 echo "configure
:12188: checking
for $ac_func" >&5
12188 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12189 echo $ac_n "(cached
) $ac_c" 1>&6
12191 cat > conftest.$ac_ext <<EOF
12192 #line 12193 "configure
"
12193 #include "confdefs.h
"
12194 /* System header to define __stub macros and hopefully few prototypes,
12195 which can conflict with char $ac_func(); below. */
12196 #include <assert.h>
12197 /* Override any gcc2 internal prototype to avoid an error. */
12198 /* We use char because int might match the return type of a gcc2
12199 builtin and then its argument prototype would still apply. */
12204 /* The GNU C library defines this for functions which it implements
12205 to always fail with ENOSYS. Some functions are actually named
12206 something starting with __ and the normal name is an alias. */
12207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12215 if { (eval echo configure:12216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12217 eval "ac_cv_func_
$ac_func=yes"
12219 echo "configure
: failed program was
:" >&5
12220 cat conftest.$ac_ext >&5
12222 eval "ac_cv_func_
$ac_func=no
"
12227 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12228 echo "$ac_t""yes" 1>&6
12229 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12230 cat >> confdefs.h <<EOF
12231 #define $ac_tr_func 1
12235 echo "$ac_t""no
" 1>&6
12241 echo $ac_n "checking
for _copysignl declaration
""...
$ac_c" 1>&6
12242 echo "configure
:12243: checking
for _copysignl declaration
" >&5
12243 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
12244 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
12245 echo $ac_n "(cached
) $ac_c" 1>&6
12250 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12251 ac_cpp='$CXXCPP $CPPFLAGS'
12252 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12253 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12254 cross_compiling=$ac_cv_prog_cxx_cross
12256 cat > conftest.$ac_ext <<EOF
12257 #line 12258 "configure
"
12258 #include "confdefs.h
"
12264 if { (eval echo configure:12265: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12266 glibcpp_cv_func__copysignl_use=yes
12268 echo "configure
: failed program was
:" >&5
12269 cat conftest.$ac_ext >&5
12271 glibcpp_cv_func__copysignl_use=no
12275 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12276 ac_cpp='$CPP $CPPFLAGS'
12277 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12278 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12279 cross_compiling=$ac_cv_prog_cc_cross
12285 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
12287 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
12288 for ac_func in _copysignl
12290 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12291 echo "configure
:12292: checking
for $ac_func" >&5
12292 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12293 echo $ac_n "(cached
) $ac_c" 1>&6
12295 cat > conftest.$ac_ext <<EOF
12296 #line 12297 "configure
"
12297 #include "confdefs.h
"
12298 /* System header to define __stub macros and hopefully few prototypes,
12299 which can conflict with char $ac_func(); below. */
12300 #include <assert.h>
12301 /* Override any gcc2 internal prototype to avoid an error. */
12302 /* We use char because int might match the return type of a gcc2
12303 builtin and then its argument prototype would still apply. */
12308 /* The GNU C library defines this for functions which it implements
12309 to always fail with ENOSYS. Some functions are actually named
12310 something starting with __ and the normal name is an alias. */
12311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12319 if { (eval echo configure:12320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12321 eval "ac_cv_func_
$ac_func=yes"
12323 echo "configure
: failed program was
:" >&5
12324 cat conftest.$ac_ext >&5
12326 eval "ac_cv_func_
$ac_func=no
"
12331 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12332 echo "$ac_t""yes" 1>&6
12333 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12334 cat >> confdefs.h <<EOF
12335 #define $ac_tr_func 1
12339 echo "$ac_t""no
" 1>&6
12348 echo $ac_n "checking
for atan2l declaration
""...
$ac_c" 1>&6
12349 echo "configure
:12350: checking
for atan2l declaration
" >&5
12350 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
12351 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
12352 echo $ac_n "(cached
) $ac_c" 1>&6
12357 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12358 ac_cpp='$CXXCPP $CPPFLAGS'
12359 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12360 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12361 cross_compiling=$ac_cv_prog_cxx_cross
12363 cat > conftest.$ac_ext <<EOF
12364 #line 12365 "configure
"
12365 #include "confdefs.h
"
12371 if { (eval echo configure:12372: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12373 glibcpp_cv_func_atan2l_use=yes
12375 echo "configure
: failed program was
:" >&5
12376 cat conftest.$ac_ext >&5
12378 glibcpp_cv_func_atan2l_use=no
12382 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12383 ac_cpp='$CPP $CPPFLAGS'
12384 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12385 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12386 cross_compiling=$ac_cv_prog_cc_cross
12392 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
12394 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
12395 for ac_func in atan2l
12397 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12398 echo "configure
:12399: checking
for $ac_func" >&5
12399 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12400 echo $ac_n "(cached
) $ac_c" 1>&6
12402 cat > conftest.$ac_ext <<EOF
12403 #line 12404 "configure
"
12404 #include "confdefs.h
"
12405 /* System header to define __stub macros and hopefully few prototypes,
12406 which can conflict with char $ac_func(); below. */
12407 #include <assert.h>
12408 /* Override any gcc2 internal prototype to avoid an error. */
12409 /* We use char because int might match the return type of a gcc2
12410 builtin and then its argument prototype would still apply. */
12415 /* The GNU C library defines this for functions which it implements
12416 to always fail with ENOSYS. Some functions are actually named
12417 something starting with __ and the normal name is an alias. */
12418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12426 if { (eval echo configure:12427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12428 eval "ac_cv_func_
$ac_func=yes"
12430 echo "configure
: failed program was
:" >&5
12431 cat conftest.$ac_ext >&5
12433 eval "ac_cv_func_
$ac_func=no
"
12438 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12439 echo "$ac_t""yes" 1>&6
12440 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12441 cat >> confdefs.h <<EOF
12442 #define $ac_tr_func 1
12446 echo "$ac_t""no
" 1>&6
12452 echo $ac_n "checking
for _atan2l declaration
""...
$ac_c" 1>&6
12453 echo "configure
:12454: checking
for _atan2l declaration
" >&5
12454 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
12455 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
12456 echo $ac_n "(cached
) $ac_c" 1>&6
12461 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12462 ac_cpp='$CXXCPP $CPPFLAGS'
12463 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12464 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12465 cross_compiling=$ac_cv_prog_cxx_cross
12467 cat > conftest.$ac_ext <<EOF
12468 #line 12469 "configure
"
12469 #include "confdefs.h
"
12475 if { (eval echo configure:12476: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12477 glibcpp_cv_func__atan2l_use=yes
12479 echo "configure
: failed program was
:" >&5
12480 cat conftest.$ac_ext >&5
12482 glibcpp_cv_func__atan2l_use=no
12486 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12487 ac_cpp='$CPP $CPPFLAGS'
12488 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12489 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12490 cross_compiling=$ac_cv_prog_cc_cross
12496 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
12498 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
12499 for ac_func in _atan2l
12501 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12502 echo "configure
:12503: checking
for $ac_func" >&5
12503 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12504 echo $ac_n "(cached
) $ac_c" 1>&6
12506 cat > conftest.$ac_ext <<EOF
12507 #line 12508 "configure
"
12508 #include "confdefs.h
"
12509 /* System header to define __stub macros and hopefully few prototypes,
12510 which can conflict with char $ac_func(); below. */
12511 #include <assert.h>
12512 /* Override any gcc2 internal prototype to avoid an error. */
12513 /* We use char because int might match the return type of a gcc2
12514 builtin and then its argument prototype would still apply. */
12519 /* The GNU C library defines this for functions which it implements
12520 to always fail with ENOSYS. Some functions are actually named
12521 something starting with __ and the normal name is an alias. */
12522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12530 if { (eval echo configure:12531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12532 eval "ac_cv_func_
$ac_func=yes"
12534 echo "configure
: failed program was
:" >&5
12535 cat conftest.$ac_ext >&5
12537 eval "ac_cv_func_
$ac_func=no
"
12542 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12543 echo "$ac_t""yes" 1>&6
12544 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12545 cat >> confdefs.h <<EOF
12546 #define $ac_tr_func 1
12550 echo "$ac_t""no
" 1>&6
12559 echo $ac_n "checking
for expl declaration
""...
$ac_c" 1>&6
12560 echo "configure
:12561: checking
for expl declaration
" >&5
12561 if test x${glibcpp_cv_func_expl_use+set} != xset; then
12562 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
12563 echo $ac_n "(cached
) $ac_c" 1>&6
12568 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12569 ac_cpp='$CXXCPP $CPPFLAGS'
12570 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12571 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12572 cross_compiling=$ac_cv_prog_cxx_cross
12574 cat > conftest.$ac_ext <<EOF
12575 #line 12576 "configure
"
12576 #include "confdefs.h
"
12578 #ifdef HAVE_IEEEFP_H
12579 #include <ieeefp.h>
12586 if { (eval echo configure:12587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12588 glibcpp_cv_func_expl_use=yes
12590 echo "configure
: failed program was
:" >&5
12591 cat conftest.$ac_ext >&5
12593 glibcpp_cv_func_expl_use=no
12597 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12598 ac_cpp='$CPP $CPPFLAGS'
12599 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12600 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12601 cross_compiling=$ac_cv_prog_cc_cross
12607 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
12609 if test x$glibcpp_cv_func_expl_use = x"yes"; then
12610 for ac_func in expl
12612 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12613 echo "configure
:12614: checking
for $ac_func" >&5
12614 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12615 echo $ac_n "(cached
) $ac_c" 1>&6
12617 cat > conftest.$ac_ext <<EOF
12618 #line 12619 "configure
"
12619 #include "confdefs.h
"
12620 /* System header to define __stub macros and hopefully few prototypes,
12621 which can conflict with char $ac_func(); below. */
12622 #include <assert.h>
12623 /* Override any gcc2 internal prototype to avoid an error. */
12624 /* We use char because int might match the return type of a gcc2
12625 builtin and then its argument prototype would still apply. */
12630 /* The GNU C library defines this for functions which it implements
12631 to always fail with ENOSYS. Some functions are actually named
12632 something starting with __ and the normal name is an alias. */
12633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12641 if { (eval echo configure:12642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12643 eval "ac_cv_func_
$ac_func=yes"
12645 echo "configure
: failed program was
:" >&5
12646 cat conftest.$ac_ext >&5
12648 eval "ac_cv_func_
$ac_func=no
"
12653 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12654 echo "$ac_t""yes" 1>&6
12655 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12656 cat >> confdefs.h <<EOF
12657 #define $ac_tr_func 1
12661 echo "$ac_t""no
" 1>&6
12667 echo $ac_n "checking
for _expl declaration
""...
$ac_c" 1>&6
12668 echo "configure
:12669: checking
for _expl declaration
" >&5
12669 if test x${glibcpp_cv_func__expl_use+set} != xset; then
12670 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
12671 echo $ac_n "(cached
) $ac_c" 1>&6
12676 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12677 ac_cpp='$CXXCPP $CPPFLAGS'
12678 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12679 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12680 cross_compiling=$ac_cv_prog_cxx_cross
12682 cat > conftest.$ac_ext <<EOF
12683 #line 12684 "configure
"
12684 #include "confdefs.h
"
12686 #ifdef HAVE_IEEEFP_H
12687 #include <ieeefp.h>
12694 if { (eval echo configure:12695: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12696 glibcpp_cv_func__expl_use=yes
12698 echo "configure
: failed program was
:" >&5
12699 cat conftest.$ac_ext >&5
12701 glibcpp_cv_func__expl_use=no
12705 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12706 ac_cpp='$CPP $CPPFLAGS'
12707 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12708 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12709 cross_compiling=$ac_cv_prog_cc_cross
12715 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
12717 if test x$glibcpp_cv_func__expl_use = x"yes"; then
12718 for ac_func in _expl
12720 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12721 echo "configure
:12722: checking
for $ac_func" >&5
12722 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12723 echo $ac_n "(cached
) $ac_c" 1>&6
12725 cat > conftest.$ac_ext <<EOF
12726 #line 12727 "configure
"
12727 #include "confdefs.h
"
12728 /* System header to define __stub macros and hopefully few prototypes,
12729 which can conflict with char $ac_func(); below. */
12730 #include <assert.h>
12731 /* Override any gcc2 internal prototype to avoid an error. */
12732 /* We use char because int might match the return type of a gcc2
12733 builtin and then its argument prototype would still apply. */
12738 /* The GNU C library defines this for functions which it implements
12739 to always fail with ENOSYS. Some functions are actually named
12740 something starting with __ and the normal name is an alias. */
12741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12749 if { (eval echo configure:12750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12751 eval "ac_cv_func_
$ac_func=yes"
12753 echo "configure
: failed program was
:" >&5
12754 cat conftest.$ac_ext >&5
12756 eval "ac_cv_func_
$ac_func=no
"
12761 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12762 echo "$ac_t""yes" 1>&6
12763 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12764 cat >> confdefs.h <<EOF
12765 #define $ac_tr_func 1
12769 echo "$ac_t""no
" 1>&6
12778 echo $ac_n "checking
for fabsl declaration
""...
$ac_c" 1>&6
12779 echo "configure
:12780: checking
for fabsl declaration
" >&5
12780 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
12781 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
12782 echo $ac_n "(cached
) $ac_c" 1>&6
12787 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12788 ac_cpp='$CXXCPP $CPPFLAGS'
12789 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12790 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12791 cross_compiling=$ac_cv_prog_cxx_cross
12793 cat > conftest.$ac_ext <<EOF
12794 #line 12795 "configure
"
12795 #include "confdefs.h
"
12797 #ifdef HAVE_IEEEFP_H
12798 #include <ieeefp.h>
12805 if { (eval echo configure:12806: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12807 glibcpp_cv_func_fabsl_use=yes
12809 echo "configure
: failed program was
:" >&5
12810 cat conftest.$ac_ext >&5
12812 glibcpp_cv_func_fabsl_use=no
12816 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12817 ac_cpp='$CPP $CPPFLAGS'
12818 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12819 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12820 cross_compiling=$ac_cv_prog_cc_cross
12826 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
12828 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
12829 for ac_func in fabsl
12831 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12832 echo "configure
:12833: checking
for $ac_func" >&5
12833 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12834 echo $ac_n "(cached
) $ac_c" 1>&6
12836 cat > conftest.$ac_ext <<EOF
12837 #line 12838 "configure
"
12838 #include "confdefs.h
"
12839 /* System header to define __stub macros and hopefully few prototypes,
12840 which can conflict with char $ac_func(); below. */
12841 #include <assert.h>
12842 /* Override any gcc2 internal prototype to avoid an error. */
12843 /* We use char because int might match the return type of a gcc2
12844 builtin and then its argument prototype would still apply. */
12849 /* The GNU C library defines this for functions which it implements
12850 to always fail with ENOSYS. Some functions are actually named
12851 something starting with __ and the normal name is an alias. */
12852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12860 if { (eval echo configure:12861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12862 eval "ac_cv_func_
$ac_func=yes"
12864 echo "configure
: failed program was
:" >&5
12865 cat conftest.$ac_ext >&5
12867 eval "ac_cv_func_
$ac_func=no
"
12872 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12873 echo "$ac_t""yes" 1>&6
12874 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12875 cat >> confdefs.h <<EOF
12876 #define $ac_tr_func 1
12880 echo "$ac_t""no
" 1>&6
12886 echo $ac_n "checking
for _fabsl declaration
""...
$ac_c" 1>&6
12887 echo "configure
:12888: checking
for _fabsl declaration
" >&5
12888 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
12889 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
12890 echo $ac_n "(cached
) $ac_c" 1>&6
12895 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12896 ac_cpp='$CXXCPP $CPPFLAGS'
12897 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12898 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12899 cross_compiling=$ac_cv_prog_cxx_cross
12901 cat > conftest.$ac_ext <<EOF
12902 #line 12903 "configure
"
12903 #include "confdefs.h
"
12905 #ifdef HAVE_IEEEFP_H
12906 #include <ieeefp.h>
12913 if { (eval echo configure:12914: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12915 glibcpp_cv_func__fabsl_use=yes
12917 echo "configure
: failed program was
:" >&5
12918 cat conftest.$ac_ext >&5
12920 glibcpp_cv_func__fabsl_use=no
12924 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12925 ac_cpp='$CPP $CPPFLAGS'
12926 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12927 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12928 cross_compiling=$ac_cv_prog_cc_cross
12934 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
12936 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
12937 for ac_func in _fabsl
12939 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12940 echo "configure
:12941: checking
for $ac_func" >&5
12941 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12942 echo $ac_n "(cached
) $ac_c" 1>&6
12944 cat > conftest.$ac_ext <<EOF
12945 #line 12946 "configure
"
12946 #include "confdefs.h
"
12947 /* System header to define __stub macros and hopefully few prototypes,
12948 which can conflict with char $ac_func(); below. */
12949 #include <assert.h>
12950 /* Override any gcc2 internal prototype to avoid an error. */
12951 /* We use char because int might match the return type of a gcc2
12952 builtin and then its argument prototype would still apply. */
12957 /* The GNU C library defines this for functions which it implements
12958 to always fail with ENOSYS. Some functions are actually named
12959 something starting with __ and the normal name is an alias. */
12960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12968 if { (eval echo configure:12969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12970 eval "ac_cv_func_
$ac_func=yes"
12972 echo "configure
: failed program was
:" >&5
12973 cat conftest.$ac_ext >&5
12975 eval "ac_cv_func_
$ac_func=no
"
12980 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12981 echo "$ac_t""yes" 1>&6
12982 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12983 cat >> confdefs.h <<EOF
12984 #define $ac_tr_func 1
12988 echo "$ac_t""no
" 1>&6
12997 echo $ac_n "checking
for fmodl declaration
""...
$ac_c" 1>&6
12998 echo "configure
:12999: checking
for fmodl declaration
" >&5
12999 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
13000 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
13001 echo $ac_n "(cached
) $ac_c" 1>&6
13006 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13007 ac_cpp='$CXXCPP $CPPFLAGS'
13008 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13009 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13010 cross_compiling=$ac_cv_prog_cxx_cross
13012 cat > conftest.$ac_ext <<EOF
13013 #line 13014 "configure
"
13014 #include "confdefs.h
"
13020 if { (eval echo configure:13021: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13022 glibcpp_cv_func_fmodl_use=yes
13024 echo "configure
: failed program was
:" >&5
13025 cat conftest.$ac_ext >&5
13027 glibcpp_cv_func_fmodl_use=no
13031 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13032 ac_cpp='$CPP $CPPFLAGS'
13033 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13034 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13035 cross_compiling=$ac_cv_prog_cc_cross
13041 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
13043 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
13044 for ac_func in fmodl
13046 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13047 echo "configure
:13048: checking
for $ac_func" >&5
13048 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13049 echo $ac_n "(cached
) $ac_c" 1>&6
13051 cat > conftest.$ac_ext <<EOF
13052 #line 13053 "configure
"
13053 #include "confdefs.h
"
13054 /* System header to define __stub macros and hopefully few prototypes,
13055 which can conflict with char $ac_func(); below. */
13056 #include <assert.h>
13057 /* Override any gcc2 internal prototype to avoid an error. */
13058 /* We use char because int might match the return type of a gcc2
13059 builtin and then its argument prototype would still apply. */
13064 /* The GNU C library defines this for functions which it implements
13065 to always fail with ENOSYS. Some functions are actually named
13066 something starting with __ and the normal name is an alias. */
13067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13075 if { (eval echo configure:13076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13077 eval "ac_cv_func_
$ac_func=yes"
13079 echo "configure
: failed program was
:" >&5
13080 cat conftest.$ac_ext >&5
13082 eval "ac_cv_func_
$ac_func=no
"
13087 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13088 echo "$ac_t""yes" 1>&6
13089 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13090 cat >> confdefs.h <<EOF
13091 #define $ac_tr_func 1
13095 echo "$ac_t""no
" 1>&6
13101 echo $ac_n "checking
for _fmodl declaration
""...
$ac_c" 1>&6
13102 echo "configure
:13103: checking
for _fmodl declaration
" >&5
13103 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
13104 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
13105 echo $ac_n "(cached
) $ac_c" 1>&6
13110 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13111 ac_cpp='$CXXCPP $CPPFLAGS'
13112 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13113 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13114 cross_compiling=$ac_cv_prog_cxx_cross
13116 cat > conftest.$ac_ext <<EOF
13117 #line 13118 "configure
"
13118 #include "confdefs.h
"
13124 if { (eval echo configure:13125: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13126 glibcpp_cv_func__fmodl_use=yes
13128 echo "configure
: failed program was
:" >&5
13129 cat conftest.$ac_ext >&5
13131 glibcpp_cv_func__fmodl_use=no
13135 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13136 ac_cpp='$CPP $CPPFLAGS'
13137 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13138 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13139 cross_compiling=$ac_cv_prog_cc_cross
13145 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
13147 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
13148 for ac_func in _fmodl
13150 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13151 echo "configure
:13152: checking
for $ac_func" >&5
13152 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13153 echo $ac_n "(cached
) $ac_c" 1>&6
13155 cat > conftest.$ac_ext <<EOF
13156 #line 13157 "configure
"
13157 #include "confdefs.h
"
13158 /* System header to define __stub macros and hopefully few prototypes,
13159 which can conflict with char $ac_func(); below. */
13160 #include <assert.h>
13161 /* Override any gcc2 internal prototype to avoid an error. */
13162 /* We use char because int might match the return type of a gcc2
13163 builtin and then its argument prototype would still apply. */
13168 /* The GNU C library defines this for functions which it implements
13169 to always fail with ENOSYS. Some functions are actually named
13170 something starting with __ and the normal name is an alias. */
13171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13179 if { (eval echo configure:13180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13181 eval "ac_cv_func_
$ac_func=yes"
13183 echo "configure
: failed program was
:" >&5
13184 cat conftest.$ac_ext >&5
13186 eval "ac_cv_func_
$ac_func=no
"
13191 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13192 echo "$ac_t""yes" 1>&6
13193 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13194 cat >> confdefs.h <<EOF
13195 #define $ac_tr_func 1
13199 echo "$ac_t""no
" 1>&6
13208 echo $ac_n "checking
for frexpl declaration
""...
$ac_c" 1>&6
13209 echo "configure
:13210: checking
for frexpl declaration
" >&5
13210 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
13211 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
13212 echo $ac_n "(cached
) $ac_c" 1>&6
13217 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13218 ac_cpp='$CXXCPP $CPPFLAGS'
13219 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13220 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13221 cross_compiling=$ac_cv_prog_cxx_cross
13223 cat > conftest.$ac_ext <<EOF
13224 #line 13225 "configure
"
13225 #include "confdefs.h
"
13231 if { (eval echo configure:13232: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13233 glibcpp_cv_func_frexpl_use=yes
13235 echo "configure
: failed program was
:" >&5
13236 cat conftest.$ac_ext >&5
13238 glibcpp_cv_func_frexpl_use=no
13242 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13243 ac_cpp='$CPP $CPPFLAGS'
13244 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13245 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13246 cross_compiling=$ac_cv_prog_cc_cross
13252 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
13254 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
13255 for ac_func in frexpl
13257 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13258 echo "configure
:13259: checking
for $ac_func" >&5
13259 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13260 echo $ac_n "(cached
) $ac_c" 1>&6
13262 cat > conftest.$ac_ext <<EOF
13263 #line 13264 "configure
"
13264 #include "confdefs.h
"
13265 /* System header to define __stub macros and hopefully few prototypes,
13266 which can conflict with char $ac_func(); below. */
13267 #include <assert.h>
13268 /* Override any gcc2 internal prototype to avoid an error. */
13269 /* We use char because int might match the return type of a gcc2
13270 builtin and then its argument prototype would still apply. */
13275 /* The GNU C library defines this for functions which it implements
13276 to always fail with ENOSYS. Some functions are actually named
13277 something starting with __ and the normal name is an alias. */
13278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13286 if { (eval echo configure:13287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13288 eval "ac_cv_func_
$ac_func=yes"
13290 echo "configure
: failed program was
:" >&5
13291 cat conftest.$ac_ext >&5
13293 eval "ac_cv_func_
$ac_func=no
"
13298 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13299 echo "$ac_t""yes" 1>&6
13300 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13301 cat >> confdefs.h <<EOF
13302 #define $ac_tr_func 1
13306 echo "$ac_t""no
" 1>&6
13312 echo $ac_n "checking
for _frexpl declaration
""...
$ac_c" 1>&6
13313 echo "configure
:13314: checking
for _frexpl declaration
" >&5
13314 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
13315 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
13316 echo $ac_n "(cached
) $ac_c" 1>&6
13321 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13322 ac_cpp='$CXXCPP $CPPFLAGS'
13323 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13324 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13325 cross_compiling=$ac_cv_prog_cxx_cross
13327 cat > conftest.$ac_ext <<EOF
13328 #line 13329 "configure
"
13329 #include "confdefs.h
"
13335 if { (eval echo configure:13336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13337 glibcpp_cv_func__frexpl_use=yes
13339 echo "configure
: failed program was
:" >&5
13340 cat conftest.$ac_ext >&5
13342 glibcpp_cv_func__frexpl_use=no
13346 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13347 ac_cpp='$CPP $CPPFLAGS'
13348 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13349 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13350 cross_compiling=$ac_cv_prog_cc_cross
13356 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
13358 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
13359 for ac_func in _frexpl
13361 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13362 echo "configure
:13363: checking
for $ac_func" >&5
13363 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13364 echo $ac_n "(cached
) $ac_c" 1>&6
13366 cat > conftest.$ac_ext <<EOF
13367 #line 13368 "configure
"
13368 #include "confdefs.h
"
13369 /* System header to define __stub macros and hopefully few prototypes,
13370 which can conflict with char $ac_func(); below. */
13371 #include <assert.h>
13372 /* Override any gcc2 internal prototype to avoid an error. */
13373 /* We use char because int might match the return type of a gcc2
13374 builtin and then its argument prototype would still apply. */
13379 /* The GNU C library defines this for functions which it implements
13380 to always fail with ENOSYS. Some functions are actually named
13381 something starting with __ and the normal name is an alias. */
13382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13390 if { (eval echo configure:13391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13392 eval "ac_cv_func_
$ac_func=yes"
13394 echo "configure
: failed program was
:" >&5
13395 cat conftest.$ac_ext >&5
13397 eval "ac_cv_func_
$ac_func=no
"
13402 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13403 echo "$ac_t""yes" 1>&6
13404 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13405 cat >> confdefs.h <<EOF
13406 #define $ac_tr_func 1
13410 echo "$ac_t""no
" 1>&6
13419 echo $ac_n "checking
for hypotl declaration
""...
$ac_c" 1>&6
13420 echo "configure
:13421: checking
for hypotl declaration
" >&5
13421 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
13422 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
13423 echo $ac_n "(cached
) $ac_c" 1>&6
13428 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13429 ac_cpp='$CXXCPP $CPPFLAGS'
13430 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13431 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13432 cross_compiling=$ac_cv_prog_cxx_cross
13434 cat > conftest.$ac_ext <<EOF
13435 #line 13436 "configure
"
13436 #include "confdefs.h
"
13442 if { (eval echo configure:13443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13444 glibcpp_cv_func_hypotl_use=yes
13446 echo "configure
: failed program was
:" >&5
13447 cat conftest.$ac_ext >&5
13449 glibcpp_cv_func_hypotl_use=no
13453 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13454 ac_cpp='$CPP $CPPFLAGS'
13455 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13456 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13457 cross_compiling=$ac_cv_prog_cc_cross
13463 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
13465 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
13466 for ac_func in hypotl
13468 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13469 echo "configure
:13470: checking
for $ac_func" >&5
13470 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13471 echo $ac_n "(cached
) $ac_c" 1>&6
13473 cat > conftest.$ac_ext <<EOF
13474 #line 13475 "configure
"
13475 #include "confdefs.h
"
13476 /* System header to define __stub macros and hopefully few prototypes,
13477 which can conflict with char $ac_func(); below. */
13478 #include <assert.h>
13479 /* Override any gcc2 internal prototype to avoid an error. */
13480 /* We use char because int might match the return type of a gcc2
13481 builtin and then its argument prototype would still apply. */
13486 /* The GNU C library defines this for functions which it implements
13487 to always fail with ENOSYS. Some functions are actually named
13488 something starting with __ and the normal name is an alias. */
13489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13497 if { (eval echo configure:13498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13499 eval "ac_cv_func_
$ac_func=yes"
13501 echo "configure
: failed program was
:" >&5
13502 cat conftest.$ac_ext >&5
13504 eval "ac_cv_func_
$ac_func=no
"
13509 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13510 echo "$ac_t""yes" 1>&6
13511 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13512 cat >> confdefs.h <<EOF
13513 #define $ac_tr_func 1
13517 echo "$ac_t""no
" 1>&6
13523 echo $ac_n "checking
for _hypotl declaration
""...
$ac_c" 1>&6
13524 echo "configure
:13525: checking
for _hypotl declaration
" >&5
13525 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
13526 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
13527 echo $ac_n "(cached
) $ac_c" 1>&6
13532 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13533 ac_cpp='$CXXCPP $CPPFLAGS'
13534 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13535 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13536 cross_compiling=$ac_cv_prog_cxx_cross
13538 cat > conftest.$ac_ext <<EOF
13539 #line 13540 "configure
"
13540 #include "confdefs.h
"
13546 if { (eval echo configure:13547: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13548 glibcpp_cv_func__hypotl_use=yes
13550 echo "configure
: failed program was
:" >&5
13551 cat conftest.$ac_ext >&5
13553 glibcpp_cv_func__hypotl_use=no
13557 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13558 ac_cpp='$CPP $CPPFLAGS'
13559 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13560 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13561 cross_compiling=$ac_cv_prog_cc_cross
13567 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
13569 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
13570 for ac_func in _hypotl
13572 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13573 echo "configure
:13574: checking
for $ac_func" >&5
13574 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13575 echo $ac_n "(cached
) $ac_c" 1>&6
13577 cat > conftest.$ac_ext <<EOF
13578 #line 13579 "configure
"
13579 #include "confdefs.h
"
13580 /* System header to define __stub macros and hopefully few prototypes,
13581 which can conflict with char $ac_func(); below. */
13582 #include <assert.h>
13583 /* Override any gcc2 internal prototype to avoid an error. */
13584 /* We use char because int might match the return type of a gcc2
13585 builtin and then its argument prototype would still apply. */
13590 /* The GNU C library defines this for functions which it implements
13591 to always fail with ENOSYS. Some functions are actually named
13592 something starting with __ and the normal name is an alias. */
13593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13601 if { (eval echo configure:13602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13603 eval "ac_cv_func_
$ac_func=yes"
13605 echo "configure
: failed program was
:" >&5
13606 cat conftest.$ac_ext >&5
13608 eval "ac_cv_func_
$ac_func=no
"
13613 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13614 echo "$ac_t""yes" 1>&6
13615 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13616 cat >> confdefs.h <<EOF
13617 #define $ac_tr_func 1
13621 echo "$ac_t""no
" 1>&6
13630 echo $ac_n "checking
for ldexpl declaration
""...
$ac_c" 1>&6
13631 echo "configure
:13632: checking
for ldexpl declaration
" >&5
13632 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
13633 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
13634 echo $ac_n "(cached
) $ac_c" 1>&6
13639 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13640 ac_cpp='$CXXCPP $CPPFLAGS'
13641 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13642 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13643 cross_compiling=$ac_cv_prog_cxx_cross
13645 cat > conftest.$ac_ext <<EOF
13646 #line 13647 "configure
"
13647 #include "confdefs.h
"
13653 if { (eval echo configure:13654: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13655 glibcpp_cv_func_ldexpl_use=yes
13657 echo "configure
: failed program was
:" >&5
13658 cat conftest.$ac_ext >&5
13660 glibcpp_cv_func_ldexpl_use=no
13664 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13665 ac_cpp='$CPP $CPPFLAGS'
13666 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13667 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13668 cross_compiling=$ac_cv_prog_cc_cross
13674 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
13676 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
13677 for ac_func in ldexpl
13679 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13680 echo "configure
:13681: checking
for $ac_func" >&5
13681 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13682 echo $ac_n "(cached
) $ac_c" 1>&6
13684 cat > conftest.$ac_ext <<EOF
13685 #line 13686 "configure
"
13686 #include "confdefs.h
"
13687 /* System header to define __stub macros and hopefully few prototypes,
13688 which can conflict with char $ac_func(); below. */
13689 #include <assert.h>
13690 /* Override any gcc2 internal prototype to avoid an error. */
13691 /* We use char because int might match the return type of a gcc2
13692 builtin and then its argument prototype would still apply. */
13697 /* The GNU C library defines this for functions which it implements
13698 to always fail with ENOSYS. Some functions are actually named
13699 something starting with __ and the normal name is an alias. */
13700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13708 if { (eval echo configure:13709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13710 eval "ac_cv_func_
$ac_func=yes"
13712 echo "configure
: failed program was
:" >&5
13713 cat conftest.$ac_ext >&5
13715 eval "ac_cv_func_
$ac_func=no
"
13720 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13721 echo "$ac_t""yes" 1>&6
13722 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13723 cat >> confdefs.h <<EOF
13724 #define $ac_tr_func 1
13728 echo "$ac_t""no
" 1>&6
13734 echo $ac_n "checking
for _ldexpl declaration
""...
$ac_c" 1>&6
13735 echo "configure
:13736: checking
for _ldexpl declaration
" >&5
13736 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
13737 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
13738 echo $ac_n "(cached
) $ac_c" 1>&6
13743 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13744 ac_cpp='$CXXCPP $CPPFLAGS'
13745 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13746 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13747 cross_compiling=$ac_cv_prog_cxx_cross
13749 cat > conftest.$ac_ext <<EOF
13750 #line 13751 "configure
"
13751 #include "confdefs.h
"
13757 if { (eval echo configure:13758: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13759 glibcpp_cv_func__ldexpl_use=yes
13761 echo "configure
: failed program was
:" >&5
13762 cat conftest.$ac_ext >&5
13764 glibcpp_cv_func__ldexpl_use=no
13768 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13769 ac_cpp='$CPP $CPPFLAGS'
13770 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13771 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13772 cross_compiling=$ac_cv_prog_cc_cross
13778 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
13780 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
13781 for ac_func in _ldexpl
13783 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13784 echo "configure
:13785: checking
for $ac_func" >&5
13785 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13786 echo $ac_n "(cached
) $ac_c" 1>&6
13788 cat > conftest.$ac_ext <<EOF
13789 #line 13790 "configure
"
13790 #include "confdefs.h
"
13791 /* System header to define __stub macros and hopefully few prototypes,
13792 which can conflict with char $ac_func(); below. */
13793 #include <assert.h>
13794 /* Override any gcc2 internal prototype to avoid an error. */
13795 /* We use char because int might match the return type of a gcc2
13796 builtin and then its argument prototype would still apply. */
13801 /* The GNU C library defines this for functions which it implements
13802 to always fail with ENOSYS. Some functions are actually named
13803 something starting with __ and the normal name is an alias. */
13804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13812 if { (eval echo configure:13813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13814 eval "ac_cv_func_
$ac_func=yes"
13816 echo "configure
: failed program was
:" >&5
13817 cat conftest.$ac_ext >&5
13819 eval "ac_cv_func_
$ac_func=no
"
13824 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13825 echo "$ac_t""yes" 1>&6
13826 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13827 cat >> confdefs.h <<EOF
13828 #define $ac_tr_func 1
13832 echo "$ac_t""no
" 1>&6
13841 echo $ac_n "checking
for logl declaration
""...
$ac_c" 1>&6
13842 echo "configure
:13843: checking
for logl declaration
" >&5
13843 if test x${glibcpp_cv_func_logl_use+set} != xset; then
13844 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
13845 echo $ac_n "(cached
) $ac_c" 1>&6
13850 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13851 ac_cpp='$CXXCPP $CPPFLAGS'
13852 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13853 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13854 cross_compiling=$ac_cv_prog_cxx_cross
13856 cat > conftest.$ac_ext <<EOF
13857 #line 13858 "configure
"
13858 #include "confdefs.h
"
13860 #ifdef HAVE_IEEEFP_H
13861 #include <ieeefp.h>
13868 if { (eval echo configure:13869: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13870 glibcpp_cv_func_logl_use=yes
13872 echo "configure
: failed program was
:" >&5
13873 cat conftest.$ac_ext >&5
13875 glibcpp_cv_func_logl_use=no
13879 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13880 ac_cpp='$CPP $CPPFLAGS'
13881 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13882 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13883 cross_compiling=$ac_cv_prog_cc_cross
13889 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
13891 if test x$glibcpp_cv_func_logl_use = x"yes"; then
13892 for ac_func in logl
13894 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13895 echo "configure
:13896: checking
for $ac_func" >&5
13896 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13897 echo $ac_n "(cached
) $ac_c" 1>&6
13899 cat > conftest.$ac_ext <<EOF
13900 #line 13901 "configure
"
13901 #include "confdefs.h
"
13902 /* System header to define __stub macros and hopefully few prototypes,
13903 which can conflict with char $ac_func(); below. */
13904 #include <assert.h>
13905 /* Override any gcc2 internal prototype to avoid an error. */
13906 /* We use char because int might match the return type of a gcc2
13907 builtin and then its argument prototype would still apply. */
13912 /* The GNU C library defines this for functions which it implements
13913 to always fail with ENOSYS. Some functions are actually named
13914 something starting with __ and the normal name is an alias. */
13915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13923 if { (eval echo configure:13924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13925 eval "ac_cv_func_
$ac_func=yes"
13927 echo "configure
: failed program was
:" >&5
13928 cat conftest.$ac_ext >&5
13930 eval "ac_cv_func_
$ac_func=no
"
13935 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13936 echo "$ac_t""yes" 1>&6
13937 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13938 cat >> confdefs.h <<EOF
13939 #define $ac_tr_func 1
13943 echo "$ac_t""no
" 1>&6
13949 echo $ac_n "checking
for _logl declaration
""...
$ac_c" 1>&6
13950 echo "configure
:13951: checking
for _logl declaration
" >&5
13951 if test x${glibcpp_cv_func__logl_use+set} != xset; then
13952 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
13953 echo $ac_n "(cached
) $ac_c" 1>&6
13958 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13959 ac_cpp='$CXXCPP $CPPFLAGS'
13960 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13961 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13962 cross_compiling=$ac_cv_prog_cxx_cross
13964 cat > conftest.$ac_ext <<EOF
13965 #line 13966 "configure
"
13966 #include "confdefs.h
"
13968 #ifdef HAVE_IEEEFP_H
13969 #include <ieeefp.h>
13976 if { (eval echo configure:13977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13978 glibcpp_cv_func__logl_use=yes
13980 echo "configure
: failed program was
:" >&5
13981 cat conftest.$ac_ext >&5
13983 glibcpp_cv_func__logl_use=no
13987 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13988 ac_cpp='$CPP $CPPFLAGS'
13989 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13990 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13991 cross_compiling=$ac_cv_prog_cc_cross
13997 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
13999 if test x$glibcpp_cv_func__logl_use = x"yes"; then
14000 for ac_func in _logl
14002 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14003 echo "configure
:14004: checking
for $ac_func" >&5
14004 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14005 echo $ac_n "(cached
) $ac_c" 1>&6
14007 cat > conftest.$ac_ext <<EOF
14008 #line 14009 "configure
"
14009 #include "confdefs.h
"
14010 /* System header to define __stub macros and hopefully few prototypes,
14011 which can conflict with char $ac_func(); below. */
14012 #include <assert.h>
14013 /* Override any gcc2 internal prototype to avoid an error. */
14014 /* We use char because int might match the return type of a gcc2
14015 builtin and then its argument prototype would still apply. */
14020 /* The GNU C library defines this for functions which it implements
14021 to always fail with ENOSYS. Some functions are actually named
14022 something starting with __ and the normal name is an alias. */
14023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14031 if { (eval echo configure:14032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14033 eval "ac_cv_func_
$ac_func=yes"
14035 echo "configure
: failed program was
:" >&5
14036 cat conftest.$ac_ext >&5
14038 eval "ac_cv_func_
$ac_func=no
"
14043 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14044 echo "$ac_t""yes" 1>&6
14045 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14046 cat >> confdefs.h <<EOF
14047 #define $ac_tr_func 1
14051 echo "$ac_t""no
" 1>&6
14060 echo $ac_n "checking
for log10l declaration
""...
$ac_c" 1>&6
14061 echo "configure
:14062: checking
for log10l declaration
" >&5
14062 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
14063 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
14064 echo $ac_n "(cached
) $ac_c" 1>&6
14069 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14070 ac_cpp='$CXXCPP $CPPFLAGS'
14071 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14072 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14073 cross_compiling=$ac_cv_prog_cxx_cross
14075 cat > conftest.$ac_ext <<EOF
14076 #line 14077 "configure
"
14077 #include "confdefs.h
"
14079 #ifdef HAVE_IEEEFP_H
14080 #include <ieeefp.h>
14087 if { (eval echo configure:14088: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14089 glibcpp_cv_func_log10l_use=yes
14091 echo "configure
: failed program was
:" >&5
14092 cat conftest.$ac_ext >&5
14094 glibcpp_cv_func_log10l_use=no
14098 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14099 ac_cpp='$CPP $CPPFLAGS'
14100 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14101 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14102 cross_compiling=$ac_cv_prog_cc_cross
14108 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
14110 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
14111 for ac_func in log10l
14113 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14114 echo "configure
:14115: checking
for $ac_func" >&5
14115 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14116 echo $ac_n "(cached
) $ac_c" 1>&6
14118 cat > conftest.$ac_ext <<EOF
14119 #line 14120 "configure
"
14120 #include "confdefs.h
"
14121 /* System header to define __stub macros and hopefully few prototypes,
14122 which can conflict with char $ac_func(); below. */
14123 #include <assert.h>
14124 /* Override any gcc2 internal prototype to avoid an error. */
14125 /* We use char because int might match the return type of a gcc2
14126 builtin and then its argument prototype would still apply. */
14131 /* The GNU C library defines this for functions which it implements
14132 to always fail with ENOSYS. Some functions are actually named
14133 something starting with __ and the normal name is an alias. */
14134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14142 if { (eval echo configure:14143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14144 eval "ac_cv_func_
$ac_func=yes"
14146 echo "configure
: failed program was
:" >&5
14147 cat conftest.$ac_ext >&5
14149 eval "ac_cv_func_
$ac_func=no
"
14154 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14155 echo "$ac_t""yes" 1>&6
14156 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14157 cat >> confdefs.h <<EOF
14158 #define $ac_tr_func 1
14162 echo "$ac_t""no
" 1>&6
14168 echo $ac_n "checking
for _log10l declaration
""...
$ac_c" 1>&6
14169 echo "configure
:14170: checking
for _log10l declaration
" >&5
14170 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
14171 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
14172 echo $ac_n "(cached
) $ac_c" 1>&6
14177 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14178 ac_cpp='$CXXCPP $CPPFLAGS'
14179 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14180 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14181 cross_compiling=$ac_cv_prog_cxx_cross
14183 cat > conftest.$ac_ext <<EOF
14184 #line 14185 "configure
"
14185 #include "confdefs.h
"
14187 #ifdef HAVE_IEEEFP_H
14188 #include <ieeefp.h>
14195 if { (eval echo configure:14196: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14197 glibcpp_cv_func__log10l_use=yes
14199 echo "configure
: failed program was
:" >&5
14200 cat conftest.$ac_ext >&5
14202 glibcpp_cv_func__log10l_use=no
14206 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14207 ac_cpp='$CPP $CPPFLAGS'
14208 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14209 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14210 cross_compiling=$ac_cv_prog_cc_cross
14216 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
14218 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
14219 for ac_func in _log10l
14221 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14222 echo "configure
:14223: checking
for $ac_func" >&5
14223 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14224 echo $ac_n "(cached
) $ac_c" 1>&6
14226 cat > conftest.$ac_ext <<EOF
14227 #line 14228 "configure
"
14228 #include "confdefs.h
"
14229 /* System header to define __stub macros and hopefully few prototypes,
14230 which can conflict with char $ac_func(); below. */
14231 #include <assert.h>
14232 /* Override any gcc2 internal prototype to avoid an error. */
14233 /* We use char because int might match the return type of a gcc2
14234 builtin and then its argument prototype would still apply. */
14239 /* The GNU C library defines this for functions which it implements
14240 to always fail with ENOSYS. Some functions are actually named
14241 something starting with __ and the normal name is an alias. */
14242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14250 if { (eval echo configure:14251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14252 eval "ac_cv_func_
$ac_func=yes"
14254 echo "configure
: failed program was
:" >&5
14255 cat conftest.$ac_ext >&5
14257 eval "ac_cv_func_
$ac_func=no
"
14262 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14263 echo "$ac_t""yes" 1>&6
14264 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14265 cat >> confdefs.h <<EOF
14266 #define $ac_tr_func 1
14270 echo "$ac_t""no
" 1>&6
14279 echo $ac_n "checking
for modfl declaration
""...
$ac_c" 1>&6
14280 echo "configure
:14281: checking
for modfl declaration
" >&5
14281 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
14282 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
14283 echo $ac_n "(cached
) $ac_c" 1>&6
14288 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14289 ac_cpp='$CXXCPP $CPPFLAGS'
14290 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14291 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14292 cross_compiling=$ac_cv_prog_cxx_cross
14294 cat > conftest.$ac_ext <<EOF
14295 #line 14296 "configure
"
14296 #include "confdefs.h
"
14302 if { (eval echo configure:14303: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14304 glibcpp_cv_func_modfl_use=yes
14306 echo "configure
: failed program was
:" >&5
14307 cat conftest.$ac_ext >&5
14309 glibcpp_cv_func_modfl_use=no
14313 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14314 ac_cpp='$CPP $CPPFLAGS'
14315 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14316 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14317 cross_compiling=$ac_cv_prog_cc_cross
14323 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
14325 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
14326 for ac_func in modfl
14328 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14329 echo "configure
:14330: checking
for $ac_func" >&5
14330 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14331 echo $ac_n "(cached
) $ac_c" 1>&6
14333 cat > conftest.$ac_ext <<EOF
14334 #line 14335 "configure
"
14335 #include "confdefs.h
"
14336 /* System header to define __stub macros and hopefully few prototypes,
14337 which can conflict with char $ac_func(); below. */
14338 #include <assert.h>
14339 /* Override any gcc2 internal prototype to avoid an error. */
14340 /* We use char because int might match the return type of a gcc2
14341 builtin and then its argument prototype would still apply. */
14346 /* The GNU C library defines this for functions which it implements
14347 to always fail with ENOSYS. Some functions are actually named
14348 something starting with __ and the normal name is an alias. */
14349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14357 if { (eval echo configure:14358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14359 eval "ac_cv_func_
$ac_func=yes"
14361 echo "configure
: failed program was
:" >&5
14362 cat conftest.$ac_ext >&5
14364 eval "ac_cv_func_
$ac_func=no
"
14369 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14370 echo "$ac_t""yes" 1>&6
14371 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14372 cat >> confdefs.h <<EOF
14373 #define $ac_tr_func 1
14377 echo "$ac_t""no
" 1>&6
14383 echo $ac_n "checking
for _modfl declaration
""...
$ac_c" 1>&6
14384 echo "configure
:14385: checking
for _modfl declaration
" >&5
14385 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
14386 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
14387 echo $ac_n "(cached
) $ac_c" 1>&6
14392 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14393 ac_cpp='$CXXCPP $CPPFLAGS'
14394 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14395 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14396 cross_compiling=$ac_cv_prog_cxx_cross
14398 cat > conftest.$ac_ext <<EOF
14399 #line 14400 "configure
"
14400 #include "confdefs.h
"
14406 if { (eval echo configure:14407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14408 glibcpp_cv_func__modfl_use=yes
14410 echo "configure
: failed program was
:" >&5
14411 cat conftest.$ac_ext >&5
14413 glibcpp_cv_func__modfl_use=no
14417 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14418 ac_cpp='$CPP $CPPFLAGS'
14419 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14420 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14421 cross_compiling=$ac_cv_prog_cc_cross
14427 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
14429 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
14430 for ac_func in _modfl
14432 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14433 echo "configure
:14434: checking
for $ac_func" >&5
14434 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14435 echo $ac_n "(cached
) $ac_c" 1>&6
14437 cat > conftest.$ac_ext <<EOF
14438 #line 14439 "configure
"
14439 #include "confdefs.h
"
14440 /* System header to define __stub macros and hopefully few prototypes,
14441 which can conflict with char $ac_func(); below. */
14442 #include <assert.h>
14443 /* Override any gcc2 internal prototype to avoid an error. */
14444 /* We use char because int might match the return type of a gcc2
14445 builtin and then its argument prototype would still apply. */
14450 /* The GNU C library defines this for functions which it implements
14451 to always fail with ENOSYS. Some functions are actually named
14452 something starting with __ and the normal name is an alias. */
14453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14461 if { (eval echo configure:14462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14463 eval "ac_cv_func_
$ac_func=yes"
14465 echo "configure
: failed program was
:" >&5
14466 cat conftest.$ac_ext >&5
14468 eval "ac_cv_func_
$ac_func=no
"
14473 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14474 echo "$ac_t""yes" 1>&6
14475 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14476 cat >> confdefs.h <<EOF
14477 #define $ac_tr_func 1
14481 echo "$ac_t""no
" 1>&6
14490 echo $ac_n "checking
for powl declaration
""...
$ac_c" 1>&6
14491 echo "configure
:14492: checking
for powl declaration
" >&5
14492 if test x${glibcpp_cv_func_powl_use+set} != xset; then
14493 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
14494 echo $ac_n "(cached
) $ac_c" 1>&6
14499 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14500 ac_cpp='$CXXCPP $CPPFLAGS'
14501 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14502 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14503 cross_compiling=$ac_cv_prog_cxx_cross
14505 cat > conftest.$ac_ext <<EOF
14506 #line 14507 "configure
"
14507 #include "confdefs.h
"
14513 if { (eval echo configure:14514: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14515 glibcpp_cv_func_powl_use=yes
14517 echo "configure
: failed program was
:" >&5
14518 cat conftest.$ac_ext >&5
14520 glibcpp_cv_func_powl_use=no
14524 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14525 ac_cpp='$CPP $CPPFLAGS'
14526 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14527 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14528 cross_compiling=$ac_cv_prog_cc_cross
14534 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
14536 if test x$glibcpp_cv_func_powl_use = x"yes"; then
14537 for ac_func in powl
14539 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14540 echo "configure
:14541: checking
for $ac_func" >&5
14541 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14542 echo $ac_n "(cached
) $ac_c" 1>&6
14544 cat > conftest.$ac_ext <<EOF
14545 #line 14546 "configure
"
14546 #include "confdefs.h
"
14547 /* System header to define __stub macros and hopefully few prototypes,
14548 which can conflict with char $ac_func(); below. */
14549 #include <assert.h>
14550 /* Override any gcc2 internal prototype to avoid an error. */
14551 /* We use char because int might match the return type of a gcc2
14552 builtin and then its argument prototype would still apply. */
14557 /* The GNU C library defines this for functions which it implements
14558 to always fail with ENOSYS. Some functions are actually named
14559 something starting with __ and the normal name is an alias. */
14560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14568 if { (eval echo configure:14569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14570 eval "ac_cv_func_
$ac_func=yes"
14572 echo "configure
: failed program was
:" >&5
14573 cat conftest.$ac_ext >&5
14575 eval "ac_cv_func_
$ac_func=no
"
14580 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14581 echo "$ac_t""yes" 1>&6
14582 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14583 cat >> confdefs.h <<EOF
14584 #define $ac_tr_func 1
14588 echo "$ac_t""no
" 1>&6
14594 echo $ac_n "checking
for _powl declaration
""...
$ac_c" 1>&6
14595 echo "configure
:14596: checking
for _powl declaration
" >&5
14596 if test x${glibcpp_cv_func__powl_use+set} != xset; then
14597 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
14598 echo $ac_n "(cached
) $ac_c" 1>&6
14603 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14604 ac_cpp='$CXXCPP $CPPFLAGS'
14605 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14606 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14607 cross_compiling=$ac_cv_prog_cxx_cross
14609 cat > conftest.$ac_ext <<EOF
14610 #line 14611 "configure
"
14611 #include "confdefs.h
"
14617 if { (eval echo configure:14618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14619 glibcpp_cv_func__powl_use=yes
14621 echo "configure
: failed program was
:" >&5
14622 cat conftest.$ac_ext >&5
14624 glibcpp_cv_func__powl_use=no
14628 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14629 ac_cpp='$CPP $CPPFLAGS'
14630 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14631 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14632 cross_compiling=$ac_cv_prog_cc_cross
14638 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
14640 if test x$glibcpp_cv_func__powl_use = x"yes"; then
14641 for ac_func in _powl
14643 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14644 echo "configure
:14645: checking
for $ac_func" >&5
14645 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14646 echo $ac_n "(cached
) $ac_c" 1>&6
14648 cat > conftest.$ac_ext <<EOF
14649 #line 14650 "configure
"
14650 #include "confdefs.h
"
14651 /* System header to define __stub macros and hopefully few prototypes,
14652 which can conflict with char $ac_func(); below. */
14653 #include <assert.h>
14654 /* Override any gcc2 internal prototype to avoid an error. */
14655 /* We use char because int might match the return type of a gcc2
14656 builtin and then its argument prototype would still apply. */
14661 /* The GNU C library defines this for functions which it implements
14662 to always fail with ENOSYS. Some functions are actually named
14663 something starting with __ and the normal name is an alias. */
14664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14672 if { (eval echo configure:14673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14674 eval "ac_cv_func_
$ac_func=yes"
14676 echo "configure
: failed program was
:" >&5
14677 cat conftest.$ac_ext >&5
14679 eval "ac_cv_func_
$ac_func=no
"
14684 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14685 echo "$ac_t""yes" 1>&6
14686 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14687 cat >> confdefs.h <<EOF
14688 #define $ac_tr_func 1
14692 echo "$ac_t""no
" 1>&6
14701 echo $ac_n "checking
for sqrtl declaration
""...
$ac_c" 1>&6
14702 echo "configure
:14703: checking
for sqrtl declaration
" >&5
14703 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
14704 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
14705 echo $ac_n "(cached
) $ac_c" 1>&6
14710 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14711 ac_cpp='$CXXCPP $CPPFLAGS'
14712 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14713 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14714 cross_compiling=$ac_cv_prog_cxx_cross
14716 cat > conftest.$ac_ext <<EOF
14717 #line 14718 "configure
"
14718 #include "confdefs.h
"
14720 #ifdef HAVE_IEEEFP_H
14721 #include <ieeefp.h>
14728 if { (eval echo configure:14729: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14730 glibcpp_cv_func_sqrtl_use=yes
14732 echo "configure
: failed program was
:" >&5
14733 cat conftest.$ac_ext >&5
14735 glibcpp_cv_func_sqrtl_use=no
14739 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14740 ac_cpp='$CPP $CPPFLAGS'
14741 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14742 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14743 cross_compiling=$ac_cv_prog_cc_cross
14749 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
14751 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
14752 for ac_func in sqrtl
14754 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14755 echo "configure
:14756: checking
for $ac_func" >&5
14756 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14757 echo $ac_n "(cached
) $ac_c" 1>&6
14759 cat > conftest.$ac_ext <<EOF
14760 #line 14761 "configure
"
14761 #include "confdefs.h
"
14762 /* System header to define __stub macros and hopefully few prototypes,
14763 which can conflict with char $ac_func(); below. */
14764 #include <assert.h>
14765 /* Override any gcc2 internal prototype to avoid an error. */
14766 /* We use char because int might match the return type of a gcc2
14767 builtin and then its argument prototype would still apply. */
14772 /* The GNU C library defines this for functions which it implements
14773 to always fail with ENOSYS. Some functions are actually named
14774 something starting with __ and the normal name is an alias. */
14775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14783 if { (eval echo configure:14784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14785 eval "ac_cv_func_
$ac_func=yes"
14787 echo "configure
: failed program was
:" >&5
14788 cat conftest.$ac_ext >&5
14790 eval "ac_cv_func_
$ac_func=no
"
14795 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14796 echo "$ac_t""yes" 1>&6
14797 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14798 cat >> confdefs.h <<EOF
14799 #define $ac_tr_func 1
14803 echo "$ac_t""no
" 1>&6
14809 echo $ac_n "checking
for _sqrtl declaration
""...
$ac_c" 1>&6
14810 echo "configure
:14811: checking
for _sqrtl declaration
" >&5
14811 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
14812 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
14813 echo $ac_n "(cached
) $ac_c" 1>&6
14818 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14819 ac_cpp='$CXXCPP $CPPFLAGS'
14820 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14821 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14822 cross_compiling=$ac_cv_prog_cxx_cross
14824 cat > conftest.$ac_ext <<EOF
14825 #line 14826 "configure
"
14826 #include "confdefs.h
"
14828 #ifdef HAVE_IEEEFP_H
14829 #include <ieeefp.h>
14836 if { (eval echo configure:14837: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14838 glibcpp_cv_func__sqrtl_use=yes
14840 echo "configure
: failed program was
:" >&5
14841 cat conftest.$ac_ext >&5
14843 glibcpp_cv_func__sqrtl_use=no
14847 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14848 ac_cpp='$CPP $CPPFLAGS'
14849 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14850 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14851 cross_compiling=$ac_cv_prog_cc_cross
14857 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
14859 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
14860 for ac_func in _sqrtl
14862 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14863 echo "configure
:14864: checking
for $ac_func" >&5
14864 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14865 echo $ac_n "(cached
) $ac_c" 1>&6
14867 cat > conftest.$ac_ext <<EOF
14868 #line 14869 "configure
"
14869 #include "confdefs.h
"
14870 /* System header to define __stub macros and hopefully few prototypes,
14871 which can conflict with char $ac_func(); below. */
14872 #include <assert.h>
14873 /* Override any gcc2 internal prototype to avoid an error. */
14874 /* We use char because int might match the return type of a gcc2
14875 builtin and then its argument prototype would still apply. */
14880 /* The GNU C library defines this for functions which it implements
14881 to always fail with ENOSYS. Some functions are actually named
14882 something starting with __ and the normal name is an alias. */
14883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14891 if { (eval echo configure:14892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14893 eval "ac_cv_func_
$ac_func=yes"
14895 echo "configure
: failed program was
:" >&5
14896 cat conftest.$ac_ext >&5
14898 eval "ac_cv_func_
$ac_func=no
"
14903 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14904 echo "$ac_t""yes" 1>&6
14905 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14906 cat >> confdefs.h <<EOF
14907 #define $ac_tr_func 1
14911 echo "$ac_t""no
" 1>&6
14920 echo $ac_n "checking
for sincosl declaration
""...
$ac_c" 1>&6
14921 echo "configure
:14922: checking
for sincosl declaration
" >&5
14922 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
14923 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
14924 echo $ac_n "(cached
) $ac_c" 1>&6
14929 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14930 ac_cpp='$CXXCPP $CPPFLAGS'
14931 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14932 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14933 cross_compiling=$ac_cv_prog_cxx_cross
14935 cat > conftest.$ac_ext <<EOF
14936 #line 14937 "configure
"
14937 #include "confdefs.h
"
14943 if { (eval echo configure:14944: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14945 glibcpp_cv_func_sincosl_use=yes
14947 echo "configure
: failed program was
:" >&5
14948 cat conftest.$ac_ext >&5
14950 glibcpp_cv_func_sincosl_use=no
14954 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14955 ac_cpp='$CPP $CPPFLAGS'
14956 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14957 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14958 cross_compiling=$ac_cv_prog_cc_cross
14964 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
14966 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
14967 for ac_func in sincosl
14969 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14970 echo "configure
:14971: checking
for $ac_func" >&5
14971 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14972 echo $ac_n "(cached
) $ac_c" 1>&6
14974 cat > conftest.$ac_ext <<EOF
14975 #line 14976 "configure
"
14976 #include "confdefs.h
"
14977 /* System header to define __stub macros and hopefully few prototypes,
14978 which can conflict with char $ac_func(); below. */
14979 #include <assert.h>
14980 /* Override any gcc2 internal prototype to avoid an error. */
14981 /* We use char because int might match the return type of a gcc2
14982 builtin and then its argument prototype would still apply. */
14987 /* The GNU C library defines this for functions which it implements
14988 to always fail with ENOSYS. Some functions are actually named
14989 something starting with __ and the normal name is an alias. */
14990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14998 if { (eval echo configure:14999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15000 eval "ac_cv_func_
$ac_func=yes"
15002 echo "configure
: failed program was
:" >&5
15003 cat conftest.$ac_ext >&5
15005 eval "ac_cv_func_
$ac_func=no
"
15010 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15011 echo "$ac_t""yes" 1>&6
15012 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15013 cat >> confdefs.h <<EOF
15014 #define $ac_tr_func 1
15018 echo "$ac_t""no
" 1>&6
15024 echo $ac_n "checking
for _sincosl declaration
""...
$ac_c" 1>&6
15025 echo "configure
:15026: checking
for _sincosl declaration
" >&5
15026 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
15027 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
15028 echo $ac_n "(cached
) $ac_c" 1>&6
15033 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15034 ac_cpp='$CXXCPP $CPPFLAGS'
15035 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15036 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15037 cross_compiling=$ac_cv_prog_cxx_cross
15039 cat > conftest.$ac_ext <<EOF
15040 #line 15041 "configure
"
15041 #include "confdefs.h
"
15047 if { (eval echo configure:15048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15049 glibcpp_cv_func__sincosl_use=yes
15051 echo "configure
: failed program was
:" >&5
15052 cat conftest.$ac_ext >&5
15054 glibcpp_cv_func__sincosl_use=no
15058 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15059 ac_cpp='$CPP $CPPFLAGS'
15060 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15061 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15062 cross_compiling=$ac_cv_prog_cc_cross
15068 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
15070 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
15071 for ac_func in _sincosl
15073 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15074 echo "configure
:15075: checking
for $ac_func" >&5
15075 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15076 echo $ac_n "(cached
) $ac_c" 1>&6
15078 cat > conftest.$ac_ext <<EOF
15079 #line 15080 "configure
"
15080 #include "confdefs.h
"
15081 /* System header to define __stub macros and hopefully few prototypes,
15082 which can conflict with char $ac_func(); below. */
15083 #include <assert.h>
15084 /* Override any gcc2 internal prototype to avoid an error. */
15085 /* We use char because int might match the return type of a gcc2
15086 builtin and then its argument prototype would still apply. */
15091 /* The GNU C library defines this for functions which it implements
15092 to always fail with ENOSYS. Some functions are actually named
15093 something starting with __ and the normal name is an alias. */
15094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15102 if { (eval echo configure:15103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15104 eval "ac_cv_func_
$ac_func=yes"
15106 echo "configure
: failed program was
:" >&5
15107 cat conftest.$ac_ext >&5
15109 eval "ac_cv_func_
$ac_func=no
"
15114 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15115 echo "$ac_t""yes" 1>&6
15116 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15117 cat >> confdefs.h <<EOF
15118 #define $ac_tr_func 1
15122 echo "$ac_t""no
" 1>&6
15131 echo $ac_n "checking
for finitel declaration
""...
$ac_c" 1>&6
15132 echo "configure
:15133: checking
for finitel declaration
" >&5
15133 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
15134 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
15135 echo $ac_n "(cached
) $ac_c" 1>&6
15140 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15141 ac_cpp='$CXXCPP $CPPFLAGS'
15142 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15143 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15144 cross_compiling=$ac_cv_prog_cxx_cross
15146 cat > conftest.$ac_ext <<EOF
15147 #line 15148 "configure
"
15148 #include "confdefs.h
"
15150 #ifdef HAVE_IEEEFP_H
15151 #include <ieeefp.h>
15158 if { (eval echo configure:15159: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15160 glibcpp_cv_func_finitel_use=yes
15162 echo "configure
: failed program was
:" >&5
15163 cat conftest.$ac_ext >&5
15165 glibcpp_cv_func_finitel_use=no
15169 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15170 ac_cpp='$CPP $CPPFLAGS'
15171 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15172 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15173 cross_compiling=$ac_cv_prog_cc_cross
15179 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
15181 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
15182 for ac_func in finitel
15184 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15185 echo "configure
:15186: checking
for $ac_func" >&5
15186 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15187 echo $ac_n "(cached
) $ac_c" 1>&6
15189 cat > conftest.$ac_ext <<EOF
15190 #line 15191 "configure
"
15191 #include "confdefs.h
"
15192 /* System header to define __stub macros and hopefully few prototypes,
15193 which can conflict with char $ac_func(); below. */
15194 #include <assert.h>
15195 /* Override any gcc2 internal prototype to avoid an error. */
15196 /* We use char because int might match the return type of a gcc2
15197 builtin and then its argument prototype would still apply. */
15202 /* The GNU C library defines this for functions which it implements
15203 to always fail with ENOSYS. Some functions are actually named
15204 something starting with __ and the normal name is an alias. */
15205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15213 if { (eval echo configure:15214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15215 eval "ac_cv_func_
$ac_func=yes"
15217 echo "configure
: failed program was
:" >&5
15218 cat conftest.$ac_ext >&5
15220 eval "ac_cv_func_
$ac_func=no
"
15225 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15226 echo "$ac_t""yes" 1>&6
15227 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15228 cat >> confdefs.h <<EOF
15229 #define $ac_tr_func 1
15233 echo "$ac_t""no
" 1>&6
15239 echo $ac_n "checking
for _finitel declaration
""...
$ac_c" 1>&6
15240 echo "configure
:15241: checking
for _finitel declaration
" >&5
15241 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
15242 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
15243 echo $ac_n "(cached
) $ac_c" 1>&6
15248 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15249 ac_cpp='$CXXCPP $CPPFLAGS'
15250 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15251 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15252 cross_compiling=$ac_cv_prog_cxx_cross
15254 cat > conftest.$ac_ext <<EOF
15255 #line 15256 "configure
"
15256 #include "confdefs.h
"
15258 #ifdef HAVE_IEEEFP_H
15259 #include <ieeefp.h>
15266 if { (eval echo configure:15267: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15268 glibcpp_cv_func__finitel_use=yes
15270 echo "configure
: failed program was
:" >&5
15271 cat conftest.$ac_ext >&5
15273 glibcpp_cv_func__finitel_use=no
15277 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15278 ac_cpp='$CPP $CPPFLAGS'
15279 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15280 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15281 cross_compiling=$ac_cv_prog_cc_cross
15287 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
15289 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
15290 for ac_func in _finitel
15292 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15293 echo "configure
:15294: checking
for $ac_func" >&5
15294 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15295 echo $ac_n "(cached
) $ac_c" 1>&6
15297 cat > conftest.$ac_ext <<EOF
15298 #line 15299 "configure
"
15299 #include "confdefs.h
"
15300 /* System header to define __stub macros and hopefully few prototypes,
15301 which can conflict with char $ac_func(); below. */
15302 #include <assert.h>
15303 /* Override any gcc2 internal prototype to avoid an error. */
15304 /* We use char because int might match the return type of a gcc2
15305 builtin and then its argument prototype would still apply. */
15310 /* The GNU C library defines this for functions which it implements
15311 to always fail with ENOSYS. Some functions are actually named
15312 something starting with __ and the normal name is an alias. */
15313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15321 if { (eval echo configure:15322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15323 eval "ac_cv_func_
$ac_func=yes"
15325 echo "configure
: failed program was
:" >&5
15326 cat conftest.$ac_ext >&5
15328 eval "ac_cv_func_
$ac_func=no
"
15333 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15334 echo "$ac_t""yes" 1>&6
15335 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15336 cat >> confdefs.h <<EOF
15337 #define $ac_tr_func 1
15341 echo "$ac_t""no
" 1>&6
15351 echo $ac_n "checking
for _float trig functions
""...
$ac_c" 1>&6
15352 echo "configure
:15353: checking
for _float trig functions
" >&5
15353 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
15354 echo $ac_n "(cached
) $ac_c" 1>&6
15359 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15360 ac_cpp='$CXXCPP $CPPFLAGS'
15361 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15362 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15363 cross_compiling=$ac_cv_prog_cxx_cross
15365 cat > conftest.$ac_ext <<EOF
15366 #line 15367 "configure
"
15367 #include "confdefs.h
"
15370 `for x in _acosf _asinf _atanf \
15371 _cosf _sinf _tanf \
15372 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
15375 if { (eval echo configure:15376: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15377 glibcpp_cv_func__float_trig_use=yes
15379 echo "configure
: failed program was
:" >&5
15380 cat conftest.$ac_ext >&5
15382 glibcpp_cv_func__float_trig_use=no
15386 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15387 ac_cpp='$CPP $CPPFLAGS'
15388 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15389 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15390 cross_compiling=$ac_cv_prog_cc_cross
15394 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
15395 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
15396 for ac_func in _acosf _asinf _atanf \
15397 _cosf _sinf _tanf \
15398 _coshf _sinhf _tanhf
15400 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15401 echo "configure
:15402: checking
for $ac_func" >&5
15402 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15403 echo $ac_n "(cached
) $ac_c" 1>&6
15405 cat > conftest.$ac_ext <<EOF
15406 #line 15407 "configure
"
15407 #include "confdefs.h
"
15408 /* System header to define __stub macros and hopefully few prototypes,
15409 which can conflict with char $ac_func(); below. */
15410 #include <assert.h>
15411 /* Override any gcc2 internal prototype to avoid an error. */
15412 /* We use char because int might match the return type of a gcc2
15413 builtin and then its argument prototype would still apply. */
15418 /* The GNU C library defines this for functions which it implements
15419 to always fail with ENOSYS. Some functions are actually named
15420 something starting with __ and the normal name is an alias. */
15421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15429 if { (eval echo configure:15430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15431 eval "ac_cv_func_
$ac_func=yes"
15433 echo "configure
: failed program was
:" >&5
15434 cat conftest.$ac_ext >&5
15436 eval "ac_cv_func_
$ac_func=no
"
15441 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15442 echo "$ac_t""yes" 1>&6
15443 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15444 cat >> confdefs.h <<EOF
15445 #define $ac_tr_func 1
15449 echo "$ac_t""no
" 1>&6
15456 echo $ac_n "checking
for _float round functions
""...
$ac_c" 1>&6
15457 echo "configure
:15458: checking
for _float round functions
" >&5
15458 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
15459 echo $ac_n "(cached
) $ac_c" 1>&6
15464 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15465 ac_cpp='$CXXCPP $CPPFLAGS'
15466 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15467 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15468 cross_compiling=$ac_cv_prog_cxx_cross
15470 cat > conftest.$ac_ext <<EOF
15471 #line 15472 "configure
"
15472 #include "confdefs.h
"
15475 `for x in _ceilf _floorf; do echo "$x (0);"; done`
15478 if { (eval echo configure:15479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15480 glibcpp_cv_func__float_round_use=yes
15482 echo "configure
: failed program was
:" >&5
15483 cat conftest.$ac_ext >&5
15485 glibcpp_cv_func__float_round_use=no
15489 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15490 ac_cpp='$CPP $CPPFLAGS'
15491 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15492 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15493 cross_compiling=$ac_cv_prog_cc_cross
15497 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
15498 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
15499 for ac_func in _ceilf _floorf
15501 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15502 echo "configure
:15503: checking
for $ac_func" >&5
15503 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15504 echo $ac_n "(cached
) $ac_c" 1>&6
15506 cat > conftest.$ac_ext <<EOF
15507 #line 15508 "configure
"
15508 #include "confdefs.h
"
15509 /* System header to define __stub macros and hopefully few prototypes,
15510 which can conflict with char $ac_func(); below. */
15511 #include <assert.h>
15512 /* Override any gcc2 internal prototype to avoid an error. */
15513 /* We use char because int might match the return type of a gcc2
15514 builtin and then its argument prototype would still apply. */
15519 /* The GNU C library defines this for functions which it implements
15520 to always fail with ENOSYS. Some functions are actually named
15521 something starting with __ and the normal name is an alias. */
15522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15530 if { (eval echo configure:15531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15532 eval "ac_cv_func_
$ac_func=yes"
15534 echo "configure
: failed program was
:" >&5
15535 cat conftest.$ac_ext >&5
15537 eval "ac_cv_func_
$ac_func=no
"
15542 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15543 echo "$ac_t""yes" 1>&6
15544 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15545 cat >> confdefs.h <<EOF
15546 #define $ac_tr_func 1
15550 echo "$ac_t""no
" 1>&6
15558 echo $ac_n "checking
for _long double trig functions
""...
$ac_c" 1>&6
15559 echo "configure
:15560: checking
for _long double trig functions
" >&5
15560 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
15561 echo $ac_n "(cached
) $ac_c" 1>&6
15566 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15567 ac_cpp='$CXXCPP $CPPFLAGS'
15568 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15569 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15570 cross_compiling=$ac_cv_prog_cxx_cross
15572 cat > conftest.$ac_ext <<EOF
15573 #line 15574 "configure
"
15574 #include "confdefs.h
"
15577 `for x in _acosl _asinl _atanl \
15578 _cosl _sinl _tanl \
15579 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
15582 if { (eval echo configure:15583: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15584 glibcpp_cv_func__long_double_trig_use=yes
15586 echo "configure
: failed program was
:" >&5
15587 cat conftest.$ac_ext >&5
15589 glibcpp_cv_func__long_double_trig_use=no
15593 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15594 ac_cpp='$CPP $CPPFLAGS'
15595 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15596 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15597 cross_compiling=$ac_cv_prog_cc_cross
15601 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
15602 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
15603 for ac_func in _acosl _asinl _atanl \
15604 _cosl _sinl _tanl \
15605 _coshl _sinhl _tanhl
15607 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15608 echo "configure
:15609: checking
for $ac_func" >&5
15609 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15610 echo $ac_n "(cached
) $ac_c" 1>&6
15612 cat > conftest.$ac_ext <<EOF
15613 #line 15614 "configure
"
15614 #include "confdefs.h
"
15615 /* System header to define __stub macros and hopefully few prototypes,
15616 which can conflict with char $ac_func(); below. */
15617 #include <assert.h>
15618 /* Override any gcc2 internal prototype to avoid an error. */
15619 /* We use char because int might match the return type of a gcc2
15620 builtin and then its argument prototype would still apply. */
15625 /* The GNU C library defines this for functions which it implements
15626 to always fail with ENOSYS. Some functions are actually named
15627 something starting with __ and the normal name is an alias. */
15628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15636 if { (eval echo configure:15637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15638 eval "ac_cv_func_
$ac_func=yes"
15640 echo "configure
: failed program was
:" >&5
15641 cat conftest.$ac_ext >&5
15643 eval "ac_cv_func_
$ac_func=no
"
15648 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15649 echo "$ac_t""yes" 1>&6
15650 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15651 cat >> confdefs.h <<EOF
15652 #define $ac_tr_func 1
15656 echo "$ac_t""no
" 1>&6
15663 echo $ac_n "checking
for _long double round functions
""...
$ac_c" 1>&6
15664 echo "configure
:15665: checking
for _long double round functions
" >&5
15665 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
15666 echo $ac_n "(cached
) $ac_c" 1>&6
15671 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15672 ac_cpp='$CXXCPP $CPPFLAGS'
15673 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15674 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15675 cross_compiling=$ac_cv_prog_cxx_cross
15677 cat > conftest.$ac_ext <<EOF
15678 #line 15679 "configure
"
15679 #include "confdefs.h
"
15682 `for x in _ceill _floorl; do echo "$x (0);"; done`
15685 if { (eval echo configure:15686: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15687 glibcpp_cv_func__long_double_round_use=yes
15689 echo "configure
: failed program was
:" >&5
15690 cat conftest.$ac_ext >&5
15692 glibcpp_cv_func__long_double_round_use=no
15696 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15697 ac_cpp='$CPP $CPPFLAGS'
15698 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15699 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15700 cross_compiling=$ac_cv_prog_cc_cross
15704 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
15705 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
15706 for ac_func in _ceill _floorl
15708 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15709 echo "configure
:15710: checking
for $ac_func" >&5
15710 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15711 echo $ac_n "(cached
) $ac_c" 1>&6
15713 cat > conftest.$ac_ext <<EOF
15714 #line 15715 "configure
"
15715 #include "confdefs.h
"
15716 /* System header to define __stub macros and hopefully few prototypes,
15717 which can conflict with char $ac_func(); below. */
15718 #include <assert.h>
15719 /* Override any gcc2 internal prototype to avoid an error. */
15720 /* We use char because int might match the return type of a gcc2
15721 builtin and then its argument prototype would still apply. */
15726 /* The GNU C library defines this for functions which it implements
15727 to always fail with ENOSYS. Some functions are actually named
15728 something starting with __ and the normal name is an alias. */
15729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15737 if { (eval echo configure:15738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15739 eval "ac_cv_func_
$ac_func=yes"
15741 echo "configure
: failed program was
:" >&5
15742 cat conftest.$ac_ext >&5
15744 eval "ac_cv_func_
$ac_func=no
"
15749 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15750 echo "$ac_t""yes" 1>&6
15751 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15752 cat >> confdefs.h <<EOF
15753 #define $ac_tr_func 1
15757 echo "$ac_t""no
" 1>&6
15764 LIBS="$ac_save_LIBS"
15765 CXXFLAGS="$ac_save_CXXFLAGS"
15768 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
15769 echo "configure
:15770: checking
for main
in -lm" >&5
15770 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
15771 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15772 echo $ac_n "(cached
) $ac_c" 1>&6
15774 ac_save_LIBS="$LIBS"
15776 cat > conftest.$ac_ext <<EOF
15777 #line 15778 "configure
"
15778 #include "confdefs.h
"
15784 if { (eval echo configure:15785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15786 eval "ac_cv_lib_
$ac_lib_var=yes"
15788 echo "configure
: failed program was
:" >&5
15789 cat conftest.$ac_ext >&5
15791 eval "ac_cv_lib_
$ac_lib_var=no
"
15794 LIBS="$ac_save_LIBS"
15797 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15798 echo "$ac_t""yes" 1>&6
15799 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
15800 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
15801 cat >> confdefs.h <<EOF
15802 #define $ac_tr_lib 1
15808 echo "$ac_t""no
" 1>&6
15811 for ac_func in nan copysignf
15813 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15814 echo "configure
:15815: checking
for $ac_func" >&5
15815 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15816 echo $ac_n "(cached
) $ac_c" 1>&6
15818 cat > conftest.$ac_ext <<EOF
15819 #line 15820 "configure
"
15820 #include "confdefs.h
"
15821 /* System header to define __stub macros and hopefully few prototypes,
15822 which can conflict with char $ac_func(); below. */
15823 #include <assert.h>
15824 /* Override any gcc2 internal prototype to avoid an error. */
15825 /* We use char because int might match the return type of a gcc2
15826 builtin and then its argument prototype would still apply. */
15831 /* The GNU C library defines this for functions which it implements
15832 to always fail with ENOSYS. Some functions are actually named
15833 something starting with __ and the normal name is an alias. */
15834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15842 if { (eval echo configure:15843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15844 eval "ac_cv_func_
$ac_func=yes"
15846 echo "configure
: failed program was
:" >&5
15847 cat conftest.$ac_ext >&5
15849 eval "ac_cv_func_
$ac_func=no
"
15854 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15855 echo "$ac_t""yes" 1>&6
15856 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15857 cat >> confdefs.h <<EOF
15858 #define $ac_tr_func 1
15862 echo "$ac_t""no
" 1>&6
15863 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
15869 USE_COMPLEX_LONG_DOUBLE=no
15870 if test x$ac_cv_func_copysignl = x"yes"; then
15871 USE_COMPLEX_LONG_DOUBLE=yes
15872 for ac_func in signbitl
15874 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15875 echo "configure
:15876: checking
for $ac_func" >&5
15876 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15877 echo $ac_n "(cached
) $ac_c" 1>&6
15879 cat > conftest.$ac_ext <<EOF
15880 #line 15881 "configure
"
15881 #include "confdefs.h
"
15882 /* System header to define __stub macros and hopefully few prototypes,
15883 which can conflict with char $ac_func(); below. */
15884 #include <assert.h>
15885 /* Override any gcc2 internal prototype to avoid an error. */
15886 /* We use char because int might match the return type of a gcc2
15887 builtin and then its argument prototype would still apply. */
15892 /* The GNU C library defines this for functions which it implements
15893 to always fail with ENOSYS. Some functions are actually named
15894 something starting with __ and the normal name is an alias. */
15895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15903 if { (eval echo configure:15904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15905 eval "ac_cv_func_
$ac_func=yes"
15907 echo "configure
: failed program was
:" >&5
15908 cat conftest.$ac_ext >&5
15910 eval "ac_cv_func_
$ac_func=no
"
15915 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15916 echo "$ac_t""yes" 1>&6
15917 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15918 cat >> confdefs.h <<EOF
15919 #define $ac_tr_func 1
15923 echo "$ac_t""no
" 1>&6
15924 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
15935 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
15936 echo "configure
:15937: checking
for mbstate_t
" >&5
15937 cat > conftest.$ac_ext <<EOF
15938 #line 15939 "configure
"
15939 #include "confdefs.h
"
15942 mbstate_t teststate;
15945 if { (eval echo configure:15946: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15949 echo "configure
: failed program was
:" >&5
15950 cat conftest.$ac_ext >&5
15955 echo "$ac_t""$have_mbstate_t" 1>&6
15956 if test x"$have_mbstate_t" = xyes; then
15957 cat >> confdefs.h <<\EOF
15958 #define HAVE_MBSTATE_T 1
15963 for ac_hdr in wchar.h
15965 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15966 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
15967 echo "configure
:15968: checking
for $ac_hdr" >&5
15968 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15969 echo $ac_n "(cached
) $ac_c" 1>&6
15971 cat > conftest.$ac_ext <<EOF
15972 #line 15973 "configure
"
15973 #include "confdefs.h
"
15976 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
15977 { (eval echo configure:15978: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15978 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
15979 if test -z "$ac_err"; then
15981 eval "ac_cv_header_
$ac_safe=yes"
15984 echo "configure
: failed program was
:" >&5
15985 cat conftest.$ac_ext >&5
15987 eval "ac_cv_header_
$ac_safe=no
"
15991 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15992 echo "$ac_t""yes" 1>&6
15993 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15994 cat >> confdefs.h <<EOF
15995 #define $ac_tr_hdr 1
15999 echo "$ac_t""no
" 1>&6
16004 ac_safe=`echo "wctype.h
" | sed 'y%./+-%__p_%'`
16005 echo $ac_n "checking
for wctype.h
""...
$ac_c" 1>&6
16006 echo "configure
:16007: checking
for wctype.h
" >&5
16007 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16008 echo $ac_n "(cached
) $ac_c" 1>&6
16010 cat > conftest.$ac_ext <<EOF
16011 #line 16012 "configure
"
16012 #include "confdefs.h
"
16013 #include <wctype.h>
16015 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
16016 { (eval echo configure:16017: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16017 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
16018 if test -z "$ac_err"; then
16020 eval "ac_cv_header_
$ac_safe=yes"
16023 echo "configure
: failed program was
:" >&5
16024 cat conftest.$ac_ext >&5
16026 eval "ac_cv_header_
$ac_safe=no
"
16030 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16031 echo "$ac_t""yes" 1>&6
16032 ac_has_wctype_h=yes
16034 echo "$ac_t""no
" 1>&6
16039 if test x"$ac_has_wchar_h" = xyes && test x"$ac_has_wctype_h" = xyes \
16040 && test x"$enable_c_mbchar" != xno; then
16042 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
16043 echo "configure
:16044: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
16044 cat > conftest.$ac_ext <<EOF
16045 #line 16046 "configure
"
16046 #include "confdefs.h
"
16049 int i = WCHAR_MIN; int j = WCHAR_MAX;
16052 if { (eval echo configure:16053: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16054 has_wchar_minmax=yes
16056 echo "configure
: failed program was
:" >&5
16057 cat conftest.$ac_ext >&5
16059 has_wchar_minmax=no
16062 echo "$ac_t""$has_wchar_minmax" 1>&6
16064 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
16065 echo "configure
:16066: checking
for WEOF
" >&5
16066 cat > conftest.$ac_ext <<EOF
16067 #line 16068 "configure
"
16068 #include "confdefs.h
"
16071 #include <stddef.h>
16076 if { (eval echo configure:16077: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16080 echo "configure
: failed program was
:" >&5
16081 cat conftest.$ac_ext >&5
16086 echo "$ac_t""$has_weof" 1>&6
16089 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
16091 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16092 echo "configure
:16093: checking
for $ac_func" >&5
16093 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16094 echo $ac_n "(cached
) $ac_c" 1>&6
16096 cat > conftest.$ac_ext <<EOF
16097 #line 16098 "configure
"
16098 #include "confdefs.h
"
16099 /* System header to define __stub macros and hopefully few prototypes,
16100 which can conflict with char $ac_func(); below. */
16101 #include <assert.h>
16102 /* Override any gcc2 internal prototype to avoid an error. */
16103 /* We use char because int might match the return type of a gcc2
16104 builtin and then its argument prototype would still apply. */
16109 /* The GNU C library defines this for functions which it implements
16110 to always fail with ENOSYS. Some functions are actually named
16111 something starting with __ and the normal name is an alias. */
16112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16120 if { (eval echo configure:16121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16122 eval "ac_cv_func_
$ac_func=yes"
16124 echo "configure
: failed program was
:" >&5
16125 cat conftest.$ac_ext >&5
16127 eval "ac_cv_func_
$ac_func=no
"
16132 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16133 echo "$ac_t""yes" 1>&6
16134 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16135 cat >> confdefs.h <<EOF
16136 #define $ac_tr_func 1
16140 echo "$ac_t""no
" 1>&6
16147 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
16148 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
16149 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
16150 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
16151 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
16152 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
16154 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16155 echo "configure
:16156: checking
for $ac_func" >&5
16156 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16157 echo $ac_n "(cached
) $ac_c" 1>&6
16159 cat > conftest.$ac_ext <<EOF
16160 #line 16161 "configure
"
16161 #include "confdefs.h
"
16162 /* System header to define __stub macros and hopefully few prototypes,
16163 which can conflict with char $ac_func(); below. */
16164 #include <assert.h>
16165 /* Override any gcc2 internal prototype to avoid an error. */
16166 /* We use char because int might match the return type of a gcc2
16167 builtin and then its argument prototype would still apply. */
16172 /* The GNU C library defines this for functions which it implements
16173 to always fail with ENOSYS. Some functions are actually named
16174 something starting with __ and the normal name is an alias. */
16175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16183 if { (eval echo configure:16184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16185 eval "ac_cv_func_
$ac_func=yes"
16187 echo "configure
: failed program was
:" >&5
16188 cat conftest.$ac_ext >&5
16190 eval "ac_cv_func_
$ac_func=no
"
16195 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16196 echo "$ac_t""yes" 1>&6
16197 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16198 cat >> confdefs.h <<EOF
16199 #define $ac_tr_func 1
16203 echo "$ac_t""no
" 1>&6
16210 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
16211 echo "configure
:16212: checking
for ISO C99 wchar_t support
" >&5
16212 if test x"$has_weof" = xyes && test x"$has_wchar_minmax" = xyes \
16213 && test x"$ac_wfuncs" = xyes; then
16214 ac_isoC99_wchar_t=yes
16216 ac_isoC99_wchar_t=no
16218 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
16220 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
16221 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
16222 echo "configure
:16223: checking
for iconv.h
" >&5
16223 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16224 echo $ac_n "(cached
) $ac_c" 1>&6
16226 cat > conftest.$ac_ext <<EOF
16227 #line 16228 "configure
"
16228 #include "confdefs.h
"
16231 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
16232 { (eval echo configure:16233: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16233 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
16234 if test -z "$ac_err"; then
16236 eval "ac_cv_header_
$ac_safe=yes"
16239 echo "configure
: failed program was
:" >&5
16240 cat conftest.$ac_ext >&5
16242 eval "ac_cv_header_
$ac_safe=no
"
16246 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16247 echo "$ac_t""yes" 1>&6
16250 echo "$ac_t""no
" 1>&6
16254 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
16255 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
16256 echo "configure
:16257: checking
for langinfo.h
" >&5
16257 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16258 echo $ac_n "(cached
) $ac_c" 1>&6
16260 cat > conftest.$ac_ext <<EOF
16261 #line 16262 "configure
"
16262 #include "confdefs.h
"
16263 #include <langinfo.h>
16265 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
16266 { (eval echo configure:16267: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16267 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
16268 if test -z "$ac_err"; then
16270 eval "ac_cv_header_
$ac_safe=yes"
16273 echo "configure
: failed program was
:" >&5
16274 cat conftest.$ac_ext >&5
16276 eval "ac_cv_header_
$ac_safe=no
"
16280 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16281 echo "$ac_t""yes" 1>&6
16282 ac_has_langinfo_h=yes
16284 echo "$ac_t""no
" 1>&6
16285 ac_has_langinfo_h=no
16289 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
16290 echo "configure
:16291: checking
for iconv in -liconv" >&5
16291 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
16292 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16293 echo $ac_n "(cached
) $ac_c" 1>&6
16295 ac_save_LIBS="$LIBS"
16296 LIBS="-liconv $LIBS"
16297 cat > conftest.$ac_ext <<EOF
16298 #line 16299 "configure
"
16299 #include "confdefs.h
"
16300 /* Override any gcc2 internal prototype to avoid an error. */
16301 /* We use char because int might match the return type of a gcc2
16302 builtin and then its argument prototype would still apply. */
16309 if { (eval echo configure:16310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16311 eval "ac_cv_lib_
$ac_lib_var=yes"
16313 echo "configure
: failed program was
:" >&5
16314 cat conftest.$ac_ext >&5
16316 eval "ac_cv_lib_
$ac_lib_var=no
"
16319 LIBS="$ac_save_LIBS"
16322 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16323 echo "$ac_t""yes" 1>&6
16326 echo "$ac_t""no
" 1>&6
16329 ac_save_LIBS="$LIBS"
16330 LIBS="$LIBS $libiconv"
16332 for ac_func in iconv_open iconv_close iconv nl_langinfo
16334 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16335 echo "configure
:16336: checking
for $ac_func" >&5
16336 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16337 echo $ac_n "(cached
) $ac_c" 1>&6
16339 cat > conftest.$ac_ext <<EOF
16340 #line 16341 "configure
"
16341 #include "confdefs.h
"
16342 /* System header to define __stub macros and hopefully few prototypes,
16343 which can conflict with char $ac_func(); below. */
16344 #include <assert.h>
16345 /* Override any gcc2 internal prototype to avoid an error. */
16346 /* We use char because int might match the return type of a gcc2
16347 builtin and then its argument prototype would still apply. */
16352 /* The GNU C library defines this for functions which it implements
16353 to always fail with ENOSYS. Some functions are actually named
16354 something starting with __ and the normal name is an alias. */
16355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16363 if { (eval echo configure:16364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16365 eval "ac_cv_func_
$ac_func=yes"
16367 echo "configure
: failed program was
:" >&5
16368 cat conftest.$ac_ext >&5
16370 eval "ac_cv_func_
$ac_func=no
"
16375 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16376 echo "$ac_t""yes" 1>&6
16377 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16378 cat >> confdefs.h <<EOF
16379 #define $ac_tr_func 1
16384 echo "$ac_t""no
" 1>&6
16390 LIBS="$ac_save_LIBS"
16392 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
16393 echo "configure
:16394: checking
for XPG2 wchar_t support
" >&5
16394 if test x"$ac_has_iconv_h" = xyes && test x"$ac_has_langinfo_h" = xyes \
16395 && test x"$ac_XPG2funcs" = xyes; then
16396 ac_XPG2_wchar_t=yes
16400 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
16402 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
16403 echo "configure
:16404: checking
for enabled wchar_t specializations
" >&5
16404 if test x"$ac_isoC99_wchar_t" = xyes \
16405 && test x"$ac_XPG2_wchar_t" = xyes; then
16406 cat >> confdefs.h <<\EOF
16407 #define _GLIBCPP_USE_WCHAR_T 1
16410 echo "$ac_t"""yes"" 1>&6
16412 echo "$ac_t"""no"" 1>&6
16415 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
16419 ac_test_CXXFLAGS="${CXXFLAGS+set}"
16420 ac_save_CXXFLAGS="$CXXFLAGS"
16421 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
16424 echo $ac_n "checking
for strtold declaration
""...
$ac_c" 1>&6
16425 echo "configure
:16426: checking
for strtold declaration
" >&5
16426 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
16427 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
16428 echo $ac_n "(cached
) $ac_c" 1>&6
16433 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16434 ac_cpp='$CXXCPP $CPPFLAGS'
16435 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16436 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16437 cross_compiling=$ac_cv_prog_cxx_cross
16439 cat > conftest.$ac_ext <<EOF
16440 #line 16441 "configure
"
16441 #include "confdefs.h
"
16442 #include <stdlib.h>
16447 if { (eval echo configure:16448: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16449 glibcpp_cv_func_strtold_use=yes
16451 echo "configure
: failed program was
:" >&5
16452 cat conftest.$ac_ext >&5
16454 glibcpp_cv_func_strtold_use=no
16458 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16459 ac_cpp='$CPP $CPPFLAGS'
16460 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16461 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16462 cross_compiling=$ac_cv_prog_cc_cross
16468 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
16469 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
16470 for ac_func in strtold
16472 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16473 echo "configure
:16474: checking
for $ac_func" >&5
16474 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16475 echo $ac_n "(cached
) $ac_c" 1>&6
16477 cat > conftest.$ac_ext <<EOF
16478 #line 16479 "configure
"
16479 #include "confdefs.h
"
16480 /* System header to define __stub macros and hopefully few prototypes,
16481 which can conflict with char $ac_func(); below. */
16482 #include <assert.h>
16483 /* Override any gcc2 internal prototype to avoid an error. */
16484 /* We use char because int might match the return type of a gcc2
16485 builtin and then its argument prototype would still apply. */
16490 /* The GNU C library defines this for functions which it implements
16491 to always fail with ENOSYS. Some functions are actually named
16492 something starting with __ and the normal name is an alias. */
16493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16501 if { (eval echo configure:16502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16503 eval "ac_cv_func_
$ac_func=yes"
16505 echo "configure
: failed program was
:" >&5
16506 cat conftest.$ac_ext >&5
16508 eval "ac_cv_func_
$ac_func=no
"
16513 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16514 echo "$ac_t""yes" 1>&6
16515 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16516 cat >> confdefs.h <<EOF
16517 #define $ac_tr_func 1
16521 echo "$ac_t""no
" 1>&6
16527 for ac_func in drand48
16529 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16530 echo "configure
:16531: checking
for $ac_func" >&5
16531 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16532 echo $ac_n "(cached
) $ac_c" 1>&6
16534 cat > conftest.$ac_ext <<EOF
16535 #line 16536 "configure
"
16536 #include "confdefs.h
"
16537 /* System header to define __stub macros and hopefully few prototypes,
16538 which can conflict with char $ac_func(); below. */
16539 #include <assert.h>
16540 /* Override any gcc2 internal prototype to avoid an error. */
16541 /* We use char because int might match the return type of a gcc2
16542 builtin and then its argument prototype would still apply. */
16547 /* The GNU C library defines this for functions which it implements
16548 to always fail with ENOSYS. Some functions are actually named
16549 something starting with __ and the normal name is an alias. */
16550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16558 if { (eval echo configure:16559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16560 eval "ac_cv_func_
$ac_func=yes"
16562 echo "configure
: failed program was
:" >&5
16563 cat conftest.$ac_ext >&5
16565 eval "ac_cv_func_
$ac_func=no
"
16570 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16571 echo "$ac_t""yes" 1>&6
16572 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16573 cat >> confdefs.h <<EOF
16574 #define $ac_tr_func 1
16578 echo "$ac_t""no
" 1>&6
16583 CXXFLAGS="$ac_save_CXXFLAGS"
16586 cat > conftest.$ac_ext <<EOF
16587 #line 16588 "configure
"
16588 #include "confdefs.h
"
16590 #include <setjmp.h>
16593 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
16596 if { (eval echo configure:16597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16598 cat >> confdefs.h <<\EOF
16599 #define HAVE_SIGSETJMP 1
16603 echo "configure
: failed program was
:" >&5
16604 cat conftest.$ac_ext >&5
16608 for ac_hdr in unistd.h
16610 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16611 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
16612 echo "configure
:16613: checking
for $ac_hdr" >&5
16613 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16614 echo $ac_n "(cached
) $ac_c" 1>&6
16616 cat > conftest.$ac_ext <<EOF
16617 #line 16618 "configure
"
16618 #include "confdefs.h
"
16621 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
16622 { (eval echo configure:16623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16623 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
16624 if test -z "$ac_err"; then
16626 eval "ac_cv_header_
$ac_safe=yes"
16629 echo "configure
: failed program was
:" >&5
16630 cat conftest.$ac_ext >&5
16632 eval "ac_cv_header_
$ac_safe=no
"
16636 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16637 echo "$ac_t""yes" 1>&6
16638 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16639 cat >> confdefs.h <<EOF
16640 #define $ac_tr_hdr 1
16644 echo "$ac_t""no
" 1>&6
16648 for ac_func in getpagesize
16650 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16651 echo "configure
:16652: checking
for $ac_func" >&5
16652 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16653 echo $ac_n "(cached
) $ac_c" 1>&6
16655 cat > conftest.$ac_ext <<EOF
16656 #line 16657 "configure
"
16657 #include "confdefs.h
"
16658 /* System header to define __stub macros and hopefully few prototypes,
16659 which can conflict with char $ac_func(); below. */
16660 #include <assert.h>
16661 /* Override any gcc2 internal prototype to avoid an error. */
16662 /* We use char because int might match the return type of a gcc2
16663 builtin and then its argument prototype would still apply. */
16668 /* The GNU C library defines this for functions which it implements
16669 to always fail with ENOSYS. Some functions are actually named
16670 something starting with __ and the normal name is an alias. */
16671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16679 if { (eval echo configure:16680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16681 eval "ac_cv_func_
$ac_func=yes"
16683 echo "configure
: failed program was
:" >&5
16684 cat conftest.$ac_ext >&5
16686 eval "ac_cv_func_
$ac_func=no
"
16691 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16692 echo "$ac_t""yes" 1>&6
16693 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16694 cat >> confdefs.h <<EOF
16695 #define $ac_tr_func 1
16699 echo "$ac_t""no
" 1>&6
16703 echo $ac_n "checking
for working mmap
""...
$ac_c" 1>&6
16704 echo "configure
:16705: checking
for working mmap
" >&5
16705 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
16706 echo $ac_n "(cached
) $ac_c" 1>&6
16708 if test "$cross_compiling" = yes; then
16709 ac_cv_func_mmap_fixed_mapped=no
16711 cat > conftest.$ac_ext <<EOF
16712 #line 16713 "configure
"
16713 #include "confdefs.h
"
16715 /* Thanks to Mike Haertel and Jim Avera for this test.
16716 Here is a matrix of mmap possibilities:
16717 mmap private not fixed
16718 mmap private fixed at somewhere currently unmapped
16719 mmap private fixed at somewhere already mapped
16720 mmap shared not fixed
16721 mmap shared fixed at somewhere currently unmapped
16722 mmap shared fixed at somewhere already mapped
16723 For private mappings, we should verify that changes cannot be read()
16724 back from the file, nor mmap's back from the file at a different
16725 address. (There have been systems where private was not correctly
16726 implemented like the infamous i386 svr4.0, and systems where the
16727 VM page cache was not coherent with the filesystem buffer cache
16728 like early versions of FreeBSD and possibly contemporary NetBSD.)
16729 For shared mappings, we should conversely verify that changes get
16730 propogated back to all the places they're supposed to be.
16732 Grep wants private fixed already mapped.
16733 The main things grep needs to know about mmap are:
16734 * does it exist and is it safe to write into the mmap'd area
16735 * how to use it (BSD variants) */
16736 #include <sys/types.h>
16738 #include <sys/mman.h>
16740 /* This mess was copied from the GNU getpagesize.h. */
16741 #ifndef HAVE_GETPAGESIZE
16742 # ifdef HAVE_UNISTD_H
16743 # include <unistd.h>
16746 /* Assume that all systems that can run configure have sys/param.h. */
16747 # ifndef HAVE_SYS_PARAM_H
16748 # define HAVE_SYS_PARAM_H 1
16751 # ifdef _SC_PAGESIZE
16752 # define getpagesize() sysconf(_SC_PAGESIZE)
16753 # else /* no _SC_PAGESIZE */
16754 # ifdef HAVE_SYS_PARAM_H
16755 # include <sys/param.h>
16756 # ifdef EXEC_PAGESIZE
16757 # define getpagesize() EXEC_PAGESIZE
16758 # else /* no EXEC_PAGESIZE */
16760 # define getpagesize() NBPG * CLSIZE
16763 # endif /* no CLSIZE */
16764 # else /* no NBPG */
16766 # define getpagesize() NBPC
16767 # else /* no NBPC */
16769 # define getpagesize() PAGESIZE
16770 # endif /* PAGESIZE */
16771 # endif /* no NBPC */
16772 # endif /* no NBPG */
16773 # endif /* no EXEC_PAGESIZE */
16774 # else /* no HAVE_SYS_PARAM_H */
16775 # define getpagesize() 8192 /* punt totally */
16776 # endif /* no HAVE_SYS_PARAM_H */
16777 # endif /* no _SC_PAGESIZE */
16779 #endif /* no HAVE_GETPAGESIZE */
16782 extern "C
" { void *malloc(unsigned); }
16790 char *data, *data2, *data3;
16794 pagesize = getpagesize();
16797 * First, make a file with some known garbage in it.
16799 data = malloc(pagesize);
16802 for (i = 0; i < pagesize; ++i)
16803 *(data + i) = rand();
16805 fd = creat("conftestmmap
", 0600);
16808 if (write(fd, data, pagesize) != pagesize)
16813 * Next, try to mmap the file at a fixed address which
16814 * already has something else allocated at it. If we can,
16815 * also make sure that we see the same garbage.
16817 fd = open("conftestmmap
", O_RDWR);
16820 data2 = malloc(2 * pagesize);
16823 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
16824 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
16825 MAP_PRIVATE | MAP_FIXED, fd, 0L))
16827 for (i = 0; i < pagesize; ++i)
16828 if (*(data + i) != *(data2 + i))
16832 * Finally, make sure that changes to the mapped area
16833 * do not percolate back to the file as seen by read().
16834 * (This is a bug on some variants of i386 svr4.0.)
16836 for (i = 0; i < pagesize; ++i)
16837 *(data2 + i) = *(data2 + i) + 1;
16838 data3 = malloc(pagesize);
16841 if (read(fd, data3, pagesize) != pagesize)
16843 for (i = 0; i < pagesize; ++i)
16844 if (*(data + i) != *(data3 + i))
16847 unlink("conftestmmap
");
16852 if { (eval echo configure:16853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
16854 ac_cv_func_mmap_fixed_mapped=yes
16856 echo "configure
: failed program was
:" >&5
16857 cat conftest.$ac_ext >&5
16859 ac_cv_func_mmap_fixed_mapped=no
16866 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
16867 if test $ac_cv_func_mmap_fixed_mapped = yes; then
16868 cat >> confdefs.h <<\EOF
16869 #define HAVE_MMAP 1
16876 # Enable/configure some pieces which may require knowledge about the
16877 # compiler situation (native/cross), which we just finished discovering.
16880 setrlimit_have_headers=yes
16881 for ac_hdr in sys/resource.h unistd.h
16883 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16884 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
16885 echo "configure
:16886: checking
for $ac_hdr" >&5
16886 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16887 echo $ac_n "(cached
) $ac_c" 1>&6
16889 cat > conftest.$ac_ext <<EOF
16890 #line 16891 "configure
"
16891 #include "confdefs.h
"
16894 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
16895 { (eval echo configure:16896: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16896 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
16897 if test -z "$ac_err"; then
16899 eval "ac_cv_header_
$ac_safe=yes"
16902 echo "configure
: failed program was
:" >&5
16903 cat conftest.$ac_ext >&5
16905 eval "ac_cv_header_
$ac_safe=no
"
16909 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16910 echo "$ac_t""yes" 1>&6
16911 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16912 cat >> confdefs.h <<EOF
16913 #define $ac_tr_hdr 1
16917 echo "$ac_t""no
" 1>&6
16918 setrlimit_have_headers=no
16922 # If don't have the headers, then we can't run the tests now, and we
16923 # won't be seeing any of these during testsuite compilation.
16924 if test $setrlimit_have_headers = yes; then
16925 # Can't do these in a loop, else the resulting syntax is wrong.
16927 cat > conftest.$ac_ext <<EOF
16928 #line 16929 "configure
"
16929 #include "confdefs.h
"
16930 #include <sys/resource.h>
16931 #include <unistd.h>
16934 int f = RLIMIT_DATA ;
16937 if { (eval echo configure:16938: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16941 echo "configure
: failed program was
:" >&5
16942 cat conftest.$ac_ext >&5
16947 cat >> confdefs.h <<EOF
16948 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
16953 cat > conftest.$ac_ext <<EOF
16954 #line 16955 "configure
"
16955 #include "confdefs.h
"
16956 #include <sys/resource.h>
16957 #include <unistd.h>
16960 int f = RLIMIT_RSS ;
16963 if { (eval echo configure:16964: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16967 echo "configure
: failed program was
:" >&5
16968 cat conftest.$ac_ext >&5
16973 cat >> confdefs.h <<EOF
16974 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
16979 cat > conftest.$ac_ext <<EOF
16980 #line 16981 "configure
"
16981 #include "confdefs.h
"
16982 #include <sys/resource.h>
16983 #include <unistd.h>
16986 int f = RLIMIT_VMEM ;
16989 if { (eval echo configure:16990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16993 echo "configure
: failed program was
:" >&5
16994 cat conftest.$ac_ext >&5
16999 cat >> confdefs.h <<EOF
17000 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
17005 cat > conftest.$ac_ext <<EOF
17006 #line 17007 "configure
"
17007 #include "confdefs.h
"
17008 #include <sys/resource.h>
17009 #include <unistd.h>
17012 int f = RLIMIT_AS ;
17015 if { (eval echo configure:17016: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17019 echo "configure
: failed program was
:" >&5
17020 cat conftest.$ac_ext >&5
17025 cat >> confdefs.h <<EOF
17026 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
17031 # Check for rlimit, setrlimit.
17032 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
17033 echo $ac_n "(cached
) $ac_c" 1>&6
17036 cat > conftest.$ac_ext <<EOF
17037 #line 17038 "configure
"
17038 #include "confdefs.h
"
17039 #include <sys/resource.h>
17040 #include <unistd.h>
17043 struct rlimit r; setrlimit(0, &r);
17046 if { (eval echo configure:17047: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17050 echo "configure
: failed program was
:" >&5
17051 cat conftest.$ac_ext >&5
17061 echo $ac_n "checking
for testsuite memory limit support
""...
$ac_c" 1>&6
17062 echo "configure
:17063: checking
for testsuite memory limit support
" >&5
17063 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
17065 cat >> confdefs.h <<\EOF
17066 #define _GLIBCPP_MEM_LIMITS 1
17072 echo "$ac_t""$ac_mem_limits" 1>&6
17076 # Propagate the target-specific source directories through the build chain.
17077 OS_INC_SRCDIR=$os_include_dir/bits
17078 ATOMICITY_INC_SRCDIR=$ATOMICITYH/bits
17079 LIMITS_INC_SRCDIR=$LIMITSH/bits
17084 # Set up cross-compile flags
17088 if test "$CANADIAN" = yes; then
17096 cat > confcache <<\EOF
17097 # This file is a shell script that caches the results of configure
17098 # tests run on this system so they can be shared between configure
17099 # scripts and configure runs. It is not useful on other systems.
17100 # If it contains results you don't want to keep, you may remove or edit it.
17102 # By default, configure uses ./config.cache as the cache file,
17103 # creating it if it does not exist already. You can give configure
17104 # the --cache-file=FILE option to use a different cache file; that is
17105 # what configure does when it calls configure scripts in
17106 # subdirectories, so they share the cache.
17107 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17108 # config.status only pays attention to the cache file if you give it the
17109 # --recheck option to rerun configure.
17112 # The following way of writing the cache mishandles newlines in values,
17113 # but we know of no workaround that is simple, portable, and efficient.
17114 # So, don't put newlines in cache variables' values.
17115 # Ultrix sh set writes to stderr and can't be redirected directly,
17116 # and sets the high bit in the cache file unless we assign to the vars.
17118 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17120 # `set' does not quote correctly, so add quotes (double-quote substitution
17121 # turns \\\\ into \\, and sed turns \\ into \).
17123 -e "s
/'/'\\\\''/g
" \
17124 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
17127 # `set' quotes correctly as required by POSIX, so do not add quotes.
17128 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17131 if cmp -s $cache_file confcache; then
17134 if test -w $cache_file; then
17135 echo "updating cache
$cache_file"
17136 cat confcache > $cache_file
17138 echo "not updating unwritable cache
$cache_file"
17144 ac_safe=`echo "locale.h
" | sed 'y%./+-%__p_%'`
17145 echo $ac_n "checking
for locale.h
""...
$ac_c" 1>&6
17146 echo "configure
:17147: checking
for locale.h
" >&5
17147 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17148 echo $ac_n "(cached
) $ac_c" 1>&6
17150 cat > conftest.$ac_ext <<EOF
17151 #line 17152 "configure
"
17152 #include "confdefs.h
"
17153 #include <locale.h>
17155 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
17156 { (eval echo configure:17157: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17157 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
17158 if test -z "$ac_err"; then
17160 eval "ac_cv_header_
$ac_safe=yes"
17163 echo "configure
: failed program was
:" >&5
17164 cat conftest.$ac_ext >&5
17166 eval "ac_cv_header_
$ac_safe=no
"
17170 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17171 echo "$ac_t""yes" 1>&6
17173 echo $ac_n "checking
for LC_MESSAGES
""...
$ac_c" 1>&6
17174 echo "configure
:17175: checking
for LC_MESSAGES
" >&5
17175 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
17176 echo $ac_n "(cached
) $ac_c" 1>&6
17178 cat > conftest.$ac_ext <<EOF
17179 #line 17180 "configure
"
17180 #include "confdefs.h
"
17181 #include <locale.h>
17186 if { (eval echo configure:17187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17188 ac_cv_val_LC_MESSAGES=yes
17190 echo "configure
: failed program was
:" >&5
17191 cat conftest.$ac_ext >&5
17193 ac_cv_val_LC_MESSAGES=no
17198 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
17199 if test $ac_cv_val_LC_MESSAGES = yes; then
17200 cat >> confdefs.h <<\EOF
17201 #define HAVE_LC_MESSAGES 1
17207 echo "$ac_t""no
" 1>&6
17212 if test "${multilib}" = "yes"; then
17213 multilib_arg="--enable-multilib"
17218 # Needed so that g++ can find the correct include subdir automatically.
17221 # Export all the install information
17224 glibcpp_toolexecdir=no
17225 glibcpp_toolexeclibdir=no
17227 # Export build and source directories.
17228 # These need to be absolute paths, yet at the same time need to
17229 # canonicalize only relative paths, because then amd will not unmount
17230 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
17231 glibcpp_builddir=`pwd`
17233 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
17234 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
17236 glibcpp_prefixdir=${prefix}
17238 echo $ac_n "checking
for interface version number
""...
$ac_c" 1>&6
17239 echo "configure
:17240: checking
for interface version number
" >&5
17240 libstdcxx_interface=$INTERFACE
17241 echo "$ac_t""$libstdcxx_interface" 1>&6
17243 # Process the option --with-gxx-include-dir=<path to include-files directory>
17244 echo $ac_n "checking
for --with-gxx-include-dir""...
$ac_c" 1>&6
17245 echo "configure
:17246: checking
for --with-gxx-include-dir" >&5
17246 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
17247 if test "${with_gxx_include_dir+set}" = set; then
17248 withval="$with_gxx_include_dir"
17249 case "${withval}" in
17251 { echo "configure
: error
: Missing directory
for --with-gxx-include-dir" 1>&2; exit 1; }
17258 gxx_include_dir=${withval}
17265 echo "$ac_t""$gxx_include_dir" 1>&6
17267 # Process the option "--enable-version-specific-runtime-libs"
17268 echo $ac_n "checking
for --enable-version-specific-runtime-libs""...
$ac_c" 1>&6
17269 echo "configure
:17270: checking
for --enable-version-specific-runtime-libs" >&5
17270 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
17271 if test "${enable_version_specific_runtime_libs+set}" = set; then
17272 enableval="$enable_version_specific_runtime_libs"
17273 case "$enableval" in
17274 yes) version_specific_libs=yes ;;
17275 no) version_specific_libs=no ;;
17276 *) { echo "configure
: error
: Unknown argument to enable
/disable version-specific libs
" 1>&2; exit 1; };;
17279 version_specific_libs=no
17281 # Option set, now we can test it.
17282 echo "$ac_t""$version_specific_libs" 1>&6
17284 if test $version_specific_libs = yes; then
17285 # Need the gcc compiler version to know where to install libraries
17286 # and header files if --enable-version-specific-runtime-libs option
17288 gcc_version_trigger=${srcdir}/../gcc/version.c
17289 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
17290 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
17291 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/g++
17292 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
17293 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
17296 # Default case for install directory for include files.
17297 if test $version_specific_libs = no &&
17298 test $gxx_include_dir = no; then
17299 gxx_include_dir='$(prefix)'/include/g++-${libstdcxx_interface}
17302 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
17303 # Install a library built with a cross compiler in tooldir, not libdir.
17304 if test x"$glibcpp_toolexecdir" = x"no
"; then
17305 if test -n "$with_cross_host" && test x"$with_cross_host" != x"no
"; then
17306 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
17307 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
17309 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
17310 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
17314 echo $ac_n "checking
for install location
""...
$ac_c" 1>&6
17315 echo "configure
:17316: checking
for install location
" >&5
17316 echo "$ac_t""$gxx_include_dir" 1>&6
17326 # Export all the include and flag information to makefiles.
17328 # Root level of the build directory include sources.
17329 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include
"
17331 # Passed down for canadian crosses.
17332 if test x"$CANADIAN" = xyes; then
17333 TOPLEVEL_INCLUDES='-I$(includedir)'
17336 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
17338 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
17340 if test x"$need_libio" = xyes; then
17341 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
17345 # Now, export this to all the little Makefiles....
17352 # Optimization flags that are probably a good idea for thrill-seekers. Just
17353 # uncomment the lines below and make, everything else is ready to go...
17354 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
17358 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
17362 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
17363 grep "enable shared
" > /dev/null; then
17364 LIBSUPCXX_PICFLAGS=-prefer-pic
17366 LIBSUPCXX_PICFLAGS=
17370 # Generate the various Makefiles, include files, and scripts.
17371 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
17372 # and libsupc++/Makefile.am so that multilib installs will end up
17373 # installed in the correct place. To work around this not being passed
17374 # down from config-ml.in -> top_srcdir/Makefile.am ->
17375 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
17377 cat > confcache <<\EOF
17378 # This file is a shell script that caches the results of configure
17379 # tests run on this system so they can be shared between configure
17380 # scripts and configure runs. It is not useful on other systems.
17381 # If it contains results you don't want to keep, you may remove or edit it.
17383 # By default, configure uses ./config.cache as the cache file,
17384 # creating it if it does not exist already. You can give configure
17385 # the --cache-file=FILE option to use a different cache file; that is
17386 # what configure does when it calls configure scripts in
17387 # subdirectories, so they share the cache.
17388 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17389 # config.status only pays attention to the cache file if you give it the
17390 # --recheck option to rerun configure.
17393 # The following way of writing the cache mishandles newlines in values,
17394 # but we know of no workaround that is simple, portable, and efficient.
17395 # So, don't put newlines in cache variables' values.
17396 # Ultrix sh set writes to stderr and can't be redirected directly,
17397 # and sets the high bit in the cache file unless we assign to the vars.
17399 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17401 # `set' does not quote correctly, so add quotes (double-quote substitution
17402 # turns \\\\ into \\, and sed turns \\ into \).
17404 -e "s
/'/'\\\\''/g
" \
17405 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
17408 # `set' quotes correctly as required by POSIX, so do not add quotes.
17409 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17412 if cmp -s $cache_file confcache; then
17415 if test -w $cache_file; then
17416 echo "updating cache
$cache_file"
17417 cat confcache > $cache_file
17419 echo "not updating unwritable cache
$cache_file"
17424 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
17426 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
17427 # Let make expand exec_prefix.
17428 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
17430 # Any assignment to VPATH causes Sun make to only execute
17431 # the first set of double-colon rules, so remove it if not needed.
17432 # If there is a colon in the path, we need to keep it.
17433 if test "x
$srcdir" = x.; then
17434 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
17437 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
17439 DEFS=-DHAVE_CONFIG_H
17441 # Without the ".
/", some shells look in PATH for config.status.
17442 : ${CONFIG_STATUS=./config.status}
17444 echo creating $CONFIG_STATUS
17445 rm -f $CONFIG_STATUS
17446 cat > $CONFIG_STATUS <<EOF
17448 # Generated automatically by configure.
17449 # Run this file to recreate the current configuration.
17450 # This directory was configured as follows,
17451 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17453 # $0 $ac_configure_args
17455 # Compiler output produced by configure, useful for debugging
17456 # configure, is in ./config.log if it exists.
17458 ac_cs_usage="Usage
: $CONFIG_STATUS [--recheck] [--version] [--help]"
17461 case "\
$ac_option" in
17462 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17463 echo "running \
${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
17464 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
17465 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
17466 echo "$CONFIG_STATUS generated by autoconf version
2.13"
17468 -help | --help | --hel | --he | --h)
17469 echo "\
$ac_cs_usage"; exit 0 ;;
17470 *) echo "\
$ac_cs_usage"; exit 1 ;;
17474 ac_given_srcdir=$srcdir
17475 ac_given_INSTALL="$INSTALL"
17477 trap 'rm -fr `echo "Makefile \
17478 include
/Makefile src
/Makefile \
17479 libmath
/Makefile libio
/Makefile libsupc
++/Makefile \
17480 testsuite
/Makefile mkcheck testsuite_flags config.h
" | sed "s
/:[^
]*//g
"` conftest*; exit 1' 1 2 15
17482 cat >> $CONFIG_STATUS <<EOF
17484 # Protect against being on the right side of a sed subst in config.status.
17485 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
17486 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
17490 s%@CFLAGS@%$CFLAGS%g
17491 s%@CPPFLAGS@%$CPPFLAGS%g
17492 s%@CXXFLAGS@%$CXXFLAGS%g
17493 s%@FFLAGS@%$FFLAGS%g
17495 s%@LDFLAGS@%$LDFLAGS%g
17497 s%@exec_prefix@%$exec_prefix%g
17498 s%@prefix@%$prefix%g
17499 s%@program_transform_name@%$program_transform_name%g
17500 s%@bindir@%$bindir%g
17501 s%@sbindir@%$sbindir%g
17502 s%@libexecdir@%$libexecdir%g
17503 s%@datadir@%$datadir%g
17504 s%@sysconfdir@%$sysconfdir%g
17505 s%@sharedstatedir@%$sharedstatedir%g
17506 s%@localstatedir@%$localstatedir%g
17507 s%@libdir@%$libdir%g
17508 s%@includedir@%$includedir%g
17509 s%@oldincludedir@%$oldincludedir%g
17510 s%@infodir@%$infodir%g
17511 s%@mandir@%$mandir%g
17512 s%@toplevel_srcdir@%$toplevel_srcdir%g
17514 s%@host_alias@%$host_alias%g
17515 s%@host_cpu@%$host_cpu%g
17516 s%@host_vendor@%$host_vendor%g
17517 s%@host_os@%$host_os%g
17518 s%@target@%$target%g
17519 s%@target_alias@%$target_alias%g
17520 s%@target_cpu@%$target_cpu%g
17521 s%@target_vendor@%$target_vendor%g
17522 s%@target_os@%$target_os%g
17524 s%@build_alias@%$build_alias%g
17525 s%@build_cpu@%$build_cpu%g
17526 s%@build_vendor@%$build_vendor%g
17527 s%@build_os@%$build_os%g
17529 s%@glibcpp_basedir@%$glibcpp_basedir%g
17530 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
17531 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
17532 s%@INSTALL_DATA@%$INSTALL_DATA%g
17533 s%@PACKAGE@%$PACKAGE%g
17534 s%@VERSION@%$VERSION%g
17535 s%@ACLOCAL@%$ACLOCAL%g
17536 s%@AUTOCONF@%$AUTOCONF%g
17537 s%@AUTOMAKE@%$AUTOMAKE%g
17538 s%@AUTOHEADER@%$AUTOHEADER%g
17539 s%@MAKEINFO@%$MAKEINFO%g
17540 s%@SET_MAKE@%$SET_MAKE%g
17542 s%@glibcpp_CXX@%$glibcpp_CXX%g
17545 s%@RANLIB@%$RANLIB%g
17546 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
17547 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
17549 s%@EXEEXT@%$EXEEXT%g
17550 s%@OBJEXT@%$OBJEXT%g
17552 s%@LIBTOOL@%$LIBTOOL%g
17553 s%@CXXCPP@%$CXXCPP%g
17554 s%@enable_shared@%$enable_shared%g
17555 s%@enable_static@%$enable_static%g
17556 s%@ifGNUmake@%$ifGNUmake%g
17557 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
17559 s%@CSTDIO_H@%$CSTDIO_H%g
17560 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
17561 s%@CCODECVT_C@%$CCODECVT_C%g
17562 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
17563 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
17564 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
17565 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
17566 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
17567 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
17568 s%@libio_la@%$libio_la%g
17569 s%@CLOCALE_H@%$CLOCALE_H%g
17570 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
17571 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
17572 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
17573 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
17574 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
17575 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
17576 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
17577 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
17578 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
17579 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
17580 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
17581 s%@WERROR@%$WERROR%g
17582 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
17583 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
17584 s%@LIMITS_INC_SRCDIR@%$LIMITS_INC_SRCDIR%g
17585 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
17586 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
17587 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
17588 s%@glibcpp_builddir@%$glibcpp_builddir%g
17589 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
17590 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
17591 s%@gxx_include_dir@%$gxx_include_dir%g
17592 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
17593 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
17594 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
17595 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
17596 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
17597 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
17598 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
17599 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
17600 s%@WARN_FLAGS@%$WARN_FLAGS%g
17601 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
17606 cat >> $CONFIG_STATUS <<\EOF
17608 # Split the substitutions into bite-sized pieces for seds with
17609 # small command number limits, like on Digital OSF/1 and HP-UX.
17610 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
17611 ac_file=1 # Number of current file.
17612 ac_beg=1 # First line for current file.
17613 ac_end=$ac_max_sed_cmds # Line after last line for current file.
17616 while $ac_more_lines; do
17617 if test $ac_beg -gt 1; then
17618 sed "1,${ac_beg}d
; ${ac_end}q
" conftest.subs > conftest.s$ac_file
17620 sed "${ac_end}q
" conftest.subs > conftest.s$ac_file
17622 if test ! -s conftest.s$ac_file; then
17623 ac_more_lines=false
17624 rm -f conftest.s$ac_file
17626 if test -z "$ac_sed_cmds"; then
17627 ac_sed_cmds="sed -f conftest.s
$ac_file"
17629 ac_sed_cmds="$ac_sed_cmds |
sed -f conftest.s
$ac_file"
17631 ac_file=`expr $ac_file + 1`
17633 ac_end=`expr $ac_end + $ac_max_sed_cmds`
17636 if test -z "$ac_sed_cmds"; then
17641 cat >> $CONFIG_STATUS <<EOF
17643 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
17644 include
/Makefile src
/Makefile \
17645 libmath
/Makefile libio
/Makefile libsupc
++/Makefile \
17646 testsuite
/Makefile mkcheck testsuite_flags
"}
17648 cat >> $CONFIG_STATUS <<\EOF
17649 for ac_file in .. $CONFIG_FILES; do if test "x
$ac_file" != x..; then
17650 # Support "outfile
[:infile
[:infile...
]]", defaulting infile="outfile.
in".
17652 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
17653 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
17654 *) ac_file_in="${ac_file}.
in" ;;
17657 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
17659 # Remove last slash and all that follows it. Not all systems have dirname.
17660 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
17661 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
17662 # The file is in a subdirectory.
17663 test ! -d "$ac_dir" && mkdir "$ac_dir"
17664 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
17665 # A "..
/" for each directory in $ac_dir_suffix.
17666 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
17668 ac_dir_suffix= ac_dots=
17671 case "$ac_given_srcdir" in
17673 if test -z "$ac_dots"; then top_srcdir=.
17674 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
17675 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
17676 *) # Relative path.
17677 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
17678 top_srcdir="$ac_dots$ac_given_srcdir" ;;
17681 case "$ac_given_INSTALL" in
17682 [/$]*) INSTALL="$ac_given_INSTALL" ;;
17683 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
17686 echo creating "$ac_file"
17688 configure_input="Generated automatically from
`echo $ac_file_in|sed 's%.*/%%'` by configure.
"
17690 *Makefile*) ac_comsub="1i
\\
17691 # $configure_input" ;;
17695 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
17697 s%@configure_input@%$configure_input%g
17698 s%@srcdir@%$srcdir%g
17699 s%@top_srcdir@%$top_srcdir%g
17700 s%@INSTALL@%$INSTALL%g
17701 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
17705 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
17706 # NAME is the cpp macro being defined and VALUE is the value it is being given.
17708 # ac_d sets the value in "#define NAME VALUE" lines.
17709 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
17710 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
17713 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
17714 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17715 ac_uB
='\([ ]\)%\1#\2define\3'
17718 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
17719 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17720 ac_eB
='$%\1#\2define\3'
17724 if test "${CONFIG_HEADERS+set}" != set; then
17726 cat >> $CONFIG_STATUS <<EOF
17727 CONFIG_HEADERS="config.h"
17729 cat >> $CONFIG_STATUS <<\EOF
17731 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
17732 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17734 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
17735 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
17736 *) ac_file_in
="${ac_file}.in" ;;
17739 echo creating
$ac_file
17741 rm -f conftest.frag conftest.
in conftest.out
17742 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
17743 cat $ac_file_inputs > conftest.
in
17747 # Transform confdefs.h into a sed script conftest.vals that substitutes
17748 # the proper values into config.h.in to produce config.h. And first:
17749 # Protect against being on the right side of a sed subst in config.status.
17750 # Protect against being in an unquoted here document in config.status.
17751 rm -f conftest.vals
17752 cat > conftest.hdr
<<\EOF
17755 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
17759 sed -n -f conftest.hdr confdefs.h > conftest.vals
17762 # This sed command replaces #undef with comments. This is necessary, for
17763 # example, in the case of _POSIX_SOURCE, which is predefined and required
17764 # on some systems where configure will not decide to define it.
17765 cat >> conftest.vals <<\EOF
17766 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
17769 # Break up conftest.vals because some shells have a limit on
17770 # the size of here documents, and old seds have small limits too.
17772 rm -f conftest.tail
17775 ac_lines=`grep -c . conftest.vals
`
17776 # grep -c gives empty output for an empty file on some AIX systems.
17777 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
17778 # Write a limited-size here document to conftest.frag.
17779 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
17780 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
17782 sed -f conftest.frag conftest.in > conftest.out
17784 mv conftest.out conftest.in
17785 ' >> $CONFIG_STATUS
17786 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
17787 rm -f conftest.vals
17788 mv conftest.tail conftest.vals
17790 rm -f conftest.vals
17792 cat >> $CONFIG_STATUS <<\EOF
17793 rm -f conftest.frag conftest.h
17794 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
17795 cat conftest.in >> conftest.h
17797 if cmp -s $ac_file conftest.h 2>/dev/null; then
17798 echo "$ac_file is unchanged"
17801 # Remove last slash and all that follows it. Not all systems have dirname.
17802 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
17803 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
17804 # The file is in a subdirectory.
17805 test ! -d "$ac_dir" && mkdir "$ac_dir"
17808 mv conftest.h $ac_file
17814 cat >> $CONFIG_STATUS <<EOF
17815 ac_sources="$BASIC_FILE_CC $CLOCALE_CC"
17816 ac_dests="src/basic_file.cc src/c++locale.cc"
17819 cat >> $CONFIG_STATUS <<\EOF
17820 srcdir=$ac_given_srcdir
17821 while test -n "$ac_sources"; do
17822 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
17823 set $ac_sources; ac_source=$1; shift; ac_sources=$*
17825 echo "linking $srcdir/$ac_source to $ac_dest"
17827 if test ! -r $srcdir/$ac_source; then
17828 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
17832 # Make relative symlinks.
17833 # Remove last slash and all that follows it. Not all systems have dirname.
17834 ac_dest_dir=`echo $ac_dest|
sed 's%/[^/][^/]*$%%'`
17835 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
17836 # The dest file is in a subdirectory.
17837 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
17838 ac_dest_dir_suffix="/`echo $ac_dest_dir|
sed 's%^\./%%'`"
17839 # A "../" for each directory in $ac_dest_dir_suffix.
17840 ac_dots=`echo $ac_dest_dir_suffix|
sed 's%/[^/]*%../%g'`
17842 ac_dest_dir_suffix= ac_dots=
17846 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
17847 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
17850 # Make a symlink if possible; otherwise try a hard link.
17851 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
17852 ln $srcdir/$ac_source $ac_dest; then :
17854 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
17858 cat >> $CONFIG_STATUS <<EOF
17863 with_multisubdir=${with_multisubdir}
17864 ac_configure_args="${multilib_arg} ${ac_configure_args}"
17865 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
17866 glibcpp_basedir=${glibcpp_basedir}
17871 cat >> $CONFIG_STATUS <<\EOF
17872 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
17873 if test -n "$CONFIG_FILES"; then
17874 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
17875 grep '^MULTISUBDIR =' Makefile >> src/Makefile
17876 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
17879 chmod +x testsuite_flags
17883 chmod +x $CONFIG_STATUS
17884 rm -fr confdefs* $ac_clean_files
17885 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
17889 # Sanity checking & User-visible messages.
17890 # Checks down here, otherwise they get scrolled off before
17891 # the user will notice.
17893 # Trying to get more people to read documentation. Possibly remove
17894 # check and warn all the time. There is no "informational" AC_MSG_
17895 # macro, so these are going to be printed even when --quiet/--silent
17897 if test ! -f stamp-sanity-warned; then
17898 touch stamp-sanity-warned
17900 echo "Please make certain that you read the installation information here:"
17901 echo " faster => ${srcdir}/docs/install.html"
17902 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
17904 echo "and the configuration information here:"
17905 echo " faster => ${srcdir}/docs/configopts.html"
17906 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
17908 echo "before proceeding with ${_cv_gnu_make_command}."