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 # We use these options to decide which functions to include.
712 # Check whether --with-target-subdir or --without-target-subdir was given.
713 if test "${with_target_subdir+set}" = set; then
714 withval="$with_target_subdir"
718 # Check whether --with-cross-host or --without-cross-host was given.
719 if test "${with_cross_host+set}" = set; then
720 withval="$with_cross_host"
725 # Runs configure.host and configure.target. Have to run this before
726 # the GLIBCPP_ENABLE_* macros below.
727 # Find a good install program. We prefer a C program (faster),
728 # so one script is as good as another. But avoid the broken or
729 # incompatible versions:
730 # SysV /etc/install, /usr/sbin/install
731 # SunOS /usr/etc/install
734 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
735 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
736 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
737 # ./install, which can be erroneously created by make from ./install.sh.
738 echo $ac_n "checking
for a BSD compatible
install""...
$ac_c" 1>&6
739 echo "configure
:740: checking
for a BSD compatible
install" >&5
740 if test -z "$INSTALL"; then
741 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
742 echo $ac_n "(cached
) $ac_c" 1>&6
744 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
745 for ac_dir in $PATH; do
746 # Account for people who put trailing slashes in PATH elements.
748 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
750 # OSF1 and SCO ODT 3.0 have their own names for install.
751 # Don't use installbsd from OSF since it installs stuff as root
753 for ac_prog in ginstall scoinst install; do
754 if test -f $ac_dir/$ac_prog; then
755 if test $ac_prog = install &&
756 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
757 # AIX install. It has an incompatible calling convention.
760 ac_cv_path_install="$ac_dir/$ac_prog -c"
771 if test "${ac_cv_path_install+set}" = set; then
772 INSTALL="$ac_cv_path_install"
774 # As a last resort, use the slow shell script. We don't cache a
775 # path for INSTALL within a source directory, because that will
776 # break other packages using the cache if that directory is
777 # removed, or if the path is relative.
778 INSTALL="$ac_install_sh"
781 echo "$ac_t""$INSTALL" 1>&6
783 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
784 # It thinks the first close brace ends the variable substitution.
785 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
787 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
789 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
791 echo $ac_n "checking whether build environment is sane
""...
$ac_c" 1>&6
792 echo "configure
:793: checking whether build environment is sane
" >&5
795 echo timestamp > conftestfile
796 # Do `set' in a subshell so we don't clobber the current shell's
797 # arguments. Must try -L first in case configure is actually a
798 # symlink; some systems play weird games with the mod time of symlinks
799 # (eg FreeBSD returns the mod time of the symlink's containing
802 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
803 if test "$
*" = "X
"; then
805 set X `ls -t $srcdir/configure conftestfile`
807 if test "$
*" != "X
$srcdir/configure conftestfile
" \
808 && test "$
*" != "X conftestfile
$srcdir/configure
"; then
810 # If neither matched, then we have a broken ls. This can happen
811 # if, for instance, CONFIG_SHELL is bash and it inherits a
812 # broken ls alias from the environment. This has actually
813 # happened. Such a system could not be considered "sane
".
814 { echo "configure
: error
: ls -t appears to fail. Make sure there is not a broken
815 alias in your environment
" 1>&2; exit 1; }
818 test "$2" = conftestfile
824 { echo "configure
: error
: newly created
file is older than distributed files
!
825 Check your system
clock" 1>&2; exit 1; }
828 echo "$ac_t""yes" 1>&6
829 if test "$program_transform_name" = s,x,x,; then
830 program_transform_name=
832 # Double any \ or $. echo might interpret backslashes.
833 cat <<\EOF_SED > conftestsed
834 s,\\,\\\\,g; s,\$,$$,g
836 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
839 test "$program_prefix" != NONE &&
840 program_transform_name="s
,^
,${program_prefix},; $program_transform_name"
841 # Use a double $ so make ignores it.
842 test "$program_suffix" != NONE &&
843 program_transform_name="s
,\$\$
,${program_suffix},; $program_transform_name"
845 # sed with no file args requires a program.
846 test "$program_transform_name" = "" && program_transform_name="s
,x
,x
,"
848 echo $ac_n "checking whether
${MAKE-make} sets \
${MAKE}""...
$ac_c" 1>&6
849 echo "configure
:850: checking whether
${MAKE-make} sets \
${MAKE}" >&5
850 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
851 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
852 echo $ac_n "(cached
) $ac_c" 1>&6
854 cat > conftestmake <<\EOF
856 @echo 'ac_maketemp="${MAKE}"'
858 # GNU make sometimes prints "make[1]: Entering...
", which would confuse us.
859 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
860 if test -n "$ac_maketemp"; then
861 eval ac_cv_prog_make_${ac_make}_set=yes
863 eval ac_cv_prog_make_${ac_make}_set=no
867 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
868 echo "$ac_t""yes" 1>&6
871 echo "$ac_t""no
" 1>&6
872 SET_MAKE="MAKE
=${MAKE-make}"
875 if test $host != $build; then
876 ac_tool_prefix=${host_alias}-
881 echo $ac_n "checking
for Cygwin environment
""...
$ac_c" 1>&6
882 echo "configure
:883: checking
for Cygwin environment
" >&5
883 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
884 echo $ac_n "(cached
) $ac_c" 1>&6
886 cat > conftest.$ac_ext <<EOF
887 #line 888 "configure
"
888 #include "confdefs.h
"
893 #define __CYGWIN__ __CYGWIN32__
898 if { (eval echo configure:899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
902 echo "configure
: failed program was
:" >&5
903 cat conftest.$ac_ext >&5
911 echo "$ac_t""$ac_cv_cygwin" 1>&6
913 test "$ac_cv_cygwin" = yes && CYGWIN=yes
914 echo $ac_n "checking
for mingw32 environment
""...
$ac_c" 1>&6
915 echo "configure
:916: checking
for mingw32 environment
" >&5
916 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
917 echo $ac_n "(cached
) $ac_c" 1>&6
919 cat > conftest.$ac_ext <<EOF
920 #line 921 "configure
"
921 #include "confdefs.h
"
927 if { (eval echo configure:928: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
931 echo "configure
: failed program was
:" >&5
932 cat conftest.$ac_ext >&5
940 echo "$ac_t""$ac_cv_mingw32" 1>&6
942 test "$ac_cv_mingw32" = yes && MINGW32=yes
944 # Check whether --enable-multilib or --disable-multilib was given.
945 if test "${enable_multilib+set}" = set; then
946 enableval="$enable_multilib"
947 case "${enableval}" in
950 *) { echo "configure
: error
: bad value
${enableval} for multilib option
" 1>&2; exit 1; } ;;
956 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
964 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
965 { echo "configure
: error
: source directory already configured
; run
"make distclean" there first
" 1>&2; exit 1; }
967 cat >> confdefs.h <<EOF
968 #define PACKAGE "$PACKAGE"
971 cat >> confdefs.h <<EOF
972 #define VERSION "$VERSION"
977 missing_dir=`cd $ac_aux_dir && pwd`
978 echo $ac_n "checking
for working aclocal
""...
$ac_c" 1>&6
979 echo "configure
:980: checking
for working aclocal
" >&5
980 # Run test in a subshell; some versions of sh will print an error if
981 # an executable is not found, even if stderr is redirected.
982 # Redirect stdin to placate older versions of autoconf. Sigh.
983 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
985 echo "$ac_t""found
" 1>&6
987 ACLOCAL="$missing_dir/missing aclocal
"
988 echo "$ac_t""missing
" 1>&6
991 echo $ac_n "checking
for working autoconf
""...
$ac_c" 1>&6
992 echo "configure
:993: checking
for working autoconf
" >&5
993 # Run test in a subshell; some versions of sh will print an error if
994 # an executable is not found, even if stderr is redirected.
995 # Redirect stdin to placate older versions of autoconf. Sigh.
996 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
998 echo "$ac_t""found
" 1>&6
1000 AUTOCONF="$missing_dir/missing autoconf
"
1001 echo "$ac_t""missing
" 1>&6
1004 echo $ac_n "checking
for working automake
""...
$ac_c" 1>&6
1005 echo "configure
:1006: checking
for working automake
" >&5
1006 # Run test in a subshell; some versions of sh will print an error if
1007 # an executable is not found, even if stderr is redirected.
1008 # Redirect stdin to placate older versions of autoconf. Sigh.
1009 if (automake --version) < /dev/null > /dev/null 2>&1; then
1011 echo "$ac_t""found
" 1>&6
1013 AUTOMAKE="$missing_dir/missing automake
"
1014 echo "$ac_t""missing
" 1>&6
1017 echo $ac_n "checking
for working autoheader
""...
$ac_c" 1>&6
1018 echo "configure
:1019: checking
for working autoheader
" >&5
1019 # Run test in a subshell; some versions of sh will print an error if
1020 # an executable is not found, even if stderr is redirected.
1021 # Redirect stdin to placate older versions of autoconf. Sigh.
1022 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1023 AUTOHEADER=autoheader
1024 echo "$ac_t""found
" 1>&6
1026 AUTOHEADER="$missing_dir/missing autoheader
"
1027 echo "$ac_t""missing
" 1>&6
1030 echo $ac_n "checking
for working makeinfo
""...
$ac_c" 1>&6
1031 echo "configure
:1032: checking
for working makeinfo
" >&5
1032 # Run test in a subshell; some versions of sh will print an error if
1033 # an executable is not found, even if stderr is redirected.
1034 # Redirect stdin to placate older versions of autoconf. Sigh.
1035 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1037 echo "$ac_t""found
" 1>&6
1039 MAKEINFO="$missing_dir/missing makeinfo
"
1040 echo "$ac_t""missing
" 1>&6
1045 # Never versions of autoconf add an underscore to these functions.
1046 # Prevent future problems ...
1054 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1055 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1056 # are probably using a cross compiler, which will not be able to fully
1057 # link an executable. This should really be fixed in autoconf
1063 # Extract the first word of "gcc
", so it can be a program name with args.
1064 set dummy gcc; ac_word=$2
1065 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1066 echo "configure
:1067: checking
for $ac_word" >&5
1067 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1068 echo $ac_n "(cached
) $ac_c" 1>&6
1070 if test -n "$CC"; then
1071 ac_cv_prog_CC="$CC" # Let the user override the test.
1073 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1075 for ac_dir in $ac_dummy; do
1076 test -z "$ac_dir" && ac_dir=.
1077 if test -f $ac_dir/$ac_word; then
1086 if test -n "$CC"; then
1087 echo "$ac_t""$CC" 1>&6
1089 echo "$ac_t""no
" 1>&6
1092 if test -z "$CC"; then
1093 # Extract the first word of "cc
", so it can be a program name with args.
1094 set dummy cc; ac_word=$2
1095 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1096 echo "configure
:1097: checking
for $ac_word" >&5
1097 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1098 echo $ac_n "(cached
) $ac_c" 1>&6
1100 if test -n "$CC"; then
1101 ac_cv_prog_CC="$CC" # Let the user override the test.
1103 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1106 for ac_dir in $ac_dummy; do
1107 test -z "$ac_dir" && ac_dir=.
1108 if test -f $ac_dir/$ac_word; then
1109 if test "$ac_dir/$ac_word" = "/usr
/ucb
/cc
"; then
1110 ac_prog_rejected=yes
1118 if test $ac_prog_rejected = yes; then
1119 # We found a bogon in the path, so make sure we never use it.
1120 set dummy $ac_cv_prog_CC
1122 if test $# -gt 0; then
1123 # We chose a different compiler from the bogus one.
1124 # However, it has the same basename, so the bogon will be chosen
1125 # first if we set CC to just the basename; use the full file name.
1127 set dummy "$ac_dir/$ac_word" "$@
"
1135 if test -n "$CC"; then
1136 echo "$ac_t""$CC" 1>&6
1138 echo "$ac_t""no
" 1>&6
1141 test -z "$CC" && { echo "configure
: error
: no acceptable cc found
in \
$PATH" 1>&2; exit 1; }
1144 echo $ac_n "checking whether we are using GNU C
""...
$ac_c" 1>&6
1145 echo "configure
:1146: checking whether we are using GNU C
" >&5
1146 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1147 echo $ac_n "(cached
) $ac_c" 1>&6
1149 cat > conftest.c <<EOF
1154 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1155: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1161 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1163 if test $ac_cv_prog_gcc = yes; then
1165 ac_test_CFLAGS="${CFLAGS+set}"
1166 ac_save_CFLAGS="$CFLAGS"
1168 echo $ac_n "checking whether
${CC-cc} accepts
-g""...
$ac_c" 1>&6
1169 echo "configure
:1170: checking whether
${CC-cc} accepts
-g" >&5
1170 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1171 echo $ac_n "(cached
) $ac_c" 1>&6
1173 echo 'void f(){}' > conftest.c
1174 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1183 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1184 if test "$ac_test_CFLAGS" = set; then
1185 CFLAGS="$ac_save_CFLAGS"
1186 elif test $ac_cv_prog_cc_g = yes; then
1193 test "${CFLAGS+set}" = set || CFLAGS="-g"
1197 # Can't just call these here as g++ requires libstc++ to be built....
1200 # Likewise for AC_PROG_CXX.
1204 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1205 # flags that come in CXX while configuring libstdc++. They're different
1206 # from those used for all other target libraries. If CXX is set in
1207 # the environment, respect that here.
1209 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1211 # Extract the first word of "$ac_prog", so it can be a program name with args.
1212 set dummy $ac_prog; ac_word=$2
1213 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1214 echo "configure
:1215: checking
for $ac_word" >&5
1215 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1216 echo $ac_n "(cached
) $ac_c" 1>&6
1218 if test -n "$glibcpp_CXX"; then
1219 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1221 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1223 for ac_dir in $ac_dummy; do
1224 test -z "$ac_dir" && ac_dir=.
1225 if test -f $ac_dir/$ac_word; then
1226 ac_cv_prog_glibcpp_CXX="$ac_prog"
1233 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1234 if test -n "$glibcpp_CXX"; then
1235 echo "$ac_t""$glibcpp_CXX" 1>&6
1237 echo "$ac_t""no
" 1>&6
1240 test -n "$glibcpp_CXX" && break
1242 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc
"
1246 test -z "$glibcpp_CXX" && { echo "configure
: error
: no acceptable c
++ found
in \
$PATH" 1>&2; exit 1; }
1248 echo $ac_n "checking whether we are using GNU C
++""...
$ac_c" 1>&6
1249 echo "configure
:1250: checking whether we are using GNU C
++" >&5
1250 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1251 echo $ac_n "(cached
) $ac_c" 1>&6
1253 cat > conftest.C <<EOF
1258 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1265 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1267 if test $ac_cv_prog_gxx = yes; then
1269 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1270 ac_save_CXXFLAGS="$CXXFLAGS"
1272 echo $ac_n "checking whether
${CXX-g++} accepts
-g""...
$ac_c" 1>&6
1273 echo "configure
:1274: checking whether
${CXX-g++} accepts
-g" >&5
1274 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1275 echo $ac_n "(cached
) $ac_c" 1>&6
1277 echo 'void f(){}' > conftest.cc
1278 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1279 ac_cv_prog_cxx_g=yes
1287 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1288 if test "$ac_test_CXXFLAGS" = set; then
1289 CXXFLAGS="$ac_save_CXXFLAGS"
1290 elif test $ac_cv_prog_cxx_g = yes; then
1297 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1301 # Extract the first word of "${ac_tool_prefix}as
", so it can be a program name with args.
1302 set dummy ${ac_tool_prefix}as; ac_word=$2
1303 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1304 echo "configure
:1305: checking
for $ac_word" >&5
1305 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1306 echo $ac_n "(cached
) $ac_c" 1>&6
1308 if test -n "$AS"; then
1309 ac_cv_prog_AS="$AS" # Let the user override the test.
1311 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1313 for ac_dir in $ac_dummy; do
1314 test -z "$ac_dir" && ac_dir=.
1315 if test -f $ac_dir/$ac_word; then
1316 ac_cv_prog_AS="${ac_tool_prefix}as
"
1321 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as
"
1325 if test -n "$AS"; then
1326 echo "$ac_t""$AS" 1>&6
1328 echo "$ac_t""no
" 1>&6
1333 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1334 set dummy ${ac_tool_prefix}ar; ac_word=$2
1335 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1336 echo "configure
:1337: checking
for $ac_word" >&5
1337 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1338 echo $ac_n "(cached
) $ac_c" 1>&6
1340 if test -n "$AR"; then
1341 ac_cv_prog_AR="$AR" # Let the user override the test.
1343 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1345 for ac_dir in $ac_dummy; do
1346 test -z "$ac_dir" && ac_dir=.
1347 if test -f $ac_dir/$ac_word; then
1348 ac_cv_prog_AR="${ac_tool_prefix}ar"
1353 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1357 if test -n "$AR"; then
1358 echo "$ac_t""$AR" 1>&6
1360 echo "$ac_t""no
" 1>&6
1365 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
1366 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1367 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1368 echo "configure
:1369: checking
for $ac_word" >&5
1369 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1370 echo $ac_n "(cached
) $ac_c" 1>&6
1372 if test -n "$RANLIB"; then
1373 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1375 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1377 for ac_dir in $ac_dummy; do
1378 test -z "$ac_dir" && ac_dir=.
1379 if test -f $ac_dir/$ac_word; then
1380 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
1387 RANLIB="$ac_cv_prog_RANLIB"
1388 if test -n "$RANLIB"; then
1389 echo "$ac_t""$RANLIB" 1>&6
1391 echo "$ac_t""no
" 1>&6
1395 if test -z "$ac_cv_prog_RANLIB"; then
1396 if test -n "$ac_tool_prefix"; then
1397 # Extract the first word of "ranlib
", so it can be a program name with args.
1398 set dummy ranlib; ac_word=$2
1399 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1400 echo "configure
:1401: checking
for $ac_word" >&5
1401 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1402 echo $ac_n "(cached
) $ac_c" 1>&6
1404 if test -n "$RANLIB"; then
1405 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1407 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1409 for ac_dir in $ac_dummy; do
1410 test -z "$ac_dir" && ac_dir=.
1411 if test -f $ac_dir/$ac_word; then
1412 ac_cv_prog_RANLIB="ranlib
"
1417 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error
"
1420 RANLIB="$ac_cv_prog_RANLIB"
1421 if test -n "$RANLIB"; then
1422 echo "$ac_t""$RANLIB" 1>&6
1424 echo "$ac_t""no
" 1>&6
1428 RANLIB="ranlib-not-found-in-path-error
"
1432 # Find a good install program. We prefer a C program (faster),
1433 # so one script is as good as another. But avoid the broken or
1434 # incompatible versions:
1435 # SysV /etc/install, /usr/sbin/install
1436 # SunOS /usr/etc/install
1437 # IRIX /sbin/install
1439 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1440 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1441 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
1442 # ./install, which can be erroneously created by make from ./install.sh.
1443 echo $ac_n "checking
for a BSD compatible
install""...
$ac_c" 1>&6
1444 echo "configure
:1445: checking
for a BSD compatible
install" >&5
1445 if test -z "$INSTALL"; then
1446 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1447 echo $ac_n "(cached
) $ac_c" 1>&6
1449 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1450 for ac_dir in $PATH; do
1451 # Account for people who put trailing slashes in PATH elements.
1453 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1455 # OSF1 and SCO ODT 3.0 have their own names for install.
1456 # Don't use installbsd from OSF since it installs stuff as root
1458 for ac_prog in ginstall scoinst install; do
1459 if test -f $ac_dir/$ac_prog; then
1460 if test $ac_prog = install &&
1461 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1462 # AIX install. It has an incompatible calling convention.
1465 ac_cv_path_install="$ac_dir/$ac_prog -c"
1476 if test "${ac_cv_path_install+set}" = set; then
1477 INSTALL="$ac_cv_path_install"
1479 # As a last resort, use the slow shell script. We don't cache a
1480 # path for INSTALL within a source directory, because that will
1481 # break other packages using the cache if that directory is
1482 # removed, or if the path is relative.
1483 INSTALL="$ac_install_sh"
1486 echo "$ac_t""$INSTALL" 1>&6
1488 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1489 # It thinks the first close brace ends the variable substitution.
1490 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1492 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1494 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1497 echo $ac_n "checking whether to
enable maintainer-specific portions of Makefiles
""...
$ac_c" 1>&6
1498 echo "configure
:1499: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
1499 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1500 if test "${enable_maintainer_mode+set}" = set; then
1501 enableval="$enable_maintainer_mode"
1502 USE_MAINTAINER_MODE=$enableval
1504 USE_MAINTAINER_MODE=no
1507 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1510 if test $USE_MAINTAINER_MODE = yes; then
1511 MAINTAINER_MODE_TRUE=
1512 MAINTAINER_MODE_FALSE='#'
1514 MAINTAINER_MODE_TRUE='#'
1515 MAINTAINER_MODE_FALSE=
1517 MAINT=$MAINTAINER_MODE_TRUE
1521 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1522 # at least currently, we never actually build a program, so we never
1523 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1524 # fails, because we are probably configuring with a cross compiler
1525 # which cant create executables. So we include AC_EXEEXT to keep
1526 # automake happy, but we dont execute it, since we dont care about
1529 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1530 # to nothing, so nothing would remain between `then' and `fi' if it
1531 # were not for the `:' below.
1535 echo $ac_n "checking
for executable suffix
""...
$ac_c" 1>&6
1536 echo "configure
:1537: checking
for executable suffix
" >&5
1537 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1538 echo $ac_n "(cached
) $ac_c" 1>&6
1540 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1544 echo 'int main () { return 0; }' > conftest.$ac_ext
1546 if { (eval echo configure:1547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1547 for file in conftest.*; do
1549 *.c | *.o | *.obj) ;;
1550 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1554 { echo "configure
: error
: installation or configuration problem
: compiler cannot create executables.
" 1>&2; exit 1; }
1557 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1562 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1563 echo "$ac_t""${ac_cv_exeext}" 1>&6
1568 . ${glibcpp_basedir}/configure.host
1570 case ${glibcpp_basedir} in
1571 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1572 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1575 # This does for the target what configure.host does for the host. In
1576 # addition to possibly modifying the same flags, it also sets up symlinks.
1578 . ${glibcpp_basedir}/configure.target
1579 echo "$ac_t""CPU config directory is
$cpu_include_dir" 1>&6
1580 echo "$ac_t""OS config directory is
$os_include_dir" 1>&6
1586 # Check whether --enable-shared or --disable-shared was given.
1587 if test "${enable_shared+set}" = set; then
1588 enableval="$enable_shared"
1589 p=${PACKAGE-default}
1591 yes) enable_shared=yes ;;
1592 no) enable_shared=no ;;
1595 # Look at the argument we got. We use all the common list separators.
1596 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1597 for pkg in $enableval; do
1598 if test "X
$pkg" = "X
$p"; then
1609 # Check whether --enable-static or --disable-static was given.
1610 if test "${enable_static+set}" = set; then
1611 enableval="$enable_static"
1612 p=${PACKAGE-default}
1614 yes) enable_static=yes ;;
1615 no) enable_static=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-fast-install or --disable-fast-install was given.
1633 if test "${enable_fast_install+set}" = set; then
1634 enableval="$enable_fast_install"
1635 p=${PACKAGE-default}
1637 yes) enable_fast_install=yes ;;
1638 no) enable_fast_install=no ;;
1640 enable_fast_install=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
1645 enable_fast_install=yes
1652 enable_fast_install=yes
1655 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1656 if test "${with_gnu_ld+set}" = set; then
1657 withval="$with_gnu_ld"
1658 test "$withval" = no || with_gnu_ld=yes
1664 if test "$GCC" = yes; then
1665 # Check if gcc -print-prog-name=ld gives a path.
1666 echo $ac_n "checking
for ld used by GCC
""...
$ac_c" 1>&6
1667 echo "configure
:1668: checking
for ld used by GCC
" >&5
1670 # gcc leaves a trailing carriage return which upsets mingw
1671 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1673 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1676 # Accept absolute paths.
1677 [\\/]* | [A-Za-z]:[\\/]*)
1678 re_direlt='/[^/][^/]*/\.\./'
1679 # Canonicalize the path of ld
1680 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1681 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1682 ac_prog=`echo $ac_prog| sed "s
%$re_direlt%/%"`
1684 test -z "$LD" && LD="$ac_prog"
1687 # If it fails, then pretend we aren't using GCC.
1691 # If it is relative, then search for the first ld in PATH.
1695 elif test "$with_gnu_ld" = yes; then
1696 echo $ac_n "checking
for GNU ld
""...
$ac_c" 1>&6
1697 echo "configure
:1698: checking
for GNU ld
" >&5
1699 echo $ac_n "checking
for non-GNU ld
""...
$ac_c" 1>&6
1700 echo "configure
:1701: checking
for non-GNU ld
" >&5
1702 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1703 echo $ac_n "(cached
) $ac_c" 1>&6
1705 if test -z "$LD"; then
1706 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1707 for ac_dir in $PATH; do
1708 test -z "$ac_dir" && ac_dir=.
1709 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1710 lt_cv_path_LD="$ac_dir/$ac_prog"
1711 # Check to see if the program is GNU ld. I'd rather use --version,
1712 # but apparently some GNU ld's only accept -v.
1713 # Break only if it was the GNU/non-GNU ld that we prefer.
1714 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1715 test "$with_gnu_ld" != no && break
1717 test "$with_gnu_ld" != yes && break
1723 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1728 if test -n "$LD"; then
1729 echo "$ac_t""$LD" 1>&6
1731 echo "$ac_t""no
" 1>&6
1733 test -z "$LD" && { echo "configure
: error
: no acceptable ld found
in \
$PATH" 1>&2; exit 1; }
1734 echo $ac_n "checking
if the linker
($LD) is GNU ld
""...
$ac_c" 1>&6
1735 echo "configure
:1736: checking
if the linker
($LD) is GNU ld
" >&5
1736 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1737 echo $ac_n "(cached
) $ac_c" 1>&6
1739 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1740 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1741 lt_cv_prog_gnu_ld=yes
1743 lt_cv_prog_gnu_ld=no
1747 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1748 with_gnu_ld=$lt_cv_prog_gnu_ld
1751 echo $ac_n "checking
for $LD option to reload object files
""...
$ac_c" 1>&6
1752 echo "configure
:1753: checking
for $LD option to reload object files
" >&5
1753 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1754 echo $ac_n "(cached
) $ac_c" 1>&6
1756 lt_cv_ld_reload_flag='-r'
1759 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1760 reload_flag=$lt_cv_ld_reload_flag
1761 test -n "$reload_flag" && reload_flag=" $reload_flag"
1763 echo $ac_n "checking
for BSD-compatible nm
""...
$ac_c" 1>&6
1764 echo "configure
:1765: checking
for BSD-compatible nm
" >&5
1765 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1766 echo $ac_n "(cached
) $ac_c" 1>&6
1768 if test -n "$NM"; then
1769 # Let the user override the test.
1772 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1773 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1774 test -z "$ac_dir" && ac_dir=.
1775 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1776 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1777 # Check to see if the nm accepts a BSD-compat flag.
1778 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1779 # nm: unknown option "B
" ignored
1780 # Tru64's nm complains that /dev/null is an invalid object file
1781 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1782 lt_cv_path_NM="$tmp_nm -B"
1784 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1785 lt_cv_path_NM="$tmp_nm -p"
1788 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1789 continue # so that we can try to find one that supports BSD flags
1794 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1799 echo "$ac_t""$NM" 1>&6
1801 echo $ac_n "checking whether
ln -s works
""...
$ac_c" 1>&6
1802 echo "configure
:1803: checking whether
ln -s works
" >&5
1803 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1804 echo $ac_n "(cached
) $ac_c" 1>&6
1807 if ln -s X conftestdata 2>/dev/null
1810 ac_cv_prog_LN_S="ln -s"
1815 LN_S="$ac_cv_prog_LN_S"
1816 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1817 echo "$ac_t""yes" 1>&6
1819 echo "$ac_t""no
" 1>&6
1822 echo $ac_n "checking how to recognise dependant libraries
""...
$ac_c" 1>&6
1823 echo "configure
:1824: checking how to recognise dependant libraries
" >&5
1824 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1825 echo $ac_n "(cached
) $ac_c" 1>&6
1827 lt_cv_file_magic_cmd='$MAGIC_CMD'
1828 lt_cv_file_magic_test_file=
1829 lt_cv_deplibs_check_method='unknown'
1830 # Need to set the preceding variable on all platforms that support
1831 # interlibrary dependencies.
1832 # 'none' -- dependencies not supported.
1833 # `unknown' -- same as none, but documents that we really don't know.
1834 # 'pass_all' -- all dependencies passed with no checks.
1835 # 'test_compile' -- check by making test program.
1836 # 'file_magic [regex]' -- check by looking for files in library path
1837 # which responds to the $file_magic_cmd with a given egrep regex.
1838 # If you have `file' or equivalent on your system and you're not sure
1839 # whether `pass_all' will *always* work, you probably want this one.
1843 lt_cv_deplibs_check_method=pass_all
1847 lt_cv_deplibs_check_method=pass_all
1851 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1852 lt_cv_file_magic_cmd='/usr/bin/file -L'
1853 lt_cv_file_magic_test_file=/shlib/libc.so
1856 cygwin* | mingw* |pw32*)
1857 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1858 lt_cv_file_magic_cmd='$OBJDUMP -f'
1861 darwin* | rhapsody*)
1862 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1863 lt_cv_file_magic_cmd='/usr/bin/file -L'
1865 rhapsody* | darwin1.012)
1866 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1869 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1875 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1878 # Not sure whether the presence of OpenBSD here was a mistake.
1879 # Let's accept both of them until this is cleared up.
1880 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1881 lt_cv_file_magic_cmd=/usr/bin/file
1882 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1886 lt_cv_deplibs_check_method=pass_all
1891 lt_cv_deplibs_check_method=pass_all
1895 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1896 lt_cv_file_magic_cmd=/usr/bin/file
1897 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1903 # this will be overridden with pass_all, but let us keep it just in case
1904 lt_cv_deplibs_check_method="file_magic ELF
32-bit MSB dynamic lib MIPS
- version
1"
1908 *-32|*"-32 ") libmagic=32-bit;;
1909 *-n32|*"-n32 ") libmagic=N32;;
1910 *-64|*"-64 ") libmagic=64-bit;;
1911 *) libmagic=never-match;;
1913 # this will be overridden with pass_all, but let us keep it just in case
1914 lt_cv_deplibs_check_method="file_magic ELF
${libmagic} MSB mips-
[1234] dynamic lib MIPS
- version
1"
1917 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1918 lt_cv_deplibs_check_method=pass_all
1921 # This must be Linux ELF.
1924 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
1925 lt_cv_deplibs_check_method=pass_all ;;
1927 # glibc up to 2.1.1 does not perform some relocations on ARM
1928 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
1930 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
1934 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1935 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
1937 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
1942 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
1943 lt_cv_file_magic_cmd=/usr/bin/file
1944 lt_cv_file_magic_test_file=/usr/lib/libnls.so
1947 osf3* | osf4* | osf5*)
1948 # this will be overridden with pass_all, but let us keep it just in case
1949 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
1950 lt_cv_file_magic_test_file=/shlib/libc.so
1951 lt_cv_deplibs_check_method=pass_all
1955 lt_cv_deplibs_check_method=pass_all
1959 lt_cv_deplibs_check_method=pass_all
1960 lt_cv_file_magic_test_file=/lib/libc.so
1963 sysv5uw[78]* | sysv4*uw2*)
1964 lt_cv_deplibs_check_method=pass_all
1967 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1968 case $host_vendor in
1970 lt_cv_deplibs_check_method=pass_all
1973 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]'
1974 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1982 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
1983 file_magic_cmd=$lt_cv_file_magic_cmd
1984 deplibs_check_method=$lt_cv_deplibs_check_method
1986 echo $ac_n "checking
for object suffix
""...
$ac_c" 1>&6
1987 echo "configure
:1988: checking
for object suffix
" >&5
1988 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
1989 echo $ac_n "(cached
) $ac_c" 1>&6
1992 echo 'int i = 1;' > conftest.$ac_ext
1993 if { (eval echo configure:1994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1994 for ac_file in conftest.*; do
1997 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2001 { echo "configure
: error
: installation or configuration problem
; compiler does not work
" 1>&2; exit 1; }
2006 echo "$ac_t""$ac_cv_objext" 1>&6
2007 OBJEXT=$ac_cv_objext
2008 ac_objext=$ac_cv_objext
2010 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2012 # Only perform the check for file, if the check method requires it
2013 case $deplibs_check_method in
2015 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2016 echo $ac_n "checking
for ${ac_tool_prefix}file""...
$ac_c" 1>&6
2017 echo "configure
:2018: checking
for ${ac_tool_prefix}file" >&5
2018 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2019 echo $ac_n "(cached
) $ac_c" 1>&6
2023 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2026 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2029 ac_save_MAGIC_CMD="$MAGIC_CMD"
2030 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2031 ac_dummy="/usr
/bin
:$PATH"
2032 for ac_dir in $ac_dummy; do
2033 test -z "$ac_dir" && ac_dir=.
2034 if test -f $ac_dir/${ac_tool_prefix}file; then
2035 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2036 if test -n "$file_magic_test_file"; then
2037 case $deplibs_check_method in
2039 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2040 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2041 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2042 egrep "$file_magic_regex" > /dev/null; then
2047 *** Warning: the command libtool uses to detect shared libraries,
2048 *** $file_magic_cmd, produces output that libtool cannot recognize.
2049 *** The result is that libtool may fail to recognize shared libraries
2050 *** as such. This will affect the creation of libtool libraries that
2051 *** depend on shared libraries, but programs linked with such libtool
2052 *** libraries will work regardless of this problem. Nevertheless, you
2053 *** may want to report the problem to your system manager and/or to
2054 *** bug-libtool@gnu.org
2064 MAGIC_CMD="$ac_save_MAGIC_CMD"
2069 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2070 if test -n "$MAGIC_CMD"; then
2071 echo "$ac_t""$MAGIC_CMD" 1>&6
2073 echo "$ac_t""no
" 1>&6
2076 if test -z "$lt_cv_path_MAGIC_CMD"; then
2077 if test -n "$ac_tool_prefix"; then
2078 echo $ac_n "checking
for file""...
$ac_c" 1>&6
2079 echo "configure
:2080: checking
for file" >&5
2080 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2081 echo $ac_n "(cached
) $ac_c" 1>&6
2085 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2088 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2091 ac_save_MAGIC_CMD="$MAGIC_CMD"
2092 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2093 ac_dummy="/usr
/bin
:$PATH"
2094 for ac_dir in $ac_dummy; do
2095 test -z "$ac_dir" && ac_dir=.
2096 if test -f $ac_dir/file; then
2097 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2098 if test -n "$file_magic_test_file"; then
2099 case $deplibs_check_method in
2101 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2102 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2103 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2104 egrep "$file_magic_regex" > /dev/null; then
2109 *** Warning: the command libtool uses to detect shared libraries,
2110 *** $file_magic_cmd, produces output that libtool cannot recognize.
2111 *** The result is that libtool may fail to recognize shared libraries
2112 *** as such. This will affect the creation of libtool libraries that
2113 *** depend on shared libraries, but programs linked with such libtool
2114 *** libraries will work regardless of this problem. Nevertheless, you
2115 *** may want to report the problem to your system manager and/or to
2116 *** bug-libtool@gnu.org
2126 MAGIC_CMD="$ac_save_MAGIC_CMD"
2131 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2132 if test -n "$MAGIC_CMD"; then
2133 echo "$ac_t""$MAGIC_CMD" 1>&6
2135 echo "$ac_t""no
" 1>&6
2147 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
2148 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2149 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2150 echo "configure
:2151: checking
for $ac_word" >&5
2151 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2152 echo $ac_n "(cached
) $ac_c" 1>&6
2154 if test -n "$RANLIB"; then
2155 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2157 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2159 for ac_dir in $ac_dummy; do
2160 test -z "$ac_dir" && ac_dir=.
2161 if test -f $ac_dir/$ac_word; then
2162 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
2169 RANLIB="$ac_cv_prog_RANLIB"
2170 if test -n "$RANLIB"; then
2171 echo "$ac_t""$RANLIB" 1>&6
2173 echo "$ac_t""no
" 1>&6
2177 if test -z "$ac_cv_prog_RANLIB"; then
2178 if test -n "$ac_tool_prefix"; then
2179 # Extract the first word of "ranlib
", so it can be a program name with args.
2180 set dummy ranlib; ac_word=$2
2181 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2182 echo "configure
:2183: checking
for $ac_word" >&5
2183 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2184 echo $ac_n "(cached
) $ac_c" 1>&6
2186 if test -n "$RANLIB"; then
2187 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2189 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2191 for ac_dir in $ac_dummy; do
2192 test -z "$ac_dir" && ac_dir=.
2193 if test -f $ac_dir/$ac_word; then
2194 ac_cv_prog_RANLIB="ranlib
"
2199 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2202 RANLIB="$ac_cv_prog_RANLIB"
2203 if test -n "$RANLIB"; then
2204 echo "$ac_t""$RANLIB" 1>&6
2206 echo "$ac_t""no
" 1>&6
2214 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
2215 set dummy ${ac_tool_prefix}strip; ac_word=$2
2216 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2217 echo "configure
:2218: checking
for $ac_word" >&5
2218 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2219 echo $ac_n "(cached
) $ac_c" 1>&6
2221 if test -n "$STRIP"; then
2222 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2224 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2226 for ac_dir in $ac_dummy; do
2227 test -z "$ac_dir" && ac_dir=.
2228 if test -f $ac_dir/$ac_word; then
2229 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
2236 STRIP="$ac_cv_prog_STRIP"
2237 if test -n "$STRIP"; then
2238 echo "$ac_t""$STRIP" 1>&6
2240 echo "$ac_t""no
" 1>&6
2244 if test -z "$ac_cv_prog_STRIP"; then
2245 if test -n "$ac_tool_prefix"; then
2246 # Extract the first word of "strip
", so it can be a program name with args.
2247 set dummy strip; ac_word=$2
2248 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2249 echo "configure
:2250: checking
for $ac_word" >&5
2250 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2251 echo $ac_n "(cached
) $ac_c" 1>&6
2253 if test -n "$STRIP"; then
2254 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2256 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2258 for ac_dir in $ac_dummy; do
2259 test -z "$ac_dir" && ac_dir=.
2260 if test -f $ac_dir/$ac_word; then
2261 ac_cv_prog_STRIP="strip
"
2266 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2269 STRIP="$ac_cv_prog_STRIP"
2270 if test -n "$STRIP"; then
2271 echo "$ac_t""$STRIP" 1>&6
2273 echo "$ac_t""no
" 1>&6
2282 # Check for any special flags to pass to ltconfig.
2283 libtool_flags="--cache-file=$cache_file"
2284 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2285 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2286 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2287 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2288 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2289 libtool_flags="$libtool_flags --enable-dlopen"
2291 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2292 if test "${enable_libtool_lock+set}" = set; then
2293 enableval="$enable_libtool_lock"
2297 test "x
$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2298 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2300 # Check whether --with-pic or --without-pic was given.
2301 if test "${with_pic+set}" = set; then
2308 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2309 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2311 # Some flags need to be propagated to the compiler or linker for good
2315 # Find out which ABI we are using.
2316 echo '#line 2317 "configure
"' > conftest.$ac_ext
2317 if { (eval echo configure:2318: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2318 case `/usr/bin/file conftest.$ac_objext` in
2334 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2335 SAVE_CFLAGS="$CFLAGS"
2336 CFLAGS="$CFLAGS -belf"
2337 echo $ac_n "checking whether the C compiler needs
-belf""...
$ac_c" 1>&6
2338 echo "configure
:2339: checking whether the C compiler needs
-belf" >&5
2339 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2340 echo $ac_n "(cached
) $ac_c" 1>&6
2344 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2345 ac_cpp='$CPP $CPPFLAGS'
2346 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2347 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2348 cross_compiling=$ac_cv_prog_cc_cross
2350 cat > conftest.$ac_ext <<EOF
2351 #line 2352 "configure
"
2352 #include "confdefs.h
"
2358 if { (eval echo configure:2359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2360 lt_cv_cc_needs_belf=yes
2362 echo "configure
: failed program was
:" >&5
2363 cat conftest.$ac_ext >&5
2365 lt_cv_cc_needs_belf=no
2369 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2370 ac_cpp='$CPP $CPPFLAGS'
2371 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2372 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2373 cross_compiling=$ac_cv_prog_cc_cross
2377 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2378 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2379 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2380 CFLAGS="$SAVE_CFLAGS"
2387 echo $ac_n "checking how to run the C
++ preprocessor
""...
$ac_c" 1>&6
2388 echo "configure
:2389: checking how to run the C
++ preprocessor
" >&5
2389 if test -z "$CXXCPP"; then
2390 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2391 echo $ac_n "(cached
) $ac_c" 1>&6
2394 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2395 ac_cpp='$CXXCPP $CPPFLAGS'
2396 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2397 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2398 cross_compiling=$ac_cv_prog_cxx_cross
2399 CXXCPP="${CXX-g++} -E"
2400 cat > conftest.$ac_ext <<EOF
2401 #line 2402 "configure
"
2402 #include "confdefs.h
"
2405 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2406 { (eval echo configure:2407: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2407 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2408 if test -z "$ac_err"; then
2412 echo "configure
: failed program was
:" >&5
2413 cat conftest.$ac_ext >&5
2418 ac_cv_prog_CXXCPP="$CXXCPP"
2420 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2421 ac_cpp='$CPP $CPPFLAGS'
2422 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2423 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2424 cross_compiling=$ac_cv_prog_cc_cross
2427 CXXCPP="$ac_cv_prog_CXXCPP"
2428 echo "$ac_t""$CXXCPP" 1>&6
2431 # Save cache, so that ltconfig can load it
2432 cat > confcache <<\EOF
2433 # This file is a shell script that caches the results of configure
2434 # tests run on this system so they can be shared between configure
2435 # scripts and configure runs. It is not useful on other systems.
2436 # If it contains results you don't want to keep, you may remove or edit it.
2438 # By default, configure uses ./config.cache as the cache file,
2439 # creating it if it does not exist already. You can give configure
2440 # the --cache-file=FILE option to use a different cache file; that is
2441 # what configure does when it calls configure scripts in
2442 # subdirectories, so they share the cache.
2443 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2444 # config.status only pays attention to the cache file if you give it the
2445 # --recheck option to rerun configure.
2448 # The following way of writing the cache mishandles newlines in values,
2449 # but we know of no workaround that is simple, portable, and efficient.
2450 # So, don't put newlines in cache variables' values.
2451 # Ultrix sh set writes to stderr and can't be redirected directly,
2452 # and sets the high bit in the cache file unless we assign to the vars.
2454 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2456 # `set' does not quote correctly, so add quotes (double-quote substitution
2457 # turns \\\\ into \\, and sed turns \\ into \).
2459 -e "s
/'/'\\\\''/g
" \
2460 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
2463 # `set' quotes correctly as required by POSIX, so do not add quotes.
2464 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2467 if cmp -s $cache_file confcache; then
2470 if test -w $cache_file; then
2471 echo "updating cache
$cache_file"
2472 cat confcache > $cache_file
2474 echo "not updating unwritable cache
$cache_file"
2480 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2481 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2482 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2483 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2484 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2485 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2486 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2487 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2488 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2489 || { echo "configure
: error
: libtool configure failed
" 1>&2; exit 1; }
2491 # Reload cache, that may have been modified by ltconfig
2492 if test -r "$cache_file"; then
2493 echo "loading cache
$cache_file"
2496 echo "creating cache
$cache_file"
2501 # This can be used to rebuild libtool when needed
2502 LIBTOOL_DEPS="$ac_aux_dir/ltconfig
$ac_aux_dir/ltmain.sh
$ac_aux_dir/ltcf-c.sh
"
2504 # Always use our own libtool.
2505 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2507 # Redirect the config.log output again, so that the ltconfig log is not
2508 # clobbered by the next message.
2509 exec 5>>./config.log
2513 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh
"
2515 lt_save_CFLAGS="$CFLAGS"
2516 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2517 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2518 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2519 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2520 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2521 deplibs_check_method="$deplibs_check_method" \
2522 file_magic_cmd="$file_magic_cmd" \
2523 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2524 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2525 || { echo "configure
: error
: libtool tag configuration failed
" 1>&2; exit 1; }
2527 CFLAGS="$lt_save_CFLAGS"
2529 # Redirect the config.log output again, so that the ltconfig log is not
2530 # clobbered by the next message.
2531 exec 5>>./config.log
2540 echo $ac_n "checking
for GNU
make""...
$ac_c" 1>&6
2541 echo "configure
:2542: checking
for GNU
make" >&5
2542 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2543 echo $ac_n "(cached
) $ac_c" 1>&6
2545 _cv_gnu_make_command='' ;
2546 for a in "${MAKE-make}" make gmake gnumake ; do
2547 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2549 _cv_gnu_make_command=$a ;
2556 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2557 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='${top_srcdir}/include/c_shadow'
3605 cat >> confdefs.h <<\EOF
3606 #define _GLIBCPP_USE_SHADOW_HEADERS 1
3612 C_INCLUDE_DIR='${top_srcdir}/include/c_std'
3616 C_INCLUDE_DIR='${top_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
3641 if test $target_thread_file != single; then
3642 cat >> confdefs.h <<\EOF
3643 #define HAVE_GTHR_DEFAULT 1
3646 cat >> confdefs.h <<\EOF
3647 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3653 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3654 if test "${enable_cxx_flags+set}" = set; then
3655 enableval="$enable_cxx_flags"
3656 case "x
$enableval" in
3658 { echo "configure
: error
: --enable-cxx-flags needs compiler flags as arguments
" 1>&2; exit 1; } ;;
3660 enable_cxx_flags='' ;;
3662 enable_cxx_flags="$enableval" ;;
3665 enable_cxx_flags='none'
3669 if test "$enable_cxx_flags" = "none
"; then
3670 enable_cxx_flags='';
3673 if test -n "$enable_cxx_flags"; then
3674 for f in $enable_cxx_flags; do
3678 *) # and we're trying to pass /what/ exactly?
3679 { echo "configure
: error
: compiler flags start with a
-" 1>&2; exit 1; } ;;
3683 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3687 echo $ac_n "checking
for exception model to use
""...
$ac_c" 1>&6
3688 echo "configure
:3689: checking
for exception model to use
" >&5
3691 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3692 ac_cpp='$CXXCPP $CPPFLAGS'
3693 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3694 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3695 cross_compiling=$ac_cv_prog_cxx_cross
3697 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3698 if test "${enable_sjlj_exceptions+set}" = set; then
3699 enableval="$enable_sjlj_exceptions"
3702 cat > conftest.$ac_ext << EOF
3703 #line 3704 "configure
"
3712 old_CXXFLAGS="$CXXFLAGS"
3714 if { (eval echo configure:3715: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3715 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3716 enable_sjlj_exceptions=yes
3717 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3718 enable_sjlj_exceptions=no
3721 CXXFLAGS="$old_CXXFLAGS"
3725 if test x$enable_sjlj_exceptions = xyes; then
3726 cat >> confdefs.h <<\EOF
3727 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3730 ac_exception_model_name=sjlj
3731 elif test x$enable_sjlj_exceptions = xno; then
3732 ac_exception_model_name="call frame
"
3734 { echo "configure
: error
: unable to detect exception model
" 1>&2; exit 1; }
3737 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3738 ac_cpp='$CPP $CPPFLAGS'
3739 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3740 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3741 cross_compiling=$ac_cv_prog_cc_cross
3743 echo "$ac_t""$ac_exception_model_name" 1>&6
3746 if test -n "$with_cross_host"; then
3748 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
3749 # may not work correctly, because the compiler may not be able to
3754 # If Canadian cross, then don't pick up tools from the build
3756 if test x"$build" != x"$with_cross_host" && x"$build" != x"$target"; then
3764 case "$target_alias" in
3766 # Construct linux crosses by hand, eliminating bits that need ld...
3767 # Check for available headers.
3768 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
3769 machine/endian.h machine/param.h sys/machine.h fp.h locale.h \
3772 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3773 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
3774 echo "configure
:3775: checking
for $ac_hdr" >&5
3775 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3776 echo $ac_n "(cached
) $ac_c" 1>&6
3778 cat > conftest.$ac_ext <<EOF
3779 #line 3780 "configure
"
3780 #include "confdefs.h
"
3783 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
3784 { (eval echo configure:3785: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3785 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
3786 if test -z "$ac_err"; then
3788 eval "ac_cv_header_
$ac_safe=yes"
3791 echo "configure
: failed program was
:" >&5
3792 cat conftest.$ac_ext >&5
3794 eval "ac_cv_header_
$ac_safe=no
"
3798 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3799 echo "$ac_t""yes" 1>&6
3800 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3801 cat >> confdefs.h <<EOF
3802 #define $ac_tr_hdr 1
3806 echo "$ac_t""no
" 1>&6
3811 # GLIBCPP_CHECK_COMPILER_FEATURES
3812 SECTION_FLAGS='-ffunction-sections -fdata-sections'
3815 # If we're not using GNU ld, then there's no point in even trying these
3816 # tests. Check for that first. We should have already tested for gld
3817 # by now (in libtool), but require it now just to be safe...
3822 # Set --gc-sections.
3823 if test "$ac_cv_prog_gnu_ld" = "notbroken
"; then
3824 # GNU ld it is! Joy and bunny rabbits!
3826 # All these tests are for C++; save the language and the compiler flags.
3827 # Need to do this so that g++ won't try to link in libstdc++
3828 ac_test_CFLAGS="${CFLAGS+set}"
3829 ac_save_CFLAGS="$CFLAGS"
3830 CFLAGS='-x c++ -Wl,--gc-sections'
3832 # Check for -Wl,--gc-sections
3833 # XXX This test is broken at the moment, as symbols required for
3834 # linking are now in libsupc++ (not built yet.....). In addition,
3835 # this test has cored on solaris in the past. In addition,
3836 # --gc-sections doesn't really work at the moment (keeps on discarding
3837 # used sections, first .eh_frame and now some of the glibc sections for
3838 # iconv). Bzzzzt. Thanks for playing, maybe next time.
3839 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
3840 echo "configure
:3841: checking
for ld that supports
-Wl,--gc-sections" >&5
3841 if test "$cross_compiling" = yes; then
3842 ac_sectionLDflags=yes
3844 cat > conftest.$ac_ext <<EOF
3845 #line 3846 "configure
"
3846 #include "confdefs.h
"
3856 if { (eval echo configure:3857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3858 ac_sectionLDflags=yes
3860 echo "configure
: failed program was
:" >&5
3861 cat conftest.$ac_ext >&5
3863 ac_sectionLFflags=no
3868 if test "$ac_test_CFLAGS" = set; then
3869 CFLAGS="$ac_save_CFLAGS"
3871 # this is the suspicious part
3874 if test "$ac_sectionLDflags" = "yes"; then
3875 SECTION_LDFLAGS='-Wl,--gc-sections'
3877 echo "$ac_t""$ac_sectionLDflags" 1>&6
3880 # Set linker optimization flags.
3881 if test x"$ac_cv_prog_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
3882 OPT_LDFLAGS='-Wl,-O1'
3888 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
3889 # GLIBCPP_CHECK_MATH_SUPPORT
3890 cat >> confdefs.h <<\EOF
3891 #define HAVE_ACOSF 1
3894 cat >> confdefs.h <<\EOF
3895 #define HAVE_ASINF 1
3898 cat >> confdefs.h <<\EOF
3899 #define HAVE_ATAN2F 1
3902 cat >> confdefs.h <<\EOF
3903 #define HAVE_ATANF 1
3906 cat >> confdefs.h <<\EOF
3907 #define HAVE_CEILF 1
3910 cat >> confdefs.h <<\EOF
3911 #define HAVE_COPYSIGN 1
3914 cat >> confdefs.h <<\EOF
3915 #define HAVE_COPYSIGNF 1
3918 cat >> confdefs.h <<\EOF
3922 cat >> confdefs.h <<\EOF
3923 #define HAVE_COSHF 1
3926 cat >> confdefs.h <<\EOF
3930 cat >> confdefs.h <<\EOF
3931 #define HAVE_FABSF 1
3934 cat >> confdefs.h <<\EOF
3935 #define HAVE_FINITE 1
3938 cat >> confdefs.h <<\EOF
3939 #define HAVE_FINITEF 1
3942 cat >> confdefs.h <<\EOF
3943 #define HAVE_FLOORF 1
3946 cat >> confdefs.h <<\EOF
3947 #define HAVE_FMODF 1
3950 cat >> confdefs.h <<\EOF
3951 #define HAVE_FREXPF 1
3954 cat >> confdefs.h <<\EOF
3955 #define HAVE_ISINF 1
3958 cat >> confdefs.h <<\EOF
3959 #define HAVE_ISINFF 1
3962 cat >> confdefs.h <<\EOF
3963 #define HAVE_ISNAN 1
3966 cat >> confdefs.h <<\EOF
3967 #define HAVE_ISNANF 1
3970 cat >> confdefs.h <<\EOF
3971 #define HAVE_LDEXPF 1
3974 cat >> confdefs.h <<\EOF
3975 #define HAVE_LOG10F 1
3978 cat >> confdefs.h <<\EOF
3982 cat >> confdefs.h <<\EOF
3983 #define HAVE_MODFF 1
3986 cat >> confdefs.h <<\EOF
3990 cat >> confdefs.h <<\EOF
3991 #define HAVE_SINCOS 1
3994 cat >> confdefs.h <<\EOF
3995 #define HAVE_SINCOSF 1
3998 cat >> confdefs.h <<\EOF
4002 cat >> confdefs.h <<\EOF
4003 #define HAVE_SINHF 1
4006 cat >> confdefs.h <<\EOF
4007 #define HAVE_SQRTF 1
4010 cat >> confdefs.h <<\EOF
4014 cat >> confdefs.h <<\EOF
4015 #define HAVE_TANHF 1
4019 # At some point, we should differentiate between architectures
4020 # like x86, which have long double versions, and alpha/powerpc/etc.,
4021 # which don't. For the time being, punt.
4022 if test x"long_double_math_on_this_cpu
" = x"yes"; then
4023 cat >> confdefs.h <<\EOF
4024 #define HAVE_ACOSL 1
4027 cat >> confdefs.h <<\EOF
4028 #define HAVE_ASINL 1
4031 cat >> confdefs.h <<\EOF
4032 #define HAVE_ATAN2L 1
4035 cat >> confdefs.h <<\EOF
4036 #define HAVE_ATANL 1
4039 cat >> confdefs.h <<\EOF
4040 #define HAVE_CEILL 1
4043 cat >> confdefs.h <<\EOF
4044 #define HAVE_COPYSIGNL 1
4047 cat >> confdefs.h <<\EOF
4051 cat >> confdefs.h <<\EOF
4052 #define HAVE_COSHL 1
4055 cat >> confdefs.h <<\EOF
4059 cat >> confdefs.h <<\EOF
4060 #define HAVE_FABSL 1
4063 cat >> confdefs.h <<\EOF
4064 #define HAVE_FINITEL 1
4067 cat >> confdefs.h <<\EOF
4068 #define HAVE_FLOORL 1
4071 cat >> confdefs.h <<\EOF
4072 #define HAVE_FMODL 1
4075 cat >> confdefs.h <<\EOF
4076 #define HAVE_FREXPL 1
4079 cat >> confdefs.h <<\EOF
4080 #define HAVE_ISINFL 1
4083 cat >> confdefs.h <<\EOF
4084 #define HAVE_ISNANL 1
4087 cat >> confdefs.h <<\EOF
4088 #define HAVE_LDEXPL 1
4091 cat >> confdefs.h <<\EOF
4092 #define HAVE_LOG10L 1
4095 cat >> confdefs.h <<\EOF
4099 cat >> confdefs.h <<\EOF
4100 #define HAVE_MODFL 1
4103 cat >> confdefs.h <<\EOF
4107 cat >> confdefs.h <<\EOF
4108 #define HAVE_SINCOSL 1
4111 cat >> confdefs.h <<\EOF
4115 cat >> confdefs.h <<\EOF
4116 #define HAVE_SINHL 1
4119 cat >> confdefs.h <<\EOF
4120 #define HAVE_SQRTL 1
4123 cat >> confdefs.h <<\EOF
4127 cat >> confdefs.h <<\EOF
4128 #define HAVE_TANHL 1
4133 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
4134 echo "configure
:4135: checking
for main
in -lm" >&5
4135 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4136 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4137 echo $ac_n "(cached
) $ac_c" 1>&6
4139 ac_save_LIBS="$LIBS"
4141 cat > conftest.$ac_ext <<EOF
4142 #line 4143 "configure
"
4143 #include "confdefs.h
"
4149 if { (eval echo configure:4150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4151 eval "ac_cv_lib_
$ac_lib_var=yes"
4153 echo "configure
: failed program was
:" >&5
4154 cat conftest.$ac_ext >&5
4156 eval "ac_cv_lib_
$ac_lib_var=no
"
4159 LIBS="$ac_save_LIBS"
4162 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4163 echo "$ac_t""yes" 1>&6
4164 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4165 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4166 cat >> confdefs.h <<EOF
4167 #define $ac_tr_lib 1
4173 echo "$ac_t""no
" 1>&6
4176 for ac_func in nan hypot hypotf atan2f expf copysignf
4178 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4179 echo "configure
:4180: checking
for $ac_func" >&5
4180 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4181 echo $ac_n "(cached
) $ac_c" 1>&6
4183 cat > conftest.$ac_ext <<EOF
4184 #line 4185 "configure
"
4185 #include "confdefs.h
"
4186 /* System header to define __stub macros and hopefully few prototypes,
4187 which can conflict with char $ac_func(); below. */
4189 /* Override any gcc2 internal prototype to avoid an error. */
4190 /* We use char because int might match the return type of a gcc2
4191 builtin and then its argument prototype would still apply. */
4196 /* The GNU C library defines this for functions which it implements
4197 to always fail with ENOSYS. Some functions are actually named
4198 something starting with __ and the normal name is an alias. */
4199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4207 if { (eval echo configure:4208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4209 eval "ac_cv_func_
$ac_func=yes"
4211 echo "configure
: failed program was
:" >&5
4212 cat conftest.$ac_ext >&5
4214 eval "ac_cv_func_
$ac_func=no
"
4219 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4220 echo "$ac_t""yes" 1>&6
4221 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4222 cat >> confdefs.h <<EOF
4223 #define $ac_tr_func 1
4227 echo "$ac_t""no
" 1>&6
4228 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
4234 USE_COMPLEX_LONG_DOUBLE=no
4235 if test x$ac_cv_func_atan2l = x"yes" \
4236 && test x$ac_cv_func_copysignl = x"yes"; then
4237 USE_COMPLEX_LONG_DOUBLE=yes
4238 for ac_func in hypotl signbitl
4240 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4241 echo "configure
:4242: checking
for $ac_func" >&5
4242 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4243 echo $ac_n "(cached
) $ac_c" 1>&6
4245 cat > conftest.$ac_ext <<EOF
4246 #line 4247 "configure
"
4247 #include "confdefs.h
"
4248 /* System header to define __stub macros and hopefully few prototypes,
4249 which can conflict with char $ac_func(); below. */
4251 /* Override any gcc2 internal prototype to avoid an error. */
4252 /* We use char because int might match the return type of a gcc2
4253 builtin and then its argument prototype would still apply. */
4258 /* The GNU C library defines this for functions which it implements
4259 to always fail with ENOSYS. Some functions are actually named
4260 something starting with __ and the normal name is an alias. */
4261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4269 if { (eval echo configure:4270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4271 eval "ac_cv_func_
$ac_func=yes"
4273 echo "configure
: failed program was
:" >&5
4274 cat conftest.$ac_ext >&5
4276 eval "ac_cv_func_
$ac_func=no
"
4281 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4282 echo "$ac_t""yes" 1>&6
4283 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4284 cat >> confdefs.h <<EOF
4285 #define $ac_tr_func 1
4289 echo "$ac_t""no
" 1>&6
4290 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
4301 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
4302 echo "configure
:4303: checking
for mbstate_t
" >&5
4303 cat > conftest.$ac_ext <<EOF
4304 #line 4305 "configure
"
4305 #include "confdefs.h
"
4308 mbstate_t teststate;
4311 if { (eval echo configure:4312: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4315 echo "configure
: failed program was
:" >&5
4316 cat conftest.$ac_ext >&5
4321 echo "$ac_t""$have_mbstate_t" 1>&6
4322 if test x"$have_mbstate_t" = xyes; then
4323 cat >> confdefs.h <<\EOF
4324 #define HAVE_MBSTATE_T 1
4329 for ac_hdr in wchar.h
4331 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4332 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4333 echo "configure
:4334: checking
for $ac_hdr" >&5
4334 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4335 echo $ac_n "(cached
) $ac_c" 1>&6
4337 cat > conftest.$ac_ext <<EOF
4338 #line 4339 "configure
"
4339 #include "confdefs.h
"
4342 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4343 { (eval echo configure:4344: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4344 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4345 if test -z "$ac_err"; then
4347 eval "ac_cv_header_
$ac_safe=yes"
4350 echo "configure
: failed program was
:" >&5
4351 cat conftest.$ac_ext >&5
4353 eval "ac_cv_header_
$ac_safe=no
"
4357 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4358 echo "$ac_t""yes" 1>&6
4359 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4360 cat >> confdefs.h <<EOF
4361 #define $ac_tr_hdr 1
4365 echo "$ac_t""no
" 1>&6
4370 ac_safe=`echo "wctype.h
" | sed 'y%./+-%__p_%'`
4371 echo $ac_n "checking
for wctype.h
""...
$ac_c" 1>&6
4372 echo "configure
:4373: checking
for wctype.h
" >&5
4373 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4374 echo $ac_n "(cached
) $ac_c" 1>&6
4376 cat > conftest.$ac_ext <<EOF
4377 #line 4378 "configure
"
4378 #include "confdefs.h
"
4381 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4382 { (eval echo configure:4383: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4383 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4384 if test -z "$ac_err"; then
4386 eval "ac_cv_header_
$ac_safe=yes"
4389 echo "configure
: failed program was
:" >&5
4390 cat conftest.$ac_ext >&5
4392 eval "ac_cv_header_
$ac_safe=no
"
4396 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4397 echo "$ac_t""yes" 1>&6
4400 echo "$ac_t""no
" 1>&6
4405 if test x"$ac_has_wchar_h" = xyes && test x"$ac_has_wctype_h" = xyes \
4406 && test x"$enable_c_mbchar" != xno; then
4408 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
4409 echo "configure
:4410: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
4410 cat > conftest.$ac_ext <<EOF
4411 #line 4412 "configure
"
4412 #include "confdefs.h
"
4415 int i = WCHAR_MIN; int j = WCHAR_MAX;
4418 if { (eval echo configure:4419: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4420 has_wchar_minmax=yes
4422 echo "configure
: failed program was
:" >&5
4423 cat conftest.$ac_ext >&5
4428 echo "$ac_t""$has_wchar_minmax" 1>&6
4430 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
4431 echo "configure
:4432: checking
for WEOF
" >&5
4432 cat > conftest.$ac_ext <<EOF
4433 #line 4434 "configure
"
4434 #include "confdefs.h
"
4442 if { (eval echo configure:4443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4446 echo "configure
: failed program was
:" >&5
4447 cat conftest.$ac_ext >&5
4452 echo "$ac_t""$has_weof" 1>&6
4455 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4457 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4458 echo "configure
:4459: checking
for $ac_func" >&5
4459 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4460 echo $ac_n "(cached
) $ac_c" 1>&6
4462 cat > conftest.$ac_ext <<EOF
4463 #line 4464 "configure
"
4464 #include "confdefs.h
"
4465 /* System header to define __stub macros and hopefully few prototypes,
4466 which can conflict with char $ac_func(); below. */
4468 /* Override any gcc2 internal prototype to avoid an error. */
4469 /* We use char because int might match the return type of a gcc2
4470 builtin and then its argument prototype would still apply. */
4475 /* The GNU C library defines this for functions which it implements
4476 to always fail with ENOSYS. Some functions are actually named
4477 something starting with __ and the normal name is an alias. */
4478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4486 if { (eval echo configure:4487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4488 eval "ac_cv_func_
$ac_func=yes"
4490 echo "configure
: failed program was
:" >&5
4491 cat conftest.$ac_ext >&5
4493 eval "ac_cv_func_
$ac_func=no
"
4498 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4499 echo "$ac_t""yes" 1>&6
4500 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4501 cat >> confdefs.h <<EOF
4502 #define $ac_tr_func 1
4506 echo "$ac_t""no
" 1>&6
4513 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4514 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4515 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4516 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4517 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4518 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4520 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4521 echo "configure
:4522: checking
for $ac_func" >&5
4522 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4523 echo $ac_n "(cached
) $ac_c" 1>&6
4525 cat > conftest.$ac_ext <<EOF
4526 #line 4527 "configure
"
4527 #include "confdefs.h
"
4528 /* System header to define __stub macros and hopefully few prototypes,
4529 which can conflict with char $ac_func(); below. */
4531 /* Override any gcc2 internal prototype to avoid an error. */
4532 /* We use char because int might match the return type of a gcc2
4533 builtin and then its argument prototype would still apply. */
4538 /* The GNU C library defines this for functions which it implements
4539 to always fail with ENOSYS. Some functions are actually named
4540 something starting with __ and the normal name is an alias. */
4541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4549 if { (eval echo configure:4550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4551 eval "ac_cv_func_
$ac_func=yes"
4553 echo "configure
: failed program was
:" >&5
4554 cat conftest.$ac_ext >&5
4556 eval "ac_cv_func_
$ac_func=no
"
4561 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4562 echo "$ac_t""yes" 1>&6
4563 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4564 cat >> confdefs.h <<EOF
4565 #define $ac_tr_func 1
4569 echo "$ac_t""no
" 1>&6
4576 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
4577 echo "configure
:4578: checking
for ISO C99 wchar_t support
" >&5
4578 if test x"$has_weof" = xyes && test x"$has_wchar_minmax" = xyes \
4579 && test x"$ac_wfuncs" = xyes; then
4580 ac_isoC99_wchar_t=yes
4582 ac_isoC99_wchar_t=no
4584 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4586 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
4587 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
4588 echo "configure
:4589: checking
for iconv.h
" >&5
4589 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4590 echo $ac_n "(cached
) $ac_c" 1>&6
4592 cat > conftest.$ac_ext <<EOF
4593 #line 4594 "configure
"
4594 #include "confdefs.h
"
4597 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4598 { (eval echo configure:4599: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4599 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4600 if test -z "$ac_err"; then
4602 eval "ac_cv_header_
$ac_safe=yes"
4605 echo "configure
: failed program was
:" >&5
4606 cat conftest.$ac_ext >&5
4608 eval "ac_cv_header_
$ac_safe=no
"
4612 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4613 echo "$ac_t""yes" 1>&6
4616 echo "$ac_t""no
" 1>&6
4620 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
4621 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
4622 echo "configure
:4623: checking
for langinfo.h
" >&5
4623 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4624 echo $ac_n "(cached
) $ac_c" 1>&6
4626 cat > conftest.$ac_ext <<EOF
4627 #line 4628 "configure
"
4628 #include "confdefs.h
"
4629 #include <langinfo.h>
4631 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4632 { (eval echo configure:4633: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4633 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4634 if test -z "$ac_err"; then
4636 eval "ac_cv_header_
$ac_safe=yes"
4639 echo "configure
: failed program was
:" >&5
4640 cat conftest.$ac_ext >&5
4642 eval "ac_cv_header_
$ac_safe=no
"
4646 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4647 echo "$ac_t""yes" 1>&6
4648 ac_has_langinfo_h=yes
4650 echo "$ac_t""no
" 1>&6
4651 ac_has_langinfo_h=no
4655 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
4656 echo "configure
:4657: checking
for iconv in -liconv" >&5
4657 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4658 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4659 echo $ac_n "(cached
) $ac_c" 1>&6
4661 ac_save_LIBS="$LIBS"
4662 LIBS="-liconv $LIBS"
4663 cat > conftest.$ac_ext <<EOF
4664 #line 4665 "configure
"
4665 #include "confdefs.h
"
4666 /* Override any gcc2 internal prototype to avoid an error. */
4667 /* We use char because int might match the return type of a gcc2
4668 builtin and then its argument prototype would still apply. */
4675 if { (eval echo configure:4676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4677 eval "ac_cv_lib_
$ac_lib_var=yes"
4679 echo "configure
: failed program was
:" >&5
4680 cat conftest.$ac_ext >&5
4682 eval "ac_cv_lib_
$ac_lib_var=no
"
4685 LIBS="$ac_save_LIBS"
4688 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4689 echo "$ac_t""yes" 1>&6
4692 echo "$ac_t""no
" 1>&6
4695 ac_save_LIBS="$LIBS"
4696 LIBS="$LIBS $libiconv"
4698 for ac_func in iconv_open iconv_close iconv nl_langinfo
4700 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4701 echo "configure
:4702: checking
for $ac_func" >&5
4702 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4703 echo $ac_n "(cached
) $ac_c" 1>&6
4705 cat > conftest.$ac_ext <<EOF
4706 #line 4707 "configure
"
4707 #include "confdefs.h
"
4708 /* System header to define __stub macros and hopefully few prototypes,
4709 which can conflict with char $ac_func(); below. */
4711 /* Override any gcc2 internal prototype to avoid an error. */
4712 /* We use char because int might match the return type of a gcc2
4713 builtin and then its argument prototype would still apply. */
4718 /* The GNU C library defines this for functions which it implements
4719 to always fail with ENOSYS. Some functions are actually named
4720 something starting with __ and the normal name is an alias. */
4721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4729 if { (eval echo configure:4730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4731 eval "ac_cv_func_
$ac_func=yes"
4733 echo "configure
: failed program was
:" >&5
4734 cat conftest.$ac_ext >&5
4736 eval "ac_cv_func_
$ac_func=no
"
4741 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4742 echo "$ac_t""yes" 1>&6
4743 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4744 cat >> confdefs.h <<EOF
4745 #define $ac_tr_func 1
4750 echo "$ac_t""no
" 1>&6
4756 LIBS="$ac_save_LIBS"
4758 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
4759 echo "configure
:4760: checking
for XPG2 wchar_t support
" >&5
4760 if test x"$ac_has_iconv_h" = xyes && test x"$ac_has_langinfo_h" = xyes \
4761 && test x"$ac_XPG2funcs" = xyes; then
4766 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
4768 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
4769 echo "configure
:4770: checking
for enabled wchar_t specializations
" >&5
4770 if test x"$ac_isoC99_wchar_t" = xyes \
4771 && test x"$ac_XPG2_wchar_t" = xyes; then
4772 cat >> confdefs.h <<\EOF
4773 #define _GLIBCPP_USE_WCHAR_T 1
4776 echo "$ac_t"""yes"" 1>&6
4778 echo "$ac_t"""no"" 1>&6
4781 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
4784 os_include_dir="config
/os
/gnu-linux
"
4785 # GLIBCPP_CHECK_STDLIB_SUPPORT
4786 cat >> confdefs.h <<\EOF
4787 #define HAVE_STRTOF 1
4790 cat >> confdefs.h <<\EOF
4791 #define HAVE_STRTOLD 1
4795 cat >> confdefs.h <<\EOF
4801 # We assume newlib. This lets us hard-code the functions we know
4803 cat >> confdefs.h <<\EOF
4804 #define HAVE_FINITE 1
4807 cat >> confdefs.h <<\EOF
4808 #define HAVE_ISNAN 1
4811 cat >> confdefs.h <<\EOF
4812 #define HAVE_ISNANF 1
4815 cat >> confdefs.h <<\EOF
4816 #define HAVE_ISINF 1
4819 cat >> confdefs.h <<\EOF
4820 #define HAVE_ISINFF 1
4824 os_include_dir="config
/os
/newlib
"
4826 # need to check for faster f versions of math functions, ie sinf?
4831 # We are being configured natively. We can do more elaborate tests
4832 # that include AC_TRY_COMPILE now, as the linker is assumed to be
4839 # Check for available headers.
4840 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
4841 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h
4843 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4844 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4845 echo "configure
:4846: checking
for $ac_hdr" >&5
4846 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4847 echo $ac_n "(cached
) $ac_c" 1>&6
4849 cat > conftest.$ac_ext <<EOF
4850 #line 4851 "configure
"
4851 #include "confdefs.h
"
4854 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4855 { (eval echo configure:4856: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4856 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4857 if test -z "$ac_err"; then
4859 eval "ac_cv_header_
$ac_safe=yes"
4862 echo "configure
: failed program was
:" >&5
4863 cat conftest.$ac_ext >&5
4865 eval "ac_cv_header_
$ac_safe=no
"
4869 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4870 echo "$ac_t""yes" 1>&6
4871 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4872 cat >> confdefs.h <<EOF
4873 #define $ac_tr_hdr 1
4877 echo "$ac_t""no
" 1>&6
4883 # All these tests are for C++; save the language and the compiler flags.
4884 # The CXXFLAGS thing is suspicious, but based on similar bits previously
4885 # found in GLIBCPP_CONFIGURE.
4888 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4889 ac_cpp='$CXXCPP $CPPFLAGS'
4890 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4891 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4892 cross_compiling=$ac_cv_prog_cxx_cross
4894 ac_test_CXXFLAGS="${CXXFLAGS+set}"
4895 ac_save_CXXFLAGS="$CXXFLAGS"
4897 # Check for maintainer-mode bits.
4898 if test x"$USE_MAINTAINER_MODE" = xno; then
4904 # Check for -ffunction-sections -fdata-sections
4905 echo $ac_n "checking
for g
++ that supports
-ffunction-sections -fdata-sections""...
$ac_c" 1>&6
4906 echo "configure
:4907: checking
for g
++ that supports
-ffunction-sections -fdata-sections" >&5
4907 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
4908 cat > conftest.$ac_ext <<EOF
4909 #line 4910 "configure
"
4910 #include "confdefs.h
"
4917 if { (eval echo configure:4918: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4921 echo "configure
: failed program was
:" >&5
4922 cat conftest.$ac_ext >&5
4927 if test "$ac_test_CXXFLAGS" = set; then
4928 CXXFLAGS="$ac_save_CXXFLAGS"
4930 # this is the suspicious part
4933 if test x"$ac_fdsections" = x"yes" && test x"$enable_debug" = x"no
"; then
4934 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4936 echo "$ac_t""$ac_fdsections" 1>&6
4939 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4940 ac_cpp='$CPP $CPPFLAGS'
4941 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4942 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4943 cross_compiling=$ac_cv_prog_cc_cross
4949 # If we're not using GNU ld, then there's no point in even trying these
4950 # tests. Check for that first. We should have already tested for gld
4951 # by now (in libtool), but require it now just to be safe...
4956 # Set --gc-sections.
4957 if test "$ac_cv_prog_gnu_ld" = "notbroken
"; then
4958 # GNU ld it is! Joy and bunny rabbits!
4960 # All these tests are for C++; save the language and the compiler flags.
4961 # Need to do this so that g++ won't try to link in libstdc++
4962 ac_test_CFLAGS="${CFLAGS+set}"
4963 ac_save_CFLAGS="$CFLAGS"
4964 CFLAGS='-x c++ -Wl,--gc-sections'
4966 # Check for -Wl,--gc-sections
4967 # XXX This test is broken at the moment, as symbols required for
4968 # linking are now in libsupc++ (not built yet.....). In addition,
4969 # this test has cored on solaris in the past. In addition,
4970 # --gc-sections doesn't really work at the moment (keeps on discarding
4971 # used sections, first .eh_frame and now some of the glibc sections for
4972 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4973 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
4974 echo "configure
:4975: checking
for ld that supports
-Wl,--gc-sections" >&5
4975 if test "$cross_compiling" = yes; then
4976 ac_sectionLDflags=yes
4978 cat > conftest.$ac_ext <<EOF
4979 #line 4980 "configure
"
4980 #include "confdefs.h
"
4990 if { (eval echo configure:4991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4992 ac_sectionLDflags=yes
4994 echo "configure
: failed program was
:" >&5
4995 cat conftest.$ac_ext >&5
4997 ac_sectionLFflags=no
5002 if test "$ac_test_CFLAGS" = set; then
5003 CFLAGS="$ac_save_CFLAGS"
5005 # this is the suspicious part
5008 if test "$ac_sectionLDflags" = "yes"; then
5009 SECTION_LDFLAGS='-Wl,--gc-sections'
5011 echo "$ac_t""$ac_sectionLDflags" 1>&6
5014 # Set linker optimization flags.
5015 if test x"$ac_cv_prog_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
5016 OPT_LDFLAGS='-Wl,-O1'
5024 echo $ac_n "checking
for __builtin_abs declaration
""...
$ac_c" 1>&6
5025 echo "configure
:5026: checking
for __builtin_abs declaration
" >&5
5026 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
5027 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
5028 echo $ac_n "(cached
) $ac_c" 1>&6
5033 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5034 ac_cpp='$CXXCPP $CPPFLAGS'
5035 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5036 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5037 cross_compiling=$ac_cv_prog_cxx_cross
5039 cat > conftest.$ac_ext <<EOF
5040 #line 5041 "configure
"
5041 #include "confdefs.h
"
5047 if { (eval echo configure:5048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5049 glibcpp_cv_func___builtin_abs_use=yes
5051 echo "configure
: failed program was
:" >&5
5052 cat conftest.$ac_ext >&5
5054 glibcpp_cv_func___builtin_abs_use=no
5058 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5059 ac_cpp='$CPP $CPPFLAGS'
5060 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5061 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5062 cross_compiling=$ac_cv_prog_cc_cross
5068 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
5069 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
5070 echo $ac_n "checking
for __builtin_abs linkage
""...
$ac_c" 1>&6
5071 echo "configure
:5072: checking
for __builtin_abs linkage
" >&5
5072 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
5073 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
5074 echo $ac_n "(cached
) $ac_c" 1>&6
5077 cat > conftest.$ac_ext <<EOF
5078 #line 5079 "configure
"
5079 #include "confdefs.h
"
5085 if { (eval echo configure:5086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5087 glibcpp_cv_func___builtin_abs_link=yes
5089 echo "configure
: failed program was
:" >&5
5090 cat conftest.$ac_ext >&5
5092 glibcpp_cv_func___builtin_abs_link=no
5099 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
5100 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
5101 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5102 cat >> confdefs.h <<EOF
5103 #define ${ac_tr_func} 1
5110 echo $ac_n "checking
for __builtin_fabsf declaration
""...
$ac_c" 1>&6
5111 echo "configure
:5112: checking
for __builtin_fabsf declaration
" >&5
5112 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
5113 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
5114 echo $ac_n "(cached
) $ac_c" 1>&6
5119 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5120 ac_cpp='$CXXCPP $CPPFLAGS'
5121 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5122 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5123 cross_compiling=$ac_cv_prog_cxx_cross
5125 cat > conftest.$ac_ext <<EOF
5126 #line 5127 "configure
"
5127 #include "confdefs.h
"
5133 if { (eval echo configure:5134: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5135 glibcpp_cv_func___builtin_fabsf_use=yes
5137 echo "configure
: failed program was
:" >&5
5138 cat conftest.$ac_ext >&5
5140 glibcpp_cv_func___builtin_fabsf_use=no
5144 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5145 ac_cpp='$CPP $CPPFLAGS'
5146 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5147 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5148 cross_compiling=$ac_cv_prog_cc_cross
5154 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
5155 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
5156 echo $ac_n "checking
for __builtin_fabsf linkage
""...
$ac_c" 1>&6
5157 echo "configure
:5158: checking
for __builtin_fabsf linkage
" >&5
5158 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
5159 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
5160 echo $ac_n "(cached
) $ac_c" 1>&6
5163 cat > conftest.$ac_ext <<EOF
5164 #line 5165 "configure
"
5165 #include "confdefs.h
"
5171 if { (eval echo configure:5172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5173 glibcpp_cv_func___builtin_fabsf_link=yes
5175 echo "configure
: failed program was
:" >&5
5176 cat conftest.$ac_ext >&5
5178 glibcpp_cv_func___builtin_fabsf_link=no
5185 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
5186 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
5187 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5188 cat >> confdefs.h <<EOF
5189 #define ${ac_tr_func} 1
5196 echo $ac_n "checking
for __builtin_fabs declaration
""...
$ac_c" 1>&6
5197 echo "configure
:5198: checking
for __builtin_fabs declaration
" >&5
5198 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
5199 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
5200 echo $ac_n "(cached
) $ac_c" 1>&6
5205 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5206 ac_cpp='$CXXCPP $CPPFLAGS'
5207 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5208 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5209 cross_compiling=$ac_cv_prog_cxx_cross
5211 cat > conftest.$ac_ext <<EOF
5212 #line 5213 "configure
"
5213 #include "confdefs.h
"
5219 if { (eval echo configure:5220: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5221 glibcpp_cv_func___builtin_fabs_use=yes
5223 echo "configure
: failed program was
:" >&5
5224 cat conftest.$ac_ext >&5
5226 glibcpp_cv_func___builtin_fabs_use=no
5230 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5231 ac_cpp='$CPP $CPPFLAGS'
5232 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5233 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5234 cross_compiling=$ac_cv_prog_cc_cross
5240 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
5241 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
5242 echo $ac_n "checking
for __builtin_fabs linkage
""...
$ac_c" 1>&6
5243 echo "configure
:5244: checking
for __builtin_fabs linkage
" >&5
5244 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
5245 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
5246 echo $ac_n "(cached
) $ac_c" 1>&6
5249 cat > conftest.$ac_ext <<EOF
5250 #line 5251 "configure
"
5251 #include "confdefs.h
"
5257 if { (eval echo configure:5258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5259 glibcpp_cv_func___builtin_fabs_link=yes
5261 echo "configure
: failed program was
:" >&5
5262 cat conftest.$ac_ext >&5
5264 glibcpp_cv_func___builtin_fabs_link=no
5271 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
5272 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
5273 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5274 cat >> confdefs.h <<EOF
5275 #define ${ac_tr_func} 1
5282 echo $ac_n "checking
for __builtin_fabsl declaration
""...
$ac_c" 1>&6
5283 echo "configure
:5284: checking
for __builtin_fabsl declaration
" >&5
5284 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
5285 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
5286 echo $ac_n "(cached
) $ac_c" 1>&6
5291 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5292 ac_cpp='$CXXCPP $CPPFLAGS'
5293 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5294 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5295 cross_compiling=$ac_cv_prog_cxx_cross
5297 cat > conftest.$ac_ext <<EOF
5298 #line 5299 "configure
"
5299 #include "confdefs.h
"
5305 if { (eval echo configure:5306: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5307 glibcpp_cv_func___builtin_fabsl_use=yes
5309 echo "configure
: failed program was
:" >&5
5310 cat conftest.$ac_ext >&5
5312 glibcpp_cv_func___builtin_fabsl_use=no
5316 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5317 ac_cpp='$CPP $CPPFLAGS'
5318 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5319 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5320 cross_compiling=$ac_cv_prog_cc_cross
5326 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
5327 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
5328 echo $ac_n "checking
for __builtin_fabsl linkage
""...
$ac_c" 1>&6
5329 echo "configure
:5330: checking
for __builtin_fabsl linkage
" >&5
5330 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
5331 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
5332 echo $ac_n "(cached
) $ac_c" 1>&6
5335 cat > conftest.$ac_ext <<EOF
5336 #line 5337 "configure
"
5337 #include "confdefs.h
"
5343 if { (eval echo configure:5344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5345 glibcpp_cv_func___builtin_fabsl_link=yes
5347 echo "configure
: failed program was
:" >&5
5348 cat conftest.$ac_ext >&5
5350 glibcpp_cv_func___builtin_fabsl_link=no
5357 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
5358 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
5359 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5360 cat >> confdefs.h <<EOF
5361 #define ${ac_tr_func} 1
5368 echo $ac_n "checking
for __builtin_labs declaration
""...
$ac_c" 1>&6
5369 echo "configure
:5370: checking
for __builtin_labs declaration
" >&5
5370 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
5371 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
5372 echo $ac_n "(cached
) $ac_c" 1>&6
5377 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5378 ac_cpp='$CXXCPP $CPPFLAGS'
5379 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5380 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5381 cross_compiling=$ac_cv_prog_cxx_cross
5383 cat > conftest.$ac_ext <<EOF
5384 #line 5385 "configure
"
5385 #include "confdefs.h
"
5391 if { (eval echo configure:5392: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5393 glibcpp_cv_func___builtin_labs_use=yes
5395 echo "configure
: failed program was
:" >&5
5396 cat conftest.$ac_ext >&5
5398 glibcpp_cv_func___builtin_labs_use=no
5402 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5403 ac_cpp='$CPP $CPPFLAGS'
5404 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5405 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5406 cross_compiling=$ac_cv_prog_cc_cross
5412 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
5413 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
5414 echo $ac_n "checking
for __builtin_labs linkage
""...
$ac_c" 1>&6
5415 echo "configure
:5416: checking
for __builtin_labs linkage
" >&5
5416 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
5417 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
5418 echo $ac_n "(cached
) $ac_c" 1>&6
5421 cat > conftest.$ac_ext <<EOF
5422 #line 5423 "configure
"
5423 #include "confdefs.h
"
5429 if { (eval echo configure:5430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5431 glibcpp_cv_func___builtin_labs_link=yes
5433 echo "configure
: failed program was
:" >&5
5434 cat conftest.$ac_ext >&5
5436 glibcpp_cv_func___builtin_labs_link=no
5443 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
5444 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
5445 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5446 cat >> confdefs.h <<EOF
5447 #define ${ac_tr_func} 1
5455 echo $ac_n "checking
for __builtin_sqrtf declaration
""...
$ac_c" 1>&6
5456 echo "configure
:5457: checking
for __builtin_sqrtf declaration
" >&5
5457 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
5458 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
5459 echo $ac_n "(cached
) $ac_c" 1>&6
5464 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5465 ac_cpp='$CXXCPP $CPPFLAGS'
5466 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5467 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5468 cross_compiling=$ac_cv_prog_cxx_cross
5470 cat > conftest.$ac_ext <<EOF
5471 #line 5472 "configure
"
5472 #include "confdefs.h
"
5478 if { (eval echo configure:5479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5480 glibcpp_cv_func___builtin_sqrtf_use=yes
5482 echo "configure
: failed program was
:" >&5
5483 cat conftest.$ac_ext >&5
5485 glibcpp_cv_func___builtin_sqrtf_use=no
5489 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5490 ac_cpp='$CPP $CPPFLAGS'
5491 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5492 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5493 cross_compiling=$ac_cv_prog_cc_cross
5499 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
5500 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
5501 echo $ac_n "checking
for __builtin_sqrtf linkage
""...
$ac_c" 1>&6
5502 echo "configure
:5503: checking
for __builtin_sqrtf linkage
" >&5
5503 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
5504 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
5505 echo $ac_n "(cached
) $ac_c" 1>&6
5508 cat > conftest.$ac_ext <<EOF
5509 #line 5510 "configure
"
5510 #include "confdefs.h
"
5516 if { (eval echo configure:5517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5518 glibcpp_cv_func___builtin_sqrtf_link=yes
5520 echo "configure
: failed program was
:" >&5
5521 cat conftest.$ac_ext >&5
5523 glibcpp_cv_func___builtin_sqrtf_link=no
5530 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
5531 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
5532 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5533 cat >> confdefs.h <<EOF
5534 #define ${ac_tr_func} 1
5541 echo $ac_n "checking
for __builtin_fsqrt declaration
""...
$ac_c" 1>&6
5542 echo "configure
:5543: checking
for __builtin_fsqrt declaration
" >&5
5543 if test x${glibcpp_cv_func___builtin_fsqrt_use+set} != xset; then
5544 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_use'+set}'`\" = set"; then
5545 echo $ac_n "(cached
) $ac_c" 1>&6
5550 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5551 ac_cpp='$CXXCPP $CPPFLAGS'
5552 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5553 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5554 cross_compiling=$ac_cv_prog_cxx_cross
5556 cat > conftest.$ac_ext <<EOF
5557 #line 5558 "configure
"
5558 #include "confdefs.h
"
5564 if { (eval echo configure:5565: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5566 glibcpp_cv_func___builtin_fsqrt_use=yes
5568 echo "configure
: failed program was
:" >&5
5569 cat conftest.$ac_ext >&5
5571 glibcpp_cv_func___builtin_fsqrt_use=no
5575 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5576 ac_cpp='$CPP $CPPFLAGS'
5577 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5578 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5579 cross_compiling=$ac_cv_prog_cc_cross
5585 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_use" 1>&6
5586 if test x$glibcpp_cv_func___builtin_fsqrt_use = x"yes"; then
5587 echo $ac_n "checking
for __builtin_fsqrt linkage
""...
$ac_c" 1>&6
5588 echo "configure
:5589: checking
for __builtin_fsqrt linkage
" >&5
5589 if test x${glibcpp_cv_func___builtin_fsqrt_link+set} != xset; then
5590 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_link'+set}'`\" = set"; then
5591 echo $ac_n "(cached
) $ac_c" 1>&6
5594 cat > conftest.$ac_ext <<EOF
5595 #line 5596 "configure
"
5596 #include "confdefs.h
"
5602 if { (eval echo configure:5603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5604 glibcpp_cv_func___builtin_fsqrt_link=yes
5606 echo "configure
: failed program was
:" >&5
5607 cat conftest.$ac_ext >&5
5609 glibcpp_cv_func___builtin_fsqrt_link=no
5616 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_link" 1>&6
5617 if test x$glibcpp_cv_func___builtin_fsqrt_link = x"yes"; then
5618 ac_tr_func=HAVE_`echo __builtin_fsqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5619 cat >> confdefs.h <<EOF
5620 #define ${ac_tr_func} 1
5627 echo $ac_n "checking
for __builtin_sqrtl declaration
""...
$ac_c" 1>&6
5628 echo "configure
:5629: checking
for __builtin_sqrtl declaration
" >&5
5629 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
5630 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
5631 echo $ac_n "(cached
) $ac_c" 1>&6
5636 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5637 ac_cpp='$CXXCPP $CPPFLAGS'
5638 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5639 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5640 cross_compiling=$ac_cv_prog_cxx_cross
5642 cat > conftest.$ac_ext <<EOF
5643 #line 5644 "configure
"
5644 #include "confdefs.h
"
5650 if { (eval echo configure:5651: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5652 glibcpp_cv_func___builtin_sqrtl_use=yes
5654 echo "configure
: failed program was
:" >&5
5655 cat conftest.$ac_ext >&5
5657 glibcpp_cv_func___builtin_sqrtl_use=no
5661 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5662 ac_cpp='$CPP $CPPFLAGS'
5663 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5664 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5665 cross_compiling=$ac_cv_prog_cc_cross
5671 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
5672 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
5673 echo $ac_n "checking
for __builtin_sqrtl linkage
""...
$ac_c" 1>&6
5674 echo "configure
:5675: checking
for __builtin_sqrtl linkage
" >&5
5675 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
5676 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
5677 echo $ac_n "(cached
) $ac_c" 1>&6
5680 cat > conftest.$ac_ext <<EOF
5681 #line 5682 "configure
"
5682 #include "confdefs.h
"
5688 if { (eval echo configure:5689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5690 glibcpp_cv_func___builtin_sqrtl_link=yes
5692 echo "configure
: failed program was
:" >&5
5693 cat conftest.$ac_ext >&5
5695 glibcpp_cv_func___builtin_sqrtl_link=no
5702 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
5703 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
5704 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5705 cat >> confdefs.h <<EOF
5706 #define ${ac_tr_func} 1
5714 echo $ac_n "checking
for __builtin_sinf declaration
""...
$ac_c" 1>&6
5715 echo "configure
:5716: checking
for __builtin_sinf declaration
" >&5
5716 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
5717 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
5718 echo $ac_n "(cached
) $ac_c" 1>&6
5723 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5724 ac_cpp='$CXXCPP $CPPFLAGS'
5725 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5726 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5727 cross_compiling=$ac_cv_prog_cxx_cross
5729 cat > conftest.$ac_ext <<EOF
5730 #line 5731 "configure
"
5731 #include "confdefs.h
"
5737 if { (eval echo configure:5738: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5739 glibcpp_cv_func___builtin_sinf_use=yes
5741 echo "configure
: failed program was
:" >&5
5742 cat conftest.$ac_ext >&5
5744 glibcpp_cv_func___builtin_sinf_use=no
5748 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5749 ac_cpp='$CPP $CPPFLAGS'
5750 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5751 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5752 cross_compiling=$ac_cv_prog_cc_cross
5758 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
5759 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
5760 echo $ac_n "checking
for __builtin_sinf linkage
""...
$ac_c" 1>&6
5761 echo "configure
:5762: checking
for __builtin_sinf linkage
" >&5
5762 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
5763 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
5764 echo $ac_n "(cached
) $ac_c" 1>&6
5767 cat > conftest.$ac_ext <<EOF
5768 #line 5769 "configure
"
5769 #include "confdefs.h
"
5775 if { (eval echo configure:5776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5777 glibcpp_cv_func___builtin_sinf_link=yes
5779 echo "configure
: failed program was
:" >&5
5780 cat conftest.$ac_ext >&5
5782 glibcpp_cv_func___builtin_sinf_link=no
5789 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
5790 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
5791 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5792 cat >> confdefs.h <<EOF
5793 #define ${ac_tr_func} 1
5800 echo $ac_n "checking
for __builtin_sin declaration
""...
$ac_c" 1>&6
5801 echo "configure
:5802: checking
for __builtin_sin declaration
" >&5
5802 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
5803 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
5804 echo $ac_n "(cached
) $ac_c" 1>&6
5809 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5810 ac_cpp='$CXXCPP $CPPFLAGS'
5811 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5812 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5813 cross_compiling=$ac_cv_prog_cxx_cross
5815 cat > conftest.$ac_ext <<EOF
5816 #line 5817 "configure
"
5817 #include "confdefs.h
"
5823 if { (eval echo configure:5824: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5825 glibcpp_cv_func___builtin_sin_use=yes
5827 echo "configure
: failed program was
:" >&5
5828 cat conftest.$ac_ext >&5
5830 glibcpp_cv_func___builtin_sin_use=no
5834 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5835 ac_cpp='$CPP $CPPFLAGS'
5836 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5837 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5838 cross_compiling=$ac_cv_prog_cc_cross
5844 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
5845 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
5846 echo $ac_n "checking
for __builtin_sin linkage
""...
$ac_c" 1>&6
5847 echo "configure
:5848: checking
for __builtin_sin linkage
" >&5
5848 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
5849 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
5850 echo $ac_n "(cached
) $ac_c" 1>&6
5853 cat > conftest.$ac_ext <<EOF
5854 #line 5855 "configure
"
5855 #include "confdefs.h
"
5861 if { (eval echo configure:5862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5863 glibcpp_cv_func___builtin_sin_link=yes
5865 echo "configure
: failed program was
:" >&5
5866 cat conftest.$ac_ext >&5
5868 glibcpp_cv_func___builtin_sin_link=no
5875 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
5876 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
5877 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5878 cat >> confdefs.h <<EOF
5879 #define ${ac_tr_func} 1
5886 echo $ac_n "checking
for __builtin_sinl declaration
""...
$ac_c" 1>&6
5887 echo "configure
:5888: checking
for __builtin_sinl declaration
" >&5
5888 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
5889 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
5890 echo $ac_n "(cached
) $ac_c" 1>&6
5895 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5896 ac_cpp='$CXXCPP $CPPFLAGS'
5897 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5898 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5899 cross_compiling=$ac_cv_prog_cxx_cross
5901 cat > conftest.$ac_ext <<EOF
5902 #line 5903 "configure
"
5903 #include "confdefs.h
"
5909 if { (eval echo configure:5910: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5911 glibcpp_cv_func___builtin_sinl_use=yes
5913 echo "configure
: failed program was
:" >&5
5914 cat conftest.$ac_ext >&5
5916 glibcpp_cv_func___builtin_sinl_use=no
5920 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5921 ac_cpp='$CPP $CPPFLAGS'
5922 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5923 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5924 cross_compiling=$ac_cv_prog_cc_cross
5930 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
5931 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
5932 echo $ac_n "checking
for __builtin_sinl linkage
""...
$ac_c" 1>&6
5933 echo "configure
:5934: checking
for __builtin_sinl linkage
" >&5
5934 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
5935 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
5936 echo $ac_n "(cached
) $ac_c" 1>&6
5939 cat > conftest.$ac_ext <<EOF
5940 #line 5941 "configure
"
5941 #include "confdefs.h
"
5947 if { (eval echo configure:5948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5949 glibcpp_cv_func___builtin_sinl_link=yes
5951 echo "configure
: failed program was
:" >&5
5952 cat conftest.$ac_ext >&5
5954 glibcpp_cv_func___builtin_sinl_link=no
5961 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
5962 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
5963 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5964 cat >> confdefs.h <<EOF
5965 #define ${ac_tr_func} 1
5973 echo $ac_n "checking
for __builtin_cosf declaration
""...
$ac_c" 1>&6
5974 echo "configure
:5975: checking
for __builtin_cosf declaration
" >&5
5975 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
5976 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
5977 echo $ac_n "(cached
) $ac_c" 1>&6
5982 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5983 ac_cpp='$CXXCPP $CPPFLAGS'
5984 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5985 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5986 cross_compiling=$ac_cv_prog_cxx_cross
5988 cat > conftest.$ac_ext <<EOF
5989 #line 5990 "configure
"
5990 #include "confdefs.h
"
5996 if { (eval echo configure:5997: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5998 glibcpp_cv_func___builtin_cosf_use=yes
6000 echo "configure
: failed program was
:" >&5
6001 cat conftest.$ac_ext >&5
6003 glibcpp_cv_func___builtin_cosf_use=no
6007 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6008 ac_cpp='$CPP $CPPFLAGS'
6009 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6010 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6011 cross_compiling=$ac_cv_prog_cc_cross
6017 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
6018 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
6019 echo $ac_n "checking
for __builtin_cosf linkage
""...
$ac_c" 1>&6
6020 echo "configure
:6021: checking
for __builtin_cosf linkage
" >&5
6021 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
6022 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
6023 echo $ac_n "(cached
) $ac_c" 1>&6
6026 cat > conftest.$ac_ext <<EOF
6027 #line 6028 "configure
"
6028 #include "confdefs.h
"
6034 if { (eval echo configure:6035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6036 glibcpp_cv_func___builtin_cosf_link=yes
6038 echo "configure
: failed program was
:" >&5
6039 cat conftest.$ac_ext >&5
6041 glibcpp_cv_func___builtin_cosf_link=no
6048 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
6049 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
6050 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6051 cat >> confdefs.h <<EOF
6052 #define ${ac_tr_func} 1
6059 echo $ac_n "checking
for __builtin_cos declaration
""...
$ac_c" 1>&6
6060 echo "configure
:6061: checking
for __builtin_cos declaration
" >&5
6061 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
6062 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
6063 echo $ac_n "(cached
) $ac_c" 1>&6
6068 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6069 ac_cpp='$CXXCPP $CPPFLAGS'
6070 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6071 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6072 cross_compiling=$ac_cv_prog_cxx_cross
6074 cat > conftest.$ac_ext <<EOF
6075 #line 6076 "configure
"
6076 #include "confdefs.h
"
6082 if { (eval echo configure:6083: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6084 glibcpp_cv_func___builtin_cos_use=yes
6086 echo "configure
: failed program was
:" >&5
6087 cat conftest.$ac_ext >&5
6089 glibcpp_cv_func___builtin_cos_use=no
6093 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6094 ac_cpp='$CPP $CPPFLAGS'
6095 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6096 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6097 cross_compiling=$ac_cv_prog_cc_cross
6103 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
6104 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
6105 echo $ac_n "checking
for __builtin_cos linkage
""...
$ac_c" 1>&6
6106 echo "configure
:6107: checking
for __builtin_cos linkage
" >&5
6107 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
6108 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
6109 echo $ac_n "(cached
) $ac_c" 1>&6
6112 cat > conftest.$ac_ext <<EOF
6113 #line 6114 "configure
"
6114 #include "confdefs.h
"
6120 if { (eval echo configure:6121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6122 glibcpp_cv_func___builtin_cos_link=yes
6124 echo "configure
: failed program was
:" >&5
6125 cat conftest.$ac_ext >&5
6127 glibcpp_cv_func___builtin_cos_link=no
6134 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
6135 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
6136 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6137 cat >> confdefs.h <<EOF
6138 #define ${ac_tr_func} 1
6145 echo $ac_n "checking
for __builtin_cosl declaration
""...
$ac_c" 1>&6
6146 echo "configure
:6147: checking
for __builtin_cosl declaration
" >&5
6147 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
6148 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
6149 echo $ac_n "(cached
) $ac_c" 1>&6
6154 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6155 ac_cpp='$CXXCPP $CPPFLAGS'
6156 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6157 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6158 cross_compiling=$ac_cv_prog_cxx_cross
6160 cat > conftest.$ac_ext <<EOF
6161 #line 6162 "configure
"
6162 #include "confdefs.h
"
6168 if { (eval echo configure:6169: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6170 glibcpp_cv_func___builtin_cosl_use=yes
6172 echo "configure
: failed program was
:" >&5
6173 cat conftest.$ac_ext >&5
6175 glibcpp_cv_func___builtin_cosl_use=no
6179 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6180 ac_cpp='$CPP $CPPFLAGS'
6181 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6182 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6183 cross_compiling=$ac_cv_prog_cc_cross
6189 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
6190 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
6191 echo $ac_n "checking
for __builtin_cosl linkage
""...
$ac_c" 1>&6
6192 echo "configure
:6193: checking
for __builtin_cosl linkage
" >&5
6193 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
6194 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
6195 echo $ac_n "(cached
) $ac_c" 1>&6
6198 cat > conftest.$ac_ext <<EOF
6199 #line 6200 "configure
"
6200 #include "confdefs.h
"
6206 if { (eval echo configure:6207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6208 glibcpp_cv_func___builtin_cosl_link=yes
6210 echo "configure
: failed program was
:" >&5
6211 cat conftest.$ac_ext >&5
6213 glibcpp_cv_func___builtin_cosl_link=no
6220 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
6221 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
6222 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6223 cat >> confdefs.h <<EOF
6224 #define ${ac_tr_func} 1
6232 if test x$dummyvar = x"yes"; then
6233 cat >> confdefs.h <<\EOF
6234 #define HAVE___BUILTIN_ABS 1
6237 cat >> confdefs.h <<\EOF
6238 #define HAVE___BUILTIN_LABS 1
6241 cat >> confdefs.h <<\EOF
6242 #define HAVE___BUILTIN_COS 1
6245 cat >> confdefs.h <<\EOF
6246 #define HAVE___BUILTIN_COSF 1
6249 cat >> confdefs.h <<\EOF
6250 #define HAVE___BUILTIN_COSL 1
6253 cat >> confdefs.h <<\EOF
6254 #define HAVE___BUILTIN_FABS 1
6257 cat >> confdefs.h <<\EOF
6258 #define HAVE___BUILTIN_FABSF 1
6261 cat >> confdefs.h <<\EOF
6262 #define HAVE___BUILTIN_FABSL 1
6265 cat >> confdefs.h <<\EOF
6266 #define HAVE___BUILTIN_SIN 1
6269 cat >> confdefs.h <<\EOF
6270 #define HAVE___BUILTIN_SINF 1
6273 cat >> confdefs.h <<\EOF
6274 #define HAVE___BUILTIN_SINL 1
6277 cat >> confdefs.h <<\EOF
6278 #define HAVE___BUILTIN_FSQRT 1
6281 cat >> confdefs.h <<\EOF
6282 #define HAVE___BUILTIN_SQRTF 1
6285 cat >> confdefs.h <<\EOF
6286 #define HAVE___BUILTIN_SQRTL 1
6292 ac_test_CXXFLAGS="${CXXFLAGS+set}"
6293 ac_save_CXXFLAGS="$CXXFLAGS"
6294 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
6296 echo $ac_n "checking
for sin
in -lm""...
$ac_c" 1>&6
6297 echo "configure
:6298: checking
for sin
in -lm" >&5
6298 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
6299 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6300 echo $ac_n "(cached
) $ac_c" 1>&6
6302 ac_save_LIBS="$LIBS"
6304 cat > conftest.$ac_ext <<EOF
6305 #line 6306 "configure
"
6306 #include "confdefs.h
"
6307 /* Override any gcc2 internal prototype to avoid an error. */
6308 /* We use char because int might match the return type of a gcc2
6309 builtin and then its argument prototype would still apply. */
6316 if { (eval echo configure:6317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6318 eval "ac_cv_lib_
$ac_lib_var=yes"
6320 echo "configure
: failed program was
:" >&5
6321 cat conftest.$ac_ext >&5
6323 eval "ac_cv_lib_
$ac_lib_var=no
"
6326 LIBS="$ac_save_LIBS"
6329 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6330 echo "$ac_t""yes" 1>&6
6333 echo "$ac_t""no
" 1>&6
6336 ac_save_LIBS="$LIBS"
6341 echo $ac_n "checking
for isinf declaration
""...
$ac_c" 1>&6
6342 echo "configure
:6343: checking
for isinf declaration
" >&5
6343 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
6344 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
6345 echo $ac_n "(cached
) $ac_c" 1>&6
6350 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6351 ac_cpp='$CXXCPP $CPPFLAGS'
6352 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6353 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6354 cross_compiling=$ac_cv_prog_cxx_cross
6356 cat > conftest.$ac_ext <<EOF
6357 #line 6358 "configure
"
6358 #include "confdefs.h
"
6360 #ifdef HAVE_IEEEFP_H
6368 if { (eval echo configure:6369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6370 glibcpp_cv_func_isinf_use=yes
6372 echo "configure
: failed program was
:" >&5
6373 cat conftest.$ac_ext >&5
6375 glibcpp_cv_func_isinf_use=no
6379 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6380 ac_cpp='$CPP $CPPFLAGS'
6381 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6382 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6383 cross_compiling=$ac_cv_prog_cc_cross
6389 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
6391 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
6392 for ac_func in isinf
6394 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6395 echo "configure
:6396: checking
for $ac_func" >&5
6396 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6397 echo $ac_n "(cached
) $ac_c" 1>&6
6399 cat > conftest.$ac_ext <<EOF
6400 #line 6401 "configure
"
6401 #include "confdefs.h
"
6402 /* System header to define __stub macros and hopefully few prototypes,
6403 which can conflict with char $ac_func(); below. */
6405 /* Override any gcc2 internal prototype to avoid an error. */
6406 /* We use char because int might match the return type of a gcc2
6407 builtin and then its argument prototype would still apply. */
6412 /* The GNU C library defines this for functions which it implements
6413 to always fail with ENOSYS. Some functions are actually named
6414 something starting with __ and the normal name is an alias. */
6415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6423 if { (eval echo configure:6424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6425 eval "ac_cv_func_
$ac_func=yes"
6427 echo "configure
: failed program was
:" >&5
6428 cat conftest.$ac_ext >&5
6430 eval "ac_cv_func_
$ac_func=no
"
6435 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6436 echo "$ac_t""yes" 1>&6
6437 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6438 cat >> confdefs.h <<EOF
6439 #define $ac_tr_func 1
6443 echo "$ac_t""no
" 1>&6
6449 echo $ac_n "checking
for _isinf declaration
""...
$ac_c" 1>&6
6450 echo "configure
:6451: checking
for _isinf declaration
" >&5
6451 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
6452 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
6453 echo $ac_n "(cached
) $ac_c" 1>&6
6458 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6459 ac_cpp='$CXXCPP $CPPFLAGS'
6460 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6461 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6462 cross_compiling=$ac_cv_prog_cxx_cross
6464 cat > conftest.$ac_ext <<EOF
6465 #line 6466 "configure
"
6466 #include "confdefs.h
"
6468 #ifdef HAVE_IEEEFP_H
6476 if { (eval echo configure:6477: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6478 glibcpp_cv_func__isinf_use=yes
6480 echo "configure
: failed program was
:" >&5
6481 cat conftest.$ac_ext >&5
6483 glibcpp_cv_func__isinf_use=no
6487 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6488 ac_cpp='$CPP $CPPFLAGS'
6489 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6490 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6491 cross_compiling=$ac_cv_prog_cc_cross
6497 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
6499 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
6500 for ac_func in _isinf
6502 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6503 echo "configure
:6504: checking
for $ac_func" >&5
6504 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6505 echo $ac_n "(cached
) $ac_c" 1>&6
6507 cat > conftest.$ac_ext <<EOF
6508 #line 6509 "configure
"
6509 #include "confdefs.h
"
6510 /* System header to define __stub macros and hopefully few prototypes,
6511 which can conflict with char $ac_func(); below. */
6513 /* Override any gcc2 internal prototype to avoid an error. */
6514 /* We use char because int might match the return type of a gcc2
6515 builtin and then its argument prototype would still apply. */
6520 /* The GNU C library defines this for functions which it implements
6521 to always fail with ENOSYS. Some functions are actually named
6522 something starting with __ and the normal name is an alias. */
6523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6531 if { (eval echo configure:6532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6533 eval "ac_cv_func_
$ac_func=yes"
6535 echo "configure
: failed program was
:" >&5
6536 cat conftest.$ac_ext >&5
6538 eval "ac_cv_func_
$ac_func=no
"
6543 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6544 echo "$ac_t""yes" 1>&6
6545 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6546 cat >> confdefs.h <<EOF
6547 #define $ac_tr_func 1
6551 echo "$ac_t""no
" 1>&6
6560 echo $ac_n "checking
for isnan declaration
""...
$ac_c" 1>&6
6561 echo "configure
:6562: checking
for isnan declaration
" >&5
6562 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
6563 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
6564 echo $ac_n "(cached
) $ac_c" 1>&6
6569 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6570 ac_cpp='$CXXCPP $CPPFLAGS'
6571 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6572 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6573 cross_compiling=$ac_cv_prog_cxx_cross
6575 cat > conftest.$ac_ext <<EOF
6576 #line 6577 "configure
"
6577 #include "confdefs.h
"
6579 #ifdef HAVE_IEEEFP_H
6587 if { (eval echo configure:6588: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6589 glibcpp_cv_func_isnan_use=yes
6591 echo "configure
: failed program was
:" >&5
6592 cat conftest.$ac_ext >&5
6594 glibcpp_cv_func_isnan_use=no
6598 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6599 ac_cpp='$CPP $CPPFLAGS'
6600 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6601 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6602 cross_compiling=$ac_cv_prog_cc_cross
6608 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
6610 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
6611 for ac_func in isnan
6613 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6614 echo "configure
:6615: checking
for $ac_func" >&5
6615 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6616 echo $ac_n "(cached
) $ac_c" 1>&6
6618 cat > conftest.$ac_ext <<EOF
6619 #line 6620 "configure
"
6620 #include "confdefs.h
"
6621 /* System header to define __stub macros and hopefully few prototypes,
6622 which can conflict with char $ac_func(); below. */
6624 /* Override any gcc2 internal prototype to avoid an error. */
6625 /* We use char because int might match the return type of a gcc2
6626 builtin and then its argument prototype would still apply. */
6631 /* The GNU C library defines this for functions which it implements
6632 to always fail with ENOSYS. Some functions are actually named
6633 something starting with __ and the normal name is an alias. */
6634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6642 if { (eval echo configure:6643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6644 eval "ac_cv_func_
$ac_func=yes"
6646 echo "configure
: failed program was
:" >&5
6647 cat conftest.$ac_ext >&5
6649 eval "ac_cv_func_
$ac_func=no
"
6654 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6655 echo "$ac_t""yes" 1>&6
6656 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6657 cat >> confdefs.h <<EOF
6658 #define $ac_tr_func 1
6662 echo "$ac_t""no
" 1>&6
6668 echo $ac_n "checking
for _isnan declaration
""...
$ac_c" 1>&6
6669 echo "configure
:6670: checking
for _isnan declaration
" >&5
6670 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
6671 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
6672 echo $ac_n "(cached
) $ac_c" 1>&6
6677 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6678 ac_cpp='$CXXCPP $CPPFLAGS'
6679 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6680 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6681 cross_compiling=$ac_cv_prog_cxx_cross
6683 cat > conftest.$ac_ext <<EOF
6684 #line 6685 "configure
"
6685 #include "confdefs.h
"
6687 #ifdef HAVE_IEEEFP_H
6695 if { (eval echo configure:6696: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6697 glibcpp_cv_func__isnan_use=yes
6699 echo "configure
: failed program was
:" >&5
6700 cat conftest.$ac_ext >&5
6702 glibcpp_cv_func__isnan_use=no
6706 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6707 ac_cpp='$CPP $CPPFLAGS'
6708 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6709 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6710 cross_compiling=$ac_cv_prog_cc_cross
6716 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
6718 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
6719 for ac_func in _isnan
6721 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6722 echo "configure
:6723: checking
for $ac_func" >&5
6723 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6724 echo $ac_n "(cached
) $ac_c" 1>&6
6726 cat > conftest.$ac_ext <<EOF
6727 #line 6728 "configure
"
6728 #include "confdefs.h
"
6729 /* System header to define __stub macros and hopefully few prototypes,
6730 which can conflict with char $ac_func(); below. */
6732 /* Override any gcc2 internal prototype to avoid an error. */
6733 /* We use char because int might match the return type of a gcc2
6734 builtin and then its argument prototype would still apply. */
6739 /* The GNU C library defines this for functions which it implements
6740 to always fail with ENOSYS. Some functions are actually named
6741 something starting with __ and the normal name is an alias. */
6742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6750 if { (eval echo configure:6751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6752 eval "ac_cv_func_
$ac_func=yes"
6754 echo "configure
: failed program was
:" >&5
6755 cat conftest.$ac_ext >&5
6757 eval "ac_cv_func_
$ac_func=no
"
6762 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6763 echo "$ac_t""yes" 1>&6
6764 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6765 cat >> confdefs.h <<EOF
6766 #define $ac_tr_func 1
6770 echo "$ac_t""no
" 1>&6
6779 echo $ac_n "checking
for finite declaration
""...
$ac_c" 1>&6
6780 echo "configure
:6781: checking
for finite declaration
" >&5
6781 if test x${glibcpp_cv_func_finite_use+set} != xset; then
6782 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
6783 echo $ac_n "(cached
) $ac_c" 1>&6
6788 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6789 ac_cpp='$CXXCPP $CPPFLAGS'
6790 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6791 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6792 cross_compiling=$ac_cv_prog_cxx_cross
6794 cat > conftest.$ac_ext <<EOF
6795 #line 6796 "configure
"
6796 #include "confdefs.h
"
6798 #ifdef HAVE_IEEEFP_H
6806 if { (eval echo configure:6807: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6808 glibcpp_cv_func_finite_use=yes
6810 echo "configure
: failed program was
:" >&5
6811 cat conftest.$ac_ext >&5
6813 glibcpp_cv_func_finite_use=no
6817 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6818 ac_cpp='$CPP $CPPFLAGS'
6819 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6820 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6821 cross_compiling=$ac_cv_prog_cc_cross
6827 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
6829 if test x$glibcpp_cv_func_finite_use = x"yes"; then
6830 for ac_func in finite
6832 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6833 echo "configure
:6834: checking
for $ac_func" >&5
6834 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6835 echo $ac_n "(cached
) $ac_c" 1>&6
6837 cat > conftest.$ac_ext <<EOF
6838 #line 6839 "configure
"
6839 #include "confdefs.h
"
6840 /* System header to define __stub macros and hopefully few prototypes,
6841 which can conflict with char $ac_func(); below. */
6843 /* Override any gcc2 internal prototype to avoid an error. */
6844 /* We use char because int might match the return type of a gcc2
6845 builtin and then its argument prototype would still apply. */
6850 /* The GNU C library defines this for functions which it implements
6851 to always fail with ENOSYS. Some functions are actually named
6852 something starting with __ and the normal name is an alias. */
6853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6861 if { (eval echo configure:6862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6863 eval "ac_cv_func_
$ac_func=yes"
6865 echo "configure
: failed program was
:" >&5
6866 cat conftest.$ac_ext >&5
6868 eval "ac_cv_func_
$ac_func=no
"
6873 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6874 echo "$ac_t""yes" 1>&6
6875 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6876 cat >> confdefs.h <<EOF
6877 #define $ac_tr_func 1
6881 echo "$ac_t""no
" 1>&6
6887 echo $ac_n "checking
for _finite declaration
""...
$ac_c" 1>&6
6888 echo "configure
:6889: checking
for _finite declaration
" >&5
6889 if test x${glibcpp_cv_func__finite_use+set} != xset; then
6890 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
6891 echo $ac_n "(cached
) $ac_c" 1>&6
6896 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6897 ac_cpp='$CXXCPP $CPPFLAGS'
6898 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6899 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6900 cross_compiling=$ac_cv_prog_cxx_cross
6902 cat > conftest.$ac_ext <<EOF
6903 #line 6904 "configure
"
6904 #include "confdefs.h
"
6906 #ifdef HAVE_IEEEFP_H
6914 if { (eval echo configure:6915: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6916 glibcpp_cv_func__finite_use=yes
6918 echo "configure
: failed program was
:" >&5
6919 cat conftest.$ac_ext >&5
6921 glibcpp_cv_func__finite_use=no
6925 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6926 ac_cpp='$CPP $CPPFLAGS'
6927 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6928 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6929 cross_compiling=$ac_cv_prog_cc_cross
6935 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
6937 if test x$glibcpp_cv_func__finite_use = x"yes"; then
6938 for ac_func in _finite
6940 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6941 echo "configure
:6942: checking
for $ac_func" >&5
6942 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6943 echo $ac_n "(cached
) $ac_c" 1>&6
6945 cat > conftest.$ac_ext <<EOF
6946 #line 6947 "configure
"
6947 #include "confdefs.h
"
6948 /* System header to define __stub macros and hopefully few prototypes,
6949 which can conflict with char $ac_func(); below. */
6951 /* Override any gcc2 internal prototype to avoid an error. */
6952 /* We use char because int might match the return type of a gcc2
6953 builtin and then its argument prototype would still apply. */
6958 /* The GNU C library defines this for functions which it implements
6959 to always fail with ENOSYS. Some functions are actually named
6960 something starting with __ and the normal name is an alias. */
6961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6969 if { (eval echo configure:6970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6971 eval "ac_cv_func_
$ac_func=yes"
6973 echo "configure
: failed program was
:" >&5
6974 cat conftest.$ac_ext >&5
6976 eval "ac_cv_func_
$ac_func=no
"
6981 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6982 echo "$ac_t""yes" 1>&6
6983 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6984 cat >> confdefs.h <<EOF
6985 #define $ac_tr_func 1
6989 echo "$ac_t""no
" 1>&6
6998 echo $ac_n "checking
for copysign declaration
""...
$ac_c" 1>&6
6999 echo "configure
:7000: checking
for copysign declaration
" >&5
7000 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
7001 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
7002 echo $ac_n "(cached
) $ac_c" 1>&6
7007 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7008 ac_cpp='$CXXCPP $CPPFLAGS'
7009 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7010 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7011 cross_compiling=$ac_cv_prog_cxx_cross
7013 cat > conftest.$ac_ext <<EOF
7014 #line 7015 "configure
"
7015 #include "confdefs.h
"
7021 if { (eval echo configure:7022: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7023 glibcpp_cv_func_copysign_use=yes
7025 echo "configure
: failed program was
:" >&5
7026 cat conftest.$ac_ext >&5
7028 glibcpp_cv_func_copysign_use=no
7032 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7033 ac_cpp='$CPP $CPPFLAGS'
7034 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7035 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7036 cross_compiling=$ac_cv_prog_cc_cross
7042 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
7044 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
7045 for ac_func in copysign
7047 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7048 echo "configure
:7049: checking
for $ac_func" >&5
7049 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7050 echo $ac_n "(cached
) $ac_c" 1>&6
7052 cat > conftest.$ac_ext <<EOF
7053 #line 7054 "configure
"
7054 #include "confdefs.h
"
7055 /* System header to define __stub macros and hopefully few prototypes,
7056 which can conflict with char $ac_func(); below. */
7058 /* Override any gcc2 internal prototype to avoid an error. */
7059 /* We use char because int might match the return type of a gcc2
7060 builtin and then its argument prototype would still apply. */
7065 /* The GNU C library defines this for functions which it implements
7066 to always fail with ENOSYS. Some functions are actually named
7067 something starting with __ and the normal name is an alias. */
7068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7076 if { (eval echo configure:7077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7078 eval "ac_cv_func_
$ac_func=yes"
7080 echo "configure
: failed program was
:" >&5
7081 cat conftest.$ac_ext >&5
7083 eval "ac_cv_func_
$ac_func=no
"
7088 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7089 echo "$ac_t""yes" 1>&6
7090 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7091 cat >> confdefs.h <<EOF
7092 #define $ac_tr_func 1
7096 echo "$ac_t""no
" 1>&6
7102 echo $ac_n "checking
for _copysign declaration
""...
$ac_c" 1>&6
7103 echo "configure
:7104: checking
for _copysign declaration
" >&5
7104 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
7105 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
7106 echo $ac_n "(cached
) $ac_c" 1>&6
7111 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7112 ac_cpp='$CXXCPP $CPPFLAGS'
7113 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7114 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7115 cross_compiling=$ac_cv_prog_cxx_cross
7117 cat > conftest.$ac_ext <<EOF
7118 #line 7119 "configure
"
7119 #include "confdefs.h
"
7125 if { (eval echo configure:7126: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7127 glibcpp_cv_func__copysign_use=yes
7129 echo "configure
: failed program was
:" >&5
7130 cat conftest.$ac_ext >&5
7132 glibcpp_cv_func__copysign_use=no
7136 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7137 ac_cpp='$CPP $CPPFLAGS'
7138 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7139 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7140 cross_compiling=$ac_cv_prog_cc_cross
7146 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
7148 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
7149 for ac_func in _copysign
7151 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7152 echo "configure
:7153: checking
for $ac_func" >&5
7153 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7154 echo $ac_n "(cached
) $ac_c" 1>&6
7156 cat > conftest.$ac_ext <<EOF
7157 #line 7158 "configure
"
7158 #include "confdefs.h
"
7159 /* System header to define __stub macros and hopefully few prototypes,
7160 which can conflict with char $ac_func(); below. */
7162 /* Override any gcc2 internal prototype to avoid an error. */
7163 /* We use char because int might match the return type of a gcc2
7164 builtin and then its argument prototype would still apply. */
7169 /* The GNU C library defines this for functions which it implements
7170 to always fail with ENOSYS. Some functions are actually named
7171 something starting with __ and the normal name is an alias. */
7172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7180 if { (eval echo configure:7181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7182 eval "ac_cv_func_
$ac_func=yes"
7184 echo "configure
: failed program was
:" >&5
7185 cat conftest.$ac_ext >&5
7187 eval "ac_cv_func_
$ac_func=no
"
7192 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7193 echo "$ac_t""yes" 1>&6
7194 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7195 cat >> confdefs.h <<EOF
7196 #define $ac_tr_func 1
7200 echo "$ac_t""no
" 1>&6
7209 echo $ac_n "checking
for sincos declaration
""...
$ac_c" 1>&6
7210 echo "configure
:7211: checking
for sincos declaration
" >&5
7211 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
7212 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
7213 echo $ac_n "(cached
) $ac_c" 1>&6
7218 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7219 ac_cpp='$CXXCPP $CPPFLAGS'
7220 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7221 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7222 cross_compiling=$ac_cv_prog_cxx_cross
7224 cat > conftest.$ac_ext <<EOF
7225 #line 7226 "configure
"
7226 #include "confdefs.h
"
7232 if { (eval echo configure:7233: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7234 glibcpp_cv_func_sincos_use=yes
7236 echo "configure
: failed program was
:" >&5
7237 cat conftest.$ac_ext >&5
7239 glibcpp_cv_func_sincos_use=no
7243 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7244 ac_cpp='$CPP $CPPFLAGS'
7245 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7246 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7247 cross_compiling=$ac_cv_prog_cc_cross
7253 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
7255 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
7256 for ac_func in sincos
7258 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7259 echo "configure
:7260: checking
for $ac_func" >&5
7260 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7261 echo $ac_n "(cached
) $ac_c" 1>&6
7263 cat > conftest.$ac_ext <<EOF
7264 #line 7265 "configure
"
7265 #include "confdefs.h
"
7266 /* System header to define __stub macros and hopefully few prototypes,
7267 which can conflict with char $ac_func(); below. */
7269 /* Override any gcc2 internal prototype to avoid an error. */
7270 /* We use char because int might match the return type of a gcc2
7271 builtin and then its argument prototype would still apply. */
7276 /* The GNU C library defines this for functions which it implements
7277 to always fail with ENOSYS. Some functions are actually named
7278 something starting with __ and the normal name is an alias. */
7279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7287 if { (eval echo configure:7288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7289 eval "ac_cv_func_
$ac_func=yes"
7291 echo "configure
: failed program was
:" >&5
7292 cat conftest.$ac_ext >&5
7294 eval "ac_cv_func_
$ac_func=no
"
7299 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7300 echo "$ac_t""yes" 1>&6
7301 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7302 cat >> confdefs.h <<EOF
7303 #define $ac_tr_func 1
7307 echo "$ac_t""no
" 1>&6
7313 echo $ac_n "checking
for _sincos declaration
""...
$ac_c" 1>&6
7314 echo "configure
:7315: checking
for _sincos declaration
" >&5
7315 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
7316 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
7317 echo $ac_n "(cached
) $ac_c" 1>&6
7322 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7323 ac_cpp='$CXXCPP $CPPFLAGS'
7324 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7325 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7326 cross_compiling=$ac_cv_prog_cxx_cross
7328 cat > conftest.$ac_ext <<EOF
7329 #line 7330 "configure
"
7330 #include "confdefs.h
"
7336 if { (eval echo configure:7337: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7338 glibcpp_cv_func__sincos_use=yes
7340 echo "configure
: failed program was
:" >&5
7341 cat conftest.$ac_ext >&5
7343 glibcpp_cv_func__sincos_use=no
7347 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7348 ac_cpp='$CPP $CPPFLAGS'
7349 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7350 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7351 cross_compiling=$ac_cv_prog_cc_cross
7357 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
7359 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
7360 for ac_func in _sincos
7362 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7363 echo "configure
:7364: checking
for $ac_func" >&5
7364 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7365 echo $ac_n "(cached
) $ac_c" 1>&6
7367 cat > conftest.$ac_ext <<EOF
7368 #line 7369 "configure
"
7369 #include "confdefs.h
"
7370 /* System header to define __stub macros and hopefully few prototypes,
7371 which can conflict with char $ac_func(); below. */
7373 /* Override any gcc2 internal prototype to avoid an error. */
7374 /* We use char because int might match the return type of a gcc2
7375 builtin and then its argument prototype would still apply. */
7380 /* The GNU C library defines this for functions which it implements
7381 to always fail with ENOSYS. Some functions are actually named
7382 something starting with __ and the normal name is an alias. */
7383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7391 if { (eval echo configure:7392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7393 eval "ac_cv_func_
$ac_func=yes"
7395 echo "configure
: failed program was
:" >&5
7396 cat conftest.$ac_ext >&5
7398 eval "ac_cv_func_
$ac_func=no
"
7403 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7404 echo "$ac_t""yes" 1>&6
7405 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7406 cat >> confdefs.h <<EOF
7407 #define $ac_tr_func 1
7411 echo "$ac_t""no
" 1>&6
7420 echo $ac_n "checking
for fpclass declaration
""...
$ac_c" 1>&6
7421 echo "configure
:7422: checking
for fpclass declaration
" >&5
7422 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
7423 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
7424 echo $ac_n "(cached
) $ac_c" 1>&6
7429 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7430 ac_cpp='$CXXCPP $CPPFLAGS'
7431 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7432 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7433 cross_compiling=$ac_cv_prog_cxx_cross
7435 cat > conftest.$ac_ext <<EOF
7436 #line 7437 "configure
"
7437 #include "confdefs.h
"
7439 #ifdef HAVE_IEEEFP_H
7447 if { (eval echo configure:7448: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7449 glibcpp_cv_func_fpclass_use=yes
7451 echo "configure
: failed program was
:" >&5
7452 cat conftest.$ac_ext >&5
7454 glibcpp_cv_func_fpclass_use=no
7458 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7459 ac_cpp='$CPP $CPPFLAGS'
7460 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7461 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7462 cross_compiling=$ac_cv_prog_cc_cross
7468 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
7470 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
7471 for ac_func in fpclass
7473 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7474 echo "configure
:7475: checking
for $ac_func" >&5
7475 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7476 echo $ac_n "(cached
) $ac_c" 1>&6
7478 cat > conftest.$ac_ext <<EOF
7479 #line 7480 "configure
"
7480 #include "confdefs.h
"
7481 /* System header to define __stub macros and hopefully few prototypes,
7482 which can conflict with char $ac_func(); below. */
7484 /* Override any gcc2 internal prototype to avoid an error. */
7485 /* We use char because int might match the return type of a gcc2
7486 builtin and then its argument prototype would still apply. */
7491 /* The GNU C library defines this for functions which it implements
7492 to always fail with ENOSYS. Some functions are actually named
7493 something starting with __ and the normal name is an alias. */
7494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7502 if { (eval echo configure:7503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7504 eval "ac_cv_func_
$ac_func=yes"
7506 echo "configure
: failed program was
:" >&5
7507 cat conftest.$ac_ext >&5
7509 eval "ac_cv_func_
$ac_func=no
"
7514 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7515 echo "$ac_t""yes" 1>&6
7516 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7517 cat >> confdefs.h <<EOF
7518 #define $ac_tr_func 1
7522 echo "$ac_t""no
" 1>&6
7528 echo $ac_n "checking
for _fpclass declaration
""...
$ac_c" 1>&6
7529 echo "configure
:7530: checking
for _fpclass declaration
" >&5
7530 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
7531 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
7532 echo $ac_n "(cached
) $ac_c" 1>&6
7537 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7538 ac_cpp='$CXXCPP $CPPFLAGS'
7539 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7540 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7541 cross_compiling=$ac_cv_prog_cxx_cross
7543 cat > conftest.$ac_ext <<EOF
7544 #line 7545 "configure
"
7545 #include "confdefs.h
"
7547 #ifdef HAVE_IEEEFP_H
7555 if { (eval echo configure:7556: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7557 glibcpp_cv_func__fpclass_use=yes
7559 echo "configure
: failed program was
:" >&5
7560 cat conftest.$ac_ext >&5
7562 glibcpp_cv_func__fpclass_use=no
7566 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7567 ac_cpp='$CPP $CPPFLAGS'
7568 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7569 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7570 cross_compiling=$ac_cv_prog_cc_cross
7576 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
7578 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
7579 for ac_func in _fpclass
7581 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7582 echo "configure
:7583: checking
for $ac_func" >&5
7583 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7584 echo $ac_n "(cached
) $ac_c" 1>&6
7586 cat > conftest.$ac_ext <<EOF
7587 #line 7588 "configure
"
7588 #include "confdefs.h
"
7589 /* System header to define __stub macros and hopefully few prototypes,
7590 which can conflict with char $ac_func(); below. */
7592 /* Override any gcc2 internal prototype to avoid an error. */
7593 /* We use char because int might match the return type of a gcc2
7594 builtin and then its argument prototype would still apply. */
7599 /* The GNU C library defines this for functions which it implements
7600 to always fail with ENOSYS. Some functions are actually named
7601 something starting with __ and the normal name is an alias. */
7602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7610 if { (eval echo configure:7611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7612 eval "ac_cv_func_
$ac_func=yes"
7614 echo "configure
: failed program was
:" >&5
7615 cat conftest.$ac_ext >&5
7617 eval "ac_cv_func_
$ac_func=no
"
7622 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7623 echo "$ac_t""yes" 1>&6
7624 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7625 cat >> confdefs.h <<EOF
7626 #define $ac_tr_func 1
7630 echo "$ac_t""no
" 1>&6
7639 echo $ac_n "checking
for qfpclass declaration
""...
$ac_c" 1>&6
7640 echo "configure
:7641: checking
for qfpclass declaration
" >&5
7641 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
7642 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
7643 echo $ac_n "(cached
) $ac_c" 1>&6
7648 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7649 ac_cpp='$CXXCPP $CPPFLAGS'
7650 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7651 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7652 cross_compiling=$ac_cv_prog_cxx_cross
7654 cat > conftest.$ac_ext <<EOF
7655 #line 7656 "configure
"
7656 #include "confdefs.h
"
7658 #ifdef HAVE_IEEEFP_H
7666 if { (eval echo configure:7667: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7668 glibcpp_cv_func_qfpclass_use=yes
7670 echo "configure
: failed program was
:" >&5
7671 cat conftest.$ac_ext >&5
7673 glibcpp_cv_func_qfpclass_use=no
7677 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7678 ac_cpp='$CPP $CPPFLAGS'
7679 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7680 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7681 cross_compiling=$ac_cv_prog_cc_cross
7687 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
7689 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
7690 for ac_func in qfpclass
7692 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7693 echo "configure
:7694: checking
for $ac_func" >&5
7694 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7695 echo $ac_n "(cached
) $ac_c" 1>&6
7697 cat > conftest.$ac_ext <<EOF
7698 #line 7699 "configure
"
7699 #include "confdefs.h
"
7700 /* System header to define __stub macros and hopefully few prototypes,
7701 which can conflict with char $ac_func(); below. */
7703 /* Override any gcc2 internal prototype to avoid an error. */
7704 /* We use char because int might match the return type of a gcc2
7705 builtin and then its argument prototype would still apply. */
7710 /* The GNU C library defines this for functions which it implements
7711 to always fail with ENOSYS. Some functions are actually named
7712 something starting with __ and the normal name is an alias. */
7713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7721 if { (eval echo configure:7722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7723 eval "ac_cv_func_
$ac_func=yes"
7725 echo "configure
: failed program was
:" >&5
7726 cat conftest.$ac_ext >&5
7728 eval "ac_cv_func_
$ac_func=no
"
7733 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7734 echo "$ac_t""yes" 1>&6
7735 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7736 cat >> confdefs.h <<EOF
7737 #define $ac_tr_func 1
7741 echo "$ac_t""no
" 1>&6
7747 echo $ac_n "checking
for _qfpclass declaration
""...
$ac_c" 1>&6
7748 echo "configure
:7749: checking
for _qfpclass declaration
" >&5
7749 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
7750 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
7751 echo $ac_n "(cached
) $ac_c" 1>&6
7756 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7757 ac_cpp='$CXXCPP $CPPFLAGS'
7758 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7759 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7760 cross_compiling=$ac_cv_prog_cxx_cross
7762 cat > conftest.$ac_ext <<EOF
7763 #line 7764 "configure
"
7764 #include "confdefs.h
"
7766 #ifdef HAVE_IEEEFP_H
7774 if { (eval echo configure:7775: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7776 glibcpp_cv_func__qfpclass_use=yes
7778 echo "configure
: failed program was
:" >&5
7779 cat conftest.$ac_ext >&5
7781 glibcpp_cv_func__qfpclass_use=no
7785 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7786 ac_cpp='$CPP $CPPFLAGS'
7787 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7788 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7789 cross_compiling=$ac_cv_prog_cc_cross
7795 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
7797 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
7798 for ac_func in _qfpclass
7800 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7801 echo "configure
:7802: checking
for $ac_func" >&5
7802 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7803 echo $ac_n "(cached
) $ac_c" 1>&6
7805 cat > conftest.$ac_ext <<EOF
7806 #line 7807 "configure
"
7807 #include "confdefs.h
"
7808 /* System header to define __stub macros and hopefully few prototypes,
7809 which can conflict with char $ac_func(); below. */
7811 /* Override any gcc2 internal prototype to avoid an error. */
7812 /* We use char because int might match the return type of a gcc2
7813 builtin and then its argument prototype would still apply. */
7818 /* The GNU C library defines this for functions which it implements
7819 to always fail with ENOSYS. Some functions are actually named
7820 something starting with __ and the normal name is an alias. */
7821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7829 if { (eval echo configure:7830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7831 eval "ac_cv_func_
$ac_func=yes"
7833 echo "configure
: failed program was
:" >&5
7834 cat conftest.$ac_ext >&5
7836 eval "ac_cv_func_
$ac_func=no
"
7841 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7842 echo "$ac_t""yes" 1>&6
7843 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7844 cat >> confdefs.h <<EOF
7845 #define $ac_tr_func 1
7849 echo "$ac_t""no
" 1>&6
7858 echo $ac_n "checking
for float trig functions
""...
$ac_c" 1>&6
7859 echo "configure
:7860: checking
for float trig functions
" >&5
7860 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
7861 echo $ac_n "(cached
) $ac_c" 1>&6
7866 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7867 ac_cpp='$CXXCPP $CPPFLAGS'
7868 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7869 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7870 cross_compiling=$ac_cv_prog_cxx_cross
7872 cat > conftest.$ac_ext <<EOF
7873 #line 7874 "configure
"
7874 #include "confdefs.h
"
7877 `for x in acosf asinf atanf \
7879 coshf sinhf tanhf; do echo "$x (0);"; done`
7882 if { (eval echo configure:7883: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7884 glibcpp_cv_func_float_trig_use=yes
7886 echo "configure
: failed program was
:" >&5
7887 cat conftest.$ac_ext >&5
7889 glibcpp_cv_func_float_trig_use=no
7893 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7894 ac_cpp='$CPP $CPPFLAGS'
7895 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7896 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7897 cross_compiling=$ac_cv_prog_cc_cross
7901 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
7902 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
7903 for ac_func in acosf asinf atanf \
7907 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7908 echo "configure
:7909: checking
for $ac_func" >&5
7909 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7910 echo $ac_n "(cached
) $ac_c" 1>&6
7912 cat > conftest.$ac_ext <<EOF
7913 #line 7914 "configure
"
7914 #include "confdefs.h
"
7915 /* System header to define __stub macros and hopefully few prototypes,
7916 which can conflict with char $ac_func(); below. */
7918 /* Override any gcc2 internal prototype to avoid an error. */
7919 /* We use char because int might match the return type of a gcc2
7920 builtin and then its argument prototype would still apply. */
7925 /* The GNU C library defines this for functions which it implements
7926 to always fail with ENOSYS. Some functions are actually named
7927 something starting with __ and the normal name is an alias. */
7928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7936 if { (eval echo configure:7937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7938 eval "ac_cv_func_
$ac_func=yes"
7940 echo "configure
: failed program was
:" >&5
7941 cat conftest.$ac_ext >&5
7943 eval "ac_cv_func_
$ac_func=no
"
7948 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7949 echo "$ac_t""yes" 1>&6
7950 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7951 cat >> confdefs.h <<EOF
7952 #define $ac_tr_func 1
7956 echo "$ac_t""no
" 1>&6
7963 echo $ac_n "checking
for float round functions
""...
$ac_c" 1>&6
7964 echo "configure
:7965: checking
for float round functions
" >&5
7965 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
7966 echo $ac_n "(cached
) $ac_c" 1>&6
7971 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7972 ac_cpp='$CXXCPP $CPPFLAGS'
7973 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7974 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7975 cross_compiling=$ac_cv_prog_cxx_cross
7977 cat > conftest.$ac_ext <<EOF
7978 #line 7979 "configure
"
7979 #include "confdefs.h
"
7982 `for x in ceilf floorf; do echo "$x (0);"; done`
7985 if { (eval echo configure:7986: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7987 glibcpp_cv_func_float_round_use=yes
7989 echo "configure
: failed program was
:" >&5
7990 cat conftest.$ac_ext >&5
7992 glibcpp_cv_func_float_round_use=no
7996 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7997 ac_cpp='$CPP $CPPFLAGS'
7998 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7999 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8000 cross_compiling=$ac_cv_prog_cc_cross
8004 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
8005 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
8006 for ac_func in ceilf floorf
8008 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8009 echo "configure
:8010: checking
for $ac_func" >&5
8010 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8011 echo $ac_n "(cached
) $ac_c" 1>&6
8013 cat > conftest.$ac_ext <<EOF
8014 #line 8015 "configure
"
8015 #include "confdefs.h
"
8016 /* System header to define __stub macros and hopefully few prototypes,
8017 which can conflict with char $ac_func(); below. */
8019 /* Override any gcc2 internal prototype to avoid an error. */
8020 /* We use char because int might match the return type of a gcc2
8021 builtin and then its argument prototype would still apply. */
8026 /* The GNU C library defines this for functions which it implements
8027 to always fail with ENOSYS. Some functions are actually named
8028 something starting with __ and the normal name is an alias. */
8029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8037 if { (eval echo configure:8038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8039 eval "ac_cv_func_
$ac_func=yes"
8041 echo "configure
: failed program was
:" >&5
8042 cat conftest.$ac_ext >&5
8044 eval "ac_cv_func_
$ac_func=no
"
8049 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8050 echo "$ac_t""yes" 1>&6
8051 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8052 cat >> confdefs.h <<EOF
8053 #define $ac_tr_func 1
8057 echo "$ac_t""no
" 1>&6
8065 echo $ac_n "checking
for isnanf declaration
""...
$ac_c" 1>&6
8066 echo "configure
:8067: checking
for isnanf declaration
" >&5
8067 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
8068 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
8069 echo $ac_n "(cached
) $ac_c" 1>&6
8074 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8075 ac_cpp='$CXXCPP $CPPFLAGS'
8076 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8077 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8078 cross_compiling=$ac_cv_prog_cxx_cross
8080 cat > conftest.$ac_ext <<EOF
8081 #line 8082 "configure
"
8082 #include "confdefs.h
"
8084 #ifdef HAVE_IEEEFP_H
8092 if { (eval echo configure:8093: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8094 glibcpp_cv_func_isnanf_use=yes
8096 echo "configure
: failed program was
:" >&5
8097 cat conftest.$ac_ext >&5
8099 glibcpp_cv_func_isnanf_use=no
8103 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8104 ac_cpp='$CPP $CPPFLAGS'
8105 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8106 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8107 cross_compiling=$ac_cv_prog_cc_cross
8113 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
8115 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
8116 for ac_func in isnanf
8118 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8119 echo "configure
:8120: checking
for $ac_func" >&5
8120 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8121 echo $ac_n "(cached
) $ac_c" 1>&6
8123 cat > conftest.$ac_ext <<EOF
8124 #line 8125 "configure
"
8125 #include "confdefs.h
"
8126 /* System header to define __stub macros and hopefully few prototypes,
8127 which can conflict with char $ac_func(); below. */
8129 /* Override any gcc2 internal prototype to avoid an error. */
8130 /* We use char because int might match the return type of a gcc2
8131 builtin and then its argument prototype would still apply. */
8136 /* The GNU C library defines this for functions which it implements
8137 to always fail with ENOSYS. Some functions are actually named
8138 something starting with __ and the normal name is an alias. */
8139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8147 if { (eval echo configure:8148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8149 eval "ac_cv_func_
$ac_func=yes"
8151 echo "configure
: failed program was
:" >&5
8152 cat conftest.$ac_ext >&5
8154 eval "ac_cv_func_
$ac_func=no
"
8159 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8160 echo "$ac_t""yes" 1>&6
8161 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8162 cat >> confdefs.h <<EOF
8163 #define $ac_tr_func 1
8167 echo "$ac_t""no
" 1>&6
8173 echo $ac_n "checking
for _isnanf declaration
""...
$ac_c" 1>&6
8174 echo "configure
:8175: checking
for _isnanf declaration
" >&5
8175 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
8176 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
8177 echo $ac_n "(cached
) $ac_c" 1>&6
8182 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8183 ac_cpp='$CXXCPP $CPPFLAGS'
8184 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8185 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8186 cross_compiling=$ac_cv_prog_cxx_cross
8188 cat > conftest.$ac_ext <<EOF
8189 #line 8190 "configure
"
8190 #include "confdefs.h
"
8192 #ifdef HAVE_IEEEFP_H
8200 if { (eval echo configure:8201: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8202 glibcpp_cv_func__isnanf_use=yes
8204 echo "configure
: failed program was
:" >&5
8205 cat conftest.$ac_ext >&5
8207 glibcpp_cv_func__isnanf_use=no
8211 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8212 ac_cpp='$CPP $CPPFLAGS'
8213 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8214 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8215 cross_compiling=$ac_cv_prog_cc_cross
8221 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
8223 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
8224 for ac_func in _isnanf
8226 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8227 echo "configure
:8228: checking
for $ac_func" >&5
8228 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8229 echo $ac_n "(cached
) $ac_c" 1>&6
8231 cat > conftest.$ac_ext <<EOF
8232 #line 8233 "configure
"
8233 #include "confdefs.h
"
8234 /* System header to define __stub macros and hopefully few prototypes,
8235 which can conflict with char $ac_func(); below. */
8237 /* Override any gcc2 internal prototype to avoid an error. */
8238 /* We use char because int might match the return type of a gcc2
8239 builtin and then its argument prototype would still apply. */
8244 /* The GNU C library defines this for functions which it implements
8245 to always fail with ENOSYS. Some functions are actually named
8246 something starting with __ and the normal name is an alias. */
8247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8255 if { (eval echo configure:8256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8257 eval "ac_cv_func_
$ac_func=yes"
8259 echo "configure
: failed program was
:" >&5
8260 cat conftest.$ac_ext >&5
8262 eval "ac_cv_func_
$ac_func=no
"
8267 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8268 echo "$ac_t""yes" 1>&6
8269 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8270 cat >> confdefs.h <<EOF
8271 #define $ac_tr_func 1
8275 echo "$ac_t""no
" 1>&6
8284 echo $ac_n "checking
for isinff declaration
""...
$ac_c" 1>&6
8285 echo "configure
:8286: checking
for isinff declaration
" >&5
8286 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
8287 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
8288 echo $ac_n "(cached
) $ac_c" 1>&6
8293 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8294 ac_cpp='$CXXCPP $CPPFLAGS'
8295 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8296 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8297 cross_compiling=$ac_cv_prog_cxx_cross
8299 cat > conftest.$ac_ext <<EOF
8300 #line 8301 "configure
"
8301 #include "confdefs.h
"
8303 #ifdef HAVE_IEEEFP_H
8311 if { (eval echo configure:8312: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8313 glibcpp_cv_func_isinff_use=yes
8315 echo "configure
: failed program was
:" >&5
8316 cat conftest.$ac_ext >&5
8318 glibcpp_cv_func_isinff_use=no
8322 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8323 ac_cpp='$CPP $CPPFLAGS'
8324 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8325 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8326 cross_compiling=$ac_cv_prog_cc_cross
8332 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
8334 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
8335 for ac_func in isinff
8337 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8338 echo "configure
:8339: checking
for $ac_func" >&5
8339 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8340 echo $ac_n "(cached
) $ac_c" 1>&6
8342 cat > conftest.$ac_ext <<EOF
8343 #line 8344 "configure
"
8344 #include "confdefs.h
"
8345 /* System header to define __stub macros and hopefully few prototypes,
8346 which can conflict with char $ac_func(); below. */
8348 /* Override any gcc2 internal prototype to avoid an error. */
8349 /* We use char because int might match the return type of a gcc2
8350 builtin and then its argument prototype would still apply. */
8355 /* The GNU C library defines this for functions which it implements
8356 to always fail with ENOSYS. Some functions are actually named
8357 something starting with __ and the normal name is an alias. */
8358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8366 if { (eval echo configure:8367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8368 eval "ac_cv_func_
$ac_func=yes"
8370 echo "configure
: failed program was
:" >&5
8371 cat conftest.$ac_ext >&5
8373 eval "ac_cv_func_
$ac_func=no
"
8378 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8379 echo "$ac_t""yes" 1>&6
8380 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8381 cat >> confdefs.h <<EOF
8382 #define $ac_tr_func 1
8386 echo "$ac_t""no
" 1>&6
8392 echo $ac_n "checking
for _isinff declaration
""...
$ac_c" 1>&6
8393 echo "configure
:8394: checking
for _isinff declaration
" >&5
8394 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
8395 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
8396 echo $ac_n "(cached
) $ac_c" 1>&6
8401 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8402 ac_cpp='$CXXCPP $CPPFLAGS'
8403 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8404 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8405 cross_compiling=$ac_cv_prog_cxx_cross
8407 cat > conftest.$ac_ext <<EOF
8408 #line 8409 "configure
"
8409 #include "confdefs.h
"
8411 #ifdef HAVE_IEEEFP_H
8419 if { (eval echo configure:8420: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8421 glibcpp_cv_func__isinff_use=yes
8423 echo "configure
: failed program was
:" >&5
8424 cat conftest.$ac_ext >&5
8426 glibcpp_cv_func__isinff_use=no
8430 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8431 ac_cpp='$CPP $CPPFLAGS'
8432 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8433 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8434 cross_compiling=$ac_cv_prog_cc_cross
8440 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
8442 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
8443 for ac_func in _isinff
8445 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8446 echo "configure
:8447: checking
for $ac_func" >&5
8447 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8448 echo $ac_n "(cached
) $ac_c" 1>&6
8450 cat > conftest.$ac_ext <<EOF
8451 #line 8452 "configure
"
8452 #include "confdefs.h
"
8453 /* System header to define __stub macros and hopefully few prototypes,
8454 which can conflict with char $ac_func(); below. */
8456 /* Override any gcc2 internal prototype to avoid an error. */
8457 /* We use char because int might match the return type of a gcc2
8458 builtin and then its argument prototype would still apply. */
8463 /* The GNU C library defines this for functions which it implements
8464 to always fail with ENOSYS. Some functions are actually named
8465 something starting with __ and the normal name is an alias. */
8466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8474 if { (eval echo configure:8475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8476 eval "ac_cv_func_
$ac_func=yes"
8478 echo "configure
: failed program was
:" >&5
8479 cat conftest.$ac_ext >&5
8481 eval "ac_cv_func_
$ac_func=no
"
8486 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8487 echo "$ac_t""yes" 1>&6
8488 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8489 cat >> confdefs.h <<EOF
8490 #define $ac_tr_func 1
8494 echo "$ac_t""no
" 1>&6
8503 echo $ac_n "checking
for fabsf declaration
""...
$ac_c" 1>&6
8504 echo "configure
:8505: checking
for fabsf declaration
" >&5
8505 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
8506 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
8507 echo $ac_n "(cached
) $ac_c" 1>&6
8512 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8513 ac_cpp='$CXXCPP $CPPFLAGS'
8514 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8515 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8516 cross_compiling=$ac_cv_prog_cxx_cross
8518 cat > conftest.$ac_ext <<EOF
8519 #line 8520 "configure
"
8520 #include "confdefs.h
"
8522 #ifdef HAVE_IEEEFP_H
8530 if { (eval echo configure:8531: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8532 glibcpp_cv_func_fabsf_use=yes
8534 echo "configure
: failed program was
:" >&5
8535 cat conftest.$ac_ext >&5
8537 glibcpp_cv_func_fabsf_use=no
8541 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8542 ac_cpp='$CPP $CPPFLAGS'
8543 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8544 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8545 cross_compiling=$ac_cv_prog_cc_cross
8551 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
8553 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
8554 for ac_func in fabsf
8556 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8557 echo "configure
:8558: checking
for $ac_func" >&5
8558 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8559 echo $ac_n "(cached
) $ac_c" 1>&6
8561 cat > conftest.$ac_ext <<EOF
8562 #line 8563 "configure
"
8563 #include "confdefs.h
"
8564 /* System header to define __stub macros and hopefully few prototypes,
8565 which can conflict with char $ac_func(); below. */
8567 /* Override any gcc2 internal prototype to avoid an error. */
8568 /* We use char because int might match the return type of a gcc2
8569 builtin and then its argument prototype would still apply. */
8574 /* The GNU C library defines this for functions which it implements
8575 to always fail with ENOSYS. Some functions are actually named
8576 something starting with __ and the normal name is an alias. */
8577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8585 if { (eval echo configure:8586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8587 eval "ac_cv_func_
$ac_func=yes"
8589 echo "configure
: failed program was
:" >&5
8590 cat conftest.$ac_ext >&5
8592 eval "ac_cv_func_
$ac_func=no
"
8597 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8598 echo "$ac_t""yes" 1>&6
8599 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8600 cat >> confdefs.h <<EOF
8601 #define $ac_tr_func 1
8605 echo "$ac_t""no
" 1>&6
8611 echo $ac_n "checking
for _fabsf declaration
""...
$ac_c" 1>&6
8612 echo "configure
:8613: checking
for _fabsf declaration
" >&5
8613 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
8614 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
8615 echo $ac_n "(cached
) $ac_c" 1>&6
8620 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8621 ac_cpp='$CXXCPP $CPPFLAGS'
8622 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8623 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8624 cross_compiling=$ac_cv_prog_cxx_cross
8626 cat > conftest.$ac_ext <<EOF
8627 #line 8628 "configure
"
8628 #include "confdefs.h
"
8630 #ifdef HAVE_IEEEFP_H
8638 if { (eval echo configure:8639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8640 glibcpp_cv_func__fabsf_use=yes
8642 echo "configure
: failed program was
:" >&5
8643 cat conftest.$ac_ext >&5
8645 glibcpp_cv_func__fabsf_use=no
8649 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8650 ac_cpp='$CPP $CPPFLAGS'
8651 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8652 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8653 cross_compiling=$ac_cv_prog_cc_cross
8659 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
8661 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
8662 for ac_func in _fabsf
8664 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8665 echo "configure
:8666: checking
for $ac_func" >&5
8666 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8667 echo $ac_n "(cached
) $ac_c" 1>&6
8669 cat > conftest.$ac_ext <<EOF
8670 #line 8671 "configure
"
8671 #include "confdefs.h
"
8672 /* System header to define __stub macros and hopefully few prototypes,
8673 which can conflict with char $ac_func(); below. */
8675 /* Override any gcc2 internal prototype to avoid an error. */
8676 /* We use char because int might match the return type of a gcc2
8677 builtin and then its argument prototype would still apply. */
8682 /* The GNU C library defines this for functions which it implements
8683 to always fail with ENOSYS. Some functions are actually named
8684 something starting with __ and the normal name is an alias. */
8685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8693 if { (eval echo configure:8694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8695 eval "ac_cv_func_
$ac_func=yes"
8697 echo "configure
: failed program was
:" >&5
8698 cat conftest.$ac_ext >&5
8700 eval "ac_cv_func_
$ac_func=no
"
8705 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8706 echo "$ac_t""yes" 1>&6
8707 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8708 cat >> confdefs.h <<EOF
8709 #define $ac_tr_func 1
8713 echo "$ac_t""no
" 1>&6
8722 echo $ac_n "checking
for fmodf declaration
""...
$ac_c" 1>&6
8723 echo "configure
:8724: checking
for fmodf declaration
" >&5
8724 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
8725 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
8726 echo $ac_n "(cached
) $ac_c" 1>&6
8731 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8732 ac_cpp='$CXXCPP $CPPFLAGS'
8733 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8734 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8735 cross_compiling=$ac_cv_prog_cxx_cross
8737 cat > conftest.$ac_ext <<EOF
8738 #line 8739 "configure
"
8739 #include "confdefs.h
"
8745 if { (eval echo configure:8746: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8747 glibcpp_cv_func_fmodf_use=yes
8749 echo "configure
: failed program was
:" >&5
8750 cat conftest.$ac_ext >&5
8752 glibcpp_cv_func_fmodf_use=no
8756 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8757 ac_cpp='$CPP $CPPFLAGS'
8758 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8759 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8760 cross_compiling=$ac_cv_prog_cc_cross
8766 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
8768 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
8769 for ac_func in fmodf
8771 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8772 echo "configure
:8773: checking
for $ac_func" >&5
8773 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8774 echo $ac_n "(cached
) $ac_c" 1>&6
8776 cat > conftest.$ac_ext <<EOF
8777 #line 8778 "configure
"
8778 #include "confdefs.h
"
8779 /* System header to define __stub macros and hopefully few prototypes,
8780 which can conflict with char $ac_func(); below. */
8782 /* Override any gcc2 internal prototype to avoid an error. */
8783 /* We use char because int might match the return type of a gcc2
8784 builtin and then its argument prototype would still apply. */
8789 /* The GNU C library defines this for functions which it implements
8790 to always fail with ENOSYS. Some functions are actually named
8791 something starting with __ and the normal name is an alias. */
8792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8800 if { (eval echo configure:8801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8802 eval "ac_cv_func_
$ac_func=yes"
8804 echo "configure
: failed program was
:" >&5
8805 cat conftest.$ac_ext >&5
8807 eval "ac_cv_func_
$ac_func=no
"
8812 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8813 echo "$ac_t""yes" 1>&6
8814 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8815 cat >> confdefs.h <<EOF
8816 #define $ac_tr_func 1
8820 echo "$ac_t""no
" 1>&6
8826 echo $ac_n "checking
for _fmodf declaration
""...
$ac_c" 1>&6
8827 echo "configure
:8828: checking
for _fmodf declaration
" >&5
8828 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
8829 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
8830 echo $ac_n "(cached
) $ac_c" 1>&6
8835 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8836 ac_cpp='$CXXCPP $CPPFLAGS'
8837 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8838 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8839 cross_compiling=$ac_cv_prog_cxx_cross
8841 cat > conftest.$ac_ext <<EOF
8842 #line 8843 "configure
"
8843 #include "confdefs.h
"
8849 if { (eval echo configure:8850: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8851 glibcpp_cv_func__fmodf_use=yes
8853 echo "configure
: failed program was
:" >&5
8854 cat conftest.$ac_ext >&5
8856 glibcpp_cv_func__fmodf_use=no
8860 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8861 ac_cpp='$CPP $CPPFLAGS'
8862 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8863 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8864 cross_compiling=$ac_cv_prog_cc_cross
8870 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
8872 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
8873 for ac_func in _fmodf
8875 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8876 echo "configure
:8877: checking
for $ac_func" >&5
8877 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8878 echo $ac_n "(cached
) $ac_c" 1>&6
8880 cat > conftest.$ac_ext <<EOF
8881 #line 8882 "configure
"
8882 #include "confdefs.h
"
8883 /* System header to define __stub macros and hopefully few prototypes,
8884 which can conflict with char $ac_func(); below. */
8886 /* Override any gcc2 internal prototype to avoid an error. */
8887 /* We use char because int might match the return type of a gcc2
8888 builtin and then its argument prototype would still apply. */
8893 /* The GNU C library defines this for functions which it implements
8894 to always fail with ENOSYS. Some functions are actually named
8895 something starting with __ and the normal name is an alias. */
8896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8904 if { (eval echo configure:8905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8906 eval "ac_cv_func_
$ac_func=yes"
8908 echo "configure
: failed program was
:" >&5
8909 cat conftest.$ac_ext >&5
8911 eval "ac_cv_func_
$ac_func=no
"
8916 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8917 echo "$ac_t""yes" 1>&6
8918 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8919 cat >> confdefs.h <<EOF
8920 #define $ac_tr_func 1
8924 echo "$ac_t""no
" 1>&6
8933 echo $ac_n "checking
for frexpf declaration
""...
$ac_c" 1>&6
8934 echo "configure
:8935: checking
for frexpf declaration
" >&5
8935 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
8936 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
8937 echo $ac_n "(cached
) $ac_c" 1>&6
8942 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8943 ac_cpp='$CXXCPP $CPPFLAGS'
8944 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8945 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8946 cross_compiling=$ac_cv_prog_cxx_cross
8948 cat > conftest.$ac_ext <<EOF
8949 #line 8950 "configure
"
8950 #include "confdefs.h
"
8956 if { (eval echo configure:8957: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8958 glibcpp_cv_func_frexpf_use=yes
8960 echo "configure
: failed program was
:" >&5
8961 cat conftest.$ac_ext >&5
8963 glibcpp_cv_func_frexpf_use=no
8967 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8968 ac_cpp='$CPP $CPPFLAGS'
8969 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8970 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8971 cross_compiling=$ac_cv_prog_cc_cross
8977 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
8979 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
8980 for ac_func in frexpf
8982 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8983 echo "configure
:8984: checking
for $ac_func" >&5
8984 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8985 echo $ac_n "(cached
) $ac_c" 1>&6
8987 cat > conftest.$ac_ext <<EOF
8988 #line 8989 "configure
"
8989 #include "confdefs.h
"
8990 /* System header to define __stub macros and hopefully few prototypes,
8991 which can conflict with char $ac_func(); below. */
8993 /* Override any gcc2 internal prototype to avoid an error. */
8994 /* We use char because int might match the return type of a gcc2
8995 builtin and then its argument prototype would still apply. */
9000 /* The GNU C library defines this for functions which it implements
9001 to always fail with ENOSYS. Some functions are actually named
9002 something starting with __ and the normal name is an alias. */
9003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9011 if { (eval echo configure:9012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9013 eval "ac_cv_func_
$ac_func=yes"
9015 echo "configure
: failed program was
:" >&5
9016 cat conftest.$ac_ext >&5
9018 eval "ac_cv_func_
$ac_func=no
"
9023 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9024 echo "$ac_t""yes" 1>&6
9025 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9026 cat >> confdefs.h <<EOF
9027 #define $ac_tr_func 1
9031 echo "$ac_t""no
" 1>&6
9037 echo $ac_n "checking
for _frexpf declaration
""...
$ac_c" 1>&6
9038 echo "configure
:9039: checking
for _frexpf declaration
" >&5
9039 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
9040 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
9041 echo $ac_n "(cached
) $ac_c" 1>&6
9046 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9047 ac_cpp='$CXXCPP $CPPFLAGS'
9048 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9049 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9050 cross_compiling=$ac_cv_prog_cxx_cross
9052 cat > conftest.$ac_ext <<EOF
9053 #line 9054 "configure
"
9054 #include "confdefs.h
"
9060 if { (eval echo configure:9061: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9062 glibcpp_cv_func__frexpf_use=yes
9064 echo "configure
: failed program was
:" >&5
9065 cat conftest.$ac_ext >&5
9067 glibcpp_cv_func__frexpf_use=no
9071 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9072 ac_cpp='$CPP $CPPFLAGS'
9073 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9074 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9075 cross_compiling=$ac_cv_prog_cc_cross
9081 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
9083 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
9084 for ac_func in _frexpf
9086 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9087 echo "configure
:9088: checking
for $ac_func" >&5
9088 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9089 echo $ac_n "(cached
) $ac_c" 1>&6
9091 cat > conftest.$ac_ext <<EOF
9092 #line 9093 "configure
"
9093 #include "confdefs.h
"
9094 /* System header to define __stub macros and hopefully few prototypes,
9095 which can conflict with char $ac_func(); below. */
9097 /* Override any gcc2 internal prototype to avoid an error. */
9098 /* We use char because int might match the return type of a gcc2
9099 builtin and then its argument prototype would still apply. */
9104 /* The GNU C library defines this for functions which it implements
9105 to always fail with ENOSYS. Some functions are actually named
9106 something starting with __ and the normal name is an alias. */
9107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9115 if { (eval echo configure:9116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9117 eval "ac_cv_func_
$ac_func=yes"
9119 echo "configure
: failed program was
:" >&5
9120 cat conftest.$ac_ext >&5
9122 eval "ac_cv_func_
$ac_func=no
"
9127 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9128 echo "$ac_t""yes" 1>&6
9129 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9130 cat >> confdefs.h <<EOF
9131 #define $ac_tr_func 1
9135 echo "$ac_t""no
" 1>&6
9144 echo $ac_n "checking
for ldexpf declaration
""...
$ac_c" 1>&6
9145 echo "configure
:9146: checking
for ldexpf declaration
" >&5
9146 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
9147 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
9148 echo $ac_n "(cached
) $ac_c" 1>&6
9153 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9154 ac_cpp='$CXXCPP $CPPFLAGS'
9155 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9156 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9157 cross_compiling=$ac_cv_prog_cxx_cross
9159 cat > conftest.$ac_ext <<EOF
9160 #line 9161 "configure
"
9161 #include "confdefs.h
"
9167 if { (eval echo configure:9168: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9169 glibcpp_cv_func_ldexpf_use=yes
9171 echo "configure
: failed program was
:" >&5
9172 cat conftest.$ac_ext >&5
9174 glibcpp_cv_func_ldexpf_use=no
9178 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9179 ac_cpp='$CPP $CPPFLAGS'
9180 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9181 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9182 cross_compiling=$ac_cv_prog_cc_cross
9188 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
9190 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
9191 for ac_func in ldexpf
9193 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9194 echo "configure
:9195: checking
for $ac_func" >&5
9195 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9196 echo $ac_n "(cached
) $ac_c" 1>&6
9198 cat > conftest.$ac_ext <<EOF
9199 #line 9200 "configure
"
9200 #include "confdefs.h
"
9201 /* System header to define __stub macros and hopefully few prototypes,
9202 which can conflict with char $ac_func(); below. */
9204 /* Override any gcc2 internal prototype to avoid an error. */
9205 /* We use char because int might match the return type of a gcc2
9206 builtin and then its argument prototype would still apply. */
9211 /* The GNU C library defines this for functions which it implements
9212 to always fail with ENOSYS. Some functions are actually named
9213 something starting with __ and the normal name is an alias. */
9214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9222 if { (eval echo configure:9223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9224 eval "ac_cv_func_
$ac_func=yes"
9226 echo "configure
: failed program was
:" >&5
9227 cat conftest.$ac_ext >&5
9229 eval "ac_cv_func_
$ac_func=no
"
9234 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9235 echo "$ac_t""yes" 1>&6
9236 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9237 cat >> confdefs.h <<EOF
9238 #define $ac_tr_func 1
9242 echo "$ac_t""no
" 1>&6
9248 echo $ac_n "checking
for _ldexpf declaration
""...
$ac_c" 1>&6
9249 echo "configure
:9250: checking
for _ldexpf declaration
" >&5
9250 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
9251 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
9252 echo $ac_n "(cached
) $ac_c" 1>&6
9257 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9258 ac_cpp='$CXXCPP $CPPFLAGS'
9259 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9260 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9261 cross_compiling=$ac_cv_prog_cxx_cross
9263 cat > conftest.$ac_ext <<EOF
9264 #line 9265 "configure
"
9265 #include "confdefs.h
"
9271 if { (eval echo configure:9272: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9273 glibcpp_cv_func__ldexpf_use=yes
9275 echo "configure
: failed program was
:" >&5
9276 cat conftest.$ac_ext >&5
9278 glibcpp_cv_func__ldexpf_use=no
9282 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9283 ac_cpp='$CPP $CPPFLAGS'
9284 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9285 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9286 cross_compiling=$ac_cv_prog_cc_cross
9292 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
9294 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
9295 for ac_func in _ldexpf
9297 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9298 echo "configure
:9299: checking
for $ac_func" >&5
9299 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9300 echo $ac_n "(cached
) $ac_c" 1>&6
9302 cat > conftest.$ac_ext <<EOF
9303 #line 9304 "configure
"
9304 #include "confdefs.h
"
9305 /* System header to define __stub macros and hopefully few prototypes,
9306 which can conflict with char $ac_func(); below. */
9308 /* Override any gcc2 internal prototype to avoid an error. */
9309 /* We use char because int might match the return type of a gcc2
9310 builtin and then its argument prototype would still apply. */
9315 /* The GNU C library defines this for functions which it implements
9316 to always fail with ENOSYS. Some functions are actually named
9317 something starting with __ and the normal name is an alias. */
9318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9326 if { (eval echo configure:9327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9328 eval "ac_cv_func_
$ac_func=yes"
9330 echo "configure
: failed program was
:" >&5
9331 cat conftest.$ac_ext >&5
9333 eval "ac_cv_func_
$ac_func=no
"
9338 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9339 echo "$ac_t""yes" 1>&6
9340 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9341 cat >> confdefs.h <<EOF
9342 #define $ac_tr_func 1
9346 echo "$ac_t""no
" 1>&6
9355 echo $ac_n "checking
for logf declaration
""...
$ac_c" 1>&6
9356 echo "configure
:9357: checking
for logf declaration
" >&5
9357 if test x${glibcpp_cv_func_logf_use+set} != xset; then
9358 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
9359 echo $ac_n "(cached
) $ac_c" 1>&6
9364 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9365 ac_cpp='$CXXCPP $CPPFLAGS'
9366 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9367 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9368 cross_compiling=$ac_cv_prog_cxx_cross
9370 cat > conftest.$ac_ext <<EOF
9371 #line 9372 "configure
"
9372 #include "confdefs.h
"
9374 #ifdef HAVE_IEEEFP_H
9382 if { (eval echo configure:9383: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9384 glibcpp_cv_func_logf_use=yes
9386 echo "configure
: failed program was
:" >&5
9387 cat conftest.$ac_ext >&5
9389 glibcpp_cv_func_logf_use=no
9393 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9394 ac_cpp='$CPP $CPPFLAGS'
9395 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9396 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9397 cross_compiling=$ac_cv_prog_cc_cross
9403 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
9405 if test x$glibcpp_cv_func_logf_use = x"yes"; then
9408 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9409 echo "configure
:9410: checking
for $ac_func" >&5
9410 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9411 echo $ac_n "(cached
) $ac_c" 1>&6
9413 cat > conftest.$ac_ext <<EOF
9414 #line 9415 "configure
"
9415 #include "confdefs.h
"
9416 /* System header to define __stub macros and hopefully few prototypes,
9417 which can conflict with char $ac_func(); below. */
9419 /* Override any gcc2 internal prototype to avoid an error. */
9420 /* We use char because int might match the return type of a gcc2
9421 builtin and then its argument prototype would still apply. */
9426 /* The GNU C library defines this for functions which it implements
9427 to always fail with ENOSYS. Some functions are actually named
9428 something starting with __ and the normal name is an alias. */
9429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9437 if { (eval echo configure:9438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9439 eval "ac_cv_func_
$ac_func=yes"
9441 echo "configure
: failed program was
:" >&5
9442 cat conftest.$ac_ext >&5
9444 eval "ac_cv_func_
$ac_func=no
"
9449 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9450 echo "$ac_t""yes" 1>&6
9451 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9452 cat >> confdefs.h <<EOF
9453 #define $ac_tr_func 1
9457 echo "$ac_t""no
" 1>&6
9463 echo $ac_n "checking
for _logf declaration
""...
$ac_c" 1>&6
9464 echo "configure
:9465: checking
for _logf declaration
" >&5
9465 if test x${glibcpp_cv_func__logf_use+set} != xset; then
9466 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
9467 echo $ac_n "(cached
) $ac_c" 1>&6
9472 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9473 ac_cpp='$CXXCPP $CPPFLAGS'
9474 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9475 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9476 cross_compiling=$ac_cv_prog_cxx_cross
9478 cat > conftest.$ac_ext <<EOF
9479 #line 9480 "configure
"
9480 #include "confdefs.h
"
9482 #ifdef HAVE_IEEEFP_H
9490 if { (eval echo configure:9491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9492 glibcpp_cv_func__logf_use=yes
9494 echo "configure
: failed program was
:" >&5
9495 cat conftest.$ac_ext >&5
9497 glibcpp_cv_func__logf_use=no
9501 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9502 ac_cpp='$CPP $CPPFLAGS'
9503 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9504 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9505 cross_compiling=$ac_cv_prog_cc_cross
9511 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
9513 if test x$glibcpp_cv_func__logf_use = x"yes"; then
9514 for ac_func in _logf
9516 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9517 echo "configure
:9518: checking
for $ac_func" >&5
9518 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9519 echo $ac_n "(cached
) $ac_c" 1>&6
9521 cat > conftest.$ac_ext <<EOF
9522 #line 9523 "configure
"
9523 #include "confdefs.h
"
9524 /* System header to define __stub macros and hopefully few prototypes,
9525 which can conflict with char $ac_func(); below. */
9527 /* Override any gcc2 internal prototype to avoid an error. */
9528 /* We use char because int might match the return type of a gcc2
9529 builtin and then its argument prototype would still apply. */
9534 /* The GNU C library defines this for functions which it implements
9535 to always fail with ENOSYS. Some functions are actually named
9536 something starting with __ and the normal name is an alias. */
9537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9545 if { (eval echo configure:9546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9547 eval "ac_cv_func_
$ac_func=yes"
9549 echo "configure
: failed program was
:" >&5
9550 cat conftest.$ac_ext >&5
9552 eval "ac_cv_func_
$ac_func=no
"
9557 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9558 echo "$ac_t""yes" 1>&6
9559 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9560 cat >> confdefs.h <<EOF
9561 #define $ac_tr_func 1
9565 echo "$ac_t""no
" 1>&6
9574 echo $ac_n "checking
for log10f declaration
""...
$ac_c" 1>&6
9575 echo "configure
:9576: checking
for log10f declaration
" >&5
9576 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
9577 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
9578 echo $ac_n "(cached
) $ac_c" 1>&6
9583 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9584 ac_cpp='$CXXCPP $CPPFLAGS'
9585 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9586 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9587 cross_compiling=$ac_cv_prog_cxx_cross
9589 cat > conftest.$ac_ext <<EOF
9590 #line 9591 "configure
"
9591 #include "confdefs.h
"
9593 #ifdef HAVE_IEEEFP_H
9601 if { (eval echo configure:9602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9603 glibcpp_cv_func_log10f_use=yes
9605 echo "configure
: failed program was
:" >&5
9606 cat conftest.$ac_ext >&5
9608 glibcpp_cv_func_log10f_use=no
9612 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9613 ac_cpp='$CPP $CPPFLAGS'
9614 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9615 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9616 cross_compiling=$ac_cv_prog_cc_cross
9622 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
9624 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
9625 for ac_func in log10f
9627 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9628 echo "configure
:9629: checking
for $ac_func" >&5
9629 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9630 echo $ac_n "(cached
) $ac_c" 1>&6
9632 cat > conftest.$ac_ext <<EOF
9633 #line 9634 "configure
"
9634 #include "confdefs.h
"
9635 /* System header to define __stub macros and hopefully few prototypes,
9636 which can conflict with char $ac_func(); below. */
9638 /* Override any gcc2 internal prototype to avoid an error. */
9639 /* We use char because int might match the return type of a gcc2
9640 builtin and then its argument prototype would still apply. */
9645 /* The GNU C library defines this for functions which it implements
9646 to always fail with ENOSYS. Some functions are actually named
9647 something starting with __ and the normal name is an alias. */
9648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9656 if { (eval echo configure:9657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9658 eval "ac_cv_func_
$ac_func=yes"
9660 echo "configure
: failed program was
:" >&5
9661 cat conftest.$ac_ext >&5
9663 eval "ac_cv_func_
$ac_func=no
"
9668 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9669 echo "$ac_t""yes" 1>&6
9670 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9671 cat >> confdefs.h <<EOF
9672 #define $ac_tr_func 1
9676 echo "$ac_t""no
" 1>&6
9682 echo $ac_n "checking
for _log10f declaration
""...
$ac_c" 1>&6
9683 echo "configure
:9684: checking
for _log10f declaration
" >&5
9684 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
9685 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
9686 echo $ac_n "(cached
) $ac_c" 1>&6
9691 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9692 ac_cpp='$CXXCPP $CPPFLAGS'
9693 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9694 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9695 cross_compiling=$ac_cv_prog_cxx_cross
9697 cat > conftest.$ac_ext <<EOF
9698 #line 9699 "configure
"
9699 #include "confdefs.h
"
9701 #ifdef HAVE_IEEEFP_H
9709 if { (eval echo configure:9710: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9711 glibcpp_cv_func__log10f_use=yes
9713 echo "configure
: failed program was
:" >&5
9714 cat conftest.$ac_ext >&5
9716 glibcpp_cv_func__log10f_use=no
9720 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9721 ac_cpp='$CPP $CPPFLAGS'
9722 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9723 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9724 cross_compiling=$ac_cv_prog_cc_cross
9730 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
9732 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
9733 for ac_func in _log10f
9735 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9736 echo "configure
:9737: checking
for $ac_func" >&5
9737 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9738 echo $ac_n "(cached
) $ac_c" 1>&6
9740 cat > conftest.$ac_ext <<EOF
9741 #line 9742 "configure
"
9742 #include "confdefs.h
"
9743 /* System header to define __stub macros and hopefully few prototypes,
9744 which can conflict with char $ac_func(); below. */
9746 /* Override any gcc2 internal prototype to avoid an error. */
9747 /* We use char because int might match the return type of a gcc2
9748 builtin and then its argument prototype would still apply. */
9753 /* The GNU C library defines this for functions which it implements
9754 to always fail with ENOSYS. Some functions are actually named
9755 something starting with __ and the normal name is an alias. */
9756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9764 if { (eval echo configure:9765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9766 eval "ac_cv_func_
$ac_func=yes"
9768 echo "configure
: failed program was
:" >&5
9769 cat conftest.$ac_ext >&5
9771 eval "ac_cv_func_
$ac_func=no
"
9776 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9777 echo "$ac_t""yes" 1>&6
9778 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9779 cat >> confdefs.h <<EOF
9780 #define $ac_tr_func 1
9784 echo "$ac_t""no
" 1>&6
9793 echo $ac_n "checking
for modff declaration
""...
$ac_c" 1>&6
9794 echo "configure
:9795: checking
for modff declaration
" >&5
9795 if test x${glibcpp_cv_func_modff_use+set} != xset; then
9796 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
9797 echo $ac_n "(cached
) $ac_c" 1>&6
9802 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9803 ac_cpp='$CXXCPP $CPPFLAGS'
9804 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9805 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9806 cross_compiling=$ac_cv_prog_cxx_cross
9808 cat > conftest.$ac_ext <<EOF
9809 #line 9810 "configure
"
9810 #include "confdefs.h
"
9816 if { (eval echo configure:9817: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9818 glibcpp_cv_func_modff_use=yes
9820 echo "configure
: failed program was
:" >&5
9821 cat conftest.$ac_ext >&5
9823 glibcpp_cv_func_modff_use=no
9827 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9828 ac_cpp='$CPP $CPPFLAGS'
9829 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9830 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9831 cross_compiling=$ac_cv_prog_cc_cross
9837 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
9839 if test x$glibcpp_cv_func_modff_use = x"yes"; then
9840 for ac_func in modff
9842 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9843 echo "configure
:9844: checking
for $ac_func" >&5
9844 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9845 echo $ac_n "(cached
) $ac_c" 1>&6
9847 cat > conftest.$ac_ext <<EOF
9848 #line 9849 "configure
"
9849 #include "confdefs.h
"
9850 /* System header to define __stub macros and hopefully few prototypes,
9851 which can conflict with char $ac_func(); below. */
9853 /* Override any gcc2 internal prototype to avoid an error. */
9854 /* We use char because int might match the return type of a gcc2
9855 builtin and then its argument prototype would still apply. */
9860 /* The GNU C library defines this for functions which it implements
9861 to always fail with ENOSYS. Some functions are actually named
9862 something starting with __ and the normal name is an alias. */
9863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9871 if { (eval echo configure:9872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9873 eval "ac_cv_func_
$ac_func=yes"
9875 echo "configure
: failed program was
:" >&5
9876 cat conftest.$ac_ext >&5
9878 eval "ac_cv_func_
$ac_func=no
"
9883 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9884 echo "$ac_t""yes" 1>&6
9885 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9886 cat >> confdefs.h <<EOF
9887 #define $ac_tr_func 1
9891 echo "$ac_t""no
" 1>&6
9897 echo $ac_n "checking
for _modff declaration
""...
$ac_c" 1>&6
9898 echo "configure
:9899: checking
for _modff declaration
" >&5
9899 if test x${glibcpp_cv_func__modff_use+set} != xset; then
9900 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
9901 echo $ac_n "(cached
) $ac_c" 1>&6
9906 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9907 ac_cpp='$CXXCPP $CPPFLAGS'
9908 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9909 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9910 cross_compiling=$ac_cv_prog_cxx_cross
9912 cat > conftest.$ac_ext <<EOF
9913 #line 9914 "configure
"
9914 #include "confdefs.h
"
9920 if { (eval echo configure:9921: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9922 glibcpp_cv_func__modff_use=yes
9924 echo "configure
: failed program was
:" >&5
9925 cat conftest.$ac_ext >&5
9927 glibcpp_cv_func__modff_use=no
9931 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9932 ac_cpp='$CPP $CPPFLAGS'
9933 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9934 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9935 cross_compiling=$ac_cv_prog_cc_cross
9941 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
9943 if test x$glibcpp_cv_func__modff_use = x"yes"; then
9944 for ac_func in _modff
9946 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9947 echo "configure
:9948: checking
for $ac_func" >&5
9948 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9949 echo $ac_n "(cached
) $ac_c" 1>&6
9951 cat > conftest.$ac_ext <<EOF
9952 #line 9953 "configure
"
9953 #include "confdefs.h
"
9954 /* System header to define __stub macros and hopefully few prototypes,
9955 which can conflict with char $ac_func(); below. */
9957 /* Override any gcc2 internal prototype to avoid an error. */
9958 /* We use char because int might match the return type of a gcc2
9959 builtin and then its argument prototype would still apply. */
9964 /* The GNU C library defines this for functions which it implements
9965 to always fail with ENOSYS. Some functions are actually named
9966 something starting with __ and the normal name is an alias. */
9967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9975 if { (eval echo configure:9976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9977 eval "ac_cv_func_
$ac_func=yes"
9979 echo "configure
: failed program was
:" >&5
9980 cat conftest.$ac_ext >&5
9982 eval "ac_cv_func_
$ac_func=no
"
9987 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9988 echo "$ac_t""yes" 1>&6
9989 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9990 cat >> confdefs.h <<EOF
9991 #define $ac_tr_func 1
9995 echo "$ac_t""no
" 1>&6
10004 echo $ac_n "checking
for powf declaration
""...
$ac_c" 1>&6
10005 echo "configure
:10006: checking
for powf declaration
" >&5
10006 if test x${glibcpp_cv_func_powf_use+set} != xset; then
10007 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
10008 echo $ac_n "(cached
) $ac_c" 1>&6
10013 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10014 ac_cpp='$CXXCPP $CPPFLAGS'
10015 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10016 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10017 cross_compiling=$ac_cv_prog_cxx_cross
10019 cat > conftest.$ac_ext <<EOF
10020 #line 10021 "configure
"
10021 #include "confdefs.h
"
10027 if { (eval echo configure:10028: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10029 glibcpp_cv_func_powf_use=yes
10031 echo "configure
: failed program was
:" >&5
10032 cat conftest.$ac_ext >&5
10034 glibcpp_cv_func_powf_use=no
10038 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10039 ac_cpp='$CPP $CPPFLAGS'
10040 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10041 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10042 cross_compiling=$ac_cv_prog_cc_cross
10048 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
10050 if test x$glibcpp_cv_func_powf_use = x"yes"; then
10051 for ac_func in powf
10053 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10054 echo "configure
:10055: checking
for $ac_func" >&5
10055 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10056 echo $ac_n "(cached
) $ac_c" 1>&6
10058 cat > conftest.$ac_ext <<EOF
10059 #line 10060 "configure
"
10060 #include "confdefs.h
"
10061 /* System header to define __stub macros and hopefully few prototypes,
10062 which can conflict with char $ac_func(); below. */
10063 #include <assert.h>
10064 /* Override any gcc2 internal prototype to avoid an error. */
10065 /* We use char because int might match the return type of a gcc2
10066 builtin and then its argument prototype would still apply. */
10071 /* The GNU C library defines this for functions which it implements
10072 to always fail with ENOSYS. Some functions are actually named
10073 something starting with __ and the normal name is an alias. */
10074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10082 if { (eval echo configure:10083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10084 eval "ac_cv_func_
$ac_func=yes"
10086 echo "configure
: failed program was
:" >&5
10087 cat conftest.$ac_ext >&5
10089 eval "ac_cv_func_
$ac_func=no
"
10094 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10095 echo "$ac_t""yes" 1>&6
10096 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10097 cat >> confdefs.h <<EOF
10098 #define $ac_tr_func 1
10102 echo "$ac_t""no
" 1>&6
10108 echo $ac_n "checking
for _powf declaration
""...
$ac_c" 1>&6
10109 echo "configure
:10110: checking
for _powf declaration
" >&5
10110 if test x${glibcpp_cv_func__powf_use+set} != xset; then
10111 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
10112 echo $ac_n "(cached
) $ac_c" 1>&6
10117 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10118 ac_cpp='$CXXCPP $CPPFLAGS'
10119 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10120 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10121 cross_compiling=$ac_cv_prog_cxx_cross
10123 cat > conftest.$ac_ext <<EOF
10124 #line 10125 "configure
"
10125 #include "confdefs.h
"
10131 if { (eval echo configure:10132: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10133 glibcpp_cv_func__powf_use=yes
10135 echo "configure
: failed program was
:" >&5
10136 cat conftest.$ac_ext >&5
10138 glibcpp_cv_func__powf_use=no
10142 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10143 ac_cpp='$CPP $CPPFLAGS'
10144 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10145 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10146 cross_compiling=$ac_cv_prog_cc_cross
10152 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
10154 if test x$glibcpp_cv_func__powf_use = x"yes"; then
10155 for ac_func in _powf
10157 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10158 echo "configure
:10159: checking
for $ac_func" >&5
10159 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10160 echo $ac_n "(cached
) $ac_c" 1>&6
10162 cat > conftest.$ac_ext <<EOF
10163 #line 10164 "configure
"
10164 #include "confdefs.h
"
10165 /* System header to define __stub macros and hopefully few prototypes,
10166 which can conflict with char $ac_func(); below. */
10167 #include <assert.h>
10168 /* Override any gcc2 internal prototype to avoid an error. */
10169 /* We use char because int might match the return type of a gcc2
10170 builtin and then its argument prototype would still apply. */
10175 /* The GNU C library defines this for functions which it implements
10176 to always fail with ENOSYS. Some functions are actually named
10177 something starting with __ and the normal name is an alias. */
10178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10186 if { (eval echo configure:10187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10188 eval "ac_cv_func_
$ac_func=yes"
10190 echo "configure
: failed program was
:" >&5
10191 cat conftest.$ac_ext >&5
10193 eval "ac_cv_func_
$ac_func=no
"
10198 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10199 echo "$ac_t""yes" 1>&6
10200 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10201 cat >> confdefs.h <<EOF
10202 #define $ac_tr_func 1
10206 echo "$ac_t""no
" 1>&6
10215 echo $ac_n "checking
for sqrtf declaration
""...
$ac_c" 1>&6
10216 echo "configure
:10217: checking
for sqrtf declaration
" >&5
10217 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
10218 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
10219 echo $ac_n "(cached
) $ac_c" 1>&6
10224 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10225 ac_cpp='$CXXCPP $CPPFLAGS'
10226 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10227 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10228 cross_compiling=$ac_cv_prog_cxx_cross
10230 cat > conftest.$ac_ext <<EOF
10231 #line 10232 "configure
"
10232 #include "confdefs.h
"
10234 #ifdef HAVE_IEEEFP_H
10235 #include <ieeefp.h>
10242 if { (eval echo configure:10243: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10244 glibcpp_cv_func_sqrtf_use=yes
10246 echo "configure
: failed program was
:" >&5
10247 cat conftest.$ac_ext >&5
10249 glibcpp_cv_func_sqrtf_use=no
10253 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10254 ac_cpp='$CPP $CPPFLAGS'
10255 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10256 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10257 cross_compiling=$ac_cv_prog_cc_cross
10263 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
10265 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
10266 for ac_func in sqrtf
10268 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10269 echo "configure
:10270: checking
for $ac_func" >&5
10270 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10271 echo $ac_n "(cached
) $ac_c" 1>&6
10273 cat > conftest.$ac_ext <<EOF
10274 #line 10275 "configure
"
10275 #include "confdefs.h
"
10276 /* System header to define __stub macros and hopefully few prototypes,
10277 which can conflict with char $ac_func(); below. */
10278 #include <assert.h>
10279 /* Override any gcc2 internal prototype to avoid an error. */
10280 /* We use char because int might match the return type of a gcc2
10281 builtin and then its argument prototype would still apply. */
10286 /* The GNU C library defines this for functions which it implements
10287 to always fail with ENOSYS. Some functions are actually named
10288 something starting with __ and the normal name is an alias. */
10289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10297 if { (eval echo configure:10298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10299 eval "ac_cv_func_
$ac_func=yes"
10301 echo "configure
: failed program was
:" >&5
10302 cat conftest.$ac_ext >&5
10304 eval "ac_cv_func_
$ac_func=no
"
10309 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10310 echo "$ac_t""yes" 1>&6
10311 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10312 cat >> confdefs.h <<EOF
10313 #define $ac_tr_func 1
10317 echo "$ac_t""no
" 1>&6
10323 echo $ac_n "checking
for _sqrtf declaration
""...
$ac_c" 1>&6
10324 echo "configure
:10325: checking
for _sqrtf declaration
" >&5
10325 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
10326 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
10327 echo $ac_n "(cached
) $ac_c" 1>&6
10332 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10333 ac_cpp='$CXXCPP $CPPFLAGS'
10334 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10335 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10336 cross_compiling=$ac_cv_prog_cxx_cross
10338 cat > conftest.$ac_ext <<EOF
10339 #line 10340 "configure
"
10340 #include "confdefs.h
"
10342 #ifdef HAVE_IEEEFP_H
10343 #include <ieeefp.h>
10350 if { (eval echo configure:10351: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10352 glibcpp_cv_func__sqrtf_use=yes
10354 echo "configure
: failed program was
:" >&5
10355 cat conftest.$ac_ext >&5
10357 glibcpp_cv_func__sqrtf_use=no
10361 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10362 ac_cpp='$CPP $CPPFLAGS'
10363 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10364 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10365 cross_compiling=$ac_cv_prog_cc_cross
10371 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
10373 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
10374 for ac_func in _sqrtf
10376 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10377 echo "configure
:10378: checking
for $ac_func" >&5
10378 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10379 echo $ac_n "(cached
) $ac_c" 1>&6
10381 cat > conftest.$ac_ext <<EOF
10382 #line 10383 "configure
"
10383 #include "confdefs.h
"
10384 /* System header to define __stub macros and hopefully few prototypes,
10385 which can conflict with char $ac_func(); below. */
10386 #include <assert.h>
10387 /* Override any gcc2 internal prototype to avoid an error. */
10388 /* We use char because int might match the return type of a gcc2
10389 builtin and then its argument prototype would still apply. */
10394 /* The GNU C library defines this for functions which it implements
10395 to always fail with ENOSYS. Some functions are actually named
10396 something starting with __ and the normal name is an alias. */
10397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10405 if { (eval echo configure:10406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10407 eval "ac_cv_func_
$ac_func=yes"
10409 echo "configure
: failed program was
:" >&5
10410 cat conftest.$ac_ext >&5
10412 eval "ac_cv_func_
$ac_func=no
"
10417 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10418 echo "$ac_t""yes" 1>&6
10419 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10420 cat >> confdefs.h <<EOF
10421 #define $ac_tr_func 1
10425 echo "$ac_t""no
" 1>&6
10434 echo $ac_n "checking
for sincosf declaration
""...
$ac_c" 1>&6
10435 echo "configure
:10436: checking
for sincosf declaration
" >&5
10436 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
10437 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
10438 echo $ac_n "(cached
) $ac_c" 1>&6
10443 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10444 ac_cpp='$CXXCPP $CPPFLAGS'
10445 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10446 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10447 cross_compiling=$ac_cv_prog_cxx_cross
10449 cat > conftest.$ac_ext <<EOF
10450 #line 10451 "configure
"
10451 #include "confdefs.h
"
10457 if { (eval echo configure:10458: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10459 glibcpp_cv_func_sincosf_use=yes
10461 echo "configure
: failed program was
:" >&5
10462 cat conftest.$ac_ext >&5
10464 glibcpp_cv_func_sincosf_use=no
10468 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10469 ac_cpp='$CPP $CPPFLAGS'
10470 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10471 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10472 cross_compiling=$ac_cv_prog_cc_cross
10478 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
10480 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
10481 for ac_func in sincosf
10483 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10484 echo "configure
:10485: checking
for $ac_func" >&5
10485 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10486 echo $ac_n "(cached
) $ac_c" 1>&6
10488 cat > conftest.$ac_ext <<EOF
10489 #line 10490 "configure
"
10490 #include "confdefs.h
"
10491 /* System header to define __stub macros and hopefully few prototypes,
10492 which can conflict with char $ac_func(); below. */
10493 #include <assert.h>
10494 /* Override any gcc2 internal prototype to avoid an error. */
10495 /* We use char because int might match the return type of a gcc2
10496 builtin and then its argument prototype would still apply. */
10501 /* The GNU C library defines this for functions which it implements
10502 to always fail with ENOSYS. Some functions are actually named
10503 something starting with __ and the normal name is an alias. */
10504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10512 if { (eval echo configure:10513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10514 eval "ac_cv_func_
$ac_func=yes"
10516 echo "configure
: failed program was
:" >&5
10517 cat conftest.$ac_ext >&5
10519 eval "ac_cv_func_
$ac_func=no
"
10524 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10525 echo "$ac_t""yes" 1>&6
10526 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10527 cat >> confdefs.h <<EOF
10528 #define $ac_tr_func 1
10532 echo "$ac_t""no
" 1>&6
10538 echo $ac_n "checking
for _sincosf declaration
""...
$ac_c" 1>&6
10539 echo "configure
:10540: checking
for _sincosf declaration
" >&5
10540 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
10541 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
10542 echo $ac_n "(cached
) $ac_c" 1>&6
10547 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10548 ac_cpp='$CXXCPP $CPPFLAGS'
10549 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10550 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10551 cross_compiling=$ac_cv_prog_cxx_cross
10553 cat > conftest.$ac_ext <<EOF
10554 #line 10555 "configure
"
10555 #include "confdefs.h
"
10561 if { (eval echo configure:10562: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10563 glibcpp_cv_func__sincosf_use=yes
10565 echo "configure
: failed program was
:" >&5
10566 cat conftest.$ac_ext >&5
10568 glibcpp_cv_func__sincosf_use=no
10572 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10573 ac_cpp='$CPP $CPPFLAGS'
10574 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10575 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10576 cross_compiling=$ac_cv_prog_cc_cross
10582 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
10584 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
10585 for ac_func in _sincosf
10587 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10588 echo "configure
:10589: checking
for $ac_func" >&5
10589 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10590 echo $ac_n "(cached
) $ac_c" 1>&6
10592 cat > conftest.$ac_ext <<EOF
10593 #line 10594 "configure
"
10594 #include "confdefs.h
"
10595 /* System header to define __stub macros and hopefully few prototypes,
10596 which can conflict with char $ac_func(); below. */
10597 #include <assert.h>
10598 /* Override any gcc2 internal prototype to avoid an error. */
10599 /* We use char because int might match the return type of a gcc2
10600 builtin and then its argument prototype would still apply. */
10605 /* The GNU C library defines this for functions which it implements
10606 to always fail with ENOSYS. Some functions are actually named
10607 something starting with __ and the normal name is an alias. */
10608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10616 if { (eval echo configure:10617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10618 eval "ac_cv_func_
$ac_func=yes"
10620 echo "configure
: failed program was
:" >&5
10621 cat conftest.$ac_ext >&5
10623 eval "ac_cv_func_
$ac_func=no
"
10628 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10629 echo "$ac_t""yes" 1>&6
10630 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10631 cat >> confdefs.h <<EOF
10632 #define $ac_tr_func 1
10636 echo "$ac_t""no
" 1>&6
10645 echo $ac_n "checking
for finitef declaration
""...
$ac_c" 1>&6
10646 echo "configure
:10647: checking
for finitef declaration
" >&5
10647 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
10648 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
10649 echo $ac_n "(cached
) $ac_c" 1>&6
10654 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10655 ac_cpp='$CXXCPP $CPPFLAGS'
10656 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10657 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10658 cross_compiling=$ac_cv_prog_cxx_cross
10660 cat > conftest.$ac_ext <<EOF
10661 #line 10662 "configure
"
10662 #include "confdefs.h
"
10664 #ifdef HAVE_IEEEFP_H
10665 #include <ieeefp.h>
10672 if { (eval echo configure:10673: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10674 glibcpp_cv_func_finitef_use=yes
10676 echo "configure
: failed program was
:" >&5
10677 cat conftest.$ac_ext >&5
10679 glibcpp_cv_func_finitef_use=no
10683 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10684 ac_cpp='$CPP $CPPFLAGS'
10685 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10686 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10687 cross_compiling=$ac_cv_prog_cc_cross
10693 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
10695 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
10696 for ac_func in finitef
10698 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10699 echo "configure
:10700: checking
for $ac_func" >&5
10700 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10701 echo $ac_n "(cached
) $ac_c" 1>&6
10703 cat > conftest.$ac_ext <<EOF
10704 #line 10705 "configure
"
10705 #include "confdefs.h
"
10706 /* System header to define __stub macros and hopefully few prototypes,
10707 which can conflict with char $ac_func(); below. */
10708 #include <assert.h>
10709 /* Override any gcc2 internal prototype to avoid an error. */
10710 /* We use char because int might match the return type of a gcc2
10711 builtin and then its argument prototype would still apply. */
10716 /* The GNU C library defines this for functions which it implements
10717 to always fail with ENOSYS. Some functions are actually named
10718 something starting with __ and the normal name is an alias. */
10719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10727 if { (eval echo configure:10728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10729 eval "ac_cv_func_
$ac_func=yes"
10731 echo "configure
: failed program was
:" >&5
10732 cat conftest.$ac_ext >&5
10734 eval "ac_cv_func_
$ac_func=no
"
10739 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10740 echo "$ac_t""yes" 1>&6
10741 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10742 cat >> confdefs.h <<EOF
10743 #define $ac_tr_func 1
10747 echo "$ac_t""no
" 1>&6
10753 echo $ac_n "checking
for _finitef declaration
""...
$ac_c" 1>&6
10754 echo "configure
:10755: checking
for _finitef declaration
" >&5
10755 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
10756 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
10757 echo $ac_n "(cached
) $ac_c" 1>&6
10762 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10763 ac_cpp='$CXXCPP $CPPFLAGS'
10764 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10765 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10766 cross_compiling=$ac_cv_prog_cxx_cross
10768 cat > conftest.$ac_ext <<EOF
10769 #line 10770 "configure
"
10770 #include "confdefs.h
"
10772 #ifdef HAVE_IEEEFP_H
10773 #include <ieeefp.h>
10780 if { (eval echo configure:10781: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10782 glibcpp_cv_func__finitef_use=yes
10784 echo "configure
: failed program was
:" >&5
10785 cat conftest.$ac_ext >&5
10787 glibcpp_cv_func__finitef_use=no
10791 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10792 ac_cpp='$CPP $CPPFLAGS'
10793 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10794 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10795 cross_compiling=$ac_cv_prog_cc_cross
10801 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
10803 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
10804 for ac_func in _finitef
10806 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10807 echo "configure
:10808: checking
for $ac_func" >&5
10808 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10809 echo $ac_n "(cached
) $ac_c" 1>&6
10811 cat > conftest.$ac_ext <<EOF
10812 #line 10813 "configure
"
10813 #include "confdefs.h
"
10814 /* System header to define __stub macros and hopefully few prototypes,
10815 which can conflict with char $ac_func(); below. */
10816 #include <assert.h>
10817 /* Override any gcc2 internal prototype to avoid an error. */
10818 /* We use char because int might match the return type of a gcc2
10819 builtin and then its argument prototype would still apply. */
10824 /* The GNU C library defines this for functions which it implements
10825 to always fail with ENOSYS. Some functions are actually named
10826 something starting with __ and the normal name is an alias. */
10827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10835 if { (eval echo configure:10836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10837 eval "ac_cv_func_
$ac_func=yes"
10839 echo "configure
: failed program was
:" >&5
10840 cat conftest.$ac_ext >&5
10842 eval "ac_cv_func_
$ac_func=no
"
10847 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10848 echo "$ac_t""yes" 1>&6
10849 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10850 cat >> confdefs.h <<EOF
10851 #define $ac_tr_func 1
10855 echo "$ac_t""no
" 1>&6
10864 echo $ac_n "checking
for long double trig functions
""...
$ac_c" 1>&6
10865 echo "configure
:10866: checking
for long double trig functions
" >&5
10866 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
10867 echo $ac_n "(cached
) $ac_c" 1>&6
10872 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10873 ac_cpp='$CXXCPP $CPPFLAGS'
10874 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10875 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10876 cross_compiling=$ac_cv_prog_cxx_cross
10878 cat > conftest.$ac_ext <<EOF
10879 #line 10880 "configure
"
10880 #include "confdefs.h
"
10883 `for x in acosl asinl atanl \
10885 coshl sinhl tanhl; do echo "$x (0);"; done`
10888 if { (eval echo configure:10889: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10890 glibcpp_cv_func_long_double_trig_use=yes
10892 echo "configure
: failed program was
:" >&5
10893 cat conftest.$ac_ext >&5
10895 glibcpp_cv_func_long_double_trig_use=no
10899 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10900 ac_cpp='$CPP $CPPFLAGS'
10901 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10902 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10903 cross_compiling=$ac_cv_prog_cc_cross
10907 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
10908 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
10909 for ac_func in acosl asinl atanl \
10913 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10914 echo "configure
:10915: checking
for $ac_func" >&5
10915 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10916 echo $ac_n "(cached
) $ac_c" 1>&6
10918 cat > conftest.$ac_ext <<EOF
10919 #line 10920 "configure
"
10920 #include "confdefs.h
"
10921 /* System header to define __stub macros and hopefully few prototypes,
10922 which can conflict with char $ac_func(); below. */
10923 #include <assert.h>
10924 /* Override any gcc2 internal prototype to avoid an error. */
10925 /* We use char because int might match the return type of a gcc2
10926 builtin and then its argument prototype would still apply. */
10931 /* The GNU C library defines this for functions which it implements
10932 to always fail with ENOSYS. Some functions are actually named
10933 something starting with __ and the normal name is an alias. */
10934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10942 if { (eval echo configure:10943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10944 eval "ac_cv_func_
$ac_func=yes"
10946 echo "configure
: failed program was
:" >&5
10947 cat conftest.$ac_ext >&5
10949 eval "ac_cv_func_
$ac_func=no
"
10954 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10955 echo "$ac_t""yes" 1>&6
10956 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10957 cat >> confdefs.h <<EOF
10958 #define $ac_tr_func 1
10962 echo "$ac_t""no
" 1>&6
10969 echo $ac_n "checking
for long double round functions
""...
$ac_c" 1>&6
10970 echo "configure
:10971: checking
for long double round functions
" >&5
10971 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
10972 echo $ac_n "(cached
) $ac_c" 1>&6
10977 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10978 ac_cpp='$CXXCPP $CPPFLAGS'
10979 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10980 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10981 cross_compiling=$ac_cv_prog_cxx_cross
10983 cat > conftest.$ac_ext <<EOF
10984 #line 10985 "configure
"
10985 #include "confdefs.h
"
10988 `for x in ceill floorl; do echo "$x (0);"; done`
10991 if { (eval echo configure:10992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10993 glibcpp_cv_func_long_double_round_use=yes
10995 echo "configure
: failed program was
:" >&5
10996 cat conftest.$ac_ext >&5
10998 glibcpp_cv_func_long_double_round_use=no
11002 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11003 ac_cpp='$CPP $CPPFLAGS'
11004 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11005 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11006 cross_compiling=$ac_cv_prog_cc_cross
11010 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
11011 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
11012 for ac_func in ceill floorl
11014 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11015 echo "configure
:11016: checking
for $ac_func" >&5
11016 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11017 echo $ac_n "(cached
) $ac_c" 1>&6
11019 cat > conftest.$ac_ext <<EOF
11020 #line 11021 "configure
"
11021 #include "confdefs.h
"
11022 /* System header to define __stub macros and hopefully few prototypes,
11023 which can conflict with char $ac_func(); below. */
11024 #include <assert.h>
11025 /* Override any gcc2 internal prototype to avoid an error. */
11026 /* We use char because int might match the return type of a gcc2
11027 builtin and then its argument prototype would still apply. */
11032 /* The GNU C library defines this for functions which it implements
11033 to always fail with ENOSYS. Some functions are actually named
11034 something starting with __ and the normal name is an alias. */
11035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11043 if { (eval echo configure:11044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11045 eval "ac_cv_func_
$ac_func=yes"
11047 echo "configure
: failed program was
:" >&5
11048 cat conftest.$ac_ext >&5
11050 eval "ac_cv_func_
$ac_func=no
"
11055 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11056 echo "$ac_t""yes" 1>&6
11057 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11058 cat >> confdefs.h <<EOF
11059 #define $ac_tr_func 1
11063 echo "$ac_t""no
" 1>&6
11071 echo $ac_n "checking
for isnanl declaration
""...
$ac_c" 1>&6
11072 echo "configure
:11073: checking
for isnanl declaration
" >&5
11073 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
11074 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
11075 echo $ac_n "(cached
) $ac_c" 1>&6
11080 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11081 ac_cpp='$CXXCPP $CPPFLAGS'
11082 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11083 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11084 cross_compiling=$ac_cv_prog_cxx_cross
11086 cat > conftest.$ac_ext <<EOF
11087 #line 11088 "configure
"
11088 #include "confdefs.h
"
11090 #ifdef HAVE_IEEEFP_H
11091 #include <ieeefp.h>
11098 if { (eval echo configure:11099: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11100 glibcpp_cv_func_isnanl_use=yes
11102 echo "configure
: failed program was
:" >&5
11103 cat conftest.$ac_ext >&5
11105 glibcpp_cv_func_isnanl_use=no
11109 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11110 ac_cpp='$CPP $CPPFLAGS'
11111 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11112 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11113 cross_compiling=$ac_cv_prog_cc_cross
11119 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
11121 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
11122 for ac_func in isnanl
11124 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11125 echo "configure
:11126: checking
for $ac_func" >&5
11126 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11127 echo $ac_n "(cached
) $ac_c" 1>&6
11129 cat > conftest.$ac_ext <<EOF
11130 #line 11131 "configure
"
11131 #include "confdefs.h
"
11132 /* System header to define __stub macros and hopefully few prototypes,
11133 which can conflict with char $ac_func(); below. */
11134 #include <assert.h>
11135 /* Override any gcc2 internal prototype to avoid an error. */
11136 /* We use char because int might match the return type of a gcc2
11137 builtin and then its argument prototype would still apply. */
11142 /* The GNU C library defines this for functions which it implements
11143 to always fail with ENOSYS. Some functions are actually named
11144 something starting with __ and the normal name is an alias. */
11145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11153 if { (eval echo configure:11154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11155 eval "ac_cv_func_
$ac_func=yes"
11157 echo "configure
: failed program was
:" >&5
11158 cat conftest.$ac_ext >&5
11160 eval "ac_cv_func_
$ac_func=no
"
11165 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11166 echo "$ac_t""yes" 1>&6
11167 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11168 cat >> confdefs.h <<EOF
11169 #define $ac_tr_func 1
11173 echo "$ac_t""no
" 1>&6
11179 echo $ac_n "checking
for _isnanl declaration
""...
$ac_c" 1>&6
11180 echo "configure
:11181: checking
for _isnanl declaration
" >&5
11181 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
11182 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
11183 echo $ac_n "(cached
) $ac_c" 1>&6
11188 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11189 ac_cpp='$CXXCPP $CPPFLAGS'
11190 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11191 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11192 cross_compiling=$ac_cv_prog_cxx_cross
11194 cat > conftest.$ac_ext <<EOF
11195 #line 11196 "configure
"
11196 #include "confdefs.h
"
11198 #ifdef HAVE_IEEEFP_H
11199 #include <ieeefp.h>
11206 if { (eval echo configure:11207: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11208 glibcpp_cv_func__isnanl_use=yes
11210 echo "configure
: failed program was
:" >&5
11211 cat conftest.$ac_ext >&5
11213 glibcpp_cv_func__isnanl_use=no
11217 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11218 ac_cpp='$CPP $CPPFLAGS'
11219 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11220 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11221 cross_compiling=$ac_cv_prog_cc_cross
11227 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
11229 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
11230 for ac_func in _isnanl
11232 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11233 echo "configure
:11234: checking
for $ac_func" >&5
11234 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11235 echo $ac_n "(cached
) $ac_c" 1>&6
11237 cat > conftest.$ac_ext <<EOF
11238 #line 11239 "configure
"
11239 #include "confdefs.h
"
11240 /* System header to define __stub macros and hopefully few prototypes,
11241 which can conflict with char $ac_func(); below. */
11242 #include <assert.h>
11243 /* Override any gcc2 internal prototype to avoid an error. */
11244 /* We use char because int might match the return type of a gcc2
11245 builtin and then its argument prototype would still apply. */
11250 /* The GNU C library defines this for functions which it implements
11251 to always fail with ENOSYS. Some functions are actually named
11252 something starting with __ and the normal name is an alias. */
11253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11261 if { (eval echo configure:11262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11263 eval "ac_cv_func_
$ac_func=yes"
11265 echo "configure
: failed program was
:" >&5
11266 cat conftest.$ac_ext >&5
11268 eval "ac_cv_func_
$ac_func=no
"
11273 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11274 echo "$ac_t""yes" 1>&6
11275 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11276 cat >> confdefs.h <<EOF
11277 #define $ac_tr_func 1
11281 echo "$ac_t""no
" 1>&6
11290 echo $ac_n "checking
for isinfl declaration
""...
$ac_c" 1>&6
11291 echo "configure
:11292: checking
for isinfl declaration
" >&5
11292 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
11293 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
11294 echo $ac_n "(cached
) $ac_c" 1>&6
11299 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11300 ac_cpp='$CXXCPP $CPPFLAGS'
11301 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11302 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11303 cross_compiling=$ac_cv_prog_cxx_cross
11305 cat > conftest.$ac_ext <<EOF
11306 #line 11307 "configure
"
11307 #include "confdefs.h
"
11309 #ifdef HAVE_IEEEFP_H
11310 #include <ieeefp.h>
11317 if { (eval echo configure:11318: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11319 glibcpp_cv_func_isinfl_use=yes
11321 echo "configure
: failed program was
:" >&5
11322 cat conftest.$ac_ext >&5
11324 glibcpp_cv_func_isinfl_use=no
11328 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11329 ac_cpp='$CPP $CPPFLAGS'
11330 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11331 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11332 cross_compiling=$ac_cv_prog_cc_cross
11338 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
11340 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
11341 for ac_func in isinfl
11343 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11344 echo "configure
:11345: checking
for $ac_func" >&5
11345 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11346 echo $ac_n "(cached
) $ac_c" 1>&6
11348 cat > conftest.$ac_ext <<EOF
11349 #line 11350 "configure
"
11350 #include "confdefs.h
"
11351 /* System header to define __stub macros and hopefully few prototypes,
11352 which can conflict with char $ac_func(); below. */
11353 #include <assert.h>
11354 /* Override any gcc2 internal prototype to avoid an error. */
11355 /* We use char because int might match the return type of a gcc2
11356 builtin and then its argument prototype would still apply. */
11361 /* The GNU C library defines this for functions which it implements
11362 to always fail with ENOSYS. Some functions are actually named
11363 something starting with __ and the normal name is an alias. */
11364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11372 if { (eval echo configure:11373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11374 eval "ac_cv_func_
$ac_func=yes"
11376 echo "configure
: failed program was
:" >&5
11377 cat conftest.$ac_ext >&5
11379 eval "ac_cv_func_
$ac_func=no
"
11384 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11385 echo "$ac_t""yes" 1>&6
11386 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11387 cat >> confdefs.h <<EOF
11388 #define $ac_tr_func 1
11392 echo "$ac_t""no
" 1>&6
11398 echo $ac_n "checking
for _isinfl declaration
""...
$ac_c" 1>&6
11399 echo "configure
:11400: checking
for _isinfl declaration
" >&5
11400 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
11401 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
11402 echo $ac_n "(cached
) $ac_c" 1>&6
11407 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11408 ac_cpp='$CXXCPP $CPPFLAGS'
11409 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11410 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11411 cross_compiling=$ac_cv_prog_cxx_cross
11413 cat > conftest.$ac_ext <<EOF
11414 #line 11415 "configure
"
11415 #include "confdefs.h
"
11417 #ifdef HAVE_IEEEFP_H
11418 #include <ieeefp.h>
11425 if { (eval echo configure:11426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11427 glibcpp_cv_func__isinfl_use=yes
11429 echo "configure
: failed program was
:" >&5
11430 cat conftest.$ac_ext >&5
11432 glibcpp_cv_func__isinfl_use=no
11436 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11437 ac_cpp='$CPP $CPPFLAGS'
11438 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11439 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11440 cross_compiling=$ac_cv_prog_cc_cross
11446 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
11448 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
11449 for ac_func in _isinfl
11451 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11452 echo "configure
:11453: checking
for $ac_func" >&5
11453 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11454 echo $ac_n "(cached
) $ac_c" 1>&6
11456 cat > conftest.$ac_ext <<EOF
11457 #line 11458 "configure
"
11458 #include "confdefs.h
"
11459 /* System header to define __stub macros and hopefully few prototypes,
11460 which can conflict with char $ac_func(); below. */
11461 #include <assert.h>
11462 /* Override any gcc2 internal prototype to avoid an error. */
11463 /* We use char because int might match the return type of a gcc2
11464 builtin and then its argument prototype would still apply. */
11469 /* The GNU C library defines this for functions which it implements
11470 to always fail with ENOSYS. Some functions are actually named
11471 something starting with __ and the normal name is an alias. */
11472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11480 if { (eval echo configure:11481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11482 eval "ac_cv_func_
$ac_func=yes"
11484 echo "configure
: failed program was
:" >&5
11485 cat conftest.$ac_ext >&5
11487 eval "ac_cv_func_
$ac_func=no
"
11492 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11493 echo "$ac_t""yes" 1>&6
11494 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11495 cat >> confdefs.h <<EOF
11496 #define $ac_tr_func 1
11500 echo "$ac_t""no
" 1>&6
11509 echo $ac_n "checking
for copysignl declaration
""...
$ac_c" 1>&6
11510 echo "configure
:11511: checking
for copysignl declaration
" >&5
11511 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
11512 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
11513 echo $ac_n "(cached
) $ac_c" 1>&6
11518 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11519 ac_cpp='$CXXCPP $CPPFLAGS'
11520 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11521 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11522 cross_compiling=$ac_cv_prog_cxx_cross
11524 cat > conftest.$ac_ext <<EOF
11525 #line 11526 "configure
"
11526 #include "confdefs.h
"
11532 if { (eval echo configure:11533: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11534 glibcpp_cv_func_copysignl_use=yes
11536 echo "configure
: failed program was
:" >&5
11537 cat conftest.$ac_ext >&5
11539 glibcpp_cv_func_copysignl_use=no
11543 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11544 ac_cpp='$CPP $CPPFLAGS'
11545 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11546 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11547 cross_compiling=$ac_cv_prog_cc_cross
11553 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
11555 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
11556 for ac_func in copysignl
11558 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11559 echo "configure
:11560: checking
for $ac_func" >&5
11560 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11561 echo $ac_n "(cached
) $ac_c" 1>&6
11563 cat > conftest.$ac_ext <<EOF
11564 #line 11565 "configure
"
11565 #include "confdefs.h
"
11566 /* System header to define __stub macros and hopefully few prototypes,
11567 which can conflict with char $ac_func(); below. */
11568 #include <assert.h>
11569 /* Override any gcc2 internal prototype to avoid an error. */
11570 /* We use char because int might match the return type of a gcc2
11571 builtin and then its argument prototype would still apply. */
11576 /* The GNU C library defines this for functions which it implements
11577 to always fail with ENOSYS. Some functions are actually named
11578 something starting with __ and the normal name is an alias. */
11579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11587 if { (eval echo configure:11588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11589 eval "ac_cv_func_
$ac_func=yes"
11591 echo "configure
: failed program was
:" >&5
11592 cat conftest.$ac_ext >&5
11594 eval "ac_cv_func_
$ac_func=no
"
11599 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11600 echo "$ac_t""yes" 1>&6
11601 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11602 cat >> confdefs.h <<EOF
11603 #define $ac_tr_func 1
11607 echo "$ac_t""no
" 1>&6
11613 echo $ac_n "checking
for _copysignl declaration
""...
$ac_c" 1>&6
11614 echo "configure
:11615: checking
for _copysignl declaration
" >&5
11615 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
11616 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
11617 echo $ac_n "(cached
) $ac_c" 1>&6
11622 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11623 ac_cpp='$CXXCPP $CPPFLAGS'
11624 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11625 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11626 cross_compiling=$ac_cv_prog_cxx_cross
11628 cat > conftest.$ac_ext <<EOF
11629 #line 11630 "configure
"
11630 #include "confdefs.h
"
11636 if { (eval echo configure:11637: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11638 glibcpp_cv_func__copysignl_use=yes
11640 echo "configure
: failed program was
:" >&5
11641 cat conftest.$ac_ext >&5
11643 glibcpp_cv_func__copysignl_use=no
11647 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11648 ac_cpp='$CPP $CPPFLAGS'
11649 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11650 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11651 cross_compiling=$ac_cv_prog_cc_cross
11657 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
11659 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
11660 for ac_func in _copysignl
11662 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11663 echo "configure
:11664: checking
for $ac_func" >&5
11664 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11665 echo $ac_n "(cached
) $ac_c" 1>&6
11667 cat > conftest.$ac_ext <<EOF
11668 #line 11669 "configure
"
11669 #include "confdefs.h
"
11670 /* System header to define __stub macros and hopefully few prototypes,
11671 which can conflict with char $ac_func(); below. */
11672 #include <assert.h>
11673 /* Override any gcc2 internal prototype to avoid an error. */
11674 /* We use char because int might match the return type of a gcc2
11675 builtin and then its argument prototype would still apply. */
11680 /* The GNU C library defines this for functions which it implements
11681 to always fail with ENOSYS. Some functions are actually named
11682 something starting with __ and the normal name is an alias. */
11683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11691 if { (eval echo configure:11692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11693 eval "ac_cv_func_
$ac_func=yes"
11695 echo "configure
: failed program was
:" >&5
11696 cat conftest.$ac_ext >&5
11698 eval "ac_cv_func_
$ac_func=no
"
11703 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11704 echo "$ac_t""yes" 1>&6
11705 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11706 cat >> confdefs.h <<EOF
11707 #define $ac_tr_func 1
11711 echo "$ac_t""no
" 1>&6
11720 echo $ac_n "checking
for atan2l declaration
""...
$ac_c" 1>&6
11721 echo "configure
:11722: checking
for atan2l declaration
" >&5
11722 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
11723 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
11724 echo $ac_n "(cached
) $ac_c" 1>&6
11729 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11730 ac_cpp='$CXXCPP $CPPFLAGS'
11731 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11732 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11733 cross_compiling=$ac_cv_prog_cxx_cross
11735 cat > conftest.$ac_ext <<EOF
11736 #line 11737 "configure
"
11737 #include "confdefs.h
"
11743 if { (eval echo configure:11744: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11745 glibcpp_cv_func_atan2l_use=yes
11747 echo "configure
: failed program was
:" >&5
11748 cat conftest.$ac_ext >&5
11750 glibcpp_cv_func_atan2l_use=no
11754 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11755 ac_cpp='$CPP $CPPFLAGS'
11756 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11757 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11758 cross_compiling=$ac_cv_prog_cc_cross
11764 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
11766 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
11767 for ac_func in atan2l
11769 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11770 echo "configure
:11771: checking
for $ac_func" >&5
11771 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11772 echo $ac_n "(cached
) $ac_c" 1>&6
11774 cat > conftest.$ac_ext <<EOF
11775 #line 11776 "configure
"
11776 #include "confdefs.h
"
11777 /* System header to define __stub macros and hopefully few prototypes,
11778 which can conflict with char $ac_func(); below. */
11779 #include <assert.h>
11780 /* Override any gcc2 internal prototype to avoid an error. */
11781 /* We use char because int might match the return type of a gcc2
11782 builtin and then its argument prototype would still apply. */
11787 /* The GNU C library defines this for functions which it implements
11788 to always fail with ENOSYS. Some functions are actually named
11789 something starting with __ and the normal name is an alias. */
11790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11798 if { (eval echo configure:11799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11800 eval "ac_cv_func_
$ac_func=yes"
11802 echo "configure
: failed program was
:" >&5
11803 cat conftest.$ac_ext >&5
11805 eval "ac_cv_func_
$ac_func=no
"
11810 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11811 echo "$ac_t""yes" 1>&6
11812 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11813 cat >> confdefs.h <<EOF
11814 #define $ac_tr_func 1
11818 echo "$ac_t""no
" 1>&6
11824 echo $ac_n "checking
for _atan2l declaration
""...
$ac_c" 1>&6
11825 echo "configure
:11826: checking
for _atan2l declaration
" >&5
11826 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
11827 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
11828 echo $ac_n "(cached
) $ac_c" 1>&6
11833 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11834 ac_cpp='$CXXCPP $CPPFLAGS'
11835 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11836 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11837 cross_compiling=$ac_cv_prog_cxx_cross
11839 cat > conftest.$ac_ext <<EOF
11840 #line 11841 "configure
"
11841 #include "confdefs.h
"
11847 if { (eval echo configure:11848: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11849 glibcpp_cv_func__atan2l_use=yes
11851 echo "configure
: failed program was
:" >&5
11852 cat conftest.$ac_ext >&5
11854 glibcpp_cv_func__atan2l_use=no
11858 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11859 ac_cpp='$CPP $CPPFLAGS'
11860 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11861 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11862 cross_compiling=$ac_cv_prog_cc_cross
11868 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
11870 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
11871 for ac_func in _atan2l
11873 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11874 echo "configure
:11875: checking
for $ac_func" >&5
11875 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11876 echo $ac_n "(cached
) $ac_c" 1>&6
11878 cat > conftest.$ac_ext <<EOF
11879 #line 11880 "configure
"
11880 #include "confdefs.h
"
11881 /* System header to define __stub macros and hopefully few prototypes,
11882 which can conflict with char $ac_func(); below. */
11883 #include <assert.h>
11884 /* Override any gcc2 internal prototype to avoid an error. */
11885 /* We use char because int might match the return type of a gcc2
11886 builtin and then its argument prototype would still apply. */
11891 /* The GNU C library defines this for functions which it implements
11892 to always fail with ENOSYS. Some functions are actually named
11893 something starting with __ and the normal name is an alias. */
11894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11902 if { (eval echo configure:11903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11904 eval "ac_cv_func_
$ac_func=yes"
11906 echo "configure
: failed program was
:" >&5
11907 cat conftest.$ac_ext >&5
11909 eval "ac_cv_func_
$ac_func=no
"
11914 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11915 echo "$ac_t""yes" 1>&6
11916 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11917 cat >> confdefs.h <<EOF
11918 #define $ac_tr_func 1
11922 echo "$ac_t""no
" 1>&6
11931 echo $ac_n "checking
for expl declaration
""...
$ac_c" 1>&6
11932 echo "configure
:11933: checking
for expl declaration
" >&5
11933 if test x${glibcpp_cv_func_expl_use+set} != xset; then
11934 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
11935 echo $ac_n "(cached
) $ac_c" 1>&6
11940 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11941 ac_cpp='$CXXCPP $CPPFLAGS'
11942 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11943 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11944 cross_compiling=$ac_cv_prog_cxx_cross
11946 cat > conftest.$ac_ext <<EOF
11947 #line 11948 "configure
"
11948 #include "confdefs.h
"
11950 #ifdef HAVE_IEEEFP_H
11951 #include <ieeefp.h>
11958 if { (eval echo configure:11959: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11960 glibcpp_cv_func_expl_use=yes
11962 echo "configure
: failed program was
:" >&5
11963 cat conftest.$ac_ext >&5
11965 glibcpp_cv_func_expl_use=no
11969 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11970 ac_cpp='$CPP $CPPFLAGS'
11971 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11972 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11973 cross_compiling=$ac_cv_prog_cc_cross
11979 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
11981 if test x$glibcpp_cv_func_expl_use = x"yes"; then
11982 for ac_func in expl
11984 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11985 echo "configure
:11986: checking
for $ac_func" >&5
11986 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11987 echo $ac_n "(cached
) $ac_c" 1>&6
11989 cat > conftest.$ac_ext <<EOF
11990 #line 11991 "configure
"
11991 #include "confdefs.h
"
11992 /* System header to define __stub macros and hopefully few prototypes,
11993 which can conflict with char $ac_func(); below. */
11994 #include <assert.h>
11995 /* Override any gcc2 internal prototype to avoid an error. */
11996 /* We use char because int might match the return type of a gcc2
11997 builtin and then its argument prototype would still apply. */
12002 /* The GNU C library defines this for functions which it implements
12003 to always fail with ENOSYS. Some functions are actually named
12004 something starting with __ and the normal name is an alias. */
12005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12013 if { (eval echo configure:12014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12015 eval "ac_cv_func_
$ac_func=yes"
12017 echo "configure
: failed program was
:" >&5
12018 cat conftest.$ac_ext >&5
12020 eval "ac_cv_func_
$ac_func=no
"
12025 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12026 echo "$ac_t""yes" 1>&6
12027 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12028 cat >> confdefs.h <<EOF
12029 #define $ac_tr_func 1
12033 echo "$ac_t""no
" 1>&6
12039 echo $ac_n "checking
for _expl declaration
""...
$ac_c" 1>&6
12040 echo "configure
:12041: checking
for _expl declaration
" >&5
12041 if test x${glibcpp_cv_func__expl_use+set} != xset; then
12042 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
12043 echo $ac_n "(cached
) $ac_c" 1>&6
12048 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12049 ac_cpp='$CXXCPP $CPPFLAGS'
12050 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12051 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12052 cross_compiling=$ac_cv_prog_cxx_cross
12054 cat > conftest.$ac_ext <<EOF
12055 #line 12056 "configure
"
12056 #include "confdefs.h
"
12058 #ifdef HAVE_IEEEFP_H
12059 #include <ieeefp.h>
12066 if { (eval echo configure:12067: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12068 glibcpp_cv_func__expl_use=yes
12070 echo "configure
: failed program was
:" >&5
12071 cat conftest.$ac_ext >&5
12073 glibcpp_cv_func__expl_use=no
12077 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12078 ac_cpp='$CPP $CPPFLAGS'
12079 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12080 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12081 cross_compiling=$ac_cv_prog_cc_cross
12087 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
12089 if test x$glibcpp_cv_func__expl_use = x"yes"; then
12090 for ac_func in _expl
12092 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12093 echo "configure
:12094: checking
for $ac_func" >&5
12094 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12095 echo $ac_n "(cached
) $ac_c" 1>&6
12097 cat > conftest.$ac_ext <<EOF
12098 #line 12099 "configure
"
12099 #include "confdefs.h
"
12100 /* System header to define __stub macros and hopefully few prototypes,
12101 which can conflict with char $ac_func(); below. */
12102 #include <assert.h>
12103 /* Override any gcc2 internal prototype to avoid an error. */
12104 /* We use char because int might match the return type of a gcc2
12105 builtin and then its argument prototype would still apply. */
12110 /* The GNU C library defines this for functions which it implements
12111 to always fail with ENOSYS. Some functions are actually named
12112 something starting with __ and the normal name is an alias. */
12113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12121 if { (eval echo configure:12122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12123 eval "ac_cv_func_
$ac_func=yes"
12125 echo "configure
: failed program was
:" >&5
12126 cat conftest.$ac_ext >&5
12128 eval "ac_cv_func_
$ac_func=no
"
12133 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12134 echo "$ac_t""yes" 1>&6
12135 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12136 cat >> confdefs.h <<EOF
12137 #define $ac_tr_func 1
12141 echo "$ac_t""no
" 1>&6
12150 echo $ac_n "checking
for fabsl declaration
""...
$ac_c" 1>&6
12151 echo "configure
:12152: checking
for fabsl declaration
" >&5
12152 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
12153 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
12154 echo $ac_n "(cached
) $ac_c" 1>&6
12159 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12160 ac_cpp='$CXXCPP $CPPFLAGS'
12161 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12162 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12163 cross_compiling=$ac_cv_prog_cxx_cross
12165 cat > conftest.$ac_ext <<EOF
12166 #line 12167 "configure
"
12167 #include "confdefs.h
"
12169 #ifdef HAVE_IEEEFP_H
12170 #include <ieeefp.h>
12177 if { (eval echo configure:12178: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12179 glibcpp_cv_func_fabsl_use=yes
12181 echo "configure
: failed program was
:" >&5
12182 cat conftest.$ac_ext >&5
12184 glibcpp_cv_func_fabsl_use=no
12188 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12189 ac_cpp='$CPP $CPPFLAGS'
12190 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12191 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12192 cross_compiling=$ac_cv_prog_cc_cross
12198 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
12200 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
12201 for ac_func in fabsl
12203 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12204 echo "configure
:12205: checking
for $ac_func" >&5
12205 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12206 echo $ac_n "(cached
) $ac_c" 1>&6
12208 cat > conftest.$ac_ext <<EOF
12209 #line 12210 "configure
"
12210 #include "confdefs.h
"
12211 /* System header to define __stub macros and hopefully few prototypes,
12212 which can conflict with char $ac_func(); below. */
12213 #include <assert.h>
12214 /* Override any gcc2 internal prototype to avoid an error. */
12215 /* We use char because int might match the return type of a gcc2
12216 builtin and then its argument prototype would still apply. */
12221 /* The GNU C library defines this for functions which it implements
12222 to always fail with ENOSYS. Some functions are actually named
12223 something starting with __ and the normal name is an alias. */
12224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12232 if { (eval echo configure:12233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12234 eval "ac_cv_func_
$ac_func=yes"
12236 echo "configure
: failed program was
:" >&5
12237 cat conftest.$ac_ext >&5
12239 eval "ac_cv_func_
$ac_func=no
"
12244 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12245 echo "$ac_t""yes" 1>&6
12246 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12247 cat >> confdefs.h <<EOF
12248 #define $ac_tr_func 1
12252 echo "$ac_t""no
" 1>&6
12258 echo $ac_n "checking
for _fabsl declaration
""...
$ac_c" 1>&6
12259 echo "configure
:12260: checking
for _fabsl declaration
" >&5
12260 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
12261 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
12262 echo $ac_n "(cached
) $ac_c" 1>&6
12267 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12268 ac_cpp='$CXXCPP $CPPFLAGS'
12269 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12270 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12271 cross_compiling=$ac_cv_prog_cxx_cross
12273 cat > conftest.$ac_ext <<EOF
12274 #line 12275 "configure
"
12275 #include "confdefs.h
"
12277 #ifdef HAVE_IEEEFP_H
12278 #include <ieeefp.h>
12285 if { (eval echo configure:12286: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12287 glibcpp_cv_func__fabsl_use=yes
12289 echo "configure
: failed program was
:" >&5
12290 cat conftest.$ac_ext >&5
12292 glibcpp_cv_func__fabsl_use=no
12296 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12297 ac_cpp='$CPP $CPPFLAGS'
12298 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12299 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12300 cross_compiling=$ac_cv_prog_cc_cross
12306 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
12308 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
12309 for ac_func in _fabsl
12311 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12312 echo "configure
:12313: checking
for $ac_func" >&5
12313 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12314 echo $ac_n "(cached
) $ac_c" 1>&6
12316 cat > conftest.$ac_ext <<EOF
12317 #line 12318 "configure
"
12318 #include "confdefs.h
"
12319 /* System header to define __stub macros and hopefully few prototypes,
12320 which can conflict with char $ac_func(); below. */
12321 #include <assert.h>
12322 /* Override any gcc2 internal prototype to avoid an error. */
12323 /* We use char because int might match the return type of a gcc2
12324 builtin and then its argument prototype would still apply. */
12329 /* The GNU C library defines this for functions which it implements
12330 to always fail with ENOSYS. Some functions are actually named
12331 something starting with __ and the normal name is an alias. */
12332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12340 if { (eval echo configure:12341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12342 eval "ac_cv_func_
$ac_func=yes"
12344 echo "configure
: failed program was
:" >&5
12345 cat conftest.$ac_ext >&5
12347 eval "ac_cv_func_
$ac_func=no
"
12352 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12353 echo "$ac_t""yes" 1>&6
12354 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12355 cat >> confdefs.h <<EOF
12356 #define $ac_tr_func 1
12360 echo "$ac_t""no
" 1>&6
12369 echo $ac_n "checking
for fmodl declaration
""...
$ac_c" 1>&6
12370 echo "configure
:12371: checking
for fmodl declaration
" >&5
12371 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
12372 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
12373 echo $ac_n "(cached
) $ac_c" 1>&6
12378 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12379 ac_cpp='$CXXCPP $CPPFLAGS'
12380 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12381 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12382 cross_compiling=$ac_cv_prog_cxx_cross
12384 cat > conftest.$ac_ext <<EOF
12385 #line 12386 "configure
"
12386 #include "confdefs.h
"
12392 if { (eval echo configure:12393: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12394 glibcpp_cv_func_fmodl_use=yes
12396 echo "configure
: failed program was
:" >&5
12397 cat conftest.$ac_ext >&5
12399 glibcpp_cv_func_fmodl_use=no
12403 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12404 ac_cpp='$CPP $CPPFLAGS'
12405 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12406 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12407 cross_compiling=$ac_cv_prog_cc_cross
12413 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
12415 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
12416 for ac_func in fmodl
12418 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12419 echo "configure
:12420: checking
for $ac_func" >&5
12420 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12421 echo $ac_n "(cached
) $ac_c" 1>&6
12423 cat > conftest.$ac_ext <<EOF
12424 #line 12425 "configure
"
12425 #include "confdefs.h
"
12426 /* System header to define __stub macros and hopefully few prototypes,
12427 which can conflict with char $ac_func(); below. */
12428 #include <assert.h>
12429 /* Override any gcc2 internal prototype to avoid an error. */
12430 /* We use char because int might match the return type of a gcc2
12431 builtin and then its argument prototype would still apply. */
12436 /* The GNU C library defines this for functions which it implements
12437 to always fail with ENOSYS. Some functions are actually named
12438 something starting with __ and the normal name is an alias. */
12439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12447 if { (eval echo configure:12448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12449 eval "ac_cv_func_
$ac_func=yes"
12451 echo "configure
: failed program was
:" >&5
12452 cat conftest.$ac_ext >&5
12454 eval "ac_cv_func_
$ac_func=no
"
12459 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12460 echo "$ac_t""yes" 1>&6
12461 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12462 cat >> confdefs.h <<EOF
12463 #define $ac_tr_func 1
12467 echo "$ac_t""no
" 1>&6
12473 echo $ac_n "checking
for _fmodl declaration
""...
$ac_c" 1>&6
12474 echo "configure
:12475: checking
for _fmodl declaration
" >&5
12475 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
12476 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
12477 echo $ac_n "(cached
) $ac_c" 1>&6
12482 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12483 ac_cpp='$CXXCPP $CPPFLAGS'
12484 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12485 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12486 cross_compiling=$ac_cv_prog_cxx_cross
12488 cat > conftest.$ac_ext <<EOF
12489 #line 12490 "configure
"
12490 #include "confdefs.h
"
12496 if { (eval echo configure:12497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12498 glibcpp_cv_func__fmodl_use=yes
12500 echo "configure
: failed program was
:" >&5
12501 cat conftest.$ac_ext >&5
12503 glibcpp_cv_func__fmodl_use=no
12507 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12508 ac_cpp='$CPP $CPPFLAGS'
12509 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12510 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12511 cross_compiling=$ac_cv_prog_cc_cross
12517 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
12519 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
12520 for ac_func in _fmodl
12522 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12523 echo "configure
:12524: checking
for $ac_func" >&5
12524 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12525 echo $ac_n "(cached
) $ac_c" 1>&6
12527 cat > conftest.$ac_ext <<EOF
12528 #line 12529 "configure
"
12529 #include "confdefs.h
"
12530 /* System header to define __stub macros and hopefully few prototypes,
12531 which can conflict with char $ac_func(); below. */
12532 #include <assert.h>
12533 /* Override any gcc2 internal prototype to avoid an error. */
12534 /* We use char because int might match the return type of a gcc2
12535 builtin and then its argument prototype would still apply. */
12540 /* The GNU C library defines this for functions which it implements
12541 to always fail with ENOSYS. Some functions are actually named
12542 something starting with __ and the normal name is an alias. */
12543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12551 if { (eval echo configure:12552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12553 eval "ac_cv_func_
$ac_func=yes"
12555 echo "configure
: failed program was
:" >&5
12556 cat conftest.$ac_ext >&5
12558 eval "ac_cv_func_
$ac_func=no
"
12563 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12564 echo "$ac_t""yes" 1>&6
12565 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12566 cat >> confdefs.h <<EOF
12567 #define $ac_tr_func 1
12571 echo "$ac_t""no
" 1>&6
12580 echo $ac_n "checking
for frexpl declaration
""...
$ac_c" 1>&6
12581 echo "configure
:12582: checking
for frexpl declaration
" >&5
12582 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
12583 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
12584 echo $ac_n "(cached
) $ac_c" 1>&6
12589 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12590 ac_cpp='$CXXCPP $CPPFLAGS'
12591 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12592 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12593 cross_compiling=$ac_cv_prog_cxx_cross
12595 cat > conftest.$ac_ext <<EOF
12596 #line 12597 "configure
"
12597 #include "confdefs.h
"
12603 if { (eval echo configure:12604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12605 glibcpp_cv_func_frexpl_use=yes
12607 echo "configure
: failed program was
:" >&5
12608 cat conftest.$ac_ext >&5
12610 glibcpp_cv_func_frexpl_use=no
12614 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12615 ac_cpp='$CPP $CPPFLAGS'
12616 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12617 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12618 cross_compiling=$ac_cv_prog_cc_cross
12624 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
12626 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
12627 for ac_func in frexpl
12629 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12630 echo "configure
:12631: checking
for $ac_func" >&5
12631 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12632 echo $ac_n "(cached
) $ac_c" 1>&6
12634 cat > conftest.$ac_ext <<EOF
12635 #line 12636 "configure
"
12636 #include "confdefs.h
"
12637 /* System header to define __stub macros and hopefully few prototypes,
12638 which can conflict with char $ac_func(); below. */
12639 #include <assert.h>
12640 /* Override any gcc2 internal prototype to avoid an error. */
12641 /* We use char because int might match the return type of a gcc2
12642 builtin and then its argument prototype would still apply. */
12647 /* The GNU C library defines this for functions which it implements
12648 to always fail with ENOSYS. Some functions are actually named
12649 something starting with __ and the normal name is an alias. */
12650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12658 if { (eval echo configure:12659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12660 eval "ac_cv_func_
$ac_func=yes"
12662 echo "configure
: failed program was
:" >&5
12663 cat conftest.$ac_ext >&5
12665 eval "ac_cv_func_
$ac_func=no
"
12670 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12671 echo "$ac_t""yes" 1>&6
12672 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12673 cat >> confdefs.h <<EOF
12674 #define $ac_tr_func 1
12678 echo "$ac_t""no
" 1>&6
12684 echo $ac_n "checking
for _frexpl declaration
""...
$ac_c" 1>&6
12685 echo "configure
:12686: checking
for _frexpl declaration
" >&5
12686 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
12687 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
12688 echo $ac_n "(cached
) $ac_c" 1>&6
12693 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12694 ac_cpp='$CXXCPP $CPPFLAGS'
12695 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12696 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12697 cross_compiling=$ac_cv_prog_cxx_cross
12699 cat > conftest.$ac_ext <<EOF
12700 #line 12701 "configure
"
12701 #include "confdefs.h
"
12707 if { (eval echo configure:12708: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12709 glibcpp_cv_func__frexpl_use=yes
12711 echo "configure
: failed program was
:" >&5
12712 cat conftest.$ac_ext >&5
12714 glibcpp_cv_func__frexpl_use=no
12718 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12719 ac_cpp='$CPP $CPPFLAGS'
12720 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12721 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12722 cross_compiling=$ac_cv_prog_cc_cross
12728 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
12730 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
12731 for ac_func in _frexpl
12733 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12734 echo "configure
:12735: checking
for $ac_func" >&5
12735 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12736 echo $ac_n "(cached
) $ac_c" 1>&6
12738 cat > conftest.$ac_ext <<EOF
12739 #line 12740 "configure
"
12740 #include "confdefs.h
"
12741 /* System header to define __stub macros and hopefully few prototypes,
12742 which can conflict with char $ac_func(); below. */
12743 #include <assert.h>
12744 /* Override any gcc2 internal prototype to avoid an error. */
12745 /* We use char because int might match the return type of a gcc2
12746 builtin and then its argument prototype would still apply. */
12751 /* The GNU C library defines this for functions which it implements
12752 to always fail with ENOSYS. Some functions are actually named
12753 something starting with __ and the normal name is an alias. */
12754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12762 if { (eval echo configure:12763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12764 eval "ac_cv_func_
$ac_func=yes"
12766 echo "configure
: failed program was
:" >&5
12767 cat conftest.$ac_ext >&5
12769 eval "ac_cv_func_
$ac_func=no
"
12774 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12775 echo "$ac_t""yes" 1>&6
12776 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12777 cat >> confdefs.h <<EOF
12778 #define $ac_tr_func 1
12782 echo "$ac_t""no
" 1>&6
12791 echo $ac_n "checking
for ldexpl declaration
""...
$ac_c" 1>&6
12792 echo "configure
:12793: checking
for ldexpl declaration
" >&5
12793 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
12794 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
12795 echo $ac_n "(cached
) $ac_c" 1>&6
12800 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12801 ac_cpp='$CXXCPP $CPPFLAGS'
12802 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12803 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12804 cross_compiling=$ac_cv_prog_cxx_cross
12806 cat > conftest.$ac_ext <<EOF
12807 #line 12808 "configure
"
12808 #include "confdefs.h
"
12814 if { (eval echo configure:12815: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12816 glibcpp_cv_func_ldexpl_use=yes
12818 echo "configure
: failed program was
:" >&5
12819 cat conftest.$ac_ext >&5
12821 glibcpp_cv_func_ldexpl_use=no
12825 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12826 ac_cpp='$CPP $CPPFLAGS'
12827 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12828 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12829 cross_compiling=$ac_cv_prog_cc_cross
12835 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
12837 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
12838 for ac_func in ldexpl
12840 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12841 echo "configure
:12842: checking
for $ac_func" >&5
12842 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12843 echo $ac_n "(cached
) $ac_c" 1>&6
12845 cat > conftest.$ac_ext <<EOF
12846 #line 12847 "configure
"
12847 #include "confdefs.h
"
12848 /* System header to define __stub macros and hopefully few prototypes,
12849 which can conflict with char $ac_func(); below. */
12850 #include <assert.h>
12851 /* Override any gcc2 internal prototype to avoid an error. */
12852 /* We use char because int might match the return type of a gcc2
12853 builtin and then its argument prototype would still apply. */
12858 /* The GNU C library defines this for functions which it implements
12859 to always fail with ENOSYS. Some functions are actually named
12860 something starting with __ and the normal name is an alias. */
12861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12869 if { (eval echo configure:12870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12871 eval "ac_cv_func_
$ac_func=yes"
12873 echo "configure
: failed program was
:" >&5
12874 cat conftest.$ac_ext >&5
12876 eval "ac_cv_func_
$ac_func=no
"
12881 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12882 echo "$ac_t""yes" 1>&6
12883 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12884 cat >> confdefs.h <<EOF
12885 #define $ac_tr_func 1
12889 echo "$ac_t""no
" 1>&6
12895 echo $ac_n "checking
for _ldexpl declaration
""...
$ac_c" 1>&6
12896 echo "configure
:12897: checking
for _ldexpl declaration
" >&5
12897 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
12898 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
12899 echo $ac_n "(cached
) $ac_c" 1>&6
12904 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12905 ac_cpp='$CXXCPP $CPPFLAGS'
12906 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12907 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12908 cross_compiling=$ac_cv_prog_cxx_cross
12910 cat > conftest.$ac_ext <<EOF
12911 #line 12912 "configure
"
12912 #include "confdefs.h
"
12918 if { (eval echo configure:12919: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12920 glibcpp_cv_func__ldexpl_use=yes
12922 echo "configure
: failed program was
:" >&5
12923 cat conftest.$ac_ext >&5
12925 glibcpp_cv_func__ldexpl_use=no
12929 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12930 ac_cpp='$CPP $CPPFLAGS'
12931 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12932 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12933 cross_compiling=$ac_cv_prog_cc_cross
12939 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
12941 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
12942 for ac_func in _ldexpl
12944 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12945 echo "configure
:12946: checking
for $ac_func" >&5
12946 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12947 echo $ac_n "(cached
) $ac_c" 1>&6
12949 cat > conftest.$ac_ext <<EOF
12950 #line 12951 "configure
"
12951 #include "confdefs.h
"
12952 /* System header to define __stub macros and hopefully few prototypes,
12953 which can conflict with char $ac_func(); below. */
12954 #include <assert.h>
12955 /* Override any gcc2 internal prototype to avoid an error. */
12956 /* We use char because int might match the return type of a gcc2
12957 builtin and then its argument prototype would still apply. */
12962 /* The GNU C library defines this for functions which it implements
12963 to always fail with ENOSYS. Some functions are actually named
12964 something starting with __ and the normal name is an alias. */
12965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12973 if { (eval echo configure:12974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12975 eval "ac_cv_func_
$ac_func=yes"
12977 echo "configure
: failed program was
:" >&5
12978 cat conftest.$ac_ext >&5
12980 eval "ac_cv_func_
$ac_func=no
"
12985 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12986 echo "$ac_t""yes" 1>&6
12987 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12988 cat >> confdefs.h <<EOF
12989 #define $ac_tr_func 1
12993 echo "$ac_t""no
" 1>&6
13002 echo $ac_n "checking
for logl declaration
""...
$ac_c" 1>&6
13003 echo "configure
:13004: checking
for logl declaration
" >&5
13004 if test x${glibcpp_cv_func_logl_use+set} != xset; then
13005 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
13006 echo $ac_n "(cached
) $ac_c" 1>&6
13011 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13012 ac_cpp='$CXXCPP $CPPFLAGS'
13013 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13014 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13015 cross_compiling=$ac_cv_prog_cxx_cross
13017 cat > conftest.$ac_ext <<EOF
13018 #line 13019 "configure
"
13019 #include "confdefs.h
"
13021 #ifdef HAVE_IEEEFP_H
13022 #include <ieeefp.h>
13029 if { (eval echo configure:13030: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13031 glibcpp_cv_func_logl_use=yes
13033 echo "configure
: failed program was
:" >&5
13034 cat conftest.$ac_ext >&5
13036 glibcpp_cv_func_logl_use=no
13040 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13041 ac_cpp='$CPP $CPPFLAGS'
13042 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13043 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13044 cross_compiling=$ac_cv_prog_cc_cross
13050 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
13052 if test x$glibcpp_cv_func_logl_use = x"yes"; then
13053 for ac_func in logl
13055 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13056 echo "configure
:13057: checking
for $ac_func" >&5
13057 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13058 echo $ac_n "(cached
) $ac_c" 1>&6
13060 cat > conftest.$ac_ext <<EOF
13061 #line 13062 "configure
"
13062 #include "confdefs.h
"
13063 /* System header to define __stub macros and hopefully few prototypes,
13064 which can conflict with char $ac_func(); below. */
13065 #include <assert.h>
13066 /* Override any gcc2 internal prototype to avoid an error. */
13067 /* We use char because int might match the return type of a gcc2
13068 builtin and then its argument prototype would still apply. */
13073 /* The GNU C library defines this for functions which it implements
13074 to always fail with ENOSYS. Some functions are actually named
13075 something starting with __ and the normal name is an alias. */
13076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13084 if { (eval echo configure:13085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13086 eval "ac_cv_func_
$ac_func=yes"
13088 echo "configure
: failed program was
:" >&5
13089 cat conftest.$ac_ext >&5
13091 eval "ac_cv_func_
$ac_func=no
"
13096 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13097 echo "$ac_t""yes" 1>&6
13098 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13099 cat >> confdefs.h <<EOF
13100 #define $ac_tr_func 1
13104 echo "$ac_t""no
" 1>&6
13110 echo $ac_n "checking
for _logl declaration
""...
$ac_c" 1>&6
13111 echo "configure
:13112: checking
for _logl declaration
" >&5
13112 if test x${glibcpp_cv_func__logl_use+set} != xset; then
13113 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
13114 echo $ac_n "(cached
) $ac_c" 1>&6
13119 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13120 ac_cpp='$CXXCPP $CPPFLAGS'
13121 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13122 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13123 cross_compiling=$ac_cv_prog_cxx_cross
13125 cat > conftest.$ac_ext <<EOF
13126 #line 13127 "configure
"
13127 #include "confdefs.h
"
13129 #ifdef HAVE_IEEEFP_H
13130 #include <ieeefp.h>
13137 if { (eval echo configure:13138: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13139 glibcpp_cv_func__logl_use=yes
13141 echo "configure
: failed program was
:" >&5
13142 cat conftest.$ac_ext >&5
13144 glibcpp_cv_func__logl_use=no
13148 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13149 ac_cpp='$CPP $CPPFLAGS'
13150 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13151 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13152 cross_compiling=$ac_cv_prog_cc_cross
13158 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
13160 if test x$glibcpp_cv_func__logl_use = x"yes"; then
13161 for ac_func in _logl
13163 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13164 echo "configure
:13165: checking
for $ac_func" >&5
13165 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13166 echo $ac_n "(cached
) $ac_c" 1>&6
13168 cat > conftest.$ac_ext <<EOF
13169 #line 13170 "configure
"
13170 #include "confdefs.h
"
13171 /* System header to define __stub macros and hopefully few prototypes,
13172 which can conflict with char $ac_func(); below. */
13173 #include <assert.h>
13174 /* Override any gcc2 internal prototype to avoid an error. */
13175 /* We use char because int might match the return type of a gcc2
13176 builtin and then its argument prototype would still apply. */
13181 /* The GNU C library defines this for functions which it implements
13182 to always fail with ENOSYS. Some functions are actually named
13183 something starting with __ and the normal name is an alias. */
13184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13192 if { (eval echo configure:13193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13194 eval "ac_cv_func_
$ac_func=yes"
13196 echo "configure
: failed program was
:" >&5
13197 cat conftest.$ac_ext >&5
13199 eval "ac_cv_func_
$ac_func=no
"
13204 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13205 echo "$ac_t""yes" 1>&6
13206 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13207 cat >> confdefs.h <<EOF
13208 #define $ac_tr_func 1
13212 echo "$ac_t""no
" 1>&6
13221 echo $ac_n "checking
for log10l declaration
""...
$ac_c" 1>&6
13222 echo "configure
:13223: checking
for log10l declaration
" >&5
13223 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
13224 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
13225 echo $ac_n "(cached
) $ac_c" 1>&6
13230 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13231 ac_cpp='$CXXCPP $CPPFLAGS'
13232 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13233 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13234 cross_compiling=$ac_cv_prog_cxx_cross
13236 cat > conftest.$ac_ext <<EOF
13237 #line 13238 "configure
"
13238 #include "confdefs.h
"
13240 #ifdef HAVE_IEEEFP_H
13241 #include <ieeefp.h>
13248 if { (eval echo configure:13249: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13250 glibcpp_cv_func_log10l_use=yes
13252 echo "configure
: failed program was
:" >&5
13253 cat conftest.$ac_ext >&5
13255 glibcpp_cv_func_log10l_use=no
13259 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13260 ac_cpp='$CPP $CPPFLAGS'
13261 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13262 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13263 cross_compiling=$ac_cv_prog_cc_cross
13269 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
13271 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
13272 for ac_func in log10l
13274 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13275 echo "configure
:13276: checking
for $ac_func" >&5
13276 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13277 echo $ac_n "(cached
) $ac_c" 1>&6
13279 cat > conftest.$ac_ext <<EOF
13280 #line 13281 "configure
"
13281 #include "confdefs.h
"
13282 /* System header to define __stub macros and hopefully few prototypes,
13283 which can conflict with char $ac_func(); below. */
13284 #include <assert.h>
13285 /* Override any gcc2 internal prototype to avoid an error. */
13286 /* We use char because int might match the return type of a gcc2
13287 builtin and then its argument prototype would still apply. */
13292 /* The GNU C library defines this for functions which it implements
13293 to always fail with ENOSYS. Some functions are actually named
13294 something starting with __ and the normal name is an alias. */
13295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13303 if { (eval echo configure:13304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13305 eval "ac_cv_func_
$ac_func=yes"
13307 echo "configure
: failed program was
:" >&5
13308 cat conftest.$ac_ext >&5
13310 eval "ac_cv_func_
$ac_func=no
"
13315 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13316 echo "$ac_t""yes" 1>&6
13317 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13318 cat >> confdefs.h <<EOF
13319 #define $ac_tr_func 1
13323 echo "$ac_t""no
" 1>&6
13329 echo $ac_n "checking
for _log10l declaration
""...
$ac_c" 1>&6
13330 echo "configure
:13331: checking
for _log10l declaration
" >&5
13331 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
13332 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
13333 echo $ac_n "(cached
) $ac_c" 1>&6
13338 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13339 ac_cpp='$CXXCPP $CPPFLAGS'
13340 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13341 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13342 cross_compiling=$ac_cv_prog_cxx_cross
13344 cat > conftest.$ac_ext <<EOF
13345 #line 13346 "configure
"
13346 #include "confdefs.h
"
13348 #ifdef HAVE_IEEEFP_H
13349 #include <ieeefp.h>
13356 if { (eval echo configure:13357: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13358 glibcpp_cv_func__log10l_use=yes
13360 echo "configure
: failed program was
:" >&5
13361 cat conftest.$ac_ext >&5
13363 glibcpp_cv_func__log10l_use=no
13367 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13368 ac_cpp='$CPP $CPPFLAGS'
13369 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13370 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13371 cross_compiling=$ac_cv_prog_cc_cross
13377 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
13379 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
13380 for ac_func in _log10l
13382 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13383 echo "configure
:13384: checking
for $ac_func" >&5
13384 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13385 echo $ac_n "(cached
) $ac_c" 1>&6
13387 cat > conftest.$ac_ext <<EOF
13388 #line 13389 "configure
"
13389 #include "confdefs.h
"
13390 /* System header to define __stub macros and hopefully few prototypes,
13391 which can conflict with char $ac_func(); below. */
13392 #include <assert.h>
13393 /* Override any gcc2 internal prototype to avoid an error. */
13394 /* We use char because int might match the return type of a gcc2
13395 builtin and then its argument prototype would still apply. */
13400 /* The GNU C library defines this for functions which it implements
13401 to always fail with ENOSYS. Some functions are actually named
13402 something starting with __ and the normal name is an alias. */
13403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13411 if { (eval echo configure:13412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13413 eval "ac_cv_func_
$ac_func=yes"
13415 echo "configure
: failed program was
:" >&5
13416 cat conftest.$ac_ext >&5
13418 eval "ac_cv_func_
$ac_func=no
"
13423 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13424 echo "$ac_t""yes" 1>&6
13425 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13426 cat >> confdefs.h <<EOF
13427 #define $ac_tr_func 1
13431 echo "$ac_t""no
" 1>&6
13440 echo $ac_n "checking
for modfl declaration
""...
$ac_c" 1>&6
13441 echo "configure
:13442: checking
for modfl declaration
" >&5
13442 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
13443 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
13444 echo $ac_n "(cached
) $ac_c" 1>&6
13449 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13450 ac_cpp='$CXXCPP $CPPFLAGS'
13451 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13452 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13453 cross_compiling=$ac_cv_prog_cxx_cross
13455 cat > conftest.$ac_ext <<EOF
13456 #line 13457 "configure
"
13457 #include "confdefs.h
"
13463 if { (eval echo configure:13464: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13465 glibcpp_cv_func_modfl_use=yes
13467 echo "configure
: failed program was
:" >&5
13468 cat conftest.$ac_ext >&5
13470 glibcpp_cv_func_modfl_use=no
13474 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13475 ac_cpp='$CPP $CPPFLAGS'
13476 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13477 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13478 cross_compiling=$ac_cv_prog_cc_cross
13484 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
13486 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
13487 for ac_func in modfl
13489 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13490 echo "configure
:13491: checking
for $ac_func" >&5
13491 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13492 echo $ac_n "(cached
) $ac_c" 1>&6
13494 cat > conftest.$ac_ext <<EOF
13495 #line 13496 "configure
"
13496 #include "confdefs.h
"
13497 /* System header to define __stub macros and hopefully few prototypes,
13498 which can conflict with char $ac_func(); below. */
13499 #include <assert.h>
13500 /* Override any gcc2 internal prototype to avoid an error. */
13501 /* We use char because int might match the return type of a gcc2
13502 builtin and then its argument prototype would still apply. */
13507 /* The GNU C library defines this for functions which it implements
13508 to always fail with ENOSYS. Some functions are actually named
13509 something starting with __ and the normal name is an alias. */
13510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13518 if { (eval echo configure:13519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13520 eval "ac_cv_func_
$ac_func=yes"
13522 echo "configure
: failed program was
:" >&5
13523 cat conftest.$ac_ext >&5
13525 eval "ac_cv_func_
$ac_func=no
"
13530 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13531 echo "$ac_t""yes" 1>&6
13532 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13533 cat >> confdefs.h <<EOF
13534 #define $ac_tr_func 1
13538 echo "$ac_t""no
" 1>&6
13544 echo $ac_n "checking
for _modfl declaration
""...
$ac_c" 1>&6
13545 echo "configure
:13546: checking
for _modfl declaration
" >&5
13546 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
13547 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
13548 echo $ac_n "(cached
) $ac_c" 1>&6
13553 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13554 ac_cpp='$CXXCPP $CPPFLAGS'
13555 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13556 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13557 cross_compiling=$ac_cv_prog_cxx_cross
13559 cat > conftest.$ac_ext <<EOF
13560 #line 13561 "configure
"
13561 #include "confdefs.h
"
13567 if { (eval echo configure:13568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13569 glibcpp_cv_func__modfl_use=yes
13571 echo "configure
: failed program was
:" >&5
13572 cat conftest.$ac_ext >&5
13574 glibcpp_cv_func__modfl_use=no
13578 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13579 ac_cpp='$CPP $CPPFLAGS'
13580 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13581 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13582 cross_compiling=$ac_cv_prog_cc_cross
13588 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
13590 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
13591 for ac_func in _modfl
13593 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13594 echo "configure
:13595: checking
for $ac_func" >&5
13595 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13596 echo $ac_n "(cached
) $ac_c" 1>&6
13598 cat > conftest.$ac_ext <<EOF
13599 #line 13600 "configure
"
13600 #include "confdefs.h
"
13601 /* System header to define __stub macros and hopefully few prototypes,
13602 which can conflict with char $ac_func(); below. */
13603 #include <assert.h>
13604 /* Override any gcc2 internal prototype to avoid an error. */
13605 /* We use char because int might match the return type of a gcc2
13606 builtin and then its argument prototype would still apply. */
13611 /* The GNU C library defines this for functions which it implements
13612 to always fail with ENOSYS. Some functions are actually named
13613 something starting with __ and the normal name is an alias. */
13614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13622 if { (eval echo configure:13623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13624 eval "ac_cv_func_
$ac_func=yes"
13626 echo "configure
: failed program was
:" >&5
13627 cat conftest.$ac_ext >&5
13629 eval "ac_cv_func_
$ac_func=no
"
13634 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13635 echo "$ac_t""yes" 1>&6
13636 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13637 cat >> confdefs.h <<EOF
13638 #define $ac_tr_func 1
13642 echo "$ac_t""no
" 1>&6
13651 echo $ac_n "checking
for powl declaration
""...
$ac_c" 1>&6
13652 echo "configure
:13653: checking
for powl declaration
" >&5
13653 if test x${glibcpp_cv_func_powl_use+set} != xset; then
13654 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
13655 echo $ac_n "(cached
) $ac_c" 1>&6
13660 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13661 ac_cpp='$CXXCPP $CPPFLAGS'
13662 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13663 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13664 cross_compiling=$ac_cv_prog_cxx_cross
13666 cat > conftest.$ac_ext <<EOF
13667 #line 13668 "configure
"
13668 #include "confdefs.h
"
13674 if { (eval echo configure:13675: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13676 glibcpp_cv_func_powl_use=yes
13678 echo "configure
: failed program was
:" >&5
13679 cat conftest.$ac_ext >&5
13681 glibcpp_cv_func_powl_use=no
13685 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13686 ac_cpp='$CPP $CPPFLAGS'
13687 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13688 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13689 cross_compiling=$ac_cv_prog_cc_cross
13695 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
13697 if test x$glibcpp_cv_func_powl_use = x"yes"; then
13698 for ac_func in powl
13700 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13701 echo "configure
:13702: checking
for $ac_func" >&5
13702 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13703 echo $ac_n "(cached
) $ac_c" 1>&6
13705 cat > conftest.$ac_ext <<EOF
13706 #line 13707 "configure
"
13707 #include "confdefs.h
"
13708 /* System header to define __stub macros and hopefully few prototypes,
13709 which can conflict with char $ac_func(); below. */
13710 #include <assert.h>
13711 /* Override any gcc2 internal prototype to avoid an error. */
13712 /* We use char because int might match the return type of a gcc2
13713 builtin and then its argument prototype would still apply. */
13718 /* The GNU C library defines this for functions which it implements
13719 to always fail with ENOSYS. Some functions are actually named
13720 something starting with __ and the normal name is an alias. */
13721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13729 if { (eval echo configure:13730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13731 eval "ac_cv_func_
$ac_func=yes"
13733 echo "configure
: failed program was
:" >&5
13734 cat conftest.$ac_ext >&5
13736 eval "ac_cv_func_
$ac_func=no
"
13741 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13742 echo "$ac_t""yes" 1>&6
13743 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13744 cat >> confdefs.h <<EOF
13745 #define $ac_tr_func 1
13749 echo "$ac_t""no
" 1>&6
13755 echo $ac_n "checking
for _powl declaration
""...
$ac_c" 1>&6
13756 echo "configure
:13757: checking
for _powl declaration
" >&5
13757 if test x${glibcpp_cv_func__powl_use+set} != xset; then
13758 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
13759 echo $ac_n "(cached
) $ac_c" 1>&6
13764 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13765 ac_cpp='$CXXCPP $CPPFLAGS'
13766 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13767 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13768 cross_compiling=$ac_cv_prog_cxx_cross
13770 cat > conftest.$ac_ext <<EOF
13771 #line 13772 "configure
"
13772 #include "confdefs.h
"
13778 if { (eval echo configure:13779: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13780 glibcpp_cv_func__powl_use=yes
13782 echo "configure
: failed program was
:" >&5
13783 cat conftest.$ac_ext >&5
13785 glibcpp_cv_func__powl_use=no
13789 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13790 ac_cpp='$CPP $CPPFLAGS'
13791 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13792 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13793 cross_compiling=$ac_cv_prog_cc_cross
13799 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
13801 if test x$glibcpp_cv_func__powl_use = x"yes"; then
13802 for ac_func in _powl
13804 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13805 echo "configure
:13806: checking
for $ac_func" >&5
13806 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13807 echo $ac_n "(cached
) $ac_c" 1>&6
13809 cat > conftest.$ac_ext <<EOF
13810 #line 13811 "configure
"
13811 #include "confdefs.h
"
13812 /* System header to define __stub macros and hopefully few prototypes,
13813 which can conflict with char $ac_func(); below. */
13814 #include <assert.h>
13815 /* Override any gcc2 internal prototype to avoid an error. */
13816 /* We use char because int might match the return type of a gcc2
13817 builtin and then its argument prototype would still apply. */
13822 /* The GNU C library defines this for functions which it implements
13823 to always fail with ENOSYS. Some functions are actually named
13824 something starting with __ and the normal name is an alias. */
13825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13833 if { (eval echo configure:13834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13835 eval "ac_cv_func_
$ac_func=yes"
13837 echo "configure
: failed program was
:" >&5
13838 cat conftest.$ac_ext >&5
13840 eval "ac_cv_func_
$ac_func=no
"
13845 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13846 echo "$ac_t""yes" 1>&6
13847 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13848 cat >> confdefs.h <<EOF
13849 #define $ac_tr_func 1
13853 echo "$ac_t""no
" 1>&6
13862 echo $ac_n "checking
for sqrtl declaration
""...
$ac_c" 1>&6
13863 echo "configure
:13864: checking
for sqrtl declaration
" >&5
13864 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
13865 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
13866 echo $ac_n "(cached
) $ac_c" 1>&6
13871 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13872 ac_cpp='$CXXCPP $CPPFLAGS'
13873 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13874 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13875 cross_compiling=$ac_cv_prog_cxx_cross
13877 cat > conftest.$ac_ext <<EOF
13878 #line 13879 "configure
"
13879 #include "confdefs.h
"
13881 #ifdef HAVE_IEEEFP_H
13882 #include <ieeefp.h>
13889 if { (eval echo configure:13890: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13891 glibcpp_cv_func_sqrtl_use=yes
13893 echo "configure
: failed program was
:" >&5
13894 cat conftest.$ac_ext >&5
13896 glibcpp_cv_func_sqrtl_use=no
13900 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13901 ac_cpp='$CPP $CPPFLAGS'
13902 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13903 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13904 cross_compiling=$ac_cv_prog_cc_cross
13910 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
13912 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
13913 for ac_func in sqrtl
13915 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13916 echo "configure
:13917: checking
for $ac_func" >&5
13917 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13918 echo $ac_n "(cached
) $ac_c" 1>&6
13920 cat > conftest.$ac_ext <<EOF
13921 #line 13922 "configure
"
13922 #include "confdefs.h
"
13923 /* System header to define __stub macros and hopefully few prototypes,
13924 which can conflict with char $ac_func(); below. */
13925 #include <assert.h>
13926 /* Override any gcc2 internal prototype to avoid an error. */
13927 /* We use char because int might match the return type of a gcc2
13928 builtin and then its argument prototype would still apply. */
13933 /* The GNU C library defines this for functions which it implements
13934 to always fail with ENOSYS. Some functions are actually named
13935 something starting with __ and the normal name is an alias. */
13936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13944 if { (eval echo configure:13945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13946 eval "ac_cv_func_
$ac_func=yes"
13948 echo "configure
: failed program was
:" >&5
13949 cat conftest.$ac_ext >&5
13951 eval "ac_cv_func_
$ac_func=no
"
13956 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13957 echo "$ac_t""yes" 1>&6
13958 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13959 cat >> confdefs.h <<EOF
13960 #define $ac_tr_func 1
13964 echo "$ac_t""no
" 1>&6
13970 echo $ac_n "checking
for _sqrtl declaration
""...
$ac_c" 1>&6
13971 echo "configure
:13972: checking
for _sqrtl declaration
" >&5
13972 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
13973 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
13974 echo $ac_n "(cached
) $ac_c" 1>&6
13979 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13980 ac_cpp='$CXXCPP $CPPFLAGS'
13981 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13982 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13983 cross_compiling=$ac_cv_prog_cxx_cross
13985 cat > conftest.$ac_ext <<EOF
13986 #line 13987 "configure
"
13987 #include "confdefs.h
"
13989 #ifdef HAVE_IEEEFP_H
13990 #include <ieeefp.h>
13997 if { (eval echo configure:13998: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13999 glibcpp_cv_func__sqrtl_use=yes
14001 echo "configure
: failed program was
:" >&5
14002 cat conftest.$ac_ext >&5
14004 glibcpp_cv_func__sqrtl_use=no
14008 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14009 ac_cpp='$CPP $CPPFLAGS'
14010 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14011 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14012 cross_compiling=$ac_cv_prog_cc_cross
14018 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
14020 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
14021 for ac_func in _sqrtl
14023 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14024 echo "configure
:14025: checking
for $ac_func" >&5
14025 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14026 echo $ac_n "(cached
) $ac_c" 1>&6
14028 cat > conftest.$ac_ext <<EOF
14029 #line 14030 "configure
"
14030 #include "confdefs.h
"
14031 /* System header to define __stub macros and hopefully few prototypes,
14032 which can conflict with char $ac_func(); below. */
14033 #include <assert.h>
14034 /* Override any gcc2 internal prototype to avoid an error. */
14035 /* We use char because int might match the return type of a gcc2
14036 builtin and then its argument prototype would still apply. */
14041 /* The GNU C library defines this for functions which it implements
14042 to always fail with ENOSYS. Some functions are actually named
14043 something starting with __ and the normal name is an alias. */
14044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14052 if { (eval echo configure:14053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14054 eval "ac_cv_func_
$ac_func=yes"
14056 echo "configure
: failed program was
:" >&5
14057 cat conftest.$ac_ext >&5
14059 eval "ac_cv_func_
$ac_func=no
"
14064 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14065 echo "$ac_t""yes" 1>&6
14066 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14067 cat >> confdefs.h <<EOF
14068 #define $ac_tr_func 1
14072 echo "$ac_t""no
" 1>&6
14081 echo $ac_n "checking
for sincosl declaration
""...
$ac_c" 1>&6
14082 echo "configure
:14083: checking
for sincosl declaration
" >&5
14083 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
14084 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
14085 echo $ac_n "(cached
) $ac_c" 1>&6
14090 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14091 ac_cpp='$CXXCPP $CPPFLAGS'
14092 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14093 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14094 cross_compiling=$ac_cv_prog_cxx_cross
14096 cat > conftest.$ac_ext <<EOF
14097 #line 14098 "configure
"
14098 #include "confdefs.h
"
14104 if { (eval echo configure:14105: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14106 glibcpp_cv_func_sincosl_use=yes
14108 echo "configure
: failed program was
:" >&5
14109 cat conftest.$ac_ext >&5
14111 glibcpp_cv_func_sincosl_use=no
14115 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14116 ac_cpp='$CPP $CPPFLAGS'
14117 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14118 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14119 cross_compiling=$ac_cv_prog_cc_cross
14125 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
14127 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
14128 for ac_func in sincosl
14130 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14131 echo "configure
:14132: checking
for $ac_func" >&5
14132 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14133 echo $ac_n "(cached
) $ac_c" 1>&6
14135 cat > conftest.$ac_ext <<EOF
14136 #line 14137 "configure
"
14137 #include "confdefs.h
"
14138 /* System header to define __stub macros and hopefully few prototypes,
14139 which can conflict with char $ac_func(); below. */
14140 #include <assert.h>
14141 /* Override any gcc2 internal prototype to avoid an error. */
14142 /* We use char because int might match the return type of a gcc2
14143 builtin and then its argument prototype would still apply. */
14148 /* The GNU C library defines this for functions which it implements
14149 to always fail with ENOSYS. Some functions are actually named
14150 something starting with __ and the normal name is an alias. */
14151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14159 if { (eval echo configure:14160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14161 eval "ac_cv_func_
$ac_func=yes"
14163 echo "configure
: failed program was
:" >&5
14164 cat conftest.$ac_ext >&5
14166 eval "ac_cv_func_
$ac_func=no
"
14171 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14172 echo "$ac_t""yes" 1>&6
14173 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14174 cat >> confdefs.h <<EOF
14175 #define $ac_tr_func 1
14179 echo "$ac_t""no
" 1>&6
14185 echo $ac_n "checking
for _sincosl declaration
""...
$ac_c" 1>&6
14186 echo "configure
:14187: checking
for _sincosl declaration
" >&5
14187 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
14188 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
14189 echo $ac_n "(cached
) $ac_c" 1>&6
14194 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14195 ac_cpp='$CXXCPP $CPPFLAGS'
14196 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14197 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14198 cross_compiling=$ac_cv_prog_cxx_cross
14200 cat > conftest.$ac_ext <<EOF
14201 #line 14202 "configure
"
14202 #include "confdefs.h
"
14208 if { (eval echo configure:14209: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14210 glibcpp_cv_func__sincosl_use=yes
14212 echo "configure
: failed program was
:" >&5
14213 cat conftest.$ac_ext >&5
14215 glibcpp_cv_func__sincosl_use=no
14219 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14220 ac_cpp='$CPP $CPPFLAGS'
14221 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14222 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14223 cross_compiling=$ac_cv_prog_cc_cross
14229 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
14231 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
14232 for ac_func in _sincosl
14234 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14235 echo "configure
:14236: checking
for $ac_func" >&5
14236 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14237 echo $ac_n "(cached
) $ac_c" 1>&6
14239 cat > conftest.$ac_ext <<EOF
14240 #line 14241 "configure
"
14241 #include "confdefs.h
"
14242 /* System header to define __stub macros and hopefully few prototypes,
14243 which can conflict with char $ac_func(); below. */
14244 #include <assert.h>
14245 /* Override any gcc2 internal prototype to avoid an error. */
14246 /* We use char because int might match the return type of a gcc2
14247 builtin and then its argument prototype would still apply. */
14252 /* The GNU C library defines this for functions which it implements
14253 to always fail with ENOSYS. Some functions are actually named
14254 something starting with __ and the normal name is an alias. */
14255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14263 if { (eval echo configure:14264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14265 eval "ac_cv_func_
$ac_func=yes"
14267 echo "configure
: failed program was
:" >&5
14268 cat conftest.$ac_ext >&5
14270 eval "ac_cv_func_
$ac_func=no
"
14275 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14276 echo "$ac_t""yes" 1>&6
14277 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14278 cat >> confdefs.h <<EOF
14279 #define $ac_tr_func 1
14283 echo "$ac_t""no
" 1>&6
14292 echo $ac_n "checking
for finitel declaration
""...
$ac_c" 1>&6
14293 echo "configure
:14294: checking
for finitel declaration
" >&5
14294 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
14295 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
14296 echo $ac_n "(cached
) $ac_c" 1>&6
14301 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14302 ac_cpp='$CXXCPP $CPPFLAGS'
14303 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14304 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14305 cross_compiling=$ac_cv_prog_cxx_cross
14307 cat > conftest.$ac_ext <<EOF
14308 #line 14309 "configure
"
14309 #include "confdefs.h
"
14311 #ifdef HAVE_IEEEFP_H
14312 #include <ieeefp.h>
14319 if { (eval echo configure:14320: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14321 glibcpp_cv_func_finitel_use=yes
14323 echo "configure
: failed program was
:" >&5
14324 cat conftest.$ac_ext >&5
14326 glibcpp_cv_func_finitel_use=no
14330 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14331 ac_cpp='$CPP $CPPFLAGS'
14332 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14333 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14334 cross_compiling=$ac_cv_prog_cc_cross
14340 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
14342 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
14343 for ac_func in finitel
14345 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14346 echo "configure
:14347: checking
for $ac_func" >&5
14347 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14348 echo $ac_n "(cached
) $ac_c" 1>&6
14350 cat > conftest.$ac_ext <<EOF
14351 #line 14352 "configure
"
14352 #include "confdefs.h
"
14353 /* System header to define __stub macros and hopefully few prototypes,
14354 which can conflict with char $ac_func(); below. */
14355 #include <assert.h>
14356 /* Override any gcc2 internal prototype to avoid an error. */
14357 /* We use char because int might match the return type of a gcc2
14358 builtin and then its argument prototype would still apply. */
14363 /* The GNU C library defines this for functions which it implements
14364 to always fail with ENOSYS. Some functions are actually named
14365 something starting with __ and the normal name is an alias. */
14366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14374 if { (eval echo configure:14375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14376 eval "ac_cv_func_
$ac_func=yes"
14378 echo "configure
: failed program was
:" >&5
14379 cat conftest.$ac_ext >&5
14381 eval "ac_cv_func_
$ac_func=no
"
14386 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14387 echo "$ac_t""yes" 1>&6
14388 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14389 cat >> confdefs.h <<EOF
14390 #define $ac_tr_func 1
14394 echo "$ac_t""no
" 1>&6
14400 echo $ac_n "checking
for _finitel declaration
""...
$ac_c" 1>&6
14401 echo "configure
:14402: checking
for _finitel declaration
" >&5
14402 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
14403 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
14404 echo $ac_n "(cached
) $ac_c" 1>&6
14409 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14410 ac_cpp='$CXXCPP $CPPFLAGS'
14411 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14412 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14413 cross_compiling=$ac_cv_prog_cxx_cross
14415 cat > conftest.$ac_ext <<EOF
14416 #line 14417 "configure
"
14417 #include "confdefs.h
"
14419 #ifdef HAVE_IEEEFP_H
14420 #include <ieeefp.h>
14427 if { (eval echo configure:14428: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14429 glibcpp_cv_func__finitel_use=yes
14431 echo "configure
: failed program was
:" >&5
14432 cat conftest.$ac_ext >&5
14434 glibcpp_cv_func__finitel_use=no
14438 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14439 ac_cpp='$CPP $CPPFLAGS'
14440 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14441 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14442 cross_compiling=$ac_cv_prog_cc_cross
14448 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
14450 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
14451 for ac_func in _finitel
14453 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14454 echo "configure
:14455: checking
for $ac_func" >&5
14455 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14456 echo $ac_n "(cached
) $ac_c" 1>&6
14458 cat > conftest.$ac_ext <<EOF
14459 #line 14460 "configure
"
14460 #include "confdefs.h
"
14461 /* System header to define __stub macros and hopefully few prototypes,
14462 which can conflict with char $ac_func(); below. */
14463 #include <assert.h>
14464 /* Override any gcc2 internal prototype to avoid an error. */
14465 /* We use char because int might match the return type of a gcc2
14466 builtin and then its argument prototype would still apply. */
14471 /* The GNU C library defines this for functions which it implements
14472 to always fail with ENOSYS. Some functions are actually named
14473 something starting with __ and the normal name is an alias. */
14474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14482 if { (eval echo configure:14483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14484 eval "ac_cv_func_
$ac_func=yes"
14486 echo "configure
: failed program was
:" >&5
14487 cat conftest.$ac_ext >&5
14489 eval "ac_cv_func_
$ac_func=no
"
14494 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14495 echo "$ac_t""yes" 1>&6
14496 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14497 cat >> confdefs.h <<EOF
14498 #define $ac_tr_func 1
14502 echo "$ac_t""no
" 1>&6
14512 echo $ac_n "checking
for _float trig functions
""...
$ac_c" 1>&6
14513 echo "configure
:14514: checking
for _float trig functions
" >&5
14514 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
14515 echo $ac_n "(cached
) $ac_c" 1>&6
14520 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14521 ac_cpp='$CXXCPP $CPPFLAGS'
14522 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14523 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14524 cross_compiling=$ac_cv_prog_cxx_cross
14526 cat > conftest.$ac_ext <<EOF
14527 #line 14528 "configure
"
14528 #include "confdefs.h
"
14531 `for x in _acosf _asinf _atanf \
14532 _cosf _sinf _tanf \
14533 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
14536 if { (eval echo configure:14537: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14538 glibcpp_cv_func__float_trig_use=yes
14540 echo "configure
: failed program was
:" >&5
14541 cat conftest.$ac_ext >&5
14543 glibcpp_cv_func__float_trig_use=no
14547 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14548 ac_cpp='$CPP $CPPFLAGS'
14549 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14550 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14551 cross_compiling=$ac_cv_prog_cc_cross
14555 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
14556 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
14557 for ac_func in _acosf _asinf _atanf \
14558 _cosf _sinf _tanf \
14559 _coshf _sinhf _tanhf
14561 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14562 echo "configure
:14563: checking
for $ac_func" >&5
14563 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14564 echo $ac_n "(cached
) $ac_c" 1>&6
14566 cat > conftest.$ac_ext <<EOF
14567 #line 14568 "configure
"
14568 #include "confdefs.h
"
14569 /* System header to define __stub macros and hopefully few prototypes,
14570 which can conflict with char $ac_func(); below. */
14571 #include <assert.h>
14572 /* Override any gcc2 internal prototype to avoid an error. */
14573 /* We use char because int might match the return type of a gcc2
14574 builtin and then its argument prototype would still apply. */
14579 /* The GNU C library defines this for functions which it implements
14580 to always fail with ENOSYS. Some functions are actually named
14581 something starting with __ and the normal name is an alias. */
14582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14590 if { (eval echo configure:14591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14592 eval "ac_cv_func_
$ac_func=yes"
14594 echo "configure
: failed program was
:" >&5
14595 cat conftest.$ac_ext >&5
14597 eval "ac_cv_func_
$ac_func=no
"
14602 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14603 echo "$ac_t""yes" 1>&6
14604 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14605 cat >> confdefs.h <<EOF
14606 #define $ac_tr_func 1
14610 echo "$ac_t""no
" 1>&6
14617 echo $ac_n "checking
for _float round functions
""...
$ac_c" 1>&6
14618 echo "configure
:14619: checking
for _float round functions
" >&5
14619 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
14620 echo $ac_n "(cached
) $ac_c" 1>&6
14625 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14626 ac_cpp='$CXXCPP $CPPFLAGS'
14627 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14628 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14629 cross_compiling=$ac_cv_prog_cxx_cross
14631 cat > conftest.$ac_ext <<EOF
14632 #line 14633 "configure
"
14633 #include "confdefs.h
"
14636 `for x in _ceilf _floorf; do echo "$x (0);"; done`
14639 if { (eval echo configure:14640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14641 glibcpp_cv_func__float_round_use=yes
14643 echo "configure
: failed program was
:" >&5
14644 cat conftest.$ac_ext >&5
14646 glibcpp_cv_func__float_round_use=no
14650 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14651 ac_cpp='$CPP $CPPFLAGS'
14652 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14653 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14654 cross_compiling=$ac_cv_prog_cc_cross
14658 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
14659 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
14660 for ac_func in _ceilf _floorf
14662 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14663 echo "configure
:14664: checking
for $ac_func" >&5
14664 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14665 echo $ac_n "(cached
) $ac_c" 1>&6
14667 cat > conftest.$ac_ext <<EOF
14668 #line 14669 "configure
"
14669 #include "confdefs.h
"
14670 /* System header to define __stub macros and hopefully few prototypes,
14671 which can conflict with char $ac_func(); below. */
14672 #include <assert.h>
14673 /* Override any gcc2 internal prototype to avoid an error. */
14674 /* We use char because int might match the return type of a gcc2
14675 builtin and then its argument prototype would still apply. */
14680 /* The GNU C library defines this for functions which it implements
14681 to always fail with ENOSYS. Some functions are actually named
14682 something starting with __ and the normal name is an alias. */
14683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14691 if { (eval echo configure:14692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14693 eval "ac_cv_func_
$ac_func=yes"
14695 echo "configure
: failed program was
:" >&5
14696 cat conftest.$ac_ext >&5
14698 eval "ac_cv_func_
$ac_func=no
"
14703 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14704 echo "$ac_t""yes" 1>&6
14705 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14706 cat >> confdefs.h <<EOF
14707 #define $ac_tr_func 1
14711 echo "$ac_t""no
" 1>&6
14719 echo $ac_n "checking
for _long double trig functions
""...
$ac_c" 1>&6
14720 echo "configure
:14721: checking
for _long double trig functions
" >&5
14721 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
14722 echo $ac_n "(cached
) $ac_c" 1>&6
14727 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14728 ac_cpp='$CXXCPP $CPPFLAGS'
14729 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14730 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14731 cross_compiling=$ac_cv_prog_cxx_cross
14733 cat > conftest.$ac_ext <<EOF
14734 #line 14735 "configure
"
14735 #include "confdefs.h
"
14738 `for x in _acosl _asinl _atanl \
14739 _cosl _sinl _tanl \
14740 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
14743 if { (eval echo configure:14744: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14745 glibcpp_cv_func__long_double_trig_use=yes
14747 echo "configure
: failed program was
:" >&5
14748 cat conftest.$ac_ext >&5
14750 glibcpp_cv_func__long_double_trig_use=no
14754 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14755 ac_cpp='$CPP $CPPFLAGS'
14756 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14757 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14758 cross_compiling=$ac_cv_prog_cc_cross
14762 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
14763 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
14764 for ac_func in _acosl _asinl _atanl \
14765 _cosl _sinl _tanl \
14766 _coshl _sinhl _tanhl
14768 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14769 echo "configure
:14770: checking
for $ac_func" >&5
14770 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14771 echo $ac_n "(cached
) $ac_c" 1>&6
14773 cat > conftest.$ac_ext <<EOF
14774 #line 14775 "configure
"
14775 #include "confdefs.h
"
14776 /* System header to define __stub macros and hopefully few prototypes,
14777 which can conflict with char $ac_func(); below. */
14778 #include <assert.h>
14779 /* Override any gcc2 internal prototype to avoid an error. */
14780 /* We use char because int might match the return type of a gcc2
14781 builtin and then its argument prototype would still apply. */
14786 /* The GNU C library defines this for functions which it implements
14787 to always fail with ENOSYS. Some functions are actually named
14788 something starting with __ and the normal name is an alias. */
14789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14797 if { (eval echo configure:14798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14799 eval "ac_cv_func_
$ac_func=yes"
14801 echo "configure
: failed program was
:" >&5
14802 cat conftest.$ac_ext >&5
14804 eval "ac_cv_func_
$ac_func=no
"
14809 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14810 echo "$ac_t""yes" 1>&6
14811 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14812 cat >> confdefs.h <<EOF
14813 #define $ac_tr_func 1
14817 echo "$ac_t""no
" 1>&6
14824 echo $ac_n "checking
for _long double round functions
""...
$ac_c" 1>&6
14825 echo "configure
:14826: checking
for _long double round functions
" >&5
14826 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
14827 echo $ac_n "(cached
) $ac_c" 1>&6
14832 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14833 ac_cpp='$CXXCPP $CPPFLAGS'
14834 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14835 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14836 cross_compiling=$ac_cv_prog_cxx_cross
14838 cat > conftest.$ac_ext <<EOF
14839 #line 14840 "configure
"
14840 #include "confdefs.h
"
14843 `for x in _ceill _floorl; do echo "$x (0);"; done`
14846 if { (eval echo configure:14847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14848 glibcpp_cv_func__long_double_round_use=yes
14850 echo "configure
: failed program was
:" >&5
14851 cat conftest.$ac_ext >&5
14853 glibcpp_cv_func__long_double_round_use=no
14857 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14858 ac_cpp='$CPP $CPPFLAGS'
14859 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14860 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14861 cross_compiling=$ac_cv_prog_cc_cross
14865 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
14866 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
14867 for ac_func in _ceill _floorl
14869 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14870 echo "configure
:14871: checking
for $ac_func" >&5
14871 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14872 echo $ac_n "(cached
) $ac_c" 1>&6
14874 cat > conftest.$ac_ext <<EOF
14875 #line 14876 "configure
"
14876 #include "confdefs.h
"
14877 /* System header to define __stub macros and hopefully few prototypes,
14878 which can conflict with char $ac_func(); below. */
14879 #include <assert.h>
14880 /* Override any gcc2 internal prototype to avoid an error. */
14881 /* We use char because int might match the return type of a gcc2
14882 builtin and then its argument prototype would still apply. */
14887 /* The GNU C library defines this for functions which it implements
14888 to always fail with ENOSYS. Some functions are actually named
14889 something starting with __ and the normal name is an alias. */
14890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14898 if { (eval echo configure:14899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14900 eval "ac_cv_func_
$ac_func=yes"
14902 echo "configure
: failed program was
:" >&5
14903 cat conftest.$ac_ext >&5
14905 eval "ac_cv_func_
$ac_func=no
"
14910 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14911 echo "$ac_t""yes" 1>&6
14912 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14913 cat >> confdefs.h <<EOF
14914 #define $ac_tr_func 1
14918 echo "$ac_t""no
" 1>&6
14925 LIBS="$ac_save_LIBS"
14926 CXXFLAGS="$ac_save_CXXFLAGS"
14929 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
14930 echo "configure
:14931: checking
for main
in -lm" >&5
14931 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
14932 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14933 echo $ac_n "(cached
) $ac_c" 1>&6
14935 ac_save_LIBS="$LIBS"
14937 cat > conftest.$ac_ext <<EOF
14938 #line 14939 "configure
"
14939 #include "confdefs.h
"
14945 if { (eval echo configure:14946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14947 eval "ac_cv_lib_
$ac_lib_var=yes"
14949 echo "configure
: failed program was
:" >&5
14950 cat conftest.$ac_ext >&5
14952 eval "ac_cv_lib_
$ac_lib_var=no
"
14955 LIBS="$ac_save_LIBS"
14958 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14959 echo "$ac_t""yes" 1>&6
14960 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
14961 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
14962 cat >> confdefs.h <<EOF
14963 #define $ac_tr_lib 1
14969 echo "$ac_t""no
" 1>&6
14972 for ac_func in nan hypot hypotf atan2f expf copysignf
14974 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14975 echo "configure
:14976: checking
for $ac_func" >&5
14976 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14977 echo $ac_n "(cached
) $ac_c" 1>&6
14979 cat > conftest.$ac_ext <<EOF
14980 #line 14981 "configure
"
14981 #include "confdefs.h
"
14982 /* System header to define __stub macros and hopefully few prototypes,
14983 which can conflict with char $ac_func(); below. */
14984 #include <assert.h>
14985 /* Override any gcc2 internal prototype to avoid an error. */
14986 /* We use char because int might match the return type of a gcc2
14987 builtin and then its argument prototype would still apply. */
14992 /* The GNU C library defines this for functions which it implements
14993 to always fail with ENOSYS. Some functions are actually named
14994 something starting with __ and the normal name is an alias. */
14995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15003 if { (eval echo configure:15004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15005 eval "ac_cv_func_
$ac_func=yes"
15007 echo "configure
: failed program was
:" >&5
15008 cat conftest.$ac_ext >&5
15010 eval "ac_cv_func_
$ac_func=no
"
15015 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15016 echo "$ac_t""yes" 1>&6
15017 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15018 cat >> confdefs.h <<EOF
15019 #define $ac_tr_func 1
15023 echo "$ac_t""no
" 1>&6
15024 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
15030 USE_COMPLEX_LONG_DOUBLE=no
15031 if test x$ac_cv_func_atan2l = x"yes" \
15032 && test x$ac_cv_func_copysignl = x"yes"; then
15033 USE_COMPLEX_LONG_DOUBLE=yes
15034 for ac_func in hypotl signbitl
15036 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15037 echo "configure
:15038: checking
for $ac_func" >&5
15038 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15039 echo $ac_n "(cached
) $ac_c" 1>&6
15041 cat > conftest.$ac_ext <<EOF
15042 #line 15043 "configure
"
15043 #include "confdefs.h
"
15044 /* System header to define __stub macros and hopefully few prototypes,
15045 which can conflict with char $ac_func(); below. */
15046 #include <assert.h>
15047 /* Override any gcc2 internal prototype to avoid an error. */
15048 /* We use char because int might match the return type of a gcc2
15049 builtin and then its argument prototype would still apply. */
15054 /* The GNU C library defines this for functions which it implements
15055 to always fail with ENOSYS. Some functions are actually named
15056 something starting with __ and the normal name is an alias. */
15057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15065 if { (eval echo configure:15066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15067 eval "ac_cv_func_
$ac_func=yes"
15069 echo "configure
: failed program was
:" >&5
15070 cat conftest.$ac_ext >&5
15072 eval "ac_cv_func_
$ac_func=no
"
15077 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15078 echo "$ac_t""yes" 1>&6
15079 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15080 cat >> confdefs.h <<EOF
15081 #define $ac_tr_func 1
15085 echo "$ac_t""no
" 1>&6
15086 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
15097 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
15098 echo "configure
:15099: checking
for mbstate_t
" >&5
15099 cat > conftest.$ac_ext <<EOF
15100 #line 15101 "configure
"
15101 #include "confdefs.h
"
15104 mbstate_t teststate;
15107 if { (eval echo configure:15108: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15111 echo "configure
: failed program was
:" >&5
15112 cat conftest.$ac_ext >&5
15117 echo "$ac_t""$have_mbstate_t" 1>&6
15118 if test x"$have_mbstate_t" = xyes; then
15119 cat >> confdefs.h <<\EOF
15120 #define HAVE_MBSTATE_T 1
15125 for ac_hdr in wchar.h
15127 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15128 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
15129 echo "configure
:15130: checking
for $ac_hdr" >&5
15130 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15131 echo $ac_n "(cached
) $ac_c" 1>&6
15133 cat > conftest.$ac_ext <<EOF
15134 #line 15135 "configure
"
15135 #include "confdefs.h
"
15138 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
15139 { (eval echo configure:15140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15140 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
15141 if test -z "$ac_err"; then
15143 eval "ac_cv_header_
$ac_safe=yes"
15146 echo "configure
: failed program was
:" >&5
15147 cat conftest.$ac_ext >&5
15149 eval "ac_cv_header_
$ac_safe=no
"
15153 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15154 echo "$ac_t""yes" 1>&6
15155 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15156 cat >> confdefs.h <<EOF
15157 #define $ac_tr_hdr 1
15161 echo "$ac_t""no
" 1>&6
15166 ac_safe=`echo "wctype.h
" | sed 'y%./+-%__p_%'`
15167 echo $ac_n "checking
for wctype.h
""...
$ac_c" 1>&6
15168 echo "configure
:15169: checking
for wctype.h
" >&5
15169 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15170 echo $ac_n "(cached
) $ac_c" 1>&6
15172 cat > conftest.$ac_ext <<EOF
15173 #line 15174 "configure
"
15174 #include "confdefs.h
"
15175 #include <wctype.h>
15177 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
15178 { (eval echo configure:15179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15179 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
15180 if test -z "$ac_err"; then
15182 eval "ac_cv_header_
$ac_safe=yes"
15185 echo "configure
: failed program was
:" >&5
15186 cat conftest.$ac_ext >&5
15188 eval "ac_cv_header_
$ac_safe=no
"
15192 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15193 echo "$ac_t""yes" 1>&6
15194 ac_has_wctype_h=yes
15196 echo "$ac_t""no
" 1>&6
15201 if test x"$ac_has_wchar_h" = xyes && test x"$ac_has_wctype_h" = xyes \
15202 && test x"$enable_c_mbchar" != xno; then
15204 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
15205 echo "configure
:15206: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
15206 cat > conftest.$ac_ext <<EOF
15207 #line 15208 "configure
"
15208 #include "confdefs.h
"
15211 int i = WCHAR_MIN; int j = WCHAR_MAX;
15214 if { (eval echo configure:15215: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15216 has_wchar_minmax=yes
15218 echo "configure
: failed program was
:" >&5
15219 cat conftest.$ac_ext >&5
15221 has_wchar_minmax=no
15224 echo "$ac_t""$has_wchar_minmax" 1>&6
15226 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
15227 echo "configure
:15228: checking
for WEOF
" >&5
15228 cat > conftest.$ac_ext <<EOF
15229 #line 15230 "configure
"
15230 #include "confdefs.h
"
15233 #include <stddef.h>
15238 if { (eval echo configure:15239: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15242 echo "configure
: failed program was
:" >&5
15243 cat conftest.$ac_ext >&5
15248 echo "$ac_t""$has_weof" 1>&6
15251 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
15253 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15254 echo "configure
:15255: checking
for $ac_func" >&5
15255 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15256 echo $ac_n "(cached
) $ac_c" 1>&6
15258 cat > conftest.$ac_ext <<EOF
15259 #line 15260 "configure
"
15260 #include "confdefs.h
"
15261 /* System header to define __stub macros and hopefully few prototypes,
15262 which can conflict with char $ac_func(); below. */
15263 #include <assert.h>
15264 /* Override any gcc2 internal prototype to avoid an error. */
15265 /* We use char because int might match the return type of a gcc2
15266 builtin and then its argument prototype would still apply. */
15271 /* The GNU C library defines this for functions which it implements
15272 to always fail with ENOSYS. Some functions are actually named
15273 something starting with __ and the normal name is an alias. */
15274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15282 if { (eval echo configure:15283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15284 eval "ac_cv_func_
$ac_func=yes"
15286 echo "configure
: failed program was
:" >&5
15287 cat conftest.$ac_ext >&5
15289 eval "ac_cv_func_
$ac_func=no
"
15294 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15295 echo "$ac_t""yes" 1>&6
15296 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15297 cat >> confdefs.h <<EOF
15298 #define $ac_tr_func 1
15302 echo "$ac_t""no
" 1>&6
15309 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
15310 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
15311 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
15312 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
15313 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
15314 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
15316 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15317 echo "configure
:15318: checking
for $ac_func" >&5
15318 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15319 echo $ac_n "(cached
) $ac_c" 1>&6
15321 cat > conftest.$ac_ext <<EOF
15322 #line 15323 "configure
"
15323 #include "confdefs.h
"
15324 /* System header to define __stub macros and hopefully few prototypes,
15325 which can conflict with char $ac_func(); below. */
15326 #include <assert.h>
15327 /* Override any gcc2 internal prototype to avoid an error. */
15328 /* We use char because int might match the return type of a gcc2
15329 builtin and then its argument prototype would still apply. */
15334 /* The GNU C library defines this for functions which it implements
15335 to always fail with ENOSYS. Some functions are actually named
15336 something starting with __ and the normal name is an alias. */
15337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15345 if { (eval echo configure:15346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15347 eval "ac_cv_func_
$ac_func=yes"
15349 echo "configure
: failed program was
:" >&5
15350 cat conftest.$ac_ext >&5
15352 eval "ac_cv_func_
$ac_func=no
"
15357 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15358 echo "$ac_t""yes" 1>&6
15359 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15360 cat >> confdefs.h <<EOF
15361 #define $ac_tr_func 1
15365 echo "$ac_t""no
" 1>&6
15372 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
15373 echo "configure
:15374: checking
for ISO C99 wchar_t support
" >&5
15374 if test x"$has_weof" = xyes && test x"$has_wchar_minmax" = xyes \
15375 && test x"$ac_wfuncs" = xyes; then
15376 ac_isoC99_wchar_t=yes
15378 ac_isoC99_wchar_t=no
15380 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
15382 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
15383 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
15384 echo "configure
:15385: checking
for iconv.h
" >&5
15385 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15386 echo $ac_n "(cached
) $ac_c" 1>&6
15388 cat > conftest.$ac_ext <<EOF
15389 #line 15390 "configure
"
15390 #include "confdefs.h
"
15393 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
15394 { (eval echo configure:15395: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15395 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
15396 if test -z "$ac_err"; then
15398 eval "ac_cv_header_
$ac_safe=yes"
15401 echo "configure
: failed program was
:" >&5
15402 cat conftest.$ac_ext >&5
15404 eval "ac_cv_header_
$ac_safe=no
"
15408 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15409 echo "$ac_t""yes" 1>&6
15412 echo "$ac_t""no
" 1>&6
15416 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
15417 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
15418 echo "configure
:15419: checking
for langinfo.h
" >&5
15419 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15420 echo $ac_n "(cached
) $ac_c" 1>&6
15422 cat > conftest.$ac_ext <<EOF
15423 #line 15424 "configure
"
15424 #include "confdefs.h
"
15425 #include <langinfo.h>
15427 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
15428 { (eval echo configure:15429: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15429 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
15430 if test -z "$ac_err"; then
15432 eval "ac_cv_header_
$ac_safe=yes"
15435 echo "configure
: failed program was
:" >&5
15436 cat conftest.$ac_ext >&5
15438 eval "ac_cv_header_
$ac_safe=no
"
15442 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15443 echo "$ac_t""yes" 1>&6
15444 ac_has_langinfo_h=yes
15446 echo "$ac_t""no
" 1>&6
15447 ac_has_langinfo_h=no
15451 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
15452 echo "configure
:15453: checking
for iconv in -liconv" >&5
15453 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
15454 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15455 echo $ac_n "(cached
) $ac_c" 1>&6
15457 ac_save_LIBS="$LIBS"
15458 LIBS="-liconv $LIBS"
15459 cat > conftest.$ac_ext <<EOF
15460 #line 15461 "configure
"
15461 #include "confdefs.h
"
15462 /* Override any gcc2 internal prototype to avoid an error. */
15463 /* We use char because int might match the return type of a gcc2
15464 builtin and then its argument prototype would still apply. */
15471 if { (eval echo configure:15472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15473 eval "ac_cv_lib_
$ac_lib_var=yes"
15475 echo "configure
: failed program was
:" >&5
15476 cat conftest.$ac_ext >&5
15478 eval "ac_cv_lib_
$ac_lib_var=no
"
15481 LIBS="$ac_save_LIBS"
15484 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15485 echo "$ac_t""yes" 1>&6
15488 echo "$ac_t""no
" 1>&6
15491 ac_save_LIBS="$LIBS"
15492 LIBS="$LIBS $libiconv"
15494 for ac_func in iconv_open iconv_close iconv nl_langinfo
15496 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15497 echo "configure
:15498: checking
for $ac_func" >&5
15498 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15499 echo $ac_n "(cached
) $ac_c" 1>&6
15501 cat > conftest.$ac_ext <<EOF
15502 #line 15503 "configure
"
15503 #include "confdefs.h
"
15504 /* System header to define __stub macros and hopefully few prototypes,
15505 which can conflict with char $ac_func(); below. */
15506 #include <assert.h>
15507 /* Override any gcc2 internal prototype to avoid an error. */
15508 /* We use char because int might match the return type of a gcc2
15509 builtin and then its argument prototype would still apply. */
15514 /* The GNU C library defines this for functions which it implements
15515 to always fail with ENOSYS. Some functions are actually named
15516 something starting with __ and the normal name is an alias. */
15517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15525 if { (eval echo configure:15526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15527 eval "ac_cv_func_
$ac_func=yes"
15529 echo "configure
: failed program was
:" >&5
15530 cat conftest.$ac_ext >&5
15532 eval "ac_cv_func_
$ac_func=no
"
15537 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15538 echo "$ac_t""yes" 1>&6
15539 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15540 cat >> confdefs.h <<EOF
15541 #define $ac_tr_func 1
15546 echo "$ac_t""no
" 1>&6
15552 LIBS="$ac_save_LIBS"
15554 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
15555 echo "configure
:15556: checking
for XPG2 wchar_t support
" >&5
15556 if test x"$ac_has_iconv_h" = xyes && test x"$ac_has_langinfo_h" = xyes \
15557 && test x"$ac_XPG2funcs" = xyes; then
15558 ac_XPG2_wchar_t=yes
15562 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
15564 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
15565 echo "configure
:15566: checking
for enabled wchar_t specializations
" >&5
15566 if test x"$ac_isoC99_wchar_t" = xyes \
15567 && test x"$ac_XPG2_wchar_t" = xyes; then
15568 cat >> confdefs.h <<\EOF
15569 #define _GLIBCPP_USE_WCHAR_T 1
15572 echo "$ac_t"""yes"" 1>&6
15574 echo "$ac_t"""no"" 1>&6
15577 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
15581 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15582 ac_save_CXXFLAGS="$CXXFLAGS"
15583 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
15586 echo $ac_n "checking
for strtold declaration
""...
$ac_c" 1>&6
15587 echo "configure
:15588: checking
for strtold declaration
" >&5
15588 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
15589 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
15590 echo $ac_n "(cached
) $ac_c" 1>&6
15595 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15596 ac_cpp='$CXXCPP $CPPFLAGS'
15597 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15598 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15599 cross_compiling=$ac_cv_prog_cxx_cross
15601 cat > conftest.$ac_ext <<EOF
15602 #line 15603 "configure
"
15603 #include "confdefs.h
"
15604 #include <stdlib.h>
15609 if { (eval echo configure:15610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15611 glibcpp_cv_func_strtold_use=yes
15613 echo "configure
: failed program was
:" >&5
15614 cat conftest.$ac_ext >&5
15616 glibcpp_cv_func_strtold_use=no
15620 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15621 ac_cpp='$CPP $CPPFLAGS'
15622 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15623 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15624 cross_compiling=$ac_cv_prog_cc_cross
15630 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
15631 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
15632 for ac_func in strtold
15634 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15635 echo "configure
:15636: checking
for $ac_func" >&5
15636 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15637 echo $ac_n "(cached
) $ac_c" 1>&6
15639 cat > conftest.$ac_ext <<EOF
15640 #line 15641 "configure
"
15641 #include "confdefs.h
"
15642 /* System header to define __stub macros and hopefully few prototypes,
15643 which can conflict with char $ac_func(); below. */
15644 #include <assert.h>
15645 /* Override any gcc2 internal prototype to avoid an error. */
15646 /* We use char because int might match the return type of a gcc2
15647 builtin and then its argument prototype would still apply. */
15652 /* The GNU C library defines this for functions which it implements
15653 to always fail with ENOSYS. Some functions are actually named
15654 something starting with __ and the normal name is an alias. */
15655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15663 if { (eval echo configure:15664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15665 eval "ac_cv_func_
$ac_func=yes"
15667 echo "configure
: failed program was
:" >&5
15668 cat conftest.$ac_ext >&5
15670 eval "ac_cv_func_
$ac_func=no
"
15675 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15676 echo "$ac_t""yes" 1>&6
15677 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15678 cat >> confdefs.h <<EOF
15679 #define $ac_tr_func 1
15683 echo "$ac_t""no
" 1>&6
15689 for ac_func in drand48
15691 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15692 echo "configure
:15693: checking
for $ac_func" >&5
15693 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15694 echo $ac_n "(cached
) $ac_c" 1>&6
15696 cat > conftest.$ac_ext <<EOF
15697 #line 15698 "configure
"
15698 #include "confdefs.h
"
15699 /* System header to define __stub macros and hopefully few prototypes,
15700 which can conflict with char $ac_func(); below. */
15701 #include <assert.h>
15702 /* Override any gcc2 internal prototype to avoid an error. */
15703 /* We use char because int might match the return type of a gcc2
15704 builtin and then its argument prototype would still apply. */
15709 /* The GNU C library defines this for functions which it implements
15710 to always fail with ENOSYS. Some functions are actually named
15711 something starting with __ and the normal name is an alias. */
15712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15720 if { (eval echo configure:15721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15722 eval "ac_cv_func_
$ac_func=yes"
15724 echo "configure
: failed program was
:" >&5
15725 cat conftest.$ac_ext >&5
15727 eval "ac_cv_func_
$ac_func=no
"
15732 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15733 echo "$ac_t""yes" 1>&6
15734 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15735 cat >> confdefs.h <<EOF
15736 #define $ac_tr_func 1
15740 echo "$ac_t""no
" 1>&6
15745 CXXFLAGS="$ac_save_CXXFLAGS"
15748 cat > conftest.$ac_ext <<EOF
15749 #line 15750 "configure
"
15750 #include "confdefs.h
"
15752 #include <setjmp.h>
15755 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
15758 if { (eval echo configure:15759: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15760 cat >> confdefs.h <<\EOF
15761 #define HAVE_SIGSETJMP 1
15765 echo "configure
: failed program was
:" >&5
15766 cat conftest.$ac_ext >&5
15770 for ac_hdr in unistd.h
15772 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15773 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
15774 echo "configure
:15775: checking
for $ac_hdr" >&5
15775 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15776 echo $ac_n "(cached
) $ac_c" 1>&6
15778 cat > conftest.$ac_ext <<EOF
15779 #line 15780 "configure
"
15780 #include "confdefs.h
"
15783 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
15784 { (eval echo configure:15785: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15785 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
15786 if test -z "$ac_err"; then
15788 eval "ac_cv_header_
$ac_safe=yes"
15791 echo "configure
: failed program was
:" >&5
15792 cat conftest.$ac_ext >&5
15794 eval "ac_cv_header_
$ac_safe=no
"
15798 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15799 echo "$ac_t""yes" 1>&6
15800 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15801 cat >> confdefs.h <<EOF
15802 #define $ac_tr_hdr 1
15806 echo "$ac_t""no
" 1>&6
15810 for ac_func in getpagesize
15812 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15813 echo "configure
:15814: checking
for $ac_func" >&5
15814 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15815 echo $ac_n "(cached
) $ac_c" 1>&6
15817 cat > conftest.$ac_ext <<EOF
15818 #line 15819 "configure
"
15819 #include "confdefs.h
"
15820 /* System header to define __stub macros and hopefully few prototypes,
15821 which can conflict with char $ac_func(); below. */
15822 #include <assert.h>
15823 /* Override any gcc2 internal prototype to avoid an error. */
15824 /* We use char because int might match the return type of a gcc2
15825 builtin and then its argument prototype would still apply. */
15830 /* The GNU C library defines this for functions which it implements
15831 to always fail with ENOSYS. Some functions are actually named
15832 something starting with __ and the normal name is an alias. */
15833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15841 if { (eval echo configure:15842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15843 eval "ac_cv_func_
$ac_func=yes"
15845 echo "configure
: failed program was
:" >&5
15846 cat conftest.$ac_ext >&5
15848 eval "ac_cv_func_
$ac_func=no
"
15853 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15854 echo "$ac_t""yes" 1>&6
15855 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15856 cat >> confdefs.h <<EOF
15857 #define $ac_tr_func 1
15861 echo "$ac_t""no
" 1>&6
15865 echo $ac_n "checking
for working mmap
""...
$ac_c" 1>&6
15866 echo "configure
:15867: checking
for working mmap
" >&5
15867 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
15868 echo $ac_n "(cached
) $ac_c" 1>&6
15870 if test "$cross_compiling" = yes; then
15871 ac_cv_func_mmap_fixed_mapped=no
15873 cat > conftest.$ac_ext <<EOF
15874 #line 15875 "configure
"
15875 #include "confdefs.h
"
15877 /* Thanks to Mike Haertel and Jim Avera for this test.
15878 Here is a matrix of mmap possibilities:
15879 mmap private not fixed
15880 mmap private fixed at somewhere currently unmapped
15881 mmap private fixed at somewhere already mapped
15882 mmap shared not fixed
15883 mmap shared fixed at somewhere currently unmapped
15884 mmap shared fixed at somewhere already mapped
15885 For private mappings, we should verify that changes cannot be read()
15886 back from the file, nor mmap's back from the file at a different
15887 address. (There have been systems where private was not correctly
15888 implemented like the infamous i386 svr4.0, and systems where the
15889 VM page cache was not coherent with the filesystem buffer cache
15890 like early versions of FreeBSD and possibly contemporary NetBSD.)
15891 For shared mappings, we should conversely verify that changes get
15892 propogated back to all the places they're supposed to be.
15894 Grep wants private fixed already mapped.
15895 The main things grep needs to know about mmap are:
15896 * does it exist and is it safe to write into the mmap'd area
15897 * how to use it (BSD variants) */
15898 #include <sys/types.h>
15900 #include <sys/mman.h>
15902 /* This mess was copied from the GNU getpagesize.h. */
15903 #ifndef HAVE_GETPAGESIZE
15904 # ifdef HAVE_UNISTD_H
15905 # include <unistd.h>
15908 /* Assume that all systems that can run configure have sys/param.h. */
15909 # ifndef HAVE_SYS_PARAM_H
15910 # define HAVE_SYS_PARAM_H 1
15913 # ifdef _SC_PAGESIZE
15914 # define getpagesize() sysconf(_SC_PAGESIZE)
15915 # else /* no _SC_PAGESIZE */
15916 # ifdef HAVE_SYS_PARAM_H
15917 # include <sys/param.h>
15918 # ifdef EXEC_PAGESIZE
15919 # define getpagesize() EXEC_PAGESIZE
15920 # else /* no EXEC_PAGESIZE */
15922 # define getpagesize() NBPG * CLSIZE
15925 # endif /* no CLSIZE */
15926 # else /* no NBPG */
15928 # define getpagesize() NBPC
15929 # else /* no NBPC */
15931 # define getpagesize() PAGESIZE
15932 # endif /* PAGESIZE */
15933 # endif /* no NBPC */
15934 # endif /* no NBPG */
15935 # endif /* no EXEC_PAGESIZE */
15936 # else /* no HAVE_SYS_PARAM_H */
15937 # define getpagesize() 8192 /* punt totally */
15938 # endif /* no HAVE_SYS_PARAM_H */
15939 # endif /* no _SC_PAGESIZE */
15941 #endif /* no HAVE_GETPAGESIZE */
15944 extern "C
" { void *malloc(unsigned); }
15952 char *data, *data2, *data3;
15956 pagesize = getpagesize();
15959 * First, make a file with some known garbage in it.
15961 data = malloc(pagesize);
15964 for (i = 0; i < pagesize; ++i)
15965 *(data + i) = rand();
15967 fd = creat("conftestmmap
", 0600);
15970 if (write(fd, data, pagesize) != pagesize)
15975 * Next, try to mmap the file at a fixed address which
15976 * already has something else allocated at it. If we can,
15977 * also make sure that we see the same garbage.
15979 fd = open("conftestmmap
", O_RDWR);
15982 data2 = malloc(2 * pagesize);
15985 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
15986 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
15987 MAP_PRIVATE | MAP_FIXED, fd, 0L))
15989 for (i = 0; i < pagesize; ++i)
15990 if (*(data + i) != *(data2 + i))
15994 * Finally, make sure that changes to the mapped area
15995 * do not percolate back to the file as seen by read().
15996 * (This is a bug on some variants of i386 svr4.0.)
15998 for (i = 0; i < pagesize; ++i)
15999 *(data2 + i) = *(data2 + i) + 1;
16000 data3 = malloc(pagesize);
16003 if (read(fd, data3, pagesize) != pagesize)
16005 for (i = 0; i < pagesize; ++i)
16006 if (*(data + i) != *(data3 + i))
16009 unlink("conftestmmap
");
16014 if { (eval echo configure:16015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
16016 ac_cv_func_mmap_fixed_mapped=yes
16018 echo "configure
: failed program was
:" >&5
16019 cat conftest.$ac_ext >&5
16021 ac_cv_func_mmap_fixed_mapped=no
16028 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
16029 if test $ac_cv_func_mmap_fixed_mapped = yes; then
16030 cat >> confdefs.h <<\EOF
16031 #define HAVE_MMAP 1
16038 # Now that ctype is determined for all possible targets, we can do this...
16046 if test "$NULL_TARGET" = yes; then
16048 NULL_TARGET_FALSE='#'
16050 NULL_TARGET_TRUE='#'
16055 if test "$NATIVE" = yes || test "$NULL_TARGET" = yes; then
16064 if test "$CANADIAN" = yes; then
16072 cat > confcache <<\EOF
16073 # This file is a shell script that caches the results of configure
16074 # tests run on this system so they can be shared between configure
16075 # scripts and configure runs. It is not useful on other systems.
16076 # If it contains results you don't want to keep, you may remove or edit it.
16078 # By default, configure uses ./config.cache as the cache file,
16079 # creating it if it does not exist already. You can give configure
16080 # the --cache-file=FILE option to use a different cache file; that is
16081 # what configure does when it calls configure scripts in
16082 # subdirectories, so they share the cache.
16083 # Giving --cache-file=/dev/null disables caching, for debugging configure.
16084 # config.status only pays attention to the cache file if you give it the
16085 # --recheck option to rerun configure.
16088 # The following way of writing the cache mishandles newlines in values,
16089 # but we know of no workaround that is simple, portable, and efficient.
16090 # So, don't put newlines in cache variables' values.
16091 # Ultrix sh set writes to stderr and can't be redirected directly,
16092 # and sets the high bit in the cache file unless we assign to the vars.
16094 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16096 # `set' does not quote correctly, so add quotes (double-quote substitution
16097 # turns \\\\ into \\, and sed turns \\ into \).
16099 -e "s
/'/'\\\\''/g
" \
16100 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
16103 # `set' quotes correctly as required by POSIX, so do not add quotes.
16104 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
16107 if cmp -s $cache_file confcache; then
16110 if test -w $cache_file; then
16111 echo "updating cache
$cache_file"
16112 cat confcache > $cache_file
16114 echo "not updating unwritable cache
$cache_file"
16120 ac_safe=`echo "locale.h
" | sed 'y%./+-%__p_%'`
16121 echo $ac_n "checking
for locale.h
""...
$ac_c" 1>&6
16122 echo "configure
:16123: checking
for locale.h
" >&5
16123 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16124 echo $ac_n "(cached
) $ac_c" 1>&6
16126 cat > conftest.$ac_ext <<EOF
16127 #line 16128 "configure
"
16128 #include "confdefs.h
"
16129 #include <locale.h>
16131 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
16132 { (eval echo configure:16133: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16133 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
16134 if test -z "$ac_err"; then
16136 eval "ac_cv_header_
$ac_safe=yes"
16139 echo "configure
: failed program was
:" >&5
16140 cat conftest.$ac_ext >&5
16142 eval "ac_cv_header_
$ac_safe=no
"
16146 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16147 echo "$ac_t""yes" 1>&6
16149 echo $ac_n "checking
for LC_MESSAGES
""...
$ac_c" 1>&6
16150 echo "configure
:16151: checking
for LC_MESSAGES
" >&5
16151 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
16152 echo $ac_n "(cached
) $ac_c" 1>&6
16154 cat > conftest.$ac_ext <<EOF
16155 #line 16156 "configure
"
16156 #include "confdefs.h
"
16157 #include <locale.h>
16162 if { (eval echo configure:16163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16164 ac_cv_val_LC_MESSAGES=yes
16166 echo "configure
: failed program was
:" >&5
16167 cat conftest.$ac_ext >&5
16169 ac_cv_val_LC_MESSAGES=no
16174 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
16175 if test $ac_cv_val_LC_MESSAGES = yes; then
16176 cat >> confdefs.h <<\EOF
16177 #define HAVE_LC_MESSAGES 1
16183 echo "$ac_t""no
" 1>&6
16188 if test "${multilib}" = "yes"; then
16189 multilib_arg="--enable-multilib"
16195 # Generate the various Makefiles, include files, and scripts.
16197 # Needed so that g++ can find the correct include subdir automatically.
16200 # Export all the install information
16203 glibcpp_toolexecdir=no
16204 glibcpp_toolexeclibdir=no
16206 # Export build and source directories.
16207 # These need to be absolute paths, yet at the same time need to
16208 # canonicalize only relative paths, because then amd will not unmount
16209 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
16210 glibcpp_builddir=`pwd`
16212 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
16213 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
16215 glibcpp_prefixdir=${prefix}
16217 echo $ac_n "checking
for interface version number
""...
$ac_c" 1>&6
16218 echo "configure
:16219: checking
for interface version number
" >&5
16219 libstdcxx_interface=$INTERFACE
16220 echo "$ac_t""$libstdcxx_interface" 1>&6
16222 # Process the option --with-gxx-include-dir=<path to include-files directory>
16223 echo $ac_n "checking
for --with-gxx-include-dir""...
$ac_c" 1>&6
16224 echo "configure
:16225: checking
for --with-gxx-include-dir" >&5
16225 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
16226 if test "${with_gxx_include_dir+set}" = set; then
16227 withval="$with_gxx_include_dir"
16228 case "${withval}" in
16230 { echo "configure
: error
: Missing directory
for --with-gxx-include-dir" 1>&2; exit 1; }
16237 gxx_include_dir=${withval}
16244 echo "$ac_t""$gxx_include_dir" 1>&6
16246 # Process the option "--enable-version-specific-runtime-libs"
16247 echo $ac_n "checking
for --enable-version-specific-runtime-libs""...
$ac_c" 1>&6
16248 echo "configure
:16249: checking
for --enable-version-specific-runtime-libs" >&5
16249 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
16250 if test "${enable_version_specific_runtime_libs+set}" = set; then
16251 enableval="$enable_version_specific_runtime_libs"
16252 version_specific_libs=yes
16253 # Need the gcc compiler version to know where to install libraries
16254 # and header files if --enable-version-specific-runtime-libs option
16256 gcc_version_trigger=${srcdir}/../gcc/version.c
16257 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
16258 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
16259 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/g++
16260 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
16261 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}
16264 version_specific_libs=no
16267 echo "$ac_t""$version_specific_libs" 1>&6
16269 # Default case for install directory for include files.
16270 if test x"$version_specific_libs" = x"no
" \
16271 && test x"$gxx_include_dir" = x"no
"; then
16272 gxx_include_dir='$(prefix)'/include/g++-${libstdcxx_interface}
16275 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
16276 # Install a library built with a cross compiler in tooldir, not libdir.
16277 if test x"$glibcpp_toolexecdir" = x"no
"; then
16278 if test -n "$with_cross_host" && test x"$with_cross_host" != x"no
"; then
16279 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
16280 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
16282 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
16283 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
16287 echo $ac_n "checking
for install location
""...
$ac_c" 1>&6
16288 echo "configure
:16289: checking
for install location
" >&5
16289 echo "$ac_t""$gxx_include_dir" 1>&6
16299 # Export all the include and flag information to makefiles.
16301 # Root level of the include sources.
16302 GLIBCPP_INCLUDE_DIR='$(top_srcdir)/include'
16304 # Can either use include/c or include/c_std to grab "C
" headers. This
16305 # variable is set to the include directory currently in use.
16306 # set with C_INCLUDE_DIR in GLIBCPP_ENABLE_CHEADERS
16308 # Passed down for canadian crosses.
16309 if test x"$CANADIAN" = xyes; then
16310 TOPLEVEL_INCLUDES='-I$(includedir)'
16313 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
16315 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
16317 #if GLIBCPP_NEED_LIBIO
16318 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
16320 #LIBIO_INCLUDES='-I$(top_srcdir)/libio'
16323 #if GLIBCPP_USE_CSHADOW
16324 # CSHADOW_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR) \
16325 # -I$(top_blddir)/cshadow'
16327 CSTD_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR)'
16330 # Now, export this to all the little Makefiles....
16339 # Optimization flags that are probably a good idea for thrill-seekers. Just
16340 # uncomment the lines below and make, everything else is ready to go...
16341 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
16345 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
16349 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
16350 grep "enable shared
" > /dev/null; then
16351 LIBSUPCXX_PICFLAGS=-prefer-pic
16353 LIBSUPCXX_PICFLAGS=
16357 # This should be done by mkincludedir, but hack around it now.
16359 echo "checking
for $blddir/include
"
16361 if test ! -d "$blddir/include
"; then
16362 mkdir "$blddir/include
"
16365 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
16366 # and libsupc++/Makefile.am so that multilib installs will end up
16367 # installed in the correct place. To work around this not being passed
16368 # down from config-ml.in -> top_srcdir/Makefile.am ->
16369 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
16371 cat > confcache <<\EOF
16372 # This file is a shell script that caches the results of configure
16373 # tests run on this system so they can be shared between configure
16374 # scripts and configure runs. It is not useful on other systems.
16375 # If it contains results you don't want to keep, you may remove or edit it.
16377 # By default, configure uses ./config.cache as the cache file,
16378 # creating it if it does not exist already. You can give configure
16379 # the --cache-file=FILE option to use a different cache file; that is
16380 # what configure does when it calls configure scripts in
16381 # subdirectories, so they share the cache.
16382 # Giving --cache-file=/dev/null disables caching, for debugging configure.
16383 # config.status only pays attention to the cache file if you give it the
16384 # --recheck option to rerun configure.
16387 # The following way of writing the cache mishandles newlines in values,
16388 # but we know of no workaround that is simple, portable, and efficient.
16389 # So, don't put newlines in cache variables' values.
16390 # Ultrix sh set writes to stderr and can't be redirected directly,
16391 # and sets the high bit in the cache file unless we assign to the vars.
16393 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16395 # `set' does not quote correctly, so add quotes (double-quote substitution
16396 # turns \\\\ into \\, and sed turns \\ into \).
16398 -e "s
/'/'\\\\''/g
" \
16399 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
16402 # `set' quotes correctly as required by POSIX, so do not add quotes.
16403 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
16406 if cmp -s $cache_file confcache; then
16409 if test -w $cache_file; then
16410 echo "updating cache
$cache_file"
16411 cat confcache > $cache_file
16413 echo "not updating unwritable cache
$cache_file"
16418 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
16420 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
16421 # Let make expand exec_prefix.
16422 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
16424 # Any assignment to VPATH causes Sun make to only execute
16425 # the first set of double-colon rules, so remove it if not needed.
16426 # If there is a colon in the path, we need to keep it.
16427 if test "x
$srcdir" = x.; then
16428 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
16431 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
16433 DEFS=-DHAVE_CONFIG_H
16435 # Without the ".
/", some shells look in PATH for config.status.
16436 : ${CONFIG_STATUS=./config.status}
16438 echo creating $CONFIG_STATUS
16439 rm -f $CONFIG_STATUS
16440 cat > $CONFIG_STATUS <<EOF
16442 # Generated automatically by configure.
16443 # Run this file to recreate the current configuration.
16444 # This directory was configured as follows,
16445 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16447 # $0 $ac_configure_args
16449 # Compiler output produced by configure, useful for debugging
16450 # configure, is in ./config.log if it exists.
16452 ac_cs_usage="Usage
: $CONFIG_STATUS [--recheck] [--version] [--help]"
16455 case "\
$ac_option" in
16456 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16457 echo "running \
${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
16458 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
16459 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
16460 echo "$CONFIG_STATUS generated by autoconf version
2.13"
16462 -help | --help | --hel | --he | --h)
16463 echo "\
$ac_cs_usage"; exit 0 ;;
16464 *) echo "\
$ac_cs_usage"; exit 1 ;;
16468 ac_given_srcdir=$srcdir
16469 ac_given_INSTALL="$INSTALL"
16471 trap 'rm -fr `echo "Makefile src
/Makefile libmath
/Makefile libio
/Makefile libsupc
++/Makefile testsuite
/Makefile mkcheck testsuite_flags config.h
" | sed "s
/:[^
]*//g
"` conftest*; exit 1' 1 2 15
16473 cat >> $CONFIG_STATUS <<EOF
16475 # Protect against being on the right side of a sed subst in config.status.
16476 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
16477 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
16481 s%@CFLAGS@%$CFLAGS%g
16482 s%@CPPFLAGS@%$CPPFLAGS%g
16483 s%@CXXFLAGS@%$CXXFLAGS%g
16484 s%@FFLAGS@%$FFLAGS%g
16486 s%@LDFLAGS@%$LDFLAGS%g
16488 s%@exec_prefix@%$exec_prefix%g
16489 s%@prefix@%$prefix%g
16490 s%@program_transform_name@%$program_transform_name%g
16491 s%@bindir@%$bindir%g
16492 s%@sbindir@%$sbindir%g
16493 s%@libexecdir@%$libexecdir%g
16494 s%@datadir@%$datadir%g
16495 s%@sysconfdir@%$sysconfdir%g
16496 s%@sharedstatedir@%$sharedstatedir%g
16497 s%@localstatedir@%$localstatedir%g
16498 s%@libdir@%$libdir%g
16499 s%@includedir@%$includedir%g
16500 s%@oldincludedir@%$oldincludedir%g
16501 s%@infodir@%$infodir%g
16502 s%@mandir@%$mandir%g
16503 s%@toplevel_srcdir@%$toplevel_srcdir%g
16505 s%@host_alias@%$host_alias%g
16506 s%@host_cpu@%$host_cpu%g
16507 s%@host_vendor@%$host_vendor%g
16508 s%@host_os@%$host_os%g
16509 s%@target@%$target%g
16510 s%@target_alias@%$target_alias%g
16511 s%@target_cpu@%$target_cpu%g
16512 s%@target_vendor@%$target_vendor%g
16513 s%@target_os@%$target_os%g
16515 s%@build_alias@%$build_alias%g
16516 s%@build_cpu@%$build_cpu%g
16517 s%@build_vendor@%$build_vendor%g
16518 s%@build_os@%$build_os%g
16519 s%@glibcpp_basedir@%$glibcpp_basedir%g
16520 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
16521 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
16522 s%@INSTALL_DATA@%$INSTALL_DATA%g
16523 s%@PACKAGE@%$PACKAGE%g
16524 s%@VERSION@%$VERSION%g
16525 s%@ACLOCAL@%$ACLOCAL%g
16526 s%@AUTOCONF@%$AUTOCONF%g
16527 s%@AUTOMAKE@%$AUTOMAKE%g
16528 s%@AUTOHEADER@%$AUTOHEADER%g
16529 s%@MAKEINFO@%$MAKEINFO%g
16530 s%@SET_MAKE@%$SET_MAKE%g
16532 s%@glibcpp_CXX@%$glibcpp_CXX%g
16535 s%@RANLIB@%$RANLIB%g
16536 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
16537 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
16539 s%@EXEEXT@%$EXEEXT%g
16541 s%@OBJEXT@%$OBJEXT%g
16543 s%@LIBTOOL@%$LIBTOOL%g
16544 s%@CXXCPP@%$CXXCPP%g
16545 s%@enable_shared@%$enable_shared%g
16546 s%@enable_static@%$enable_static%g
16547 s%@ifGNUmake@%$ifGNUmake%g
16548 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
16550 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
16551 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
16552 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
16553 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
16554 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
16555 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
16556 s%@libio_la@%$libio_la%g
16557 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
16558 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
16559 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
16560 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
16561 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
16562 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
16563 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
16564 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
16565 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
16566 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
16567 s%@WERROR@%$WERROR%g
16568 s%@NULL_TARGET_TRUE@%$NULL_TARGET_TRUE%g
16569 s%@NULL_TARGET_FALSE@%$NULL_TARGET_FALSE%g
16570 s%@NATIVE_TRUE@%$NATIVE_TRUE%g
16571 s%@NATIVE_FALSE@%$NATIVE_FALSE%g
16572 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
16573 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
16574 s%@glibcpp_builddir@%$glibcpp_builddir%g
16575 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
16576 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
16577 s%@gxx_include_dir@%$gxx_include_dir%g
16578 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
16579 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
16580 s%@GLIBCPP_INCLUDE_DIR@%$GLIBCPP_INCLUDE_DIR%g
16581 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
16582 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
16583 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
16584 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
16585 s%@CSTD_INCLUDES@%$CSTD_INCLUDES%g
16586 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
16587 s%@WARN_FLAGS@%$WARN_FLAGS%g
16588 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
16593 cat >> $CONFIG_STATUS <<\EOF
16595 # Split the substitutions into bite-sized pieces for seds with
16596 # small command number limits, like on Digital OSF/1 and HP-UX.
16597 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
16598 ac_file=1 # Number of current file.
16599 ac_beg=1 # First line for current file.
16600 ac_end=$ac_max_sed_cmds # Line after last line for current file.
16603 while $ac_more_lines; do
16604 if test $ac_beg -gt 1; then
16605 sed "1,${ac_beg}d
; ${ac_end}q
" conftest.subs > conftest.s$ac_file
16607 sed "${ac_end}q
" conftest.subs > conftest.s$ac_file
16609 if test ! -s conftest.s$ac_file; then
16610 ac_more_lines=false
16611 rm -f conftest.s$ac_file
16613 if test -z "$ac_sed_cmds"; then
16614 ac_sed_cmds="sed -f conftest.s
$ac_file"
16616 ac_sed_cmds="$ac_sed_cmds |
sed -f conftest.s
$ac_file"
16618 ac_file=`expr $ac_file + 1`
16620 ac_end=`expr $ac_end + $ac_max_sed_cmds`
16623 if test -z "$ac_sed_cmds"; then
16628 cat >> $CONFIG_STATUS <<EOF
16630 CONFIG_FILES=\${CONFIG_FILES-"Makefile src/Makefile libmath/Makefile libio/Makefile libsupc++/Makefile testsuite/Makefile mkcheck testsuite_flags"}
16632 cat >> $CONFIG_STATUS <<\EOF
16633 for ac_file in .. $CONFIG_FILES; do if test "x
$ac_file" != x..; then
16634 # Support "outfile
[:infile
[:infile...
]]", defaulting infile="outfile.
in".
16636 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
16637 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
16638 *) ac_file_in="${ac_file}.
in" ;;
16641 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
16643 # Remove last slash and all that follows it. Not all systems have dirname.
16644 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
16645 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
16646 # The file is in a subdirectory.
16647 test ! -d "$ac_dir" && mkdir "$ac_dir"
16648 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
16649 # A "..
/" for each directory in $ac_dir_suffix.
16650 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
16652 ac_dir_suffix= ac_dots=
16655 case "$ac_given_srcdir" in
16657 if test -z "$ac_dots"; then top_srcdir=.
16658 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
16659 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
16660 *) # Relative path.
16661 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
16662 top_srcdir="$ac_dots$ac_given_srcdir" ;;
16665 case "$ac_given_INSTALL" in
16666 [/$]*) INSTALL="$ac_given_INSTALL" ;;
16667 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
16670 echo creating "$ac_file"
16672 configure_input="Generated automatically from
`echo $ac_file_in|sed 's%.*/%%'` by configure.
"
16674 *Makefile*) ac_comsub="1i
\\
16675 # $configure_input" ;;
16679 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
16681 s%@configure_input@%$configure_input%g
16682 s%@srcdir@%$srcdir%g
16683 s%@top_srcdir@%$top_srcdir%g
16684 s%@INSTALL@%$INSTALL%g
16685 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
16689 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
16690 # NAME is the cpp macro being defined and VALUE is the value it is being given.
16692 # ac_d sets the value in "#define NAME VALUE" lines.
16693 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
16694 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
16697 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
16698 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16699 ac_uB
='\([ ]\)%\1#\2define\3'
16702 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
16703 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16704 ac_eB
='$%\1#\2define\3'
16708 if test "${CONFIG_HEADERS+set}" != set; then
16710 cat >> $CONFIG_STATUS <<EOF
16711 CONFIG_HEADERS="config.h"
16713 cat >> $CONFIG_STATUS <<\EOF
16715 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
16716 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16718 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
16719 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
16720 *) ac_file_in
="${ac_file}.in" ;;
16723 echo creating
$ac_file
16725 rm -f conftest.frag conftest.
in conftest.out
16726 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
16727 cat $ac_file_inputs > conftest.
in
16731 # Transform confdefs.h into a sed script conftest.vals that substitutes
16732 # the proper values into config.h.in to produce config.h. And first:
16733 # Protect against being on the right side of a sed subst in config.status.
16734 # Protect against being in an unquoted here document in config.status.
16735 rm -f conftest.vals
16736 cat > conftest.hdr
<<\EOF
16739 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
16743 sed -n -f conftest.hdr confdefs.h > conftest.vals
16746 # This sed command replaces #undef with comments. This is necessary, for
16747 # example, in the case of _POSIX_SOURCE, which is predefined and required
16748 # on some systems where configure will not decide to define it.
16749 cat >> conftest.vals <<\EOF
16750 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
16753 # Break up conftest.vals because some shells have a limit on
16754 # the size of here documents, and old seds have small limits too.
16756 rm -f conftest.tail
16759 ac_lines=`grep -c . conftest.vals
`
16760 # grep -c gives empty output for an empty file on some AIX systems.
16761 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
16762 # Write a limited-size here document to conftest.frag.
16763 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
16764 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
16766 sed -f conftest.frag conftest.in > conftest.out
16768 mv conftest.out conftest.in
16769 ' >> $CONFIG_STATUS
16770 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
16771 rm -f conftest.vals
16772 mv conftest.tail conftest.vals
16774 rm -f conftest.vals
16776 cat >> $CONFIG_STATUS <<\EOF
16777 rm -f conftest.frag conftest.h
16778 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
16779 cat conftest.in >> conftest.h
16781 if cmp -s $ac_file conftest.h 2>/dev/null; then
16782 echo "$ac_file is unchanged"
16785 # Remove last slash and all that follows it. Not all systems have dirname.
16786 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
16787 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
16788 # The file is in a subdirectory.
16789 test ! -d "$ac_dir" && mkdir "$ac_dir"
16792 mv conftest.h $ac_file
16798 cat >> $CONFIG_STATUS <<EOF
16799 ac_sources="$os_include_dir/bits/os_defines.h $CSTDIO_H $BASIC_FILE_H $BASIC_FILE_CC $CCODECVT_C $CLOCALE_H $CLOCALE_CC $toprel/gcc/gthr.h $toprel/gcc/gthr-single.h $toprel/gcc/gthr-$target_thread_file.h $os_include_dir/bits/ctype_base.h $os_include_dir/bits/ctype_inline.h $os_include_dir/bits/ctype_noninline.h $ATOMICITYH/bits/atomicity.h"
16800 ac_dests="include/bits/os_defines.h include/bits/c++io.h include/bits/basic_file_model.h src/basic_file.cc libio/c_codecvt.c include/bits/c++locale.h src/c++locale.cc include/bits/gthr.h-in include/bits/gthr-single.h-in include/bits/gthr-default.h-in \
16801 include/bits/ctype_base.h \
16802 include/bits/ctype_inline.h \
16803 include/bits/ctype_noninline.h include/bits/atomicity.h"
16806 cat >> $CONFIG_STATUS <<\EOF
16807 srcdir=$ac_given_srcdir
16808 while test -n "$ac_sources"; do
16809 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
16810 set $ac_sources; ac_source=$1; shift; ac_sources=$*
16812 echo "linking $srcdir/$ac_source to $ac_dest"
16814 if test ! -r $srcdir/$ac_source; then
16815 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
16819 # Make relative symlinks.
16820 # Remove last slash and all that follows it. Not all systems have dirname.
16821 ac_dest_dir=`echo $ac_dest|
sed 's%/[^/][^/]*$%%'`
16822 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
16823 # The dest file is in a subdirectory.
16824 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
16825 ac_dest_dir_suffix="/`echo $ac_dest_dir|
sed 's%^\./%%'`"
16826 # A "../" for each directory in $ac_dest_dir_suffix.
16827 ac_dots=`echo $ac_dest_dir_suffix|
sed 's%/[^/]*%../%g'`
16829 ac_dest_dir_suffix= ac_dots=
16833 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
16834 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
16837 # Make a symlink if possible; otherwise try a hard link.
16838 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
16839 ln $srcdir/$ac_source $ac_dest; then :
16841 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
16845 cat >> $CONFIG_STATUS <<EOF
16851 with_multisubdir=${with_multisubdir}
16852 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16853 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16854 glibcpp_basedir=${glibcpp_basedir}
16859 cat >> $CONFIG_STATUS <<\EOF
16860 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
16862 rm -f $d/gthr.h $d/gthr-single.h $d/gthr-default.h
16863 sed '/^#/s/\([A-Z_][A-Z_]*\)/_GLIBCPP_\1/g' <$d/gthr.h-in >$d/gthr.h
16864 sed 's/\(UNUSED\)/_GLIBCPP_\1/g' <$d/gthr-single.h-in \
16865 | sed 's/\(GCC[A-Z_]*_H\)/_GLIBCPP_\1/g' >$d/gthr-single.h
16866 sed 's/\(UNUSED\)/_GLIBCPP_\1/g' <$d/gthr-default.h-in \
16867 | sed 's/\(GCC[A-Z_]*_H\)/_GLIBCPP_\1/g' \
16868 | sed 's/\([A-Z_]*WEAK\)/_GLIBCPP_\1/g' >$d/gthr-default.h
16869 if test -n "$CONFIG_FILES"; then
16870 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
16871 grep '^MULTISUBDIR =' Makefile >> src/Makefile
16872 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
16875 chmod +x testsuite_flags
16879 chmod +x $CONFIG_STATUS
16880 rm -fr confdefs* $ac_clean_files
16881 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
16885 # Generate bits/c++config.h
16886 # NB: This must be the first generated file as others include it. . .
16887 $srcdir/mkc++config $blddir $srcdir
16889 # Generate bits/std_limits.h and src/limitsMEMBERS.cc
16890 if test ! -f stamp-limits; then
16891 $srcdir/mknumeric_limits $blddir $srcdir $xcompiling
16892 if test ! -f include/bits/std_limits.h; then
16893 echo "mknumeric_limits failed to execute properly: exiting"
16901 # Sanity checking & User-visible messages.
16902 # Checks down here, otherwise they get scrolled off before
16903 # the user will notice.
16905 # Trying to get more people to read documentation. Possibly remove
16906 # check and warn all the time. There is no "informational" AC_MSG_
16907 # macro, so these are going to be printed even when --quiet/--silent
16909 if test ! -f stamp-sanity-warned; then
16910 touch stamp-sanity-warned
16912 echo "Please make certain that you read the installation information here:"
16913 echo " faster => ${srcdir}/docs/install.html"
16914 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
16916 echo "and the configuration information here:"
16917 echo " faster => ${srcdir}/docs/configopts.html"
16918 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
16920 echo "before proceeding with ${_cv_gnu_make_command}."