top level:
[official-gcc.git] / libstdc++-v3 / configure
blob90dbacc9463d5fc0f9901f306a34fb9e8d20ba2d
1 #! /bin/sh
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.
10 # Defaults:
11 ac_help=
12 ac_default_prefix=/usr/local
13 # Any additions from configure.in:
14 ac_help="$ac_help
15 --with-target-subdir=SUBDIR
16 configuring in a subdirectory"
17 ac_help="$ac_help
18 --with-cross-host=HOST configuring with a cross compiler"
19 ac_help="$ac_help
20 --enable-multilib build hella library versions (default)"
21 ac_help="$ac_help
22 --enable-maintainer-mode enable make rules and dependencies not useful
23 (and sometimes confusing) to the casual installer"
24 ac_help="$ac_help
25 --enable-shared[=PKGS] build shared libraries [default=yes]"
26 ac_help="$ac_help
27 --enable-static[=PKGS] build static libraries [default=yes]"
28 ac_help="$ac_help
29 --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
30 ac_help="$ac_help
31 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
32 ac_help="$ac_help
33 --disable-libtool-lock avoid locking (might break parallel builds)"
34 ac_help="$ac_help
35 --with-pic try to use only PIC/non-PIC objects [default=use both]"
36 ac_help="$ac_help
37 --enable-debug extra debugging, turn off optimization [default=no]"
38 ac_help="$ac_help
39 --enable-cstdio enable GNU libio for target io package. (default)
40 --enable-cstdio=LIB use LIB target-speific io package."
41 ac_help="$ac_help
42 --enable-long-long turns on 'long long' [default=yes]"
43 ac_help="$ac_help
44 --enable-cshadow-headers construct "shadowed" C header files for
45 g++ [default=no]"
46 ac_help="$ac_help
47 --enable-threads enable thread usage for target GCC.
48 --enable-threads=LIB use LIB thread package for target GCC."
49 ac_help="$ac_help
50 --enable-cxx-flags=FLAGS pass compiler FLAGS when building library;
51 [default=none]"
53 # Initialize some variables set by options.
54 # The variables have the same names as the options, with
55 # dashes changed to underlines.
56 build=NONE
57 cache_file=./config.cache
58 exec_prefix=NONE
59 host=NONE
60 no_create=
61 nonopt=NONE
62 no_recursion=
63 prefix=NONE
64 program_prefix=NONE
65 program_suffix=NONE
66 program_transform_name=s,x,x,
67 silent=
68 site=
69 srcdir=
70 target=NONE
71 verbose=
72 x_includes=NONE
73 x_libraries=NONE
74 bindir='${exec_prefix}/bin'
75 sbindir='${exec_prefix}/sbin'
76 libexecdir='${exec_prefix}/libexec'
77 datadir='${prefix}/share'
78 sysconfdir='${prefix}/etc'
79 sharedstatedir='${prefix}/com'
80 localstatedir='${prefix}/var'
81 libdir='${exec_prefix}/lib'
82 includedir='${prefix}/include'
83 oldincludedir='/usr/include'
84 infodir='${prefix}/info'
85 mandir='${prefix}/man'
87 # Initialize some other variables.
88 subdirs=
89 MFLAGS= MAKEFLAGS=
90 SHELL=${CONFIG_SHELL-/bin/sh}
91 # Maximum number of lines to put in a shell here document.
92 ac_max_here_lines=12
94 ac_prev=
95 for ac_option
98 # If the previous option needs an argument, assign it.
99 if test -n "$ac_prev"; then
100 eval "$ac_prev=\$ac_option"
101 ac_prev=
102 continue
105 case "$ac_option" in
106 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
107 *) ac_optarg= ;;
108 esac
110 # Accept the important Cygnus configure options, so we can diagnose typos.
112 case "$ac_option" in
114 -bindir | --bindir | --bindi | --bind | --bin | --bi)
115 ac_prev=bindir ;;
116 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
117 bindir="$ac_optarg" ;;
119 -build | --build | --buil | --bui | --bu)
120 ac_prev=build ;;
121 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
122 build="$ac_optarg" ;;
124 -cache-file | --cache-file | --cache-fil | --cache-fi \
125 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
126 ac_prev=cache_file ;;
127 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
128 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
129 cache_file="$ac_optarg" ;;
131 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
132 ac_prev=datadir ;;
133 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
134 | --da=*)
135 datadir="$ac_optarg" ;;
137 -disable-* | --disable-*)
138 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
139 # Reject names that are not valid shell variable names.
140 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
141 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
143 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
144 eval "enable_${ac_feature}=no" ;;
146 -enable-* | --enable-*)
147 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
148 # Reject names that are not valid shell variable names.
149 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
150 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
152 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
153 case "$ac_option" in
154 *=*) ;;
155 *) ac_optarg=yes ;;
156 esac
157 eval "enable_${ac_feature}='$ac_optarg'" ;;
159 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
160 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
161 | --exec | --exe | --ex)
162 ac_prev=exec_prefix ;;
163 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
164 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
165 | --exec=* | --exe=* | --ex=*)
166 exec_prefix="$ac_optarg" ;;
168 -gas | --gas | --ga | --g)
169 # Obsolete; use --with-gas.
170 with_gas=yes ;;
172 -help | --help | --hel | --he)
173 # Omit some internal or obsolete options to make the list less imposing.
174 # This message is too long to be a string in the A/UX 3.1 sh.
175 cat << EOF
176 Usage: configure [options] [host]
177 Options: [defaults in brackets after descriptions]
178 Configuration:
179 --cache-file=FILE cache test results in FILE
180 --help print this message
181 --no-create do not create output files
182 --quiet, --silent do not print \`checking...' messages
183 --version print the version of autoconf that created configure
184 Directory and file names:
185 --prefix=PREFIX install architecture-independent files in PREFIX
186 [$ac_default_prefix]
187 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
188 [same as prefix]
189 --bindir=DIR user executables in DIR [EPREFIX/bin]
190 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
191 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
192 --datadir=DIR read-only architecture-independent data in DIR
193 [PREFIX/share]
194 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
195 --sharedstatedir=DIR modifiable architecture-independent data in DIR
196 [PREFIX/com]
197 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
198 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
199 --includedir=DIR C header files in DIR [PREFIX/include]
200 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
201 --infodir=DIR info documentation in DIR [PREFIX/info]
202 --mandir=DIR man documentation in DIR [PREFIX/man]
203 --srcdir=DIR find the sources in DIR [configure dir or ..]
204 --program-prefix=PREFIX prepend PREFIX to installed program names
205 --program-suffix=SUFFIX append SUFFIX to installed program names
206 --program-transform-name=PROGRAM
207 run sed PROGRAM on installed program names
209 cat << EOF
210 Host type:
211 --build=BUILD configure for building on BUILD [BUILD=HOST]
212 --host=HOST configure for HOST [guessed]
213 --target=TARGET configure for TARGET [TARGET=HOST]
214 Features and packages:
215 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
216 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
217 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
218 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
219 --x-includes=DIR X include files are in DIR
220 --x-libraries=DIR X library files are in DIR
222 if test -n "$ac_help"; then
223 echo "--enable and --with options recognized:$ac_help"
225 exit 0 ;;
227 -host | --host | --hos | --ho)
228 ac_prev=host ;;
229 -host=* | --host=* | --hos=* | --ho=*)
230 host="$ac_optarg" ;;
232 -includedir | --includedir | --includedi | --included | --include \
233 | --includ | --inclu | --incl | --inc)
234 ac_prev=includedir ;;
235 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
236 | --includ=* | --inclu=* | --incl=* | --inc=*)
237 includedir="$ac_optarg" ;;
239 -infodir | --infodir | --infodi | --infod | --info | --inf)
240 ac_prev=infodir ;;
241 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
242 infodir="$ac_optarg" ;;
244 -libdir | --libdir | --libdi | --libd)
245 ac_prev=libdir ;;
246 -libdir=* | --libdir=* | --libdi=* | --libd=*)
247 libdir="$ac_optarg" ;;
249 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
250 | --libexe | --libex | --libe)
251 ac_prev=libexecdir ;;
252 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
253 | --libexe=* | --libex=* | --libe=*)
254 libexecdir="$ac_optarg" ;;
256 -localstatedir | --localstatedir | --localstatedi | --localstated \
257 | --localstate | --localstat | --localsta | --localst \
258 | --locals | --local | --loca | --loc | --lo)
259 ac_prev=localstatedir ;;
260 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
261 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
262 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
263 localstatedir="$ac_optarg" ;;
265 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
266 ac_prev=mandir ;;
267 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
268 mandir="$ac_optarg" ;;
270 -nfp | --nfp | --nf)
271 # Obsolete; use --without-fp.
272 with_fp=no ;;
274 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
275 | --no-cr | --no-c)
276 no_create=yes ;;
278 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
279 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
280 no_recursion=yes ;;
282 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
283 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
284 | --oldin | --oldi | --old | --ol | --o)
285 ac_prev=oldincludedir ;;
286 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
287 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
288 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
289 oldincludedir="$ac_optarg" ;;
291 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
292 ac_prev=prefix ;;
293 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
294 prefix="$ac_optarg" ;;
296 -program-prefix | --program-prefix | --program-prefi | --program-pref \
297 | --program-pre | --program-pr | --program-p)
298 ac_prev=program_prefix ;;
299 -program-prefix=* | --program-prefix=* | --program-prefi=* \
300 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
301 program_prefix="$ac_optarg" ;;
303 -program-suffix | --program-suffix | --program-suffi | --program-suff \
304 | --program-suf | --program-su | --program-s)
305 ac_prev=program_suffix ;;
306 -program-suffix=* | --program-suffix=* | --program-suffi=* \
307 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
308 program_suffix="$ac_optarg" ;;
310 -program-transform-name | --program-transform-name \
311 | --program-transform-nam | --program-transform-na \
312 | --program-transform-n | --program-transform- \
313 | --program-transform | --program-transfor \
314 | --program-transfo | --program-transf \
315 | --program-trans | --program-tran \
316 | --progr-tra | --program-tr | --program-t)
317 ac_prev=program_transform_name ;;
318 -program-transform-name=* | --program-transform-name=* \
319 | --program-transform-nam=* | --program-transform-na=* \
320 | --program-transform-n=* | --program-transform-=* \
321 | --program-transform=* | --program-transfor=* \
322 | --program-transfo=* | --program-transf=* \
323 | --program-trans=* | --program-tran=* \
324 | --progr-tra=* | --program-tr=* | --program-t=*)
325 program_transform_name="$ac_optarg" ;;
327 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
328 | -silent | --silent | --silen | --sile | --sil)
329 silent=yes ;;
331 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
332 ac_prev=sbindir ;;
333 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
334 | --sbi=* | --sb=*)
335 sbindir="$ac_optarg" ;;
337 -sharedstatedir | --sharedstatedir | --sharedstatedi \
338 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
339 | --sharedst | --shareds | --shared | --share | --shar \
340 | --sha | --sh)
341 ac_prev=sharedstatedir ;;
342 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
343 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
344 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
345 | --sha=* | --sh=*)
346 sharedstatedir="$ac_optarg" ;;
348 -site | --site | --sit)
349 ac_prev=site ;;
350 -site=* | --site=* | --sit=*)
351 site="$ac_optarg" ;;
353 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
354 ac_prev=srcdir ;;
355 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
356 srcdir="$ac_optarg" ;;
358 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
359 | --syscon | --sysco | --sysc | --sys | --sy)
360 ac_prev=sysconfdir ;;
361 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
362 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
363 sysconfdir="$ac_optarg" ;;
365 -target | --target | --targe | --targ | --tar | --ta | --t)
366 ac_prev=target ;;
367 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
368 target="$ac_optarg" ;;
370 -v | -verbose | --verbose | --verbos | --verbo | --verb)
371 verbose=yes ;;
373 -version | --version | --versio | --versi | --vers)
374 echo "configure generated by autoconf version 2.13"
375 exit 0 ;;
377 -with-* | --with-*)
378 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
379 # Reject names that are not valid shell variable names.
380 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
381 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
383 ac_package=`echo $ac_package| sed 's/-/_/g'`
384 case "$ac_option" in
385 *=*) ;;
386 *) ac_optarg=yes ;;
387 esac
388 eval "with_${ac_package}='$ac_optarg'" ;;
390 -without-* | --without-*)
391 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
392 # Reject names that are not valid shell variable names.
393 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
394 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
396 ac_package=`echo $ac_package| sed 's/-/_/g'`
397 eval "with_${ac_package}=no" ;;
399 --x)
400 # Obsolete; use --with-x.
401 with_x=yes ;;
403 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
404 | --x-incl | --x-inc | --x-in | --x-i)
405 ac_prev=x_includes ;;
406 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
407 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
408 x_includes="$ac_optarg" ;;
410 -x-libraries | --x-libraries | --x-librarie | --x-librari \
411 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
412 ac_prev=x_libraries ;;
413 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
414 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
415 x_libraries="$ac_optarg" ;;
417 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
421 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
422 echo "configure: warning: $ac_option: invalid host type" 1>&2
424 if test "x$nonopt" != xNONE; then
425 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
427 nonopt="$ac_option"
430 esac
431 done
433 if test -n "$ac_prev"; then
434 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
437 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
439 # File descriptor usage:
440 # 0 standard input
441 # 1 file creation
442 # 2 errors and warnings
443 # 3 some systems may open it to /dev/tty
444 # 4 used on the Kubota Titan
445 # 6 checking for... messages and results
446 # 5 compiler messages saved in config.log
447 if test "$silent" = yes; then
448 exec 6>/dev/null
449 else
450 exec 6>&1
452 exec 5>./config.log
454 echo "\
455 This file contains any messages produced by compilers while
456 running configure, to aid debugging if configure makes a mistake.
457 " 1>&5
459 # Strip out --no-create and --no-recursion so they do not pile up.
460 # Also quote any args containing shell metacharacters.
461 ac_configure_args=
462 for ac_arg
464 case "$ac_arg" in
465 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
466 | --no-cr | --no-c) ;;
467 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
468 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
469 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
470 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
471 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
472 esac
473 done
475 # NLS nuisances.
476 # Only set these to C if already set. These must not be set unconditionally
477 # because not all systems understand e.g. LANG=C (notably SCO).
478 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
479 # Non-C LC_CTYPE values break the ctype check.
480 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
481 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
482 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
483 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
485 # confdefs.h avoids OS command line length limits that DEFS can exceed.
486 rm -rf conftest* confdefs.h
487 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
488 echo > confdefs.h
490 # A filename unique to this package, relative to the directory that
491 # configure is in, which we can look for to find out if srcdir is correct.
492 ac_unique_file=src/complex.cc
494 # Find the source files, if location was not specified.
495 if test -z "$srcdir"; then
496 ac_srcdir_defaulted=yes
497 # Try the directory containing this script, then its parent.
498 ac_prog=$0
499 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
500 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
501 srcdir=$ac_confdir
502 if test ! -r $srcdir/$ac_unique_file; then
503 srcdir=..
505 else
506 ac_srcdir_defaulted=no
508 if test ! -r $srcdir/$ac_unique_file; then
509 if test "$ac_srcdir_defaulted" = yes; then
510 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
511 else
512 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
515 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
517 # Prefer explicitly selected file to automatically selected ones.
518 if test -z "$CONFIG_SITE"; then
519 if test "x$prefix" != xNONE; then
520 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
521 else
522 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
525 for ac_site_file in $CONFIG_SITE; do
526 if test -r "$ac_site_file"; then
527 echo "loading site script $ac_site_file"
528 . "$ac_site_file"
530 done
532 if test -r "$cache_file"; then
533 echo "loading cache $cache_file"
534 . $cache_file
535 else
536 echo "creating cache $cache_file"
537 > $cache_file
540 ac_ext=c
541 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
542 ac_cpp='$CPP $CPPFLAGS'
543 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
544 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
545 cross_compiling=$ac_cv_prog_cc_cross
547 ac_exeext=
548 ac_objext=o
549 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
550 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
551 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
552 ac_n= ac_c='
553 ' ac_t=' '
554 else
555 ac_n=-n ac_c= ac_t=
557 else
558 ac_n= ac_c='\c' ac_t=
562 ac_aux_dir=
563 for ac_dir in .. $srcdir/..; do
564 if test -f $ac_dir/install-sh; then
565 ac_aux_dir=$ac_dir
566 ac_install_sh="$ac_aux_dir/install-sh -c"
567 break
568 elif test -f $ac_dir/install.sh; then
569 ac_aux_dir=$ac_dir
570 ac_install_sh="$ac_aux_dir/install.sh -c"
571 break
573 done
574 if test -z "$ac_aux_dir"; then
575 { echo "configure: error: can not find install-sh or install.sh in .. $srcdir/.." 1>&2; exit 1; }
577 ac_config_guess=$ac_aux_dir/config.guess
578 ac_config_sub=$ac_aux_dir/config.sub
579 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
582 # Gets and sets build, host, target, *_vendor, *_cpu, *_os, etc.
584 # Do some error checking and defaulting for the host and target type.
585 # The inputs are:
586 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
588 # The rules are:
589 # 1. You are not allowed to specify --host, --target, and nonopt at the
590 # same time.
591 # 2. Host defaults to nonopt.
592 # 3. If nonopt is not specified, then host defaults to the current host,
593 # as determined by config.guess.
594 # 4. Target and build default to nonopt.
595 # 5. If nonopt is not specified, then target and build default to host.
597 # The aliases save the names the user supplied, while $host etc.
598 # will get canonicalized.
599 case $host---$target---$nonopt in
600 NONE---*---* | *---NONE---* | *---*---NONE) ;;
601 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
602 esac
605 # Make sure we can run config.sub.
606 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
607 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
610 echo $ac_n "checking host system type""... $ac_c" 1>&6
611 echo "configure:612: checking host system type" >&5
613 host_alias=$host
614 case "$host_alias" in
615 NONE)
616 case $nonopt in
617 NONE)
618 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
619 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
620 fi ;;
621 *) host_alias=$nonopt ;;
622 esac ;;
623 esac
625 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
626 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
627 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
628 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
629 echo "$ac_t""$host" 1>&6
631 echo $ac_n "checking target system type""... $ac_c" 1>&6
632 echo "configure:633: checking target system type" >&5
634 target_alias=$target
635 case "$target_alias" in
636 NONE)
637 case $nonopt in
638 NONE) target_alias=$host_alias ;;
639 *) target_alias=$nonopt ;;
640 esac ;;
641 esac
643 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
644 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
645 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
646 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
647 echo "$ac_t""$target" 1>&6
649 echo $ac_n "checking build system type""... $ac_c" 1>&6
650 echo "configure:651: checking build system type" >&5
652 build_alias=$build
653 case "$build_alias" in
654 NONE)
655 case $nonopt in
656 NONE) build_alias=$host_alias ;;
657 *) build_alias=$nonopt ;;
658 esac ;;
659 esac
661 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
662 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
663 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
664 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
665 echo "$ac_t""$build" 1>&6
667 test "$host_alias" != "$target_alias" &&
668 test "$program_prefix$program_suffix$program_transform_name" = \
669 NONENONEs,x,x, &&
670 program_prefix=${target_alias}-
673 # We use these options to decide which functions to include.
674 # Check whether --with-target-subdir or --without-target-subdir was given.
675 if test "${with_target_subdir+set}" = set; then
676 withval="$with_target_subdir"
680 # Check whether --with-cross-host or --without-cross-host was given.
681 if test "${with_cross_host+set}" = set; then
682 withval="$with_cross_host"
687 # Find a good install program. We prefer a C program (faster),
688 # so one script is as good as another. But avoid the broken or
689 # incompatible versions:
690 # SysV /etc/install, /usr/sbin/install
691 # SunOS /usr/etc/install
692 # IRIX /sbin/install
693 # AIX /bin/install
694 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
695 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
696 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
697 # ./install, which can be erroneously created by make from ./install.sh.
698 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
699 echo "configure:700: checking for a BSD compatible install" >&5
700 if test -z "$INSTALL"; then
701 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
702 echo $ac_n "(cached) $ac_c" 1>&6
703 else
704 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
705 for ac_dir in $PATH; do
706 # Account for people who put trailing slashes in PATH elements.
707 case "$ac_dir/" in
708 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
710 # OSF1 and SCO ODT 3.0 have their own names for install.
711 # Don't use installbsd from OSF since it installs stuff as root
712 # by default.
713 for ac_prog in ginstall scoinst install; do
714 if test -f $ac_dir/$ac_prog; then
715 if test $ac_prog = install &&
716 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
717 # AIX install. It has an incompatible calling convention.
719 else
720 ac_cv_path_install="$ac_dir/$ac_prog -c"
721 break 2
724 done
726 esac
727 done
728 IFS="$ac_save_IFS"
731 if test "${ac_cv_path_install+set}" = set; then
732 INSTALL="$ac_cv_path_install"
733 else
734 # As a last resort, use the slow shell script. We don't cache a
735 # path for INSTALL within a source directory, because that will
736 # break other packages using the cache if that directory is
737 # removed, or if the path is relative.
738 INSTALL="$ac_install_sh"
741 echo "$ac_t""$INSTALL" 1>&6
743 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
744 # It thinks the first close brace ends the variable substitution.
745 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
747 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
749 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
751 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
752 echo "configure:753: checking whether build environment is sane" >&5
753 # Just in case
754 sleep 1
755 echo timestamp > conftestfile
756 # Do `set' in a subshell so we don't clobber the current shell's
757 # arguments. Must try -L first in case configure is actually a
758 # symlink; some systems play weird games with the mod time of symlinks
759 # (eg FreeBSD returns the mod time of the symlink's containing
760 # directory).
761 if (
762 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
763 if test "$*" = "X"; then
764 # -L didn't work.
765 set X `ls -t $srcdir/configure conftestfile`
767 if test "$*" != "X $srcdir/configure conftestfile" \
768 && test "$*" != "X conftestfile $srcdir/configure"; then
770 # If neither matched, then we have a broken ls. This can happen
771 # if, for instance, CONFIG_SHELL is bash and it inherits a
772 # broken ls alias from the environment. This has actually
773 # happened. Such a system could not be considered "sane".
774 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
775 alias in your environment" 1>&2; exit 1; }
778 test "$2" = conftestfile
780 then
781 # Ok.
783 else
784 { echo "configure: error: newly created file is older than distributed files!
785 Check your system clock" 1>&2; exit 1; }
787 rm -f conftest*
788 echo "$ac_t""yes" 1>&6
789 if test "$program_transform_name" = s,x,x,; then
790 program_transform_name=
791 else
792 # Double any \ or $. echo might interpret backslashes.
793 cat <<\EOF_SED > conftestsed
794 s,\\,\\\\,g; s,\$,$$,g
795 EOF_SED
796 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
797 rm -f conftestsed
799 test "$program_prefix" != NONE &&
800 program_transform_name="s,^,${program_prefix},; $program_transform_name"
801 # Use a double $ so make ignores it.
802 test "$program_suffix" != NONE &&
803 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
805 # sed with no file args requires a program.
806 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
808 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
809 echo "configure:810: checking whether ${MAKE-make} sets \${MAKE}" >&5
810 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
811 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
812 echo $ac_n "(cached) $ac_c" 1>&6
813 else
814 cat > conftestmake <<\EOF
815 all:
816 @echo 'ac_maketemp="${MAKE}"'
818 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
819 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
820 if test -n "$ac_maketemp"; then
821 eval ac_cv_prog_make_${ac_make}_set=yes
822 else
823 eval ac_cv_prog_make_${ac_make}_set=no
825 rm -f conftestmake
827 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
828 echo "$ac_t""yes" 1>&6
829 SET_MAKE=
830 else
831 echo "$ac_t""no" 1>&6
832 SET_MAKE="MAKE=${MAKE-make}"
835 if test $host != $build; then
836 ac_tool_prefix=${host_alias}-
837 else
838 ac_tool_prefix=
841 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
842 echo "configure:843: checking for Cygwin environment" >&5
843 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
844 echo $ac_n "(cached) $ac_c" 1>&6
845 else
846 cat > conftest.$ac_ext <<EOF
847 #line 848 "configure"
848 #include "confdefs.h"
850 int main() {
852 #ifndef __CYGWIN__
853 #define __CYGWIN__ __CYGWIN32__
854 #endif
855 return __CYGWIN__;
856 ; return 0; }
858 if { (eval echo configure:859: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
859 rm -rf conftest*
860 ac_cv_cygwin=yes
861 else
862 echo "configure: failed program was:" >&5
863 cat conftest.$ac_ext >&5
864 rm -rf conftest*
865 ac_cv_cygwin=no
867 rm -f conftest*
868 rm -f conftest*
871 echo "$ac_t""$ac_cv_cygwin" 1>&6
872 CYGWIN=
873 test "$ac_cv_cygwin" = yes && CYGWIN=yes
874 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
875 echo "configure:876: checking for mingw32 environment" >&5
876 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
877 echo $ac_n "(cached) $ac_c" 1>&6
878 else
879 cat > conftest.$ac_ext <<EOF
880 #line 881 "configure"
881 #include "confdefs.h"
883 int main() {
884 return __MINGW32__;
885 ; return 0; }
887 if { (eval echo configure:888: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
888 rm -rf conftest*
889 ac_cv_mingw32=yes
890 else
891 echo "configure: failed program was:" >&5
892 cat conftest.$ac_ext >&5
893 rm -rf conftest*
894 ac_cv_mingw32=no
896 rm -f conftest*
897 rm -f conftest*
900 echo "$ac_t""$ac_cv_mingw32" 1>&6
901 MINGW32=
902 test "$ac_cv_mingw32" = yes && MINGW32=yes
904 # Check whether --enable-multilib or --disable-multilib was given.
905 if test "${enable_multilib+set}" = set; then
906 enableval="$enable_multilib"
907 case "${enableval}" in
908 yes) multilib=yes ;;
909 no) multilib=no ;;
910 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
911 esac
912 else
913 multilib=yes
916 if test "${srcdir}" = "."; then
917 if test "${with_target_subdir}" != "."; then
918 glibcpp_basedir="${srcdir}/${with_multisrctop}../."
919 else
920 glibcpp_basedir="${srcdir}/${with_multisrctop}."
922 else
923 glibcpp_basedir="${srcdir}/."
928 PACKAGE=libstdc++
930 VERSION=2.90.8
932 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
933 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
935 cat >> confdefs.h <<EOF
936 #define PACKAGE "$PACKAGE"
939 cat >> confdefs.h <<EOF
940 #define VERSION "$VERSION"
945 missing_dir=`cd $ac_aux_dir && pwd`
946 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
947 echo "configure:948: checking for working aclocal" >&5
948 # Run test in a subshell; some versions of sh will print an error if
949 # an executable is not found, even if stderr is redirected.
950 # Redirect stdin to placate older versions of autoconf. Sigh.
951 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
952 ACLOCAL=aclocal
953 echo "$ac_t""found" 1>&6
954 else
955 ACLOCAL="$missing_dir/missing aclocal"
956 echo "$ac_t""missing" 1>&6
959 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
960 echo "configure:961: checking for working autoconf" >&5
961 # Run test in a subshell; some versions of sh will print an error if
962 # an executable is not found, even if stderr is redirected.
963 # Redirect stdin to placate older versions of autoconf. Sigh.
964 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
965 AUTOCONF=autoconf
966 echo "$ac_t""found" 1>&6
967 else
968 AUTOCONF="$missing_dir/missing autoconf"
969 echo "$ac_t""missing" 1>&6
972 echo $ac_n "checking for working automake""... $ac_c" 1>&6
973 echo "configure:974: checking for working automake" >&5
974 # Run test in a subshell; some versions of sh will print an error if
975 # an executable is not found, even if stderr is redirected.
976 # Redirect stdin to placate older versions of autoconf. Sigh.
977 if (automake --version) < /dev/null > /dev/null 2>&1; then
978 AUTOMAKE=automake
979 echo "$ac_t""found" 1>&6
980 else
981 AUTOMAKE="$missing_dir/missing automake"
982 echo "$ac_t""missing" 1>&6
985 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
986 echo "configure:987: checking for working autoheader" >&5
987 # Run test in a subshell; some versions of sh will print an error if
988 # an executable is not found, even if stderr is redirected.
989 # Redirect stdin to placate older versions of autoconf. Sigh.
990 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
991 AUTOHEADER=autoheader
992 echo "$ac_t""found" 1>&6
993 else
994 AUTOHEADER="$missing_dir/missing autoheader"
995 echo "$ac_t""missing" 1>&6
998 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
999 echo "configure:1000: checking for working makeinfo" >&5
1000 # Run test in a subshell; some versions of sh will print an error if
1001 # an executable is not found, even if stderr is redirected.
1002 # Redirect stdin to placate older versions of autoconf. Sigh.
1003 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1004 MAKEINFO=makeinfo
1005 echo "$ac_t""found" 1>&6
1006 else
1007 MAKEINFO="$missing_dir/missing makeinfo"
1008 echo "$ac_t""missing" 1>&6
1013 # Never versions of autoconf add an underscore to these functions.
1014 # Prevent future problems ...
1020 # AC_PROG_CC
1022 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1023 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1024 # are probably using a cross compiler, which will not be able to fully
1025 # link an executable. This should really be fixed in autoconf
1026 # itself.
1031 # Extract the first word of "gcc", so it can be a program name with args.
1032 set dummy gcc; ac_word=$2
1033 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1034 echo "configure:1035: checking for $ac_word" >&5
1035 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1036 echo $ac_n "(cached) $ac_c" 1>&6
1037 else
1038 if test -n "$CC"; then
1039 ac_cv_prog_CC="$CC" # Let the user override the test.
1040 else
1041 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1042 ac_dummy="$PATH"
1043 for ac_dir in $ac_dummy; do
1044 test -z "$ac_dir" && ac_dir=.
1045 if test -f $ac_dir/$ac_word; then
1046 ac_cv_prog_CC="gcc"
1047 break
1049 done
1050 IFS="$ac_save_ifs"
1053 CC="$ac_cv_prog_CC"
1054 if test -n "$CC"; then
1055 echo "$ac_t""$CC" 1>&6
1056 else
1057 echo "$ac_t""no" 1>&6
1060 if test -z "$CC"; then
1061 # Extract the first word of "cc", so it can be a program name with args.
1062 set dummy cc; ac_word=$2
1063 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1064 echo "configure:1065: checking for $ac_word" >&5
1065 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1066 echo $ac_n "(cached) $ac_c" 1>&6
1067 else
1068 if test -n "$CC"; then
1069 ac_cv_prog_CC="$CC" # Let the user override the test.
1070 else
1071 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1072 ac_prog_rejected=no
1073 ac_dummy="$PATH"
1074 for ac_dir in $ac_dummy; do
1075 test -z "$ac_dir" && ac_dir=.
1076 if test -f $ac_dir/$ac_word; then
1077 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1078 ac_prog_rejected=yes
1079 continue
1081 ac_cv_prog_CC="cc"
1082 break
1084 done
1085 IFS="$ac_save_ifs"
1086 if test $ac_prog_rejected = yes; then
1087 # We found a bogon in the path, so make sure we never use it.
1088 set dummy $ac_cv_prog_CC
1089 shift
1090 if test $# -gt 0; then
1091 # We chose a different compiler from the bogus one.
1092 # However, it has the same basename, so the bogon will be chosen
1093 # first if we set CC to just the basename; use the full file name.
1094 shift
1095 set dummy "$ac_dir/$ac_word" "$@"
1096 shift
1097 ac_cv_prog_CC="$@"
1102 CC="$ac_cv_prog_CC"
1103 if test -n "$CC"; then
1104 echo "$ac_t""$CC" 1>&6
1105 else
1106 echo "$ac_t""no" 1>&6
1109 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1112 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1113 echo "configure:1114: checking whether we are using GNU C" >&5
1114 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1115 echo $ac_n "(cached) $ac_c" 1>&6
1116 else
1117 cat > conftest.c <<EOF
1118 #ifdef __GNUC__
1119 yes;
1120 #endif
1122 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1123: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1123 ac_cv_prog_gcc=yes
1124 else
1125 ac_cv_prog_gcc=no
1129 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1131 if test $ac_cv_prog_gcc = yes; then
1132 GCC=yes
1133 ac_test_CFLAGS="${CFLAGS+set}"
1134 ac_save_CFLAGS="$CFLAGS"
1135 CFLAGS=
1136 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1137 echo "configure:1138: checking whether ${CC-cc} accepts -g" >&5
1138 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1139 echo $ac_n "(cached) $ac_c" 1>&6
1140 else
1141 echo 'void f(){}' > conftest.c
1142 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1143 ac_cv_prog_cc_g=yes
1144 else
1145 ac_cv_prog_cc_g=no
1147 rm -f conftest*
1151 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1152 if test "$ac_test_CFLAGS" = set; then
1153 CFLAGS="$ac_save_CFLAGS"
1154 elif test $ac_cv_prog_cc_g = yes; then
1155 CFLAGS="-g -O2"
1156 else
1157 CFLAGS="-O2"
1159 else
1160 GCC=
1161 test "${CFLAGS+set}" = set || CFLAGS="-g"
1165 # Can't just call these here as g++ requires libstc++ to be built....
1166 # AC_PROG_CXX
1168 # Likewise for AC_PROG_CXX.
1172 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1174 # Extract the first word of "$ac_prog", so it can be a program name with args.
1175 set dummy $ac_prog; ac_word=$2
1176 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1177 echo "configure:1178: checking for $ac_word" >&5
1178 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1179 echo $ac_n "(cached) $ac_c" 1>&6
1180 else
1181 if test -n "$CXX"; then
1182 ac_cv_prog_CXX="$CXX" # Let the user override the test.
1183 else
1184 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1185 ac_dummy="$PATH"
1186 for ac_dir in $ac_dummy; do
1187 test -z "$ac_dir" && ac_dir=.
1188 if test -f $ac_dir/$ac_word; then
1189 ac_cv_prog_CXX="$ac_prog"
1190 break
1192 done
1193 IFS="$ac_save_ifs"
1196 CXX="$ac_cv_prog_CXX"
1197 if test -n "$CXX"; then
1198 echo "$ac_t""$CXX" 1>&6
1199 else
1200 echo "$ac_t""no" 1>&6
1203 test -n "$CXX" && break
1204 done
1205 test -n "$CXX" || CXX="gcc"
1207 test -z "$CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1209 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1210 echo "configure:1211: checking whether we are using GNU C++" >&5
1211 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1212 echo $ac_n "(cached) $ac_c" 1>&6
1213 else
1214 cat > conftest.C <<EOF
1215 #ifdef __GNUC__
1216 yes;
1217 #endif
1219 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1220: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1220 ac_cv_prog_gxx=yes
1221 else
1222 ac_cv_prog_gxx=no
1226 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1228 if test $ac_cv_prog_gxx = yes; then
1229 GXX=yes
1230 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1231 ac_save_CXXFLAGS="$CXXFLAGS"
1232 CXXFLAGS=
1233 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1234 echo "configure:1235: checking whether ${CXX-g++} accepts -g" >&5
1235 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1236 echo $ac_n "(cached) $ac_c" 1>&6
1237 else
1238 echo 'void f(){}' > conftest.cc
1239 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1240 ac_cv_prog_cxx_g=yes
1241 else
1242 ac_cv_prog_cxx_g=no
1244 rm -f conftest*
1248 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1249 if test "$ac_test_CXXFLAGS" = set; then
1250 CXXFLAGS="$ac_save_CXXFLAGS"
1251 elif test $ac_cv_prog_cxx_g = yes; then
1252 CXXFLAGS="-g -O2"
1253 else
1254 CXXFLAGS="-O2"
1256 else
1257 GXX=
1258 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1262 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1263 set dummy ${ac_tool_prefix}as; ac_word=$2
1264 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1265 echo "configure:1266: checking for $ac_word" >&5
1266 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1267 echo $ac_n "(cached) $ac_c" 1>&6
1268 else
1269 if test -n "$AS"; then
1270 ac_cv_prog_AS="$AS" # Let the user override the test.
1271 else
1272 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1273 ac_dummy="$PATH"
1274 for ac_dir in $ac_dummy; do
1275 test -z "$ac_dir" && ac_dir=.
1276 if test -f $ac_dir/$ac_word; then
1277 ac_cv_prog_AS="${ac_tool_prefix}as"
1278 break
1280 done
1281 IFS="$ac_save_ifs"
1282 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1285 AS="$ac_cv_prog_AS"
1286 if test -n "$AS"; then
1287 echo "$ac_t""$AS" 1>&6
1288 else
1289 echo "$ac_t""no" 1>&6
1294 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1295 set dummy ${ac_tool_prefix}ar; ac_word=$2
1296 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1297 echo "configure:1298: checking for $ac_word" >&5
1298 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1299 echo $ac_n "(cached) $ac_c" 1>&6
1300 else
1301 if test -n "$AR"; then
1302 ac_cv_prog_AR="$AR" # Let the user override the test.
1303 else
1304 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1305 ac_dummy="$PATH"
1306 for ac_dir in $ac_dummy; do
1307 test -z "$ac_dir" && ac_dir=.
1308 if test -f $ac_dir/$ac_word; then
1309 ac_cv_prog_AR="${ac_tool_prefix}ar"
1310 break
1312 done
1313 IFS="$ac_save_ifs"
1314 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1317 AR="$ac_cv_prog_AR"
1318 if test -n "$AR"; then
1319 echo "$ac_t""$AR" 1>&6
1320 else
1321 echo "$ac_t""no" 1>&6
1326 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1327 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1328 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1329 echo "configure:1330: checking for $ac_word" >&5
1330 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1331 echo $ac_n "(cached) $ac_c" 1>&6
1332 else
1333 if test -n "$RANLIB"; then
1334 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1335 else
1336 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1337 ac_dummy="$PATH"
1338 for ac_dir in $ac_dummy; do
1339 test -z "$ac_dir" && ac_dir=.
1340 if test -f $ac_dir/$ac_word; then
1341 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1342 break
1344 done
1345 IFS="$ac_save_ifs"
1348 RANLIB="$ac_cv_prog_RANLIB"
1349 if test -n "$RANLIB"; then
1350 echo "$ac_t""$RANLIB" 1>&6
1351 else
1352 echo "$ac_t""no" 1>&6
1356 if test -z "$ac_cv_prog_RANLIB"; then
1357 if test -n "$ac_tool_prefix"; then
1358 # Extract the first word of "ranlib", so it can be a program name with args.
1359 set dummy ranlib; ac_word=$2
1360 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1361 echo "configure:1362: checking for $ac_word" >&5
1362 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1363 echo $ac_n "(cached) $ac_c" 1>&6
1364 else
1365 if test -n "$RANLIB"; then
1366 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1367 else
1368 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1369 ac_dummy="$PATH"
1370 for ac_dir in $ac_dummy; do
1371 test -z "$ac_dir" && ac_dir=.
1372 if test -f $ac_dir/$ac_word; then
1373 ac_cv_prog_RANLIB="ranlib"
1374 break
1376 done
1377 IFS="$ac_save_ifs"
1378 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
1381 RANLIB="$ac_cv_prog_RANLIB"
1382 if test -n "$RANLIB"; then
1383 echo "$ac_t""$RANLIB" 1>&6
1384 else
1385 echo "$ac_t""no" 1>&6
1388 else
1389 RANLIB=":"
1394 # Find a good install program. We prefer a C program (faster),
1395 # so one script is as good as another. But avoid the broken or
1396 # incompatible versions:
1397 # SysV /etc/install, /usr/sbin/install
1398 # SunOS /usr/etc/install
1399 # IRIX /sbin/install
1400 # AIX /bin/install
1401 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1402 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1403 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1404 # ./install, which can be erroneously created by make from ./install.sh.
1405 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1406 echo "configure:1407: checking for a BSD compatible install" >&5
1407 if test -z "$INSTALL"; then
1408 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1409 echo $ac_n "(cached) $ac_c" 1>&6
1410 else
1411 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1412 for ac_dir in $PATH; do
1413 # Account for people who put trailing slashes in PATH elements.
1414 case "$ac_dir/" in
1415 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1417 # OSF1 and SCO ODT 3.0 have their own names for install.
1418 # Don't use installbsd from OSF since it installs stuff as root
1419 # by default.
1420 for ac_prog in ginstall scoinst install; do
1421 if test -f $ac_dir/$ac_prog; then
1422 if test $ac_prog = install &&
1423 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1424 # AIX install. It has an incompatible calling convention.
1426 else
1427 ac_cv_path_install="$ac_dir/$ac_prog -c"
1428 break 2
1431 done
1433 esac
1434 done
1435 IFS="$ac_save_IFS"
1438 if test "${ac_cv_path_install+set}" = set; then
1439 INSTALL="$ac_cv_path_install"
1440 else
1441 # As a last resort, use the slow shell script. We don't cache a
1442 # path for INSTALL within a source directory, because that will
1443 # break other packages using the cache if that directory is
1444 # removed, or if the path is relative.
1445 INSTALL="$ac_install_sh"
1448 echo "$ac_t""$INSTALL" 1>&6
1450 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1451 # It thinks the first close brace ends the variable substitution.
1452 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1454 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1456 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1459 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1460 echo "configure:1461: checking whether to enable maintainer-specific portions of Makefiles" >&5
1461 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1462 if test "${enable_maintainer_mode+set}" = set; then
1463 enableval="$enable_maintainer_mode"
1464 USE_MAINTAINER_MODE=$enableval
1465 else
1466 USE_MAINTAINER_MODE=no
1469 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1472 if test $USE_MAINTAINER_MODE = yes; then
1473 MAINTAINER_MODE_TRUE=
1474 MAINTAINER_MODE_FALSE='#'
1475 else
1476 MAINTAINER_MODE_TRUE='#'
1477 MAINTAINER_MODE_FALSE=
1479 MAINT=$MAINTAINER_MODE_TRUE
1483 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1484 # at least currently, we never actually build a program, so we never
1485 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1486 # fails, because we are probably configuring with a cross compiler
1487 # which cant create executables. So we include AC_EXEEXT to keep
1488 # automake happy, but we dont execute it, since we dont care about
1489 # the result.
1490 if false; then
1493 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1494 echo "configure:1495: checking for executable suffix" >&5
1495 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1496 echo $ac_n "(cached) $ac_c" 1>&6
1497 else
1498 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1499 ac_cv_exeext=.exe
1500 else
1501 rm -f conftest*
1502 echo 'int main () { return 0; }' > conftest.$ac_ext
1503 ac_cv_exeext=
1504 if { (eval echo configure:1505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1505 for file in conftest.*; do
1506 case $file in
1507 *.c | *.o | *.obj) ;;
1508 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1509 esac
1510 done
1511 else
1512 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1514 rm -f conftest*
1515 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1519 EXEEXT=""
1520 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1521 echo "$ac_t""${ac_cv_exeext}" 1>&6
1522 ac_exeext=$EXEEXT
1526 # configure.host sets the following important variables
1527 # glibcpp_cflags - host specific C compiler flags
1528 # glibcpp_cxxflags - host specific C++ compiler flags
1529 glibcpp_cflags=
1530 glibcpp_cxxflags=
1532 . ${glibcpp_basedir}/configure.host
1534 case ${glibcpp_basedir} in
1535 /* | A-Za-z:/\\*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1536 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1537 esac
1539 GLIBCPP_CFLAGS="${glibcpp_cflags}"
1540 GLIBCPP_CXXFLAGS="${glibcpp_cxxflags}"
1545 # Check whether --enable-shared or --disable-shared was given.
1546 if test "${enable_shared+set}" = set; then
1547 enableval="$enable_shared"
1548 p=${PACKAGE-default}
1549 case "$enableval" in
1550 yes) enable_shared=yes ;;
1551 no) enable_shared=no ;;
1553 enable_shared=no
1554 # Look at the argument we got. We use all the common list separators.
1555 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1556 for pkg in $enableval; do
1557 if test "X$pkg" = "X$p"; then
1558 enable_shared=yes
1560 done
1561 IFS="$ac_save_ifs"
1563 esac
1564 else
1565 enable_shared=yes
1568 # Check whether --enable-static or --disable-static was given.
1569 if test "${enable_static+set}" = set; then
1570 enableval="$enable_static"
1571 p=${PACKAGE-default}
1572 case "$enableval" in
1573 yes) enable_static=yes ;;
1574 no) enable_static=no ;;
1576 enable_static=no
1577 # Look at the argument we got. We use all the common list separators.
1578 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1579 for pkg in $enableval; do
1580 if test "X$pkg" = "X$p"; then
1581 enable_static=yes
1583 done
1584 IFS="$ac_save_ifs"
1586 esac
1587 else
1588 enable_static=yes
1591 # Check whether --enable-fast-install or --disable-fast-install was given.
1592 if test "${enable_fast_install+set}" = set; then
1593 enableval="$enable_fast_install"
1594 p=${PACKAGE-default}
1595 case "$enableval" in
1596 yes) enable_fast_install=yes ;;
1597 no) enable_fast_install=no ;;
1599 enable_fast_install=no
1600 # Look at the argument we got. We use all the common list separators.
1601 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1602 for pkg in $enableval; do
1603 if test "X$pkg" = "X$p"; then
1604 enable_fast_install=yes
1606 done
1607 IFS="$ac_save_ifs"
1609 esac
1610 else
1611 enable_fast_install=yes
1614 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1615 if test "${with_gnu_ld+set}" = set; then
1616 withval="$with_gnu_ld"
1617 test "$withval" = no || with_gnu_ld=yes
1618 else
1619 with_gnu_ld=no
1622 ac_prog=ld
1623 if test "$ac_cv_prog_gcc" = yes; then
1624 # Check if gcc -print-prog-name=ld gives a path.
1625 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1626 echo "configure:1627: checking for ld used by GCC" >&5
1627 case $host in
1628 *-*-mingw*)
1629 # gcc leaves a trailing carriage return which upsets mingw
1630 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1632 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1633 esac
1634 case "$ac_prog" in
1635 # Accept absolute paths.
1636 [\\/]* | [A-Za-z]:[\\/]*)
1637 re_direlt='/[^/][^/]*/\.\./'
1638 # Canonicalize the path of ld
1639 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1640 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1641 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1642 done
1643 test -z "$LD" && LD="$ac_prog"
1646 # If it fails, then pretend we aren't using GCC.
1647 ac_prog=ld
1650 # If it is relative, then search for the first ld in PATH.
1651 with_gnu_ld=unknown
1653 esac
1654 elif test "$with_gnu_ld" = yes; then
1655 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1656 echo "configure:1657: checking for GNU ld" >&5
1657 else
1658 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1659 echo "configure:1660: checking for non-GNU ld" >&5
1661 if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
1662 echo $ac_n "(cached) $ac_c" 1>&6
1663 else
1664 if test -z "$LD"; then
1665 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1666 for ac_dir in $PATH; do
1667 test -z "$ac_dir" && ac_dir=.
1668 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1669 ac_cv_path_LD="$ac_dir/$ac_prog"
1670 # Check to see if the program is GNU ld. I'd rather use --version,
1671 # but apparently some GNU ld's only accept -v.
1672 # Break only if it was the GNU/non-GNU ld that we prefer.
1673 if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1674 test "$with_gnu_ld" != no && break
1675 else
1676 test "$with_gnu_ld" != yes && break
1679 done
1680 IFS="$ac_save_ifs"
1681 else
1682 ac_cv_path_LD="$LD" # Let the user override the test with a path.
1686 LD="$ac_cv_path_LD"
1687 if test -n "$LD"; then
1688 echo "$ac_t""$LD" 1>&6
1689 else
1690 echo "$ac_t""no" 1>&6
1692 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1693 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1694 echo "configure:1695: checking if the linker ($LD) is GNU ld" >&5
1695 if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
1696 echo $ac_n "(cached) $ac_c" 1>&6
1697 else
1698 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1699 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1700 ac_cv_prog_gnu_ld=yes
1701 else
1702 ac_cv_prog_gnu_ld=no
1706 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
1707 with_gnu_ld=$ac_cv_prog_gnu_ld
1710 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1711 echo "configure:1712: checking for $LD option to reload object files" >&5
1712 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1713 echo $ac_n "(cached) $ac_c" 1>&6
1714 else
1715 lt_cv_ld_reload_flag='-r'
1718 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1719 reload_flag=$lt_cv_ld_reload_flag
1720 test -n "$reload_flag" && reload_flag=" $reload_flag"
1722 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1723 echo "configure:1724: checking for BSD-compatible nm" >&5
1724 if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
1725 echo $ac_n "(cached) $ac_c" 1>&6
1726 else
1727 if test -n "$NM"; then
1728 # Let the user override the test.
1729 ac_cv_path_NM="$NM"
1730 else
1731 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1732 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1733 test -z "$ac_dir" && ac_dir=.
1734 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1735 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1736 # Check to see if the nm accepts a BSD-compat flag.
1737 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1738 # nm: unknown option "B" ignored
1739 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1740 ac_cv_path_NM="$tmp_nm -B"
1741 break
1742 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1743 ac_cv_path_NM="$tmp_nm -p"
1744 break
1745 else
1746 ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but
1747 continue # so that we can try to find one that supports BSD flags
1750 done
1751 IFS="$ac_save_ifs"
1752 test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
1756 NM="$ac_cv_path_NM"
1757 echo "$ac_t""$NM" 1>&6
1759 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1760 echo "configure:1761: checking whether ln -s works" >&5
1761 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1762 echo $ac_n "(cached) $ac_c" 1>&6
1763 else
1764 rm -f conftestdata
1765 if ln -s X conftestdata 2>/dev/null
1766 then
1767 rm -f conftestdata
1768 ac_cv_prog_LN_S="ln -s"
1769 else
1770 ac_cv_prog_LN_S=ln
1773 LN_S="$ac_cv_prog_LN_S"
1774 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1775 echo "$ac_t""yes" 1>&6
1776 else
1777 echo "$ac_t""no" 1>&6
1780 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1781 echo "configure:1782: checking how to recognise dependant libraries" >&5
1782 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1783 echo $ac_n "(cached) $ac_c" 1>&6
1784 else
1785 lt_cv_file_magic_cmd='${MAGIC}'
1786 lt_cv_file_magic_test_file=
1787 lt_cv_deplibs_check_method='unknown'
1788 # Need to set the preceding variable on all platforms that support
1789 # interlibrary dependencies.
1790 # 'none' -- dependencies not supported.
1791 # `unknown' -- same as none, but documents that we really don't know.
1792 # 'pass_all' -- all dependencies passed with no checks.
1793 # 'test_compile' -- check by making test program.
1794 # 'file_magic [regex]' -- check by looking for files in library path
1795 # which responds to the $file_magic_cmd with a given egrep regex.
1796 # If you have `file' or equivalent on your system and you're not sure
1797 # whether `pass_all' will *always* work, you probably want this one.
1799 case "$host_os" in
1800 aix4*)
1801 lt_cv_deplibs_check_method=pass_all
1804 beos*)
1805 lt_cv_deplibs_check_method=pass_all
1808 bsdi4*)
1809 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1810 lt_cv_file_magic_cmd='/usr/bin/file -L'
1811 lt_cv_file_magic_test_file=/shlib/libc.so
1814 cygwin* | mingw*)
1815 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1816 lt_cv_file_magic_cmd='${OBJDUMP} -f'
1819 freebsd* )
1820 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1821 case "$host_cpu" in
1822 i*86 )
1823 lt_cv_deplibs_check_method=='file_magic OpenBSD/i[3-9]86 demand paged shared library'
1824 lt_cv_file_magic_cmd=/usr/bin/file
1825 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1827 esac
1828 else
1829 lt_cv_deplibs_check_method=pass_all
1833 gnu*)
1834 lt_cv_deplibs_check_method=pass_all
1837 hpux10.20*)
1838 # TODO: Does this work for hpux-11 too?
1839 lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library'
1840 lt_cv_file_magic_cmd=/usr/bin/file
1841 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1844 irix5* | irix6*)
1845 case "$host_os" in
1846 irix5*)
1847 # this will be overridden with pass_all, but let us keep it just in case
1848 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1851 case "$LD" in
1852 *-32|*"-32 ") libmagic=32-bit;;
1853 *-n32|*"-n32 ") libmagic=N32;;
1854 *-64|*"-64 ") libmagic=64-bit;;
1855 *) libmagic=never-match;;
1856 esac
1857 # this will be overridden with pass_all, but let us keep it just in case
1858 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
1860 esac
1861 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1862 lt_cv_deplibs_check_method=pass_all
1865 # This must be Linux ELF.
1866 linux*)
1867 case "$host_cpu" in
1868 alpha* | i*86 | powerpc* | sparc* | ia64* )
1869 lt_cv_deplibs_check_method=pass_all ;;
1871 # glibc up to 2.1.1 does not perform some relocations on ARM
1872 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
1873 esac
1874 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
1877 netbsd*)
1878 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then :
1879 else
1880 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
1881 lt_cv_file_magic_cmd='/usr/bin/file -L'
1882 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1886 osf3* | osf4* | osf5*)
1887 # this will be overridden with pass_all, but let us keep it just in case
1888 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
1889 lt_cv_file_magic_test_file=/shlib/libc.so
1890 lt_cv_deplibs_check_method=pass_all
1893 sco3.2v5*)
1894 lt_cv_deplibs_check_method=pass_all
1897 solaris*)
1898 lt_cv_deplibs_check_method=pass_all
1899 lt_cv_file_magic_test_file=/lib/libc.so
1902 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1903 case "$host_vendor" in
1904 ncr)
1905 lt_cv_deplibs_check_method=pass_all
1907 motorola)
1908 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]'
1909 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1911 esac
1913 esac
1917 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
1918 file_magic_cmd=$lt_cv_file_magic_cmd
1919 deplibs_check_method=$lt_cv_deplibs_check_method
1921 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
1922 echo "configure:1923: checking for object suffix" >&5
1923 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
1924 echo $ac_n "(cached) $ac_c" 1>&6
1925 else
1926 rm -f conftest*
1927 echo 'int i = 1;' > conftest.$ac_ext
1928 if { (eval echo configure:1929: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1929 for ac_file in conftest.*; do
1930 case $ac_file in
1931 *.c) ;;
1932 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
1933 esac
1934 done
1935 else
1936 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
1938 rm -f conftest*
1941 echo "$ac_t""$ac_cv_objext" 1>&6
1942 OBJEXT=$ac_cv_objext
1943 ac_objext=$ac_cv_objext
1945 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
1947 # Only perform the check for file, if the check method requires it
1948 case "$deplibs_check_method" in
1949 file_magic*)
1950 if test "$file_magic_cmd" = '${MAGIC}'; then
1951 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
1952 echo "configure:1953: checking for ${ac_tool_prefix}file" >&5
1953 if eval "test \"`echo '$''{'lt_cv_path_MAGIC'+set}'`\" = set"; then
1954 echo $ac_n "(cached) $ac_c" 1>&6
1955 else
1956 case "$MAGIC" in
1958 lt_cv_path_MAGIC="$MAGIC" # Let the user override the test with a path.
1960 ?:/*)
1961 ac_cv_path_MAGIC="$MAGIC" # Let the user override the test with a dos path.
1964 ac_save_MAGIC="$MAGIC"
1965 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1966 ac_dummy="/usr/bin:$PATH"
1967 for ac_dir in $ac_dummy; do
1968 test -z "$ac_dir" && ac_dir=.
1969 if test -f $ac_dir/${ac_tool_prefix}file; then
1970 lt_cv_path_MAGIC="$ac_dir/${ac_tool_prefix}file"
1971 if test -n "$file_magic_test_file"; then
1972 case "$deplibs_check_method" in
1973 "file_magic "*)
1974 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
1975 MAGIC="$lt_cv_path_MAGIC"
1976 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
1977 egrep "$file_magic_regex" > /dev/null; then
1979 else
1980 cat <<EOF 1>&2
1982 *** Warning: the command libtool uses to detect shared libraries,
1983 *** $file_magic_cmd, produces output that libtool cannot recognize.
1984 *** The result is that libtool may fail to recognize shared libraries
1985 *** as such. This will affect the creation of libtool libraries that
1986 *** depend on shared libraries, but programs linked with such libtool
1987 *** libraries will work regardless of this problem. Nevertheless, you
1988 *** may want to report the problem to your system manager and/or to
1989 *** bug-libtool@gnu.org
1992 fi ;;
1993 esac
1995 break
1997 done
1998 IFS="$ac_save_ifs"
1999 MAGIC="$ac_save_MAGIC"
2001 esac
2004 MAGIC="$lt_cv_path_MAGIC"
2005 if test -n "$MAGIC"; then
2006 echo "$ac_t""$MAGIC" 1>&6
2007 else
2008 echo "$ac_t""no" 1>&6
2011 if test -z "$lt_cv_path_MAGIC"; then
2012 if test -n "$ac_tool_prefix"; then
2013 echo $ac_n "checking for file""... $ac_c" 1>&6
2014 echo "configure:2015: checking for file" >&5
2015 if eval "test \"`echo '$''{'lt_cv_path_MAGIC'+set}'`\" = set"; then
2016 echo $ac_n "(cached) $ac_c" 1>&6
2017 else
2018 case "$MAGIC" in
2020 lt_cv_path_MAGIC="$MAGIC" # Let the user override the test with a path.
2022 ?:/*)
2023 ac_cv_path_MAGIC="$MAGIC" # Let the user override the test with a dos path.
2026 ac_save_MAGIC="$MAGIC"
2027 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2028 ac_dummy="/usr/bin:$PATH"
2029 for ac_dir in $ac_dummy; do
2030 test -z "$ac_dir" && ac_dir=.
2031 if test -f $ac_dir/file; then
2032 lt_cv_path_MAGIC="$ac_dir/file"
2033 if test -n "$file_magic_test_file"; then
2034 case "$deplibs_check_method" in
2035 "file_magic "*)
2036 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2037 MAGIC="$lt_cv_path_MAGIC"
2038 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2039 egrep "$file_magic_regex" > /dev/null; then
2041 else
2042 cat <<EOF 1>&2
2044 *** Warning: the command libtool uses to detect shared libraries,
2045 *** $file_magic_cmd, produces output that libtool cannot recognize.
2046 *** The result is that libtool may fail to recognize shared libraries
2047 *** as such. This will affect the creation of libtool libraries that
2048 *** depend on shared libraries, but programs linked with such libtool
2049 *** libraries will work regardless of this problem. Nevertheless, you
2050 *** may want to report the problem to your system manager and/or to
2051 *** bug-libtool@gnu.org
2054 fi ;;
2055 esac
2057 break
2059 done
2060 IFS="$ac_save_ifs"
2061 MAGIC="$ac_save_MAGIC"
2063 esac
2066 MAGIC="$lt_cv_path_MAGIC"
2067 if test -n "$MAGIC"; then
2068 echo "$ac_t""$MAGIC" 1>&6
2069 else
2070 echo "$ac_t""no" 1>&6
2073 else
2074 MAGIC=:
2080 esac
2082 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2083 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2084 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2085 echo "configure:2086: checking for $ac_word" >&5
2086 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2087 echo $ac_n "(cached) $ac_c" 1>&6
2088 else
2089 if test -n "$RANLIB"; then
2090 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2091 else
2092 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2093 ac_dummy="$PATH"
2094 for ac_dir in $ac_dummy; do
2095 test -z "$ac_dir" && ac_dir=.
2096 if test -f $ac_dir/$ac_word; then
2097 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2098 break
2100 done
2101 IFS="$ac_save_ifs"
2104 RANLIB="$ac_cv_prog_RANLIB"
2105 if test -n "$RANLIB"; then
2106 echo "$ac_t""$RANLIB" 1>&6
2107 else
2108 echo "$ac_t""no" 1>&6
2112 if test -z "$ac_cv_prog_RANLIB"; then
2113 if test -n "$ac_tool_prefix"; then
2114 # Extract the first word of "ranlib", so it can be a program name with args.
2115 set dummy ranlib; ac_word=$2
2116 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2117 echo "configure:2118: checking for $ac_word" >&5
2118 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2119 echo $ac_n "(cached) $ac_c" 1>&6
2120 else
2121 if test -n "$RANLIB"; then
2122 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2123 else
2124 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2125 ac_dummy="$PATH"
2126 for ac_dir in $ac_dummy; do
2127 test -z "$ac_dir" && ac_dir=.
2128 if test -f $ac_dir/$ac_word; then
2129 ac_cv_prog_RANLIB="ranlib"
2130 break
2132 done
2133 IFS="$ac_save_ifs"
2134 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2137 RANLIB="$ac_cv_prog_RANLIB"
2138 if test -n "$RANLIB"; then
2139 echo "$ac_t""$RANLIB" 1>&6
2140 else
2141 echo "$ac_t""no" 1>&6
2144 else
2145 RANLIB=":"
2149 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2150 set dummy ${ac_tool_prefix}strip; ac_word=$2
2151 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2152 echo "configure:2153: checking for $ac_word" >&5
2153 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2154 echo $ac_n "(cached) $ac_c" 1>&6
2155 else
2156 if test -n "$STRIP"; then
2157 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2158 else
2159 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2160 ac_dummy="$PATH"
2161 for ac_dir in $ac_dummy; do
2162 test -z "$ac_dir" && ac_dir=.
2163 if test -f $ac_dir/$ac_word; then
2164 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2165 break
2167 done
2168 IFS="$ac_save_ifs"
2171 STRIP="$ac_cv_prog_STRIP"
2172 if test -n "$STRIP"; then
2173 echo "$ac_t""$STRIP" 1>&6
2174 else
2175 echo "$ac_t""no" 1>&6
2179 if test -z "$ac_cv_prog_STRIP"; then
2180 if test -n "$ac_tool_prefix"; then
2181 # Extract the first word of "strip", so it can be a program name with args.
2182 set dummy strip; ac_word=$2
2183 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2184 echo "configure:2185: checking for $ac_word" >&5
2185 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2186 echo $ac_n "(cached) $ac_c" 1>&6
2187 else
2188 if test -n "$STRIP"; then
2189 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2190 else
2191 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2192 ac_dummy="$PATH"
2193 for ac_dir in $ac_dummy; do
2194 test -z "$ac_dir" && ac_dir=.
2195 if test -f $ac_dir/$ac_word; then
2196 ac_cv_prog_STRIP="strip"
2197 break
2199 done
2200 IFS="$ac_save_ifs"
2201 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2204 STRIP="$ac_cv_prog_STRIP"
2205 if test -n "$STRIP"; then
2206 echo "$ac_t""$STRIP" 1>&6
2207 else
2208 echo "$ac_t""no" 1>&6
2211 else
2212 STRIP=":"
2217 # Check for any special flags to pass to ltconfig.
2218 libtool_flags="--cache-file=$cache_file"
2219 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2220 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2221 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2222 test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
2223 test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2224 libtool_flags="$libtool_flags --enable-dlopen"
2226 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2227 if test "${enable_libtool_lock+set}" = set; then
2228 enableval="$enable_libtool_lock"
2232 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2233 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2235 # Check whether --with-pic or --without-pic was given.
2236 if test "${with_pic+set}" = set; then
2237 withval="$with_pic"
2238 pic_mode="$withval"
2239 else
2240 pic_mode=default
2243 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2244 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2246 # Some flags need to be propagated to the compiler or linker for good
2247 # libtool support.
2248 case "$host" in
2249 *-*-irix6*)
2250 # Find out which ABI we are using.
2251 echo '#line 2252 "configure"' > conftest.$ac_ext
2252 if { (eval echo configure:2253: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2253 case "`/usr/bin/file conftest.o`" in
2254 *32-bit*)
2255 LD="${LD-ld} -32"
2257 *N32*)
2258 LD="${LD-ld} -n32"
2260 *64-bit*)
2261 LD="${LD-ld} -64"
2263 esac
2265 rm -rf conftest*
2268 *-*-sco3.2v5*)
2269 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2270 SAVE_CFLAGS="$CFLAGS"
2271 CFLAGS="$CFLAGS -belf"
2272 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2273 echo "configure:2274: checking whether the C compiler needs -belf" >&5
2274 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2275 echo $ac_n "(cached) $ac_c" 1>&6
2276 else
2278 ac_ext=c
2279 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2280 ac_cpp='$CPP $CPPFLAGS'
2281 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2282 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2283 cross_compiling=$ac_cv_prog_cc_cross
2285 cat > conftest.$ac_ext <<EOF
2286 #line 2287 "configure"
2287 #include "confdefs.h"
2289 int main() {
2291 ; return 0; }
2293 if { (eval echo configure:2294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2294 rm -rf conftest*
2295 lt_cv_cc_needs_belf=yes
2296 else
2297 echo "configure: failed program was:" >&5
2298 cat conftest.$ac_ext >&5
2299 rm -rf conftest*
2300 lt_cv_cc_needs_belf=no
2302 rm -f conftest*
2303 ac_ext=c
2304 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2305 ac_cpp='$CPP $CPPFLAGS'
2306 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2307 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2308 cross_compiling=$ac_cv_prog_cc_cross
2312 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2313 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2314 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2315 CFLAGS="$SAVE_CFLAGS"
2320 esac
2322 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2323 echo "configure:2324: checking how to run the C++ preprocessor" >&5
2324 if test -z "$CXXCPP"; then
2325 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2326 echo $ac_n "(cached) $ac_c" 1>&6
2327 else
2328 ac_ext=C
2329 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2330 ac_cpp='$CXXCPP $CPPFLAGS'
2331 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2332 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2333 cross_compiling=$ac_cv_prog_cxx_cross
2334 CXXCPP="${CXX-g++} -E"
2335 cat > conftest.$ac_ext <<EOF
2336 #line 2337 "configure"
2337 #include "confdefs.h"
2338 #include <stdlib.h>
2340 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2341 { (eval echo configure:2342: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2342 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2343 if test -z "$ac_err"; then
2345 else
2346 echo "$ac_err" >&5
2347 echo "configure: failed program was:" >&5
2348 cat conftest.$ac_ext >&5
2349 rm -rf conftest*
2350 CXXCPP=/lib/cpp
2352 rm -f conftest*
2353 ac_cv_prog_CXXCPP="$CXXCPP"
2354 ac_ext=c
2355 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2356 ac_cpp='$CPP $CPPFLAGS'
2357 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2358 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2359 cross_compiling=$ac_cv_prog_cc_cross
2362 CXXCPP="$ac_cv_prog_CXXCPP"
2363 echo "$ac_t""$CXXCPP" 1>&6
2366 # Save cache, so that ltconfig can load it
2367 cat > confcache <<\EOF
2368 # This file is a shell script that caches the results of configure
2369 # tests run on this system so they can be shared between configure
2370 # scripts and configure runs. It is not useful on other systems.
2371 # If it contains results you don't want to keep, you may remove or edit it.
2373 # By default, configure uses ./config.cache as the cache file,
2374 # creating it if it does not exist already. You can give configure
2375 # the --cache-file=FILE option to use a different cache file; that is
2376 # what configure does when it calls configure scripts in
2377 # subdirectories, so they share the cache.
2378 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2379 # config.status only pays attention to the cache file if you give it the
2380 # --recheck option to rerun configure.
2383 # The following way of writing the cache mishandles newlines in values,
2384 # but we know of no workaround that is simple, portable, and efficient.
2385 # So, don't put newlines in cache variables' values.
2386 # Ultrix sh set writes to stderr and can't be redirected directly,
2387 # and sets the high bit in the cache file unless we assign to the vars.
2388 (set) 2>&1 |
2389 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2390 *ac_space=\ *)
2391 # `set' does not quote correctly, so add quotes (double-quote substitution
2392 # turns \\\\ into \\, and sed turns \\ into \).
2393 sed -n \
2394 -e "s/'/'\\\\''/g" \
2395 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2398 # `set' quotes correctly as required by POSIX, so do not add quotes.
2399 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2401 esac >> confcache
2402 if cmp -s $cache_file confcache; then
2404 else
2405 if test -w $cache_file; then
2406 echo "updating cache $cache_file"
2407 cat confcache > $cache_file
2408 else
2409 echo "not updating unwritable cache $cache_file"
2412 rm -f confcache
2415 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2416 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2417 MAGIC="$MAGIC" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2418 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2419 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2420 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2421 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2422 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2423 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2424 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2426 # Reload cache, that may have been modified by ltconfig
2427 if test -r "$cache_file"; then
2428 echo "loading cache $cache_file"
2429 . $cache_file
2430 else
2431 echo "creating cache $cache_file"
2432 > $cache_file
2436 # This can be used to rebuild libtool when needed
2437 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2439 # Always use our own libtool.
2440 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2442 # Redirect the config.log output again, so that the ltconfig log is not
2443 # clobbered by the next message.
2444 exec 5>>./config.log
2449 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2450 lt_save_CC="$CC"
2451 lt_save_CFLAGS="$CFLAGS"
2452 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2453 MAGIC="$MAGIC" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2454 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2455 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2456 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2457 deplibs_check_method="$deplibs_check_method" \
2458 file_magic_cmd="$file_magic_cmd" \
2459 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2460 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2461 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2462 CC="$lt_save_CC"
2463 CFLAGS="$lt_save_CFLAGS"
2465 # Redirect the config.log output again, so that the ltconfig log is not
2466 # clobbered by the next message.
2467 exec 5>>./config.log
2474 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2475 echo "configure:2476: checking for GNU make" >&5
2476 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2477 echo $ac_n "(cached) $ac_c" 1>&6
2478 else
2479 _cv_gnu_make_command='' ;
2480 for a in "${MAKE:-make}" make gmake gnumake ; do
2481 if ( $a --version 2> /dev/null | grep -q GNU ) ; then
2482 _cv_gnu_make_command=$a ;
2483 break;
2485 done ;
2489 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2490 if test "x$_cv_gnu_make_command" != "x" ; then
2491 ifGNUmake='' ;
2492 else
2493 ifGNUmake='#' ;
2497 if test "x$_cv_gnu_make_command" = "x"; then
2498 { echo "configure: error: GNU make not found. Please install it or correct your path." 1>&2; exit 1; }
2504 # Check for c++ or library specific bits that don't require linking.
2505 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2506 echo "configure:2507: checking how to run the C preprocessor" >&5
2507 # On Suns, sometimes $CPP names a directory.
2508 if test -n "$CPP" && test -d "$CPP"; then
2509 CPP=
2511 if test -z "$CPP"; then
2512 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2513 echo $ac_n "(cached) $ac_c" 1>&6
2514 else
2515 # This must be in double quotes, not single quotes, because CPP may get
2516 # substituted into the Makefile and "${CC-cc}" will confuse make.
2517 CPP="${CC-cc} -E"
2518 # On the NeXT, cc -E runs the code through the compiler's parser,
2519 # not just through cpp.
2520 cat > conftest.$ac_ext <<EOF
2521 #line 2522 "configure"
2522 #include "confdefs.h"
2523 #include <assert.h>
2524 Syntax Error
2526 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2527 { (eval echo configure:2528: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2528 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2529 if test -z "$ac_err"; then
2531 else
2532 echo "$ac_err" >&5
2533 echo "configure: failed program was:" >&5
2534 cat conftest.$ac_ext >&5
2535 rm -rf conftest*
2536 CPP="${CC-cc} -E -traditional-cpp"
2537 cat > conftest.$ac_ext <<EOF
2538 #line 2539 "configure"
2539 #include "confdefs.h"
2540 #include <assert.h>
2541 Syntax Error
2543 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2544 { (eval echo configure:2545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2545 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2546 if test -z "$ac_err"; then
2548 else
2549 echo "$ac_err" >&5
2550 echo "configure: failed program was:" >&5
2551 cat conftest.$ac_ext >&5
2552 rm -rf conftest*
2553 CPP="${CC-cc} -nologo -E"
2554 cat > conftest.$ac_ext <<EOF
2555 #line 2556 "configure"
2556 #include "confdefs.h"
2557 #include <assert.h>
2558 Syntax Error
2560 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2561 { (eval echo configure:2562: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2562 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2563 if test -z "$ac_err"; then
2565 else
2566 echo "$ac_err" >&5
2567 echo "configure: failed program was:" >&5
2568 cat conftest.$ac_ext >&5
2569 rm -rf conftest*
2570 CPP=/lib/cpp
2572 rm -f conftest*
2574 rm -f conftest*
2576 rm -f conftest*
2577 ac_cv_prog_CPP="$CPP"
2579 CPP="$ac_cv_prog_CPP"
2580 else
2581 ac_cv_prog_CPP="$CPP"
2583 echo "$ac_t""$CPP" 1>&6
2586 # Sanity check that g++ is capable of dealing with v-3.
2587 echo $ac_n "checking for g++ that will successfully compile this code""... $ac_c" 1>&6
2588 echo "configure:2589: checking for g++ that will successfully compile this code" >&5
2589 cat > conftest.$ac_ext <<EOF
2590 #line 2591 "configure"
2591 #include "confdefs.h"
2593 #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
2595 #endif
2598 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2599 egrep "ok" >/dev/null 2>&1; then
2600 rm -rf conftest*
2601 gpp_satisfactory=yes
2602 else
2603 rm -rf conftest*
2604 { echo "configure: error: "please upgrade to gcc-2.95 or above"" 1>&2; exit 1; }
2606 rm -f conftest*
2608 echo "$ac_t""$gpp_satisfactory" 1>&6
2611 echo $ac_n "checking for cpu primitives directory""... $ac_c" 1>&6
2612 echo "configure:2613: checking for cpu primitives directory" >&5
2613 CPU_FLAGS=
2614 case "${target_cpu}" in
2615 alpha*)
2616 cpu_include_dir="config/cpu/alpha"
2618 arm*)
2619 cpu_include_dir="config/cpu/arm"
2621 i386)
2622 cpu_include_dir="config/cpu/i386"
2624 i486 | i586 | i686 | i786)
2625 cpu_include_dir="config/cpu/i486"
2627 powerpc | rs6000)
2628 cpu_include_dir="config/cpu/powerpc"
2629 CPU_FLAGS='-mcpu=powerpc'
2631 sparc64 | ultrasparc)
2632 cpu_include_dir="config/cpu/sparc/sparc64"
2634 sparc*)
2635 cpu_include_dir="config/cpu/sparc/sparc32"
2638 cpu_include_dir="config/cpu/generic"
2640 esac
2641 echo "$ac_t""$cpu_include_dir" 1>&6
2646 # Enable all the crazy c++ stuff.
2647 # Check whether --enable-debug or --disable-debug was given.
2648 if test "${enable_debug+set}" = set; then
2649 enableval="$enable_debug"
2650 case "${enableval}" in
2651 yes) enable_debug=yes ;;
2652 no) enable_debug=no ;;
2653 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2654 esac
2655 else
2656 enable_debug=no
2659 case "${enable_debug}" in
2660 yes)
2661 DEBUG_FLAGS='-O0 -ggdb'
2663 no)
2664 DEBUG_FLAGS='-g'
2666 esac
2670 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2671 echo "configure:2672: checking for cstdio to use" >&5
2672 # Check whether --enable-cstdio or --disable-cstdio was given.
2673 if test "${enable_cstdio+set}" = set; then
2674 enableval="$enable_cstdio"
2675 if test x$enable_cstdio = xno; then
2676 enable_cstdio=libio
2678 else
2679 enable_cstdio=libio
2683 enable_cstdio_flag=$enable_cstdio
2685 case x${enable_cstdio_flag} in
2686 xlibio | x | xno | xnone | xyes)
2687 # default
2688 CSTDIO_H=config/c_io_libio.h
2689 CSTDIO_CC=config/c_io_libio.cc
2690 echo "$ac_t""libio" 1>&6
2692 # see if we are on a system with libio native (ie, linux)
2693 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2694 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2695 echo "configure:2696: checking for libio.h" >&5
2696 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2697 echo $ac_n "(cached) $ac_c" 1>&6
2698 else
2699 cat > conftest.$ac_ext <<EOF
2700 #line 2701 "configure"
2701 #include "confdefs.h"
2702 #include <libio.h>
2704 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2705 { (eval echo configure:2706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2706 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2707 if test -z "$ac_err"; then
2708 rm -rf conftest*
2709 eval "ac_cv_header_$ac_safe=yes"
2710 else
2711 echo "$ac_err" >&5
2712 echo "configure: failed program was:" >&5
2713 cat conftest.$ac_ext >&5
2714 rm -rf conftest*
2715 eval "ac_cv_header_$ac_safe=no"
2717 rm -f conftest*
2719 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2720 echo "$ac_t""yes" 1>&6
2721 has_libio=yes
2722 else
2723 echo "$ac_t""no" 1>&6
2724 has_libio=no
2728 # Need to check and see what version of glibc is being used. If
2729 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2730 # compile most of libio for linux systems.
2731 if test x$has_libio = x"yes"; then
2732 case "$target" in
2733 *-*-linux*)
2734 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2735 echo "configure:2736: checking for glibc version >= 2.2" >&5
2736 cat > conftest.$ac_ext <<EOF
2737 #line 2738 "configure"
2738 #include "confdefs.h"
2740 #include <features.h>
2741 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2743 #endif
2746 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2747 egrep "ok" >/dev/null 2>&1; then
2748 rm -rf conftest*
2749 glibc_satisfactory=yes
2750 else
2751 rm -rf conftest*
2752 glibc_satisfactory=no
2754 rm -f conftest*
2756 echo "$ac_t""$glibc_satisfactory" 1>&6
2758 esac
2760 if test x$glibc_satisfactory = x"yes"; then
2761 need_libio=no
2762 need_xtra_libio=no
2763 need_wlibio=no
2764 else
2765 need_libio=yes
2766 need_xtra_libio=yes
2767 # bkoz XXX need to add checks to enable this
2768 need_wlibio=yes
2771 # Using libio, but <libio.h> doesn't exist on the target system. . .
2772 else
2773 need_libio=yes
2774 need_xtra_libio=no
2775 # bkoz XXX need to add checks to enable this
2776 need_wlibio=no
2780 xwince)
2781 CSTDIO_H=config/c_io_wince.h
2782 CSTDIO_CC=config/c_io_wince.cc
2783 echo "$ac_t""wince" 1>&6
2785 need_libio=no
2788 echo "$enable_cstdio is an unknown io package" 1>&2
2789 exit 1
2791 esac
2795 # 2000-08-04 bkoz hack
2796 CCODECVT_C=config/c_io_libio_codecvt.c
2798 # 2000-08-04 bkoz hack
2802 if test "$need_libio" = yes; then
2803 GLIBCPP_NEED_LIBIO_TRUE=
2804 GLIBCPP_NEED_LIBIO_FALSE='#'
2805 else
2806 GLIBCPP_NEED_LIBIO_TRUE='#'
2807 GLIBCPP_NEED_LIBIO_FALSE=
2811 if test "$need_xtra_libio" = yes; then
2812 GLIBCPP_NEED_XTRA_LIBIO_TRUE=
2813 GLIBCPP_NEED_XTRA_LIBIO_FALSE='#'
2814 else
2815 GLIBCPP_NEED_XTRA_LIBIO_TRUE='#'
2816 GLIBCPP_NEED_XTRA_LIBIO_FALSE=
2820 if test "$need_wlibio" = yes; then
2821 GLIBCPP_NEED_WLIBIO_TRUE=
2822 GLIBCPP_NEED_WLIBIO_FALSE='#'
2823 else
2824 GLIBCPP_NEED_WLIBIO_TRUE='#'
2825 GLIBCPP_NEED_WLIBIO_FALSE=
2829 # Check whether --enable-long-long or --disable-long-long was given.
2830 if test "${enable_long_long+set}" = set; then
2831 enableval="$enable_long_long"
2832 case "$enableval" in
2833 yes) enable_long_long=yes ;;
2834 no) enable_long_long=no ;;
2835 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
2836 esac
2837 else
2838 enable_long_long=yes
2841 # Check for the existance of functions used if long long is enabled.
2842 echo $ac_n "checking for strtoll""... $ac_c" 1>&6
2843 echo "configure:2844: checking for strtoll" >&5
2844 if eval "test \"`echo '$''{'ac_cv_func_strtoll'+set}'`\" = set"; then
2845 echo $ac_n "(cached) $ac_c" 1>&6
2846 else
2847 cat > conftest.$ac_ext <<EOF
2848 #line 2849 "configure"
2849 #include "confdefs.h"
2850 /* System header to define __stub macros and hopefully few prototypes,
2851 which can conflict with char strtoll(); below. */
2852 #include <assert.h>
2853 /* Override any gcc2 internal prototype to avoid an error. */
2854 /* We use char because int might match the return type of a gcc2
2855 builtin and then its argument prototype would still apply. */
2856 char strtoll();
2858 int main() {
2860 /* The GNU C library defines this for functions which it implements
2861 to always fail with ENOSYS. Some functions are actually named
2862 something starting with __ and the normal name is an alias. */
2863 #if defined (__stub_strtoll) || defined (__stub___strtoll)
2864 choke me
2865 #else
2866 strtoll();
2867 #endif
2869 ; return 0; }
2871 if { (eval echo configure:2872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2872 rm -rf conftest*
2873 eval "ac_cv_func_strtoll=yes"
2874 else
2875 echo "configure: failed program was:" >&5
2876 cat conftest.$ac_ext >&5
2877 rm -rf conftest*
2878 eval "ac_cv_func_strtoll=no"
2880 rm -f conftest*
2883 if eval "test \"`echo '$ac_cv_func_'strtoll`\" = yes"; then
2884 echo "$ac_t""yes" 1>&6
2886 else
2887 echo "$ac_t""no" 1>&6
2888 ac_strtoll=no
2891 echo $ac_n "checking for strtoull""... $ac_c" 1>&6
2892 echo "configure:2893: checking for strtoull" >&5
2893 if eval "test \"`echo '$''{'ac_cv_func_strtoull'+set}'`\" = set"; then
2894 echo $ac_n "(cached) $ac_c" 1>&6
2895 else
2896 cat > conftest.$ac_ext <<EOF
2897 #line 2898 "configure"
2898 #include "confdefs.h"
2899 /* System header to define __stub macros and hopefully few prototypes,
2900 which can conflict with char strtoull(); below. */
2901 #include <assert.h>
2902 /* Override any gcc2 internal prototype to avoid an error. */
2903 /* We use char because int might match the return type of a gcc2
2904 builtin and then its argument prototype would still apply. */
2905 char strtoull();
2907 int main() {
2909 /* The GNU C library defines this for functions which it implements
2910 to always fail with ENOSYS. Some functions are actually named
2911 something starting with __ and the normal name is an alias. */
2912 #if defined (__stub_strtoull) || defined (__stub___strtoull)
2913 choke me
2914 #else
2915 strtoull();
2916 #endif
2918 ; return 0; }
2920 if { (eval echo configure:2921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2921 rm -rf conftest*
2922 eval "ac_cv_func_strtoull=yes"
2923 else
2924 echo "configure: failed program was:" >&5
2925 cat conftest.$ac_ext >&5
2926 rm -rf conftest*
2927 eval "ac_cv_func_strtoull=no"
2929 rm -f conftest*
2932 if eval "test \"`echo '$ac_cv_func_'strtoull`\" = yes"; then
2933 echo "$ac_t""yes" 1>&6
2935 else
2936 echo "$ac_t""no" 1>&6
2937 ac_strtoull=no
2941 echo $ac_n "checking for enabled long long""... $ac_c" 1>&6
2942 echo "configure:2943: checking for enabled long long" >&5
2943 if test x"$ac_strtoll" = xno || test x"$ac_strtoull" = xno; then
2944 enable_long_long=no;
2945 fi;
2946 echo "$ac_t""$enable_long_long" 1>&6
2948 case "$enable_long_long" in
2949 yes) cat >> confdefs.h <<\EOF
2950 #define _GLIBCPP_USE_LONG_LONG 1
2954 esac
2956 echo $ac_n "checking for enabled cshadow headers""... $ac_c" 1>&6
2957 echo "configure:2958: checking for enabled cshadow headers" >&5
2958 # Check whether --enable-cshadow-headers or --disable-cshadow-headers was given.
2959 if test "${enable_cshadow_headers+set}" = set; then
2960 enableval="$enable_cshadow_headers"
2962 case "$enableval" in
2963 yes) enable_cshadow_headers=yes
2965 no) enable_cshadow_headers=no
2967 *) { echo "configure: error: Unknown argument to enable/disable shadowed C headers" 1>&2; exit 1; }
2969 esac
2970 else
2971 enable_cshadow_headers=no
2974 echo "$ac_t""$enable_cshadow_headers" 1>&6
2976 case "$enable_cshadow_headers" in
2977 yes)
2978 CSHADOWFLAGS=""
2980 no)
2981 CSHADOWFLAGS=""
2983 esac
2988 if test "$enable_cshadow_headers" = yes; then
2989 GLIBCPP_USE_CSHADOW_TRUE=
2990 GLIBCPP_USE_CSHADOW_FALSE='#'
2991 else
2992 GLIBCPP_USE_CSHADOW_TRUE='#'
2993 GLIBCPP_USE_CSHADOW_FALSE=
2997 echo $ac_n "checking for threads package to use""... $ac_c" 1>&6
2998 echo "configure:2999: checking for threads package to use" >&5
2999 # Check whether --enable-threads or --disable-threads was given.
3000 if test "${enable_threads+set}" = set; then
3001 enableval="$enable_threads"
3002 if test x$enable_threads = xno; then
3003 enable_threads=''
3005 else
3006 enable_threads=''
3010 enable_threads_flag=$enable_threads
3012 case x${enable_threads_flag} in
3013 x | xno | xnone)
3014 # No threads
3015 target_thread_file='single'
3017 xyes)
3018 # default
3019 target_thread_file=''
3021 xdecosf1 | xirix | xmach | xos2 | xposix | xpthreads | xsingle | \
3022 xsolaris | xwin32 | xdce | xvxworks)
3023 target_thread_file=$enable_threads_flag
3026 echo "$enable_threads is an unknown thread package" 1>&2
3027 exit 1
3029 esac
3031 case "$target_thread_file" in
3032 no | none | single)
3033 THREADS=none
3035 posix | pthreads)
3036 THREADS=posix
3037 case "$target" in
3038 *-*-linux*)
3040 esac
3042 decosf1 | irix | mach | os2 | solaris | win32 | dce | vxworks)
3043 { echo "configure: error: thread package $THREADS not yet supported" 1>&2; exit 1; }
3046 { echo "configure: error: $THREADS is an unknown thread package" 1>&2; exit 1; }
3048 esac
3049 echo "$ac_t""$THREADS" 1>&6
3051 THREADLIBS=
3052 THREADINCS=
3053 THREADDEPS=
3054 THREADOBJS=
3055 THREADH=
3056 THREADSPEC=
3057 case "$THREADS" in
3058 posix)
3059 ac_safe=`echo "pthread.h" | sed 'y%./+-%__p_%'`
3060 echo $ac_n "checking for pthread.h""... $ac_c" 1>&6
3061 echo "configure:3062: checking for pthread.h" >&5
3062 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3063 echo $ac_n "(cached) $ac_c" 1>&6
3064 else
3065 cat > conftest.$ac_ext <<EOF
3066 #line 3067 "configure"
3067 #include "confdefs.h"
3068 #include <pthread.h>
3070 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3071 { (eval echo configure:3072: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3072 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3073 if test -z "$ac_err"; then
3074 rm -rf conftest*
3075 eval "ac_cv_header_$ac_safe=yes"
3076 else
3077 echo "$ac_err" >&5
3078 echo "configure: failed program was:" >&5
3079 cat conftest.$ac_ext >&5
3080 rm -rf conftest*
3081 eval "ac_cv_header_$ac_safe=no"
3083 rm -f conftest*
3085 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3086 echo "$ac_t""yes" 1>&6
3087 have_pthread_h=yes
3088 else
3089 echo "$ac_t""no" 1>&6
3090 have_pthread_h=
3093 THREADLIBS=-lpthread
3094 THREADSPEC=-lpthread
3095 THREADH=threads-posix.h
3097 none)
3098 THREADH=threads-no.h
3100 esac
3108 #GLIBCPP_ENABLE_RELIBGCC([../..])
3109 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3110 if test "${enable_cxx_flags+set}" = set; then
3111 enableval="$enable_cxx_flags"
3112 case "x$enableval" in
3113 xyes)
3114 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3115 xno|x)
3116 enable_cxx_flags='' ;;
3118 enable_cxx_flags="$enableval" ;;
3119 esac
3120 else
3121 enable_cxx_flags='none'
3125 if test "$enable_cxx_flags" = "none"; then
3126 enable_cxx_flags='';
3129 if test -n "$enable_cxx_flags"; then
3130 for f in $enable_cxx_flags; do
3131 case "$f" in
3132 -fhonor-std) ;;
3133 -*) ;;
3134 *) # and we're trying to pass /what/ exactly?
3135 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3136 esac
3137 done
3139 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3144 if test -n "$with_cross_host"; then
3146 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
3147 # may not work correctly, because the compiler may not be able to
3148 # link executables.
3150 xcompiling=1
3151 NATIVE=no
3152 # If Canadian cross, then don't pick up tools from the build
3153 # directory.
3154 if test "$build" != "$with_cross_host"; then
3155 CANADIAN=yes
3156 NULL_TARGET=yes
3157 else
3158 CANADIAN=no
3159 NULL_TARGET=no
3162 case "$target_alias" in
3163 *-wince-*)
3164 # Configure for Microsoft Windows CE, or whatever they are
3165 # currently calling it.
3166 cat >> confdefs.h <<\EOF
3167 #define HAVE_FLOAT_H 1
3171 cat >> confdefs.h <<\EOF
3172 #define HAVE__FINITE 1
3175 cat >> confdefs.h <<\EOF
3176 #define HAVE__ISNAN 1
3179 cat >> confdefs.h <<\EOF
3180 #define HAVE__COPYSIGN 1
3183 cat >> confdefs.h <<\EOF
3184 #define HAVE__FPCLASS 1
3187 cat >> confdefs.h <<\EOF
3188 #define HAVE_MODF 1
3192 ctype_include_dir="config/wince"
3195 cat >> confdefs.h <<\EOF
3196 #define _GLIBCPP_NEED_MBSTATE_T 1
3200 cat >> confdefs.h <<\EOF
3201 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
3204 cat >> confdefs.h <<\EOF
3205 #define _GLIBCPP_BUGGY_COMPLEX 1
3210 # We assume newlib. This lets us hard-code the functions we know
3211 # we'll have.
3212 cat >> confdefs.h <<\EOF
3213 #define HAVE_FINITE 1
3216 cat >> confdefs.h <<\EOF
3217 #define HAVE_ISNAN 1
3220 cat >> confdefs.h <<\EOF
3221 #define HAVE_ISNANF 1
3224 cat >> confdefs.h <<\EOF
3225 #define HAVE_ISINF 1
3228 cat >> confdefs.h <<\EOF
3229 #define HAVE_ISINFF 1
3233 ctype_include_dir="config/newlib"
3236 cat >> confdefs.h <<\EOF
3237 #define _GLIBCPP_NEED_MBSTATE_T 1
3241 cat >> confdefs.h <<\EOF
3242 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
3245 cat >> confdefs.h <<\EOF
3246 #define _GLIBCPP_BUGGY_COMPLEX 1
3249 # need to ceck for faster f versions of math functions, ie sinf?
3251 esac
3252 else
3254 # We are being configured natively. We can do more elaborate tests
3255 # that include AC_TRY_COMPILE now, as the linker is assumed to be
3256 # working.
3258 xcompiling=0
3259 NATIVE=yes
3260 CANADIAN=no
3261 NULL_TARGET=no
3263 # Check for available headers.
3264 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
3265 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h
3267 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3268 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3269 echo "configure:3270: checking for $ac_hdr" >&5
3270 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3271 echo $ac_n "(cached) $ac_c" 1>&6
3272 else
3273 cat > conftest.$ac_ext <<EOF
3274 #line 3275 "configure"
3275 #include "confdefs.h"
3276 #include <$ac_hdr>
3278 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3279 { (eval echo configure:3280: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3280 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3281 if test -z "$ac_err"; then
3282 rm -rf conftest*
3283 eval "ac_cv_header_$ac_safe=yes"
3284 else
3285 echo "$ac_err" >&5
3286 echo "configure: failed program was:" >&5
3287 cat conftest.$ac_ext >&5
3288 rm -rf conftest*
3289 eval "ac_cv_header_$ac_safe=no"
3291 rm -f conftest*
3293 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3294 echo "$ac_t""yes" 1>&6
3295 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3296 cat >> confdefs.h <<EOF
3297 #define $ac_tr_hdr 1
3300 else
3301 echo "$ac_t""no" 1>&6
3303 done
3307 # All these tests are for C++; save the language and the compiler flags.
3308 # The CXXFLAGS thing is suspicious, but based on similar bits
3309 # found in GLIBCPP_CONFIGURE.
3311 ac_ext=C
3312 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3313 ac_cpp='$CXXCPP $CPPFLAGS'
3314 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3315 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3316 cross_compiling=$ac_cv_prog_cxx_cross
3318 ac_test_CXXFLAGS="${CXXFLAGS+set}"
3319 ac_save_CXXFLAGS="$CXXFLAGS"
3320 WERROR='-Werror'
3322 # Check for pragma system_header.
3323 echo $ac_n "checking for g++ that supports pragma system_header""... $ac_c" 1>&6
3324 echo "configure:3325: checking for g++ that supports pragma system_header" >&5
3325 CXXFLAGS='-Wunknown-pragmas -Werror'
3326 cat > conftest.$ac_ext <<EOF
3327 #line 3328 "configure"
3328 #include "confdefs.h"
3329 #pragma GCC system_header
3330 int main() {
3331 int foo;
3333 ; return 0; }
3335 if { (eval echo configure:3336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3336 rm -rf conftest*
3337 ac_newpragma=yes
3338 else
3339 echo "configure: failed program was:" >&5
3340 cat conftest.$ac_ext >&5
3341 rm -rf conftest*
3342 ac_newpragma=no
3344 rm -f conftest*
3345 if test "$ac_test_CXXFLAGS" = set; then
3346 CXXFLAGS="$ac_save_CXXFLAGS"
3347 else
3348 # this is the suspicious part
3349 CXXFLAGS=''
3351 if test "$ac_newpragma" = "no"; then
3352 WERROR="$WERROR -Wno-unknown-pragmas"
3354 echo "$ac_t""$ac_newpragma" 1>&6
3356 # Check for more sophisticated diagnostic control.
3357 echo $ac_n "checking for g++ that supports -fdiagnostics-show-location=once""... $ac_c" 1>&6
3358 echo "configure:3359: checking for g++ that supports -fdiagnostics-show-location=once" >&5
3359 CXXFLAGS='-fdiagnostics-show-location=once'
3360 cat > conftest.$ac_ext <<EOF
3361 #line 3362 "configure"
3362 #include "confdefs.h"
3364 int main() {
3365 int foo;
3367 ; return 0; }
3369 if { (eval echo configure:3370: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3370 rm -rf conftest*
3371 ac_gabydiags=yes
3372 else
3373 echo "configure: failed program was:" >&5
3374 cat conftest.$ac_ext >&5
3375 rm -rf conftest*
3376 ac_gabydiags=no
3378 rm -f conftest*
3379 if test "$ac_test_CXXFLAGS" = set; then
3380 CXXFLAGS="$ac_save_CXXFLAGS"
3381 else
3382 # this is the suspicious part
3383 CXXFLAGS=''
3385 if test "$ac_gabydiags" = "yes"; then
3386 WFMT_FLAGS='-fdiagnostics-show-location=once'
3388 echo "$ac_t""$ac_gabydiags" 1>&6
3390 # Check for -ffunction-sections -fdata-sections
3391 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
3392 echo "configure:3393: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
3393 CXXFLAGS='-ffunction-sections -fdata-sections'
3394 cat > conftest.$ac_ext <<EOF
3395 #line 3396 "configure"
3396 #include "confdefs.h"
3398 int main() {
3399 int foo;
3401 ; return 0; }
3403 if { (eval echo configure:3404: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3404 rm -rf conftest*
3405 ac_fdsections=yes
3406 else
3407 echo "configure: failed program was:" >&5
3408 cat conftest.$ac_ext >&5
3409 rm -rf conftest*
3410 ac_fdsections=no
3412 rm -f conftest*
3413 if test "$ac_test_CXXFLAGS" = set; then
3414 CXXFLAGS="$ac_save_CXXFLAGS"
3415 else
3416 # this is the suspicious part
3417 CXXFLAGS=''
3419 if test "$ac_fdsections" = "yes"; then
3420 SECTION_FLAGS='-ffunction-sections -fdata-sections'
3422 echo "$ac_t""$ac_fdsections" 1>&6
3424 ac_ext=c
3425 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3426 ac_cpp='$CPP $CPPFLAGS'
3427 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3428 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3429 cross_compiling=$ac_cv_prog_cc_cross
3436 # If we're not using GNU ld, then there's no point in even trying these
3437 # tests. Check for that first. We should have already tested for gld
3438 # by now (in libtool), but require it now just to be safe...
3440 if test "$ac_cv_prog_gnu_ld" = "no"; then
3441 SECTION_LDFLAGS=''
3442 OPT_LDFLAGS=''
3444 else # GNU ld it is! Joy and bunny rabbits!
3446 # All these tests are for C++; save the language and the compiler flags.
3447 # Need to do this so that g++ won't try to link in libstdc++
3448 ac_test_CFLAGS="${CFLAGS+set}"
3449 ac_save_CFLAGS="$CFLAGS"
3450 CFLAGS='-x c++ -Wl,--gc-sections'
3452 # Check for -Wl,--gc-sections
3453 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
3454 echo "configure:3455: checking for ld that supports -Wl,--gc-sections" >&5
3455 if test "$cross_compiling" = yes; then
3456 ac_sectionLDflags=yes
3457 else
3458 cat > conftest.$ac_ext <<EOF
3459 #line 3460 "configure"
3460 #include "confdefs.h"
3462 int main(void)
3464 try { throw 1; }
3465 catch (...) { };
3466 return 0;
3470 if { (eval echo configure:3471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3471 then
3472 ac_sectionLDflags=yes
3473 else
3474 echo "configure: failed program was:" >&5
3475 cat conftest.$ac_ext >&5
3476 rm -fr conftest*
3477 ac_sectionLFflags=no
3479 rm -fr conftest*
3482 if test "$ac_test_CFLAGS" = set; then
3483 CFLAGS="$ac_save_CFLAGS"
3484 else
3485 # this is the suspicious part
3486 CFLAGS=''
3488 if test "$ac_sectionLDflags" = "yes"; then
3489 SECTION_LDFLAGS='-Wl,--gc-sections'
3491 echo "$ac_t""$ac_sectionLDflags" 1>&6
3492 OPT_LDFLAGS='-Wl,-O1'
3500 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
3501 echo "configure:3502: checking for __builtin_abs declaration" >&5
3502 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
3503 echo $ac_n "(cached) $ac_c" 1>&6
3504 else
3507 ac_ext=C
3508 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3509 ac_cpp='$CXXCPP $CPPFLAGS'
3510 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3511 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3512 cross_compiling=$ac_cv_prog_cxx_cross
3514 cat > conftest.$ac_ext <<EOF
3515 #line 3516 "configure"
3516 #include "confdefs.h"
3517 #include <math.h>
3518 int main() {
3519 __builtin_abs(0);
3520 ; return 0; }
3522 if { (eval echo configure:3523: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3523 rm -rf conftest*
3524 glibcpp_cv_func___builtin_abs_use=yes
3525 else
3526 echo "configure: failed program was:" >&5
3527 cat conftest.$ac_ext >&5
3528 rm -rf conftest*
3529 glibcpp_cv_func___builtin_abs_use=no
3531 rm -f conftest*
3532 ac_ext=c
3533 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3534 ac_cpp='$CPP $CPPFLAGS'
3535 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3536 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3537 cross_compiling=$ac_cv_prog_cc_cross
3542 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
3543 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
3544 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
3545 echo "configure:3546: checking for __builtin_abs linkage" >&5
3546 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
3547 echo $ac_n "(cached) $ac_c" 1>&6
3548 else
3550 cat > conftest.$ac_ext <<EOF
3551 #line 3552 "configure"
3552 #include "confdefs.h"
3553 #include <math.h>
3554 int main() {
3555 __builtin_abs(0);
3556 ; return 0; }
3558 if { (eval echo configure:3559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3559 rm -rf conftest*
3560 glibcpp_cv_func___builtin_abs_link=yes
3561 else
3562 echo "configure: failed program was:" >&5
3563 cat conftest.$ac_ext >&5
3564 rm -rf conftest*
3565 glibcpp_cv_func___builtin_abs_link=no
3567 rm -f conftest*
3571 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
3572 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
3573 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3574 cat >> confdefs.h <<EOF
3575 #define ${ac_tr_func} 1
3582 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
3583 echo "configure:3584: checking for __builtin_fabsf declaration" >&5
3584 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
3585 echo $ac_n "(cached) $ac_c" 1>&6
3586 else
3589 ac_ext=C
3590 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3591 ac_cpp='$CXXCPP $CPPFLAGS'
3592 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3593 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3594 cross_compiling=$ac_cv_prog_cxx_cross
3596 cat > conftest.$ac_ext <<EOF
3597 #line 3598 "configure"
3598 #include "confdefs.h"
3599 #include <math.h>
3600 int main() {
3601 __builtin_fabsf(0);
3602 ; return 0; }
3604 if { (eval echo configure:3605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3605 rm -rf conftest*
3606 glibcpp_cv_func___builtin_fabsf_use=yes
3607 else
3608 echo "configure: failed program was:" >&5
3609 cat conftest.$ac_ext >&5
3610 rm -rf conftest*
3611 glibcpp_cv_func___builtin_fabsf_use=no
3613 rm -f conftest*
3614 ac_ext=c
3615 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3616 ac_cpp='$CPP $CPPFLAGS'
3617 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3618 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3619 cross_compiling=$ac_cv_prog_cc_cross
3624 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
3625 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
3626 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
3627 echo "configure:3628: checking for __builtin_fabsf linkage" >&5
3628 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
3629 echo $ac_n "(cached) $ac_c" 1>&6
3630 else
3632 cat > conftest.$ac_ext <<EOF
3633 #line 3634 "configure"
3634 #include "confdefs.h"
3635 #include <math.h>
3636 int main() {
3637 __builtin_fabsf(0);
3638 ; return 0; }
3640 if { (eval echo configure:3641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3641 rm -rf conftest*
3642 glibcpp_cv_func___builtin_fabsf_link=yes
3643 else
3644 echo "configure: failed program was:" >&5
3645 cat conftest.$ac_ext >&5
3646 rm -rf conftest*
3647 glibcpp_cv_func___builtin_fabsf_link=no
3649 rm -f conftest*
3653 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
3654 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
3655 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3656 cat >> confdefs.h <<EOF
3657 #define ${ac_tr_func} 1
3664 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
3665 echo "configure:3666: checking for __builtin_fabs declaration" >&5
3666 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
3667 echo $ac_n "(cached) $ac_c" 1>&6
3668 else
3671 ac_ext=C
3672 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3673 ac_cpp='$CXXCPP $CPPFLAGS'
3674 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3675 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3676 cross_compiling=$ac_cv_prog_cxx_cross
3678 cat > conftest.$ac_ext <<EOF
3679 #line 3680 "configure"
3680 #include "confdefs.h"
3681 #include <math.h>
3682 int main() {
3683 __builtin_fabs(0);
3684 ; return 0; }
3686 if { (eval echo configure:3687: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3687 rm -rf conftest*
3688 glibcpp_cv_func___builtin_fabs_use=yes
3689 else
3690 echo "configure: failed program was:" >&5
3691 cat conftest.$ac_ext >&5
3692 rm -rf conftest*
3693 glibcpp_cv_func___builtin_fabs_use=no
3695 rm -f conftest*
3696 ac_ext=c
3697 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3698 ac_cpp='$CPP $CPPFLAGS'
3699 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3700 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3701 cross_compiling=$ac_cv_prog_cc_cross
3706 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
3707 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
3708 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
3709 echo "configure:3710: checking for __builtin_fabs linkage" >&5
3710 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
3711 echo $ac_n "(cached) $ac_c" 1>&6
3712 else
3714 cat > conftest.$ac_ext <<EOF
3715 #line 3716 "configure"
3716 #include "confdefs.h"
3717 #include <math.h>
3718 int main() {
3719 __builtin_fabs(0);
3720 ; return 0; }
3722 if { (eval echo configure:3723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3723 rm -rf conftest*
3724 glibcpp_cv_func___builtin_fabs_link=yes
3725 else
3726 echo "configure: failed program was:" >&5
3727 cat conftest.$ac_ext >&5
3728 rm -rf conftest*
3729 glibcpp_cv_func___builtin_fabs_link=no
3731 rm -f conftest*
3735 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
3736 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
3737 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3738 cat >> confdefs.h <<EOF
3739 #define ${ac_tr_func} 1
3746 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
3747 echo "configure:3748: checking for __builtin_fabsl declaration" >&5
3748 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
3749 echo $ac_n "(cached) $ac_c" 1>&6
3750 else
3753 ac_ext=C
3754 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3755 ac_cpp='$CXXCPP $CPPFLAGS'
3756 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3757 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3758 cross_compiling=$ac_cv_prog_cxx_cross
3760 cat > conftest.$ac_ext <<EOF
3761 #line 3762 "configure"
3762 #include "confdefs.h"
3763 #include <math.h>
3764 int main() {
3765 __builtin_fabsl(0);
3766 ; return 0; }
3768 if { (eval echo configure:3769: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3769 rm -rf conftest*
3770 glibcpp_cv_func___builtin_fabsl_use=yes
3771 else
3772 echo "configure: failed program was:" >&5
3773 cat conftest.$ac_ext >&5
3774 rm -rf conftest*
3775 glibcpp_cv_func___builtin_fabsl_use=no
3777 rm -f conftest*
3778 ac_ext=c
3779 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3780 ac_cpp='$CPP $CPPFLAGS'
3781 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3782 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3783 cross_compiling=$ac_cv_prog_cc_cross
3788 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
3789 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
3790 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
3791 echo "configure:3792: checking for __builtin_fabsl linkage" >&5
3792 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
3793 echo $ac_n "(cached) $ac_c" 1>&6
3794 else
3796 cat > conftest.$ac_ext <<EOF
3797 #line 3798 "configure"
3798 #include "confdefs.h"
3799 #include <math.h>
3800 int main() {
3801 __builtin_fabsl(0);
3802 ; return 0; }
3804 if { (eval echo configure:3805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3805 rm -rf conftest*
3806 glibcpp_cv_func___builtin_fabsl_link=yes
3807 else
3808 echo "configure: failed program was:" >&5
3809 cat conftest.$ac_ext >&5
3810 rm -rf conftest*
3811 glibcpp_cv_func___builtin_fabsl_link=no
3813 rm -f conftest*
3817 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
3818 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
3819 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3820 cat >> confdefs.h <<EOF
3821 #define ${ac_tr_func} 1
3828 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
3829 echo "configure:3830: checking for __builtin_labs declaration" >&5
3830 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
3831 echo $ac_n "(cached) $ac_c" 1>&6
3832 else
3835 ac_ext=C
3836 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3837 ac_cpp='$CXXCPP $CPPFLAGS'
3838 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3839 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3840 cross_compiling=$ac_cv_prog_cxx_cross
3842 cat > conftest.$ac_ext <<EOF
3843 #line 3844 "configure"
3844 #include "confdefs.h"
3845 #include <math.h>
3846 int main() {
3847 __builtin_labs(0);
3848 ; return 0; }
3850 if { (eval echo configure:3851: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3851 rm -rf conftest*
3852 glibcpp_cv_func___builtin_labs_use=yes
3853 else
3854 echo "configure: failed program was:" >&5
3855 cat conftest.$ac_ext >&5
3856 rm -rf conftest*
3857 glibcpp_cv_func___builtin_labs_use=no
3859 rm -f conftest*
3860 ac_ext=c
3861 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3862 ac_cpp='$CPP $CPPFLAGS'
3863 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3864 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3865 cross_compiling=$ac_cv_prog_cc_cross
3870 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
3871 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
3872 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
3873 echo "configure:3874: checking for __builtin_labs linkage" >&5
3874 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
3875 echo $ac_n "(cached) $ac_c" 1>&6
3876 else
3878 cat > conftest.$ac_ext <<EOF
3879 #line 3880 "configure"
3880 #include "confdefs.h"
3881 #include <math.h>
3882 int main() {
3883 __builtin_labs(0);
3884 ; return 0; }
3886 if { (eval echo configure:3887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3887 rm -rf conftest*
3888 glibcpp_cv_func___builtin_labs_link=yes
3889 else
3890 echo "configure: failed program was:" >&5
3891 cat conftest.$ac_ext >&5
3892 rm -rf conftest*
3893 glibcpp_cv_func___builtin_labs_link=no
3895 rm -f conftest*
3899 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
3900 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
3901 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3902 cat >> confdefs.h <<EOF
3903 #define ${ac_tr_func} 1
3911 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
3912 echo "configure:3913: checking for __builtin_sqrtf declaration" >&5
3913 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
3914 echo $ac_n "(cached) $ac_c" 1>&6
3915 else
3918 ac_ext=C
3919 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3920 ac_cpp='$CXXCPP $CPPFLAGS'
3921 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3922 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3923 cross_compiling=$ac_cv_prog_cxx_cross
3925 cat > conftest.$ac_ext <<EOF
3926 #line 3927 "configure"
3927 #include "confdefs.h"
3928 #include <math.h>
3929 int main() {
3930 __builtin_sqrtf(0);
3931 ; return 0; }
3933 if { (eval echo configure:3934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3934 rm -rf conftest*
3935 glibcpp_cv_func___builtin_sqrtf_use=yes
3936 else
3937 echo "configure: failed program was:" >&5
3938 cat conftest.$ac_ext >&5
3939 rm -rf conftest*
3940 glibcpp_cv_func___builtin_sqrtf_use=no
3942 rm -f conftest*
3943 ac_ext=c
3944 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3945 ac_cpp='$CPP $CPPFLAGS'
3946 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3947 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3948 cross_compiling=$ac_cv_prog_cc_cross
3953 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
3954 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
3955 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
3956 echo "configure:3957: checking for __builtin_sqrtf linkage" >&5
3957 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
3958 echo $ac_n "(cached) $ac_c" 1>&6
3959 else
3961 cat > conftest.$ac_ext <<EOF
3962 #line 3963 "configure"
3963 #include "confdefs.h"
3964 #include <math.h>
3965 int main() {
3966 __builtin_sqrtf(0);
3967 ; return 0; }
3969 if { (eval echo configure:3970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3970 rm -rf conftest*
3971 glibcpp_cv_func___builtin_sqrtf_link=yes
3972 else
3973 echo "configure: failed program was:" >&5
3974 cat conftest.$ac_ext >&5
3975 rm -rf conftest*
3976 glibcpp_cv_func___builtin_sqrtf_link=no
3978 rm -f conftest*
3982 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
3983 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
3984 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3985 cat >> confdefs.h <<EOF
3986 #define ${ac_tr_func} 1
3993 echo $ac_n "checking for __builtin_fsqrt declaration""... $ac_c" 1>&6
3994 echo "configure:3995: checking for __builtin_fsqrt declaration" >&5
3995 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_use'+set}'`\" = set"; then
3996 echo $ac_n "(cached) $ac_c" 1>&6
3997 else
4000 ac_ext=C
4001 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4002 ac_cpp='$CXXCPP $CPPFLAGS'
4003 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4004 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4005 cross_compiling=$ac_cv_prog_cxx_cross
4007 cat > conftest.$ac_ext <<EOF
4008 #line 4009 "configure"
4009 #include "confdefs.h"
4010 #include <math.h>
4011 int main() {
4012 __builtin_fsqrt(0);
4013 ; return 0; }
4015 if { (eval echo configure:4016: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4016 rm -rf conftest*
4017 glibcpp_cv_func___builtin_fsqrt_use=yes
4018 else
4019 echo "configure: failed program was:" >&5
4020 cat conftest.$ac_ext >&5
4021 rm -rf conftest*
4022 glibcpp_cv_func___builtin_fsqrt_use=no
4024 rm -f conftest*
4025 ac_ext=c
4026 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4027 ac_cpp='$CPP $CPPFLAGS'
4028 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4029 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4030 cross_compiling=$ac_cv_prog_cc_cross
4035 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_use" 1>&6
4036 if test x$glibcpp_cv_func___builtin_fsqrt_use = x"yes"; then
4037 echo $ac_n "checking for __builtin_fsqrt linkage""... $ac_c" 1>&6
4038 echo "configure:4039: checking for __builtin_fsqrt linkage" >&5
4039 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_link'+set}'`\" = set"; then
4040 echo $ac_n "(cached) $ac_c" 1>&6
4041 else
4043 cat > conftest.$ac_ext <<EOF
4044 #line 4045 "configure"
4045 #include "confdefs.h"
4046 #include <math.h>
4047 int main() {
4048 __builtin_fsqrt(0);
4049 ; return 0; }
4051 if { (eval echo configure:4052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4052 rm -rf conftest*
4053 glibcpp_cv_func___builtin_fsqrt_link=yes
4054 else
4055 echo "configure: failed program was:" >&5
4056 cat conftest.$ac_ext >&5
4057 rm -rf conftest*
4058 glibcpp_cv_func___builtin_fsqrt_link=no
4060 rm -f conftest*
4064 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_link" 1>&6
4065 if test x$glibcpp_cv_func___builtin_fsqrt_link = x"yes"; then
4066 ac_tr_func=HAVE_`echo __builtin_fsqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4067 cat >> confdefs.h <<EOF
4068 #define ${ac_tr_func} 1
4075 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
4076 echo "configure:4077: checking for __builtin_sqrtl declaration" >&5
4077 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
4078 echo $ac_n "(cached) $ac_c" 1>&6
4079 else
4082 ac_ext=C
4083 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4084 ac_cpp='$CXXCPP $CPPFLAGS'
4085 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4086 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4087 cross_compiling=$ac_cv_prog_cxx_cross
4089 cat > conftest.$ac_ext <<EOF
4090 #line 4091 "configure"
4091 #include "confdefs.h"
4092 #include <math.h>
4093 int main() {
4094 __builtin_sqrtl(0);
4095 ; return 0; }
4097 if { (eval echo configure:4098: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4098 rm -rf conftest*
4099 glibcpp_cv_func___builtin_sqrtl_use=yes
4100 else
4101 echo "configure: failed program was:" >&5
4102 cat conftest.$ac_ext >&5
4103 rm -rf conftest*
4104 glibcpp_cv_func___builtin_sqrtl_use=no
4106 rm -f conftest*
4107 ac_ext=c
4108 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4109 ac_cpp='$CPP $CPPFLAGS'
4110 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4111 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4112 cross_compiling=$ac_cv_prog_cc_cross
4117 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
4118 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
4119 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
4120 echo "configure:4121: checking for __builtin_sqrtl linkage" >&5
4121 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
4122 echo $ac_n "(cached) $ac_c" 1>&6
4123 else
4125 cat > conftest.$ac_ext <<EOF
4126 #line 4127 "configure"
4127 #include "confdefs.h"
4128 #include <math.h>
4129 int main() {
4130 __builtin_sqrtl(0);
4131 ; return 0; }
4133 if { (eval echo configure:4134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4134 rm -rf conftest*
4135 glibcpp_cv_func___builtin_sqrtl_link=yes
4136 else
4137 echo "configure: failed program was:" >&5
4138 cat conftest.$ac_ext >&5
4139 rm -rf conftest*
4140 glibcpp_cv_func___builtin_sqrtl_link=no
4142 rm -f conftest*
4146 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
4147 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
4148 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4149 cat >> confdefs.h <<EOF
4150 #define ${ac_tr_func} 1
4158 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
4159 echo "configure:4160: checking for __builtin_sinf declaration" >&5
4160 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
4161 echo $ac_n "(cached) $ac_c" 1>&6
4162 else
4165 ac_ext=C
4166 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4167 ac_cpp='$CXXCPP $CPPFLAGS'
4168 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4169 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4170 cross_compiling=$ac_cv_prog_cxx_cross
4172 cat > conftest.$ac_ext <<EOF
4173 #line 4174 "configure"
4174 #include "confdefs.h"
4175 #include <math.h>
4176 int main() {
4177 __builtin_sinf(0);
4178 ; return 0; }
4180 if { (eval echo configure:4181: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4181 rm -rf conftest*
4182 glibcpp_cv_func___builtin_sinf_use=yes
4183 else
4184 echo "configure: failed program was:" >&5
4185 cat conftest.$ac_ext >&5
4186 rm -rf conftest*
4187 glibcpp_cv_func___builtin_sinf_use=no
4189 rm -f conftest*
4190 ac_ext=c
4191 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4192 ac_cpp='$CPP $CPPFLAGS'
4193 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4194 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4195 cross_compiling=$ac_cv_prog_cc_cross
4200 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
4201 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
4202 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
4203 echo "configure:4204: checking for __builtin_sinf linkage" >&5
4204 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
4205 echo $ac_n "(cached) $ac_c" 1>&6
4206 else
4208 cat > conftest.$ac_ext <<EOF
4209 #line 4210 "configure"
4210 #include "confdefs.h"
4211 #include <math.h>
4212 int main() {
4213 __builtin_sinf(0);
4214 ; return 0; }
4216 if { (eval echo configure:4217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4217 rm -rf conftest*
4218 glibcpp_cv_func___builtin_sinf_link=yes
4219 else
4220 echo "configure: failed program was:" >&5
4221 cat conftest.$ac_ext >&5
4222 rm -rf conftest*
4223 glibcpp_cv_func___builtin_sinf_link=no
4225 rm -f conftest*
4229 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
4230 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
4231 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4232 cat >> confdefs.h <<EOF
4233 #define ${ac_tr_func} 1
4240 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
4241 echo "configure:4242: checking for __builtin_sin declaration" >&5
4242 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
4243 echo $ac_n "(cached) $ac_c" 1>&6
4244 else
4247 ac_ext=C
4248 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4249 ac_cpp='$CXXCPP $CPPFLAGS'
4250 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4251 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4252 cross_compiling=$ac_cv_prog_cxx_cross
4254 cat > conftest.$ac_ext <<EOF
4255 #line 4256 "configure"
4256 #include "confdefs.h"
4257 #include <math.h>
4258 int main() {
4259 __builtin_sin(0);
4260 ; return 0; }
4262 if { (eval echo configure:4263: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4263 rm -rf conftest*
4264 glibcpp_cv_func___builtin_sin_use=yes
4265 else
4266 echo "configure: failed program was:" >&5
4267 cat conftest.$ac_ext >&5
4268 rm -rf conftest*
4269 glibcpp_cv_func___builtin_sin_use=no
4271 rm -f conftest*
4272 ac_ext=c
4273 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4274 ac_cpp='$CPP $CPPFLAGS'
4275 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4276 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4277 cross_compiling=$ac_cv_prog_cc_cross
4282 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
4283 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
4284 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
4285 echo "configure:4286: checking for __builtin_sin linkage" >&5
4286 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
4287 echo $ac_n "(cached) $ac_c" 1>&6
4288 else
4290 cat > conftest.$ac_ext <<EOF
4291 #line 4292 "configure"
4292 #include "confdefs.h"
4293 #include <math.h>
4294 int main() {
4295 __builtin_sin(0);
4296 ; return 0; }
4298 if { (eval echo configure:4299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4299 rm -rf conftest*
4300 glibcpp_cv_func___builtin_sin_link=yes
4301 else
4302 echo "configure: failed program was:" >&5
4303 cat conftest.$ac_ext >&5
4304 rm -rf conftest*
4305 glibcpp_cv_func___builtin_sin_link=no
4307 rm -f conftest*
4311 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
4312 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
4313 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4314 cat >> confdefs.h <<EOF
4315 #define ${ac_tr_func} 1
4322 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
4323 echo "configure:4324: checking for __builtin_sinl declaration" >&5
4324 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
4325 echo $ac_n "(cached) $ac_c" 1>&6
4326 else
4329 ac_ext=C
4330 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4331 ac_cpp='$CXXCPP $CPPFLAGS'
4332 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4333 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4334 cross_compiling=$ac_cv_prog_cxx_cross
4336 cat > conftest.$ac_ext <<EOF
4337 #line 4338 "configure"
4338 #include "confdefs.h"
4339 #include <math.h>
4340 int main() {
4341 __builtin_sinl(0);
4342 ; return 0; }
4344 if { (eval echo configure:4345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4345 rm -rf conftest*
4346 glibcpp_cv_func___builtin_sinl_use=yes
4347 else
4348 echo "configure: failed program was:" >&5
4349 cat conftest.$ac_ext >&5
4350 rm -rf conftest*
4351 glibcpp_cv_func___builtin_sinl_use=no
4353 rm -f conftest*
4354 ac_ext=c
4355 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4356 ac_cpp='$CPP $CPPFLAGS'
4357 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4358 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4359 cross_compiling=$ac_cv_prog_cc_cross
4364 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
4365 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
4366 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
4367 echo "configure:4368: checking for __builtin_sinl linkage" >&5
4368 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
4369 echo $ac_n "(cached) $ac_c" 1>&6
4370 else
4372 cat > conftest.$ac_ext <<EOF
4373 #line 4374 "configure"
4374 #include "confdefs.h"
4375 #include <math.h>
4376 int main() {
4377 __builtin_sinl(0);
4378 ; return 0; }
4380 if { (eval echo configure:4381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4381 rm -rf conftest*
4382 glibcpp_cv_func___builtin_sinl_link=yes
4383 else
4384 echo "configure: failed program was:" >&5
4385 cat conftest.$ac_ext >&5
4386 rm -rf conftest*
4387 glibcpp_cv_func___builtin_sinl_link=no
4389 rm -f conftest*
4393 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
4394 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
4395 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4396 cat >> confdefs.h <<EOF
4397 #define ${ac_tr_func} 1
4405 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
4406 echo "configure:4407: checking for __builtin_cosf declaration" >&5
4407 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
4408 echo $ac_n "(cached) $ac_c" 1>&6
4409 else
4412 ac_ext=C
4413 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4414 ac_cpp='$CXXCPP $CPPFLAGS'
4415 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4416 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4417 cross_compiling=$ac_cv_prog_cxx_cross
4419 cat > conftest.$ac_ext <<EOF
4420 #line 4421 "configure"
4421 #include "confdefs.h"
4422 #include <math.h>
4423 int main() {
4424 __builtin_cosf(0);
4425 ; return 0; }
4427 if { (eval echo configure:4428: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4428 rm -rf conftest*
4429 glibcpp_cv_func___builtin_cosf_use=yes
4430 else
4431 echo "configure: failed program was:" >&5
4432 cat conftest.$ac_ext >&5
4433 rm -rf conftest*
4434 glibcpp_cv_func___builtin_cosf_use=no
4436 rm -f conftest*
4437 ac_ext=c
4438 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4439 ac_cpp='$CPP $CPPFLAGS'
4440 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4441 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4442 cross_compiling=$ac_cv_prog_cc_cross
4447 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
4448 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
4449 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
4450 echo "configure:4451: checking for __builtin_cosf linkage" >&5
4451 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
4452 echo $ac_n "(cached) $ac_c" 1>&6
4453 else
4455 cat > conftest.$ac_ext <<EOF
4456 #line 4457 "configure"
4457 #include "confdefs.h"
4458 #include <math.h>
4459 int main() {
4460 __builtin_cosf(0);
4461 ; return 0; }
4463 if { (eval echo configure:4464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4464 rm -rf conftest*
4465 glibcpp_cv_func___builtin_cosf_link=yes
4466 else
4467 echo "configure: failed program was:" >&5
4468 cat conftest.$ac_ext >&5
4469 rm -rf conftest*
4470 glibcpp_cv_func___builtin_cosf_link=no
4472 rm -f conftest*
4476 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
4477 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
4478 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4479 cat >> confdefs.h <<EOF
4480 #define ${ac_tr_func} 1
4487 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
4488 echo "configure:4489: checking for __builtin_cos declaration" >&5
4489 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
4490 echo $ac_n "(cached) $ac_c" 1>&6
4491 else
4494 ac_ext=C
4495 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4496 ac_cpp='$CXXCPP $CPPFLAGS'
4497 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4498 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4499 cross_compiling=$ac_cv_prog_cxx_cross
4501 cat > conftest.$ac_ext <<EOF
4502 #line 4503 "configure"
4503 #include "confdefs.h"
4504 #include <math.h>
4505 int main() {
4506 __builtin_cos(0);
4507 ; return 0; }
4509 if { (eval echo configure:4510: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4510 rm -rf conftest*
4511 glibcpp_cv_func___builtin_cos_use=yes
4512 else
4513 echo "configure: failed program was:" >&5
4514 cat conftest.$ac_ext >&5
4515 rm -rf conftest*
4516 glibcpp_cv_func___builtin_cos_use=no
4518 rm -f conftest*
4519 ac_ext=c
4520 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4521 ac_cpp='$CPP $CPPFLAGS'
4522 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4523 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4524 cross_compiling=$ac_cv_prog_cc_cross
4529 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
4530 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
4531 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
4532 echo "configure:4533: checking for __builtin_cos linkage" >&5
4533 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
4534 echo $ac_n "(cached) $ac_c" 1>&6
4535 else
4537 cat > conftest.$ac_ext <<EOF
4538 #line 4539 "configure"
4539 #include "confdefs.h"
4540 #include <math.h>
4541 int main() {
4542 __builtin_cos(0);
4543 ; return 0; }
4545 if { (eval echo configure:4546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4546 rm -rf conftest*
4547 glibcpp_cv_func___builtin_cos_link=yes
4548 else
4549 echo "configure: failed program was:" >&5
4550 cat conftest.$ac_ext >&5
4551 rm -rf conftest*
4552 glibcpp_cv_func___builtin_cos_link=no
4554 rm -f conftest*
4558 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
4559 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
4560 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4561 cat >> confdefs.h <<EOF
4562 #define ${ac_tr_func} 1
4569 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
4570 echo "configure:4571: checking for __builtin_cosl declaration" >&5
4571 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
4572 echo $ac_n "(cached) $ac_c" 1>&6
4573 else
4576 ac_ext=C
4577 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4578 ac_cpp='$CXXCPP $CPPFLAGS'
4579 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4580 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4581 cross_compiling=$ac_cv_prog_cxx_cross
4583 cat > conftest.$ac_ext <<EOF
4584 #line 4585 "configure"
4585 #include "confdefs.h"
4586 #include <math.h>
4587 int main() {
4588 __builtin_cosl(0);
4589 ; return 0; }
4591 if { (eval echo configure:4592: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4592 rm -rf conftest*
4593 glibcpp_cv_func___builtin_cosl_use=yes
4594 else
4595 echo "configure: failed program was:" >&5
4596 cat conftest.$ac_ext >&5
4597 rm -rf conftest*
4598 glibcpp_cv_func___builtin_cosl_use=no
4600 rm -f conftest*
4601 ac_ext=c
4602 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4603 ac_cpp='$CPP $CPPFLAGS'
4604 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4605 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4606 cross_compiling=$ac_cv_prog_cc_cross
4611 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
4612 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
4613 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
4614 echo "configure:4615: checking for __builtin_cosl linkage" >&5
4615 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
4616 echo $ac_n "(cached) $ac_c" 1>&6
4617 else
4619 cat > conftest.$ac_ext <<EOF
4620 #line 4621 "configure"
4621 #include "confdefs.h"
4622 #include <math.h>
4623 int main() {
4624 __builtin_cosl(0);
4625 ; return 0; }
4627 if { (eval echo configure:4628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4628 rm -rf conftest*
4629 glibcpp_cv_func___builtin_cosl_link=yes
4630 else
4631 echo "configure: failed program was:" >&5
4632 cat conftest.$ac_ext >&5
4633 rm -rf conftest*
4634 glibcpp_cv_func___builtin_cosl_link=no
4636 rm -f conftest*
4640 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
4641 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
4642 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4643 cat >> confdefs.h <<EOF
4644 #define ${ac_tr_func} 1
4651 dummyvar=no
4652 if test x$dummyvar = x"yes"; then
4653 cat >> confdefs.h <<\EOF
4654 #define HAVE___BUILTIN_ABS 1
4657 cat >> confdefs.h <<\EOF
4658 #define HAVE___BUILTIN_LABS 1
4661 cat >> confdefs.h <<\EOF
4662 #define HAVE___BUILTIN_COS 1
4665 cat >> confdefs.h <<\EOF
4666 #define HAVE___BUILTIN_COSF 1
4669 cat >> confdefs.h <<\EOF
4670 #define HAVE___BUILTIN_COSL 1
4673 cat >> confdefs.h <<\EOF
4674 #define HAVE___BUILTIN_FABS 1
4677 cat >> confdefs.h <<\EOF
4678 #define HAVE___BUILTIN_FABSF 1
4681 cat >> confdefs.h <<\EOF
4682 #define HAVE___BUILTIN_FABSL 1
4685 cat >> confdefs.h <<\EOF
4686 #define HAVE___BUILTIN_SIN 1
4689 cat >> confdefs.h <<\EOF
4690 #define HAVE___BUILTIN_SINF 1
4693 cat >> confdefs.h <<\EOF
4694 #define HAVE___BUILTIN_SINL 1
4697 cat >> confdefs.h <<\EOF
4698 #define HAVE___BUILTIN_FSQRT 1
4701 cat >> confdefs.h <<\EOF
4702 #define HAVE___BUILTIN_SQRTF 1
4705 cat >> confdefs.h <<\EOF
4706 #define HAVE___BUILTIN_SQRTL 1
4712 ac_test_CXXFLAGS="${CXXFLAGS+set}"
4713 ac_save_CXXFLAGS="$CXXFLAGS"
4714 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
4716 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
4717 echo "configure:4718: checking for sin in -lm" >&5
4718 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
4719 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4720 echo $ac_n "(cached) $ac_c" 1>&6
4721 else
4722 ac_save_LIBS="$LIBS"
4723 LIBS="-lm $LIBS"
4724 cat > conftest.$ac_ext <<EOF
4725 #line 4726 "configure"
4726 #include "confdefs.h"
4727 /* Override any gcc2 internal prototype to avoid an error. */
4728 /* We use char because int might match the return type of a gcc2
4729 builtin and then its argument prototype would still apply. */
4730 char sin();
4732 int main() {
4733 sin()
4734 ; return 0; }
4736 if { (eval echo configure:4737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4737 rm -rf conftest*
4738 eval "ac_cv_lib_$ac_lib_var=yes"
4739 else
4740 echo "configure: failed program was:" >&5
4741 cat conftest.$ac_ext >&5
4742 rm -rf conftest*
4743 eval "ac_cv_lib_$ac_lib_var=no"
4745 rm -f conftest*
4746 LIBS="$ac_save_LIBS"
4749 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4750 echo "$ac_t""yes" 1>&6
4751 libm="-lm"
4752 else
4753 echo "$ac_t""no" 1>&6
4756 ac_save_LIBS="$LIBS"
4757 LIBS="$LIBS $libm"
4759 for ac_func in strtof strtold
4761 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4762 echo "configure:4763: checking for $ac_func" >&5
4763 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4764 echo $ac_n "(cached) $ac_c" 1>&6
4765 else
4766 cat > conftest.$ac_ext <<EOF
4767 #line 4768 "configure"
4768 #include "confdefs.h"
4769 /* System header to define __stub macros and hopefully few prototypes,
4770 which can conflict with char $ac_func(); below. */
4771 #include <assert.h>
4772 /* Override any gcc2 internal prototype to avoid an error. */
4773 /* We use char because int might match the return type of a gcc2
4774 builtin and then its argument prototype would still apply. */
4775 char $ac_func();
4777 int main() {
4779 /* The GNU C library defines this for functions which it implements
4780 to always fail with ENOSYS. Some functions are actually named
4781 something starting with __ and the normal name is an alias. */
4782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4783 choke me
4784 #else
4785 $ac_func();
4786 #endif
4788 ; return 0; }
4790 if { (eval echo configure:4791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4791 rm -rf conftest*
4792 eval "ac_cv_func_$ac_func=yes"
4793 else
4794 echo "configure: failed program was:" >&5
4795 cat conftest.$ac_ext >&5
4796 rm -rf conftest*
4797 eval "ac_cv_func_$ac_func=no"
4799 rm -f conftest*
4802 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4803 echo "$ac_t""yes" 1>&6
4804 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4805 cat >> confdefs.h <<EOF
4806 #define $ac_tr_func 1
4809 else
4810 echo "$ac_t""no" 1>&6
4812 done
4816 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
4817 echo "configure:4818: checking for isinf declaration" >&5
4818 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
4819 echo $ac_n "(cached) $ac_c" 1>&6
4820 else
4823 ac_ext=C
4824 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4825 ac_cpp='$CXXCPP $CPPFLAGS'
4826 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4827 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4828 cross_compiling=$ac_cv_prog_cxx_cross
4830 cat > conftest.$ac_ext <<EOF
4831 #line 4832 "configure"
4832 #include "confdefs.h"
4833 #include <math.h>
4834 int main() {
4835 isinf(0);
4836 ; return 0; }
4838 if { (eval echo configure:4839: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4839 rm -rf conftest*
4840 glibcpp_cv_func_isinf_use=yes
4841 else
4842 echo "configure: failed program was:" >&5
4843 cat conftest.$ac_ext >&5
4844 rm -rf conftest*
4845 glibcpp_cv_func_isinf_use=no
4847 rm -f conftest*
4848 ac_ext=c
4849 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4850 ac_cpp='$CPP $CPPFLAGS'
4851 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4852 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4853 cross_compiling=$ac_cv_prog_cc_cross
4858 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
4859 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
4860 for ac_func in isinf
4862 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4863 echo "configure:4864: checking for $ac_func" >&5
4864 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4865 echo $ac_n "(cached) $ac_c" 1>&6
4866 else
4867 cat > conftest.$ac_ext <<EOF
4868 #line 4869 "configure"
4869 #include "confdefs.h"
4870 /* System header to define __stub macros and hopefully few prototypes,
4871 which can conflict with char $ac_func(); below. */
4872 #include <assert.h>
4873 /* Override any gcc2 internal prototype to avoid an error. */
4874 /* We use char because int might match the return type of a gcc2
4875 builtin and then its argument prototype would still apply. */
4876 char $ac_func();
4878 int main() {
4880 /* The GNU C library defines this for functions which it implements
4881 to always fail with ENOSYS. Some functions are actually named
4882 something starting with __ and the normal name is an alias. */
4883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4884 choke me
4885 #else
4886 $ac_func();
4887 #endif
4889 ; return 0; }
4891 if { (eval echo configure:4892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4892 rm -rf conftest*
4893 eval "ac_cv_func_$ac_func=yes"
4894 else
4895 echo "configure: failed program was:" >&5
4896 cat conftest.$ac_ext >&5
4897 rm -rf conftest*
4898 eval "ac_cv_func_$ac_func=no"
4900 rm -f conftest*
4903 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4904 echo "$ac_t""yes" 1>&6
4905 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4906 cat >> confdefs.h <<EOF
4907 #define $ac_tr_func 1
4910 else
4911 echo "$ac_t""no" 1>&6
4913 done
4918 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
4919 echo "configure:4920: checking for isnan declaration" >&5
4920 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
4921 echo $ac_n "(cached) $ac_c" 1>&6
4922 else
4925 ac_ext=C
4926 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4927 ac_cpp='$CXXCPP $CPPFLAGS'
4928 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4929 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4930 cross_compiling=$ac_cv_prog_cxx_cross
4932 cat > conftest.$ac_ext <<EOF
4933 #line 4934 "configure"
4934 #include "confdefs.h"
4935 #include <math.h>
4936 int main() {
4937 isnan(0);
4938 ; return 0; }
4940 if { (eval echo configure:4941: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4941 rm -rf conftest*
4942 glibcpp_cv_func_isnan_use=yes
4943 else
4944 echo "configure: failed program was:" >&5
4945 cat conftest.$ac_ext >&5
4946 rm -rf conftest*
4947 glibcpp_cv_func_isnan_use=no
4949 rm -f conftest*
4950 ac_ext=c
4951 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4952 ac_cpp='$CPP $CPPFLAGS'
4953 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4954 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4955 cross_compiling=$ac_cv_prog_cc_cross
4960 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
4961 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
4962 for ac_func in isnan
4964 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4965 echo "configure:4966: checking for $ac_func" >&5
4966 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4967 echo $ac_n "(cached) $ac_c" 1>&6
4968 else
4969 cat > conftest.$ac_ext <<EOF
4970 #line 4971 "configure"
4971 #include "confdefs.h"
4972 /* System header to define __stub macros and hopefully few prototypes,
4973 which can conflict with char $ac_func(); below. */
4974 #include <assert.h>
4975 /* Override any gcc2 internal prototype to avoid an error. */
4976 /* We use char because int might match the return type of a gcc2
4977 builtin and then its argument prototype would still apply. */
4978 char $ac_func();
4980 int main() {
4982 /* The GNU C library defines this for functions which it implements
4983 to always fail with ENOSYS. Some functions are actually named
4984 something starting with __ and the normal name is an alias. */
4985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4986 choke me
4987 #else
4988 $ac_func();
4989 #endif
4991 ; return 0; }
4993 if { (eval echo configure:4994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4994 rm -rf conftest*
4995 eval "ac_cv_func_$ac_func=yes"
4996 else
4997 echo "configure: failed program was:" >&5
4998 cat conftest.$ac_ext >&5
4999 rm -rf conftest*
5000 eval "ac_cv_func_$ac_func=no"
5002 rm -f conftest*
5005 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5006 echo "$ac_t""yes" 1>&6
5007 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5008 cat >> confdefs.h <<EOF
5009 #define $ac_tr_func 1
5012 else
5013 echo "$ac_t""no" 1>&6
5015 done
5020 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
5021 echo "configure:5022: checking for finite declaration" >&5
5022 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
5023 echo $ac_n "(cached) $ac_c" 1>&6
5024 else
5027 ac_ext=C
5028 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5029 ac_cpp='$CXXCPP $CPPFLAGS'
5030 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5031 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5032 cross_compiling=$ac_cv_prog_cxx_cross
5034 cat > conftest.$ac_ext <<EOF
5035 #line 5036 "configure"
5036 #include "confdefs.h"
5037 #include <math.h>
5038 int main() {
5039 finite(0);
5040 ; return 0; }
5042 if { (eval echo configure:5043: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5043 rm -rf conftest*
5044 glibcpp_cv_func_finite_use=yes
5045 else
5046 echo "configure: failed program was:" >&5
5047 cat conftest.$ac_ext >&5
5048 rm -rf conftest*
5049 glibcpp_cv_func_finite_use=no
5051 rm -f conftest*
5052 ac_ext=c
5053 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5054 ac_cpp='$CPP $CPPFLAGS'
5055 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5056 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5057 cross_compiling=$ac_cv_prog_cc_cross
5062 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
5063 if test x$glibcpp_cv_func_finite_use = x"yes"; then
5064 for ac_func in finite
5066 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5067 echo "configure:5068: checking for $ac_func" >&5
5068 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5069 echo $ac_n "(cached) $ac_c" 1>&6
5070 else
5071 cat > conftest.$ac_ext <<EOF
5072 #line 5073 "configure"
5073 #include "confdefs.h"
5074 /* System header to define __stub macros and hopefully few prototypes,
5075 which can conflict with char $ac_func(); below. */
5076 #include <assert.h>
5077 /* Override any gcc2 internal prototype to avoid an error. */
5078 /* We use char because int might match the return type of a gcc2
5079 builtin and then its argument prototype would still apply. */
5080 char $ac_func();
5082 int main() {
5084 /* The GNU C library defines this for functions which it implements
5085 to always fail with ENOSYS. Some functions are actually named
5086 something starting with __ and the normal name is an alias. */
5087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5088 choke me
5089 #else
5090 $ac_func();
5091 #endif
5093 ; return 0; }
5095 if { (eval echo configure:5096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5096 rm -rf conftest*
5097 eval "ac_cv_func_$ac_func=yes"
5098 else
5099 echo "configure: failed program was:" >&5
5100 cat conftest.$ac_ext >&5
5101 rm -rf conftest*
5102 eval "ac_cv_func_$ac_func=no"
5104 rm -f conftest*
5107 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5108 echo "$ac_t""yes" 1>&6
5109 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5110 cat >> confdefs.h <<EOF
5111 #define $ac_tr_func 1
5114 else
5115 echo "$ac_t""no" 1>&6
5117 done
5122 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
5123 echo "configure:5124: checking for copysign declaration" >&5
5124 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
5125 echo $ac_n "(cached) $ac_c" 1>&6
5126 else
5129 ac_ext=C
5130 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5131 ac_cpp='$CXXCPP $CPPFLAGS'
5132 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5133 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5134 cross_compiling=$ac_cv_prog_cxx_cross
5136 cat > conftest.$ac_ext <<EOF
5137 #line 5138 "configure"
5138 #include "confdefs.h"
5139 #include <math.h>
5140 int main() {
5141 copysign(0, 0);
5142 ; return 0; }
5144 if { (eval echo configure:5145: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5145 rm -rf conftest*
5146 glibcpp_cv_func_copysign_use=yes
5147 else
5148 echo "configure: failed program was:" >&5
5149 cat conftest.$ac_ext >&5
5150 rm -rf conftest*
5151 glibcpp_cv_func_copysign_use=no
5153 rm -f conftest*
5154 ac_ext=c
5155 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5156 ac_cpp='$CPP $CPPFLAGS'
5157 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5158 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5159 cross_compiling=$ac_cv_prog_cc_cross
5164 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
5165 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
5166 for ac_func in copysign
5168 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5169 echo "configure:5170: checking for $ac_func" >&5
5170 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5171 echo $ac_n "(cached) $ac_c" 1>&6
5172 else
5173 cat > conftest.$ac_ext <<EOF
5174 #line 5175 "configure"
5175 #include "confdefs.h"
5176 /* System header to define __stub macros and hopefully few prototypes,
5177 which can conflict with char $ac_func(); below. */
5178 #include <assert.h>
5179 /* Override any gcc2 internal prototype to avoid an error. */
5180 /* We use char because int might match the return type of a gcc2
5181 builtin and then its argument prototype would still apply. */
5182 char $ac_func();
5184 int main() {
5186 /* The GNU C library defines this for functions which it implements
5187 to always fail with ENOSYS. Some functions are actually named
5188 something starting with __ and the normal name is an alias. */
5189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5190 choke me
5191 #else
5192 $ac_func();
5193 #endif
5195 ; return 0; }
5197 if { (eval echo configure:5198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5198 rm -rf conftest*
5199 eval "ac_cv_func_$ac_func=yes"
5200 else
5201 echo "configure: failed program was:" >&5
5202 cat conftest.$ac_ext >&5
5203 rm -rf conftest*
5204 eval "ac_cv_func_$ac_func=no"
5206 rm -f conftest*
5209 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5210 echo "$ac_t""yes" 1>&6
5211 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5212 cat >> confdefs.h <<EOF
5213 #define $ac_tr_func 1
5216 else
5217 echo "$ac_t""no" 1>&6
5219 done
5224 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
5225 echo "configure:5226: checking for sincos declaration" >&5
5226 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
5227 echo $ac_n "(cached) $ac_c" 1>&6
5228 else
5231 ac_ext=C
5232 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5233 ac_cpp='$CXXCPP $CPPFLAGS'
5234 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5235 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5236 cross_compiling=$ac_cv_prog_cxx_cross
5238 cat > conftest.$ac_ext <<EOF
5239 #line 5240 "configure"
5240 #include "confdefs.h"
5241 #include <math.h>
5242 int main() {
5243 sincos(0, 0, 0);
5244 ; return 0; }
5246 if { (eval echo configure:5247: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5247 rm -rf conftest*
5248 glibcpp_cv_func_sincos_use=yes
5249 else
5250 echo "configure: failed program was:" >&5
5251 cat conftest.$ac_ext >&5
5252 rm -rf conftest*
5253 glibcpp_cv_func_sincos_use=no
5255 rm -f conftest*
5256 ac_ext=c
5257 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5258 ac_cpp='$CPP $CPPFLAGS'
5259 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5260 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5261 cross_compiling=$ac_cv_prog_cc_cross
5266 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
5267 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
5268 for ac_func in sincos
5270 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5271 echo "configure:5272: checking for $ac_func" >&5
5272 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5273 echo $ac_n "(cached) $ac_c" 1>&6
5274 else
5275 cat > conftest.$ac_ext <<EOF
5276 #line 5277 "configure"
5277 #include "confdefs.h"
5278 /* System header to define __stub macros and hopefully few prototypes,
5279 which can conflict with char $ac_func(); below. */
5280 #include <assert.h>
5281 /* Override any gcc2 internal prototype to avoid an error. */
5282 /* We use char because int might match the return type of a gcc2
5283 builtin and then its argument prototype would still apply. */
5284 char $ac_func();
5286 int main() {
5288 /* The GNU C library defines this for functions which it implements
5289 to always fail with ENOSYS. Some functions are actually named
5290 something starting with __ and the normal name is an alias. */
5291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5292 choke me
5293 #else
5294 $ac_func();
5295 #endif
5297 ; return 0; }
5299 if { (eval echo configure:5300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5300 rm -rf conftest*
5301 eval "ac_cv_func_$ac_func=yes"
5302 else
5303 echo "configure: failed program was:" >&5
5304 cat conftest.$ac_ext >&5
5305 rm -rf conftest*
5306 eval "ac_cv_func_$ac_func=no"
5308 rm -f conftest*
5311 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5312 echo "$ac_t""yes" 1>&6
5313 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5314 cat >> confdefs.h <<EOF
5315 #define $ac_tr_func 1
5318 else
5319 echo "$ac_t""no" 1>&6
5321 done
5326 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
5327 echo "configure:5328: checking for fpclass declaration" >&5
5328 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
5329 echo $ac_n "(cached) $ac_c" 1>&6
5330 else
5333 ac_ext=C
5334 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5335 ac_cpp='$CXXCPP $CPPFLAGS'
5336 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5337 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5338 cross_compiling=$ac_cv_prog_cxx_cross
5340 cat > conftest.$ac_ext <<EOF
5341 #line 5342 "configure"
5342 #include "confdefs.h"
5343 #include <math.h>
5344 int main() {
5345 fpclass(0);
5346 ; return 0; }
5348 if { (eval echo configure:5349: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5349 rm -rf conftest*
5350 glibcpp_cv_func_fpclass_use=yes
5351 else
5352 echo "configure: failed program was:" >&5
5353 cat conftest.$ac_ext >&5
5354 rm -rf conftest*
5355 glibcpp_cv_func_fpclass_use=no
5357 rm -f conftest*
5358 ac_ext=c
5359 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5360 ac_cpp='$CPP $CPPFLAGS'
5361 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5362 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5363 cross_compiling=$ac_cv_prog_cc_cross
5368 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
5369 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
5370 for ac_func in fpclass
5372 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5373 echo "configure:5374: checking for $ac_func" >&5
5374 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5375 echo $ac_n "(cached) $ac_c" 1>&6
5376 else
5377 cat > conftest.$ac_ext <<EOF
5378 #line 5379 "configure"
5379 #include "confdefs.h"
5380 /* System header to define __stub macros and hopefully few prototypes,
5381 which can conflict with char $ac_func(); below. */
5382 #include <assert.h>
5383 /* Override any gcc2 internal prototype to avoid an error. */
5384 /* We use char because int might match the return type of a gcc2
5385 builtin and then its argument prototype would still apply. */
5386 char $ac_func();
5388 int main() {
5390 /* The GNU C library defines this for functions which it implements
5391 to always fail with ENOSYS. Some functions are actually named
5392 something starting with __ and the normal name is an alias. */
5393 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5394 choke me
5395 #else
5396 $ac_func();
5397 #endif
5399 ; return 0; }
5401 if { (eval echo configure:5402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5402 rm -rf conftest*
5403 eval "ac_cv_func_$ac_func=yes"
5404 else
5405 echo "configure: failed program was:" >&5
5406 cat conftest.$ac_ext >&5
5407 rm -rf conftest*
5408 eval "ac_cv_func_$ac_func=no"
5410 rm -f conftest*
5413 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5414 echo "$ac_t""yes" 1>&6
5415 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5416 cat >> confdefs.h <<EOF
5417 #define $ac_tr_func 1
5420 else
5421 echo "$ac_t""no" 1>&6
5423 done
5428 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
5429 echo "configure:5430: checking for qfpclass declaration" >&5
5430 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
5431 echo $ac_n "(cached) $ac_c" 1>&6
5432 else
5435 ac_ext=C
5436 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5437 ac_cpp='$CXXCPP $CPPFLAGS'
5438 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5439 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5440 cross_compiling=$ac_cv_prog_cxx_cross
5442 cat > conftest.$ac_ext <<EOF
5443 #line 5444 "configure"
5444 #include "confdefs.h"
5445 #include <math.h>
5446 int main() {
5447 qfpclass(0);
5448 ; return 0; }
5450 if { (eval echo configure:5451: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5451 rm -rf conftest*
5452 glibcpp_cv_func_qfpclass_use=yes
5453 else
5454 echo "configure: failed program was:" >&5
5455 cat conftest.$ac_ext >&5
5456 rm -rf conftest*
5457 glibcpp_cv_func_qfpclass_use=no
5459 rm -f conftest*
5460 ac_ext=c
5461 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5462 ac_cpp='$CPP $CPPFLAGS'
5463 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5464 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5465 cross_compiling=$ac_cv_prog_cc_cross
5470 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
5471 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
5472 for ac_func in qfpclass
5474 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5475 echo "configure:5476: checking for $ac_func" >&5
5476 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5477 echo $ac_n "(cached) $ac_c" 1>&6
5478 else
5479 cat > conftest.$ac_ext <<EOF
5480 #line 5481 "configure"
5481 #include "confdefs.h"
5482 /* System header to define __stub macros and hopefully few prototypes,
5483 which can conflict with char $ac_func(); below. */
5484 #include <assert.h>
5485 /* Override any gcc2 internal prototype to avoid an error. */
5486 /* We use char because int might match the return type of a gcc2
5487 builtin and then its argument prototype would still apply. */
5488 char $ac_func();
5490 int main() {
5492 /* The GNU C library defines this for functions which it implements
5493 to always fail with ENOSYS. Some functions are actually named
5494 something starting with __ and the normal name is an alias. */
5495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5496 choke me
5497 #else
5498 $ac_func();
5499 #endif
5501 ; return 0; }
5503 if { (eval echo configure:5504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5504 rm -rf conftest*
5505 eval "ac_cv_func_$ac_func=yes"
5506 else
5507 echo "configure: failed program was:" >&5
5508 cat conftest.$ac_ext >&5
5509 rm -rf conftest*
5510 eval "ac_cv_func_$ac_func=no"
5512 rm -f conftest*
5515 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5516 echo "$ac_t""yes" 1>&6
5517 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5518 cat >> confdefs.h <<EOF
5519 #define $ac_tr_func 1
5522 else
5523 echo "$ac_t""no" 1>&6
5525 done
5531 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
5532 echo "configure:5533: checking for isnanf declaration" >&5
5533 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
5534 echo $ac_n "(cached) $ac_c" 1>&6
5535 else
5538 ac_ext=C
5539 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5540 ac_cpp='$CXXCPP $CPPFLAGS'
5541 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5542 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5543 cross_compiling=$ac_cv_prog_cxx_cross
5545 cat > conftest.$ac_ext <<EOF
5546 #line 5547 "configure"
5547 #include "confdefs.h"
5548 #include <math.h>
5549 int main() {
5550 isnanf(0);
5551 ; return 0; }
5553 if { (eval echo configure:5554: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5554 rm -rf conftest*
5555 glibcpp_cv_func_isnanf_use=yes
5556 else
5557 echo "configure: failed program was:" >&5
5558 cat conftest.$ac_ext >&5
5559 rm -rf conftest*
5560 glibcpp_cv_func_isnanf_use=no
5562 rm -f conftest*
5563 ac_ext=c
5564 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5565 ac_cpp='$CPP $CPPFLAGS'
5566 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5567 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5568 cross_compiling=$ac_cv_prog_cc_cross
5573 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
5574 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
5575 for ac_func in isnanf
5577 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5578 echo "configure:5579: checking for $ac_func" >&5
5579 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5580 echo $ac_n "(cached) $ac_c" 1>&6
5581 else
5582 cat > conftest.$ac_ext <<EOF
5583 #line 5584 "configure"
5584 #include "confdefs.h"
5585 /* System header to define __stub macros and hopefully few prototypes,
5586 which can conflict with char $ac_func(); below. */
5587 #include <assert.h>
5588 /* Override any gcc2 internal prototype to avoid an error. */
5589 /* We use char because int might match the return type of a gcc2
5590 builtin and then its argument prototype would still apply. */
5591 char $ac_func();
5593 int main() {
5595 /* The GNU C library defines this for functions which it implements
5596 to always fail with ENOSYS. Some functions are actually named
5597 something starting with __ and the normal name is an alias. */
5598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5599 choke me
5600 #else
5601 $ac_func();
5602 #endif
5604 ; return 0; }
5606 if { (eval echo configure:5607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5607 rm -rf conftest*
5608 eval "ac_cv_func_$ac_func=yes"
5609 else
5610 echo "configure: failed program was:" >&5
5611 cat conftest.$ac_ext >&5
5612 rm -rf conftest*
5613 eval "ac_cv_func_$ac_func=no"
5615 rm -f conftest*
5618 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5619 echo "$ac_t""yes" 1>&6
5620 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5621 cat >> confdefs.h <<EOF
5622 #define $ac_tr_func 1
5625 else
5626 echo "$ac_t""no" 1>&6
5628 done
5633 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
5634 echo "configure:5635: checking for isinff declaration" >&5
5635 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
5636 echo $ac_n "(cached) $ac_c" 1>&6
5637 else
5640 ac_ext=C
5641 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5642 ac_cpp='$CXXCPP $CPPFLAGS'
5643 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5644 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5645 cross_compiling=$ac_cv_prog_cxx_cross
5647 cat > conftest.$ac_ext <<EOF
5648 #line 5649 "configure"
5649 #include "confdefs.h"
5650 #include <math.h>
5651 int main() {
5652 isinff(0);
5653 ; return 0; }
5655 if { (eval echo configure:5656: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5656 rm -rf conftest*
5657 glibcpp_cv_func_isinff_use=yes
5658 else
5659 echo "configure: failed program was:" >&5
5660 cat conftest.$ac_ext >&5
5661 rm -rf conftest*
5662 glibcpp_cv_func_isinff_use=no
5664 rm -f conftest*
5665 ac_ext=c
5666 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5667 ac_cpp='$CPP $CPPFLAGS'
5668 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5669 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5670 cross_compiling=$ac_cv_prog_cc_cross
5675 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
5676 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
5677 for ac_func in isinff
5679 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5680 echo "configure:5681: checking for $ac_func" >&5
5681 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5682 echo $ac_n "(cached) $ac_c" 1>&6
5683 else
5684 cat > conftest.$ac_ext <<EOF
5685 #line 5686 "configure"
5686 #include "confdefs.h"
5687 /* System header to define __stub macros and hopefully few prototypes,
5688 which can conflict with char $ac_func(); below. */
5689 #include <assert.h>
5690 /* Override any gcc2 internal prototype to avoid an error. */
5691 /* We use char because int might match the return type of a gcc2
5692 builtin and then its argument prototype would still apply. */
5693 char $ac_func();
5695 int main() {
5697 /* The GNU C library defines this for functions which it implements
5698 to always fail with ENOSYS. Some functions are actually named
5699 something starting with __ and the normal name is an alias. */
5700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5701 choke me
5702 #else
5703 $ac_func();
5704 #endif
5706 ; return 0; }
5708 if { (eval echo configure:5709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5709 rm -rf conftest*
5710 eval "ac_cv_func_$ac_func=yes"
5711 else
5712 echo "configure: failed program was:" >&5
5713 cat conftest.$ac_ext >&5
5714 rm -rf conftest*
5715 eval "ac_cv_func_$ac_func=no"
5717 rm -f conftest*
5720 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5721 echo "$ac_t""yes" 1>&6
5722 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5723 cat >> confdefs.h <<EOF
5724 #define $ac_tr_func 1
5727 else
5728 echo "$ac_t""no" 1>&6
5730 done
5735 echo $ac_n "checking for acosf declaration""... $ac_c" 1>&6
5736 echo "configure:5737: checking for acosf declaration" >&5
5737 if eval "test \"`echo '$''{'glibcpp_cv_func_acosf_use'+set}'`\" = set"; then
5738 echo $ac_n "(cached) $ac_c" 1>&6
5739 else
5742 ac_ext=C
5743 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5744 ac_cpp='$CXXCPP $CPPFLAGS'
5745 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5746 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5747 cross_compiling=$ac_cv_prog_cxx_cross
5749 cat > conftest.$ac_ext <<EOF
5750 #line 5751 "configure"
5751 #include "confdefs.h"
5752 #include <math.h>
5753 int main() {
5754 acosf(0);
5755 ; return 0; }
5757 if { (eval echo configure:5758: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5758 rm -rf conftest*
5759 glibcpp_cv_func_acosf_use=yes
5760 else
5761 echo "configure: failed program was:" >&5
5762 cat conftest.$ac_ext >&5
5763 rm -rf conftest*
5764 glibcpp_cv_func_acosf_use=no
5766 rm -f conftest*
5767 ac_ext=c
5768 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5769 ac_cpp='$CPP $CPPFLAGS'
5770 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5771 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5772 cross_compiling=$ac_cv_prog_cc_cross
5777 echo "$ac_t""$glibcpp_cv_func_acosf_use" 1>&6
5778 if test x$glibcpp_cv_func_acosf_use = x"yes"; then
5779 for ac_func in acosf
5781 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5782 echo "configure:5783: checking for $ac_func" >&5
5783 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5784 echo $ac_n "(cached) $ac_c" 1>&6
5785 else
5786 cat > conftest.$ac_ext <<EOF
5787 #line 5788 "configure"
5788 #include "confdefs.h"
5789 /* System header to define __stub macros and hopefully few prototypes,
5790 which can conflict with char $ac_func(); below. */
5791 #include <assert.h>
5792 /* Override any gcc2 internal prototype to avoid an error. */
5793 /* We use char because int might match the return type of a gcc2
5794 builtin and then its argument prototype would still apply. */
5795 char $ac_func();
5797 int main() {
5799 /* The GNU C library defines this for functions which it implements
5800 to always fail with ENOSYS. Some functions are actually named
5801 something starting with __ and the normal name is an alias. */
5802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5803 choke me
5804 #else
5805 $ac_func();
5806 #endif
5808 ; return 0; }
5810 if { (eval echo configure:5811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5811 rm -rf conftest*
5812 eval "ac_cv_func_$ac_func=yes"
5813 else
5814 echo "configure: failed program was:" >&5
5815 cat conftest.$ac_ext >&5
5816 rm -rf conftest*
5817 eval "ac_cv_func_$ac_func=no"
5819 rm -f conftest*
5822 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5823 echo "$ac_t""yes" 1>&6
5824 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5825 cat >> confdefs.h <<EOF
5826 #define $ac_tr_func 1
5829 else
5830 echo "$ac_t""no" 1>&6
5832 done
5837 echo $ac_n "checking for asinf declaration""... $ac_c" 1>&6
5838 echo "configure:5839: checking for asinf declaration" >&5
5839 if eval "test \"`echo '$''{'glibcpp_cv_func_asinf_use'+set}'`\" = set"; then
5840 echo $ac_n "(cached) $ac_c" 1>&6
5841 else
5844 ac_ext=C
5845 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5846 ac_cpp='$CXXCPP $CPPFLAGS'
5847 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5848 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5849 cross_compiling=$ac_cv_prog_cxx_cross
5851 cat > conftest.$ac_ext <<EOF
5852 #line 5853 "configure"
5853 #include "confdefs.h"
5854 #include <math.h>
5855 int main() {
5856 asinf(0);
5857 ; return 0; }
5859 if { (eval echo configure:5860: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5860 rm -rf conftest*
5861 glibcpp_cv_func_asinf_use=yes
5862 else
5863 echo "configure: failed program was:" >&5
5864 cat conftest.$ac_ext >&5
5865 rm -rf conftest*
5866 glibcpp_cv_func_asinf_use=no
5868 rm -f conftest*
5869 ac_ext=c
5870 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5871 ac_cpp='$CPP $CPPFLAGS'
5872 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5873 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5874 cross_compiling=$ac_cv_prog_cc_cross
5879 echo "$ac_t""$glibcpp_cv_func_asinf_use" 1>&6
5880 if test x$glibcpp_cv_func_asinf_use = x"yes"; then
5881 for ac_func in asinf
5883 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5884 echo "configure:5885: checking for $ac_func" >&5
5885 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5886 echo $ac_n "(cached) $ac_c" 1>&6
5887 else
5888 cat > conftest.$ac_ext <<EOF
5889 #line 5890 "configure"
5890 #include "confdefs.h"
5891 /* System header to define __stub macros and hopefully few prototypes,
5892 which can conflict with char $ac_func(); below. */
5893 #include <assert.h>
5894 /* Override any gcc2 internal prototype to avoid an error. */
5895 /* We use char because int might match the return type of a gcc2
5896 builtin and then its argument prototype would still apply. */
5897 char $ac_func();
5899 int main() {
5901 /* The GNU C library defines this for functions which it implements
5902 to always fail with ENOSYS. Some functions are actually named
5903 something starting with __ and the normal name is an alias. */
5904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5905 choke me
5906 #else
5907 $ac_func();
5908 #endif
5910 ; return 0; }
5912 if { (eval echo configure:5913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5913 rm -rf conftest*
5914 eval "ac_cv_func_$ac_func=yes"
5915 else
5916 echo "configure: failed program was:" >&5
5917 cat conftest.$ac_ext >&5
5918 rm -rf conftest*
5919 eval "ac_cv_func_$ac_func=no"
5921 rm -f conftest*
5924 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5925 echo "$ac_t""yes" 1>&6
5926 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5927 cat >> confdefs.h <<EOF
5928 #define $ac_tr_func 1
5931 else
5932 echo "$ac_t""no" 1>&6
5934 done
5939 echo $ac_n "checking for atanf declaration""... $ac_c" 1>&6
5940 echo "configure:5941: checking for atanf declaration" >&5
5941 if eval "test \"`echo '$''{'glibcpp_cv_func_atanf_use'+set}'`\" = set"; then
5942 echo $ac_n "(cached) $ac_c" 1>&6
5943 else
5946 ac_ext=C
5947 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5948 ac_cpp='$CXXCPP $CPPFLAGS'
5949 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5950 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5951 cross_compiling=$ac_cv_prog_cxx_cross
5953 cat > conftest.$ac_ext <<EOF
5954 #line 5955 "configure"
5955 #include "confdefs.h"
5956 #include <math.h>
5957 int main() {
5958 atanf(0);
5959 ; return 0; }
5961 if { (eval echo configure:5962: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5962 rm -rf conftest*
5963 glibcpp_cv_func_atanf_use=yes
5964 else
5965 echo "configure: failed program was:" >&5
5966 cat conftest.$ac_ext >&5
5967 rm -rf conftest*
5968 glibcpp_cv_func_atanf_use=no
5970 rm -f conftest*
5971 ac_ext=c
5972 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5973 ac_cpp='$CPP $CPPFLAGS'
5974 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5975 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5976 cross_compiling=$ac_cv_prog_cc_cross
5981 echo "$ac_t""$glibcpp_cv_func_atanf_use" 1>&6
5982 if test x$glibcpp_cv_func_atanf_use = x"yes"; then
5983 for ac_func in atanf
5985 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5986 echo "configure:5987: checking for $ac_func" >&5
5987 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5988 echo $ac_n "(cached) $ac_c" 1>&6
5989 else
5990 cat > conftest.$ac_ext <<EOF
5991 #line 5992 "configure"
5992 #include "confdefs.h"
5993 /* System header to define __stub macros and hopefully few prototypes,
5994 which can conflict with char $ac_func(); below. */
5995 #include <assert.h>
5996 /* Override any gcc2 internal prototype to avoid an error. */
5997 /* We use char because int might match the return type of a gcc2
5998 builtin and then its argument prototype would still apply. */
5999 char $ac_func();
6001 int main() {
6003 /* The GNU C library defines this for functions which it implements
6004 to always fail with ENOSYS. Some functions are actually named
6005 something starting with __ and the normal name is an alias. */
6006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6007 choke me
6008 #else
6009 $ac_func();
6010 #endif
6012 ; return 0; }
6014 if { (eval echo configure:6015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6015 rm -rf conftest*
6016 eval "ac_cv_func_$ac_func=yes"
6017 else
6018 echo "configure: failed program was:" >&5
6019 cat conftest.$ac_ext >&5
6020 rm -rf conftest*
6021 eval "ac_cv_func_$ac_func=no"
6023 rm -f conftest*
6026 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6027 echo "$ac_t""yes" 1>&6
6028 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6029 cat >> confdefs.h <<EOF
6030 #define $ac_tr_func 1
6033 else
6034 echo "$ac_t""no" 1>&6
6036 done
6041 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
6042 echo "configure:6043: checking for atan2f declaration" >&5
6043 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
6044 echo $ac_n "(cached) $ac_c" 1>&6
6045 else
6048 ac_ext=C
6049 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6050 ac_cpp='$CXXCPP $CPPFLAGS'
6051 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6052 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6053 cross_compiling=$ac_cv_prog_cxx_cross
6055 cat > conftest.$ac_ext <<EOF
6056 #line 6057 "configure"
6057 #include "confdefs.h"
6058 #include <math.h>
6059 int main() {
6060 atan2f(0, 0);
6061 ; return 0; }
6063 if { (eval echo configure:6064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6064 rm -rf conftest*
6065 glibcpp_cv_func_atan2f_use=yes
6066 else
6067 echo "configure: failed program was:" >&5
6068 cat conftest.$ac_ext >&5
6069 rm -rf conftest*
6070 glibcpp_cv_func_atan2f_use=no
6072 rm -f conftest*
6073 ac_ext=c
6074 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6075 ac_cpp='$CPP $CPPFLAGS'
6076 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6077 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6078 cross_compiling=$ac_cv_prog_cc_cross
6083 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
6084 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
6085 for ac_func in atan2f
6087 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6088 echo "configure:6089: checking for $ac_func" >&5
6089 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6090 echo $ac_n "(cached) $ac_c" 1>&6
6091 else
6092 cat > conftest.$ac_ext <<EOF
6093 #line 6094 "configure"
6094 #include "confdefs.h"
6095 /* System header to define __stub macros and hopefully few prototypes,
6096 which can conflict with char $ac_func(); below. */
6097 #include <assert.h>
6098 /* Override any gcc2 internal prototype to avoid an error. */
6099 /* We use char because int might match the return type of a gcc2
6100 builtin and then its argument prototype would still apply. */
6101 char $ac_func();
6103 int main() {
6105 /* The GNU C library defines this for functions which it implements
6106 to always fail with ENOSYS. Some functions are actually named
6107 something starting with __ and the normal name is an alias. */
6108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6109 choke me
6110 #else
6111 $ac_func();
6112 #endif
6114 ; return 0; }
6116 if { (eval echo configure:6117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6117 rm -rf conftest*
6118 eval "ac_cv_func_$ac_func=yes"
6119 else
6120 echo "configure: failed program was:" >&5
6121 cat conftest.$ac_ext >&5
6122 rm -rf conftest*
6123 eval "ac_cv_func_$ac_func=no"
6125 rm -f conftest*
6128 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6129 echo "$ac_t""yes" 1>&6
6130 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6131 cat >> confdefs.h <<EOF
6132 #define $ac_tr_func 1
6135 else
6136 echo "$ac_t""no" 1>&6
6138 done
6143 echo $ac_n "checking for ceilf declaration""... $ac_c" 1>&6
6144 echo "configure:6145: checking for ceilf declaration" >&5
6145 if eval "test \"`echo '$''{'glibcpp_cv_func_ceilf_use'+set}'`\" = set"; then
6146 echo $ac_n "(cached) $ac_c" 1>&6
6147 else
6150 ac_ext=C
6151 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6152 ac_cpp='$CXXCPP $CPPFLAGS'
6153 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6154 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6155 cross_compiling=$ac_cv_prog_cxx_cross
6157 cat > conftest.$ac_ext <<EOF
6158 #line 6159 "configure"
6159 #include "confdefs.h"
6160 #include <math.h>
6161 int main() {
6162 ceilf(0);
6163 ; return 0; }
6165 if { (eval echo configure:6166: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6166 rm -rf conftest*
6167 glibcpp_cv_func_ceilf_use=yes
6168 else
6169 echo "configure: failed program was:" >&5
6170 cat conftest.$ac_ext >&5
6171 rm -rf conftest*
6172 glibcpp_cv_func_ceilf_use=no
6174 rm -f conftest*
6175 ac_ext=c
6176 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6177 ac_cpp='$CPP $CPPFLAGS'
6178 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6179 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6180 cross_compiling=$ac_cv_prog_cc_cross
6185 echo "$ac_t""$glibcpp_cv_func_ceilf_use" 1>&6
6186 if test x$glibcpp_cv_func_ceilf_use = x"yes"; then
6187 for ac_func in ceilf
6189 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6190 echo "configure:6191: checking for $ac_func" >&5
6191 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6192 echo $ac_n "(cached) $ac_c" 1>&6
6193 else
6194 cat > conftest.$ac_ext <<EOF
6195 #line 6196 "configure"
6196 #include "confdefs.h"
6197 /* System header to define __stub macros and hopefully few prototypes,
6198 which can conflict with char $ac_func(); below. */
6199 #include <assert.h>
6200 /* Override any gcc2 internal prototype to avoid an error. */
6201 /* We use char because int might match the return type of a gcc2
6202 builtin and then its argument prototype would still apply. */
6203 char $ac_func();
6205 int main() {
6207 /* The GNU C library defines this for functions which it implements
6208 to always fail with ENOSYS. Some functions are actually named
6209 something starting with __ and the normal name is an alias. */
6210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6211 choke me
6212 #else
6213 $ac_func();
6214 #endif
6216 ; return 0; }
6218 if { (eval echo configure:6219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6219 rm -rf conftest*
6220 eval "ac_cv_func_$ac_func=yes"
6221 else
6222 echo "configure: failed program was:" >&5
6223 cat conftest.$ac_ext >&5
6224 rm -rf conftest*
6225 eval "ac_cv_func_$ac_func=no"
6227 rm -f conftest*
6230 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6231 echo "$ac_t""yes" 1>&6
6232 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6233 cat >> confdefs.h <<EOF
6234 #define $ac_tr_func 1
6237 else
6238 echo "$ac_t""no" 1>&6
6240 done
6245 echo $ac_n "checking for cosf declaration""... $ac_c" 1>&6
6246 echo "configure:6247: checking for cosf declaration" >&5
6247 if eval "test \"`echo '$''{'glibcpp_cv_func_cosf_use'+set}'`\" = set"; then
6248 echo $ac_n "(cached) $ac_c" 1>&6
6249 else
6252 ac_ext=C
6253 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6254 ac_cpp='$CXXCPP $CPPFLAGS'
6255 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6256 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6257 cross_compiling=$ac_cv_prog_cxx_cross
6259 cat > conftest.$ac_ext <<EOF
6260 #line 6261 "configure"
6261 #include "confdefs.h"
6262 #include <math.h>
6263 int main() {
6264 cosf(0);
6265 ; return 0; }
6267 if { (eval echo configure:6268: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6268 rm -rf conftest*
6269 glibcpp_cv_func_cosf_use=yes
6270 else
6271 echo "configure: failed program was:" >&5
6272 cat conftest.$ac_ext >&5
6273 rm -rf conftest*
6274 glibcpp_cv_func_cosf_use=no
6276 rm -f conftest*
6277 ac_ext=c
6278 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6279 ac_cpp='$CPP $CPPFLAGS'
6280 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6281 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6282 cross_compiling=$ac_cv_prog_cc_cross
6287 echo "$ac_t""$glibcpp_cv_func_cosf_use" 1>&6
6288 if test x$glibcpp_cv_func_cosf_use = x"yes"; then
6289 for ac_func in cosf
6291 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6292 echo "configure:6293: checking for $ac_func" >&5
6293 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6294 echo $ac_n "(cached) $ac_c" 1>&6
6295 else
6296 cat > conftest.$ac_ext <<EOF
6297 #line 6298 "configure"
6298 #include "confdefs.h"
6299 /* System header to define __stub macros and hopefully few prototypes,
6300 which can conflict with char $ac_func(); below. */
6301 #include <assert.h>
6302 /* Override any gcc2 internal prototype to avoid an error. */
6303 /* We use char because int might match the return type of a gcc2
6304 builtin and then its argument prototype would still apply. */
6305 char $ac_func();
6307 int main() {
6309 /* The GNU C library defines this for functions which it implements
6310 to always fail with ENOSYS. Some functions are actually named
6311 something starting with __ and the normal name is an alias. */
6312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6313 choke me
6314 #else
6315 $ac_func();
6316 #endif
6318 ; return 0; }
6320 if { (eval echo configure:6321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6321 rm -rf conftest*
6322 eval "ac_cv_func_$ac_func=yes"
6323 else
6324 echo "configure: failed program was:" >&5
6325 cat conftest.$ac_ext >&5
6326 rm -rf conftest*
6327 eval "ac_cv_func_$ac_func=no"
6329 rm -f conftest*
6332 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6333 echo "$ac_t""yes" 1>&6
6334 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6335 cat >> confdefs.h <<EOF
6336 #define $ac_tr_func 1
6339 else
6340 echo "$ac_t""no" 1>&6
6342 done
6347 echo $ac_n "checking for coshf declaration""... $ac_c" 1>&6
6348 echo "configure:6349: checking for coshf declaration" >&5
6349 if eval "test \"`echo '$''{'glibcpp_cv_func_coshf_use'+set}'`\" = set"; then
6350 echo $ac_n "(cached) $ac_c" 1>&6
6351 else
6354 ac_ext=C
6355 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6356 ac_cpp='$CXXCPP $CPPFLAGS'
6357 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6358 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6359 cross_compiling=$ac_cv_prog_cxx_cross
6361 cat > conftest.$ac_ext <<EOF
6362 #line 6363 "configure"
6363 #include "confdefs.h"
6364 #include <math.h>
6365 int main() {
6366 coshf(0);
6367 ; return 0; }
6369 if { (eval echo configure:6370: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6370 rm -rf conftest*
6371 glibcpp_cv_func_coshf_use=yes
6372 else
6373 echo "configure: failed program was:" >&5
6374 cat conftest.$ac_ext >&5
6375 rm -rf conftest*
6376 glibcpp_cv_func_coshf_use=no
6378 rm -f conftest*
6379 ac_ext=c
6380 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6381 ac_cpp='$CPP $CPPFLAGS'
6382 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6383 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6384 cross_compiling=$ac_cv_prog_cc_cross
6389 echo "$ac_t""$glibcpp_cv_func_coshf_use" 1>&6
6390 if test x$glibcpp_cv_func_coshf_use = x"yes"; then
6391 for ac_func in coshf
6393 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6394 echo "configure:6395: checking for $ac_func" >&5
6395 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6396 echo $ac_n "(cached) $ac_c" 1>&6
6397 else
6398 cat > conftest.$ac_ext <<EOF
6399 #line 6400 "configure"
6400 #include "confdefs.h"
6401 /* System header to define __stub macros and hopefully few prototypes,
6402 which can conflict with char $ac_func(); below. */
6403 #include <assert.h>
6404 /* Override any gcc2 internal prototype to avoid an error. */
6405 /* We use char because int might match the return type of a gcc2
6406 builtin and then its argument prototype would still apply. */
6407 char $ac_func();
6409 int main() {
6411 /* The GNU C library defines this for functions which it implements
6412 to always fail with ENOSYS. Some functions are actually named
6413 something starting with __ and the normal name is an alias. */
6414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6415 choke me
6416 #else
6417 $ac_func();
6418 #endif
6420 ; return 0; }
6422 if { (eval echo configure:6423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6423 rm -rf conftest*
6424 eval "ac_cv_func_$ac_func=yes"
6425 else
6426 echo "configure: failed program was:" >&5
6427 cat conftest.$ac_ext >&5
6428 rm -rf conftest*
6429 eval "ac_cv_func_$ac_func=no"
6431 rm -f conftest*
6434 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6435 echo "$ac_t""yes" 1>&6
6436 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6437 cat >> confdefs.h <<EOF
6438 #define $ac_tr_func 1
6441 else
6442 echo "$ac_t""no" 1>&6
6444 done
6449 echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
6450 echo "configure:6451: checking for expf declaration" >&5
6451 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
6452 echo $ac_n "(cached) $ac_c" 1>&6
6453 else
6456 ac_ext=C
6457 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6458 ac_cpp='$CXXCPP $CPPFLAGS'
6459 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6460 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6461 cross_compiling=$ac_cv_prog_cxx_cross
6463 cat > conftest.$ac_ext <<EOF
6464 #line 6465 "configure"
6465 #include "confdefs.h"
6466 #include <math.h>
6467 int main() {
6468 expf(0);
6469 ; return 0; }
6471 if { (eval echo configure:6472: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6472 rm -rf conftest*
6473 glibcpp_cv_func_expf_use=yes
6474 else
6475 echo "configure: failed program was:" >&5
6476 cat conftest.$ac_ext >&5
6477 rm -rf conftest*
6478 glibcpp_cv_func_expf_use=no
6480 rm -f conftest*
6481 ac_ext=c
6482 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6483 ac_cpp='$CPP $CPPFLAGS'
6484 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6485 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6486 cross_compiling=$ac_cv_prog_cc_cross
6491 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
6492 if test x$glibcpp_cv_func_expf_use = x"yes"; then
6493 for ac_func in expf
6495 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6496 echo "configure:6497: checking for $ac_func" >&5
6497 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6498 echo $ac_n "(cached) $ac_c" 1>&6
6499 else
6500 cat > conftest.$ac_ext <<EOF
6501 #line 6502 "configure"
6502 #include "confdefs.h"
6503 /* System header to define __stub macros and hopefully few prototypes,
6504 which can conflict with char $ac_func(); below. */
6505 #include <assert.h>
6506 /* Override any gcc2 internal prototype to avoid an error. */
6507 /* We use char because int might match the return type of a gcc2
6508 builtin and then its argument prototype would still apply. */
6509 char $ac_func();
6511 int main() {
6513 /* The GNU C library defines this for functions which it implements
6514 to always fail with ENOSYS. Some functions are actually named
6515 something starting with __ and the normal name is an alias. */
6516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6517 choke me
6518 #else
6519 $ac_func();
6520 #endif
6522 ; return 0; }
6524 if { (eval echo configure:6525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6525 rm -rf conftest*
6526 eval "ac_cv_func_$ac_func=yes"
6527 else
6528 echo "configure: failed program was:" >&5
6529 cat conftest.$ac_ext >&5
6530 rm -rf conftest*
6531 eval "ac_cv_func_$ac_func=no"
6533 rm -f conftest*
6536 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6537 echo "$ac_t""yes" 1>&6
6538 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6539 cat >> confdefs.h <<EOF
6540 #define $ac_tr_func 1
6543 else
6544 echo "$ac_t""no" 1>&6
6546 done
6551 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
6552 echo "configure:6553: checking for fabsf declaration" >&5
6553 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
6554 echo $ac_n "(cached) $ac_c" 1>&6
6555 else
6558 ac_ext=C
6559 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6560 ac_cpp='$CXXCPP $CPPFLAGS'
6561 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6562 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6563 cross_compiling=$ac_cv_prog_cxx_cross
6565 cat > conftest.$ac_ext <<EOF
6566 #line 6567 "configure"
6567 #include "confdefs.h"
6568 #include <math.h>
6569 int main() {
6570 fabsf(0);
6571 ; return 0; }
6573 if { (eval echo configure:6574: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6574 rm -rf conftest*
6575 glibcpp_cv_func_fabsf_use=yes
6576 else
6577 echo "configure: failed program was:" >&5
6578 cat conftest.$ac_ext >&5
6579 rm -rf conftest*
6580 glibcpp_cv_func_fabsf_use=no
6582 rm -f conftest*
6583 ac_ext=c
6584 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6585 ac_cpp='$CPP $CPPFLAGS'
6586 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6587 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6588 cross_compiling=$ac_cv_prog_cc_cross
6593 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
6594 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
6595 for ac_func in fabsf
6597 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6598 echo "configure:6599: checking for $ac_func" >&5
6599 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6600 echo $ac_n "(cached) $ac_c" 1>&6
6601 else
6602 cat > conftest.$ac_ext <<EOF
6603 #line 6604 "configure"
6604 #include "confdefs.h"
6605 /* System header to define __stub macros and hopefully few prototypes,
6606 which can conflict with char $ac_func(); below. */
6607 #include <assert.h>
6608 /* Override any gcc2 internal prototype to avoid an error. */
6609 /* We use char because int might match the return type of a gcc2
6610 builtin and then its argument prototype would still apply. */
6611 char $ac_func();
6613 int main() {
6615 /* The GNU C library defines this for functions which it implements
6616 to always fail with ENOSYS. Some functions are actually named
6617 something starting with __ and the normal name is an alias. */
6618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6619 choke me
6620 #else
6621 $ac_func();
6622 #endif
6624 ; return 0; }
6626 if { (eval echo configure:6627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6627 rm -rf conftest*
6628 eval "ac_cv_func_$ac_func=yes"
6629 else
6630 echo "configure: failed program was:" >&5
6631 cat conftest.$ac_ext >&5
6632 rm -rf conftest*
6633 eval "ac_cv_func_$ac_func=no"
6635 rm -f conftest*
6638 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6639 echo "$ac_t""yes" 1>&6
6640 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6641 cat >> confdefs.h <<EOF
6642 #define $ac_tr_func 1
6645 else
6646 echo "$ac_t""no" 1>&6
6648 done
6653 echo $ac_n "checking for floorf declaration""... $ac_c" 1>&6
6654 echo "configure:6655: checking for floorf declaration" >&5
6655 if eval "test \"`echo '$''{'glibcpp_cv_func_floorf_use'+set}'`\" = set"; then
6656 echo $ac_n "(cached) $ac_c" 1>&6
6657 else
6660 ac_ext=C
6661 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6662 ac_cpp='$CXXCPP $CPPFLAGS'
6663 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6664 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6665 cross_compiling=$ac_cv_prog_cxx_cross
6667 cat > conftest.$ac_ext <<EOF
6668 #line 6669 "configure"
6669 #include "confdefs.h"
6670 #include <math.h>
6671 int main() {
6672 floorf(0);
6673 ; return 0; }
6675 if { (eval echo configure:6676: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6676 rm -rf conftest*
6677 glibcpp_cv_func_floorf_use=yes
6678 else
6679 echo "configure: failed program was:" >&5
6680 cat conftest.$ac_ext >&5
6681 rm -rf conftest*
6682 glibcpp_cv_func_floorf_use=no
6684 rm -f conftest*
6685 ac_ext=c
6686 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6687 ac_cpp='$CPP $CPPFLAGS'
6688 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6689 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6690 cross_compiling=$ac_cv_prog_cc_cross
6695 echo "$ac_t""$glibcpp_cv_func_floorf_use" 1>&6
6696 if test x$glibcpp_cv_func_floorf_use = x"yes"; then
6697 for ac_func in floorf
6699 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6700 echo "configure:6701: checking for $ac_func" >&5
6701 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6702 echo $ac_n "(cached) $ac_c" 1>&6
6703 else
6704 cat > conftest.$ac_ext <<EOF
6705 #line 6706 "configure"
6706 #include "confdefs.h"
6707 /* System header to define __stub macros and hopefully few prototypes,
6708 which can conflict with char $ac_func(); below. */
6709 #include <assert.h>
6710 /* Override any gcc2 internal prototype to avoid an error. */
6711 /* We use char because int might match the return type of a gcc2
6712 builtin and then its argument prototype would still apply. */
6713 char $ac_func();
6715 int main() {
6717 /* The GNU C library defines this for functions which it implements
6718 to always fail with ENOSYS. Some functions are actually named
6719 something starting with __ and the normal name is an alias. */
6720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6721 choke me
6722 #else
6723 $ac_func();
6724 #endif
6726 ; return 0; }
6728 if { (eval echo configure:6729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6729 rm -rf conftest*
6730 eval "ac_cv_func_$ac_func=yes"
6731 else
6732 echo "configure: failed program was:" >&5
6733 cat conftest.$ac_ext >&5
6734 rm -rf conftest*
6735 eval "ac_cv_func_$ac_func=no"
6737 rm -f conftest*
6740 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6741 echo "$ac_t""yes" 1>&6
6742 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6743 cat >> confdefs.h <<EOF
6744 #define $ac_tr_func 1
6747 else
6748 echo "$ac_t""no" 1>&6
6750 done
6755 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
6756 echo "configure:6757: checking for fmodf declaration" >&5
6757 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
6758 echo $ac_n "(cached) $ac_c" 1>&6
6759 else
6762 ac_ext=C
6763 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6764 ac_cpp='$CXXCPP $CPPFLAGS'
6765 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6766 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6767 cross_compiling=$ac_cv_prog_cxx_cross
6769 cat > conftest.$ac_ext <<EOF
6770 #line 6771 "configure"
6771 #include "confdefs.h"
6772 #include <math.h>
6773 int main() {
6774 fmodf(0, 0);
6775 ; return 0; }
6777 if { (eval echo configure:6778: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6778 rm -rf conftest*
6779 glibcpp_cv_func_fmodf_use=yes
6780 else
6781 echo "configure: failed program was:" >&5
6782 cat conftest.$ac_ext >&5
6783 rm -rf conftest*
6784 glibcpp_cv_func_fmodf_use=no
6786 rm -f conftest*
6787 ac_ext=c
6788 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6789 ac_cpp='$CPP $CPPFLAGS'
6790 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6791 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6792 cross_compiling=$ac_cv_prog_cc_cross
6797 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
6798 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
6799 for ac_func in fmodf
6801 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6802 echo "configure:6803: checking for $ac_func" >&5
6803 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6804 echo $ac_n "(cached) $ac_c" 1>&6
6805 else
6806 cat > conftest.$ac_ext <<EOF
6807 #line 6808 "configure"
6808 #include "confdefs.h"
6809 /* System header to define __stub macros and hopefully few prototypes,
6810 which can conflict with char $ac_func(); below. */
6811 #include <assert.h>
6812 /* Override any gcc2 internal prototype to avoid an error. */
6813 /* We use char because int might match the return type of a gcc2
6814 builtin and then its argument prototype would still apply. */
6815 char $ac_func();
6817 int main() {
6819 /* The GNU C library defines this for functions which it implements
6820 to always fail with ENOSYS. Some functions are actually named
6821 something starting with __ and the normal name is an alias. */
6822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6823 choke me
6824 #else
6825 $ac_func();
6826 #endif
6828 ; return 0; }
6830 if { (eval echo configure:6831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6831 rm -rf conftest*
6832 eval "ac_cv_func_$ac_func=yes"
6833 else
6834 echo "configure: failed program was:" >&5
6835 cat conftest.$ac_ext >&5
6836 rm -rf conftest*
6837 eval "ac_cv_func_$ac_func=no"
6839 rm -f conftest*
6842 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6843 echo "$ac_t""yes" 1>&6
6844 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6845 cat >> confdefs.h <<EOF
6846 #define $ac_tr_func 1
6849 else
6850 echo "$ac_t""no" 1>&6
6852 done
6857 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
6858 echo "configure:6859: checking for frexpf declaration" >&5
6859 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
6860 echo $ac_n "(cached) $ac_c" 1>&6
6861 else
6864 ac_ext=C
6865 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6866 ac_cpp='$CXXCPP $CPPFLAGS'
6867 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6868 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6869 cross_compiling=$ac_cv_prog_cxx_cross
6871 cat > conftest.$ac_ext <<EOF
6872 #line 6873 "configure"
6873 #include "confdefs.h"
6874 #include <math.h>
6875 int main() {
6876 frexpf(0, 0);
6877 ; return 0; }
6879 if { (eval echo configure:6880: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6880 rm -rf conftest*
6881 glibcpp_cv_func_frexpf_use=yes
6882 else
6883 echo "configure: failed program was:" >&5
6884 cat conftest.$ac_ext >&5
6885 rm -rf conftest*
6886 glibcpp_cv_func_frexpf_use=no
6888 rm -f conftest*
6889 ac_ext=c
6890 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6891 ac_cpp='$CPP $CPPFLAGS'
6892 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6893 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6894 cross_compiling=$ac_cv_prog_cc_cross
6899 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
6900 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
6901 for ac_func in frexpf
6903 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6904 echo "configure:6905: checking for $ac_func" >&5
6905 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6906 echo $ac_n "(cached) $ac_c" 1>&6
6907 else
6908 cat > conftest.$ac_ext <<EOF
6909 #line 6910 "configure"
6910 #include "confdefs.h"
6911 /* System header to define __stub macros and hopefully few prototypes,
6912 which can conflict with char $ac_func(); below. */
6913 #include <assert.h>
6914 /* Override any gcc2 internal prototype to avoid an error. */
6915 /* We use char because int might match the return type of a gcc2
6916 builtin and then its argument prototype would still apply. */
6917 char $ac_func();
6919 int main() {
6921 /* The GNU C library defines this for functions which it implements
6922 to always fail with ENOSYS. Some functions are actually named
6923 something starting with __ and the normal name is an alias. */
6924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6925 choke me
6926 #else
6927 $ac_func();
6928 #endif
6930 ; return 0; }
6932 if { (eval echo configure:6933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6933 rm -rf conftest*
6934 eval "ac_cv_func_$ac_func=yes"
6935 else
6936 echo "configure: failed program was:" >&5
6937 cat conftest.$ac_ext >&5
6938 rm -rf conftest*
6939 eval "ac_cv_func_$ac_func=no"
6941 rm -f conftest*
6944 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6945 echo "$ac_t""yes" 1>&6
6946 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6947 cat >> confdefs.h <<EOF
6948 #define $ac_tr_func 1
6951 else
6952 echo "$ac_t""no" 1>&6
6954 done
6959 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
6960 echo "configure:6961: checking for ldexpf declaration" >&5
6961 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
6962 echo $ac_n "(cached) $ac_c" 1>&6
6963 else
6966 ac_ext=C
6967 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6968 ac_cpp='$CXXCPP $CPPFLAGS'
6969 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6970 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6971 cross_compiling=$ac_cv_prog_cxx_cross
6973 cat > conftest.$ac_ext <<EOF
6974 #line 6975 "configure"
6975 #include "confdefs.h"
6976 #include <math.h>
6977 int main() {
6978 ldexpf(0, 0);
6979 ; return 0; }
6981 if { (eval echo configure:6982: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6982 rm -rf conftest*
6983 glibcpp_cv_func_ldexpf_use=yes
6984 else
6985 echo "configure: failed program was:" >&5
6986 cat conftest.$ac_ext >&5
6987 rm -rf conftest*
6988 glibcpp_cv_func_ldexpf_use=no
6990 rm -f conftest*
6991 ac_ext=c
6992 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6993 ac_cpp='$CPP $CPPFLAGS'
6994 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6995 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6996 cross_compiling=$ac_cv_prog_cc_cross
7001 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
7002 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
7003 for ac_func in ldexpf
7005 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7006 echo "configure:7007: checking for $ac_func" >&5
7007 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7008 echo $ac_n "(cached) $ac_c" 1>&6
7009 else
7010 cat > conftest.$ac_ext <<EOF
7011 #line 7012 "configure"
7012 #include "confdefs.h"
7013 /* System header to define __stub macros and hopefully few prototypes,
7014 which can conflict with char $ac_func(); below. */
7015 #include <assert.h>
7016 /* Override any gcc2 internal prototype to avoid an error. */
7017 /* We use char because int might match the return type of a gcc2
7018 builtin and then its argument prototype would still apply. */
7019 char $ac_func();
7021 int main() {
7023 /* The GNU C library defines this for functions which it implements
7024 to always fail with ENOSYS. Some functions are actually named
7025 something starting with __ and the normal name is an alias. */
7026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7027 choke me
7028 #else
7029 $ac_func();
7030 #endif
7032 ; return 0; }
7034 if { (eval echo configure:7035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7035 rm -rf conftest*
7036 eval "ac_cv_func_$ac_func=yes"
7037 else
7038 echo "configure: failed program was:" >&5
7039 cat conftest.$ac_ext >&5
7040 rm -rf conftest*
7041 eval "ac_cv_func_$ac_func=no"
7043 rm -f conftest*
7046 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7047 echo "$ac_t""yes" 1>&6
7048 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7049 cat >> confdefs.h <<EOF
7050 #define $ac_tr_func 1
7053 else
7054 echo "$ac_t""no" 1>&6
7056 done
7061 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
7062 echo "configure:7063: checking for logf declaration" >&5
7063 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
7064 echo $ac_n "(cached) $ac_c" 1>&6
7065 else
7068 ac_ext=C
7069 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7070 ac_cpp='$CXXCPP $CPPFLAGS'
7071 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7072 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7073 cross_compiling=$ac_cv_prog_cxx_cross
7075 cat > conftest.$ac_ext <<EOF
7076 #line 7077 "configure"
7077 #include "confdefs.h"
7078 #include <math.h>
7079 int main() {
7080 logf(0);
7081 ; return 0; }
7083 if { (eval echo configure:7084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7084 rm -rf conftest*
7085 glibcpp_cv_func_logf_use=yes
7086 else
7087 echo "configure: failed program was:" >&5
7088 cat conftest.$ac_ext >&5
7089 rm -rf conftest*
7090 glibcpp_cv_func_logf_use=no
7092 rm -f conftest*
7093 ac_ext=c
7094 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7095 ac_cpp='$CPP $CPPFLAGS'
7096 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7097 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7098 cross_compiling=$ac_cv_prog_cc_cross
7103 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
7104 if test x$glibcpp_cv_func_logf_use = x"yes"; then
7105 for ac_func in logf
7107 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7108 echo "configure:7109: checking for $ac_func" >&5
7109 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7110 echo $ac_n "(cached) $ac_c" 1>&6
7111 else
7112 cat > conftest.$ac_ext <<EOF
7113 #line 7114 "configure"
7114 #include "confdefs.h"
7115 /* System header to define __stub macros and hopefully few prototypes,
7116 which can conflict with char $ac_func(); below. */
7117 #include <assert.h>
7118 /* Override any gcc2 internal prototype to avoid an error. */
7119 /* We use char because int might match the return type of a gcc2
7120 builtin and then its argument prototype would still apply. */
7121 char $ac_func();
7123 int main() {
7125 /* The GNU C library defines this for functions which it implements
7126 to always fail with ENOSYS. Some functions are actually named
7127 something starting with __ and the normal name is an alias. */
7128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7129 choke me
7130 #else
7131 $ac_func();
7132 #endif
7134 ; return 0; }
7136 if { (eval echo configure:7137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7137 rm -rf conftest*
7138 eval "ac_cv_func_$ac_func=yes"
7139 else
7140 echo "configure: failed program was:" >&5
7141 cat conftest.$ac_ext >&5
7142 rm -rf conftest*
7143 eval "ac_cv_func_$ac_func=no"
7145 rm -f conftest*
7148 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7149 echo "$ac_t""yes" 1>&6
7150 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7151 cat >> confdefs.h <<EOF
7152 #define $ac_tr_func 1
7155 else
7156 echo "$ac_t""no" 1>&6
7158 done
7163 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
7164 echo "configure:7165: checking for log10f declaration" >&5
7165 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
7166 echo $ac_n "(cached) $ac_c" 1>&6
7167 else
7170 ac_ext=C
7171 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7172 ac_cpp='$CXXCPP $CPPFLAGS'
7173 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7174 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7175 cross_compiling=$ac_cv_prog_cxx_cross
7177 cat > conftest.$ac_ext <<EOF
7178 #line 7179 "configure"
7179 #include "confdefs.h"
7180 #include <math.h>
7181 int main() {
7182 log10f(0);
7183 ; return 0; }
7185 if { (eval echo configure:7186: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7186 rm -rf conftest*
7187 glibcpp_cv_func_log10f_use=yes
7188 else
7189 echo "configure: failed program was:" >&5
7190 cat conftest.$ac_ext >&5
7191 rm -rf conftest*
7192 glibcpp_cv_func_log10f_use=no
7194 rm -f conftest*
7195 ac_ext=c
7196 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7197 ac_cpp='$CPP $CPPFLAGS'
7198 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7199 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7200 cross_compiling=$ac_cv_prog_cc_cross
7205 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
7206 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
7207 for ac_func in log10f
7209 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7210 echo "configure:7211: checking for $ac_func" >&5
7211 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7212 echo $ac_n "(cached) $ac_c" 1>&6
7213 else
7214 cat > conftest.$ac_ext <<EOF
7215 #line 7216 "configure"
7216 #include "confdefs.h"
7217 /* System header to define __stub macros and hopefully few prototypes,
7218 which can conflict with char $ac_func(); below. */
7219 #include <assert.h>
7220 /* Override any gcc2 internal prototype to avoid an error. */
7221 /* We use char because int might match the return type of a gcc2
7222 builtin and then its argument prototype would still apply. */
7223 char $ac_func();
7225 int main() {
7227 /* The GNU C library defines this for functions which it implements
7228 to always fail with ENOSYS. Some functions are actually named
7229 something starting with __ and the normal name is an alias. */
7230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7231 choke me
7232 #else
7233 $ac_func();
7234 #endif
7236 ; return 0; }
7238 if { (eval echo configure:7239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7239 rm -rf conftest*
7240 eval "ac_cv_func_$ac_func=yes"
7241 else
7242 echo "configure: failed program was:" >&5
7243 cat conftest.$ac_ext >&5
7244 rm -rf conftest*
7245 eval "ac_cv_func_$ac_func=no"
7247 rm -f conftest*
7250 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7251 echo "$ac_t""yes" 1>&6
7252 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7253 cat >> confdefs.h <<EOF
7254 #define $ac_tr_func 1
7257 else
7258 echo "$ac_t""no" 1>&6
7260 done
7265 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
7266 echo "configure:7267: checking for modff declaration" >&5
7267 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
7268 echo $ac_n "(cached) $ac_c" 1>&6
7269 else
7272 ac_ext=C
7273 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7274 ac_cpp='$CXXCPP $CPPFLAGS'
7275 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7276 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7277 cross_compiling=$ac_cv_prog_cxx_cross
7279 cat > conftest.$ac_ext <<EOF
7280 #line 7281 "configure"
7281 #include "confdefs.h"
7282 #include <math.h>
7283 int main() {
7284 modff(0, 0);
7285 ; return 0; }
7287 if { (eval echo configure:7288: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7288 rm -rf conftest*
7289 glibcpp_cv_func_modff_use=yes
7290 else
7291 echo "configure: failed program was:" >&5
7292 cat conftest.$ac_ext >&5
7293 rm -rf conftest*
7294 glibcpp_cv_func_modff_use=no
7296 rm -f conftest*
7297 ac_ext=c
7298 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7299 ac_cpp='$CPP $CPPFLAGS'
7300 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7301 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7302 cross_compiling=$ac_cv_prog_cc_cross
7307 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
7308 if test x$glibcpp_cv_func_modff_use = x"yes"; then
7309 for ac_func in modff
7311 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7312 echo "configure:7313: checking for $ac_func" >&5
7313 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7314 echo $ac_n "(cached) $ac_c" 1>&6
7315 else
7316 cat > conftest.$ac_ext <<EOF
7317 #line 7318 "configure"
7318 #include "confdefs.h"
7319 /* System header to define __stub macros and hopefully few prototypes,
7320 which can conflict with char $ac_func(); below. */
7321 #include <assert.h>
7322 /* Override any gcc2 internal prototype to avoid an error. */
7323 /* We use char because int might match the return type of a gcc2
7324 builtin and then its argument prototype would still apply. */
7325 char $ac_func();
7327 int main() {
7329 /* The GNU C library defines this for functions which it implements
7330 to always fail with ENOSYS. Some functions are actually named
7331 something starting with __ and the normal name is an alias. */
7332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7333 choke me
7334 #else
7335 $ac_func();
7336 #endif
7338 ; return 0; }
7340 if { (eval echo configure:7341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7341 rm -rf conftest*
7342 eval "ac_cv_func_$ac_func=yes"
7343 else
7344 echo "configure: failed program was:" >&5
7345 cat conftest.$ac_ext >&5
7346 rm -rf conftest*
7347 eval "ac_cv_func_$ac_func=no"
7349 rm -f conftest*
7352 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7353 echo "$ac_t""yes" 1>&6
7354 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7355 cat >> confdefs.h <<EOF
7356 #define $ac_tr_func 1
7359 else
7360 echo "$ac_t""no" 1>&6
7362 done
7367 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
7368 echo "configure:7369: checking for powf declaration" >&5
7369 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
7370 echo $ac_n "(cached) $ac_c" 1>&6
7371 else
7374 ac_ext=C
7375 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7376 ac_cpp='$CXXCPP $CPPFLAGS'
7377 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7378 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7379 cross_compiling=$ac_cv_prog_cxx_cross
7381 cat > conftest.$ac_ext <<EOF
7382 #line 7383 "configure"
7383 #include "confdefs.h"
7384 #include <math.h>
7385 int main() {
7386 powf(0, 0);
7387 ; return 0; }
7389 if { (eval echo configure:7390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7390 rm -rf conftest*
7391 glibcpp_cv_func_powf_use=yes
7392 else
7393 echo "configure: failed program was:" >&5
7394 cat conftest.$ac_ext >&5
7395 rm -rf conftest*
7396 glibcpp_cv_func_powf_use=no
7398 rm -f conftest*
7399 ac_ext=c
7400 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7401 ac_cpp='$CPP $CPPFLAGS'
7402 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7403 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7404 cross_compiling=$ac_cv_prog_cc_cross
7409 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
7410 if test x$glibcpp_cv_func_powf_use = x"yes"; then
7411 for ac_func in powf
7413 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7414 echo "configure:7415: checking for $ac_func" >&5
7415 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7416 echo $ac_n "(cached) $ac_c" 1>&6
7417 else
7418 cat > conftest.$ac_ext <<EOF
7419 #line 7420 "configure"
7420 #include "confdefs.h"
7421 /* System header to define __stub macros and hopefully few prototypes,
7422 which can conflict with char $ac_func(); below. */
7423 #include <assert.h>
7424 /* Override any gcc2 internal prototype to avoid an error. */
7425 /* We use char because int might match the return type of a gcc2
7426 builtin and then its argument prototype would still apply. */
7427 char $ac_func();
7429 int main() {
7431 /* The GNU C library defines this for functions which it implements
7432 to always fail with ENOSYS. Some functions are actually named
7433 something starting with __ and the normal name is an alias. */
7434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7435 choke me
7436 #else
7437 $ac_func();
7438 #endif
7440 ; return 0; }
7442 if { (eval echo configure:7443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7443 rm -rf conftest*
7444 eval "ac_cv_func_$ac_func=yes"
7445 else
7446 echo "configure: failed program was:" >&5
7447 cat conftest.$ac_ext >&5
7448 rm -rf conftest*
7449 eval "ac_cv_func_$ac_func=no"
7451 rm -f conftest*
7454 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7455 echo "$ac_t""yes" 1>&6
7456 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7457 cat >> confdefs.h <<EOF
7458 #define $ac_tr_func 1
7461 else
7462 echo "$ac_t""no" 1>&6
7464 done
7469 echo $ac_n "checking for sinf declaration""... $ac_c" 1>&6
7470 echo "configure:7471: checking for sinf declaration" >&5
7471 if eval "test \"`echo '$''{'glibcpp_cv_func_sinf_use'+set}'`\" = set"; then
7472 echo $ac_n "(cached) $ac_c" 1>&6
7473 else
7476 ac_ext=C
7477 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7478 ac_cpp='$CXXCPP $CPPFLAGS'
7479 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7480 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7481 cross_compiling=$ac_cv_prog_cxx_cross
7483 cat > conftest.$ac_ext <<EOF
7484 #line 7485 "configure"
7485 #include "confdefs.h"
7486 #include <math.h>
7487 int main() {
7488 sinf(0);
7489 ; return 0; }
7491 if { (eval echo configure:7492: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7492 rm -rf conftest*
7493 glibcpp_cv_func_sinf_use=yes
7494 else
7495 echo "configure: failed program was:" >&5
7496 cat conftest.$ac_ext >&5
7497 rm -rf conftest*
7498 glibcpp_cv_func_sinf_use=no
7500 rm -f conftest*
7501 ac_ext=c
7502 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7503 ac_cpp='$CPP $CPPFLAGS'
7504 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7505 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7506 cross_compiling=$ac_cv_prog_cc_cross
7511 echo "$ac_t""$glibcpp_cv_func_sinf_use" 1>&6
7512 if test x$glibcpp_cv_func_sinf_use = x"yes"; then
7513 for ac_func in sinf
7515 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7516 echo "configure:7517: checking for $ac_func" >&5
7517 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7518 echo $ac_n "(cached) $ac_c" 1>&6
7519 else
7520 cat > conftest.$ac_ext <<EOF
7521 #line 7522 "configure"
7522 #include "confdefs.h"
7523 /* System header to define __stub macros and hopefully few prototypes,
7524 which can conflict with char $ac_func(); below. */
7525 #include <assert.h>
7526 /* Override any gcc2 internal prototype to avoid an error. */
7527 /* We use char because int might match the return type of a gcc2
7528 builtin and then its argument prototype would still apply. */
7529 char $ac_func();
7531 int main() {
7533 /* The GNU C library defines this for functions which it implements
7534 to always fail with ENOSYS. Some functions are actually named
7535 something starting with __ and the normal name is an alias. */
7536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7537 choke me
7538 #else
7539 $ac_func();
7540 #endif
7542 ; return 0; }
7544 if { (eval echo configure:7545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7545 rm -rf conftest*
7546 eval "ac_cv_func_$ac_func=yes"
7547 else
7548 echo "configure: failed program was:" >&5
7549 cat conftest.$ac_ext >&5
7550 rm -rf conftest*
7551 eval "ac_cv_func_$ac_func=no"
7553 rm -f conftest*
7556 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7557 echo "$ac_t""yes" 1>&6
7558 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7559 cat >> confdefs.h <<EOF
7560 #define $ac_tr_func 1
7563 else
7564 echo "$ac_t""no" 1>&6
7566 done
7571 echo $ac_n "checking for sinhf declaration""... $ac_c" 1>&6
7572 echo "configure:7573: checking for sinhf declaration" >&5
7573 if eval "test \"`echo '$''{'glibcpp_cv_func_sinhf_use'+set}'`\" = set"; then
7574 echo $ac_n "(cached) $ac_c" 1>&6
7575 else
7578 ac_ext=C
7579 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7580 ac_cpp='$CXXCPP $CPPFLAGS'
7581 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7582 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7583 cross_compiling=$ac_cv_prog_cxx_cross
7585 cat > conftest.$ac_ext <<EOF
7586 #line 7587 "configure"
7587 #include "confdefs.h"
7588 #include <math.h>
7589 int main() {
7590 sinhf(0);
7591 ; return 0; }
7593 if { (eval echo configure:7594: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7594 rm -rf conftest*
7595 glibcpp_cv_func_sinhf_use=yes
7596 else
7597 echo "configure: failed program was:" >&5
7598 cat conftest.$ac_ext >&5
7599 rm -rf conftest*
7600 glibcpp_cv_func_sinhf_use=no
7602 rm -f conftest*
7603 ac_ext=c
7604 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7605 ac_cpp='$CPP $CPPFLAGS'
7606 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7607 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7608 cross_compiling=$ac_cv_prog_cc_cross
7613 echo "$ac_t""$glibcpp_cv_func_sinhf_use" 1>&6
7614 if test x$glibcpp_cv_func_sinhf_use = x"yes"; then
7615 for ac_func in sinhf
7617 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7618 echo "configure:7619: checking for $ac_func" >&5
7619 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7620 echo $ac_n "(cached) $ac_c" 1>&6
7621 else
7622 cat > conftest.$ac_ext <<EOF
7623 #line 7624 "configure"
7624 #include "confdefs.h"
7625 /* System header to define __stub macros and hopefully few prototypes,
7626 which can conflict with char $ac_func(); below. */
7627 #include <assert.h>
7628 /* Override any gcc2 internal prototype to avoid an error. */
7629 /* We use char because int might match the return type of a gcc2
7630 builtin and then its argument prototype would still apply. */
7631 char $ac_func();
7633 int main() {
7635 /* The GNU C library defines this for functions which it implements
7636 to always fail with ENOSYS. Some functions are actually named
7637 something starting with __ and the normal name is an alias. */
7638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7639 choke me
7640 #else
7641 $ac_func();
7642 #endif
7644 ; return 0; }
7646 if { (eval echo configure:7647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7647 rm -rf conftest*
7648 eval "ac_cv_func_$ac_func=yes"
7649 else
7650 echo "configure: failed program was:" >&5
7651 cat conftest.$ac_ext >&5
7652 rm -rf conftest*
7653 eval "ac_cv_func_$ac_func=no"
7655 rm -f conftest*
7658 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7659 echo "$ac_t""yes" 1>&6
7660 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7661 cat >> confdefs.h <<EOF
7662 #define $ac_tr_func 1
7665 else
7666 echo "$ac_t""no" 1>&6
7668 done
7673 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
7674 echo "configure:7675: checking for sqrtf declaration" >&5
7675 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
7676 echo $ac_n "(cached) $ac_c" 1>&6
7677 else
7680 ac_ext=C
7681 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7682 ac_cpp='$CXXCPP $CPPFLAGS'
7683 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7684 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7685 cross_compiling=$ac_cv_prog_cxx_cross
7687 cat > conftest.$ac_ext <<EOF
7688 #line 7689 "configure"
7689 #include "confdefs.h"
7690 #include <math.h>
7691 int main() {
7692 sqrtf(0);
7693 ; return 0; }
7695 if { (eval echo configure:7696: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7696 rm -rf conftest*
7697 glibcpp_cv_func_sqrtf_use=yes
7698 else
7699 echo "configure: failed program was:" >&5
7700 cat conftest.$ac_ext >&5
7701 rm -rf conftest*
7702 glibcpp_cv_func_sqrtf_use=no
7704 rm -f conftest*
7705 ac_ext=c
7706 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7707 ac_cpp='$CPP $CPPFLAGS'
7708 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7709 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7710 cross_compiling=$ac_cv_prog_cc_cross
7715 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
7716 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
7717 for ac_func in sqrtf
7719 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7720 echo "configure:7721: checking for $ac_func" >&5
7721 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7722 echo $ac_n "(cached) $ac_c" 1>&6
7723 else
7724 cat > conftest.$ac_ext <<EOF
7725 #line 7726 "configure"
7726 #include "confdefs.h"
7727 /* System header to define __stub macros and hopefully few prototypes,
7728 which can conflict with char $ac_func(); below. */
7729 #include <assert.h>
7730 /* Override any gcc2 internal prototype to avoid an error. */
7731 /* We use char because int might match the return type of a gcc2
7732 builtin and then its argument prototype would still apply. */
7733 char $ac_func();
7735 int main() {
7737 /* The GNU C library defines this for functions which it implements
7738 to always fail with ENOSYS. Some functions are actually named
7739 something starting with __ and the normal name is an alias. */
7740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7741 choke me
7742 #else
7743 $ac_func();
7744 #endif
7746 ; return 0; }
7748 if { (eval echo configure:7749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7749 rm -rf conftest*
7750 eval "ac_cv_func_$ac_func=yes"
7751 else
7752 echo "configure: failed program was:" >&5
7753 cat conftest.$ac_ext >&5
7754 rm -rf conftest*
7755 eval "ac_cv_func_$ac_func=no"
7757 rm -f conftest*
7760 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7761 echo "$ac_t""yes" 1>&6
7762 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7763 cat >> confdefs.h <<EOF
7764 #define $ac_tr_func 1
7767 else
7768 echo "$ac_t""no" 1>&6
7770 done
7775 echo $ac_n "checking for tanf declaration""... $ac_c" 1>&6
7776 echo "configure:7777: checking for tanf declaration" >&5
7777 if eval "test \"`echo '$''{'glibcpp_cv_func_tanf_use'+set}'`\" = set"; then
7778 echo $ac_n "(cached) $ac_c" 1>&6
7779 else
7782 ac_ext=C
7783 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7784 ac_cpp='$CXXCPP $CPPFLAGS'
7785 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7786 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7787 cross_compiling=$ac_cv_prog_cxx_cross
7789 cat > conftest.$ac_ext <<EOF
7790 #line 7791 "configure"
7791 #include "confdefs.h"
7792 #include <math.h>
7793 int main() {
7794 tanf(0);
7795 ; return 0; }
7797 if { (eval echo configure:7798: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7798 rm -rf conftest*
7799 glibcpp_cv_func_tanf_use=yes
7800 else
7801 echo "configure: failed program was:" >&5
7802 cat conftest.$ac_ext >&5
7803 rm -rf conftest*
7804 glibcpp_cv_func_tanf_use=no
7806 rm -f conftest*
7807 ac_ext=c
7808 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7809 ac_cpp='$CPP $CPPFLAGS'
7810 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7811 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7812 cross_compiling=$ac_cv_prog_cc_cross
7817 echo "$ac_t""$glibcpp_cv_func_tanf_use" 1>&6
7818 if test x$glibcpp_cv_func_tanf_use = x"yes"; then
7819 for ac_func in tanf
7821 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7822 echo "configure:7823: checking for $ac_func" >&5
7823 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7824 echo $ac_n "(cached) $ac_c" 1>&6
7825 else
7826 cat > conftest.$ac_ext <<EOF
7827 #line 7828 "configure"
7828 #include "confdefs.h"
7829 /* System header to define __stub macros and hopefully few prototypes,
7830 which can conflict with char $ac_func(); below. */
7831 #include <assert.h>
7832 /* Override any gcc2 internal prototype to avoid an error. */
7833 /* We use char because int might match the return type of a gcc2
7834 builtin and then its argument prototype would still apply. */
7835 char $ac_func();
7837 int main() {
7839 /* The GNU C library defines this for functions which it implements
7840 to always fail with ENOSYS. Some functions are actually named
7841 something starting with __ and the normal name is an alias. */
7842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7843 choke me
7844 #else
7845 $ac_func();
7846 #endif
7848 ; return 0; }
7850 if { (eval echo configure:7851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7851 rm -rf conftest*
7852 eval "ac_cv_func_$ac_func=yes"
7853 else
7854 echo "configure: failed program was:" >&5
7855 cat conftest.$ac_ext >&5
7856 rm -rf conftest*
7857 eval "ac_cv_func_$ac_func=no"
7859 rm -f conftest*
7862 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7863 echo "$ac_t""yes" 1>&6
7864 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7865 cat >> confdefs.h <<EOF
7866 #define $ac_tr_func 1
7869 else
7870 echo "$ac_t""no" 1>&6
7872 done
7877 echo $ac_n "checking for tanhf declaration""... $ac_c" 1>&6
7878 echo "configure:7879: checking for tanhf declaration" >&5
7879 if eval "test \"`echo '$''{'glibcpp_cv_func_tanhf_use'+set}'`\" = set"; then
7880 echo $ac_n "(cached) $ac_c" 1>&6
7881 else
7884 ac_ext=C
7885 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7886 ac_cpp='$CXXCPP $CPPFLAGS'
7887 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7888 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7889 cross_compiling=$ac_cv_prog_cxx_cross
7891 cat > conftest.$ac_ext <<EOF
7892 #line 7893 "configure"
7893 #include "confdefs.h"
7894 #include <math.h>
7895 int main() {
7896 tanhf(0);
7897 ; return 0; }
7899 if { (eval echo configure:7900: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7900 rm -rf conftest*
7901 glibcpp_cv_func_tanhf_use=yes
7902 else
7903 echo "configure: failed program was:" >&5
7904 cat conftest.$ac_ext >&5
7905 rm -rf conftest*
7906 glibcpp_cv_func_tanhf_use=no
7908 rm -f conftest*
7909 ac_ext=c
7910 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7911 ac_cpp='$CPP $CPPFLAGS'
7912 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7913 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7914 cross_compiling=$ac_cv_prog_cc_cross
7919 echo "$ac_t""$glibcpp_cv_func_tanhf_use" 1>&6
7920 if test x$glibcpp_cv_func_tanhf_use = x"yes"; then
7921 for ac_func in tanhf
7923 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7924 echo "configure:7925: checking for $ac_func" >&5
7925 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7926 echo $ac_n "(cached) $ac_c" 1>&6
7927 else
7928 cat > conftest.$ac_ext <<EOF
7929 #line 7930 "configure"
7930 #include "confdefs.h"
7931 /* System header to define __stub macros and hopefully few prototypes,
7932 which can conflict with char $ac_func(); below. */
7933 #include <assert.h>
7934 /* Override any gcc2 internal prototype to avoid an error. */
7935 /* We use char because int might match the return type of a gcc2
7936 builtin and then its argument prototype would still apply. */
7937 char $ac_func();
7939 int main() {
7941 /* The GNU C library defines this for functions which it implements
7942 to always fail with ENOSYS. Some functions are actually named
7943 something starting with __ and the normal name is an alias. */
7944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7945 choke me
7946 #else
7947 $ac_func();
7948 #endif
7950 ; return 0; }
7952 if { (eval echo configure:7953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7953 rm -rf conftest*
7954 eval "ac_cv_func_$ac_func=yes"
7955 else
7956 echo "configure: failed program was:" >&5
7957 cat conftest.$ac_ext >&5
7958 rm -rf conftest*
7959 eval "ac_cv_func_$ac_func=no"
7961 rm -f conftest*
7964 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7965 echo "$ac_t""yes" 1>&6
7966 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7967 cat >> confdefs.h <<EOF
7968 #define $ac_tr_func 1
7971 else
7972 echo "$ac_t""no" 1>&6
7974 done
7979 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
7980 echo "configure:7981: checking for sincosf declaration" >&5
7981 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
7982 echo $ac_n "(cached) $ac_c" 1>&6
7983 else
7986 ac_ext=C
7987 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7988 ac_cpp='$CXXCPP $CPPFLAGS'
7989 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7990 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7991 cross_compiling=$ac_cv_prog_cxx_cross
7993 cat > conftest.$ac_ext <<EOF
7994 #line 7995 "configure"
7995 #include "confdefs.h"
7996 #include <math.h>
7997 int main() {
7998 sincosf(0, 0, 0);
7999 ; return 0; }
8001 if { (eval echo configure:8002: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8002 rm -rf conftest*
8003 glibcpp_cv_func_sincosf_use=yes
8004 else
8005 echo "configure: failed program was:" >&5
8006 cat conftest.$ac_ext >&5
8007 rm -rf conftest*
8008 glibcpp_cv_func_sincosf_use=no
8010 rm -f conftest*
8011 ac_ext=c
8012 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8013 ac_cpp='$CPP $CPPFLAGS'
8014 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8015 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8016 cross_compiling=$ac_cv_prog_cc_cross
8021 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
8022 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
8023 for ac_func in sincosf
8025 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8026 echo "configure:8027: checking for $ac_func" >&5
8027 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8028 echo $ac_n "(cached) $ac_c" 1>&6
8029 else
8030 cat > conftest.$ac_ext <<EOF
8031 #line 8032 "configure"
8032 #include "confdefs.h"
8033 /* System header to define __stub macros and hopefully few prototypes,
8034 which can conflict with char $ac_func(); below. */
8035 #include <assert.h>
8036 /* Override any gcc2 internal prototype to avoid an error. */
8037 /* We use char because int might match the return type of a gcc2
8038 builtin and then its argument prototype would still apply. */
8039 char $ac_func();
8041 int main() {
8043 /* The GNU C library defines this for functions which it implements
8044 to always fail with ENOSYS. Some functions are actually named
8045 something starting with __ and the normal name is an alias. */
8046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8047 choke me
8048 #else
8049 $ac_func();
8050 #endif
8052 ; return 0; }
8054 if { (eval echo configure:8055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8055 rm -rf conftest*
8056 eval "ac_cv_func_$ac_func=yes"
8057 else
8058 echo "configure: failed program was:" >&5
8059 cat conftest.$ac_ext >&5
8060 rm -rf conftest*
8061 eval "ac_cv_func_$ac_func=no"
8063 rm -f conftest*
8066 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8067 echo "$ac_t""yes" 1>&6
8068 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8069 cat >> confdefs.h <<EOF
8070 #define $ac_tr_func 1
8073 else
8074 echo "$ac_t""no" 1>&6
8076 done
8081 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
8082 echo "configure:8083: checking for finitef declaration" >&5
8083 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
8084 echo $ac_n "(cached) $ac_c" 1>&6
8085 else
8088 ac_ext=C
8089 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8090 ac_cpp='$CXXCPP $CPPFLAGS'
8091 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8092 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8093 cross_compiling=$ac_cv_prog_cxx_cross
8095 cat > conftest.$ac_ext <<EOF
8096 #line 8097 "configure"
8097 #include "confdefs.h"
8098 #include <math.h>
8099 int main() {
8100 finitef(0);
8101 ; return 0; }
8103 if { (eval echo configure:8104: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8104 rm -rf conftest*
8105 glibcpp_cv_func_finitef_use=yes
8106 else
8107 echo "configure: failed program was:" >&5
8108 cat conftest.$ac_ext >&5
8109 rm -rf conftest*
8110 glibcpp_cv_func_finitef_use=no
8112 rm -f conftest*
8113 ac_ext=c
8114 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8115 ac_cpp='$CPP $CPPFLAGS'
8116 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8117 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8118 cross_compiling=$ac_cv_prog_cc_cross
8123 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
8124 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
8125 for ac_func in finitef
8127 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8128 echo "configure:8129: checking for $ac_func" >&5
8129 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8130 echo $ac_n "(cached) $ac_c" 1>&6
8131 else
8132 cat > conftest.$ac_ext <<EOF
8133 #line 8134 "configure"
8134 #include "confdefs.h"
8135 /* System header to define __stub macros and hopefully few prototypes,
8136 which can conflict with char $ac_func(); below. */
8137 #include <assert.h>
8138 /* Override any gcc2 internal prototype to avoid an error. */
8139 /* We use char because int might match the return type of a gcc2
8140 builtin and then its argument prototype would still apply. */
8141 char $ac_func();
8143 int main() {
8145 /* The GNU C library defines this for functions which it implements
8146 to always fail with ENOSYS. Some functions are actually named
8147 something starting with __ and the normal name is an alias. */
8148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8149 choke me
8150 #else
8151 $ac_func();
8152 #endif
8154 ; return 0; }
8156 if { (eval echo configure:8157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8157 rm -rf conftest*
8158 eval "ac_cv_func_$ac_func=yes"
8159 else
8160 echo "configure: failed program was:" >&5
8161 cat conftest.$ac_ext >&5
8162 rm -rf conftest*
8163 eval "ac_cv_func_$ac_func=no"
8165 rm -f conftest*
8168 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8169 echo "$ac_t""yes" 1>&6
8170 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8171 cat >> confdefs.h <<EOF
8172 #define $ac_tr_func 1
8175 else
8176 echo "$ac_t""no" 1>&6
8178 done
8184 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
8185 echo "configure:8186: checking for isnanl declaration" >&5
8186 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
8187 echo $ac_n "(cached) $ac_c" 1>&6
8188 else
8191 ac_ext=C
8192 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8193 ac_cpp='$CXXCPP $CPPFLAGS'
8194 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8195 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8196 cross_compiling=$ac_cv_prog_cxx_cross
8198 cat > conftest.$ac_ext <<EOF
8199 #line 8200 "configure"
8200 #include "confdefs.h"
8201 #include <math.h>
8202 int main() {
8203 isnanl(0);
8204 ; return 0; }
8206 if { (eval echo configure:8207: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8207 rm -rf conftest*
8208 glibcpp_cv_func_isnanl_use=yes
8209 else
8210 echo "configure: failed program was:" >&5
8211 cat conftest.$ac_ext >&5
8212 rm -rf conftest*
8213 glibcpp_cv_func_isnanl_use=no
8215 rm -f conftest*
8216 ac_ext=c
8217 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8218 ac_cpp='$CPP $CPPFLAGS'
8219 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8220 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8221 cross_compiling=$ac_cv_prog_cc_cross
8226 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
8227 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
8228 for ac_func in isnanl
8230 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8231 echo "configure:8232: checking for $ac_func" >&5
8232 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8233 echo $ac_n "(cached) $ac_c" 1>&6
8234 else
8235 cat > conftest.$ac_ext <<EOF
8236 #line 8237 "configure"
8237 #include "confdefs.h"
8238 /* System header to define __stub macros and hopefully few prototypes,
8239 which can conflict with char $ac_func(); below. */
8240 #include <assert.h>
8241 /* Override any gcc2 internal prototype to avoid an error. */
8242 /* We use char because int might match the return type of a gcc2
8243 builtin and then its argument prototype would still apply. */
8244 char $ac_func();
8246 int main() {
8248 /* The GNU C library defines this for functions which it implements
8249 to always fail with ENOSYS. Some functions are actually named
8250 something starting with __ and the normal name is an alias. */
8251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8252 choke me
8253 #else
8254 $ac_func();
8255 #endif
8257 ; return 0; }
8259 if { (eval echo configure:8260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8260 rm -rf conftest*
8261 eval "ac_cv_func_$ac_func=yes"
8262 else
8263 echo "configure: failed program was:" >&5
8264 cat conftest.$ac_ext >&5
8265 rm -rf conftest*
8266 eval "ac_cv_func_$ac_func=no"
8268 rm -f conftest*
8271 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8272 echo "$ac_t""yes" 1>&6
8273 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8274 cat >> confdefs.h <<EOF
8275 #define $ac_tr_func 1
8278 else
8279 echo "$ac_t""no" 1>&6
8281 done
8286 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
8287 echo "configure:8288: checking for isinfl declaration" >&5
8288 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
8289 echo $ac_n "(cached) $ac_c" 1>&6
8290 else
8293 ac_ext=C
8294 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8295 ac_cpp='$CXXCPP $CPPFLAGS'
8296 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8297 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8298 cross_compiling=$ac_cv_prog_cxx_cross
8300 cat > conftest.$ac_ext <<EOF
8301 #line 8302 "configure"
8302 #include "confdefs.h"
8303 #include <math.h>
8304 int main() {
8305 isinfl(0);
8306 ; return 0; }
8308 if { (eval echo configure:8309: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8309 rm -rf conftest*
8310 glibcpp_cv_func_isinfl_use=yes
8311 else
8312 echo "configure: failed program was:" >&5
8313 cat conftest.$ac_ext >&5
8314 rm -rf conftest*
8315 glibcpp_cv_func_isinfl_use=no
8317 rm -f conftest*
8318 ac_ext=c
8319 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8320 ac_cpp='$CPP $CPPFLAGS'
8321 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8322 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8323 cross_compiling=$ac_cv_prog_cc_cross
8328 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
8329 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
8330 for ac_func in isinfl
8332 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8333 echo "configure:8334: checking for $ac_func" >&5
8334 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8335 echo $ac_n "(cached) $ac_c" 1>&6
8336 else
8337 cat > conftest.$ac_ext <<EOF
8338 #line 8339 "configure"
8339 #include "confdefs.h"
8340 /* System header to define __stub macros and hopefully few prototypes,
8341 which can conflict with char $ac_func(); below. */
8342 #include <assert.h>
8343 /* Override any gcc2 internal prototype to avoid an error. */
8344 /* We use char because int might match the return type of a gcc2
8345 builtin and then its argument prototype would still apply. */
8346 char $ac_func();
8348 int main() {
8350 /* The GNU C library defines this for functions which it implements
8351 to always fail with ENOSYS. Some functions are actually named
8352 something starting with __ and the normal name is an alias. */
8353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8354 choke me
8355 #else
8356 $ac_func();
8357 #endif
8359 ; return 0; }
8361 if { (eval echo configure:8362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8362 rm -rf conftest*
8363 eval "ac_cv_func_$ac_func=yes"
8364 else
8365 echo "configure: failed program was:" >&5
8366 cat conftest.$ac_ext >&5
8367 rm -rf conftest*
8368 eval "ac_cv_func_$ac_func=no"
8370 rm -f conftest*
8373 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8374 echo "$ac_t""yes" 1>&6
8375 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8376 cat >> confdefs.h <<EOF
8377 #define $ac_tr_func 1
8380 else
8381 echo "$ac_t""no" 1>&6
8383 done
8388 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
8389 echo "configure:8390: checking for copysignl declaration" >&5
8390 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
8391 echo $ac_n "(cached) $ac_c" 1>&6
8392 else
8395 ac_ext=C
8396 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8397 ac_cpp='$CXXCPP $CPPFLAGS'
8398 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8399 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8400 cross_compiling=$ac_cv_prog_cxx_cross
8402 cat > conftest.$ac_ext <<EOF
8403 #line 8404 "configure"
8404 #include "confdefs.h"
8405 #include <math.h>
8406 int main() {
8407 copysignl(0, 0);
8408 ; return 0; }
8410 if { (eval echo configure:8411: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8411 rm -rf conftest*
8412 glibcpp_cv_func_copysignl_use=yes
8413 else
8414 echo "configure: failed program was:" >&5
8415 cat conftest.$ac_ext >&5
8416 rm -rf conftest*
8417 glibcpp_cv_func_copysignl_use=no
8419 rm -f conftest*
8420 ac_ext=c
8421 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8422 ac_cpp='$CPP $CPPFLAGS'
8423 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8424 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8425 cross_compiling=$ac_cv_prog_cc_cross
8430 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
8431 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
8432 for ac_func in copysignl
8434 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8435 echo "configure:8436: checking for $ac_func" >&5
8436 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8437 echo $ac_n "(cached) $ac_c" 1>&6
8438 else
8439 cat > conftest.$ac_ext <<EOF
8440 #line 8441 "configure"
8441 #include "confdefs.h"
8442 /* System header to define __stub macros and hopefully few prototypes,
8443 which can conflict with char $ac_func(); below. */
8444 #include <assert.h>
8445 /* Override any gcc2 internal prototype to avoid an error. */
8446 /* We use char because int might match the return type of a gcc2
8447 builtin and then its argument prototype would still apply. */
8448 char $ac_func();
8450 int main() {
8452 /* The GNU C library defines this for functions which it implements
8453 to always fail with ENOSYS. Some functions are actually named
8454 something starting with __ and the normal name is an alias. */
8455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8456 choke me
8457 #else
8458 $ac_func();
8459 #endif
8461 ; return 0; }
8463 if { (eval echo configure:8464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8464 rm -rf conftest*
8465 eval "ac_cv_func_$ac_func=yes"
8466 else
8467 echo "configure: failed program was:" >&5
8468 cat conftest.$ac_ext >&5
8469 rm -rf conftest*
8470 eval "ac_cv_func_$ac_func=no"
8472 rm -f conftest*
8475 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8476 echo "$ac_t""yes" 1>&6
8477 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8478 cat >> confdefs.h <<EOF
8479 #define $ac_tr_func 1
8482 else
8483 echo "$ac_t""no" 1>&6
8485 done
8490 echo $ac_n "checking for acosl declaration""... $ac_c" 1>&6
8491 echo "configure:8492: checking for acosl declaration" >&5
8492 if eval "test \"`echo '$''{'glibcpp_cv_func_acosl_use'+set}'`\" = set"; then
8493 echo $ac_n "(cached) $ac_c" 1>&6
8494 else
8497 ac_ext=C
8498 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8499 ac_cpp='$CXXCPP $CPPFLAGS'
8500 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8501 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8502 cross_compiling=$ac_cv_prog_cxx_cross
8504 cat > conftest.$ac_ext <<EOF
8505 #line 8506 "configure"
8506 #include "confdefs.h"
8507 #include <math.h>
8508 int main() {
8509 acosl(0);
8510 ; return 0; }
8512 if { (eval echo configure:8513: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8513 rm -rf conftest*
8514 glibcpp_cv_func_acosl_use=yes
8515 else
8516 echo "configure: failed program was:" >&5
8517 cat conftest.$ac_ext >&5
8518 rm -rf conftest*
8519 glibcpp_cv_func_acosl_use=no
8521 rm -f conftest*
8522 ac_ext=c
8523 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8524 ac_cpp='$CPP $CPPFLAGS'
8525 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8526 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8527 cross_compiling=$ac_cv_prog_cc_cross
8532 echo "$ac_t""$glibcpp_cv_func_acosl_use" 1>&6
8533 if test x$glibcpp_cv_func_acosl_use = x"yes"; then
8534 for ac_func in acosl
8536 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8537 echo "configure:8538: checking for $ac_func" >&5
8538 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8539 echo $ac_n "(cached) $ac_c" 1>&6
8540 else
8541 cat > conftest.$ac_ext <<EOF
8542 #line 8543 "configure"
8543 #include "confdefs.h"
8544 /* System header to define __stub macros and hopefully few prototypes,
8545 which can conflict with char $ac_func(); below. */
8546 #include <assert.h>
8547 /* Override any gcc2 internal prototype to avoid an error. */
8548 /* We use char because int might match the return type of a gcc2
8549 builtin and then its argument prototype would still apply. */
8550 char $ac_func();
8552 int main() {
8554 /* The GNU C library defines this for functions which it implements
8555 to always fail with ENOSYS. Some functions are actually named
8556 something starting with __ and the normal name is an alias. */
8557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8558 choke me
8559 #else
8560 $ac_func();
8561 #endif
8563 ; return 0; }
8565 if { (eval echo configure:8566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8566 rm -rf conftest*
8567 eval "ac_cv_func_$ac_func=yes"
8568 else
8569 echo "configure: failed program was:" >&5
8570 cat conftest.$ac_ext >&5
8571 rm -rf conftest*
8572 eval "ac_cv_func_$ac_func=no"
8574 rm -f conftest*
8577 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8578 echo "$ac_t""yes" 1>&6
8579 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8580 cat >> confdefs.h <<EOF
8581 #define $ac_tr_func 1
8584 else
8585 echo "$ac_t""no" 1>&6
8587 done
8592 echo $ac_n "checking for asinl declaration""... $ac_c" 1>&6
8593 echo "configure:8594: checking for asinl declaration" >&5
8594 if eval "test \"`echo '$''{'glibcpp_cv_func_asinl_use'+set}'`\" = set"; then
8595 echo $ac_n "(cached) $ac_c" 1>&6
8596 else
8599 ac_ext=C
8600 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8601 ac_cpp='$CXXCPP $CPPFLAGS'
8602 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8603 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8604 cross_compiling=$ac_cv_prog_cxx_cross
8606 cat > conftest.$ac_ext <<EOF
8607 #line 8608 "configure"
8608 #include "confdefs.h"
8609 #include <math.h>
8610 int main() {
8611 asinl(0);
8612 ; return 0; }
8614 if { (eval echo configure:8615: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8615 rm -rf conftest*
8616 glibcpp_cv_func_asinl_use=yes
8617 else
8618 echo "configure: failed program was:" >&5
8619 cat conftest.$ac_ext >&5
8620 rm -rf conftest*
8621 glibcpp_cv_func_asinl_use=no
8623 rm -f conftest*
8624 ac_ext=c
8625 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8626 ac_cpp='$CPP $CPPFLAGS'
8627 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8628 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8629 cross_compiling=$ac_cv_prog_cc_cross
8634 echo "$ac_t""$glibcpp_cv_func_asinl_use" 1>&6
8635 if test x$glibcpp_cv_func_asinl_use = x"yes"; then
8636 for ac_func in asinl
8638 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8639 echo "configure:8640: checking for $ac_func" >&5
8640 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8641 echo $ac_n "(cached) $ac_c" 1>&6
8642 else
8643 cat > conftest.$ac_ext <<EOF
8644 #line 8645 "configure"
8645 #include "confdefs.h"
8646 /* System header to define __stub macros and hopefully few prototypes,
8647 which can conflict with char $ac_func(); below. */
8648 #include <assert.h>
8649 /* Override any gcc2 internal prototype to avoid an error. */
8650 /* We use char because int might match the return type of a gcc2
8651 builtin and then its argument prototype would still apply. */
8652 char $ac_func();
8654 int main() {
8656 /* The GNU C library defines this for functions which it implements
8657 to always fail with ENOSYS. Some functions are actually named
8658 something starting with __ and the normal name is an alias. */
8659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8660 choke me
8661 #else
8662 $ac_func();
8663 #endif
8665 ; return 0; }
8667 if { (eval echo configure:8668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8668 rm -rf conftest*
8669 eval "ac_cv_func_$ac_func=yes"
8670 else
8671 echo "configure: failed program was:" >&5
8672 cat conftest.$ac_ext >&5
8673 rm -rf conftest*
8674 eval "ac_cv_func_$ac_func=no"
8676 rm -f conftest*
8679 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8680 echo "$ac_t""yes" 1>&6
8681 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8682 cat >> confdefs.h <<EOF
8683 #define $ac_tr_func 1
8686 else
8687 echo "$ac_t""no" 1>&6
8689 done
8694 echo $ac_n "checking for atanl declaration""... $ac_c" 1>&6
8695 echo "configure:8696: checking for atanl declaration" >&5
8696 if eval "test \"`echo '$''{'glibcpp_cv_func_atanl_use'+set}'`\" = set"; then
8697 echo $ac_n "(cached) $ac_c" 1>&6
8698 else
8701 ac_ext=C
8702 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8703 ac_cpp='$CXXCPP $CPPFLAGS'
8704 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8705 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8706 cross_compiling=$ac_cv_prog_cxx_cross
8708 cat > conftest.$ac_ext <<EOF
8709 #line 8710 "configure"
8710 #include "confdefs.h"
8711 #include <math.h>
8712 int main() {
8713 atanl(0);
8714 ; return 0; }
8716 if { (eval echo configure:8717: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8717 rm -rf conftest*
8718 glibcpp_cv_func_atanl_use=yes
8719 else
8720 echo "configure: failed program was:" >&5
8721 cat conftest.$ac_ext >&5
8722 rm -rf conftest*
8723 glibcpp_cv_func_atanl_use=no
8725 rm -f conftest*
8726 ac_ext=c
8727 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8728 ac_cpp='$CPP $CPPFLAGS'
8729 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8730 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8731 cross_compiling=$ac_cv_prog_cc_cross
8736 echo "$ac_t""$glibcpp_cv_func_atanl_use" 1>&6
8737 if test x$glibcpp_cv_func_atanl_use = x"yes"; then
8738 for ac_func in atanl
8740 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8741 echo "configure:8742: checking for $ac_func" >&5
8742 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8743 echo $ac_n "(cached) $ac_c" 1>&6
8744 else
8745 cat > conftest.$ac_ext <<EOF
8746 #line 8747 "configure"
8747 #include "confdefs.h"
8748 /* System header to define __stub macros and hopefully few prototypes,
8749 which can conflict with char $ac_func(); below. */
8750 #include <assert.h>
8751 /* Override any gcc2 internal prototype to avoid an error. */
8752 /* We use char because int might match the return type of a gcc2
8753 builtin and then its argument prototype would still apply. */
8754 char $ac_func();
8756 int main() {
8758 /* The GNU C library defines this for functions which it implements
8759 to always fail with ENOSYS. Some functions are actually named
8760 something starting with __ and the normal name is an alias. */
8761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8762 choke me
8763 #else
8764 $ac_func();
8765 #endif
8767 ; return 0; }
8769 if { (eval echo configure:8770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8770 rm -rf conftest*
8771 eval "ac_cv_func_$ac_func=yes"
8772 else
8773 echo "configure: failed program was:" >&5
8774 cat conftest.$ac_ext >&5
8775 rm -rf conftest*
8776 eval "ac_cv_func_$ac_func=no"
8778 rm -f conftest*
8781 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8782 echo "$ac_t""yes" 1>&6
8783 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8784 cat >> confdefs.h <<EOF
8785 #define $ac_tr_func 1
8788 else
8789 echo "$ac_t""no" 1>&6
8791 done
8796 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
8797 echo "configure:8798: checking for atan2l declaration" >&5
8798 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
8799 echo $ac_n "(cached) $ac_c" 1>&6
8800 else
8803 ac_ext=C
8804 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8805 ac_cpp='$CXXCPP $CPPFLAGS'
8806 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8807 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8808 cross_compiling=$ac_cv_prog_cxx_cross
8810 cat > conftest.$ac_ext <<EOF
8811 #line 8812 "configure"
8812 #include "confdefs.h"
8813 #include <math.h>
8814 int main() {
8815 atan2l(0, 0);
8816 ; return 0; }
8818 if { (eval echo configure:8819: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8819 rm -rf conftest*
8820 glibcpp_cv_func_atan2l_use=yes
8821 else
8822 echo "configure: failed program was:" >&5
8823 cat conftest.$ac_ext >&5
8824 rm -rf conftest*
8825 glibcpp_cv_func_atan2l_use=no
8827 rm -f conftest*
8828 ac_ext=c
8829 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8830 ac_cpp='$CPP $CPPFLAGS'
8831 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8832 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8833 cross_compiling=$ac_cv_prog_cc_cross
8838 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
8839 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
8840 for ac_func in atan2l
8842 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8843 echo "configure:8844: checking for $ac_func" >&5
8844 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8845 echo $ac_n "(cached) $ac_c" 1>&6
8846 else
8847 cat > conftest.$ac_ext <<EOF
8848 #line 8849 "configure"
8849 #include "confdefs.h"
8850 /* System header to define __stub macros and hopefully few prototypes,
8851 which can conflict with char $ac_func(); below. */
8852 #include <assert.h>
8853 /* Override any gcc2 internal prototype to avoid an error. */
8854 /* We use char because int might match the return type of a gcc2
8855 builtin and then its argument prototype would still apply. */
8856 char $ac_func();
8858 int main() {
8860 /* The GNU C library defines this for functions which it implements
8861 to always fail with ENOSYS. Some functions are actually named
8862 something starting with __ and the normal name is an alias. */
8863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8864 choke me
8865 #else
8866 $ac_func();
8867 #endif
8869 ; return 0; }
8871 if { (eval echo configure:8872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8872 rm -rf conftest*
8873 eval "ac_cv_func_$ac_func=yes"
8874 else
8875 echo "configure: failed program was:" >&5
8876 cat conftest.$ac_ext >&5
8877 rm -rf conftest*
8878 eval "ac_cv_func_$ac_func=no"
8880 rm -f conftest*
8883 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8884 echo "$ac_t""yes" 1>&6
8885 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8886 cat >> confdefs.h <<EOF
8887 #define $ac_tr_func 1
8890 else
8891 echo "$ac_t""no" 1>&6
8893 done
8898 echo $ac_n "checking for ceill declaration""... $ac_c" 1>&6
8899 echo "configure:8900: checking for ceill declaration" >&5
8900 if eval "test \"`echo '$''{'glibcpp_cv_func_ceill_use'+set}'`\" = set"; then
8901 echo $ac_n "(cached) $ac_c" 1>&6
8902 else
8905 ac_ext=C
8906 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8907 ac_cpp='$CXXCPP $CPPFLAGS'
8908 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8909 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8910 cross_compiling=$ac_cv_prog_cxx_cross
8912 cat > conftest.$ac_ext <<EOF
8913 #line 8914 "configure"
8914 #include "confdefs.h"
8915 #include <math.h>
8916 int main() {
8917 ceill(0);
8918 ; return 0; }
8920 if { (eval echo configure:8921: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8921 rm -rf conftest*
8922 glibcpp_cv_func_ceill_use=yes
8923 else
8924 echo "configure: failed program was:" >&5
8925 cat conftest.$ac_ext >&5
8926 rm -rf conftest*
8927 glibcpp_cv_func_ceill_use=no
8929 rm -f conftest*
8930 ac_ext=c
8931 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8932 ac_cpp='$CPP $CPPFLAGS'
8933 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8934 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8935 cross_compiling=$ac_cv_prog_cc_cross
8940 echo "$ac_t""$glibcpp_cv_func_ceill_use" 1>&6
8941 if test x$glibcpp_cv_func_ceill_use = x"yes"; then
8942 for ac_func in ceill
8944 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8945 echo "configure:8946: checking for $ac_func" >&5
8946 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8947 echo $ac_n "(cached) $ac_c" 1>&6
8948 else
8949 cat > conftest.$ac_ext <<EOF
8950 #line 8951 "configure"
8951 #include "confdefs.h"
8952 /* System header to define __stub macros and hopefully few prototypes,
8953 which can conflict with char $ac_func(); below. */
8954 #include <assert.h>
8955 /* Override any gcc2 internal prototype to avoid an error. */
8956 /* We use char because int might match the return type of a gcc2
8957 builtin and then its argument prototype would still apply. */
8958 char $ac_func();
8960 int main() {
8962 /* The GNU C library defines this for functions which it implements
8963 to always fail with ENOSYS. Some functions are actually named
8964 something starting with __ and the normal name is an alias. */
8965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8966 choke me
8967 #else
8968 $ac_func();
8969 #endif
8971 ; return 0; }
8973 if { (eval echo configure:8974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8974 rm -rf conftest*
8975 eval "ac_cv_func_$ac_func=yes"
8976 else
8977 echo "configure: failed program was:" >&5
8978 cat conftest.$ac_ext >&5
8979 rm -rf conftest*
8980 eval "ac_cv_func_$ac_func=no"
8982 rm -f conftest*
8985 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8986 echo "$ac_t""yes" 1>&6
8987 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8988 cat >> confdefs.h <<EOF
8989 #define $ac_tr_func 1
8992 else
8993 echo "$ac_t""no" 1>&6
8995 done
9000 echo $ac_n "checking for cosl declaration""... $ac_c" 1>&6
9001 echo "configure:9002: checking for cosl declaration" >&5
9002 if eval "test \"`echo '$''{'glibcpp_cv_func_cosl_use'+set}'`\" = set"; then
9003 echo $ac_n "(cached) $ac_c" 1>&6
9004 else
9007 ac_ext=C
9008 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9009 ac_cpp='$CXXCPP $CPPFLAGS'
9010 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9011 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9012 cross_compiling=$ac_cv_prog_cxx_cross
9014 cat > conftest.$ac_ext <<EOF
9015 #line 9016 "configure"
9016 #include "confdefs.h"
9017 #include <math.h>
9018 int main() {
9019 cosl(0);
9020 ; return 0; }
9022 if { (eval echo configure:9023: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9023 rm -rf conftest*
9024 glibcpp_cv_func_cosl_use=yes
9025 else
9026 echo "configure: failed program was:" >&5
9027 cat conftest.$ac_ext >&5
9028 rm -rf conftest*
9029 glibcpp_cv_func_cosl_use=no
9031 rm -f conftest*
9032 ac_ext=c
9033 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9034 ac_cpp='$CPP $CPPFLAGS'
9035 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9036 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9037 cross_compiling=$ac_cv_prog_cc_cross
9042 echo "$ac_t""$glibcpp_cv_func_cosl_use" 1>&6
9043 if test x$glibcpp_cv_func_cosl_use = x"yes"; then
9044 for ac_func in cosl
9046 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9047 echo "configure:9048: checking for $ac_func" >&5
9048 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9049 echo $ac_n "(cached) $ac_c" 1>&6
9050 else
9051 cat > conftest.$ac_ext <<EOF
9052 #line 9053 "configure"
9053 #include "confdefs.h"
9054 /* System header to define __stub macros and hopefully few prototypes,
9055 which can conflict with char $ac_func(); below. */
9056 #include <assert.h>
9057 /* Override any gcc2 internal prototype to avoid an error. */
9058 /* We use char because int might match the return type of a gcc2
9059 builtin and then its argument prototype would still apply. */
9060 char $ac_func();
9062 int main() {
9064 /* The GNU C library defines this for functions which it implements
9065 to always fail with ENOSYS. Some functions are actually named
9066 something starting with __ and the normal name is an alias. */
9067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9068 choke me
9069 #else
9070 $ac_func();
9071 #endif
9073 ; return 0; }
9075 if { (eval echo configure:9076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9076 rm -rf conftest*
9077 eval "ac_cv_func_$ac_func=yes"
9078 else
9079 echo "configure: failed program was:" >&5
9080 cat conftest.$ac_ext >&5
9081 rm -rf conftest*
9082 eval "ac_cv_func_$ac_func=no"
9084 rm -f conftest*
9087 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9088 echo "$ac_t""yes" 1>&6
9089 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9090 cat >> confdefs.h <<EOF
9091 #define $ac_tr_func 1
9094 else
9095 echo "$ac_t""no" 1>&6
9097 done
9102 echo $ac_n "checking for coshl declaration""... $ac_c" 1>&6
9103 echo "configure:9104: checking for coshl declaration" >&5
9104 if eval "test \"`echo '$''{'glibcpp_cv_func_coshl_use'+set}'`\" = set"; then
9105 echo $ac_n "(cached) $ac_c" 1>&6
9106 else
9109 ac_ext=C
9110 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9111 ac_cpp='$CXXCPP $CPPFLAGS'
9112 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9113 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9114 cross_compiling=$ac_cv_prog_cxx_cross
9116 cat > conftest.$ac_ext <<EOF
9117 #line 9118 "configure"
9118 #include "confdefs.h"
9119 #include <math.h>
9120 int main() {
9121 coshl(0);
9122 ; return 0; }
9124 if { (eval echo configure:9125: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9125 rm -rf conftest*
9126 glibcpp_cv_func_coshl_use=yes
9127 else
9128 echo "configure: failed program was:" >&5
9129 cat conftest.$ac_ext >&5
9130 rm -rf conftest*
9131 glibcpp_cv_func_coshl_use=no
9133 rm -f conftest*
9134 ac_ext=c
9135 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9136 ac_cpp='$CPP $CPPFLAGS'
9137 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9138 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9139 cross_compiling=$ac_cv_prog_cc_cross
9144 echo "$ac_t""$glibcpp_cv_func_coshl_use" 1>&6
9145 if test x$glibcpp_cv_func_coshl_use = x"yes"; then
9146 for ac_func in coshl
9148 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9149 echo "configure:9150: checking for $ac_func" >&5
9150 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9151 echo $ac_n "(cached) $ac_c" 1>&6
9152 else
9153 cat > conftest.$ac_ext <<EOF
9154 #line 9155 "configure"
9155 #include "confdefs.h"
9156 /* System header to define __stub macros and hopefully few prototypes,
9157 which can conflict with char $ac_func(); below. */
9158 #include <assert.h>
9159 /* Override any gcc2 internal prototype to avoid an error. */
9160 /* We use char because int might match the return type of a gcc2
9161 builtin and then its argument prototype would still apply. */
9162 char $ac_func();
9164 int main() {
9166 /* The GNU C library defines this for functions which it implements
9167 to always fail with ENOSYS. Some functions are actually named
9168 something starting with __ and the normal name is an alias. */
9169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9170 choke me
9171 #else
9172 $ac_func();
9173 #endif
9175 ; return 0; }
9177 if { (eval echo configure:9178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9178 rm -rf conftest*
9179 eval "ac_cv_func_$ac_func=yes"
9180 else
9181 echo "configure: failed program was:" >&5
9182 cat conftest.$ac_ext >&5
9183 rm -rf conftest*
9184 eval "ac_cv_func_$ac_func=no"
9186 rm -f conftest*
9189 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9190 echo "$ac_t""yes" 1>&6
9191 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9192 cat >> confdefs.h <<EOF
9193 #define $ac_tr_func 1
9196 else
9197 echo "$ac_t""no" 1>&6
9199 done
9204 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
9205 echo "configure:9206: checking for expl declaration" >&5
9206 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
9207 echo $ac_n "(cached) $ac_c" 1>&6
9208 else
9211 ac_ext=C
9212 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9213 ac_cpp='$CXXCPP $CPPFLAGS'
9214 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9215 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9216 cross_compiling=$ac_cv_prog_cxx_cross
9218 cat > conftest.$ac_ext <<EOF
9219 #line 9220 "configure"
9220 #include "confdefs.h"
9221 #include <math.h>
9222 int main() {
9223 expl(0);
9224 ; return 0; }
9226 if { (eval echo configure:9227: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9227 rm -rf conftest*
9228 glibcpp_cv_func_expl_use=yes
9229 else
9230 echo "configure: failed program was:" >&5
9231 cat conftest.$ac_ext >&5
9232 rm -rf conftest*
9233 glibcpp_cv_func_expl_use=no
9235 rm -f conftest*
9236 ac_ext=c
9237 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9238 ac_cpp='$CPP $CPPFLAGS'
9239 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9240 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9241 cross_compiling=$ac_cv_prog_cc_cross
9246 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
9247 if test x$glibcpp_cv_func_expl_use = x"yes"; then
9248 for ac_func in expl
9250 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9251 echo "configure:9252: checking for $ac_func" >&5
9252 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9253 echo $ac_n "(cached) $ac_c" 1>&6
9254 else
9255 cat > conftest.$ac_ext <<EOF
9256 #line 9257 "configure"
9257 #include "confdefs.h"
9258 /* System header to define __stub macros and hopefully few prototypes,
9259 which can conflict with char $ac_func(); below. */
9260 #include <assert.h>
9261 /* Override any gcc2 internal prototype to avoid an error. */
9262 /* We use char because int might match the return type of a gcc2
9263 builtin and then its argument prototype would still apply. */
9264 char $ac_func();
9266 int main() {
9268 /* The GNU C library defines this for functions which it implements
9269 to always fail with ENOSYS. Some functions are actually named
9270 something starting with __ and the normal name is an alias. */
9271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9272 choke me
9273 #else
9274 $ac_func();
9275 #endif
9277 ; return 0; }
9279 if { (eval echo configure:9280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9280 rm -rf conftest*
9281 eval "ac_cv_func_$ac_func=yes"
9282 else
9283 echo "configure: failed program was:" >&5
9284 cat conftest.$ac_ext >&5
9285 rm -rf conftest*
9286 eval "ac_cv_func_$ac_func=no"
9288 rm -f conftest*
9291 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9292 echo "$ac_t""yes" 1>&6
9293 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9294 cat >> confdefs.h <<EOF
9295 #define $ac_tr_func 1
9298 else
9299 echo "$ac_t""no" 1>&6
9301 done
9306 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
9307 echo "configure:9308: checking for fabsl declaration" >&5
9308 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
9309 echo $ac_n "(cached) $ac_c" 1>&6
9310 else
9313 ac_ext=C
9314 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9315 ac_cpp='$CXXCPP $CPPFLAGS'
9316 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9317 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9318 cross_compiling=$ac_cv_prog_cxx_cross
9320 cat > conftest.$ac_ext <<EOF
9321 #line 9322 "configure"
9322 #include "confdefs.h"
9323 #include <math.h>
9324 int main() {
9325 fabsl(0);
9326 ; return 0; }
9328 if { (eval echo configure:9329: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9329 rm -rf conftest*
9330 glibcpp_cv_func_fabsl_use=yes
9331 else
9332 echo "configure: failed program was:" >&5
9333 cat conftest.$ac_ext >&5
9334 rm -rf conftest*
9335 glibcpp_cv_func_fabsl_use=no
9337 rm -f conftest*
9338 ac_ext=c
9339 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9340 ac_cpp='$CPP $CPPFLAGS'
9341 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9342 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9343 cross_compiling=$ac_cv_prog_cc_cross
9348 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
9349 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
9350 for ac_func in fabsl
9352 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9353 echo "configure:9354: checking for $ac_func" >&5
9354 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9355 echo $ac_n "(cached) $ac_c" 1>&6
9356 else
9357 cat > conftest.$ac_ext <<EOF
9358 #line 9359 "configure"
9359 #include "confdefs.h"
9360 /* System header to define __stub macros and hopefully few prototypes,
9361 which can conflict with char $ac_func(); below. */
9362 #include <assert.h>
9363 /* Override any gcc2 internal prototype to avoid an error. */
9364 /* We use char because int might match the return type of a gcc2
9365 builtin and then its argument prototype would still apply. */
9366 char $ac_func();
9368 int main() {
9370 /* The GNU C library defines this for functions which it implements
9371 to always fail with ENOSYS. Some functions are actually named
9372 something starting with __ and the normal name is an alias. */
9373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9374 choke me
9375 #else
9376 $ac_func();
9377 #endif
9379 ; return 0; }
9381 if { (eval echo configure:9382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9382 rm -rf conftest*
9383 eval "ac_cv_func_$ac_func=yes"
9384 else
9385 echo "configure: failed program was:" >&5
9386 cat conftest.$ac_ext >&5
9387 rm -rf conftest*
9388 eval "ac_cv_func_$ac_func=no"
9390 rm -f conftest*
9393 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9394 echo "$ac_t""yes" 1>&6
9395 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9396 cat >> confdefs.h <<EOF
9397 #define $ac_tr_func 1
9400 else
9401 echo "$ac_t""no" 1>&6
9403 done
9408 echo $ac_n "checking for floorl declaration""... $ac_c" 1>&6
9409 echo "configure:9410: checking for floorl declaration" >&5
9410 if eval "test \"`echo '$''{'glibcpp_cv_func_floorl_use'+set}'`\" = set"; then
9411 echo $ac_n "(cached) $ac_c" 1>&6
9412 else
9415 ac_ext=C
9416 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9417 ac_cpp='$CXXCPP $CPPFLAGS'
9418 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9419 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9420 cross_compiling=$ac_cv_prog_cxx_cross
9422 cat > conftest.$ac_ext <<EOF
9423 #line 9424 "configure"
9424 #include "confdefs.h"
9425 #include <math.h>
9426 int main() {
9427 floorl(0);
9428 ; return 0; }
9430 if { (eval echo configure:9431: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9431 rm -rf conftest*
9432 glibcpp_cv_func_floorl_use=yes
9433 else
9434 echo "configure: failed program was:" >&5
9435 cat conftest.$ac_ext >&5
9436 rm -rf conftest*
9437 glibcpp_cv_func_floorl_use=no
9439 rm -f conftest*
9440 ac_ext=c
9441 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9442 ac_cpp='$CPP $CPPFLAGS'
9443 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9444 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9445 cross_compiling=$ac_cv_prog_cc_cross
9450 echo "$ac_t""$glibcpp_cv_func_floorl_use" 1>&6
9451 if test x$glibcpp_cv_func_floorl_use = x"yes"; then
9452 for ac_func in floorl
9454 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9455 echo "configure:9456: checking for $ac_func" >&5
9456 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9457 echo $ac_n "(cached) $ac_c" 1>&6
9458 else
9459 cat > conftest.$ac_ext <<EOF
9460 #line 9461 "configure"
9461 #include "confdefs.h"
9462 /* System header to define __stub macros and hopefully few prototypes,
9463 which can conflict with char $ac_func(); below. */
9464 #include <assert.h>
9465 /* Override any gcc2 internal prototype to avoid an error. */
9466 /* We use char because int might match the return type of a gcc2
9467 builtin and then its argument prototype would still apply. */
9468 char $ac_func();
9470 int main() {
9472 /* The GNU C library defines this for functions which it implements
9473 to always fail with ENOSYS. Some functions are actually named
9474 something starting with __ and the normal name is an alias. */
9475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9476 choke me
9477 #else
9478 $ac_func();
9479 #endif
9481 ; return 0; }
9483 if { (eval echo configure:9484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9484 rm -rf conftest*
9485 eval "ac_cv_func_$ac_func=yes"
9486 else
9487 echo "configure: failed program was:" >&5
9488 cat conftest.$ac_ext >&5
9489 rm -rf conftest*
9490 eval "ac_cv_func_$ac_func=no"
9492 rm -f conftest*
9495 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9496 echo "$ac_t""yes" 1>&6
9497 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9498 cat >> confdefs.h <<EOF
9499 #define $ac_tr_func 1
9502 else
9503 echo "$ac_t""no" 1>&6
9505 done
9510 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
9511 echo "configure:9512: checking for fmodl declaration" >&5
9512 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
9513 echo $ac_n "(cached) $ac_c" 1>&6
9514 else
9517 ac_ext=C
9518 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9519 ac_cpp='$CXXCPP $CPPFLAGS'
9520 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9521 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9522 cross_compiling=$ac_cv_prog_cxx_cross
9524 cat > conftest.$ac_ext <<EOF
9525 #line 9526 "configure"
9526 #include "confdefs.h"
9527 #include <math.h>
9528 int main() {
9529 fmodl(0, 0);
9530 ; return 0; }
9532 if { (eval echo configure:9533: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9533 rm -rf conftest*
9534 glibcpp_cv_func_fmodl_use=yes
9535 else
9536 echo "configure: failed program was:" >&5
9537 cat conftest.$ac_ext >&5
9538 rm -rf conftest*
9539 glibcpp_cv_func_fmodl_use=no
9541 rm -f conftest*
9542 ac_ext=c
9543 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9544 ac_cpp='$CPP $CPPFLAGS'
9545 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9546 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9547 cross_compiling=$ac_cv_prog_cc_cross
9552 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
9553 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
9554 for ac_func in fmodl
9556 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9557 echo "configure:9558: checking for $ac_func" >&5
9558 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9559 echo $ac_n "(cached) $ac_c" 1>&6
9560 else
9561 cat > conftest.$ac_ext <<EOF
9562 #line 9563 "configure"
9563 #include "confdefs.h"
9564 /* System header to define __stub macros and hopefully few prototypes,
9565 which can conflict with char $ac_func(); below. */
9566 #include <assert.h>
9567 /* Override any gcc2 internal prototype to avoid an error. */
9568 /* We use char because int might match the return type of a gcc2
9569 builtin and then its argument prototype would still apply. */
9570 char $ac_func();
9572 int main() {
9574 /* The GNU C library defines this for functions which it implements
9575 to always fail with ENOSYS. Some functions are actually named
9576 something starting with __ and the normal name is an alias. */
9577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9578 choke me
9579 #else
9580 $ac_func();
9581 #endif
9583 ; return 0; }
9585 if { (eval echo configure:9586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9586 rm -rf conftest*
9587 eval "ac_cv_func_$ac_func=yes"
9588 else
9589 echo "configure: failed program was:" >&5
9590 cat conftest.$ac_ext >&5
9591 rm -rf conftest*
9592 eval "ac_cv_func_$ac_func=no"
9594 rm -f conftest*
9597 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9598 echo "$ac_t""yes" 1>&6
9599 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9600 cat >> confdefs.h <<EOF
9601 #define $ac_tr_func 1
9604 else
9605 echo "$ac_t""no" 1>&6
9607 done
9612 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
9613 echo "configure:9614: checking for frexpl declaration" >&5
9614 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
9615 echo $ac_n "(cached) $ac_c" 1>&6
9616 else
9619 ac_ext=C
9620 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9621 ac_cpp='$CXXCPP $CPPFLAGS'
9622 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9623 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9624 cross_compiling=$ac_cv_prog_cxx_cross
9626 cat > conftest.$ac_ext <<EOF
9627 #line 9628 "configure"
9628 #include "confdefs.h"
9629 #include <math.h>
9630 int main() {
9631 frexpl(0, 0);
9632 ; return 0; }
9634 if { (eval echo configure:9635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9635 rm -rf conftest*
9636 glibcpp_cv_func_frexpl_use=yes
9637 else
9638 echo "configure: failed program was:" >&5
9639 cat conftest.$ac_ext >&5
9640 rm -rf conftest*
9641 glibcpp_cv_func_frexpl_use=no
9643 rm -f conftest*
9644 ac_ext=c
9645 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9646 ac_cpp='$CPP $CPPFLAGS'
9647 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9648 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9649 cross_compiling=$ac_cv_prog_cc_cross
9654 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
9655 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
9656 for ac_func in frexpl
9658 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9659 echo "configure:9660: checking for $ac_func" >&5
9660 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9661 echo $ac_n "(cached) $ac_c" 1>&6
9662 else
9663 cat > conftest.$ac_ext <<EOF
9664 #line 9665 "configure"
9665 #include "confdefs.h"
9666 /* System header to define __stub macros and hopefully few prototypes,
9667 which can conflict with char $ac_func(); below. */
9668 #include <assert.h>
9669 /* Override any gcc2 internal prototype to avoid an error. */
9670 /* We use char because int might match the return type of a gcc2
9671 builtin and then its argument prototype would still apply. */
9672 char $ac_func();
9674 int main() {
9676 /* The GNU C library defines this for functions which it implements
9677 to always fail with ENOSYS. Some functions are actually named
9678 something starting with __ and the normal name is an alias. */
9679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9680 choke me
9681 #else
9682 $ac_func();
9683 #endif
9685 ; return 0; }
9687 if { (eval echo configure:9688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9688 rm -rf conftest*
9689 eval "ac_cv_func_$ac_func=yes"
9690 else
9691 echo "configure: failed program was:" >&5
9692 cat conftest.$ac_ext >&5
9693 rm -rf conftest*
9694 eval "ac_cv_func_$ac_func=no"
9696 rm -f conftest*
9699 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9700 echo "$ac_t""yes" 1>&6
9701 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9702 cat >> confdefs.h <<EOF
9703 #define $ac_tr_func 1
9706 else
9707 echo "$ac_t""no" 1>&6
9709 done
9714 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
9715 echo "configure:9716: checking for ldexpl declaration" >&5
9716 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
9717 echo $ac_n "(cached) $ac_c" 1>&6
9718 else
9721 ac_ext=C
9722 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9723 ac_cpp='$CXXCPP $CPPFLAGS'
9724 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9725 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9726 cross_compiling=$ac_cv_prog_cxx_cross
9728 cat > conftest.$ac_ext <<EOF
9729 #line 9730 "configure"
9730 #include "confdefs.h"
9731 #include <math.h>
9732 int main() {
9733 ldexpl(0, 0);
9734 ; return 0; }
9736 if { (eval echo configure:9737: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9737 rm -rf conftest*
9738 glibcpp_cv_func_ldexpl_use=yes
9739 else
9740 echo "configure: failed program was:" >&5
9741 cat conftest.$ac_ext >&5
9742 rm -rf conftest*
9743 glibcpp_cv_func_ldexpl_use=no
9745 rm -f conftest*
9746 ac_ext=c
9747 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9748 ac_cpp='$CPP $CPPFLAGS'
9749 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9750 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9751 cross_compiling=$ac_cv_prog_cc_cross
9756 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
9757 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
9758 for ac_func in ldexpl
9760 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9761 echo "configure:9762: checking for $ac_func" >&5
9762 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9763 echo $ac_n "(cached) $ac_c" 1>&6
9764 else
9765 cat > conftest.$ac_ext <<EOF
9766 #line 9767 "configure"
9767 #include "confdefs.h"
9768 /* System header to define __stub macros and hopefully few prototypes,
9769 which can conflict with char $ac_func(); below. */
9770 #include <assert.h>
9771 /* Override any gcc2 internal prototype to avoid an error. */
9772 /* We use char because int might match the return type of a gcc2
9773 builtin and then its argument prototype would still apply. */
9774 char $ac_func();
9776 int main() {
9778 /* The GNU C library defines this for functions which it implements
9779 to always fail with ENOSYS. Some functions are actually named
9780 something starting with __ and the normal name is an alias. */
9781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9782 choke me
9783 #else
9784 $ac_func();
9785 #endif
9787 ; return 0; }
9789 if { (eval echo configure:9790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9790 rm -rf conftest*
9791 eval "ac_cv_func_$ac_func=yes"
9792 else
9793 echo "configure: failed program was:" >&5
9794 cat conftest.$ac_ext >&5
9795 rm -rf conftest*
9796 eval "ac_cv_func_$ac_func=no"
9798 rm -f conftest*
9801 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9802 echo "$ac_t""yes" 1>&6
9803 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9804 cat >> confdefs.h <<EOF
9805 #define $ac_tr_func 1
9808 else
9809 echo "$ac_t""no" 1>&6
9811 done
9816 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
9817 echo "configure:9818: checking for logl declaration" >&5
9818 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
9819 echo $ac_n "(cached) $ac_c" 1>&6
9820 else
9823 ac_ext=C
9824 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9825 ac_cpp='$CXXCPP $CPPFLAGS'
9826 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9827 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9828 cross_compiling=$ac_cv_prog_cxx_cross
9830 cat > conftest.$ac_ext <<EOF
9831 #line 9832 "configure"
9832 #include "confdefs.h"
9833 #include <math.h>
9834 int main() {
9835 logl(0);
9836 ; return 0; }
9838 if { (eval echo configure:9839: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9839 rm -rf conftest*
9840 glibcpp_cv_func_logl_use=yes
9841 else
9842 echo "configure: failed program was:" >&5
9843 cat conftest.$ac_ext >&5
9844 rm -rf conftest*
9845 glibcpp_cv_func_logl_use=no
9847 rm -f conftest*
9848 ac_ext=c
9849 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9850 ac_cpp='$CPP $CPPFLAGS'
9851 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9852 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9853 cross_compiling=$ac_cv_prog_cc_cross
9858 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
9859 if test x$glibcpp_cv_func_logl_use = x"yes"; then
9860 for ac_func in logl
9862 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9863 echo "configure:9864: checking for $ac_func" >&5
9864 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9865 echo $ac_n "(cached) $ac_c" 1>&6
9866 else
9867 cat > conftest.$ac_ext <<EOF
9868 #line 9869 "configure"
9869 #include "confdefs.h"
9870 /* System header to define __stub macros and hopefully few prototypes,
9871 which can conflict with char $ac_func(); below. */
9872 #include <assert.h>
9873 /* Override any gcc2 internal prototype to avoid an error. */
9874 /* We use char because int might match the return type of a gcc2
9875 builtin and then its argument prototype would still apply. */
9876 char $ac_func();
9878 int main() {
9880 /* The GNU C library defines this for functions which it implements
9881 to always fail with ENOSYS. Some functions are actually named
9882 something starting with __ and the normal name is an alias. */
9883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9884 choke me
9885 #else
9886 $ac_func();
9887 #endif
9889 ; return 0; }
9891 if { (eval echo configure:9892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9892 rm -rf conftest*
9893 eval "ac_cv_func_$ac_func=yes"
9894 else
9895 echo "configure: failed program was:" >&5
9896 cat conftest.$ac_ext >&5
9897 rm -rf conftest*
9898 eval "ac_cv_func_$ac_func=no"
9900 rm -f conftest*
9903 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9904 echo "$ac_t""yes" 1>&6
9905 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9906 cat >> confdefs.h <<EOF
9907 #define $ac_tr_func 1
9910 else
9911 echo "$ac_t""no" 1>&6
9913 done
9918 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
9919 echo "configure:9920: checking for log10l declaration" >&5
9920 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
9921 echo $ac_n "(cached) $ac_c" 1>&6
9922 else
9925 ac_ext=C
9926 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9927 ac_cpp='$CXXCPP $CPPFLAGS'
9928 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9929 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9930 cross_compiling=$ac_cv_prog_cxx_cross
9932 cat > conftest.$ac_ext <<EOF
9933 #line 9934 "configure"
9934 #include "confdefs.h"
9935 #include <math.h>
9936 int main() {
9937 log10l(0);
9938 ; return 0; }
9940 if { (eval echo configure:9941: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9941 rm -rf conftest*
9942 glibcpp_cv_func_log10l_use=yes
9943 else
9944 echo "configure: failed program was:" >&5
9945 cat conftest.$ac_ext >&5
9946 rm -rf conftest*
9947 glibcpp_cv_func_log10l_use=no
9949 rm -f conftest*
9950 ac_ext=c
9951 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9952 ac_cpp='$CPP $CPPFLAGS'
9953 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9954 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9955 cross_compiling=$ac_cv_prog_cc_cross
9960 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
9961 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
9962 for ac_func in log10l
9964 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9965 echo "configure:9966: checking for $ac_func" >&5
9966 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9967 echo $ac_n "(cached) $ac_c" 1>&6
9968 else
9969 cat > conftest.$ac_ext <<EOF
9970 #line 9971 "configure"
9971 #include "confdefs.h"
9972 /* System header to define __stub macros and hopefully few prototypes,
9973 which can conflict with char $ac_func(); below. */
9974 #include <assert.h>
9975 /* Override any gcc2 internal prototype to avoid an error. */
9976 /* We use char because int might match the return type of a gcc2
9977 builtin and then its argument prototype would still apply. */
9978 char $ac_func();
9980 int main() {
9982 /* The GNU C library defines this for functions which it implements
9983 to always fail with ENOSYS. Some functions are actually named
9984 something starting with __ and the normal name is an alias. */
9985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9986 choke me
9987 #else
9988 $ac_func();
9989 #endif
9991 ; return 0; }
9993 if { (eval echo configure:9994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9994 rm -rf conftest*
9995 eval "ac_cv_func_$ac_func=yes"
9996 else
9997 echo "configure: failed program was:" >&5
9998 cat conftest.$ac_ext >&5
9999 rm -rf conftest*
10000 eval "ac_cv_func_$ac_func=no"
10002 rm -f conftest*
10005 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10006 echo "$ac_t""yes" 1>&6
10007 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10008 cat >> confdefs.h <<EOF
10009 #define $ac_tr_func 1
10012 else
10013 echo "$ac_t""no" 1>&6
10015 done
10020 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
10021 echo "configure:10022: checking for modfl declaration" >&5
10022 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
10023 echo $ac_n "(cached) $ac_c" 1>&6
10024 else
10027 ac_ext=C
10028 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10029 ac_cpp='$CXXCPP $CPPFLAGS'
10030 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10031 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10032 cross_compiling=$ac_cv_prog_cxx_cross
10034 cat > conftest.$ac_ext <<EOF
10035 #line 10036 "configure"
10036 #include "confdefs.h"
10037 #include <math.h>
10038 int main() {
10039 modfl(0, 0);
10040 ; return 0; }
10042 if { (eval echo configure:10043: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10043 rm -rf conftest*
10044 glibcpp_cv_func_modfl_use=yes
10045 else
10046 echo "configure: failed program was:" >&5
10047 cat conftest.$ac_ext >&5
10048 rm -rf conftest*
10049 glibcpp_cv_func_modfl_use=no
10051 rm -f conftest*
10052 ac_ext=c
10053 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10054 ac_cpp='$CPP $CPPFLAGS'
10055 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10056 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10057 cross_compiling=$ac_cv_prog_cc_cross
10062 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
10063 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
10064 for ac_func in modfl
10066 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10067 echo "configure:10068: checking for $ac_func" >&5
10068 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10069 echo $ac_n "(cached) $ac_c" 1>&6
10070 else
10071 cat > conftest.$ac_ext <<EOF
10072 #line 10073 "configure"
10073 #include "confdefs.h"
10074 /* System header to define __stub macros and hopefully few prototypes,
10075 which can conflict with char $ac_func(); below. */
10076 #include <assert.h>
10077 /* Override any gcc2 internal prototype to avoid an error. */
10078 /* We use char because int might match the return type of a gcc2
10079 builtin and then its argument prototype would still apply. */
10080 char $ac_func();
10082 int main() {
10084 /* The GNU C library defines this for functions which it implements
10085 to always fail with ENOSYS. Some functions are actually named
10086 something starting with __ and the normal name is an alias. */
10087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10088 choke me
10089 #else
10090 $ac_func();
10091 #endif
10093 ; return 0; }
10095 if { (eval echo configure:10096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10096 rm -rf conftest*
10097 eval "ac_cv_func_$ac_func=yes"
10098 else
10099 echo "configure: failed program was:" >&5
10100 cat conftest.$ac_ext >&5
10101 rm -rf conftest*
10102 eval "ac_cv_func_$ac_func=no"
10104 rm -f conftest*
10107 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10108 echo "$ac_t""yes" 1>&6
10109 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10110 cat >> confdefs.h <<EOF
10111 #define $ac_tr_func 1
10114 else
10115 echo "$ac_t""no" 1>&6
10117 done
10122 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
10123 echo "configure:10124: checking for powl declaration" >&5
10124 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
10125 echo $ac_n "(cached) $ac_c" 1>&6
10126 else
10129 ac_ext=C
10130 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10131 ac_cpp='$CXXCPP $CPPFLAGS'
10132 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10133 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10134 cross_compiling=$ac_cv_prog_cxx_cross
10136 cat > conftest.$ac_ext <<EOF
10137 #line 10138 "configure"
10138 #include "confdefs.h"
10139 #include <math.h>
10140 int main() {
10141 powl(0, 0);
10142 ; return 0; }
10144 if { (eval echo configure:10145: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10145 rm -rf conftest*
10146 glibcpp_cv_func_powl_use=yes
10147 else
10148 echo "configure: failed program was:" >&5
10149 cat conftest.$ac_ext >&5
10150 rm -rf conftest*
10151 glibcpp_cv_func_powl_use=no
10153 rm -f conftest*
10154 ac_ext=c
10155 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10156 ac_cpp='$CPP $CPPFLAGS'
10157 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10158 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10159 cross_compiling=$ac_cv_prog_cc_cross
10164 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
10165 if test x$glibcpp_cv_func_powl_use = x"yes"; then
10166 for ac_func in powl
10168 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10169 echo "configure:10170: checking for $ac_func" >&5
10170 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10171 echo $ac_n "(cached) $ac_c" 1>&6
10172 else
10173 cat > conftest.$ac_ext <<EOF
10174 #line 10175 "configure"
10175 #include "confdefs.h"
10176 /* System header to define __stub macros and hopefully few prototypes,
10177 which can conflict with char $ac_func(); below. */
10178 #include <assert.h>
10179 /* Override any gcc2 internal prototype to avoid an error. */
10180 /* We use char because int might match the return type of a gcc2
10181 builtin and then its argument prototype would still apply. */
10182 char $ac_func();
10184 int main() {
10186 /* The GNU C library defines this for functions which it implements
10187 to always fail with ENOSYS. Some functions are actually named
10188 something starting with __ and the normal name is an alias. */
10189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10190 choke me
10191 #else
10192 $ac_func();
10193 #endif
10195 ; return 0; }
10197 if { (eval echo configure:10198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10198 rm -rf conftest*
10199 eval "ac_cv_func_$ac_func=yes"
10200 else
10201 echo "configure: failed program was:" >&5
10202 cat conftest.$ac_ext >&5
10203 rm -rf conftest*
10204 eval "ac_cv_func_$ac_func=no"
10206 rm -f conftest*
10209 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10210 echo "$ac_t""yes" 1>&6
10211 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10212 cat >> confdefs.h <<EOF
10213 #define $ac_tr_func 1
10216 else
10217 echo "$ac_t""no" 1>&6
10219 done
10224 echo $ac_n "checking for sinl declaration""... $ac_c" 1>&6
10225 echo "configure:10226: checking for sinl declaration" >&5
10226 if eval "test \"`echo '$''{'glibcpp_cv_func_sinl_use'+set}'`\" = set"; then
10227 echo $ac_n "(cached) $ac_c" 1>&6
10228 else
10231 ac_ext=C
10232 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10233 ac_cpp='$CXXCPP $CPPFLAGS'
10234 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10235 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10236 cross_compiling=$ac_cv_prog_cxx_cross
10238 cat > conftest.$ac_ext <<EOF
10239 #line 10240 "configure"
10240 #include "confdefs.h"
10241 #include <math.h>
10242 int main() {
10243 sinl(0);
10244 ; return 0; }
10246 if { (eval echo configure:10247: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10247 rm -rf conftest*
10248 glibcpp_cv_func_sinl_use=yes
10249 else
10250 echo "configure: failed program was:" >&5
10251 cat conftest.$ac_ext >&5
10252 rm -rf conftest*
10253 glibcpp_cv_func_sinl_use=no
10255 rm -f conftest*
10256 ac_ext=c
10257 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10258 ac_cpp='$CPP $CPPFLAGS'
10259 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10260 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10261 cross_compiling=$ac_cv_prog_cc_cross
10266 echo "$ac_t""$glibcpp_cv_func_sinl_use" 1>&6
10267 if test x$glibcpp_cv_func_sinl_use = x"yes"; then
10268 for ac_func in sinl
10270 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10271 echo "configure:10272: checking for $ac_func" >&5
10272 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10273 echo $ac_n "(cached) $ac_c" 1>&6
10274 else
10275 cat > conftest.$ac_ext <<EOF
10276 #line 10277 "configure"
10277 #include "confdefs.h"
10278 /* System header to define __stub macros and hopefully few prototypes,
10279 which can conflict with char $ac_func(); below. */
10280 #include <assert.h>
10281 /* Override any gcc2 internal prototype to avoid an error. */
10282 /* We use char because int might match the return type of a gcc2
10283 builtin and then its argument prototype would still apply. */
10284 char $ac_func();
10286 int main() {
10288 /* The GNU C library defines this for functions which it implements
10289 to always fail with ENOSYS. Some functions are actually named
10290 something starting with __ and the normal name is an alias. */
10291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10292 choke me
10293 #else
10294 $ac_func();
10295 #endif
10297 ; return 0; }
10299 if { (eval echo configure:10300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10300 rm -rf conftest*
10301 eval "ac_cv_func_$ac_func=yes"
10302 else
10303 echo "configure: failed program was:" >&5
10304 cat conftest.$ac_ext >&5
10305 rm -rf conftest*
10306 eval "ac_cv_func_$ac_func=no"
10308 rm -f conftest*
10311 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10312 echo "$ac_t""yes" 1>&6
10313 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10314 cat >> confdefs.h <<EOF
10315 #define $ac_tr_func 1
10318 else
10319 echo "$ac_t""no" 1>&6
10321 done
10326 echo $ac_n "checking for sinhl declaration""... $ac_c" 1>&6
10327 echo "configure:10328: checking for sinhl declaration" >&5
10328 if eval "test \"`echo '$''{'glibcpp_cv_func_sinhl_use'+set}'`\" = set"; then
10329 echo $ac_n "(cached) $ac_c" 1>&6
10330 else
10333 ac_ext=C
10334 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10335 ac_cpp='$CXXCPP $CPPFLAGS'
10336 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10337 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10338 cross_compiling=$ac_cv_prog_cxx_cross
10340 cat > conftest.$ac_ext <<EOF
10341 #line 10342 "configure"
10342 #include "confdefs.h"
10343 #include <math.h>
10344 int main() {
10345 sinhl(0);
10346 ; return 0; }
10348 if { (eval echo configure:10349: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10349 rm -rf conftest*
10350 glibcpp_cv_func_sinhl_use=yes
10351 else
10352 echo "configure: failed program was:" >&5
10353 cat conftest.$ac_ext >&5
10354 rm -rf conftest*
10355 glibcpp_cv_func_sinhl_use=no
10357 rm -f conftest*
10358 ac_ext=c
10359 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10360 ac_cpp='$CPP $CPPFLAGS'
10361 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10362 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10363 cross_compiling=$ac_cv_prog_cc_cross
10368 echo "$ac_t""$glibcpp_cv_func_sinhl_use" 1>&6
10369 if test x$glibcpp_cv_func_sinhl_use = x"yes"; then
10370 for ac_func in sinhl
10372 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10373 echo "configure:10374: checking for $ac_func" >&5
10374 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10375 echo $ac_n "(cached) $ac_c" 1>&6
10376 else
10377 cat > conftest.$ac_ext <<EOF
10378 #line 10379 "configure"
10379 #include "confdefs.h"
10380 /* System header to define __stub macros and hopefully few prototypes,
10381 which can conflict with char $ac_func(); below. */
10382 #include <assert.h>
10383 /* Override any gcc2 internal prototype to avoid an error. */
10384 /* We use char because int might match the return type of a gcc2
10385 builtin and then its argument prototype would still apply. */
10386 char $ac_func();
10388 int main() {
10390 /* The GNU C library defines this for functions which it implements
10391 to always fail with ENOSYS. Some functions are actually named
10392 something starting with __ and the normal name is an alias. */
10393 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10394 choke me
10395 #else
10396 $ac_func();
10397 #endif
10399 ; return 0; }
10401 if { (eval echo configure:10402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10402 rm -rf conftest*
10403 eval "ac_cv_func_$ac_func=yes"
10404 else
10405 echo "configure: failed program was:" >&5
10406 cat conftest.$ac_ext >&5
10407 rm -rf conftest*
10408 eval "ac_cv_func_$ac_func=no"
10410 rm -f conftest*
10413 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10414 echo "$ac_t""yes" 1>&6
10415 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10416 cat >> confdefs.h <<EOF
10417 #define $ac_tr_func 1
10420 else
10421 echo "$ac_t""no" 1>&6
10423 done
10428 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
10429 echo "configure:10430: checking for sqrtl declaration" >&5
10430 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
10431 echo $ac_n "(cached) $ac_c" 1>&6
10432 else
10435 ac_ext=C
10436 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10437 ac_cpp='$CXXCPP $CPPFLAGS'
10438 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10439 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10440 cross_compiling=$ac_cv_prog_cxx_cross
10442 cat > conftest.$ac_ext <<EOF
10443 #line 10444 "configure"
10444 #include "confdefs.h"
10445 #include <math.h>
10446 int main() {
10447 sqrtl(0);
10448 ; return 0; }
10450 if { (eval echo configure:10451: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10451 rm -rf conftest*
10452 glibcpp_cv_func_sqrtl_use=yes
10453 else
10454 echo "configure: failed program was:" >&5
10455 cat conftest.$ac_ext >&5
10456 rm -rf conftest*
10457 glibcpp_cv_func_sqrtl_use=no
10459 rm -f conftest*
10460 ac_ext=c
10461 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10462 ac_cpp='$CPP $CPPFLAGS'
10463 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10464 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10465 cross_compiling=$ac_cv_prog_cc_cross
10470 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
10471 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
10472 for ac_func in sqrtl
10474 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10475 echo "configure:10476: checking for $ac_func" >&5
10476 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10477 echo $ac_n "(cached) $ac_c" 1>&6
10478 else
10479 cat > conftest.$ac_ext <<EOF
10480 #line 10481 "configure"
10481 #include "confdefs.h"
10482 /* System header to define __stub macros and hopefully few prototypes,
10483 which can conflict with char $ac_func(); below. */
10484 #include <assert.h>
10485 /* Override any gcc2 internal prototype to avoid an error. */
10486 /* We use char because int might match the return type of a gcc2
10487 builtin and then its argument prototype would still apply. */
10488 char $ac_func();
10490 int main() {
10492 /* The GNU C library defines this for functions which it implements
10493 to always fail with ENOSYS. Some functions are actually named
10494 something starting with __ and the normal name is an alias. */
10495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10496 choke me
10497 #else
10498 $ac_func();
10499 #endif
10501 ; return 0; }
10503 if { (eval echo configure:10504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10504 rm -rf conftest*
10505 eval "ac_cv_func_$ac_func=yes"
10506 else
10507 echo "configure: failed program was:" >&5
10508 cat conftest.$ac_ext >&5
10509 rm -rf conftest*
10510 eval "ac_cv_func_$ac_func=no"
10512 rm -f conftest*
10515 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10516 echo "$ac_t""yes" 1>&6
10517 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10518 cat >> confdefs.h <<EOF
10519 #define $ac_tr_func 1
10522 else
10523 echo "$ac_t""no" 1>&6
10525 done
10530 echo $ac_n "checking for tanl declaration""... $ac_c" 1>&6
10531 echo "configure:10532: checking for tanl declaration" >&5
10532 if eval "test \"`echo '$''{'glibcpp_cv_func_tanl_use'+set}'`\" = set"; then
10533 echo $ac_n "(cached) $ac_c" 1>&6
10534 else
10537 ac_ext=C
10538 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10539 ac_cpp='$CXXCPP $CPPFLAGS'
10540 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10541 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10542 cross_compiling=$ac_cv_prog_cxx_cross
10544 cat > conftest.$ac_ext <<EOF
10545 #line 10546 "configure"
10546 #include "confdefs.h"
10547 #include <math.h>
10548 int main() {
10549 tanl(0);
10550 ; return 0; }
10552 if { (eval echo configure:10553: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10553 rm -rf conftest*
10554 glibcpp_cv_func_tanl_use=yes
10555 else
10556 echo "configure: failed program was:" >&5
10557 cat conftest.$ac_ext >&5
10558 rm -rf conftest*
10559 glibcpp_cv_func_tanl_use=no
10561 rm -f conftest*
10562 ac_ext=c
10563 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10564 ac_cpp='$CPP $CPPFLAGS'
10565 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10566 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10567 cross_compiling=$ac_cv_prog_cc_cross
10572 echo "$ac_t""$glibcpp_cv_func_tanl_use" 1>&6
10573 if test x$glibcpp_cv_func_tanl_use = x"yes"; then
10574 for ac_func in tanl
10576 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10577 echo "configure:10578: checking for $ac_func" >&5
10578 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10579 echo $ac_n "(cached) $ac_c" 1>&6
10580 else
10581 cat > conftest.$ac_ext <<EOF
10582 #line 10583 "configure"
10583 #include "confdefs.h"
10584 /* System header to define __stub macros and hopefully few prototypes,
10585 which can conflict with char $ac_func(); below. */
10586 #include <assert.h>
10587 /* Override any gcc2 internal prototype to avoid an error. */
10588 /* We use char because int might match the return type of a gcc2
10589 builtin and then its argument prototype would still apply. */
10590 char $ac_func();
10592 int main() {
10594 /* The GNU C library defines this for functions which it implements
10595 to always fail with ENOSYS. Some functions are actually named
10596 something starting with __ and the normal name is an alias. */
10597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10598 choke me
10599 #else
10600 $ac_func();
10601 #endif
10603 ; return 0; }
10605 if { (eval echo configure:10606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10606 rm -rf conftest*
10607 eval "ac_cv_func_$ac_func=yes"
10608 else
10609 echo "configure: failed program was:" >&5
10610 cat conftest.$ac_ext >&5
10611 rm -rf conftest*
10612 eval "ac_cv_func_$ac_func=no"
10614 rm -f conftest*
10617 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10618 echo "$ac_t""yes" 1>&6
10619 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10620 cat >> confdefs.h <<EOF
10621 #define $ac_tr_func 1
10624 else
10625 echo "$ac_t""no" 1>&6
10627 done
10632 echo $ac_n "checking for tanhl declaration""... $ac_c" 1>&6
10633 echo "configure:10634: checking for tanhl declaration" >&5
10634 if eval "test \"`echo '$''{'glibcpp_cv_func_tanhl_use'+set}'`\" = set"; then
10635 echo $ac_n "(cached) $ac_c" 1>&6
10636 else
10639 ac_ext=C
10640 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10641 ac_cpp='$CXXCPP $CPPFLAGS'
10642 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10643 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10644 cross_compiling=$ac_cv_prog_cxx_cross
10646 cat > conftest.$ac_ext <<EOF
10647 #line 10648 "configure"
10648 #include "confdefs.h"
10649 #include <math.h>
10650 int main() {
10651 tanhl(0);
10652 ; return 0; }
10654 if { (eval echo configure:10655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10655 rm -rf conftest*
10656 glibcpp_cv_func_tanhl_use=yes
10657 else
10658 echo "configure: failed program was:" >&5
10659 cat conftest.$ac_ext >&5
10660 rm -rf conftest*
10661 glibcpp_cv_func_tanhl_use=no
10663 rm -f conftest*
10664 ac_ext=c
10665 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10666 ac_cpp='$CPP $CPPFLAGS'
10667 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10668 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10669 cross_compiling=$ac_cv_prog_cc_cross
10674 echo "$ac_t""$glibcpp_cv_func_tanhl_use" 1>&6
10675 if test x$glibcpp_cv_func_tanhl_use = x"yes"; then
10676 for ac_func in tanhl
10678 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10679 echo "configure:10680: checking for $ac_func" >&5
10680 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10681 echo $ac_n "(cached) $ac_c" 1>&6
10682 else
10683 cat > conftest.$ac_ext <<EOF
10684 #line 10685 "configure"
10685 #include "confdefs.h"
10686 /* System header to define __stub macros and hopefully few prototypes,
10687 which can conflict with char $ac_func(); below. */
10688 #include <assert.h>
10689 /* Override any gcc2 internal prototype to avoid an error. */
10690 /* We use char because int might match the return type of a gcc2
10691 builtin and then its argument prototype would still apply. */
10692 char $ac_func();
10694 int main() {
10696 /* The GNU C library defines this for functions which it implements
10697 to always fail with ENOSYS. Some functions are actually named
10698 something starting with __ and the normal name is an alias. */
10699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10700 choke me
10701 #else
10702 $ac_func();
10703 #endif
10705 ; return 0; }
10707 if { (eval echo configure:10708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10708 rm -rf conftest*
10709 eval "ac_cv_func_$ac_func=yes"
10710 else
10711 echo "configure: failed program was:" >&5
10712 cat conftest.$ac_ext >&5
10713 rm -rf conftest*
10714 eval "ac_cv_func_$ac_func=no"
10716 rm -f conftest*
10719 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10720 echo "$ac_t""yes" 1>&6
10721 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10722 cat >> confdefs.h <<EOF
10723 #define $ac_tr_func 1
10726 else
10727 echo "$ac_t""no" 1>&6
10729 done
10734 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
10735 echo "configure:10736: checking for sincosl declaration" >&5
10736 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
10737 echo $ac_n "(cached) $ac_c" 1>&6
10738 else
10741 ac_ext=C
10742 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10743 ac_cpp='$CXXCPP $CPPFLAGS'
10744 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10745 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10746 cross_compiling=$ac_cv_prog_cxx_cross
10748 cat > conftest.$ac_ext <<EOF
10749 #line 10750 "configure"
10750 #include "confdefs.h"
10751 #include <math.h>
10752 int main() {
10753 sincosl(0, 0, 0);
10754 ; return 0; }
10756 if { (eval echo configure:10757: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10757 rm -rf conftest*
10758 glibcpp_cv_func_sincosl_use=yes
10759 else
10760 echo "configure: failed program was:" >&5
10761 cat conftest.$ac_ext >&5
10762 rm -rf conftest*
10763 glibcpp_cv_func_sincosl_use=no
10765 rm -f conftest*
10766 ac_ext=c
10767 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10768 ac_cpp='$CPP $CPPFLAGS'
10769 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10770 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10771 cross_compiling=$ac_cv_prog_cc_cross
10776 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
10777 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
10778 for ac_func in sincosl
10780 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10781 echo "configure:10782: checking for $ac_func" >&5
10782 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10783 echo $ac_n "(cached) $ac_c" 1>&6
10784 else
10785 cat > conftest.$ac_ext <<EOF
10786 #line 10787 "configure"
10787 #include "confdefs.h"
10788 /* System header to define __stub macros and hopefully few prototypes,
10789 which can conflict with char $ac_func(); below. */
10790 #include <assert.h>
10791 /* Override any gcc2 internal prototype to avoid an error. */
10792 /* We use char because int might match the return type of a gcc2
10793 builtin and then its argument prototype would still apply. */
10794 char $ac_func();
10796 int main() {
10798 /* The GNU C library defines this for functions which it implements
10799 to always fail with ENOSYS. Some functions are actually named
10800 something starting with __ and the normal name is an alias. */
10801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10802 choke me
10803 #else
10804 $ac_func();
10805 #endif
10807 ; return 0; }
10809 if { (eval echo configure:10810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10810 rm -rf conftest*
10811 eval "ac_cv_func_$ac_func=yes"
10812 else
10813 echo "configure: failed program was:" >&5
10814 cat conftest.$ac_ext >&5
10815 rm -rf conftest*
10816 eval "ac_cv_func_$ac_func=no"
10818 rm -f conftest*
10821 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10822 echo "$ac_t""yes" 1>&6
10823 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10824 cat >> confdefs.h <<EOF
10825 #define $ac_tr_func 1
10828 else
10829 echo "$ac_t""no" 1>&6
10831 done
10836 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
10837 echo "configure:10838: checking for finitel declaration" >&5
10838 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
10839 echo $ac_n "(cached) $ac_c" 1>&6
10840 else
10843 ac_ext=C
10844 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10845 ac_cpp='$CXXCPP $CPPFLAGS'
10846 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10847 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10848 cross_compiling=$ac_cv_prog_cxx_cross
10850 cat > conftest.$ac_ext <<EOF
10851 #line 10852 "configure"
10852 #include "confdefs.h"
10853 #include <math.h>
10854 int main() {
10855 finitel(0);
10856 ; return 0; }
10858 if { (eval echo configure:10859: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10859 rm -rf conftest*
10860 glibcpp_cv_func_finitel_use=yes
10861 else
10862 echo "configure: failed program was:" >&5
10863 cat conftest.$ac_ext >&5
10864 rm -rf conftest*
10865 glibcpp_cv_func_finitel_use=no
10867 rm -f conftest*
10868 ac_ext=c
10869 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10870 ac_cpp='$CPP $CPPFLAGS'
10871 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10872 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10873 cross_compiling=$ac_cv_prog_cc_cross
10878 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
10879 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
10880 for ac_func in finitel
10882 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10883 echo "configure:10884: checking for $ac_func" >&5
10884 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10885 echo $ac_n "(cached) $ac_c" 1>&6
10886 else
10887 cat > conftest.$ac_ext <<EOF
10888 #line 10889 "configure"
10889 #include "confdefs.h"
10890 /* System header to define __stub macros and hopefully few prototypes,
10891 which can conflict with char $ac_func(); below. */
10892 #include <assert.h>
10893 /* Override any gcc2 internal prototype to avoid an error. */
10894 /* We use char because int might match the return type of a gcc2
10895 builtin and then its argument prototype would still apply. */
10896 char $ac_func();
10898 int main() {
10900 /* The GNU C library defines this for functions which it implements
10901 to always fail with ENOSYS. Some functions are actually named
10902 something starting with __ and the normal name is an alias. */
10903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10904 choke me
10905 #else
10906 $ac_func();
10907 #endif
10909 ; return 0; }
10911 if { (eval echo configure:10912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10912 rm -rf conftest*
10913 eval "ac_cv_func_$ac_func=yes"
10914 else
10915 echo "configure: failed program was:" >&5
10916 cat conftest.$ac_ext >&5
10917 rm -rf conftest*
10918 eval "ac_cv_func_$ac_func=no"
10920 rm -f conftest*
10923 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10924 echo "$ac_t""yes" 1>&6
10925 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10926 cat >> confdefs.h <<EOF
10927 #define $ac_tr_func 1
10930 else
10931 echo "$ac_t""no" 1>&6
10933 done
10939 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
10940 echo "configure:10941: checking for _isinf declaration" >&5
10941 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
10942 echo $ac_n "(cached) $ac_c" 1>&6
10943 else
10946 ac_ext=C
10947 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10948 ac_cpp='$CXXCPP $CPPFLAGS'
10949 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10950 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10951 cross_compiling=$ac_cv_prog_cxx_cross
10953 cat > conftest.$ac_ext <<EOF
10954 #line 10955 "configure"
10955 #include "confdefs.h"
10956 #include <math.h>
10957 int main() {
10958 _isinf(0);
10959 ; return 0; }
10961 if { (eval echo configure:10962: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10962 rm -rf conftest*
10963 glibcpp_cv_func__isinf_use=yes
10964 else
10965 echo "configure: failed program was:" >&5
10966 cat conftest.$ac_ext >&5
10967 rm -rf conftest*
10968 glibcpp_cv_func__isinf_use=no
10970 rm -f conftest*
10971 ac_ext=c
10972 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10973 ac_cpp='$CPP $CPPFLAGS'
10974 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10975 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10976 cross_compiling=$ac_cv_prog_cc_cross
10981 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
10982 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
10983 for ac_func in _isinf
10985 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10986 echo "configure:10987: checking for $ac_func" >&5
10987 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10988 echo $ac_n "(cached) $ac_c" 1>&6
10989 else
10990 cat > conftest.$ac_ext <<EOF
10991 #line 10992 "configure"
10992 #include "confdefs.h"
10993 /* System header to define __stub macros and hopefully few prototypes,
10994 which can conflict with char $ac_func(); below. */
10995 #include <assert.h>
10996 /* Override any gcc2 internal prototype to avoid an error. */
10997 /* We use char because int might match the return type of a gcc2
10998 builtin and then its argument prototype would still apply. */
10999 char $ac_func();
11001 int main() {
11003 /* The GNU C library defines this for functions which it implements
11004 to always fail with ENOSYS. Some functions are actually named
11005 something starting with __ and the normal name is an alias. */
11006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11007 choke me
11008 #else
11009 $ac_func();
11010 #endif
11012 ; return 0; }
11014 if { (eval echo configure:11015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11015 rm -rf conftest*
11016 eval "ac_cv_func_$ac_func=yes"
11017 else
11018 echo "configure: failed program was:" >&5
11019 cat conftest.$ac_ext >&5
11020 rm -rf conftest*
11021 eval "ac_cv_func_$ac_func=no"
11023 rm -f conftest*
11026 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11027 echo "$ac_t""yes" 1>&6
11028 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11029 cat >> confdefs.h <<EOF
11030 #define $ac_tr_func 1
11033 else
11034 echo "$ac_t""no" 1>&6
11036 done
11041 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
11042 echo "configure:11043: checking for _isnan declaration" >&5
11043 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
11044 echo $ac_n "(cached) $ac_c" 1>&6
11045 else
11048 ac_ext=C
11049 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11050 ac_cpp='$CXXCPP $CPPFLAGS'
11051 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11052 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11053 cross_compiling=$ac_cv_prog_cxx_cross
11055 cat > conftest.$ac_ext <<EOF
11056 #line 11057 "configure"
11057 #include "confdefs.h"
11058 #include <math.h>
11059 int main() {
11060 _isnan(0);
11061 ; return 0; }
11063 if { (eval echo configure:11064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11064 rm -rf conftest*
11065 glibcpp_cv_func__isnan_use=yes
11066 else
11067 echo "configure: failed program was:" >&5
11068 cat conftest.$ac_ext >&5
11069 rm -rf conftest*
11070 glibcpp_cv_func__isnan_use=no
11072 rm -f conftest*
11073 ac_ext=c
11074 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11075 ac_cpp='$CPP $CPPFLAGS'
11076 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11077 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11078 cross_compiling=$ac_cv_prog_cc_cross
11083 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
11084 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
11085 for ac_func in _isnan
11087 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11088 echo "configure:11089: checking for $ac_func" >&5
11089 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11090 echo $ac_n "(cached) $ac_c" 1>&6
11091 else
11092 cat > conftest.$ac_ext <<EOF
11093 #line 11094 "configure"
11094 #include "confdefs.h"
11095 /* System header to define __stub macros and hopefully few prototypes,
11096 which can conflict with char $ac_func(); below. */
11097 #include <assert.h>
11098 /* Override any gcc2 internal prototype to avoid an error. */
11099 /* We use char because int might match the return type of a gcc2
11100 builtin and then its argument prototype would still apply. */
11101 char $ac_func();
11103 int main() {
11105 /* The GNU C library defines this for functions which it implements
11106 to always fail with ENOSYS. Some functions are actually named
11107 something starting with __ and the normal name is an alias. */
11108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11109 choke me
11110 #else
11111 $ac_func();
11112 #endif
11114 ; return 0; }
11116 if { (eval echo configure:11117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11117 rm -rf conftest*
11118 eval "ac_cv_func_$ac_func=yes"
11119 else
11120 echo "configure: failed program was:" >&5
11121 cat conftest.$ac_ext >&5
11122 rm -rf conftest*
11123 eval "ac_cv_func_$ac_func=no"
11125 rm -f conftest*
11128 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11129 echo "$ac_t""yes" 1>&6
11130 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11131 cat >> confdefs.h <<EOF
11132 #define $ac_tr_func 1
11135 else
11136 echo "$ac_t""no" 1>&6
11138 done
11143 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
11144 echo "configure:11145: checking for _finite declaration" >&5
11145 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
11146 echo $ac_n "(cached) $ac_c" 1>&6
11147 else
11150 ac_ext=C
11151 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11152 ac_cpp='$CXXCPP $CPPFLAGS'
11153 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11154 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11155 cross_compiling=$ac_cv_prog_cxx_cross
11157 cat > conftest.$ac_ext <<EOF
11158 #line 11159 "configure"
11159 #include "confdefs.h"
11160 #include <math.h>
11161 int main() {
11162 _finite(0);
11163 ; return 0; }
11165 if { (eval echo configure:11166: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11166 rm -rf conftest*
11167 glibcpp_cv_func__finite_use=yes
11168 else
11169 echo "configure: failed program was:" >&5
11170 cat conftest.$ac_ext >&5
11171 rm -rf conftest*
11172 glibcpp_cv_func__finite_use=no
11174 rm -f conftest*
11175 ac_ext=c
11176 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11177 ac_cpp='$CPP $CPPFLAGS'
11178 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11179 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11180 cross_compiling=$ac_cv_prog_cc_cross
11185 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
11186 if test x$glibcpp_cv_func__finite_use = x"yes"; then
11187 for ac_func in _finite
11189 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11190 echo "configure:11191: checking for $ac_func" >&5
11191 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11192 echo $ac_n "(cached) $ac_c" 1>&6
11193 else
11194 cat > conftest.$ac_ext <<EOF
11195 #line 11196 "configure"
11196 #include "confdefs.h"
11197 /* System header to define __stub macros and hopefully few prototypes,
11198 which can conflict with char $ac_func(); below. */
11199 #include <assert.h>
11200 /* Override any gcc2 internal prototype to avoid an error. */
11201 /* We use char because int might match the return type of a gcc2
11202 builtin and then its argument prototype would still apply. */
11203 char $ac_func();
11205 int main() {
11207 /* The GNU C library defines this for functions which it implements
11208 to always fail with ENOSYS. Some functions are actually named
11209 something starting with __ and the normal name is an alias. */
11210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11211 choke me
11212 #else
11213 $ac_func();
11214 #endif
11216 ; return 0; }
11218 if { (eval echo configure:11219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11219 rm -rf conftest*
11220 eval "ac_cv_func_$ac_func=yes"
11221 else
11222 echo "configure: failed program was:" >&5
11223 cat conftest.$ac_ext >&5
11224 rm -rf conftest*
11225 eval "ac_cv_func_$ac_func=no"
11227 rm -f conftest*
11230 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11231 echo "$ac_t""yes" 1>&6
11232 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11233 cat >> confdefs.h <<EOF
11234 #define $ac_tr_func 1
11237 else
11238 echo "$ac_t""no" 1>&6
11240 done
11245 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
11246 echo "configure:11247: checking for _copysign declaration" >&5
11247 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
11248 echo $ac_n "(cached) $ac_c" 1>&6
11249 else
11252 ac_ext=C
11253 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11254 ac_cpp='$CXXCPP $CPPFLAGS'
11255 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11256 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11257 cross_compiling=$ac_cv_prog_cxx_cross
11259 cat > conftest.$ac_ext <<EOF
11260 #line 11261 "configure"
11261 #include "confdefs.h"
11262 #include <math.h>
11263 int main() {
11264 _copysign(0, 0);
11265 ; return 0; }
11267 if { (eval echo configure:11268: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11268 rm -rf conftest*
11269 glibcpp_cv_func__copysign_use=yes
11270 else
11271 echo "configure: failed program was:" >&5
11272 cat conftest.$ac_ext >&5
11273 rm -rf conftest*
11274 glibcpp_cv_func__copysign_use=no
11276 rm -f conftest*
11277 ac_ext=c
11278 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11279 ac_cpp='$CPP $CPPFLAGS'
11280 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11281 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11282 cross_compiling=$ac_cv_prog_cc_cross
11287 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
11288 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
11289 for ac_func in _copysign
11291 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11292 echo "configure:11293: checking for $ac_func" >&5
11293 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11294 echo $ac_n "(cached) $ac_c" 1>&6
11295 else
11296 cat > conftest.$ac_ext <<EOF
11297 #line 11298 "configure"
11298 #include "confdefs.h"
11299 /* System header to define __stub macros and hopefully few prototypes,
11300 which can conflict with char $ac_func(); below. */
11301 #include <assert.h>
11302 /* Override any gcc2 internal prototype to avoid an error. */
11303 /* We use char because int might match the return type of a gcc2
11304 builtin and then its argument prototype would still apply. */
11305 char $ac_func();
11307 int main() {
11309 /* The GNU C library defines this for functions which it implements
11310 to always fail with ENOSYS. Some functions are actually named
11311 something starting with __ and the normal name is an alias. */
11312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11313 choke me
11314 #else
11315 $ac_func();
11316 #endif
11318 ; return 0; }
11320 if { (eval echo configure:11321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11321 rm -rf conftest*
11322 eval "ac_cv_func_$ac_func=yes"
11323 else
11324 echo "configure: failed program was:" >&5
11325 cat conftest.$ac_ext >&5
11326 rm -rf conftest*
11327 eval "ac_cv_func_$ac_func=no"
11329 rm -f conftest*
11332 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11333 echo "$ac_t""yes" 1>&6
11334 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11335 cat >> confdefs.h <<EOF
11336 #define $ac_tr_func 1
11339 else
11340 echo "$ac_t""no" 1>&6
11342 done
11347 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
11348 echo "configure:11349: checking for _sincos declaration" >&5
11349 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
11350 echo $ac_n "(cached) $ac_c" 1>&6
11351 else
11354 ac_ext=C
11355 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11356 ac_cpp='$CXXCPP $CPPFLAGS'
11357 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11358 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11359 cross_compiling=$ac_cv_prog_cxx_cross
11361 cat > conftest.$ac_ext <<EOF
11362 #line 11363 "configure"
11363 #include "confdefs.h"
11364 #include <math.h>
11365 int main() {
11366 _sincos(0, 0, 0);
11367 ; return 0; }
11369 if { (eval echo configure:11370: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11370 rm -rf conftest*
11371 glibcpp_cv_func__sincos_use=yes
11372 else
11373 echo "configure: failed program was:" >&5
11374 cat conftest.$ac_ext >&5
11375 rm -rf conftest*
11376 glibcpp_cv_func__sincos_use=no
11378 rm -f conftest*
11379 ac_ext=c
11380 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11381 ac_cpp='$CPP $CPPFLAGS'
11382 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11383 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11384 cross_compiling=$ac_cv_prog_cc_cross
11389 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
11390 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
11391 for ac_func in _sincos
11393 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11394 echo "configure:11395: checking for $ac_func" >&5
11395 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11396 echo $ac_n "(cached) $ac_c" 1>&6
11397 else
11398 cat > conftest.$ac_ext <<EOF
11399 #line 11400 "configure"
11400 #include "confdefs.h"
11401 /* System header to define __stub macros and hopefully few prototypes,
11402 which can conflict with char $ac_func(); below. */
11403 #include <assert.h>
11404 /* Override any gcc2 internal prototype to avoid an error. */
11405 /* We use char because int might match the return type of a gcc2
11406 builtin and then its argument prototype would still apply. */
11407 char $ac_func();
11409 int main() {
11411 /* The GNU C library defines this for functions which it implements
11412 to always fail with ENOSYS. Some functions are actually named
11413 something starting with __ and the normal name is an alias. */
11414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11415 choke me
11416 #else
11417 $ac_func();
11418 #endif
11420 ; return 0; }
11422 if { (eval echo configure:11423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11423 rm -rf conftest*
11424 eval "ac_cv_func_$ac_func=yes"
11425 else
11426 echo "configure: failed program was:" >&5
11427 cat conftest.$ac_ext >&5
11428 rm -rf conftest*
11429 eval "ac_cv_func_$ac_func=no"
11431 rm -f conftest*
11434 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11435 echo "$ac_t""yes" 1>&6
11436 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11437 cat >> confdefs.h <<EOF
11438 #define $ac_tr_func 1
11441 else
11442 echo "$ac_t""no" 1>&6
11444 done
11449 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
11450 echo "configure:11451: checking for _fpclass declaration" >&5
11451 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
11452 echo $ac_n "(cached) $ac_c" 1>&6
11453 else
11456 ac_ext=C
11457 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11458 ac_cpp='$CXXCPP $CPPFLAGS'
11459 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11460 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11461 cross_compiling=$ac_cv_prog_cxx_cross
11463 cat > conftest.$ac_ext <<EOF
11464 #line 11465 "configure"
11465 #include "confdefs.h"
11466 #include <math.h>
11467 int main() {
11468 _fpclass(0);
11469 ; return 0; }
11471 if { (eval echo configure:11472: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11472 rm -rf conftest*
11473 glibcpp_cv_func__fpclass_use=yes
11474 else
11475 echo "configure: failed program was:" >&5
11476 cat conftest.$ac_ext >&5
11477 rm -rf conftest*
11478 glibcpp_cv_func__fpclass_use=no
11480 rm -f conftest*
11481 ac_ext=c
11482 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11483 ac_cpp='$CPP $CPPFLAGS'
11484 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11485 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11486 cross_compiling=$ac_cv_prog_cc_cross
11491 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
11492 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
11493 for ac_func in _fpclass
11495 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11496 echo "configure:11497: checking for $ac_func" >&5
11497 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11498 echo $ac_n "(cached) $ac_c" 1>&6
11499 else
11500 cat > conftest.$ac_ext <<EOF
11501 #line 11502 "configure"
11502 #include "confdefs.h"
11503 /* System header to define __stub macros and hopefully few prototypes,
11504 which can conflict with char $ac_func(); below. */
11505 #include <assert.h>
11506 /* Override any gcc2 internal prototype to avoid an error. */
11507 /* We use char because int might match the return type of a gcc2
11508 builtin and then its argument prototype would still apply. */
11509 char $ac_func();
11511 int main() {
11513 /* The GNU C library defines this for functions which it implements
11514 to always fail with ENOSYS. Some functions are actually named
11515 something starting with __ and the normal name is an alias. */
11516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11517 choke me
11518 #else
11519 $ac_func();
11520 #endif
11522 ; return 0; }
11524 if { (eval echo configure:11525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11525 rm -rf conftest*
11526 eval "ac_cv_func_$ac_func=yes"
11527 else
11528 echo "configure: failed program was:" >&5
11529 cat conftest.$ac_ext >&5
11530 rm -rf conftest*
11531 eval "ac_cv_func_$ac_func=no"
11533 rm -f conftest*
11536 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11537 echo "$ac_t""yes" 1>&6
11538 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11539 cat >> confdefs.h <<EOF
11540 #define $ac_tr_func 1
11543 else
11544 echo "$ac_t""no" 1>&6
11546 done
11551 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
11552 echo "configure:11553: checking for _qfpclass declaration" >&5
11553 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
11554 echo $ac_n "(cached) $ac_c" 1>&6
11555 else
11558 ac_ext=C
11559 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11560 ac_cpp='$CXXCPP $CPPFLAGS'
11561 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11562 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11563 cross_compiling=$ac_cv_prog_cxx_cross
11565 cat > conftest.$ac_ext <<EOF
11566 #line 11567 "configure"
11567 #include "confdefs.h"
11568 #include <math.h>
11569 int main() {
11570 _qfpclass(0);
11571 ; return 0; }
11573 if { (eval echo configure:11574: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11574 rm -rf conftest*
11575 glibcpp_cv_func__qfpclass_use=yes
11576 else
11577 echo "configure: failed program was:" >&5
11578 cat conftest.$ac_ext >&5
11579 rm -rf conftest*
11580 glibcpp_cv_func__qfpclass_use=no
11582 rm -f conftest*
11583 ac_ext=c
11584 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11585 ac_cpp='$CPP $CPPFLAGS'
11586 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11587 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11588 cross_compiling=$ac_cv_prog_cc_cross
11593 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
11594 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
11595 for ac_func in _qfpclass
11597 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11598 echo "configure:11599: checking for $ac_func" >&5
11599 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11600 echo $ac_n "(cached) $ac_c" 1>&6
11601 else
11602 cat > conftest.$ac_ext <<EOF
11603 #line 11604 "configure"
11604 #include "confdefs.h"
11605 /* System header to define __stub macros and hopefully few prototypes,
11606 which can conflict with char $ac_func(); below. */
11607 #include <assert.h>
11608 /* Override any gcc2 internal prototype to avoid an error. */
11609 /* We use char because int might match the return type of a gcc2
11610 builtin and then its argument prototype would still apply. */
11611 char $ac_func();
11613 int main() {
11615 /* The GNU C library defines this for functions which it implements
11616 to always fail with ENOSYS. Some functions are actually named
11617 something starting with __ and the normal name is an alias. */
11618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11619 choke me
11620 #else
11621 $ac_func();
11622 #endif
11624 ; return 0; }
11626 if { (eval echo configure:11627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11627 rm -rf conftest*
11628 eval "ac_cv_func_$ac_func=yes"
11629 else
11630 echo "configure: failed program was:" >&5
11631 cat conftest.$ac_ext >&5
11632 rm -rf conftest*
11633 eval "ac_cv_func_$ac_func=no"
11635 rm -f conftest*
11638 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11639 echo "$ac_t""yes" 1>&6
11640 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11641 cat >> confdefs.h <<EOF
11642 #define $ac_tr_func 1
11645 else
11646 echo "$ac_t""no" 1>&6
11648 done
11654 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
11655 echo "configure:11656: checking for _isnanf declaration" >&5
11656 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
11657 echo $ac_n "(cached) $ac_c" 1>&6
11658 else
11661 ac_ext=C
11662 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11663 ac_cpp='$CXXCPP $CPPFLAGS'
11664 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11665 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11666 cross_compiling=$ac_cv_prog_cxx_cross
11668 cat > conftest.$ac_ext <<EOF
11669 #line 11670 "configure"
11670 #include "confdefs.h"
11671 #include <math.h>
11672 int main() {
11673 _isnanf(0);
11674 ; return 0; }
11676 if { (eval echo configure:11677: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11677 rm -rf conftest*
11678 glibcpp_cv_func__isnanf_use=yes
11679 else
11680 echo "configure: failed program was:" >&5
11681 cat conftest.$ac_ext >&5
11682 rm -rf conftest*
11683 glibcpp_cv_func__isnanf_use=no
11685 rm -f conftest*
11686 ac_ext=c
11687 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11688 ac_cpp='$CPP $CPPFLAGS'
11689 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11690 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11691 cross_compiling=$ac_cv_prog_cc_cross
11696 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
11697 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
11698 for ac_func in _isnanf
11700 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11701 echo "configure:11702: checking for $ac_func" >&5
11702 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11703 echo $ac_n "(cached) $ac_c" 1>&6
11704 else
11705 cat > conftest.$ac_ext <<EOF
11706 #line 11707 "configure"
11707 #include "confdefs.h"
11708 /* System header to define __stub macros and hopefully few prototypes,
11709 which can conflict with char $ac_func(); below. */
11710 #include <assert.h>
11711 /* Override any gcc2 internal prototype to avoid an error. */
11712 /* We use char because int might match the return type of a gcc2
11713 builtin and then its argument prototype would still apply. */
11714 char $ac_func();
11716 int main() {
11718 /* The GNU C library defines this for functions which it implements
11719 to always fail with ENOSYS. Some functions are actually named
11720 something starting with __ and the normal name is an alias. */
11721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11722 choke me
11723 #else
11724 $ac_func();
11725 #endif
11727 ; return 0; }
11729 if { (eval echo configure:11730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11730 rm -rf conftest*
11731 eval "ac_cv_func_$ac_func=yes"
11732 else
11733 echo "configure: failed program was:" >&5
11734 cat conftest.$ac_ext >&5
11735 rm -rf conftest*
11736 eval "ac_cv_func_$ac_func=no"
11738 rm -f conftest*
11741 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11742 echo "$ac_t""yes" 1>&6
11743 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11744 cat >> confdefs.h <<EOF
11745 #define $ac_tr_func 1
11748 else
11749 echo "$ac_t""no" 1>&6
11751 done
11756 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
11757 echo "configure:11758: checking for _isinff declaration" >&5
11758 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
11759 echo $ac_n "(cached) $ac_c" 1>&6
11760 else
11763 ac_ext=C
11764 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11765 ac_cpp='$CXXCPP $CPPFLAGS'
11766 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11767 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11768 cross_compiling=$ac_cv_prog_cxx_cross
11770 cat > conftest.$ac_ext <<EOF
11771 #line 11772 "configure"
11772 #include "confdefs.h"
11773 #include <math.h>
11774 int main() {
11775 _isinff(0);
11776 ; return 0; }
11778 if { (eval echo configure:11779: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11779 rm -rf conftest*
11780 glibcpp_cv_func__isinff_use=yes
11781 else
11782 echo "configure: failed program was:" >&5
11783 cat conftest.$ac_ext >&5
11784 rm -rf conftest*
11785 glibcpp_cv_func__isinff_use=no
11787 rm -f conftest*
11788 ac_ext=c
11789 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11790 ac_cpp='$CPP $CPPFLAGS'
11791 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11792 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11793 cross_compiling=$ac_cv_prog_cc_cross
11798 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
11799 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
11800 for ac_func in _isinff
11802 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11803 echo "configure:11804: checking for $ac_func" >&5
11804 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11805 echo $ac_n "(cached) $ac_c" 1>&6
11806 else
11807 cat > conftest.$ac_ext <<EOF
11808 #line 11809 "configure"
11809 #include "confdefs.h"
11810 /* System header to define __stub macros and hopefully few prototypes,
11811 which can conflict with char $ac_func(); below. */
11812 #include <assert.h>
11813 /* Override any gcc2 internal prototype to avoid an error. */
11814 /* We use char because int might match the return type of a gcc2
11815 builtin and then its argument prototype would still apply. */
11816 char $ac_func();
11818 int main() {
11820 /* The GNU C library defines this for functions which it implements
11821 to always fail with ENOSYS. Some functions are actually named
11822 something starting with __ and the normal name is an alias. */
11823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11824 choke me
11825 #else
11826 $ac_func();
11827 #endif
11829 ; return 0; }
11831 if { (eval echo configure:11832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11832 rm -rf conftest*
11833 eval "ac_cv_func_$ac_func=yes"
11834 else
11835 echo "configure: failed program was:" >&5
11836 cat conftest.$ac_ext >&5
11837 rm -rf conftest*
11838 eval "ac_cv_func_$ac_func=no"
11840 rm -f conftest*
11843 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11844 echo "$ac_t""yes" 1>&6
11845 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11846 cat >> confdefs.h <<EOF
11847 #define $ac_tr_func 1
11850 else
11851 echo "$ac_t""no" 1>&6
11853 done
11858 echo $ac_n "checking for _acosf declaration""... $ac_c" 1>&6
11859 echo "configure:11860: checking for _acosf declaration" >&5
11860 if eval "test \"`echo '$''{'glibcpp_cv_func__acosf_use'+set}'`\" = set"; then
11861 echo $ac_n "(cached) $ac_c" 1>&6
11862 else
11865 ac_ext=C
11866 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11867 ac_cpp='$CXXCPP $CPPFLAGS'
11868 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11869 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11870 cross_compiling=$ac_cv_prog_cxx_cross
11872 cat > conftest.$ac_ext <<EOF
11873 #line 11874 "configure"
11874 #include "confdefs.h"
11875 #include <math.h>
11876 int main() {
11877 _acosf(0);
11878 ; return 0; }
11880 if { (eval echo configure:11881: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11881 rm -rf conftest*
11882 glibcpp_cv_func__acosf_use=yes
11883 else
11884 echo "configure: failed program was:" >&5
11885 cat conftest.$ac_ext >&5
11886 rm -rf conftest*
11887 glibcpp_cv_func__acosf_use=no
11889 rm -f conftest*
11890 ac_ext=c
11891 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11892 ac_cpp='$CPP $CPPFLAGS'
11893 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11894 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11895 cross_compiling=$ac_cv_prog_cc_cross
11900 echo "$ac_t""$glibcpp_cv_func__acosf_use" 1>&6
11901 if test x$glibcpp_cv_func__acosf_use = x"yes"; then
11902 for ac_func in _acosf
11904 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11905 echo "configure:11906: checking for $ac_func" >&5
11906 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11907 echo $ac_n "(cached) $ac_c" 1>&6
11908 else
11909 cat > conftest.$ac_ext <<EOF
11910 #line 11911 "configure"
11911 #include "confdefs.h"
11912 /* System header to define __stub macros and hopefully few prototypes,
11913 which can conflict with char $ac_func(); below. */
11914 #include <assert.h>
11915 /* Override any gcc2 internal prototype to avoid an error. */
11916 /* We use char because int might match the return type of a gcc2
11917 builtin and then its argument prototype would still apply. */
11918 char $ac_func();
11920 int main() {
11922 /* The GNU C library defines this for functions which it implements
11923 to always fail with ENOSYS. Some functions are actually named
11924 something starting with __ and the normal name is an alias. */
11925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11926 choke me
11927 #else
11928 $ac_func();
11929 #endif
11931 ; return 0; }
11933 if { (eval echo configure:11934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11934 rm -rf conftest*
11935 eval "ac_cv_func_$ac_func=yes"
11936 else
11937 echo "configure: failed program was:" >&5
11938 cat conftest.$ac_ext >&5
11939 rm -rf conftest*
11940 eval "ac_cv_func_$ac_func=no"
11942 rm -f conftest*
11945 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11946 echo "$ac_t""yes" 1>&6
11947 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11948 cat >> confdefs.h <<EOF
11949 #define $ac_tr_func 1
11952 else
11953 echo "$ac_t""no" 1>&6
11955 done
11960 echo $ac_n "checking for _asinf declaration""... $ac_c" 1>&6
11961 echo "configure:11962: checking for _asinf declaration" >&5
11962 if eval "test \"`echo '$''{'glibcpp_cv_func__asinf_use'+set}'`\" = set"; then
11963 echo $ac_n "(cached) $ac_c" 1>&6
11964 else
11967 ac_ext=C
11968 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11969 ac_cpp='$CXXCPP $CPPFLAGS'
11970 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11971 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11972 cross_compiling=$ac_cv_prog_cxx_cross
11974 cat > conftest.$ac_ext <<EOF
11975 #line 11976 "configure"
11976 #include "confdefs.h"
11977 #include <math.h>
11978 int main() {
11979 _asinf(0);
11980 ; return 0; }
11982 if { (eval echo configure:11983: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11983 rm -rf conftest*
11984 glibcpp_cv_func__asinf_use=yes
11985 else
11986 echo "configure: failed program was:" >&5
11987 cat conftest.$ac_ext >&5
11988 rm -rf conftest*
11989 glibcpp_cv_func__asinf_use=no
11991 rm -f conftest*
11992 ac_ext=c
11993 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11994 ac_cpp='$CPP $CPPFLAGS'
11995 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11996 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11997 cross_compiling=$ac_cv_prog_cc_cross
12002 echo "$ac_t""$glibcpp_cv_func__asinf_use" 1>&6
12003 if test x$glibcpp_cv_func__asinf_use = x"yes"; then
12004 for ac_func in _asinf
12006 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12007 echo "configure:12008: checking for $ac_func" >&5
12008 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12009 echo $ac_n "(cached) $ac_c" 1>&6
12010 else
12011 cat > conftest.$ac_ext <<EOF
12012 #line 12013 "configure"
12013 #include "confdefs.h"
12014 /* System header to define __stub macros and hopefully few prototypes,
12015 which can conflict with char $ac_func(); below. */
12016 #include <assert.h>
12017 /* Override any gcc2 internal prototype to avoid an error. */
12018 /* We use char because int might match the return type of a gcc2
12019 builtin and then its argument prototype would still apply. */
12020 char $ac_func();
12022 int main() {
12024 /* The GNU C library defines this for functions which it implements
12025 to always fail with ENOSYS. Some functions are actually named
12026 something starting with __ and the normal name is an alias. */
12027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12028 choke me
12029 #else
12030 $ac_func();
12031 #endif
12033 ; return 0; }
12035 if { (eval echo configure:12036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12036 rm -rf conftest*
12037 eval "ac_cv_func_$ac_func=yes"
12038 else
12039 echo "configure: failed program was:" >&5
12040 cat conftest.$ac_ext >&5
12041 rm -rf conftest*
12042 eval "ac_cv_func_$ac_func=no"
12044 rm -f conftest*
12047 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12048 echo "$ac_t""yes" 1>&6
12049 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12050 cat >> confdefs.h <<EOF
12051 #define $ac_tr_func 1
12054 else
12055 echo "$ac_t""no" 1>&6
12057 done
12062 echo $ac_n "checking for _atanf declaration""... $ac_c" 1>&6
12063 echo "configure:12064: checking for _atanf declaration" >&5
12064 if eval "test \"`echo '$''{'glibcpp_cv_func__atanf_use'+set}'`\" = set"; then
12065 echo $ac_n "(cached) $ac_c" 1>&6
12066 else
12069 ac_ext=C
12070 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12071 ac_cpp='$CXXCPP $CPPFLAGS'
12072 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12073 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12074 cross_compiling=$ac_cv_prog_cxx_cross
12076 cat > conftest.$ac_ext <<EOF
12077 #line 12078 "configure"
12078 #include "confdefs.h"
12079 #include <math.h>
12080 int main() {
12081 _atanf(0);
12082 ; return 0; }
12084 if { (eval echo configure:12085: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12085 rm -rf conftest*
12086 glibcpp_cv_func__atanf_use=yes
12087 else
12088 echo "configure: failed program was:" >&5
12089 cat conftest.$ac_ext >&5
12090 rm -rf conftest*
12091 glibcpp_cv_func__atanf_use=no
12093 rm -f conftest*
12094 ac_ext=c
12095 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12096 ac_cpp='$CPP $CPPFLAGS'
12097 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12098 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12099 cross_compiling=$ac_cv_prog_cc_cross
12104 echo "$ac_t""$glibcpp_cv_func__atanf_use" 1>&6
12105 if test x$glibcpp_cv_func__atanf_use = x"yes"; then
12106 for ac_func in _atanf
12108 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12109 echo "configure:12110: checking for $ac_func" >&5
12110 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12111 echo $ac_n "(cached) $ac_c" 1>&6
12112 else
12113 cat > conftest.$ac_ext <<EOF
12114 #line 12115 "configure"
12115 #include "confdefs.h"
12116 /* System header to define __stub macros and hopefully few prototypes,
12117 which can conflict with char $ac_func(); below. */
12118 #include <assert.h>
12119 /* Override any gcc2 internal prototype to avoid an error. */
12120 /* We use char because int might match the return type of a gcc2
12121 builtin and then its argument prototype would still apply. */
12122 char $ac_func();
12124 int main() {
12126 /* The GNU C library defines this for functions which it implements
12127 to always fail with ENOSYS. Some functions are actually named
12128 something starting with __ and the normal name is an alias. */
12129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12130 choke me
12131 #else
12132 $ac_func();
12133 #endif
12135 ; return 0; }
12137 if { (eval echo configure:12138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12138 rm -rf conftest*
12139 eval "ac_cv_func_$ac_func=yes"
12140 else
12141 echo "configure: failed program was:" >&5
12142 cat conftest.$ac_ext >&5
12143 rm -rf conftest*
12144 eval "ac_cv_func_$ac_func=no"
12146 rm -f conftest*
12149 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12150 echo "$ac_t""yes" 1>&6
12151 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12152 cat >> confdefs.h <<EOF
12153 #define $ac_tr_func 1
12156 else
12157 echo "$ac_t""no" 1>&6
12159 done
12164 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
12165 echo "configure:12166: checking for _atan2f declaration" >&5
12166 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
12167 echo $ac_n "(cached) $ac_c" 1>&6
12168 else
12171 ac_ext=C
12172 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12173 ac_cpp='$CXXCPP $CPPFLAGS'
12174 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12175 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12176 cross_compiling=$ac_cv_prog_cxx_cross
12178 cat > conftest.$ac_ext <<EOF
12179 #line 12180 "configure"
12180 #include "confdefs.h"
12181 #include <math.h>
12182 int main() {
12183 _atan2f(0, 0);
12184 ; return 0; }
12186 if { (eval echo configure:12187: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12187 rm -rf conftest*
12188 glibcpp_cv_func__atan2f_use=yes
12189 else
12190 echo "configure: failed program was:" >&5
12191 cat conftest.$ac_ext >&5
12192 rm -rf conftest*
12193 glibcpp_cv_func__atan2f_use=no
12195 rm -f conftest*
12196 ac_ext=c
12197 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12198 ac_cpp='$CPP $CPPFLAGS'
12199 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12200 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12201 cross_compiling=$ac_cv_prog_cc_cross
12206 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
12207 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
12208 for ac_func in _atan2f
12210 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12211 echo "configure:12212: checking for $ac_func" >&5
12212 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12213 echo $ac_n "(cached) $ac_c" 1>&6
12214 else
12215 cat > conftest.$ac_ext <<EOF
12216 #line 12217 "configure"
12217 #include "confdefs.h"
12218 /* System header to define __stub macros and hopefully few prototypes,
12219 which can conflict with char $ac_func(); below. */
12220 #include <assert.h>
12221 /* Override any gcc2 internal prototype to avoid an error. */
12222 /* We use char because int might match the return type of a gcc2
12223 builtin and then its argument prototype would still apply. */
12224 char $ac_func();
12226 int main() {
12228 /* The GNU C library defines this for functions which it implements
12229 to always fail with ENOSYS. Some functions are actually named
12230 something starting with __ and the normal name is an alias. */
12231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12232 choke me
12233 #else
12234 $ac_func();
12235 #endif
12237 ; return 0; }
12239 if { (eval echo configure:12240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12240 rm -rf conftest*
12241 eval "ac_cv_func_$ac_func=yes"
12242 else
12243 echo "configure: failed program was:" >&5
12244 cat conftest.$ac_ext >&5
12245 rm -rf conftest*
12246 eval "ac_cv_func_$ac_func=no"
12248 rm -f conftest*
12251 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12252 echo "$ac_t""yes" 1>&6
12253 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12254 cat >> confdefs.h <<EOF
12255 #define $ac_tr_func 1
12258 else
12259 echo "$ac_t""no" 1>&6
12261 done
12266 echo $ac_n "checking for _ceilf declaration""... $ac_c" 1>&6
12267 echo "configure:12268: checking for _ceilf declaration" >&5
12268 if eval "test \"`echo '$''{'glibcpp_cv_func__ceilf_use'+set}'`\" = set"; then
12269 echo $ac_n "(cached) $ac_c" 1>&6
12270 else
12273 ac_ext=C
12274 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12275 ac_cpp='$CXXCPP $CPPFLAGS'
12276 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12277 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12278 cross_compiling=$ac_cv_prog_cxx_cross
12280 cat > conftest.$ac_ext <<EOF
12281 #line 12282 "configure"
12282 #include "confdefs.h"
12283 #include <math.h>
12284 int main() {
12285 _ceilf(0);
12286 ; return 0; }
12288 if { (eval echo configure:12289: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12289 rm -rf conftest*
12290 glibcpp_cv_func__ceilf_use=yes
12291 else
12292 echo "configure: failed program was:" >&5
12293 cat conftest.$ac_ext >&5
12294 rm -rf conftest*
12295 glibcpp_cv_func__ceilf_use=no
12297 rm -f conftest*
12298 ac_ext=c
12299 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12300 ac_cpp='$CPP $CPPFLAGS'
12301 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12302 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12303 cross_compiling=$ac_cv_prog_cc_cross
12308 echo "$ac_t""$glibcpp_cv_func__ceilf_use" 1>&6
12309 if test x$glibcpp_cv_func__ceilf_use = x"yes"; then
12310 for ac_func in _ceilf
12312 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12313 echo "configure:12314: checking for $ac_func" >&5
12314 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12315 echo $ac_n "(cached) $ac_c" 1>&6
12316 else
12317 cat > conftest.$ac_ext <<EOF
12318 #line 12319 "configure"
12319 #include "confdefs.h"
12320 /* System header to define __stub macros and hopefully few prototypes,
12321 which can conflict with char $ac_func(); below. */
12322 #include <assert.h>
12323 /* Override any gcc2 internal prototype to avoid an error. */
12324 /* We use char because int might match the return type of a gcc2
12325 builtin and then its argument prototype would still apply. */
12326 char $ac_func();
12328 int main() {
12330 /* The GNU C library defines this for functions which it implements
12331 to always fail with ENOSYS. Some functions are actually named
12332 something starting with __ and the normal name is an alias. */
12333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12334 choke me
12335 #else
12336 $ac_func();
12337 #endif
12339 ; return 0; }
12341 if { (eval echo configure:12342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12342 rm -rf conftest*
12343 eval "ac_cv_func_$ac_func=yes"
12344 else
12345 echo "configure: failed program was:" >&5
12346 cat conftest.$ac_ext >&5
12347 rm -rf conftest*
12348 eval "ac_cv_func_$ac_func=no"
12350 rm -f conftest*
12353 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12354 echo "$ac_t""yes" 1>&6
12355 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12356 cat >> confdefs.h <<EOF
12357 #define $ac_tr_func 1
12360 else
12361 echo "$ac_t""no" 1>&6
12363 done
12368 echo $ac_n "checking for _cosf declaration""... $ac_c" 1>&6
12369 echo "configure:12370: checking for _cosf declaration" >&5
12370 if eval "test \"`echo '$''{'glibcpp_cv_func__cosf_use'+set}'`\" = set"; then
12371 echo $ac_n "(cached) $ac_c" 1>&6
12372 else
12375 ac_ext=C
12376 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12377 ac_cpp='$CXXCPP $CPPFLAGS'
12378 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12379 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12380 cross_compiling=$ac_cv_prog_cxx_cross
12382 cat > conftest.$ac_ext <<EOF
12383 #line 12384 "configure"
12384 #include "confdefs.h"
12385 #include <math.h>
12386 int main() {
12387 _cosf(0);
12388 ; return 0; }
12390 if { (eval echo configure:12391: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12391 rm -rf conftest*
12392 glibcpp_cv_func__cosf_use=yes
12393 else
12394 echo "configure: failed program was:" >&5
12395 cat conftest.$ac_ext >&5
12396 rm -rf conftest*
12397 glibcpp_cv_func__cosf_use=no
12399 rm -f conftest*
12400 ac_ext=c
12401 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12402 ac_cpp='$CPP $CPPFLAGS'
12403 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12404 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12405 cross_compiling=$ac_cv_prog_cc_cross
12410 echo "$ac_t""$glibcpp_cv_func__cosf_use" 1>&6
12411 if test x$glibcpp_cv_func__cosf_use = x"yes"; then
12412 for ac_func in _cosf
12414 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12415 echo "configure:12416: checking for $ac_func" >&5
12416 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12417 echo $ac_n "(cached) $ac_c" 1>&6
12418 else
12419 cat > conftest.$ac_ext <<EOF
12420 #line 12421 "configure"
12421 #include "confdefs.h"
12422 /* System header to define __stub macros and hopefully few prototypes,
12423 which can conflict with char $ac_func(); below. */
12424 #include <assert.h>
12425 /* Override any gcc2 internal prototype to avoid an error. */
12426 /* We use char because int might match the return type of a gcc2
12427 builtin and then its argument prototype would still apply. */
12428 char $ac_func();
12430 int main() {
12432 /* The GNU C library defines this for functions which it implements
12433 to always fail with ENOSYS. Some functions are actually named
12434 something starting with __ and the normal name is an alias. */
12435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12436 choke me
12437 #else
12438 $ac_func();
12439 #endif
12441 ; return 0; }
12443 if { (eval echo configure:12444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12444 rm -rf conftest*
12445 eval "ac_cv_func_$ac_func=yes"
12446 else
12447 echo "configure: failed program was:" >&5
12448 cat conftest.$ac_ext >&5
12449 rm -rf conftest*
12450 eval "ac_cv_func_$ac_func=no"
12452 rm -f conftest*
12455 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12456 echo "$ac_t""yes" 1>&6
12457 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12458 cat >> confdefs.h <<EOF
12459 #define $ac_tr_func 1
12462 else
12463 echo "$ac_t""no" 1>&6
12465 done
12470 echo $ac_n "checking for _coshf declaration""... $ac_c" 1>&6
12471 echo "configure:12472: checking for _coshf declaration" >&5
12472 if eval "test \"`echo '$''{'glibcpp_cv_func__coshf_use'+set}'`\" = set"; then
12473 echo $ac_n "(cached) $ac_c" 1>&6
12474 else
12477 ac_ext=C
12478 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12479 ac_cpp='$CXXCPP $CPPFLAGS'
12480 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12481 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12482 cross_compiling=$ac_cv_prog_cxx_cross
12484 cat > conftest.$ac_ext <<EOF
12485 #line 12486 "configure"
12486 #include "confdefs.h"
12487 #include <math.h>
12488 int main() {
12489 _coshf(0);
12490 ; return 0; }
12492 if { (eval echo configure:12493: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12493 rm -rf conftest*
12494 glibcpp_cv_func__coshf_use=yes
12495 else
12496 echo "configure: failed program was:" >&5
12497 cat conftest.$ac_ext >&5
12498 rm -rf conftest*
12499 glibcpp_cv_func__coshf_use=no
12501 rm -f conftest*
12502 ac_ext=c
12503 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12504 ac_cpp='$CPP $CPPFLAGS'
12505 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12506 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12507 cross_compiling=$ac_cv_prog_cc_cross
12512 echo "$ac_t""$glibcpp_cv_func__coshf_use" 1>&6
12513 if test x$glibcpp_cv_func__coshf_use = x"yes"; then
12514 for ac_func in _coshf
12516 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12517 echo "configure:12518: checking for $ac_func" >&5
12518 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12519 echo $ac_n "(cached) $ac_c" 1>&6
12520 else
12521 cat > conftest.$ac_ext <<EOF
12522 #line 12523 "configure"
12523 #include "confdefs.h"
12524 /* System header to define __stub macros and hopefully few prototypes,
12525 which can conflict with char $ac_func(); below. */
12526 #include <assert.h>
12527 /* Override any gcc2 internal prototype to avoid an error. */
12528 /* We use char because int might match the return type of a gcc2
12529 builtin and then its argument prototype would still apply. */
12530 char $ac_func();
12532 int main() {
12534 /* The GNU C library defines this for functions which it implements
12535 to always fail with ENOSYS. Some functions are actually named
12536 something starting with __ and the normal name is an alias. */
12537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12538 choke me
12539 #else
12540 $ac_func();
12541 #endif
12543 ; return 0; }
12545 if { (eval echo configure:12546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12546 rm -rf conftest*
12547 eval "ac_cv_func_$ac_func=yes"
12548 else
12549 echo "configure: failed program was:" >&5
12550 cat conftest.$ac_ext >&5
12551 rm -rf conftest*
12552 eval "ac_cv_func_$ac_func=no"
12554 rm -f conftest*
12557 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12558 echo "$ac_t""yes" 1>&6
12559 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12560 cat >> confdefs.h <<EOF
12561 #define $ac_tr_func 1
12564 else
12565 echo "$ac_t""no" 1>&6
12567 done
12572 echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
12573 echo "configure:12574: checking for _expf declaration" >&5
12574 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
12575 echo $ac_n "(cached) $ac_c" 1>&6
12576 else
12579 ac_ext=C
12580 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12581 ac_cpp='$CXXCPP $CPPFLAGS'
12582 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12583 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12584 cross_compiling=$ac_cv_prog_cxx_cross
12586 cat > conftest.$ac_ext <<EOF
12587 #line 12588 "configure"
12588 #include "confdefs.h"
12589 #include <math.h>
12590 int main() {
12591 _expf(0);
12592 ; return 0; }
12594 if { (eval echo configure:12595: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12595 rm -rf conftest*
12596 glibcpp_cv_func__expf_use=yes
12597 else
12598 echo "configure: failed program was:" >&5
12599 cat conftest.$ac_ext >&5
12600 rm -rf conftest*
12601 glibcpp_cv_func__expf_use=no
12603 rm -f conftest*
12604 ac_ext=c
12605 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12606 ac_cpp='$CPP $CPPFLAGS'
12607 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12608 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12609 cross_compiling=$ac_cv_prog_cc_cross
12614 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
12615 if test x$glibcpp_cv_func__expf_use = x"yes"; then
12616 for ac_func in _expf
12618 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12619 echo "configure:12620: checking for $ac_func" >&5
12620 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12621 echo $ac_n "(cached) $ac_c" 1>&6
12622 else
12623 cat > conftest.$ac_ext <<EOF
12624 #line 12625 "configure"
12625 #include "confdefs.h"
12626 /* System header to define __stub macros and hopefully few prototypes,
12627 which can conflict with char $ac_func(); below. */
12628 #include <assert.h>
12629 /* Override any gcc2 internal prototype to avoid an error. */
12630 /* We use char because int might match the return type of a gcc2
12631 builtin and then its argument prototype would still apply. */
12632 char $ac_func();
12634 int main() {
12636 /* The GNU C library defines this for functions which it implements
12637 to always fail with ENOSYS. Some functions are actually named
12638 something starting with __ and the normal name is an alias. */
12639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12640 choke me
12641 #else
12642 $ac_func();
12643 #endif
12645 ; return 0; }
12647 if { (eval echo configure:12648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12648 rm -rf conftest*
12649 eval "ac_cv_func_$ac_func=yes"
12650 else
12651 echo "configure: failed program was:" >&5
12652 cat conftest.$ac_ext >&5
12653 rm -rf conftest*
12654 eval "ac_cv_func_$ac_func=no"
12656 rm -f conftest*
12659 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12660 echo "$ac_t""yes" 1>&6
12661 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12662 cat >> confdefs.h <<EOF
12663 #define $ac_tr_func 1
12666 else
12667 echo "$ac_t""no" 1>&6
12669 done
12674 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
12675 echo "configure:12676: checking for _fabsf declaration" >&5
12676 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
12677 echo $ac_n "(cached) $ac_c" 1>&6
12678 else
12681 ac_ext=C
12682 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12683 ac_cpp='$CXXCPP $CPPFLAGS'
12684 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12685 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12686 cross_compiling=$ac_cv_prog_cxx_cross
12688 cat > conftest.$ac_ext <<EOF
12689 #line 12690 "configure"
12690 #include "confdefs.h"
12691 #include <math.h>
12692 int main() {
12693 _fabsf(0);
12694 ; return 0; }
12696 if { (eval echo configure:12697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12697 rm -rf conftest*
12698 glibcpp_cv_func__fabsf_use=yes
12699 else
12700 echo "configure: failed program was:" >&5
12701 cat conftest.$ac_ext >&5
12702 rm -rf conftest*
12703 glibcpp_cv_func__fabsf_use=no
12705 rm -f conftest*
12706 ac_ext=c
12707 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12708 ac_cpp='$CPP $CPPFLAGS'
12709 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12710 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12711 cross_compiling=$ac_cv_prog_cc_cross
12716 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
12717 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
12718 for ac_func in _fabsf
12720 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12721 echo "configure:12722: checking for $ac_func" >&5
12722 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12723 echo $ac_n "(cached) $ac_c" 1>&6
12724 else
12725 cat > conftest.$ac_ext <<EOF
12726 #line 12727 "configure"
12727 #include "confdefs.h"
12728 /* System header to define __stub macros and hopefully few prototypes,
12729 which can conflict with char $ac_func(); below. */
12730 #include <assert.h>
12731 /* Override any gcc2 internal prototype to avoid an error. */
12732 /* We use char because int might match the return type of a gcc2
12733 builtin and then its argument prototype would still apply. */
12734 char $ac_func();
12736 int main() {
12738 /* The GNU C library defines this for functions which it implements
12739 to always fail with ENOSYS. Some functions are actually named
12740 something starting with __ and the normal name is an alias. */
12741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12742 choke me
12743 #else
12744 $ac_func();
12745 #endif
12747 ; return 0; }
12749 if { (eval echo configure:12750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12750 rm -rf conftest*
12751 eval "ac_cv_func_$ac_func=yes"
12752 else
12753 echo "configure: failed program was:" >&5
12754 cat conftest.$ac_ext >&5
12755 rm -rf conftest*
12756 eval "ac_cv_func_$ac_func=no"
12758 rm -f conftest*
12761 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12762 echo "$ac_t""yes" 1>&6
12763 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12764 cat >> confdefs.h <<EOF
12765 #define $ac_tr_func 1
12768 else
12769 echo "$ac_t""no" 1>&6
12771 done
12776 echo $ac_n "checking for _floorf declaration""... $ac_c" 1>&6
12777 echo "configure:12778: checking for _floorf declaration" >&5
12778 if eval "test \"`echo '$''{'glibcpp_cv_func__floorf_use'+set}'`\" = set"; then
12779 echo $ac_n "(cached) $ac_c" 1>&6
12780 else
12783 ac_ext=C
12784 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12785 ac_cpp='$CXXCPP $CPPFLAGS'
12786 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12787 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12788 cross_compiling=$ac_cv_prog_cxx_cross
12790 cat > conftest.$ac_ext <<EOF
12791 #line 12792 "configure"
12792 #include "confdefs.h"
12793 #include <math.h>
12794 int main() {
12795 _floorf(0);
12796 ; return 0; }
12798 if { (eval echo configure:12799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12799 rm -rf conftest*
12800 glibcpp_cv_func__floorf_use=yes
12801 else
12802 echo "configure: failed program was:" >&5
12803 cat conftest.$ac_ext >&5
12804 rm -rf conftest*
12805 glibcpp_cv_func__floorf_use=no
12807 rm -f conftest*
12808 ac_ext=c
12809 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12810 ac_cpp='$CPP $CPPFLAGS'
12811 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12812 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12813 cross_compiling=$ac_cv_prog_cc_cross
12818 echo "$ac_t""$glibcpp_cv_func__floorf_use" 1>&6
12819 if test x$glibcpp_cv_func__floorf_use = x"yes"; then
12820 for ac_func in _floorf
12822 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12823 echo "configure:12824: checking for $ac_func" >&5
12824 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12825 echo $ac_n "(cached) $ac_c" 1>&6
12826 else
12827 cat > conftest.$ac_ext <<EOF
12828 #line 12829 "configure"
12829 #include "confdefs.h"
12830 /* System header to define __stub macros and hopefully few prototypes,
12831 which can conflict with char $ac_func(); below. */
12832 #include <assert.h>
12833 /* Override any gcc2 internal prototype to avoid an error. */
12834 /* We use char because int might match the return type of a gcc2
12835 builtin and then its argument prototype would still apply. */
12836 char $ac_func();
12838 int main() {
12840 /* The GNU C library defines this for functions which it implements
12841 to always fail with ENOSYS. Some functions are actually named
12842 something starting with __ and the normal name is an alias. */
12843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12844 choke me
12845 #else
12846 $ac_func();
12847 #endif
12849 ; return 0; }
12851 if { (eval echo configure:12852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12852 rm -rf conftest*
12853 eval "ac_cv_func_$ac_func=yes"
12854 else
12855 echo "configure: failed program was:" >&5
12856 cat conftest.$ac_ext >&5
12857 rm -rf conftest*
12858 eval "ac_cv_func_$ac_func=no"
12860 rm -f conftest*
12863 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12864 echo "$ac_t""yes" 1>&6
12865 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12866 cat >> confdefs.h <<EOF
12867 #define $ac_tr_func 1
12870 else
12871 echo "$ac_t""no" 1>&6
12873 done
12878 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
12879 echo "configure:12880: checking for _fmodf declaration" >&5
12880 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
12881 echo $ac_n "(cached) $ac_c" 1>&6
12882 else
12885 ac_ext=C
12886 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12887 ac_cpp='$CXXCPP $CPPFLAGS'
12888 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12889 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12890 cross_compiling=$ac_cv_prog_cxx_cross
12892 cat > conftest.$ac_ext <<EOF
12893 #line 12894 "configure"
12894 #include "confdefs.h"
12895 #include <math.h>
12896 int main() {
12897 _fmodf(0, 0);
12898 ; return 0; }
12900 if { (eval echo configure:12901: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12901 rm -rf conftest*
12902 glibcpp_cv_func__fmodf_use=yes
12903 else
12904 echo "configure: failed program was:" >&5
12905 cat conftest.$ac_ext >&5
12906 rm -rf conftest*
12907 glibcpp_cv_func__fmodf_use=no
12909 rm -f conftest*
12910 ac_ext=c
12911 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12912 ac_cpp='$CPP $CPPFLAGS'
12913 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12914 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12915 cross_compiling=$ac_cv_prog_cc_cross
12920 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
12921 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
12922 for ac_func in _fmodf
12924 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12925 echo "configure:12926: checking for $ac_func" >&5
12926 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12927 echo $ac_n "(cached) $ac_c" 1>&6
12928 else
12929 cat > conftest.$ac_ext <<EOF
12930 #line 12931 "configure"
12931 #include "confdefs.h"
12932 /* System header to define __stub macros and hopefully few prototypes,
12933 which can conflict with char $ac_func(); below. */
12934 #include <assert.h>
12935 /* Override any gcc2 internal prototype to avoid an error. */
12936 /* We use char because int might match the return type of a gcc2
12937 builtin and then its argument prototype would still apply. */
12938 char $ac_func();
12940 int main() {
12942 /* The GNU C library defines this for functions which it implements
12943 to always fail with ENOSYS. Some functions are actually named
12944 something starting with __ and the normal name is an alias. */
12945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12946 choke me
12947 #else
12948 $ac_func();
12949 #endif
12951 ; return 0; }
12953 if { (eval echo configure:12954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12954 rm -rf conftest*
12955 eval "ac_cv_func_$ac_func=yes"
12956 else
12957 echo "configure: failed program was:" >&5
12958 cat conftest.$ac_ext >&5
12959 rm -rf conftest*
12960 eval "ac_cv_func_$ac_func=no"
12962 rm -f conftest*
12965 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12966 echo "$ac_t""yes" 1>&6
12967 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12968 cat >> confdefs.h <<EOF
12969 #define $ac_tr_func 1
12972 else
12973 echo "$ac_t""no" 1>&6
12975 done
12980 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
12981 echo "configure:12982: checking for _frexpf declaration" >&5
12982 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
12983 echo $ac_n "(cached) $ac_c" 1>&6
12984 else
12987 ac_ext=C
12988 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12989 ac_cpp='$CXXCPP $CPPFLAGS'
12990 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12991 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12992 cross_compiling=$ac_cv_prog_cxx_cross
12994 cat > conftest.$ac_ext <<EOF
12995 #line 12996 "configure"
12996 #include "confdefs.h"
12997 #include <math.h>
12998 int main() {
12999 _frexpf(0, 0);
13000 ; return 0; }
13002 if { (eval echo configure:13003: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13003 rm -rf conftest*
13004 glibcpp_cv_func__frexpf_use=yes
13005 else
13006 echo "configure: failed program was:" >&5
13007 cat conftest.$ac_ext >&5
13008 rm -rf conftest*
13009 glibcpp_cv_func__frexpf_use=no
13011 rm -f conftest*
13012 ac_ext=c
13013 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13014 ac_cpp='$CPP $CPPFLAGS'
13015 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13016 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13017 cross_compiling=$ac_cv_prog_cc_cross
13022 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
13023 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
13024 for ac_func in _frexpf
13026 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13027 echo "configure:13028: checking for $ac_func" >&5
13028 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13029 echo $ac_n "(cached) $ac_c" 1>&6
13030 else
13031 cat > conftest.$ac_ext <<EOF
13032 #line 13033 "configure"
13033 #include "confdefs.h"
13034 /* System header to define __stub macros and hopefully few prototypes,
13035 which can conflict with char $ac_func(); below. */
13036 #include <assert.h>
13037 /* Override any gcc2 internal prototype to avoid an error. */
13038 /* We use char because int might match the return type of a gcc2
13039 builtin and then its argument prototype would still apply. */
13040 char $ac_func();
13042 int main() {
13044 /* The GNU C library defines this for functions which it implements
13045 to always fail with ENOSYS. Some functions are actually named
13046 something starting with __ and the normal name is an alias. */
13047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13048 choke me
13049 #else
13050 $ac_func();
13051 #endif
13053 ; return 0; }
13055 if { (eval echo configure:13056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13056 rm -rf conftest*
13057 eval "ac_cv_func_$ac_func=yes"
13058 else
13059 echo "configure: failed program was:" >&5
13060 cat conftest.$ac_ext >&5
13061 rm -rf conftest*
13062 eval "ac_cv_func_$ac_func=no"
13064 rm -f conftest*
13067 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13068 echo "$ac_t""yes" 1>&6
13069 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13070 cat >> confdefs.h <<EOF
13071 #define $ac_tr_func 1
13074 else
13075 echo "$ac_t""no" 1>&6
13077 done
13082 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
13083 echo "configure:13084: checking for _ldexpf declaration" >&5
13084 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
13085 echo $ac_n "(cached) $ac_c" 1>&6
13086 else
13089 ac_ext=C
13090 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13091 ac_cpp='$CXXCPP $CPPFLAGS'
13092 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13093 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13094 cross_compiling=$ac_cv_prog_cxx_cross
13096 cat > conftest.$ac_ext <<EOF
13097 #line 13098 "configure"
13098 #include "confdefs.h"
13099 #include <math.h>
13100 int main() {
13101 _ldexpf(0, 0);
13102 ; return 0; }
13104 if { (eval echo configure:13105: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13105 rm -rf conftest*
13106 glibcpp_cv_func__ldexpf_use=yes
13107 else
13108 echo "configure: failed program was:" >&5
13109 cat conftest.$ac_ext >&5
13110 rm -rf conftest*
13111 glibcpp_cv_func__ldexpf_use=no
13113 rm -f conftest*
13114 ac_ext=c
13115 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13116 ac_cpp='$CPP $CPPFLAGS'
13117 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13118 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13119 cross_compiling=$ac_cv_prog_cc_cross
13124 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
13125 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
13126 for ac_func in _ldexpf
13128 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13129 echo "configure:13130: checking for $ac_func" >&5
13130 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13131 echo $ac_n "(cached) $ac_c" 1>&6
13132 else
13133 cat > conftest.$ac_ext <<EOF
13134 #line 13135 "configure"
13135 #include "confdefs.h"
13136 /* System header to define __stub macros and hopefully few prototypes,
13137 which can conflict with char $ac_func(); below. */
13138 #include <assert.h>
13139 /* Override any gcc2 internal prototype to avoid an error. */
13140 /* We use char because int might match the return type of a gcc2
13141 builtin and then its argument prototype would still apply. */
13142 char $ac_func();
13144 int main() {
13146 /* The GNU C library defines this for functions which it implements
13147 to always fail with ENOSYS. Some functions are actually named
13148 something starting with __ and the normal name is an alias. */
13149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13150 choke me
13151 #else
13152 $ac_func();
13153 #endif
13155 ; return 0; }
13157 if { (eval echo configure:13158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13158 rm -rf conftest*
13159 eval "ac_cv_func_$ac_func=yes"
13160 else
13161 echo "configure: failed program was:" >&5
13162 cat conftest.$ac_ext >&5
13163 rm -rf conftest*
13164 eval "ac_cv_func_$ac_func=no"
13166 rm -f conftest*
13169 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13170 echo "$ac_t""yes" 1>&6
13171 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13172 cat >> confdefs.h <<EOF
13173 #define $ac_tr_func 1
13176 else
13177 echo "$ac_t""no" 1>&6
13179 done
13184 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
13185 echo "configure:13186: checking for _logf declaration" >&5
13186 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
13187 echo $ac_n "(cached) $ac_c" 1>&6
13188 else
13191 ac_ext=C
13192 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13193 ac_cpp='$CXXCPP $CPPFLAGS'
13194 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13195 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13196 cross_compiling=$ac_cv_prog_cxx_cross
13198 cat > conftest.$ac_ext <<EOF
13199 #line 13200 "configure"
13200 #include "confdefs.h"
13201 #include <math.h>
13202 int main() {
13203 _logf(0);
13204 ; return 0; }
13206 if { (eval echo configure:13207: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13207 rm -rf conftest*
13208 glibcpp_cv_func__logf_use=yes
13209 else
13210 echo "configure: failed program was:" >&5
13211 cat conftest.$ac_ext >&5
13212 rm -rf conftest*
13213 glibcpp_cv_func__logf_use=no
13215 rm -f conftest*
13216 ac_ext=c
13217 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13218 ac_cpp='$CPP $CPPFLAGS'
13219 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13220 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13221 cross_compiling=$ac_cv_prog_cc_cross
13226 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
13227 if test x$glibcpp_cv_func__logf_use = x"yes"; then
13228 for ac_func in _logf
13230 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13231 echo "configure:13232: checking for $ac_func" >&5
13232 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13233 echo $ac_n "(cached) $ac_c" 1>&6
13234 else
13235 cat > conftest.$ac_ext <<EOF
13236 #line 13237 "configure"
13237 #include "confdefs.h"
13238 /* System header to define __stub macros and hopefully few prototypes,
13239 which can conflict with char $ac_func(); below. */
13240 #include <assert.h>
13241 /* Override any gcc2 internal prototype to avoid an error. */
13242 /* We use char because int might match the return type of a gcc2
13243 builtin and then its argument prototype would still apply. */
13244 char $ac_func();
13246 int main() {
13248 /* The GNU C library defines this for functions which it implements
13249 to always fail with ENOSYS. Some functions are actually named
13250 something starting with __ and the normal name is an alias. */
13251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13252 choke me
13253 #else
13254 $ac_func();
13255 #endif
13257 ; return 0; }
13259 if { (eval echo configure:13260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13260 rm -rf conftest*
13261 eval "ac_cv_func_$ac_func=yes"
13262 else
13263 echo "configure: failed program was:" >&5
13264 cat conftest.$ac_ext >&5
13265 rm -rf conftest*
13266 eval "ac_cv_func_$ac_func=no"
13268 rm -f conftest*
13271 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13272 echo "$ac_t""yes" 1>&6
13273 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13274 cat >> confdefs.h <<EOF
13275 #define $ac_tr_func 1
13278 else
13279 echo "$ac_t""no" 1>&6
13281 done
13286 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
13287 echo "configure:13288: checking for _log10f declaration" >&5
13288 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
13289 echo $ac_n "(cached) $ac_c" 1>&6
13290 else
13293 ac_ext=C
13294 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13295 ac_cpp='$CXXCPP $CPPFLAGS'
13296 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13297 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13298 cross_compiling=$ac_cv_prog_cxx_cross
13300 cat > conftest.$ac_ext <<EOF
13301 #line 13302 "configure"
13302 #include "confdefs.h"
13303 #include <math.h>
13304 int main() {
13305 _log10f(0);
13306 ; return 0; }
13308 if { (eval echo configure:13309: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13309 rm -rf conftest*
13310 glibcpp_cv_func__log10f_use=yes
13311 else
13312 echo "configure: failed program was:" >&5
13313 cat conftest.$ac_ext >&5
13314 rm -rf conftest*
13315 glibcpp_cv_func__log10f_use=no
13317 rm -f conftest*
13318 ac_ext=c
13319 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13320 ac_cpp='$CPP $CPPFLAGS'
13321 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13322 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13323 cross_compiling=$ac_cv_prog_cc_cross
13328 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
13329 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
13330 for ac_func in _log10f
13332 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13333 echo "configure:13334: checking for $ac_func" >&5
13334 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13335 echo $ac_n "(cached) $ac_c" 1>&6
13336 else
13337 cat > conftest.$ac_ext <<EOF
13338 #line 13339 "configure"
13339 #include "confdefs.h"
13340 /* System header to define __stub macros and hopefully few prototypes,
13341 which can conflict with char $ac_func(); below. */
13342 #include <assert.h>
13343 /* Override any gcc2 internal prototype to avoid an error. */
13344 /* We use char because int might match the return type of a gcc2
13345 builtin and then its argument prototype would still apply. */
13346 char $ac_func();
13348 int main() {
13350 /* The GNU C library defines this for functions which it implements
13351 to always fail with ENOSYS. Some functions are actually named
13352 something starting with __ and the normal name is an alias. */
13353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13354 choke me
13355 #else
13356 $ac_func();
13357 #endif
13359 ; return 0; }
13361 if { (eval echo configure:13362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13362 rm -rf conftest*
13363 eval "ac_cv_func_$ac_func=yes"
13364 else
13365 echo "configure: failed program was:" >&5
13366 cat conftest.$ac_ext >&5
13367 rm -rf conftest*
13368 eval "ac_cv_func_$ac_func=no"
13370 rm -f conftest*
13373 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13374 echo "$ac_t""yes" 1>&6
13375 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13376 cat >> confdefs.h <<EOF
13377 #define $ac_tr_func 1
13380 else
13381 echo "$ac_t""no" 1>&6
13383 done
13388 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
13389 echo "configure:13390: checking for _modff declaration" >&5
13390 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
13391 echo $ac_n "(cached) $ac_c" 1>&6
13392 else
13395 ac_ext=C
13396 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13397 ac_cpp='$CXXCPP $CPPFLAGS'
13398 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13399 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13400 cross_compiling=$ac_cv_prog_cxx_cross
13402 cat > conftest.$ac_ext <<EOF
13403 #line 13404 "configure"
13404 #include "confdefs.h"
13405 #include <math.h>
13406 int main() {
13407 _modff(0, 0);
13408 ; return 0; }
13410 if { (eval echo configure:13411: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13411 rm -rf conftest*
13412 glibcpp_cv_func__modff_use=yes
13413 else
13414 echo "configure: failed program was:" >&5
13415 cat conftest.$ac_ext >&5
13416 rm -rf conftest*
13417 glibcpp_cv_func__modff_use=no
13419 rm -f conftest*
13420 ac_ext=c
13421 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13422 ac_cpp='$CPP $CPPFLAGS'
13423 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13424 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13425 cross_compiling=$ac_cv_prog_cc_cross
13430 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
13431 if test x$glibcpp_cv_func__modff_use = x"yes"; then
13432 for ac_func in _modff
13434 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13435 echo "configure:13436: checking for $ac_func" >&5
13436 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13437 echo $ac_n "(cached) $ac_c" 1>&6
13438 else
13439 cat > conftest.$ac_ext <<EOF
13440 #line 13441 "configure"
13441 #include "confdefs.h"
13442 /* System header to define __stub macros and hopefully few prototypes,
13443 which can conflict with char $ac_func(); below. */
13444 #include <assert.h>
13445 /* Override any gcc2 internal prototype to avoid an error. */
13446 /* We use char because int might match the return type of a gcc2
13447 builtin and then its argument prototype would still apply. */
13448 char $ac_func();
13450 int main() {
13452 /* The GNU C library defines this for functions which it implements
13453 to always fail with ENOSYS. Some functions are actually named
13454 something starting with __ and the normal name is an alias. */
13455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13456 choke me
13457 #else
13458 $ac_func();
13459 #endif
13461 ; return 0; }
13463 if { (eval echo configure:13464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13464 rm -rf conftest*
13465 eval "ac_cv_func_$ac_func=yes"
13466 else
13467 echo "configure: failed program was:" >&5
13468 cat conftest.$ac_ext >&5
13469 rm -rf conftest*
13470 eval "ac_cv_func_$ac_func=no"
13472 rm -f conftest*
13475 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13476 echo "$ac_t""yes" 1>&6
13477 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13478 cat >> confdefs.h <<EOF
13479 #define $ac_tr_func 1
13482 else
13483 echo "$ac_t""no" 1>&6
13485 done
13490 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
13491 echo "configure:13492: checking for _powf declaration" >&5
13492 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
13493 echo $ac_n "(cached) $ac_c" 1>&6
13494 else
13497 ac_ext=C
13498 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13499 ac_cpp='$CXXCPP $CPPFLAGS'
13500 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13501 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13502 cross_compiling=$ac_cv_prog_cxx_cross
13504 cat > conftest.$ac_ext <<EOF
13505 #line 13506 "configure"
13506 #include "confdefs.h"
13507 #include <math.h>
13508 int main() {
13509 _powf(0, 0);
13510 ; return 0; }
13512 if { (eval echo configure:13513: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13513 rm -rf conftest*
13514 glibcpp_cv_func__powf_use=yes
13515 else
13516 echo "configure: failed program was:" >&5
13517 cat conftest.$ac_ext >&5
13518 rm -rf conftest*
13519 glibcpp_cv_func__powf_use=no
13521 rm -f conftest*
13522 ac_ext=c
13523 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13524 ac_cpp='$CPP $CPPFLAGS'
13525 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13526 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13527 cross_compiling=$ac_cv_prog_cc_cross
13532 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
13533 if test x$glibcpp_cv_func__powf_use = x"yes"; then
13534 for ac_func in _powf
13536 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13537 echo "configure:13538: checking for $ac_func" >&5
13538 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13539 echo $ac_n "(cached) $ac_c" 1>&6
13540 else
13541 cat > conftest.$ac_ext <<EOF
13542 #line 13543 "configure"
13543 #include "confdefs.h"
13544 /* System header to define __stub macros and hopefully few prototypes,
13545 which can conflict with char $ac_func(); below. */
13546 #include <assert.h>
13547 /* Override any gcc2 internal prototype to avoid an error. */
13548 /* We use char because int might match the return type of a gcc2
13549 builtin and then its argument prototype would still apply. */
13550 char $ac_func();
13552 int main() {
13554 /* The GNU C library defines this for functions which it implements
13555 to always fail with ENOSYS. Some functions are actually named
13556 something starting with __ and the normal name is an alias. */
13557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13558 choke me
13559 #else
13560 $ac_func();
13561 #endif
13563 ; return 0; }
13565 if { (eval echo configure:13566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13566 rm -rf conftest*
13567 eval "ac_cv_func_$ac_func=yes"
13568 else
13569 echo "configure: failed program was:" >&5
13570 cat conftest.$ac_ext >&5
13571 rm -rf conftest*
13572 eval "ac_cv_func_$ac_func=no"
13574 rm -f conftest*
13577 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13578 echo "$ac_t""yes" 1>&6
13579 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13580 cat >> confdefs.h <<EOF
13581 #define $ac_tr_func 1
13584 else
13585 echo "$ac_t""no" 1>&6
13587 done
13592 echo $ac_n "checking for _sinf declaration""... $ac_c" 1>&6
13593 echo "configure:13594: checking for _sinf declaration" >&5
13594 if eval "test \"`echo '$''{'glibcpp_cv_func__sinf_use'+set}'`\" = set"; then
13595 echo $ac_n "(cached) $ac_c" 1>&6
13596 else
13599 ac_ext=C
13600 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13601 ac_cpp='$CXXCPP $CPPFLAGS'
13602 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13603 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13604 cross_compiling=$ac_cv_prog_cxx_cross
13606 cat > conftest.$ac_ext <<EOF
13607 #line 13608 "configure"
13608 #include "confdefs.h"
13609 #include <math.h>
13610 int main() {
13611 _sinf(0);
13612 ; return 0; }
13614 if { (eval echo configure:13615: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13615 rm -rf conftest*
13616 glibcpp_cv_func__sinf_use=yes
13617 else
13618 echo "configure: failed program was:" >&5
13619 cat conftest.$ac_ext >&5
13620 rm -rf conftest*
13621 glibcpp_cv_func__sinf_use=no
13623 rm -f conftest*
13624 ac_ext=c
13625 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13626 ac_cpp='$CPP $CPPFLAGS'
13627 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13628 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13629 cross_compiling=$ac_cv_prog_cc_cross
13634 echo "$ac_t""$glibcpp_cv_func__sinf_use" 1>&6
13635 if test x$glibcpp_cv_func__sinf_use = x"yes"; then
13636 for ac_func in _sinf
13638 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13639 echo "configure:13640: checking for $ac_func" >&5
13640 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13641 echo $ac_n "(cached) $ac_c" 1>&6
13642 else
13643 cat > conftest.$ac_ext <<EOF
13644 #line 13645 "configure"
13645 #include "confdefs.h"
13646 /* System header to define __stub macros and hopefully few prototypes,
13647 which can conflict with char $ac_func(); below. */
13648 #include <assert.h>
13649 /* Override any gcc2 internal prototype to avoid an error. */
13650 /* We use char because int might match the return type of a gcc2
13651 builtin and then its argument prototype would still apply. */
13652 char $ac_func();
13654 int main() {
13656 /* The GNU C library defines this for functions which it implements
13657 to always fail with ENOSYS. Some functions are actually named
13658 something starting with __ and the normal name is an alias. */
13659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13660 choke me
13661 #else
13662 $ac_func();
13663 #endif
13665 ; return 0; }
13667 if { (eval echo configure:13668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13668 rm -rf conftest*
13669 eval "ac_cv_func_$ac_func=yes"
13670 else
13671 echo "configure: failed program was:" >&5
13672 cat conftest.$ac_ext >&5
13673 rm -rf conftest*
13674 eval "ac_cv_func_$ac_func=no"
13676 rm -f conftest*
13679 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13680 echo "$ac_t""yes" 1>&6
13681 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13682 cat >> confdefs.h <<EOF
13683 #define $ac_tr_func 1
13686 else
13687 echo "$ac_t""no" 1>&6
13689 done
13694 echo $ac_n "checking for _sinhf declaration""... $ac_c" 1>&6
13695 echo "configure:13696: checking for _sinhf declaration" >&5
13696 if eval "test \"`echo '$''{'glibcpp_cv_func__sinhf_use'+set}'`\" = set"; then
13697 echo $ac_n "(cached) $ac_c" 1>&6
13698 else
13701 ac_ext=C
13702 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13703 ac_cpp='$CXXCPP $CPPFLAGS'
13704 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13705 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13706 cross_compiling=$ac_cv_prog_cxx_cross
13708 cat > conftest.$ac_ext <<EOF
13709 #line 13710 "configure"
13710 #include "confdefs.h"
13711 #include <math.h>
13712 int main() {
13713 _sinhf(0);
13714 ; return 0; }
13716 if { (eval echo configure:13717: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13717 rm -rf conftest*
13718 glibcpp_cv_func__sinhf_use=yes
13719 else
13720 echo "configure: failed program was:" >&5
13721 cat conftest.$ac_ext >&5
13722 rm -rf conftest*
13723 glibcpp_cv_func__sinhf_use=no
13725 rm -f conftest*
13726 ac_ext=c
13727 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13728 ac_cpp='$CPP $CPPFLAGS'
13729 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13730 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13731 cross_compiling=$ac_cv_prog_cc_cross
13736 echo "$ac_t""$glibcpp_cv_func__sinhf_use" 1>&6
13737 if test x$glibcpp_cv_func__sinhf_use = x"yes"; then
13738 for ac_func in _sinhf
13740 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13741 echo "configure:13742: checking for $ac_func" >&5
13742 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13743 echo $ac_n "(cached) $ac_c" 1>&6
13744 else
13745 cat > conftest.$ac_ext <<EOF
13746 #line 13747 "configure"
13747 #include "confdefs.h"
13748 /* System header to define __stub macros and hopefully few prototypes,
13749 which can conflict with char $ac_func(); below. */
13750 #include <assert.h>
13751 /* Override any gcc2 internal prototype to avoid an error. */
13752 /* We use char because int might match the return type of a gcc2
13753 builtin and then its argument prototype would still apply. */
13754 char $ac_func();
13756 int main() {
13758 /* The GNU C library defines this for functions which it implements
13759 to always fail with ENOSYS. Some functions are actually named
13760 something starting with __ and the normal name is an alias. */
13761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13762 choke me
13763 #else
13764 $ac_func();
13765 #endif
13767 ; return 0; }
13769 if { (eval echo configure:13770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13770 rm -rf conftest*
13771 eval "ac_cv_func_$ac_func=yes"
13772 else
13773 echo "configure: failed program was:" >&5
13774 cat conftest.$ac_ext >&5
13775 rm -rf conftest*
13776 eval "ac_cv_func_$ac_func=no"
13778 rm -f conftest*
13781 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13782 echo "$ac_t""yes" 1>&6
13783 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13784 cat >> confdefs.h <<EOF
13785 #define $ac_tr_func 1
13788 else
13789 echo "$ac_t""no" 1>&6
13791 done
13796 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
13797 echo "configure:13798: checking for _sqrtf declaration" >&5
13798 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
13799 echo $ac_n "(cached) $ac_c" 1>&6
13800 else
13803 ac_ext=C
13804 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13805 ac_cpp='$CXXCPP $CPPFLAGS'
13806 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13807 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13808 cross_compiling=$ac_cv_prog_cxx_cross
13810 cat > conftest.$ac_ext <<EOF
13811 #line 13812 "configure"
13812 #include "confdefs.h"
13813 #include <math.h>
13814 int main() {
13815 _sqrtf(0);
13816 ; return 0; }
13818 if { (eval echo configure:13819: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13819 rm -rf conftest*
13820 glibcpp_cv_func__sqrtf_use=yes
13821 else
13822 echo "configure: failed program was:" >&5
13823 cat conftest.$ac_ext >&5
13824 rm -rf conftest*
13825 glibcpp_cv_func__sqrtf_use=no
13827 rm -f conftest*
13828 ac_ext=c
13829 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13830 ac_cpp='$CPP $CPPFLAGS'
13831 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13832 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13833 cross_compiling=$ac_cv_prog_cc_cross
13838 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
13839 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
13840 for ac_func in _sqrtf
13842 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13843 echo "configure:13844: checking for $ac_func" >&5
13844 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13845 echo $ac_n "(cached) $ac_c" 1>&6
13846 else
13847 cat > conftest.$ac_ext <<EOF
13848 #line 13849 "configure"
13849 #include "confdefs.h"
13850 /* System header to define __stub macros and hopefully few prototypes,
13851 which can conflict with char $ac_func(); below. */
13852 #include <assert.h>
13853 /* Override any gcc2 internal prototype to avoid an error. */
13854 /* We use char because int might match the return type of a gcc2
13855 builtin and then its argument prototype would still apply. */
13856 char $ac_func();
13858 int main() {
13860 /* The GNU C library defines this for functions which it implements
13861 to always fail with ENOSYS. Some functions are actually named
13862 something starting with __ and the normal name is an alias. */
13863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13864 choke me
13865 #else
13866 $ac_func();
13867 #endif
13869 ; return 0; }
13871 if { (eval echo configure:13872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13872 rm -rf conftest*
13873 eval "ac_cv_func_$ac_func=yes"
13874 else
13875 echo "configure: failed program was:" >&5
13876 cat conftest.$ac_ext >&5
13877 rm -rf conftest*
13878 eval "ac_cv_func_$ac_func=no"
13880 rm -f conftest*
13883 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13884 echo "$ac_t""yes" 1>&6
13885 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13886 cat >> confdefs.h <<EOF
13887 #define $ac_tr_func 1
13890 else
13891 echo "$ac_t""no" 1>&6
13893 done
13898 echo $ac_n "checking for _tanf declaration""... $ac_c" 1>&6
13899 echo "configure:13900: checking for _tanf declaration" >&5
13900 if eval "test \"`echo '$''{'glibcpp_cv_func__tanf_use'+set}'`\" = set"; then
13901 echo $ac_n "(cached) $ac_c" 1>&6
13902 else
13905 ac_ext=C
13906 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13907 ac_cpp='$CXXCPP $CPPFLAGS'
13908 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13909 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13910 cross_compiling=$ac_cv_prog_cxx_cross
13912 cat > conftest.$ac_ext <<EOF
13913 #line 13914 "configure"
13914 #include "confdefs.h"
13915 #include <math.h>
13916 int main() {
13917 _tanf(0);
13918 ; return 0; }
13920 if { (eval echo configure:13921: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13921 rm -rf conftest*
13922 glibcpp_cv_func__tanf_use=yes
13923 else
13924 echo "configure: failed program was:" >&5
13925 cat conftest.$ac_ext >&5
13926 rm -rf conftest*
13927 glibcpp_cv_func__tanf_use=no
13929 rm -f conftest*
13930 ac_ext=c
13931 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13932 ac_cpp='$CPP $CPPFLAGS'
13933 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13934 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13935 cross_compiling=$ac_cv_prog_cc_cross
13940 echo "$ac_t""$glibcpp_cv_func__tanf_use" 1>&6
13941 if test x$glibcpp_cv_func__tanf_use = x"yes"; then
13942 for ac_func in _tanf
13944 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13945 echo "configure:13946: checking for $ac_func" >&5
13946 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13947 echo $ac_n "(cached) $ac_c" 1>&6
13948 else
13949 cat > conftest.$ac_ext <<EOF
13950 #line 13951 "configure"
13951 #include "confdefs.h"
13952 /* System header to define __stub macros and hopefully few prototypes,
13953 which can conflict with char $ac_func(); below. */
13954 #include <assert.h>
13955 /* Override any gcc2 internal prototype to avoid an error. */
13956 /* We use char because int might match the return type of a gcc2
13957 builtin and then its argument prototype would still apply. */
13958 char $ac_func();
13960 int main() {
13962 /* The GNU C library defines this for functions which it implements
13963 to always fail with ENOSYS. Some functions are actually named
13964 something starting with __ and the normal name is an alias. */
13965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13966 choke me
13967 #else
13968 $ac_func();
13969 #endif
13971 ; return 0; }
13973 if { (eval echo configure:13974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13974 rm -rf conftest*
13975 eval "ac_cv_func_$ac_func=yes"
13976 else
13977 echo "configure: failed program was:" >&5
13978 cat conftest.$ac_ext >&5
13979 rm -rf conftest*
13980 eval "ac_cv_func_$ac_func=no"
13982 rm -f conftest*
13985 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13986 echo "$ac_t""yes" 1>&6
13987 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13988 cat >> confdefs.h <<EOF
13989 #define $ac_tr_func 1
13992 else
13993 echo "$ac_t""no" 1>&6
13995 done
14000 echo $ac_n "checking for _tanhf declaration""... $ac_c" 1>&6
14001 echo "configure:14002: checking for _tanhf declaration" >&5
14002 if eval "test \"`echo '$''{'glibcpp_cv_func__tanhf_use'+set}'`\" = set"; then
14003 echo $ac_n "(cached) $ac_c" 1>&6
14004 else
14007 ac_ext=C
14008 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14009 ac_cpp='$CXXCPP $CPPFLAGS'
14010 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14011 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14012 cross_compiling=$ac_cv_prog_cxx_cross
14014 cat > conftest.$ac_ext <<EOF
14015 #line 14016 "configure"
14016 #include "confdefs.h"
14017 #include <math.h>
14018 int main() {
14019 _tanhf(0);
14020 ; return 0; }
14022 if { (eval echo configure:14023: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14023 rm -rf conftest*
14024 glibcpp_cv_func__tanhf_use=yes
14025 else
14026 echo "configure: failed program was:" >&5
14027 cat conftest.$ac_ext >&5
14028 rm -rf conftest*
14029 glibcpp_cv_func__tanhf_use=no
14031 rm -f conftest*
14032 ac_ext=c
14033 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14034 ac_cpp='$CPP $CPPFLAGS'
14035 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14036 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14037 cross_compiling=$ac_cv_prog_cc_cross
14042 echo "$ac_t""$glibcpp_cv_func__tanhf_use" 1>&6
14043 if test x$glibcpp_cv_func__tanhf_use = x"yes"; then
14044 for ac_func in _tanhf
14046 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14047 echo "configure:14048: checking for $ac_func" >&5
14048 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14049 echo $ac_n "(cached) $ac_c" 1>&6
14050 else
14051 cat > conftest.$ac_ext <<EOF
14052 #line 14053 "configure"
14053 #include "confdefs.h"
14054 /* System header to define __stub macros and hopefully few prototypes,
14055 which can conflict with char $ac_func(); below. */
14056 #include <assert.h>
14057 /* Override any gcc2 internal prototype to avoid an error. */
14058 /* We use char because int might match the return type of a gcc2
14059 builtin and then its argument prototype would still apply. */
14060 char $ac_func();
14062 int main() {
14064 /* The GNU C library defines this for functions which it implements
14065 to always fail with ENOSYS. Some functions are actually named
14066 something starting with __ and the normal name is an alias. */
14067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14068 choke me
14069 #else
14070 $ac_func();
14071 #endif
14073 ; return 0; }
14075 if { (eval echo configure:14076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14076 rm -rf conftest*
14077 eval "ac_cv_func_$ac_func=yes"
14078 else
14079 echo "configure: failed program was:" >&5
14080 cat conftest.$ac_ext >&5
14081 rm -rf conftest*
14082 eval "ac_cv_func_$ac_func=no"
14084 rm -f conftest*
14087 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14088 echo "$ac_t""yes" 1>&6
14089 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14090 cat >> confdefs.h <<EOF
14091 #define $ac_tr_func 1
14094 else
14095 echo "$ac_t""no" 1>&6
14097 done
14102 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
14103 echo "configure:14104: checking for _sincosf declaration" >&5
14104 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
14105 echo $ac_n "(cached) $ac_c" 1>&6
14106 else
14109 ac_ext=C
14110 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14111 ac_cpp='$CXXCPP $CPPFLAGS'
14112 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14113 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14114 cross_compiling=$ac_cv_prog_cxx_cross
14116 cat > conftest.$ac_ext <<EOF
14117 #line 14118 "configure"
14118 #include "confdefs.h"
14119 #include <math.h>
14120 int main() {
14121 _sincosf(0, 0, 0);
14122 ; return 0; }
14124 if { (eval echo configure:14125: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14125 rm -rf conftest*
14126 glibcpp_cv_func__sincosf_use=yes
14127 else
14128 echo "configure: failed program was:" >&5
14129 cat conftest.$ac_ext >&5
14130 rm -rf conftest*
14131 glibcpp_cv_func__sincosf_use=no
14133 rm -f conftest*
14134 ac_ext=c
14135 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14136 ac_cpp='$CPP $CPPFLAGS'
14137 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14138 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14139 cross_compiling=$ac_cv_prog_cc_cross
14144 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
14145 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
14146 for ac_func in _sincosf
14148 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14149 echo "configure:14150: checking for $ac_func" >&5
14150 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14151 echo $ac_n "(cached) $ac_c" 1>&6
14152 else
14153 cat > conftest.$ac_ext <<EOF
14154 #line 14155 "configure"
14155 #include "confdefs.h"
14156 /* System header to define __stub macros and hopefully few prototypes,
14157 which can conflict with char $ac_func(); below. */
14158 #include <assert.h>
14159 /* Override any gcc2 internal prototype to avoid an error. */
14160 /* We use char because int might match the return type of a gcc2
14161 builtin and then its argument prototype would still apply. */
14162 char $ac_func();
14164 int main() {
14166 /* The GNU C library defines this for functions which it implements
14167 to always fail with ENOSYS. Some functions are actually named
14168 something starting with __ and the normal name is an alias. */
14169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14170 choke me
14171 #else
14172 $ac_func();
14173 #endif
14175 ; return 0; }
14177 if { (eval echo configure:14178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14178 rm -rf conftest*
14179 eval "ac_cv_func_$ac_func=yes"
14180 else
14181 echo "configure: failed program was:" >&5
14182 cat conftest.$ac_ext >&5
14183 rm -rf conftest*
14184 eval "ac_cv_func_$ac_func=no"
14186 rm -f conftest*
14189 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14190 echo "$ac_t""yes" 1>&6
14191 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14192 cat >> confdefs.h <<EOF
14193 #define $ac_tr_func 1
14196 else
14197 echo "$ac_t""no" 1>&6
14199 done
14204 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
14205 echo "configure:14206: checking for _finitef declaration" >&5
14206 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
14207 echo $ac_n "(cached) $ac_c" 1>&6
14208 else
14211 ac_ext=C
14212 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14213 ac_cpp='$CXXCPP $CPPFLAGS'
14214 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14215 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14216 cross_compiling=$ac_cv_prog_cxx_cross
14218 cat > conftest.$ac_ext <<EOF
14219 #line 14220 "configure"
14220 #include "confdefs.h"
14221 #include <math.h>
14222 int main() {
14223 _finitef(0);
14224 ; return 0; }
14226 if { (eval echo configure:14227: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14227 rm -rf conftest*
14228 glibcpp_cv_func__finitef_use=yes
14229 else
14230 echo "configure: failed program was:" >&5
14231 cat conftest.$ac_ext >&5
14232 rm -rf conftest*
14233 glibcpp_cv_func__finitef_use=no
14235 rm -f conftest*
14236 ac_ext=c
14237 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14238 ac_cpp='$CPP $CPPFLAGS'
14239 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14240 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14241 cross_compiling=$ac_cv_prog_cc_cross
14246 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
14247 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
14248 for ac_func in _finitef
14250 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14251 echo "configure:14252: checking for $ac_func" >&5
14252 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14253 echo $ac_n "(cached) $ac_c" 1>&6
14254 else
14255 cat > conftest.$ac_ext <<EOF
14256 #line 14257 "configure"
14257 #include "confdefs.h"
14258 /* System header to define __stub macros and hopefully few prototypes,
14259 which can conflict with char $ac_func(); below. */
14260 #include <assert.h>
14261 /* Override any gcc2 internal prototype to avoid an error. */
14262 /* We use char because int might match the return type of a gcc2
14263 builtin and then its argument prototype would still apply. */
14264 char $ac_func();
14266 int main() {
14268 /* The GNU C library defines this for functions which it implements
14269 to always fail with ENOSYS. Some functions are actually named
14270 something starting with __ and the normal name is an alias. */
14271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14272 choke me
14273 #else
14274 $ac_func();
14275 #endif
14277 ; return 0; }
14279 if { (eval echo configure:14280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14280 rm -rf conftest*
14281 eval "ac_cv_func_$ac_func=yes"
14282 else
14283 echo "configure: failed program was:" >&5
14284 cat conftest.$ac_ext >&5
14285 rm -rf conftest*
14286 eval "ac_cv_func_$ac_func=no"
14288 rm -f conftest*
14291 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14292 echo "$ac_t""yes" 1>&6
14293 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14294 cat >> confdefs.h <<EOF
14295 #define $ac_tr_func 1
14298 else
14299 echo "$ac_t""no" 1>&6
14301 done
14307 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
14308 echo "configure:14309: checking for _isnanl declaration" >&5
14309 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
14310 echo $ac_n "(cached) $ac_c" 1>&6
14311 else
14314 ac_ext=C
14315 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14316 ac_cpp='$CXXCPP $CPPFLAGS'
14317 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14318 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14319 cross_compiling=$ac_cv_prog_cxx_cross
14321 cat > conftest.$ac_ext <<EOF
14322 #line 14323 "configure"
14323 #include "confdefs.h"
14324 #include <math.h>
14325 int main() {
14326 _isnanl(0);
14327 ; return 0; }
14329 if { (eval echo configure:14330: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14330 rm -rf conftest*
14331 glibcpp_cv_func__isnanl_use=yes
14332 else
14333 echo "configure: failed program was:" >&5
14334 cat conftest.$ac_ext >&5
14335 rm -rf conftest*
14336 glibcpp_cv_func__isnanl_use=no
14338 rm -f conftest*
14339 ac_ext=c
14340 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14341 ac_cpp='$CPP $CPPFLAGS'
14342 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14343 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14344 cross_compiling=$ac_cv_prog_cc_cross
14349 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
14350 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
14351 for ac_func in _isnanl
14353 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14354 echo "configure:14355: checking for $ac_func" >&5
14355 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14356 echo $ac_n "(cached) $ac_c" 1>&6
14357 else
14358 cat > conftest.$ac_ext <<EOF
14359 #line 14360 "configure"
14360 #include "confdefs.h"
14361 /* System header to define __stub macros and hopefully few prototypes,
14362 which can conflict with char $ac_func(); below. */
14363 #include <assert.h>
14364 /* Override any gcc2 internal prototype to avoid an error. */
14365 /* We use char because int might match the return type of a gcc2
14366 builtin and then its argument prototype would still apply. */
14367 char $ac_func();
14369 int main() {
14371 /* The GNU C library defines this for functions which it implements
14372 to always fail with ENOSYS. Some functions are actually named
14373 something starting with __ and the normal name is an alias. */
14374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14375 choke me
14376 #else
14377 $ac_func();
14378 #endif
14380 ; return 0; }
14382 if { (eval echo configure:14383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14383 rm -rf conftest*
14384 eval "ac_cv_func_$ac_func=yes"
14385 else
14386 echo "configure: failed program was:" >&5
14387 cat conftest.$ac_ext >&5
14388 rm -rf conftest*
14389 eval "ac_cv_func_$ac_func=no"
14391 rm -f conftest*
14394 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14395 echo "$ac_t""yes" 1>&6
14396 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14397 cat >> confdefs.h <<EOF
14398 #define $ac_tr_func 1
14401 else
14402 echo "$ac_t""no" 1>&6
14404 done
14409 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
14410 echo "configure:14411: checking for _isinfl declaration" >&5
14411 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
14412 echo $ac_n "(cached) $ac_c" 1>&6
14413 else
14416 ac_ext=C
14417 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14418 ac_cpp='$CXXCPP $CPPFLAGS'
14419 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14420 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14421 cross_compiling=$ac_cv_prog_cxx_cross
14423 cat > conftest.$ac_ext <<EOF
14424 #line 14425 "configure"
14425 #include "confdefs.h"
14426 #include <math.h>
14427 int main() {
14428 _isinfl(0);
14429 ; return 0; }
14431 if { (eval echo configure:14432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14432 rm -rf conftest*
14433 glibcpp_cv_func__isinfl_use=yes
14434 else
14435 echo "configure: failed program was:" >&5
14436 cat conftest.$ac_ext >&5
14437 rm -rf conftest*
14438 glibcpp_cv_func__isinfl_use=no
14440 rm -f conftest*
14441 ac_ext=c
14442 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14443 ac_cpp='$CPP $CPPFLAGS'
14444 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14445 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14446 cross_compiling=$ac_cv_prog_cc_cross
14451 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
14452 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
14453 for ac_func in _isinfl
14455 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14456 echo "configure:14457: checking for $ac_func" >&5
14457 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14458 echo $ac_n "(cached) $ac_c" 1>&6
14459 else
14460 cat > conftest.$ac_ext <<EOF
14461 #line 14462 "configure"
14462 #include "confdefs.h"
14463 /* System header to define __stub macros and hopefully few prototypes,
14464 which can conflict with char $ac_func(); below. */
14465 #include <assert.h>
14466 /* Override any gcc2 internal prototype to avoid an error. */
14467 /* We use char because int might match the return type of a gcc2
14468 builtin and then its argument prototype would still apply. */
14469 char $ac_func();
14471 int main() {
14473 /* The GNU C library defines this for functions which it implements
14474 to always fail with ENOSYS. Some functions are actually named
14475 something starting with __ and the normal name is an alias. */
14476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14477 choke me
14478 #else
14479 $ac_func();
14480 #endif
14482 ; return 0; }
14484 if { (eval echo configure:14485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14485 rm -rf conftest*
14486 eval "ac_cv_func_$ac_func=yes"
14487 else
14488 echo "configure: failed program was:" >&5
14489 cat conftest.$ac_ext >&5
14490 rm -rf conftest*
14491 eval "ac_cv_func_$ac_func=no"
14493 rm -f conftest*
14496 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14497 echo "$ac_t""yes" 1>&6
14498 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14499 cat >> confdefs.h <<EOF
14500 #define $ac_tr_func 1
14503 else
14504 echo "$ac_t""no" 1>&6
14506 done
14511 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
14512 echo "configure:14513: checking for _copysignl declaration" >&5
14513 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
14514 echo $ac_n "(cached) $ac_c" 1>&6
14515 else
14518 ac_ext=C
14519 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14520 ac_cpp='$CXXCPP $CPPFLAGS'
14521 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14522 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14523 cross_compiling=$ac_cv_prog_cxx_cross
14525 cat > conftest.$ac_ext <<EOF
14526 #line 14527 "configure"
14527 #include "confdefs.h"
14528 #include <math.h>
14529 int main() {
14530 _copysignl(0, 0);
14531 ; return 0; }
14533 if { (eval echo configure:14534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14534 rm -rf conftest*
14535 glibcpp_cv_func__copysignl_use=yes
14536 else
14537 echo "configure: failed program was:" >&5
14538 cat conftest.$ac_ext >&5
14539 rm -rf conftest*
14540 glibcpp_cv_func__copysignl_use=no
14542 rm -f conftest*
14543 ac_ext=c
14544 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14545 ac_cpp='$CPP $CPPFLAGS'
14546 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14547 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14548 cross_compiling=$ac_cv_prog_cc_cross
14553 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
14554 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
14555 for ac_func in _copysignl
14557 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14558 echo "configure:14559: checking for $ac_func" >&5
14559 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14560 echo $ac_n "(cached) $ac_c" 1>&6
14561 else
14562 cat > conftest.$ac_ext <<EOF
14563 #line 14564 "configure"
14564 #include "confdefs.h"
14565 /* System header to define __stub macros and hopefully few prototypes,
14566 which can conflict with char $ac_func(); below. */
14567 #include <assert.h>
14568 /* Override any gcc2 internal prototype to avoid an error. */
14569 /* We use char because int might match the return type of a gcc2
14570 builtin and then its argument prototype would still apply. */
14571 char $ac_func();
14573 int main() {
14575 /* The GNU C library defines this for functions which it implements
14576 to always fail with ENOSYS. Some functions are actually named
14577 something starting with __ and the normal name is an alias. */
14578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14579 choke me
14580 #else
14581 $ac_func();
14582 #endif
14584 ; return 0; }
14586 if { (eval echo configure:14587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14587 rm -rf conftest*
14588 eval "ac_cv_func_$ac_func=yes"
14589 else
14590 echo "configure: failed program was:" >&5
14591 cat conftest.$ac_ext >&5
14592 rm -rf conftest*
14593 eval "ac_cv_func_$ac_func=no"
14595 rm -f conftest*
14598 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14599 echo "$ac_t""yes" 1>&6
14600 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14601 cat >> confdefs.h <<EOF
14602 #define $ac_tr_func 1
14605 else
14606 echo "$ac_t""no" 1>&6
14608 done
14613 echo $ac_n "checking for _acosl declaration""... $ac_c" 1>&6
14614 echo "configure:14615: checking for _acosl declaration" >&5
14615 if eval "test \"`echo '$''{'glibcpp_cv_func__acosl_use'+set}'`\" = set"; then
14616 echo $ac_n "(cached) $ac_c" 1>&6
14617 else
14620 ac_ext=C
14621 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14622 ac_cpp='$CXXCPP $CPPFLAGS'
14623 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14624 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14625 cross_compiling=$ac_cv_prog_cxx_cross
14627 cat > conftest.$ac_ext <<EOF
14628 #line 14629 "configure"
14629 #include "confdefs.h"
14630 #include <math.h>
14631 int main() {
14632 _acosl(0);
14633 ; return 0; }
14635 if { (eval echo configure:14636: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14636 rm -rf conftest*
14637 glibcpp_cv_func__acosl_use=yes
14638 else
14639 echo "configure: failed program was:" >&5
14640 cat conftest.$ac_ext >&5
14641 rm -rf conftest*
14642 glibcpp_cv_func__acosl_use=no
14644 rm -f conftest*
14645 ac_ext=c
14646 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14647 ac_cpp='$CPP $CPPFLAGS'
14648 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14649 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14650 cross_compiling=$ac_cv_prog_cc_cross
14655 echo "$ac_t""$glibcpp_cv_func__acosl_use" 1>&6
14656 if test x$glibcpp_cv_func__acosl_use = x"yes"; then
14657 for ac_func in _acosl
14659 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14660 echo "configure:14661: checking for $ac_func" >&5
14661 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14662 echo $ac_n "(cached) $ac_c" 1>&6
14663 else
14664 cat > conftest.$ac_ext <<EOF
14665 #line 14666 "configure"
14666 #include "confdefs.h"
14667 /* System header to define __stub macros and hopefully few prototypes,
14668 which can conflict with char $ac_func(); below. */
14669 #include <assert.h>
14670 /* Override any gcc2 internal prototype to avoid an error. */
14671 /* We use char because int might match the return type of a gcc2
14672 builtin and then its argument prototype would still apply. */
14673 char $ac_func();
14675 int main() {
14677 /* The GNU C library defines this for functions which it implements
14678 to always fail with ENOSYS. Some functions are actually named
14679 something starting with __ and the normal name is an alias. */
14680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14681 choke me
14682 #else
14683 $ac_func();
14684 #endif
14686 ; return 0; }
14688 if { (eval echo configure:14689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14689 rm -rf conftest*
14690 eval "ac_cv_func_$ac_func=yes"
14691 else
14692 echo "configure: failed program was:" >&5
14693 cat conftest.$ac_ext >&5
14694 rm -rf conftest*
14695 eval "ac_cv_func_$ac_func=no"
14697 rm -f conftest*
14700 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14701 echo "$ac_t""yes" 1>&6
14702 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14703 cat >> confdefs.h <<EOF
14704 #define $ac_tr_func 1
14707 else
14708 echo "$ac_t""no" 1>&6
14710 done
14715 echo $ac_n "checking for _asinl declaration""... $ac_c" 1>&6
14716 echo "configure:14717: checking for _asinl declaration" >&5
14717 if eval "test \"`echo '$''{'glibcpp_cv_func__asinl_use'+set}'`\" = set"; then
14718 echo $ac_n "(cached) $ac_c" 1>&6
14719 else
14722 ac_ext=C
14723 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14724 ac_cpp='$CXXCPP $CPPFLAGS'
14725 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14726 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14727 cross_compiling=$ac_cv_prog_cxx_cross
14729 cat > conftest.$ac_ext <<EOF
14730 #line 14731 "configure"
14731 #include "confdefs.h"
14732 #include <math.h>
14733 int main() {
14734 _asinl(0);
14735 ; return 0; }
14737 if { (eval echo configure:14738: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14738 rm -rf conftest*
14739 glibcpp_cv_func__asinl_use=yes
14740 else
14741 echo "configure: failed program was:" >&5
14742 cat conftest.$ac_ext >&5
14743 rm -rf conftest*
14744 glibcpp_cv_func__asinl_use=no
14746 rm -f conftest*
14747 ac_ext=c
14748 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14749 ac_cpp='$CPP $CPPFLAGS'
14750 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14751 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14752 cross_compiling=$ac_cv_prog_cc_cross
14757 echo "$ac_t""$glibcpp_cv_func__asinl_use" 1>&6
14758 if test x$glibcpp_cv_func__asinl_use = x"yes"; then
14759 for ac_func in _asinl
14761 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14762 echo "configure:14763: checking for $ac_func" >&5
14763 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14764 echo $ac_n "(cached) $ac_c" 1>&6
14765 else
14766 cat > conftest.$ac_ext <<EOF
14767 #line 14768 "configure"
14768 #include "confdefs.h"
14769 /* System header to define __stub macros and hopefully few prototypes,
14770 which can conflict with char $ac_func(); below. */
14771 #include <assert.h>
14772 /* Override any gcc2 internal prototype to avoid an error. */
14773 /* We use char because int might match the return type of a gcc2
14774 builtin and then its argument prototype would still apply. */
14775 char $ac_func();
14777 int main() {
14779 /* The GNU C library defines this for functions which it implements
14780 to always fail with ENOSYS. Some functions are actually named
14781 something starting with __ and the normal name is an alias. */
14782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14783 choke me
14784 #else
14785 $ac_func();
14786 #endif
14788 ; return 0; }
14790 if { (eval echo configure:14791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14791 rm -rf conftest*
14792 eval "ac_cv_func_$ac_func=yes"
14793 else
14794 echo "configure: failed program was:" >&5
14795 cat conftest.$ac_ext >&5
14796 rm -rf conftest*
14797 eval "ac_cv_func_$ac_func=no"
14799 rm -f conftest*
14802 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14803 echo "$ac_t""yes" 1>&6
14804 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14805 cat >> confdefs.h <<EOF
14806 #define $ac_tr_func 1
14809 else
14810 echo "$ac_t""no" 1>&6
14812 done
14817 echo $ac_n "checking for _atanl declaration""... $ac_c" 1>&6
14818 echo "configure:14819: checking for _atanl declaration" >&5
14819 if eval "test \"`echo '$''{'glibcpp_cv_func__atanl_use'+set}'`\" = set"; then
14820 echo $ac_n "(cached) $ac_c" 1>&6
14821 else
14824 ac_ext=C
14825 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14826 ac_cpp='$CXXCPP $CPPFLAGS'
14827 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14828 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14829 cross_compiling=$ac_cv_prog_cxx_cross
14831 cat > conftest.$ac_ext <<EOF
14832 #line 14833 "configure"
14833 #include "confdefs.h"
14834 #include <math.h>
14835 int main() {
14836 _atanl(0);
14837 ; return 0; }
14839 if { (eval echo configure:14840: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14840 rm -rf conftest*
14841 glibcpp_cv_func__atanl_use=yes
14842 else
14843 echo "configure: failed program was:" >&5
14844 cat conftest.$ac_ext >&5
14845 rm -rf conftest*
14846 glibcpp_cv_func__atanl_use=no
14848 rm -f conftest*
14849 ac_ext=c
14850 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14851 ac_cpp='$CPP $CPPFLAGS'
14852 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14853 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14854 cross_compiling=$ac_cv_prog_cc_cross
14859 echo "$ac_t""$glibcpp_cv_func__atanl_use" 1>&6
14860 if test x$glibcpp_cv_func__atanl_use = x"yes"; then
14861 for ac_func in _atanl
14863 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14864 echo "configure:14865: checking for $ac_func" >&5
14865 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14866 echo $ac_n "(cached) $ac_c" 1>&6
14867 else
14868 cat > conftest.$ac_ext <<EOF
14869 #line 14870 "configure"
14870 #include "confdefs.h"
14871 /* System header to define __stub macros and hopefully few prototypes,
14872 which can conflict with char $ac_func(); below. */
14873 #include <assert.h>
14874 /* Override any gcc2 internal prototype to avoid an error. */
14875 /* We use char because int might match the return type of a gcc2
14876 builtin and then its argument prototype would still apply. */
14877 char $ac_func();
14879 int main() {
14881 /* The GNU C library defines this for functions which it implements
14882 to always fail with ENOSYS. Some functions are actually named
14883 something starting with __ and the normal name is an alias. */
14884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14885 choke me
14886 #else
14887 $ac_func();
14888 #endif
14890 ; return 0; }
14892 if { (eval echo configure:14893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14893 rm -rf conftest*
14894 eval "ac_cv_func_$ac_func=yes"
14895 else
14896 echo "configure: failed program was:" >&5
14897 cat conftest.$ac_ext >&5
14898 rm -rf conftest*
14899 eval "ac_cv_func_$ac_func=no"
14901 rm -f conftest*
14904 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14905 echo "$ac_t""yes" 1>&6
14906 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14907 cat >> confdefs.h <<EOF
14908 #define $ac_tr_func 1
14911 else
14912 echo "$ac_t""no" 1>&6
14914 done
14919 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
14920 echo "configure:14921: checking for _atan2l declaration" >&5
14921 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
14922 echo $ac_n "(cached) $ac_c" 1>&6
14923 else
14926 ac_ext=C
14927 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14928 ac_cpp='$CXXCPP $CPPFLAGS'
14929 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14930 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14931 cross_compiling=$ac_cv_prog_cxx_cross
14933 cat > conftest.$ac_ext <<EOF
14934 #line 14935 "configure"
14935 #include "confdefs.h"
14936 #include <math.h>
14937 int main() {
14938 _atan2l(0, 0);
14939 ; return 0; }
14941 if { (eval echo configure:14942: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14942 rm -rf conftest*
14943 glibcpp_cv_func__atan2l_use=yes
14944 else
14945 echo "configure: failed program was:" >&5
14946 cat conftest.$ac_ext >&5
14947 rm -rf conftest*
14948 glibcpp_cv_func__atan2l_use=no
14950 rm -f conftest*
14951 ac_ext=c
14952 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14953 ac_cpp='$CPP $CPPFLAGS'
14954 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14955 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14956 cross_compiling=$ac_cv_prog_cc_cross
14961 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
14962 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
14963 for ac_func in _atan2l
14965 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14966 echo "configure:14967: checking for $ac_func" >&5
14967 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14968 echo $ac_n "(cached) $ac_c" 1>&6
14969 else
14970 cat > conftest.$ac_ext <<EOF
14971 #line 14972 "configure"
14972 #include "confdefs.h"
14973 /* System header to define __stub macros and hopefully few prototypes,
14974 which can conflict with char $ac_func(); below. */
14975 #include <assert.h>
14976 /* Override any gcc2 internal prototype to avoid an error. */
14977 /* We use char because int might match the return type of a gcc2
14978 builtin and then its argument prototype would still apply. */
14979 char $ac_func();
14981 int main() {
14983 /* The GNU C library defines this for functions which it implements
14984 to always fail with ENOSYS. Some functions are actually named
14985 something starting with __ and the normal name is an alias. */
14986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14987 choke me
14988 #else
14989 $ac_func();
14990 #endif
14992 ; return 0; }
14994 if { (eval echo configure:14995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14995 rm -rf conftest*
14996 eval "ac_cv_func_$ac_func=yes"
14997 else
14998 echo "configure: failed program was:" >&5
14999 cat conftest.$ac_ext >&5
15000 rm -rf conftest*
15001 eval "ac_cv_func_$ac_func=no"
15003 rm -f conftest*
15006 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15007 echo "$ac_t""yes" 1>&6
15008 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15009 cat >> confdefs.h <<EOF
15010 #define $ac_tr_func 1
15013 else
15014 echo "$ac_t""no" 1>&6
15016 done
15021 echo $ac_n "checking for _ceill declaration""... $ac_c" 1>&6
15022 echo "configure:15023: checking for _ceill declaration" >&5
15023 if eval "test \"`echo '$''{'glibcpp_cv_func__ceill_use'+set}'`\" = set"; then
15024 echo $ac_n "(cached) $ac_c" 1>&6
15025 else
15028 ac_ext=C
15029 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15030 ac_cpp='$CXXCPP $CPPFLAGS'
15031 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15032 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15033 cross_compiling=$ac_cv_prog_cxx_cross
15035 cat > conftest.$ac_ext <<EOF
15036 #line 15037 "configure"
15037 #include "confdefs.h"
15038 #include <math.h>
15039 int main() {
15040 _ceill(0);
15041 ; return 0; }
15043 if { (eval echo configure:15044: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15044 rm -rf conftest*
15045 glibcpp_cv_func__ceill_use=yes
15046 else
15047 echo "configure: failed program was:" >&5
15048 cat conftest.$ac_ext >&5
15049 rm -rf conftest*
15050 glibcpp_cv_func__ceill_use=no
15052 rm -f conftest*
15053 ac_ext=c
15054 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15055 ac_cpp='$CPP $CPPFLAGS'
15056 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15057 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15058 cross_compiling=$ac_cv_prog_cc_cross
15063 echo "$ac_t""$glibcpp_cv_func__ceill_use" 1>&6
15064 if test x$glibcpp_cv_func__ceill_use = x"yes"; then
15065 for ac_func in _ceill
15067 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15068 echo "configure:15069: checking for $ac_func" >&5
15069 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15070 echo $ac_n "(cached) $ac_c" 1>&6
15071 else
15072 cat > conftest.$ac_ext <<EOF
15073 #line 15074 "configure"
15074 #include "confdefs.h"
15075 /* System header to define __stub macros and hopefully few prototypes,
15076 which can conflict with char $ac_func(); below. */
15077 #include <assert.h>
15078 /* Override any gcc2 internal prototype to avoid an error. */
15079 /* We use char because int might match the return type of a gcc2
15080 builtin and then its argument prototype would still apply. */
15081 char $ac_func();
15083 int main() {
15085 /* The GNU C library defines this for functions which it implements
15086 to always fail with ENOSYS. Some functions are actually named
15087 something starting with __ and the normal name is an alias. */
15088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15089 choke me
15090 #else
15091 $ac_func();
15092 #endif
15094 ; return 0; }
15096 if { (eval echo configure:15097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15097 rm -rf conftest*
15098 eval "ac_cv_func_$ac_func=yes"
15099 else
15100 echo "configure: failed program was:" >&5
15101 cat conftest.$ac_ext >&5
15102 rm -rf conftest*
15103 eval "ac_cv_func_$ac_func=no"
15105 rm -f conftest*
15108 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15109 echo "$ac_t""yes" 1>&6
15110 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15111 cat >> confdefs.h <<EOF
15112 #define $ac_tr_func 1
15115 else
15116 echo "$ac_t""no" 1>&6
15118 done
15123 echo $ac_n "checking for _cosl declaration""... $ac_c" 1>&6
15124 echo "configure:15125: checking for _cosl declaration" >&5
15125 if eval "test \"`echo '$''{'glibcpp_cv_func__cosl_use'+set}'`\" = set"; then
15126 echo $ac_n "(cached) $ac_c" 1>&6
15127 else
15130 ac_ext=C
15131 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15132 ac_cpp='$CXXCPP $CPPFLAGS'
15133 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15134 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15135 cross_compiling=$ac_cv_prog_cxx_cross
15137 cat > conftest.$ac_ext <<EOF
15138 #line 15139 "configure"
15139 #include "confdefs.h"
15140 #include <math.h>
15141 int main() {
15142 _cosl(0);
15143 ; return 0; }
15145 if { (eval echo configure:15146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15146 rm -rf conftest*
15147 glibcpp_cv_func__cosl_use=yes
15148 else
15149 echo "configure: failed program was:" >&5
15150 cat conftest.$ac_ext >&5
15151 rm -rf conftest*
15152 glibcpp_cv_func__cosl_use=no
15154 rm -f conftest*
15155 ac_ext=c
15156 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15157 ac_cpp='$CPP $CPPFLAGS'
15158 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15159 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15160 cross_compiling=$ac_cv_prog_cc_cross
15165 echo "$ac_t""$glibcpp_cv_func__cosl_use" 1>&6
15166 if test x$glibcpp_cv_func__cosl_use = x"yes"; then
15167 for ac_func in _cosl
15169 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15170 echo "configure:15171: checking for $ac_func" >&5
15171 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15172 echo $ac_n "(cached) $ac_c" 1>&6
15173 else
15174 cat > conftest.$ac_ext <<EOF
15175 #line 15176 "configure"
15176 #include "confdefs.h"
15177 /* System header to define __stub macros and hopefully few prototypes,
15178 which can conflict with char $ac_func(); below. */
15179 #include <assert.h>
15180 /* Override any gcc2 internal prototype to avoid an error. */
15181 /* We use char because int might match the return type of a gcc2
15182 builtin and then its argument prototype would still apply. */
15183 char $ac_func();
15185 int main() {
15187 /* The GNU C library defines this for functions which it implements
15188 to always fail with ENOSYS. Some functions are actually named
15189 something starting with __ and the normal name is an alias. */
15190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15191 choke me
15192 #else
15193 $ac_func();
15194 #endif
15196 ; return 0; }
15198 if { (eval echo configure:15199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15199 rm -rf conftest*
15200 eval "ac_cv_func_$ac_func=yes"
15201 else
15202 echo "configure: failed program was:" >&5
15203 cat conftest.$ac_ext >&5
15204 rm -rf conftest*
15205 eval "ac_cv_func_$ac_func=no"
15207 rm -f conftest*
15210 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15211 echo "$ac_t""yes" 1>&6
15212 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15213 cat >> confdefs.h <<EOF
15214 #define $ac_tr_func 1
15217 else
15218 echo "$ac_t""no" 1>&6
15220 done
15225 echo $ac_n "checking for _coshl declaration""... $ac_c" 1>&6
15226 echo "configure:15227: checking for _coshl declaration" >&5
15227 if eval "test \"`echo '$''{'glibcpp_cv_func__coshl_use'+set}'`\" = set"; then
15228 echo $ac_n "(cached) $ac_c" 1>&6
15229 else
15232 ac_ext=C
15233 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15234 ac_cpp='$CXXCPP $CPPFLAGS'
15235 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15236 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15237 cross_compiling=$ac_cv_prog_cxx_cross
15239 cat > conftest.$ac_ext <<EOF
15240 #line 15241 "configure"
15241 #include "confdefs.h"
15242 #include <math.h>
15243 int main() {
15244 _coshl(0);
15245 ; return 0; }
15247 if { (eval echo configure:15248: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15248 rm -rf conftest*
15249 glibcpp_cv_func__coshl_use=yes
15250 else
15251 echo "configure: failed program was:" >&5
15252 cat conftest.$ac_ext >&5
15253 rm -rf conftest*
15254 glibcpp_cv_func__coshl_use=no
15256 rm -f conftest*
15257 ac_ext=c
15258 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15259 ac_cpp='$CPP $CPPFLAGS'
15260 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15261 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15262 cross_compiling=$ac_cv_prog_cc_cross
15267 echo "$ac_t""$glibcpp_cv_func__coshl_use" 1>&6
15268 if test x$glibcpp_cv_func__coshl_use = x"yes"; then
15269 for ac_func in _coshl
15271 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15272 echo "configure:15273: checking for $ac_func" >&5
15273 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15274 echo $ac_n "(cached) $ac_c" 1>&6
15275 else
15276 cat > conftest.$ac_ext <<EOF
15277 #line 15278 "configure"
15278 #include "confdefs.h"
15279 /* System header to define __stub macros and hopefully few prototypes,
15280 which can conflict with char $ac_func(); below. */
15281 #include <assert.h>
15282 /* Override any gcc2 internal prototype to avoid an error. */
15283 /* We use char because int might match the return type of a gcc2
15284 builtin and then its argument prototype would still apply. */
15285 char $ac_func();
15287 int main() {
15289 /* The GNU C library defines this for functions which it implements
15290 to always fail with ENOSYS. Some functions are actually named
15291 something starting with __ and the normal name is an alias. */
15292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15293 choke me
15294 #else
15295 $ac_func();
15296 #endif
15298 ; return 0; }
15300 if { (eval echo configure:15301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15301 rm -rf conftest*
15302 eval "ac_cv_func_$ac_func=yes"
15303 else
15304 echo "configure: failed program was:" >&5
15305 cat conftest.$ac_ext >&5
15306 rm -rf conftest*
15307 eval "ac_cv_func_$ac_func=no"
15309 rm -f conftest*
15312 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15313 echo "$ac_t""yes" 1>&6
15314 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15315 cat >> confdefs.h <<EOF
15316 #define $ac_tr_func 1
15319 else
15320 echo "$ac_t""no" 1>&6
15322 done
15327 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
15328 echo "configure:15329: checking for _expl declaration" >&5
15329 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
15330 echo $ac_n "(cached) $ac_c" 1>&6
15331 else
15334 ac_ext=C
15335 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15336 ac_cpp='$CXXCPP $CPPFLAGS'
15337 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15338 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15339 cross_compiling=$ac_cv_prog_cxx_cross
15341 cat > conftest.$ac_ext <<EOF
15342 #line 15343 "configure"
15343 #include "confdefs.h"
15344 #include <math.h>
15345 int main() {
15346 _expl(0);
15347 ; return 0; }
15349 if { (eval echo configure:15350: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15350 rm -rf conftest*
15351 glibcpp_cv_func__expl_use=yes
15352 else
15353 echo "configure: failed program was:" >&5
15354 cat conftest.$ac_ext >&5
15355 rm -rf conftest*
15356 glibcpp_cv_func__expl_use=no
15358 rm -f conftest*
15359 ac_ext=c
15360 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15361 ac_cpp='$CPP $CPPFLAGS'
15362 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15363 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15364 cross_compiling=$ac_cv_prog_cc_cross
15369 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
15370 if test x$glibcpp_cv_func__expl_use = x"yes"; then
15371 for ac_func in _expl
15373 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15374 echo "configure:15375: checking for $ac_func" >&5
15375 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15376 echo $ac_n "(cached) $ac_c" 1>&6
15377 else
15378 cat > conftest.$ac_ext <<EOF
15379 #line 15380 "configure"
15380 #include "confdefs.h"
15381 /* System header to define __stub macros and hopefully few prototypes,
15382 which can conflict with char $ac_func(); below. */
15383 #include <assert.h>
15384 /* Override any gcc2 internal prototype to avoid an error. */
15385 /* We use char because int might match the return type of a gcc2
15386 builtin and then its argument prototype would still apply. */
15387 char $ac_func();
15389 int main() {
15391 /* The GNU C library defines this for functions which it implements
15392 to always fail with ENOSYS. Some functions are actually named
15393 something starting with __ and the normal name is an alias. */
15394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15395 choke me
15396 #else
15397 $ac_func();
15398 #endif
15400 ; return 0; }
15402 if { (eval echo configure:15403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15403 rm -rf conftest*
15404 eval "ac_cv_func_$ac_func=yes"
15405 else
15406 echo "configure: failed program was:" >&5
15407 cat conftest.$ac_ext >&5
15408 rm -rf conftest*
15409 eval "ac_cv_func_$ac_func=no"
15411 rm -f conftest*
15414 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15415 echo "$ac_t""yes" 1>&6
15416 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15417 cat >> confdefs.h <<EOF
15418 #define $ac_tr_func 1
15421 else
15422 echo "$ac_t""no" 1>&6
15424 done
15429 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
15430 echo "configure:15431: checking for _fabsl declaration" >&5
15431 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
15432 echo $ac_n "(cached) $ac_c" 1>&6
15433 else
15436 ac_ext=C
15437 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15438 ac_cpp='$CXXCPP $CPPFLAGS'
15439 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15440 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15441 cross_compiling=$ac_cv_prog_cxx_cross
15443 cat > conftest.$ac_ext <<EOF
15444 #line 15445 "configure"
15445 #include "confdefs.h"
15446 #include <math.h>
15447 int main() {
15448 _fabsl(0);
15449 ; return 0; }
15451 if { (eval echo configure:15452: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15452 rm -rf conftest*
15453 glibcpp_cv_func__fabsl_use=yes
15454 else
15455 echo "configure: failed program was:" >&5
15456 cat conftest.$ac_ext >&5
15457 rm -rf conftest*
15458 glibcpp_cv_func__fabsl_use=no
15460 rm -f conftest*
15461 ac_ext=c
15462 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15463 ac_cpp='$CPP $CPPFLAGS'
15464 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15465 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15466 cross_compiling=$ac_cv_prog_cc_cross
15471 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
15472 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
15473 for ac_func in _fabsl
15475 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15476 echo "configure:15477: checking for $ac_func" >&5
15477 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15478 echo $ac_n "(cached) $ac_c" 1>&6
15479 else
15480 cat > conftest.$ac_ext <<EOF
15481 #line 15482 "configure"
15482 #include "confdefs.h"
15483 /* System header to define __stub macros and hopefully few prototypes,
15484 which can conflict with char $ac_func(); below. */
15485 #include <assert.h>
15486 /* Override any gcc2 internal prototype to avoid an error. */
15487 /* We use char because int might match the return type of a gcc2
15488 builtin and then its argument prototype would still apply. */
15489 char $ac_func();
15491 int main() {
15493 /* The GNU C library defines this for functions which it implements
15494 to always fail with ENOSYS. Some functions are actually named
15495 something starting with __ and the normal name is an alias. */
15496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15497 choke me
15498 #else
15499 $ac_func();
15500 #endif
15502 ; return 0; }
15504 if { (eval echo configure:15505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15505 rm -rf conftest*
15506 eval "ac_cv_func_$ac_func=yes"
15507 else
15508 echo "configure: failed program was:" >&5
15509 cat conftest.$ac_ext >&5
15510 rm -rf conftest*
15511 eval "ac_cv_func_$ac_func=no"
15513 rm -f conftest*
15516 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15517 echo "$ac_t""yes" 1>&6
15518 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15519 cat >> confdefs.h <<EOF
15520 #define $ac_tr_func 1
15523 else
15524 echo "$ac_t""no" 1>&6
15526 done
15531 echo $ac_n "checking for _floorl declaration""... $ac_c" 1>&6
15532 echo "configure:15533: checking for _floorl declaration" >&5
15533 if eval "test \"`echo '$''{'glibcpp_cv_func__floorl_use'+set}'`\" = set"; then
15534 echo $ac_n "(cached) $ac_c" 1>&6
15535 else
15538 ac_ext=C
15539 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15540 ac_cpp='$CXXCPP $CPPFLAGS'
15541 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15542 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15543 cross_compiling=$ac_cv_prog_cxx_cross
15545 cat > conftest.$ac_ext <<EOF
15546 #line 15547 "configure"
15547 #include "confdefs.h"
15548 #include <math.h>
15549 int main() {
15550 _floorl(0);
15551 ; return 0; }
15553 if { (eval echo configure:15554: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15554 rm -rf conftest*
15555 glibcpp_cv_func__floorl_use=yes
15556 else
15557 echo "configure: failed program was:" >&5
15558 cat conftest.$ac_ext >&5
15559 rm -rf conftest*
15560 glibcpp_cv_func__floorl_use=no
15562 rm -f conftest*
15563 ac_ext=c
15564 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15565 ac_cpp='$CPP $CPPFLAGS'
15566 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15567 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15568 cross_compiling=$ac_cv_prog_cc_cross
15573 echo "$ac_t""$glibcpp_cv_func__floorl_use" 1>&6
15574 if test x$glibcpp_cv_func__floorl_use = x"yes"; then
15575 for ac_func in _floorl
15577 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15578 echo "configure:15579: checking for $ac_func" >&5
15579 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15580 echo $ac_n "(cached) $ac_c" 1>&6
15581 else
15582 cat > conftest.$ac_ext <<EOF
15583 #line 15584 "configure"
15584 #include "confdefs.h"
15585 /* System header to define __stub macros and hopefully few prototypes,
15586 which can conflict with char $ac_func(); below. */
15587 #include <assert.h>
15588 /* Override any gcc2 internal prototype to avoid an error. */
15589 /* We use char because int might match the return type of a gcc2
15590 builtin and then its argument prototype would still apply. */
15591 char $ac_func();
15593 int main() {
15595 /* The GNU C library defines this for functions which it implements
15596 to always fail with ENOSYS. Some functions are actually named
15597 something starting with __ and the normal name is an alias. */
15598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15599 choke me
15600 #else
15601 $ac_func();
15602 #endif
15604 ; return 0; }
15606 if { (eval echo configure:15607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15607 rm -rf conftest*
15608 eval "ac_cv_func_$ac_func=yes"
15609 else
15610 echo "configure: failed program was:" >&5
15611 cat conftest.$ac_ext >&5
15612 rm -rf conftest*
15613 eval "ac_cv_func_$ac_func=no"
15615 rm -f conftest*
15618 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15619 echo "$ac_t""yes" 1>&6
15620 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15621 cat >> confdefs.h <<EOF
15622 #define $ac_tr_func 1
15625 else
15626 echo "$ac_t""no" 1>&6
15628 done
15633 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
15634 echo "configure:15635: checking for _fmodl declaration" >&5
15635 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
15636 echo $ac_n "(cached) $ac_c" 1>&6
15637 else
15640 ac_ext=C
15641 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15642 ac_cpp='$CXXCPP $CPPFLAGS'
15643 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15644 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15645 cross_compiling=$ac_cv_prog_cxx_cross
15647 cat > conftest.$ac_ext <<EOF
15648 #line 15649 "configure"
15649 #include "confdefs.h"
15650 #include <math.h>
15651 int main() {
15652 _fmodl(0, 0);
15653 ; return 0; }
15655 if { (eval echo configure:15656: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15656 rm -rf conftest*
15657 glibcpp_cv_func__fmodl_use=yes
15658 else
15659 echo "configure: failed program was:" >&5
15660 cat conftest.$ac_ext >&5
15661 rm -rf conftest*
15662 glibcpp_cv_func__fmodl_use=no
15664 rm -f conftest*
15665 ac_ext=c
15666 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15667 ac_cpp='$CPP $CPPFLAGS'
15668 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15669 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15670 cross_compiling=$ac_cv_prog_cc_cross
15675 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
15676 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
15677 for ac_func in _fmodl
15679 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15680 echo "configure:15681: checking for $ac_func" >&5
15681 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15682 echo $ac_n "(cached) $ac_c" 1>&6
15683 else
15684 cat > conftest.$ac_ext <<EOF
15685 #line 15686 "configure"
15686 #include "confdefs.h"
15687 /* System header to define __stub macros and hopefully few prototypes,
15688 which can conflict with char $ac_func(); below. */
15689 #include <assert.h>
15690 /* Override any gcc2 internal prototype to avoid an error. */
15691 /* We use char because int might match the return type of a gcc2
15692 builtin and then its argument prototype would still apply. */
15693 char $ac_func();
15695 int main() {
15697 /* The GNU C library defines this for functions which it implements
15698 to always fail with ENOSYS. Some functions are actually named
15699 something starting with __ and the normal name is an alias. */
15700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15701 choke me
15702 #else
15703 $ac_func();
15704 #endif
15706 ; return 0; }
15708 if { (eval echo configure:15709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15709 rm -rf conftest*
15710 eval "ac_cv_func_$ac_func=yes"
15711 else
15712 echo "configure: failed program was:" >&5
15713 cat conftest.$ac_ext >&5
15714 rm -rf conftest*
15715 eval "ac_cv_func_$ac_func=no"
15717 rm -f conftest*
15720 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15721 echo "$ac_t""yes" 1>&6
15722 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15723 cat >> confdefs.h <<EOF
15724 #define $ac_tr_func 1
15727 else
15728 echo "$ac_t""no" 1>&6
15730 done
15735 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
15736 echo "configure:15737: checking for _frexpl declaration" >&5
15737 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
15738 echo $ac_n "(cached) $ac_c" 1>&6
15739 else
15742 ac_ext=C
15743 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15744 ac_cpp='$CXXCPP $CPPFLAGS'
15745 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15746 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15747 cross_compiling=$ac_cv_prog_cxx_cross
15749 cat > conftest.$ac_ext <<EOF
15750 #line 15751 "configure"
15751 #include "confdefs.h"
15752 #include <math.h>
15753 int main() {
15754 _frexpl(0, 0);
15755 ; return 0; }
15757 if { (eval echo configure:15758: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15758 rm -rf conftest*
15759 glibcpp_cv_func__frexpl_use=yes
15760 else
15761 echo "configure: failed program was:" >&5
15762 cat conftest.$ac_ext >&5
15763 rm -rf conftest*
15764 glibcpp_cv_func__frexpl_use=no
15766 rm -f conftest*
15767 ac_ext=c
15768 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15769 ac_cpp='$CPP $CPPFLAGS'
15770 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15771 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15772 cross_compiling=$ac_cv_prog_cc_cross
15777 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
15778 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
15779 for ac_func in _frexpl
15781 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15782 echo "configure:15783: checking for $ac_func" >&5
15783 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15784 echo $ac_n "(cached) $ac_c" 1>&6
15785 else
15786 cat > conftest.$ac_ext <<EOF
15787 #line 15788 "configure"
15788 #include "confdefs.h"
15789 /* System header to define __stub macros and hopefully few prototypes,
15790 which can conflict with char $ac_func(); below. */
15791 #include <assert.h>
15792 /* Override any gcc2 internal prototype to avoid an error. */
15793 /* We use char because int might match the return type of a gcc2
15794 builtin and then its argument prototype would still apply. */
15795 char $ac_func();
15797 int main() {
15799 /* The GNU C library defines this for functions which it implements
15800 to always fail with ENOSYS. Some functions are actually named
15801 something starting with __ and the normal name is an alias. */
15802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15803 choke me
15804 #else
15805 $ac_func();
15806 #endif
15808 ; return 0; }
15810 if { (eval echo configure:15811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15811 rm -rf conftest*
15812 eval "ac_cv_func_$ac_func=yes"
15813 else
15814 echo "configure: failed program was:" >&5
15815 cat conftest.$ac_ext >&5
15816 rm -rf conftest*
15817 eval "ac_cv_func_$ac_func=no"
15819 rm -f conftest*
15822 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15823 echo "$ac_t""yes" 1>&6
15824 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15825 cat >> confdefs.h <<EOF
15826 #define $ac_tr_func 1
15829 else
15830 echo "$ac_t""no" 1>&6
15832 done
15837 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
15838 echo "configure:15839: checking for _ldexpl declaration" >&5
15839 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
15840 echo $ac_n "(cached) $ac_c" 1>&6
15841 else
15844 ac_ext=C
15845 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15846 ac_cpp='$CXXCPP $CPPFLAGS'
15847 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15848 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15849 cross_compiling=$ac_cv_prog_cxx_cross
15851 cat > conftest.$ac_ext <<EOF
15852 #line 15853 "configure"
15853 #include "confdefs.h"
15854 #include <math.h>
15855 int main() {
15856 _ldexpl(0, 0);
15857 ; return 0; }
15859 if { (eval echo configure:15860: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15860 rm -rf conftest*
15861 glibcpp_cv_func__ldexpl_use=yes
15862 else
15863 echo "configure: failed program was:" >&5
15864 cat conftest.$ac_ext >&5
15865 rm -rf conftest*
15866 glibcpp_cv_func__ldexpl_use=no
15868 rm -f conftest*
15869 ac_ext=c
15870 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15871 ac_cpp='$CPP $CPPFLAGS'
15872 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15873 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15874 cross_compiling=$ac_cv_prog_cc_cross
15879 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
15880 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
15881 for ac_func in _ldexpl
15883 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15884 echo "configure:15885: checking for $ac_func" >&5
15885 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15886 echo $ac_n "(cached) $ac_c" 1>&6
15887 else
15888 cat > conftest.$ac_ext <<EOF
15889 #line 15890 "configure"
15890 #include "confdefs.h"
15891 /* System header to define __stub macros and hopefully few prototypes,
15892 which can conflict with char $ac_func(); below. */
15893 #include <assert.h>
15894 /* Override any gcc2 internal prototype to avoid an error. */
15895 /* We use char because int might match the return type of a gcc2
15896 builtin and then its argument prototype would still apply. */
15897 char $ac_func();
15899 int main() {
15901 /* The GNU C library defines this for functions which it implements
15902 to always fail with ENOSYS. Some functions are actually named
15903 something starting with __ and the normal name is an alias. */
15904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15905 choke me
15906 #else
15907 $ac_func();
15908 #endif
15910 ; return 0; }
15912 if { (eval echo configure:15913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15913 rm -rf conftest*
15914 eval "ac_cv_func_$ac_func=yes"
15915 else
15916 echo "configure: failed program was:" >&5
15917 cat conftest.$ac_ext >&5
15918 rm -rf conftest*
15919 eval "ac_cv_func_$ac_func=no"
15921 rm -f conftest*
15924 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15925 echo "$ac_t""yes" 1>&6
15926 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15927 cat >> confdefs.h <<EOF
15928 #define $ac_tr_func 1
15931 else
15932 echo "$ac_t""no" 1>&6
15934 done
15939 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
15940 echo "configure:15941: checking for _logl declaration" >&5
15941 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
15942 echo $ac_n "(cached) $ac_c" 1>&6
15943 else
15946 ac_ext=C
15947 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15948 ac_cpp='$CXXCPP $CPPFLAGS'
15949 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15950 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15951 cross_compiling=$ac_cv_prog_cxx_cross
15953 cat > conftest.$ac_ext <<EOF
15954 #line 15955 "configure"
15955 #include "confdefs.h"
15956 #include <math.h>
15957 int main() {
15958 _logl(0);
15959 ; return 0; }
15961 if { (eval echo configure:15962: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15962 rm -rf conftest*
15963 glibcpp_cv_func__logl_use=yes
15964 else
15965 echo "configure: failed program was:" >&5
15966 cat conftest.$ac_ext >&5
15967 rm -rf conftest*
15968 glibcpp_cv_func__logl_use=no
15970 rm -f conftest*
15971 ac_ext=c
15972 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15973 ac_cpp='$CPP $CPPFLAGS'
15974 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15975 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15976 cross_compiling=$ac_cv_prog_cc_cross
15981 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
15982 if test x$glibcpp_cv_func__logl_use = x"yes"; then
15983 for ac_func in _logl
15985 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15986 echo "configure:15987: checking for $ac_func" >&5
15987 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15988 echo $ac_n "(cached) $ac_c" 1>&6
15989 else
15990 cat > conftest.$ac_ext <<EOF
15991 #line 15992 "configure"
15992 #include "confdefs.h"
15993 /* System header to define __stub macros and hopefully few prototypes,
15994 which can conflict with char $ac_func(); below. */
15995 #include <assert.h>
15996 /* Override any gcc2 internal prototype to avoid an error. */
15997 /* We use char because int might match the return type of a gcc2
15998 builtin and then its argument prototype would still apply. */
15999 char $ac_func();
16001 int main() {
16003 /* The GNU C library defines this for functions which it implements
16004 to always fail with ENOSYS. Some functions are actually named
16005 something starting with __ and the normal name is an alias. */
16006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16007 choke me
16008 #else
16009 $ac_func();
16010 #endif
16012 ; return 0; }
16014 if { (eval echo configure:16015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16015 rm -rf conftest*
16016 eval "ac_cv_func_$ac_func=yes"
16017 else
16018 echo "configure: failed program was:" >&5
16019 cat conftest.$ac_ext >&5
16020 rm -rf conftest*
16021 eval "ac_cv_func_$ac_func=no"
16023 rm -f conftest*
16026 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16027 echo "$ac_t""yes" 1>&6
16028 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16029 cat >> confdefs.h <<EOF
16030 #define $ac_tr_func 1
16033 else
16034 echo "$ac_t""no" 1>&6
16036 done
16041 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
16042 echo "configure:16043: checking for _log10l declaration" >&5
16043 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
16044 echo $ac_n "(cached) $ac_c" 1>&6
16045 else
16048 ac_ext=C
16049 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16050 ac_cpp='$CXXCPP $CPPFLAGS'
16051 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16052 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16053 cross_compiling=$ac_cv_prog_cxx_cross
16055 cat > conftest.$ac_ext <<EOF
16056 #line 16057 "configure"
16057 #include "confdefs.h"
16058 #include <math.h>
16059 int main() {
16060 _log10l(0);
16061 ; return 0; }
16063 if { (eval echo configure:16064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16064 rm -rf conftest*
16065 glibcpp_cv_func__log10l_use=yes
16066 else
16067 echo "configure: failed program was:" >&5
16068 cat conftest.$ac_ext >&5
16069 rm -rf conftest*
16070 glibcpp_cv_func__log10l_use=no
16072 rm -f conftest*
16073 ac_ext=c
16074 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16075 ac_cpp='$CPP $CPPFLAGS'
16076 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16077 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16078 cross_compiling=$ac_cv_prog_cc_cross
16083 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
16084 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
16085 for ac_func in _log10l
16087 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16088 echo "configure:16089: checking for $ac_func" >&5
16089 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16090 echo $ac_n "(cached) $ac_c" 1>&6
16091 else
16092 cat > conftest.$ac_ext <<EOF
16093 #line 16094 "configure"
16094 #include "confdefs.h"
16095 /* System header to define __stub macros and hopefully few prototypes,
16096 which can conflict with char $ac_func(); below. */
16097 #include <assert.h>
16098 /* Override any gcc2 internal prototype to avoid an error. */
16099 /* We use char because int might match the return type of a gcc2
16100 builtin and then its argument prototype would still apply. */
16101 char $ac_func();
16103 int main() {
16105 /* The GNU C library defines this for functions which it implements
16106 to always fail with ENOSYS. Some functions are actually named
16107 something starting with __ and the normal name is an alias. */
16108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16109 choke me
16110 #else
16111 $ac_func();
16112 #endif
16114 ; return 0; }
16116 if { (eval echo configure:16117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16117 rm -rf conftest*
16118 eval "ac_cv_func_$ac_func=yes"
16119 else
16120 echo "configure: failed program was:" >&5
16121 cat conftest.$ac_ext >&5
16122 rm -rf conftest*
16123 eval "ac_cv_func_$ac_func=no"
16125 rm -f conftest*
16128 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16129 echo "$ac_t""yes" 1>&6
16130 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16131 cat >> confdefs.h <<EOF
16132 #define $ac_tr_func 1
16135 else
16136 echo "$ac_t""no" 1>&6
16138 done
16143 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
16144 echo "configure:16145: checking for _modfl declaration" >&5
16145 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
16146 echo $ac_n "(cached) $ac_c" 1>&6
16147 else
16150 ac_ext=C
16151 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16152 ac_cpp='$CXXCPP $CPPFLAGS'
16153 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16154 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16155 cross_compiling=$ac_cv_prog_cxx_cross
16157 cat > conftest.$ac_ext <<EOF
16158 #line 16159 "configure"
16159 #include "confdefs.h"
16160 #include <math.h>
16161 int main() {
16162 _modfl(0, 0);
16163 ; return 0; }
16165 if { (eval echo configure:16166: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16166 rm -rf conftest*
16167 glibcpp_cv_func__modfl_use=yes
16168 else
16169 echo "configure: failed program was:" >&5
16170 cat conftest.$ac_ext >&5
16171 rm -rf conftest*
16172 glibcpp_cv_func__modfl_use=no
16174 rm -f conftest*
16175 ac_ext=c
16176 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16177 ac_cpp='$CPP $CPPFLAGS'
16178 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16179 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16180 cross_compiling=$ac_cv_prog_cc_cross
16185 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
16186 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
16187 for ac_func in _modfl
16189 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16190 echo "configure:16191: checking for $ac_func" >&5
16191 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16192 echo $ac_n "(cached) $ac_c" 1>&6
16193 else
16194 cat > conftest.$ac_ext <<EOF
16195 #line 16196 "configure"
16196 #include "confdefs.h"
16197 /* System header to define __stub macros and hopefully few prototypes,
16198 which can conflict with char $ac_func(); below. */
16199 #include <assert.h>
16200 /* Override any gcc2 internal prototype to avoid an error. */
16201 /* We use char because int might match the return type of a gcc2
16202 builtin and then its argument prototype would still apply. */
16203 char $ac_func();
16205 int main() {
16207 /* The GNU C library defines this for functions which it implements
16208 to always fail with ENOSYS. Some functions are actually named
16209 something starting with __ and the normal name is an alias. */
16210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16211 choke me
16212 #else
16213 $ac_func();
16214 #endif
16216 ; return 0; }
16218 if { (eval echo configure:16219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16219 rm -rf conftest*
16220 eval "ac_cv_func_$ac_func=yes"
16221 else
16222 echo "configure: failed program was:" >&5
16223 cat conftest.$ac_ext >&5
16224 rm -rf conftest*
16225 eval "ac_cv_func_$ac_func=no"
16227 rm -f conftest*
16230 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16231 echo "$ac_t""yes" 1>&6
16232 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16233 cat >> confdefs.h <<EOF
16234 #define $ac_tr_func 1
16237 else
16238 echo "$ac_t""no" 1>&6
16240 done
16245 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
16246 echo "configure:16247: checking for _powl declaration" >&5
16247 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
16248 echo $ac_n "(cached) $ac_c" 1>&6
16249 else
16252 ac_ext=C
16253 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16254 ac_cpp='$CXXCPP $CPPFLAGS'
16255 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16256 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16257 cross_compiling=$ac_cv_prog_cxx_cross
16259 cat > conftest.$ac_ext <<EOF
16260 #line 16261 "configure"
16261 #include "confdefs.h"
16262 #include <math.h>
16263 int main() {
16264 _powl(0, 0);
16265 ; return 0; }
16267 if { (eval echo configure:16268: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16268 rm -rf conftest*
16269 glibcpp_cv_func__powl_use=yes
16270 else
16271 echo "configure: failed program was:" >&5
16272 cat conftest.$ac_ext >&5
16273 rm -rf conftest*
16274 glibcpp_cv_func__powl_use=no
16276 rm -f conftest*
16277 ac_ext=c
16278 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16279 ac_cpp='$CPP $CPPFLAGS'
16280 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16281 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16282 cross_compiling=$ac_cv_prog_cc_cross
16287 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
16288 if test x$glibcpp_cv_func__powl_use = x"yes"; then
16289 for ac_func in _powl
16291 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16292 echo "configure:16293: checking for $ac_func" >&5
16293 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16294 echo $ac_n "(cached) $ac_c" 1>&6
16295 else
16296 cat > conftest.$ac_ext <<EOF
16297 #line 16298 "configure"
16298 #include "confdefs.h"
16299 /* System header to define __stub macros and hopefully few prototypes,
16300 which can conflict with char $ac_func(); below. */
16301 #include <assert.h>
16302 /* Override any gcc2 internal prototype to avoid an error. */
16303 /* We use char because int might match the return type of a gcc2
16304 builtin and then its argument prototype would still apply. */
16305 char $ac_func();
16307 int main() {
16309 /* The GNU C library defines this for functions which it implements
16310 to always fail with ENOSYS. Some functions are actually named
16311 something starting with __ and the normal name is an alias. */
16312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16313 choke me
16314 #else
16315 $ac_func();
16316 #endif
16318 ; return 0; }
16320 if { (eval echo configure:16321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16321 rm -rf conftest*
16322 eval "ac_cv_func_$ac_func=yes"
16323 else
16324 echo "configure: failed program was:" >&5
16325 cat conftest.$ac_ext >&5
16326 rm -rf conftest*
16327 eval "ac_cv_func_$ac_func=no"
16329 rm -f conftest*
16332 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16333 echo "$ac_t""yes" 1>&6
16334 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16335 cat >> confdefs.h <<EOF
16336 #define $ac_tr_func 1
16339 else
16340 echo "$ac_t""no" 1>&6
16342 done
16347 echo $ac_n "checking for _sinl declaration""... $ac_c" 1>&6
16348 echo "configure:16349: checking for _sinl declaration" >&5
16349 if eval "test \"`echo '$''{'glibcpp_cv_func__sinl_use'+set}'`\" = set"; then
16350 echo $ac_n "(cached) $ac_c" 1>&6
16351 else
16354 ac_ext=C
16355 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16356 ac_cpp='$CXXCPP $CPPFLAGS'
16357 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16358 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16359 cross_compiling=$ac_cv_prog_cxx_cross
16361 cat > conftest.$ac_ext <<EOF
16362 #line 16363 "configure"
16363 #include "confdefs.h"
16364 #include <math.h>
16365 int main() {
16366 _sinl(0);
16367 ; return 0; }
16369 if { (eval echo configure:16370: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16370 rm -rf conftest*
16371 glibcpp_cv_func__sinl_use=yes
16372 else
16373 echo "configure: failed program was:" >&5
16374 cat conftest.$ac_ext >&5
16375 rm -rf conftest*
16376 glibcpp_cv_func__sinl_use=no
16378 rm -f conftest*
16379 ac_ext=c
16380 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16381 ac_cpp='$CPP $CPPFLAGS'
16382 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16383 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16384 cross_compiling=$ac_cv_prog_cc_cross
16389 echo "$ac_t""$glibcpp_cv_func__sinl_use" 1>&6
16390 if test x$glibcpp_cv_func__sinl_use = x"yes"; then
16391 for ac_func in _sinl
16393 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16394 echo "configure:16395: checking for $ac_func" >&5
16395 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16396 echo $ac_n "(cached) $ac_c" 1>&6
16397 else
16398 cat > conftest.$ac_ext <<EOF
16399 #line 16400 "configure"
16400 #include "confdefs.h"
16401 /* System header to define __stub macros and hopefully few prototypes,
16402 which can conflict with char $ac_func(); below. */
16403 #include <assert.h>
16404 /* Override any gcc2 internal prototype to avoid an error. */
16405 /* We use char because int might match the return type of a gcc2
16406 builtin and then its argument prototype would still apply. */
16407 char $ac_func();
16409 int main() {
16411 /* The GNU C library defines this for functions which it implements
16412 to always fail with ENOSYS. Some functions are actually named
16413 something starting with __ and the normal name is an alias. */
16414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16415 choke me
16416 #else
16417 $ac_func();
16418 #endif
16420 ; return 0; }
16422 if { (eval echo configure:16423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16423 rm -rf conftest*
16424 eval "ac_cv_func_$ac_func=yes"
16425 else
16426 echo "configure: failed program was:" >&5
16427 cat conftest.$ac_ext >&5
16428 rm -rf conftest*
16429 eval "ac_cv_func_$ac_func=no"
16431 rm -f conftest*
16434 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16435 echo "$ac_t""yes" 1>&6
16436 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16437 cat >> confdefs.h <<EOF
16438 #define $ac_tr_func 1
16441 else
16442 echo "$ac_t""no" 1>&6
16444 done
16449 echo $ac_n "checking for _sinhl declaration""... $ac_c" 1>&6
16450 echo "configure:16451: checking for _sinhl declaration" >&5
16451 if eval "test \"`echo '$''{'glibcpp_cv_func__sinhl_use'+set}'`\" = set"; then
16452 echo $ac_n "(cached) $ac_c" 1>&6
16453 else
16456 ac_ext=C
16457 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16458 ac_cpp='$CXXCPP $CPPFLAGS'
16459 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16460 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16461 cross_compiling=$ac_cv_prog_cxx_cross
16463 cat > conftest.$ac_ext <<EOF
16464 #line 16465 "configure"
16465 #include "confdefs.h"
16466 #include <math.h>
16467 int main() {
16468 _sinhl(0);
16469 ; return 0; }
16471 if { (eval echo configure:16472: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16472 rm -rf conftest*
16473 glibcpp_cv_func__sinhl_use=yes
16474 else
16475 echo "configure: failed program was:" >&5
16476 cat conftest.$ac_ext >&5
16477 rm -rf conftest*
16478 glibcpp_cv_func__sinhl_use=no
16480 rm -f conftest*
16481 ac_ext=c
16482 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16483 ac_cpp='$CPP $CPPFLAGS'
16484 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16485 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16486 cross_compiling=$ac_cv_prog_cc_cross
16491 echo "$ac_t""$glibcpp_cv_func__sinhl_use" 1>&6
16492 if test x$glibcpp_cv_func__sinhl_use = x"yes"; then
16493 for ac_func in _sinhl
16495 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16496 echo "configure:16497: checking for $ac_func" >&5
16497 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16498 echo $ac_n "(cached) $ac_c" 1>&6
16499 else
16500 cat > conftest.$ac_ext <<EOF
16501 #line 16502 "configure"
16502 #include "confdefs.h"
16503 /* System header to define __stub macros and hopefully few prototypes,
16504 which can conflict with char $ac_func(); below. */
16505 #include <assert.h>
16506 /* Override any gcc2 internal prototype to avoid an error. */
16507 /* We use char because int might match the return type of a gcc2
16508 builtin and then its argument prototype would still apply. */
16509 char $ac_func();
16511 int main() {
16513 /* The GNU C library defines this for functions which it implements
16514 to always fail with ENOSYS. Some functions are actually named
16515 something starting with __ and the normal name is an alias. */
16516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16517 choke me
16518 #else
16519 $ac_func();
16520 #endif
16522 ; return 0; }
16524 if { (eval echo configure:16525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16525 rm -rf conftest*
16526 eval "ac_cv_func_$ac_func=yes"
16527 else
16528 echo "configure: failed program was:" >&5
16529 cat conftest.$ac_ext >&5
16530 rm -rf conftest*
16531 eval "ac_cv_func_$ac_func=no"
16533 rm -f conftest*
16536 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16537 echo "$ac_t""yes" 1>&6
16538 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16539 cat >> confdefs.h <<EOF
16540 #define $ac_tr_func 1
16543 else
16544 echo "$ac_t""no" 1>&6
16546 done
16551 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
16552 echo "configure:16553: checking for _sqrtl declaration" >&5
16553 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
16554 echo $ac_n "(cached) $ac_c" 1>&6
16555 else
16558 ac_ext=C
16559 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16560 ac_cpp='$CXXCPP $CPPFLAGS'
16561 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16562 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16563 cross_compiling=$ac_cv_prog_cxx_cross
16565 cat > conftest.$ac_ext <<EOF
16566 #line 16567 "configure"
16567 #include "confdefs.h"
16568 #include <math.h>
16569 int main() {
16570 _sqrtl(0);
16571 ; return 0; }
16573 if { (eval echo configure:16574: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16574 rm -rf conftest*
16575 glibcpp_cv_func__sqrtl_use=yes
16576 else
16577 echo "configure: failed program was:" >&5
16578 cat conftest.$ac_ext >&5
16579 rm -rf conftest*
16580 glibcpp_cv_func__sqrtl_use=no
16582 rm -f conftest*
16583 ac_ext=c
16584 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16585 ac_cpp='$CPP $CPPFLAGS'
16586 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16587 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16588 cross_compiling=$ac_cv_prog_cc_cross
16593 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
16594 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
16595 for ac_func in _sqrtl
16597 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16598 echo "configure:16599: checking for $ac_func" >&5
16599 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16600 echo $ac_n "(cached) $ac_c" 1>&6
16601 else
16602 cat > conftest.$ac_ext <<EOF
16603 #line 16604 "configure"
16604 #include "confdefs.h"
16605 /* System header to define __stub macros and hopefully few prototypes,
16606 which can conflict with char $ac_func(); below. */
16607 #include <assert.h>
16608 /* Override any gcc2 internal prototype to avoid an error. */
16609 /* We use char because int might match the return type of a gcc2
16610 builtin and then its argument prototype would still apply. */
16611 char $ac_func();
16613 int main() {
16615 /* The GNU C library defines this for functions which it implements
16616 to always fail with ENOSYS. Some functions are actually named
16617 something starting with __ and the normal name is an alias. */
16618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16619 choke me
16620 #else
16621 $ac_func();
16622 #endif
16624 ; return 0; }
16626 if { (eval echo configure:16627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16627 rm -rf conftest*
16628 eval "ac_cv_func_$ac_func=yes"
16629 else
16630 echo "configure: failed program was:" >&5
16631 cat conftest.$ac_ext >&5
16632 rm -rf conftest*
16633 eval "ac_cv_func_$ac_func=no"
16635 rm -f conftest*
16638 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16639 echo "$ac_t""yes" 1>&6
16640 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16641 cat >> confdefs.h <<EOF
16642 #define $ac_tr_func 1
16645 else
16646 echo "$ac_t""no" 1>&6
16648 done
16653 echo $ac_n "checking for _tanl declaration""... $ac_c" 1>&6
16654 echo "configure:16655: checking for _tanl declaration" >&5
16655 if eval "test \"`echo '$''{'glibcpp_cv_func__tanl_use'+set}'`\" = set"; then
16656 echo $ac_n "(cached) $ac_c" 1>&6
16657 else
16660 ac_ext=C
16661 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16662 ac_cpp='$CXXCPP $CPPFLAGS'
16663 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16664 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16665 cross_compiling=$ac_cv_prog_cxx_cross
16667 cat > conftest.$ac_ext <<EOF
16668 #line 16669 "configure"
16669 #include "confdefs.h"
16670 #include <math.h>
16671 int main() {
16672 _tanl(0);
16673 ; return 0; }
16675 if { (eval echo configure:16676: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16676 rm -rf conftest*
16677 glibcpp_cv_func__tanl_use=yes
16678 else
16679 echo "configure: failed program was:" >&5
16680 cat conftest.$ac_ext >&5
16681 rm -rf conftest*
16682 glibcpp_cv_func__tanl_use=no
16684 rm -f conftest*
16685 ac_ext=c
16686 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16687 ac_cpp='$CPP $CPPFLAGS'
16688 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16689 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16690 cross_compiling=$ac_cv_prog_cc_cross
16695 echo "$ac_t""$glibcpp_cv_func__tanl_use" 1>&6
16696 if test x$glibcpp_cv_func__tanl_use = x"yes"; then
16697 for ac_func in _tanl
16699 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16700 echo "configure:16701: checking for $ac_func" >&5
16701 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16702 echo $ac_n "(cached) $ac_c" 1>&6
16703 else
16704 cat > conftest.$ac_ext <<EOF
16705 #line 16706 "configure"
16706 #include "confdefs.h"
16707 /* System header to define __stub macros and hopefully few prototypes,
16708 which can conflict with char $ac_func(); below. */
16709 #include <assert.h>
16710 /* Override any gcc2 internal prototype to avoid an error. */
16711 /* We use char because int might match the return type of a gcc2
16712 builtin and then its argument prototype would still apply. */
16713 char $ac_func();
16715 int main() {
16717 /* The GNU C library defines this for functions which it implements
16718 to always fail with ENOSYS. Some functions are actually named
16719 something starting with __ and the normal name is an alias. */
16720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16721 choke me
16722 #else
16723 $ac_func();
16724 #endif
16726 ; return 0; }
16728 if { (eval echo configure:16729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16729 rm -rf conftest*
16730 eval "ac_cv_func_$ac_func=yes"
16731 else
16732 echo "configure: failed program was:" >&5
16733 cat conftest.$ac_ext >&5
16734 rm -rf conftest*
16735 eval "ac_cv_func_$ac_func=no"
16737 rm -f conftest*
16740 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16741 echo "$ac_t""yes" 1>&6
16742 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16743 cat >> confdefs.h <<EOF
16744 #define $ac_tr_func 1
16747 else
16748 echo "$ac_t""no" 1>&6
16750 done
16755 echo $ac_n "checking for _tanhl declaration""... $ac_c" 1>&6
16756 echo "configure:16757: checking for _tanhl declaration" >&5
16757 if eval "test \"`echo '$''{'glibcpp_cv_func__tanhl_use'+set}'`\" = set"; then
16758 echo $ac_n "(cached) $ac_c" 1>&6
16759 else
16762 ac_ext=C
16763 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16764 ac_cpp='$CXXCPP $CPPFLAGS'
16765 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16766 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16767 cross_compiling=$ac_cv_prog_cxx_cross
16769 cat > conftest.$ac_ext <<EOF
16770 #line 16771 "configure"
16771 #include "confdefs.h"
16772 #include <math.h>
16773 int main() {
16774 _tanhl(0);
16775 ; return 0; }
16777 if { (eval echo configure:16778: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16778 rm -rf conftest*
16779 glibcpp_cv_func__tanhl_use=yes
16780 else
16781 echo "configure: failed program was:" >&5
16782 cat conftest.$ac_ext >&5
16783 rm -rf conftest*
16784 glibcpp_cv_func__tanhl_use=no
16786 rm -f conftest*
16787 ac_ext=c
16788 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16789 ac_cpp='$CPP $CPPFLAGS'
16790 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16791 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16792 cross_compiling=$ac_cv_prog_cc_cross
16797 echo "$ac_t""$glibcpp_cv_func__tanhl_use" 1>&6
16798 if test x$glibcpp_cv_func__tanhl_use = x"yes"; then
16799 for ac_func in _tanhl
16801 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16802 echo "configure:16803: checking for $ac_func" >&5
16803 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16804 echo $ac_n "(cached) $ac_c" 1>&6
16805 else
16806 cat > conftest.$ac_ext <<EOF
16807 #line 16808 "configure"
16808 #include "confdefs.h"
16809 /* System header to define __stub macros and hopefully few prototypes,
16810 which can conflict with char $ac_func(); below. */
16811 #include <assert.h>
16812 /* Override any gcc2 internal prototype to avoid an error. */
16813 /* We use char because int might match the return type of a gcc2
16814 builtin and then its argument prototype would still apply. */
16815 char $ac_func();
16817 int main() {
16819 /* The GNU C library defines this for functions which it implements
16820 to always fail with ENOSYS. Some functions are actually named
16821 something starting with __ and the normal name is an alias. */
16822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16823 choke me
16824 #else
16825 $ac_func();
16826 #endif
16828 ; return 0; }
16830 if { (eval echo configure:16831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16831 rm -rf conftest*
16832 eval "ac_cv_func_$ac_func=yes"
16833 else
16834 echo "configure: failed program was:" >&5
16835 cat conftest.$ac_ext >&5
16836 rm -rf conftest*
16837 eval "ac_cv_func_$ac_func=no"
16839 rm -f conftest*
16842 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16843 echo "$ac_t""yes" 1>&6
16844 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16845 cat >> confdefs.h <<EOF
16846 #define $ac_tr_func 1
16849 else
16850 echo "$ac_t""no" 1>&6
16852 done
16857 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
16858 echo "configure:16859: checking for _sincosl declaration" >&5
16859 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
16860 echo $ac_n "(cached) $ac_c" 1>&6
16861 else
16864 ac_ext=C
16865 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16866 ac_cpp='$CXXCPP $CPPFLAGS'
16867 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16868 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16869 cross_compiling=$ac_cv_prog_cxx_cross
16871 cat > conftest.$ac_ext <<EOF
16872 #line 16873 "configure"
16873 #include "confdefs.h"
16874 #include <math.h>
16875 int main() {
16876 _sincosl(0, 0, 0);
16877 ; return 0; }
16879 if { (eval echo configure:16880: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16880 rm -rf conftest*
16881 glibcpp_cv_func__sincosl_use=yes
16882 else
16883 echo "configure: failed program was:" >&5
16884 cat conftest.$ac_ext >&5
16885 rm -rf conftest*
16886 glibcpp_cv_func__sincosl_use=no
16888 rm -f conftest*
16889 ac_ext=c
16890 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16891 ac_cpp='$CPP $CPPFLAGS'
16892 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16893 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16894 cross_compiling=$ac_cv_prog_cc_cross
16899 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
16900 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
16901 for ac_func in _sincosl
16903 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16904 echo "configure:16905: checking for $ac_func" >&5
16905 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16906 echo $ac_n "(cached) $ac_c" 1>&6
16907 else
16908 cat > conftest.$ac_ext <<EOF
16909 #line 16910 "configure"
16910 #include "confdefs.h"
16911 /* System header to define __stub macros and hopefully few prototypes,
16912 which can conflict with char $ac_func(); below. */
16913 #include <assert.h>
16914 /* Override any gcc2 internal prototype to avoid an error. */
16915 /* We use char because int might match the return type of a gcc2
16916 builtin and then its argument prototype would still apply. */
16917 char $ac_func();
16919 int main() {
16921 /* The GNU C library defines this for functions which it implements
16922 to always fail with ENOSYS. Some functions are actually named
16923 something starting with __ and the normal name is an alias. */
16924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16925 choke me
16926 #else
16927 $ac_func();
16928 #endif
16930 ; return 0; }
16932 if { (eval echo configure:16933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16933 rm -rf conftest*
16934 eval "ac_cv_func_$ac_func=yes"
16935 else
16936 echo "configure: failed program was:" >&5
16937 cat conftest.$ac_ext >&5
16938 rm -rf conftest*
16939 eval "ac_cv_func_$ac_func=no"
16941 rm -f conftest*
16944 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16945 echo "$ac_t""yes" 1>&6
16946 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16947 cat >> confdefs.h <<EOF
16948 #define $ac_tr_func 1
16951 else
16952 echo "$ac_t""no" 1>&6
16954 done
16959 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
16960 echo "configure:16961: checking for _finitel declaration" >&5
16961 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
16962 echo $ac_n "(cached) $ac_c" 1>&6
16963 else
16966 ac_ext=C
16967 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16968 ac_cpp='$CXXCPP $CPPFLAGS'
16969 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16970 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16971 cross_compiling=$ac_cv_prog_cxx_cross
16973 cat > conftest.$ac_ext <<EOF
16974 #line 16975 "configure"
16975 #include "confdefs.h"
16976 #include <math.h>
16977 int main() {
16978 _finitel(0);
16979 ; return 0; }
16981 if { (eval echo configure:16982: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16982 rm -rf conftest*
16983 glibcpp_cv_func__finitel_use=yes
16984 else
16985 echo "configure: failed program was:" >&5
16986 cat conftest.$ac_ext >&5
16987 rm -rf conftest*
16988 glibcpp_cv_func__finitel_use=no
16990 rm -f conftest*
16991 ac_ext=c
16992 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16993 ac_cpp='$CPP $CPPFLAGS'
16994 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16995 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16996 cross_compiling=$ac_cv_prog_cc_cross
17001 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
17002 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
17003 for ac_func in _finitel
17005 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17006 echo "configure:17007: checking for $ac_func" >&5
17007 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17008 echo $ac_n "(cached) $ac_c" 1>&6
17009 else
17010 cat > conftest.$ac_ext <<EOF
17011 #line 17012 "configure"
17012 #include "confdefs.h"
17013 /* System header to define __stub macros and hopefully few prototypes,
17014 which can conflict with char $ac_func(); below. */
17015 #include <assert.h>
17016 /* Override any gcc2 internal prototype to avoid an error. */
17017 /* We use char because int might match the return type of a gcc2
17018 builtin and then its argument prototype would still apply. */
17019 char $ac_func();
17021 int main() {
17023 /* The GNU C library defines this for functions which it implements
17024 to always fail with ENOSYS. Some functions are actually named
17025 something starting with __ and the normal name is an alias. */
17026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17027 choke me
17028 #else
17029 $ac_func();
17030 #endif
17032 ; return 0; }
17034 if { (eval echo configure:17035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17035 rm -rf conftest*
17036 eval "ac_cv_func_$ac_func=yes"
17037 else
17038 echo "configure: failed program was:" >&5
17039 cat conftest.$ac_ext >&5
17040 rm -rf conftest*
17041 eval "ac_cv_func_$ac_func=no"
17043 rm -f conftest*
17046 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17047 echo "$ac_t""yes" 1>&6
17048 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17049 cat >> confdefs.h <<EOF
17050 #define $ac_tr_func 1
17053 else
17054 echo "$ac_t""no" 1>&6
17056 done
17061 LIBS="$ac_save_LIBS"
17062 CXXFLAGS="$ac_save_CXXFLAGS"
17065 for ac_hdr in complex.h
17067 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17068 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17069 echo "configure:17070: checking for $ac_hdr" >&5
17070 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17071 echo $ac_n "(cached) $ac_c" 1>&6
17072 else
17073 cat > conftest.$ac_ext <<EOF
17074 #line 17075 "configure"
17075 #include "confdefs.h"
17076 #include <$ac_hdr>
17078 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17079 { (eval echo configure:17080: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17080 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17081 if test -z "$ac_err"; then
17082 rm -rf conftest*
17083 eval "ac_cv_header_$ac_safe=yes"
17084 else
17085 echo "$ac_err" >&5
17086 echo "configure: failed program was:" >&5
17087 cat conftest.$ac_ext >&5
17088 rm -rf conftest*
17089 eval "ac_cv_header_$ac_safe=no"
17091 rm -f conftest*
17093 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17094 echo "$ac_t""yes" 1>&6
17095 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17096 cat >> confdefs.h <<EOF
17097 #define $ac_tr_hdr 1
17100 else
17101 echo "$ac_t""no" 1>&6
17103 done
17105 for ac_func in ccos ccosf ccosh ccoshf cexp cexpf c_log c_logf \
17106 clog10 clog10f cpow cpowf csin csinf csinh csinhf csqrt csqrtf \
17107 ctan ctanf ctanh ctanhf carg cargf nan hypot hypotf atan2f expf copysignf
17109 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17110 echo "configure:17111: checking for $ac_func" >&5
17111 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17112 echo $ac_n "(cached) $ac_c" 1>&6
17113 else
17114 cat > conftest.$ac_ext <<EOF
17115 #line 17116 "configure"
17116 #include "confdefs.h"
17117 /* System header to define __stub macros and hopefully few prototypes,
17118 which can conflict with char $ac_func(); below. */
17119 #include <assert.h>
17120 /* Override any gcc2 internal prototype to avoid an error. */
17121 /* We use char because int might match the return type of a gcc2
17122 builtin and then its argument prototype would still apply. */
17123 char $ac_func();
17125 int main() {
17127 /* The GNU C library defines this for functions which it implements
17128 to always fail with ENOSYS. Some functions are actually named
17129 something starting with __ and the normal name is an alias. */
17130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17131 choke me
17132 #else
17133 $ac_func();
17134 #endif
17136 ; return 0; }
17138 if { (eval echo configure:17139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17139 rm -rf conftest*
17140 eval "ac_cv_func_$ac_func=yes"
17141 else
17142 echo "configure: failed program was:" >&5
17143 cat conftest.$ac_ext >&5
17144 rm -rf conftest*
17145 eval "ac_cv_func_$ac_func=no"
17147 rm -f conftest*
17150 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17151 echo "$ac_t""yes" 1>&6
17152 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17153 cat >> confdefs.h <<EOF
17154 #define $ac_tr_func 1
17157 else
17158 echo "$ac_t""no" 1>&6
17159 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
17161 done
17165 USE_COMPLEX_LONG_DOUBLE=no
17166 if test x$ac_cv_func_atan2l = x"yes" \
17167 && test x$ac_cv_func_copysignl = x"yes"; then
17168 USE_COMPLEX_LONG_DOUBLE=yes
17169 for ac_func in ccoshl ccosl cexpl cpowl csinhl csinl \
17170 csqrtl ctanhl ctanl cargl hypotl signbitl c_logl clog10l
17172 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17173 echo "configure:17174: checking for $ac_func" >&5
17174 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17175 echo $ac_n "(cached) $ac_c" 1>&6
17176 else
17177 cat > conftest.$ac_ext <<EOF
17178 #line 17179 "configure"
17179 #include "confdefs.h"
17180 /* System header to define __stub macros and hopefully few prototypes,
17181 which can conflict with char $ac_func(); below. */
17182 #include <assert.h>
17183 /* Override any gcc2 internal prototype to avoid an error. */
17184 /* We use char because int might match the return type of a gcc2
17185 builtin and then its argument prototype would still apply. */
17186 char $ac_func();
17188 int main() {
17190 /* The GNU C library defines this for functions which it implements
17191 to always fail with ENOSYS. Some functions are actually named
17192 something starting with __ and the normal name is an alias. */
17193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17194 choke me
17195 #else
17196 $ac_func();
17197 #endif
17199 ; return 0; }
17201 if { (eval echo configure:17202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17202 rm -rf conftest*
17203 eval "ac_cv_func_$ac_func=yes"
17204 else
17205 echo "configure: failed program was:" >&5
17206 cat conftest.$ac_ext >&5
17207 rm -rf conftest*
17208 eval "ac_cv_func_$ac_func=no"
17210 rm -f conftest*
17213 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17214 echo "$ac_t""yes" 1>&6
17215 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17216 cat >> confdefs.h <<EOF
17217 #define $ac_tr_func 1
17220 else
17221 echo "$ac_t""no" 1>&6
17222 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
17224 done
17234 echo $ac_n "checking for GNU C++ __complex__ support""... $ac_c" 1>&6
17235 echo "configure:17236: checking for GNU C++ __complex__ support" >&5
17236 if eval "test \"`echo '$''{'glibcpp_cv_complex'+set}'`\" = set"; then
17237 echo $ac_n "(cached) $ac_c" 1>&6
17238 else
17241 ac_ext=C
17242 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17243 ac_cpp='$CXXCPP $CPPFLAGS'
17244 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17245 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17246 cross_compiling=$ac_cv_prog_cxx_cross
17248 cat > conftest.$ac_ext <<EOF
17249 #line 17250 "configure"
17250 #include "confdefs.h"
17251 struct dcomplex { __complex__ double x; }; \
17252 dcomplex f(const dcomplex& x) { return dcomplex(x); }
17253 int main() {
17255 dcomplex x; f(x);
17256 ; return 0; }
17258 if { (eval echo configure:17259: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17259 rm -rf conftest*
17260 glibcpp_cv_complex=ok
17261 else
17262 echo "configure: failed program was:" >&5
17263 cat conftest.$ac_ext >&5
17264 rm -rf conftest*
17265 glibcpp_cv_complex=buggy
17268 rm -f conftest*
17269 ac_ext=c
17270 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17271 ac_cpp='$CPP $CPPFLAGS'
17272 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17273 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17274 cross_compiling=$ac_cv_prog_cc_cross
17279 echo "$ac_t""$glibcpp_cv_complex" 1>&6
17280 if test $glibcpp_cv_complex = buggy; then
17281 cat >> confdefs.h <<\EOF
17282 #define _GLIBCPP_BUGGY_COMPLEX 1
17287 echo $ac_n "checking for GNU C++ __complex__ float support""... $ac_c" 1>&6
17288 echo "configure:17289: checking for GNU C++ __complex__ float support" >&5
17289 if eval "test \"`echo '$''{'glibcpp_cv_float_complex'+set}'`\" = set"; then
17290 echo $ac_n "(cached) $ac_c" 1>&6
17291 else
17294 ac_ext=C
17295 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17296 ac_cpp='$CXXCPP $CPPFLAGS'
17297 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17298 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17299 cross_compiling=$ac_cv_prog_cxx_cross
17301 rm -f conftest.h
17302 cat > conftest.h <<EOB
17304 // Check for buggy __complex__ that causes ICE in most versions of egcs
17305 // and gcc-2.95.x on certain platforms (eg., x86-win32).
17307 // See http://egcs.cygnus.com/ml/gcc-bugs/1999-07/msg00845.html for
17308 // more info on the bug itself.
17310 struct
17311 float_complex
17313 __complex__ float m_value;
17314 float_complex (float = 0.0f, float = 0.0f);
17315 float_complex (__complex__ float val) : m_value (val) {}
17316 float_complex foo (const float_complex &val)
17317 { return float_complex (~val.m_value); }
17320 cat > conftest.$ac_ext <<EOF
17321 #line 17322 "configure"
17322 #include "confdefs.h"
17323 #include "conftest.h"
17324 int main() {
17326 ; return 0; }
17328 if { (eval echo configure:17329: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17329 rm -rf conftest*
17330 glibcpp_cv_float_complex=ok
17331 else
17332 echo "configure: failed program was:" >&5
17333 cat conftest.$ac_ext >&5
17334 rm -rf conftest*
17335 glibcpp_cv_float_complex=buggy
17338 rm -f conftest*
17339 ac_ext=c
17340 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17341 ac_cpp='$CPP $CPPFLAGS'
17342 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17343 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17344 cross_compiling=$ac_cv_prog_cc_cross
17349 echo "$ac_t""$glibcpp_cv_float_complex" 1>&6
17350 if test $glibcpp_cv_float_complex = buggy; then
17351 cat >> confdefs.h <<\EOF
17352 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
17359 ac_safe=`echo "wchar.h" | sed 'y%./+-%__p_%'`
17360 echo $ac_n "checking for wchar.h""... $ac_c" 1>&6
17361 echo "configure:17362: checking for wchar.h" >&5
17362 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17363 echo $ac_n "(cached) $ac_c" 1>&6
17364 else
17365 cat > conftest.$ac_ext <<EOF
17366 #line 17367 "configure"
17367 #include "confdefs.h"
17368 #include <wchar.h>
17370 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17371 { (eval echo configure:17372: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17372 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17373 if test -z "$ac_err"; then
17374 rm -rf conftest*
17375 eval "ac_cv_header_$ac_safe=yes"
17376 else
17377 echo "$ac_err" >&5
17378 echo "configure: failed program was:" >&5
17379 cat conftest.$ac_ext >&5
17380 rm -rf conftest*
17381 eval "ac_cv_header_$ac_safe=no"
17383 rm -f conftest*
17385 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17386 echo "$ac_t""yes" 1>&6
17387 ac_has_wchar_h=yes
17388 else
17389 echo "$ac_t""no" 1>&6
17390 ac_has_wchar_h=no
17393 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
17394 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
17395 echo "configure:17396: checking for wctype.h" >&5
17396 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17397 echo $ac_n "(cached) $ac_c" 1>&6
17398 else
17399 cat > conftest.$ac_ext <<EOF
17400 #line 17401 "configure"
17401 #include "confdefs.h"
17402 #include <wctype.h>
17404 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17405 { (eval echo configure:17406: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17406 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17407 if test -z "$ac_err"; then
17408 rm -rf conftest*
17409 eval "ac_cv_header_$ac_safe=yes"
17410 else
17411 echo "$ac_err" >&5
17412 echo "configure: failed program was:" >&5
17413 cat conftest.$ac_ext >&5
17414 rm -rf conftest*
17415 eval "ac_cv_header_$ac_safe=no"
17417 rm -f conftest*
17419 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17420 echo "$ac_t""yes" 1>&6
17421 ac_has_wctype_h=yes
17422 else
17423 echo "$ac_t""no" 1>&6
17424 ac_has_wctype_h=no
17428 if test x"$ac_has_wchar_h" = xyes && test x"$ac_has_wctype_h" = xyes; then
17430 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
17431 echo "configure:17432: checking for mbstate_t" >&5
17432 cat > conftest.$ac_ext <<EOF
17433 #line 17434 "configure"
17434 #include "confdefs.h"
17435 #include <wchar.h>
17436 int main() {
17437 mbstate_t teststate;
17438 ; return 0; }
17440 if { (eval echo configure:17441: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17441 rm -rf conftest*
17442 use_native_mbstatet=yes
17443 else
17444 echo "configure: failed program was:" >&5
17445 cat conftest.$ac_ext >&5
17446 rm -rf conftest*
17447 use_native_mbstatet=no
17449 rm -f conftest*
17450 echo "$ac_t""$use_native_mbstatet" 1>&6
17451 if test x"$use_native_mbstatet" = xno; then
17452 cat >> confdefs.h <<\EOF
17453 #define _GLIBCPP_NEED_MBSTATE_T 1
17458 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
17459 echo "configure:17460: checking for WCHAR_MIN and WCHAR_MAX" >&5
17460 cat > conftest.$ac_ext <<EOF
17461 #line 17462 "configure"
17462 #include "confdefs.h"
17463 #include <wchar.h>
17464 int main() {
17465 int i = WCHAR_MIN; int j = WCHAR_MAX;
17466 ; return 0; }
17468 if { (eval echo configure:17469: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17469 rm -rf conftest*
17470 has_wchar_minmax=yes
17471 else
17472 echo "configure: failed program was:" >&5
17473 cat conftest.$ac_ext >&5
17474 rm -rf conftest*
17475 has_wchar_minmax=no
17477 rm -f conftest*
17478 echo "$ac_t""$has_wchar_minmax" 1>&6
17480 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
17481 echo "configure:17482: checking for WEOF" >&5
17482 cat > conftest.$ac_ext <<EOF
17483 #line 17484 "configure"
17484 #include "confdefs.h"
17486 #include <wchar.h>
17487 #include <stddef.h>
17488 int main() {
17489 wint_t i = WEOF;
17490 ; return 0; }
17492 if { (eval echo configure:17493: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17493 rm -rf conftest*
17494 has_weof=yes
17495 else
17496 echo "configure: failed program was:" >&5
17497 cat conftest.$ac_ext >&5
17498 rm -rf conftest*
17499 has_weof=no
17501 rm -f conftest*
17502 echo "$ac_t""$has_weof" 1>&6
17504 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
17506 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17507 echo "configure:17508: checking for $ac_func" >&5
17508 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17509 echo $ac_n "(cached) $ac_c" 1>&6
17510 else
17511 cat > conftest.$ac_ext <<EOF
17512 #line 17513 "configure"
17513 #include "confdefs.h"
17514 /* System header to define __stub macros and hopefully few prototypes,
17515 which can conflict with char $ac_func(); below. */
17516 #include <assert.h>
17517 /* Override any gcc2 internal prototype to avoid an error. */
17518 /* We use char because int might match the return type of a gcc2
17519 builtin and then its argument prototype would still apply. */
17520 char $ac_func();
17522 int main() {
17524 /* The GNU C library defines this for functions which it implements
17525 to always fail with ENOSYS. Some functions are actually named
17526 something starting with __ and the normal name is an alias. */
17527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17528 choke me
17529 #else
17530 $ac_func();
17531 #endif
17533 ; return 0; }
17535 if { (eval echo configure:17536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17536 rm -rf conftest*
17537 eval "ac_cv_func_$ac_func=yes"
17538 else
17539 echo "configure: failed program was:" >&5
17540 cat conftest.$ac_ext >&5
17541 rm -rf conftest*
17542 eval "ac_cv_func_$ac_func=no"
17544 rm -f conftest*
17547 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17548 echo "$ac_t""yes" 1>&6
17549 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17550 cat >> confdefs.h <<EOF
17551 #define $ac_tr_func 1
17553 ac_wfuncs=yes
17554 else
17555 echo "$ac_t""no" 1>&6
17556 ac_wfuncs=no
17558 done
17561 echo $ac_n "checking for ISO C9X wchar_t support""... $ac_c" 1>&6
17562 echo "configure:17563: checking for ISO C9X wchar_t support" >&5
17563 if test x"$has_weof" = xyes && test x"$has_wchar_minmax" = xyes && test x"$ac_wfuncs" = xyes; then
17564 ac_isoC9X_wchar_t=yes
17565 else
17566 ac_isoC9X_wchar_t=no
17568 echo "$ac_t""$ac_isoC9X_wchar_t" 1>&6
17570 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
17571 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
17572 echo "configure:17573: checking for iconv.h" >&5
17573 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17574 echo $ac_n "(cached) $ac_c" 1>&6
17575 else
17576 cat > conftest.$ac_ext <<EOF
17577 #line 17578 "configure"
17578 #include "confdefs.h"
17579 #include <iconv.h>
17581 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17582 { (eval echo configure:17583: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17583 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17584 if test -z "$ac_err"; then
17585 rm -rf conftest*
17586 eval "ac_cv_header_$ac_safe=yes"
17587 else
17588 echo "$ac_err" >&5
17589 echo "configure: failed program was:" >&5
17590 cat conftest.$ac_ext >&5
17591 rm -rf conftest*
17592 eval "ac_cv_header_$ac_safe=no"
17594 rm -f conftest*
17596 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17597 echo "$ac_t""yes" 1>&6
17598 ac_has_iconv_h=yes
17599 else
17600 echo "$ac_t""no" 1>&6
17601 ac_has_iconv_h=no
17604 for ac_func in iconv_open iconv_close iconv
17606 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17607 echo "configure:17608: checking for $ac_func" >&5
17608 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17609 echo $ac_n "(cached) $ac_c" 1>&6
17610 else
17611 cat > conftest.$ac_ext <<EOF
17612 #line 17613 "configure"
17613 #include "confdefs.h"
17614 /* System header to define __stub macros and hopefully few prototypes,
17615 which can conflict with char $ac_func(); below. */
17616 #include <assert.h>
17617 /* Override any gcc2 internal prototype to avoid an error. */
17618 /* We use char because int might match the return type of a gcc2
17619 builtin and then its argument prototype would still apply. */
17620 char $ac_func();
17622 int main() {
17624 /* The GNU C library defines this for functions which it implements
17625 to always fail with ENOSYS. Some functions are actually named
17626 something starting with __ and the normal name is an alias. */
17627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17628 choke me
17629 #else
17630 $ac_func();
17631 #endif
17633 ; return 0; }
17635 if { (eval echo configure:17636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17636 rm -rf conftest*
17637 eval "ac_cv_func_$ac_func=yes"
17638 else
17639 echo "configure: failed program was:" >&5
17640 cat conftest.$ac_ext >&5
17641 rm -rf conftest*
17642 eval "ac_cv_func_$ac_func=no"
17644 rm -f conftest*
17647 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17648 echo "$ac_t""yes" 1>&6
17649 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17650 cat >> confdefs.h <<EOF
17651 #define $ac_tr_func 1
17653 ac_XPG2funcs=yes
17654 else
17655 echo "$ac_t""no" 1>&6
17656 ac_XPG2funcs=no
17658 done
17661 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
17662 echo "configure:17663: checking for XPG2 wchar_t support" >&5
17663 if test x"$ac_has_iconv_h" = xyes && test x"$ac_XPG2funcs" = xyes; then
17664 ac_XPG2_wchar_t=yes
17665 else
17666 ac_XPG2_wchar_t=no
17668 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
17670 # ac_isoC9X_wchar_t=no
17672 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
17673 echo "configure:17674: checking for enabled wchar_t specializations" >&5
17674 if test x"$ac_isoC9X_wchar_t" = xyes && test x"$ac_XPG2_wchar_t" = xyes; then
17675 libinst_wstring_la="libinst-wstring.la"
17676 cat >> confdefs.h <<\EOF
17677 #define _GLIBCPP_USE_WCHAR_T 1
17680 echo "$ac_t"""yes"" 1>&6
17681 else
17682 libinst_wstring_la=""
17683 echo "$ac_t"""no"" 1>&6
17687 else
17688 echo "configure: warning: <wchar.h> not found" 1>&2
17689 cat >> confdefs.h <<\EOF
17690 #define _GLIBCPP_NEED_MBSTATE_T 1
17696 ac_safe=`echo "ctype.h" | sed 'y%./+-%__p_%'`
17697 echo $ac_n "checking for ctype.h""... $ac_c" 1>&6
17698 echo "configure:17699: checking for ctype.h" >&5
17699 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17700 echo $ac_n "(cached) $ac_c" 1>&6
17701 else
17702 cat > conftest.$ac_ext <<EOF
17703 #line 17704 "configure"
17704 #include "confdefs.h"
17705 #include <ctype.h>
17707 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17708 { (eval echo configure:17709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17709 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17710 if test -z "$ac_err"; then
17711 rm -rf conftest*
17712 eval "ac_cv_header_$ac_safe=yes"
17713 else
17714 echo "$ac_err" >&5
17715 echo "configure: failed program was:" >&5
17716 cat conftest.$ac_ext >&5
17717 rm -rf conftest*
17718 eval "ac_cv_header_$ac_safe=no"
17720 rm -f conftest*
17722 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17723 echo "$ac_t""yes" 1>&6
17726 ctype_default=yes
17728 echo $ac_n "checking <ctype> for gnu-linux ""... $ac_c" 1>&6
17729 echo "configure:17730: checking <ctype> for gnu-linux " >&5
17730 cat > conftest.$ac_ext <<EOF
17731 #line 17732 "configure"
17732 #include "confdefs.h"
17733 #include <ctype.h>
17734 int main() {
17736 foo (int a)
17737 { return _ISspace + _ISprint + _IScntrl + _ISupper + _ISlower + _ISalpha \
17738 + _ISdigit + _ISpunct + _ISxdigit + _ISalnum + _ISgraph \
17739 + __ctype_tolower[a] + __ctype_toupper[a] + __ctype_b[a];}
17740 ; return 0; }
17742 if { (eval echo configure:17743: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17743 rm -rf conftest*
17745 ctype_linux=yes
17746 else
17747 echo "configure: failed program was:" >&5
17748 cat conftest.$ac_ext >&5
17749 rm -rf conftest*
17750 ctype_linux=no
17752 rm -f conftest*
17753 echo "$ac_t""$ctype_linux" 1>&6
17754 if test $ctype_linux = "yes"; then
17755 ctype_include_dir="config/gnu-linux"
17756 ctype_default=no
17759 if test $ctype_default = "yes"; then
17760 echo $ac_n "checking <ctype> for freebsd 4.0 ""... $ac_c" 1>&6
17761 echo "configure:17762: checking <ctype> for freebsd 4.0 " >&5
17762 cat > conftest.$ac_ext <<EOF
17763 #line 17764 "configure"
17764 #include "confdefs.h"
17765 #include <ctype.h>
17766 int main() {
17768 foo (int a)
17769 { return _CTYPE_S + _CTYPE_R + _CTYPE_C + _CTYPE_U + _CTYPE_L + _CTYPE_A \
17770 + _CTYPE_D + _CTYPE_P + _CTYPE_X + _CTYPE_G ;}
17771 ; return 0; }
17773 if { (eval echo configure:17774: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17774 rm -rf conftest*
17776 ctype_bsd=yes
17777 else
17778 echo "configure: failed program was:" >&5
17779 cat conftest.$ac_ext >&5
17780 rm -rf conftest*
17781 ctype_bsd=no
17783 rm -f conftest*
17784 echo "$ac_t""$ctype_bsd" 1>&6
17785 if test $ctype_bsd = "yes"; then
17786 ctype_include_dir="config/bsd"
17787 ctype_default=no
17791 if test $ctype_default = "yes"; then
17792 echo $ac_n "checking <ctype> for freebsd 3.4 ""... $ac_c" 1>&6
17793 echo "configure:17794: checking <ctype> for freebsd 3.4 " >&5
17794 cat > conftest.$ac_ext <<EOF
17795 #line 17796 "configure"
17796 #include "confdefs.h"
17797 #include <ctype.h>
17798 int main() {
17800 foo (int a)
17801 { return _S + _R + _C + _U + _L + _A \
17802 + _D + _P + _X + _G + __istype (a, 0);}
17803 ; return 0; }
17805 if { (eval echo configure:17806: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17806 rm -rf conftest*
17808 ctype_freebsd34=yes
17809 else
17810 echo "configure: failed program was:" >&5
17811 cat conftest.$ac_ext >&5
17812 rm -rf conftest*
17813 ctype_freebsd34=no
17815 rm -f conftest*
17816 echo "$ac_t""$ctype_freebsd34" 1>&6
17817 if test $ctype_freebsd34 = "yes"; then
17818 ctype_include_dir="config/bsd"
17819 ctype_default=no
17823 if test $ctype_default = "yes"; then
17824 echo $ac_n "checking <ctype> for solaris 2.6,7,8 ""... $ac_c" 1>&6
17825 echo "configure:17826: checking <ctype> for solaris 2.6,7,8 " >&5
17826 cat > conftest.$ac_ext <<EOF
17827 #line 17828 "configure"
17828 #include "confdefs.h"
17829 #include <ctype.h>
17830 int main() {
17832 foo (int a)
17833 { return _ISSPACE + _ISPRINT + _ISCNTRL + _ISUPPER + _ISLOWER + _ISALPHA \
17834 + _ISDIGIT + _ISPUNCT + _ISXDIGIT + _ISALNUM + _ISGRAPH \
17835 + __trans_lower[a] + __trans_upper[a] + __ctype_mask[a];}
17836 ; return 0; }
17838 if { (eval echo configure:17839: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17839 rm -rf conftest*
17841 ctype_solaris=yes
17842 else
17843 echo "configure: failed program was:" >&5
17844 cat conftest.$ac_ext >&5
17845 rm -rf conftest*
17846 ctype_solaris=no
17848 rm -f conftest*
17849 echo "$ac_t""$ctype_solaris" 1>&6
17851 if test $ctype_solaris = "yes"; then
17852 echo $ac_n "checking for version""... $ac_c" 1>&6
17853 echo "configure:17854: checking for version" >&5
17854 ac_ext=C
17855 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17856 ac_cpp='$CXXCPP $CPPFLAGS'
17857 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17858 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17859 cross_compiling=$ac_cv_prog_cxx_cross
17861 cat > conftest.$ac_ext <<EOF
17862 #line 17863 "configure"
17863 #include "confdefs.h"
17864 #include <ctype.h>
17865 int main() {
17866 typedef long* __to_type; __to_type const& _M_toupper = __trans_upper;
17867 ; return 0; }
17869 if { (eval echo configure:17870: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17870 rm -rf conftest*
17872 ctype_solaris26=yes
17873 else
17874 echo "configure: failed program was:" >&5
17875 cat conftest.$ac_ext >&5
17876 rm -rf conftest*
17877 ctype_solaris26=no
17879 rm -f conftest*
17880 ac_ext=c
17881 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17882 ac_cpp='$CPP $CPPFLAGS'
17883 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17884 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17885 cross_compiling=$ac_cv_prog_cc_cross
17887 if test $ctype_solaris26 = "yes"; then
17888 ctype_include_dir="config/solaris/solaris2.6"
17889 echo "$ac_t"""solaris2.6"" 1>&6
17890 ctype_default=no
17891 else
17892 ctype_include_dir="config/solaris/solaris2.7"
17893 echo "$ac_t"""solaris2.7,8"" 1>&6
17894 ctype_default=no
17899 if test $ctype_default = "yes"; then
17900 echo $ac_n "checking <ctype> for solaris 2.5.1 ""... $ac_c" 1>&6
17901 echo "configure:17902: checking <ctype> for solaris 2.5.1 " >&5
17902 cat > conftest.$ac_ext <<EOF
17903 #line 17904 "configure"
17904 #include "confdefs.h"
17905 #include <ctype.h>
17906 int main() {
17908 foo (int a)
17909 { return _U + _L + _N + _S + _P + _C + _X + _B \
17910 + __ctype[a];}
17911 ; return 0; }
17913 if { (eval echo configure:17914: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17914 rm -rf conftest*
17916 ctype_solaris25=yes
17917 else
17918 echo "configure: failed program was:" >&5
17919 cat conftest.$ac_ext >&5
17920 rm -rf conftest*
17921 ctype_solaris25=no
17923 rm -f conftest*
17924 echo "$ac_t""$ctype_solaris25" 1>&6
17925 if test $ctype_solaris25 = "yes"; then
17926 ctype_include_dir="config/solaris/solaris2.5"
17927 ctype_default=no
17931 if test $ctype_default = "yes"; then
17932 echo $ac_n "checking <ctype> for aix ""... $ac_c" 1>&6
17933 echo "configure:17934: checking <ctype> for aix " >&5
17934 cat > conftest.$ac_ext <<EOF
17935 #line 17936 "configure"
17936 #include "confdefs.h"
17937 #include <ctype.h>
17938 int main() {
17940 foo (int a)
17941 { return _ISSPACE + _ISPRINT + _ISCNTRL + _ISUPPER + _ISLOWER + _ISALPHA \
17942 + _ISDIGIT + _ISPUNCT + _ISXDIGIT + _ISALNUM + _ISGRAPH \
17943 + _VALC('a') + _IS('c', 0);}
17944 ; return 0; }
17946 if { (eval echo configure:17947: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17947 rm -rf conftest*
17949 ctype_aix=yes
17950 else
17951 echo "configure: failed program was:" >&5
17952 cat conftest.$ac_ext >&5
17953 rm -rf conftest*
17954 ctype_aix=no
17956 rm -f conftest*
17957 echo "$ac_t""$ctype_aix" 1>&6
17958 if test $ctype_aix = "yes"; then
17959 ctype_include_dir="config/aix"
17960 ctype_default=no
17964 if test $ctype_default = "yes"; then
17965 echo $ac_n "checking <ctype> for newlib ""... $ac_c" 1>&6
17966 echo "configure:17967: checking <ctype> for newlib " >&5
17967 cat > conftest.$ac_ext <<EOF
17968 #line 17969 "configure"
17969 #include "confdefs.h"
17970 #include <ctype.h>
17971 int main() {
17973 foo (int a)
17974 { return _U + _L + _N + _S + _P + _C + _X + _B \
17975 + _ctype_[a];}
17976 ; return 0; }
17978 if { (eval echo configure:17979: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17979 rm -rf conftest*
17981 ctype_newlib=yes
17982 else
17983 echo "configure: failed program was:" >&5
17984 cat conftest.$ac_ext >&5
17985 rm -rf conftest*
17986 ctype_newlib=no
17988 rm -f conftest*
17989 echo "$ac_t""$ctype_newlib" 1>&6
17990 if test $ctype_newlib = "yes"; then
17991 ctype_include_dir="config/newlib"
17992 ctype_default=no
17996 if test $ctype_default = "yes"; then
17997 ctype_include_dir="config/generic"
17998 echo "configure: warning: "Using default ctype headers."" 1>&2
18002 else
18003 echo "$ac_t""no" 1>&6
18008 for ac_hdr in unistd.h
18010 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18011 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18012 echo "configure:18013: checking for $ac_hdr" >&5
18013 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18014 echo $ac_n "(cached) $ac_c" 1>&6
18015 else
18016 cat > conftest.$ac_ext <<EOF
18017 #line 18018 "configure"
18018 #include "confdefs.h"
18019 #include <$ac_hdr>
18021 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18022 { (eval echo configure:18023: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18023 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18024 if test -z "$ac_err"; then
18025 rm -rf conftest*
18026 eval "ac_cv_header_$ac_safe=yes"
18027 else
18028 echo "$ac_err" >&5
18029 echo "configure: failed program was:" >&5
18030 cat conftest.$ac_ext >&5
18031 rm -rf conftest*
18032 eval "ac_cv_header_$ac_safe=no"
18034 rm -f conftest*
18036 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18037 echo "$ac_t""yes" 1>&6
18038 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18039 cat >> confdefs.h <<EOF
18040 #define $ac_tr_hdr 1
18043 else
18044 echo "$ac_t""no" 1>&6
18046 done
18048 for ac_func in getpagesize
18050 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18051 echo "configure:18052: checking for $ac_func" >&5
18052 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18053 echo $ac_n "(cached) $ac_c" 1>&6
18054 else
18055 cat > conftest.$ac_ext <<EOF
18056 #line 18057 "configure"
18057 #include "confdefs.h"
18058 /* System header to define __stub macros and hopefully few prototypes,
18059 which can conflict with char $ac_func(); below. */
18060 #include <assert.h>
18061 /* Override any gcc2 internal prototype to avoid an error. */
18062 /* We use char because int might match the return type of a gcc2
18063 builtin and then its argument prototype would still apply. */
18064 char $ac_func();
18066 int main() {
18068 /* The GNU C library defines this for functions which it implements
18069 to always fail with ENOSYS. Some functions are actually named
18070 something starting with __ and the normal name is an alias. */
18071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18072 choke me
18073 #else
18074 $ac_func();
18075 #endif
18077 ; return 0; }
18079 if { (eval echo configure:18080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18080 rm -rf conftest*
18081 eval "ac_cv_func_$ac_func=yes"
18082 else
18083 echo "configure: failed program was:" >&5
18084 cat conftest.$ac_ext >&5
18085 rm -rf conftest*
18086 eval "ac_cv_func_$ac_func=no"
18088 rm -f conftest*
18091 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18092 echo "$ac_t""yes" 1>&6
18093 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18094 cat >> confdefs.h <<EOF
18095 #define $ac_tr_func 1
18098 else
18099 echo "$ac_t""no" 1>&6
18101 done
18103 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
18104 echo "configure:18105: checking for working mmap" >&5
18105 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
18106 echo $ac_n "(cached) $ac_c" 1>&6
18107 else
18108 if test "$cross_compiling" = yes; then
18109 ac_cv_func_mmap_fixed_mapped=no
18110 else
18111 cat > conftest.$ac_ext <<EOF
18112 #line 18113 "configure"
18113 #include "confdefs.h"
18115 /* Thanks to Mike Haertel and Jim Avera for this test.
18116 Here is a matrix of mmap possibilities:
18117 mmap private not fixed
18118 mmap private fixed at somewhere currently unmapped
18119 mmap private fixed at somewhere already mapped
18120 mmap shared not fixed
18121 mmap shared fixed at somewhere currently unmapped
18122 mmap shared fixed at somewhere already mapped
18123 For private mappings, we should verify that changes cannot be read()
18124 back from the file, nor mmap's back from the file at a different
18125 address. (There have been systems where private was not correctly
18126 implemented like the infamous i386 svr4.0, and systems where the
18127 VM page cache was not coherent with the filesystem buffer cache
18128 like early versions of FreeBSD and possibly contemporary NetBSD.)
18129 For shared mappings, we should conversely verify that changes get
18130 propogated back to all the places they're supposed to be.
18132 Grep wants private fixed already mapped.
18133 The main things grep needs to know about mmap are:
18134 * does it exist and is it safe to write into the mmap'd area
18135 * how to use it (BSD variants) */
18136 #include <sys/types.h>
18137 #include <fcntl.h>
18138 #include <sys/mman.h>
18139 #include <stdlib.h>
18140 #include <sys/stat.h>
18142 #ifdef HAVE_UNISTD_H
18143 # include <unistd.h>
18144 #endif
18146 /* This mess was copied from the GNU getpagesize.h. */
18147 #ifndef HAVE_GETPAGESIZE
18149 /* Assume that all systems that can run configure have sys/param.h. */
18150 # ifndef HAVE_SYS_PARAM_H
18151 # define HAVE_SYS_PARAM_H 1
18152 # endif
18154 # ifdef _SC_PAGESIZE
18155 # define getpagesize() sysconf(_SC_PAGESIZE)
18156 # else /* no _SC_PAGESIZE */
18157 # ifdef HAVE_SYS_PARAM_H
18158 # include <sys/param.h>
18159 # ifdef EXEC_PAGESIZE
18160 # define getpagesize() EXEC_PAGESIZE
18161 # else /* no EXEC_PAGESIZE */
18162 # ifdef NBPG
18163 # define getpagesize() NBPG * CLSIZE
18164 # ifndef CLSIZE
18165 # define CLSIZE 1
18166 # endif /* no CLSIZE */
18167 # else /* no NBPG */
18168 # ifdef NBPC
18169 # define getpagesize() NBPC
18170 # else /* no NBPC */
18171 # ifdef PAGESIZE
18172 # define getpagesize() PAGESIZE
18173 # endif /* PAGESIZE */
18174 # endif /* no NBPC */
18175 # endif /* no NBPG */
18176 # endif /* no EXEC_PAGESIZE */
18177 # else /* no HAVE_SYS_PARAM_H */
18178 # define getpagesize() 8192 /* punt totally */
18179 # endif /* no HAVE_SYS_PARAM_H */
18180 # endif /* no _SC_PAGESIZE */
18182 #endif /* no HAVE_GETPAGESIZE */
18184 #ifdef __cplusplus
18185 extern "C" { void *malloc(unsigned); }
18186 #else
18187 char *malloc();
18188 #endif
18191 main()
18193 char *data, *data2, *data3;
18194 int i, pagesize;
18195 int fd;
18197 pagesize = getpagesize();
18200 * First, make a file with some known garbage in it.
18202 data = (char*)malloc(pagesize);
18203 if (!data)
18204 exit(1);
18205 for (i = 0; i < pagesize; ++i)
18206 *(data + i) = rand();
18207 umask(0);
18208 fd = creat("conftestmmap", 0600);
18209 if (fd < 0)
18210 exit(1);
18211 if (write(fd, data, pagesize) != pagesize)
18212 exit(1);
18213 close(fd);
18216 * Next, try to mmap the file at a fixed address which
18217 * already has something else allocated at it. If we can,
18218 * also make sure that we see the same garbage.
18220 fd = open("conftestmmap", O_RDWR);
18221 if (fd < 0)
18222 exit(1);
18223 data2 = (char*)malloc(2 * pagesize);
18224 if (!data2)
18225 exit(1);
18226 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
18227 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
18228 MAP_PRIVATE | MAP_FIXED, fd, 0L))
18229 exit(1);
18230 for (i = 0; i < pagesize; ++i)
18231 if (*(data + i) != *(data2 + i))
18232 exit(1);
18235 * Finally, make sure that changes to the mapped area
18236 * do not percolate back to the file as seen by read().
18237 * (This is a bug on some variants of i386 svr4.0.)
18239 for (i = 0; i < pagesize; ++i)
18240 *(data2 + i) = *(data2 + i) + 1;
18241 data3 = (char*)malloc(pagesize);
18242 if (!data3)
18243 exit(1);
18244 if (read(fd, data3, pagesize) != pagesize)
18245 exit(1);
18246 for (i = 0; i < pagesize; ++i)
18247 if (*(data + i) != *(data3 + i))
18248 exit(1);
18249 close(fd);
18250 unlink("conftestmmap");
18251 exit(0);
18255 if { (eval echo configure:18256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
18256 then
18257 ac_cv_func_mmap_fixed_mapped=yes
18258 else
18259 echo "configure: failed program was:" >&5
18260 cat conftest.$ac_ext >&5
18261 rm -fr conftest*
18262 ac_cv_func_mmap_fixed_mapped=no
18264 rm -fr conftest*
18269 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
18270 if test $ac_cv_func_mmap_fixed_mapped = yes; then
18271 cat >> confdefs.h <<\EOF
18272 #define HAVE_MMAP 1
18281 if test "$CANADIAN" = yes; then
18282 CANADIAN_TRUE=
18283 CANADIAN_FALSE='#'
18284 else
18285 CANADIAN_TRUE='#'
18286 CANADIAN_FALSE=
18290 if test "$NULL_TARGET" = yes; then
18291 NULL_TARGET_TRUE=
18292 NULL_TARGET_FALSE='#'
18293 else
18294 NULL_TARGET_TRUE='#'
18295 NULL_TARGET_FALSE=
18299 if test "$NATIVE" = yes || test "$NULL_TARGET" = yes; then
18300 NATIVE_TRUE=
18301 NATIVE_FALSE='#'
18302 else
18303 NATIVE_TRUE='#'
18304 NATIVE_FALSE=
18308 if test -z "$with_cross_host"; then
18309 USE_LIBDIR_TRUE=
18310 USE_LIBDIR_FALSE='#'
18311 else
18312 USE_LIBDIR_TRUE='#'
18313 USE_LIBDIR_FALSE=
18316 if test $ac_cv_header_locale_h = yes; then
18317 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
18318 echo "configure:18319: checking for LC_MESSAGES" >&5
18319 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
18320 echo $ac_n "(cached) $ac_c" 1>&6
18321 else
18322 cat > conftest.$ac_ext <<EOF
18323 #line 18324 "configure"
18324 #include "confdefs.h"
18325 #include <locale.h>
18326 int main() {
18327 return LC_MESSAGES
18328 ; return 0; }
18330 if { (eval echo configure:18331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18331 rm -rf conftest*
18332 ac_cv_val_LC_MESSAGES=yes
18333 else
18334 echo "configure: failed program was:" >&5
18335 cat conftest.$ac_ext >&5
18336 rm -rf conftest*
18337 ac_cv_val_LC_MESSAGES=no
18339 rm -f conftest*
18342 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
18343 if test $ac_cv_val_LC_MESSAGES = yes; then
18344 cat >> confdefs.h <<\EOF
18345 #define HAVE_LC_MESSAGES 1
18352 if test "${multilib}" = "yes"; then
18353 multilib_arg="--enable-multilib"
18354 else
18355 multilib_arg=
18359 # Generate the various Makefiles, include files, and scripts.
18361 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
18362 # so that multilib installs will end up installed in the correct
18363 # place. To work around this not being passed down from config-ml.in
18364 # -> top_srcdir/Makefile.am -> top_srcdir/src/Makefile.am, manually
18365 # append it here.
18367 trap '' 1 2 15
18368 cat > confcache <<\EOF
18369 # This file is a shell script that caches the results of configure
18370 # tests run on this system so they can be shared between configure
18371 # scripts and configure runs. It is not useful on other systems.
18372 # If it contains results you don't want to keep, you may remove or edit it.
18374 # By default, configure uses ./config.cache as the cache file,
18375 # creating it if it does not exist already. You can give configure
18376 # the --cache-file=FILE option to use a different cache file; that is
18377 # what configure does when it calls configure scripts in
18378 # subdirectories, so they share the cache.
18379 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18380 # config.status only pays attention to the cache file if you give it the
18381 # --recheck option to rerun configure.
18384 # The following way of writing the cache mishandles newlines in values,
18385 # but we know of no workaround that is simple, portable, and efficient.
18386 # So, don't put newlines in cache variables' values.
18387 # Ultrix sh set writes to stderr and can't be redirected directly,
18388 # and sets the high bit in the cache file unless we assign to the vars.
18389 (set) 2>&1 |
18390 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18391 *ac_space=\ *)
18392 # `set' does not quote correctly, so add quotes (double-quote substitution
18393 # turns \\\\ into \\, and sed turns \\ into \).
18394 sed -n \
18395 -e "s/'/'\\\\''/g" \
18396 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18399 # `set' quotes correctly as required by POSIX, so do not add quotes.
18400 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18402 esac >> confcache
18403 if cmp -s $cache_file confcache; then
18405 else
18406 if test -w $cache_file; then
18407 echo "updating cache $cache_file"
18408 cat confcache > $cache_file
18409 else
18410 echo "not updating unwritable cache $cache_file"
18413 rm -f confcache
18415 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
18417 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18418 # Let make expand exec_prefix.
18419 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18421 # Any assignment to VPATH causes Sun make to only execute
18422 # the first set of double-colon rules, so remove it if not needed.
18423 # If there is a colon in the path, we need to keep it.
18424 if test "x$srcdir" = x.; then
18425 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
18428 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
18430 DEFS=-DHAVE_CONFIG_H
18432 # Without the "./", some shells look in PATH for config.status.
18433 : ${CONFIG_STATUS=./config.status}
18435 echo creating $CONFIG_STATUS
18436 rm -f $CONFIG_STATUS
18437 cat > $CONFIG_STATUS <<EOF
18438 #! /bin/sh
18439 # Generated automatically by configure.
18440 # Run this file to recreate the current configuration.
18441 # This directory was configured as follows,
18442 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18444 # $0 $ac_configure_args
18446 # Compiler output produced by configure, useful for debugging
18447 # configure, is in ./config.log if it exists.
18449 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
18450 for ac_option
18452 case "\$ac_option" in
18453 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18454 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
18455 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
18456 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
18457 echo "$CONFIG_STATUS generated by autoconf version 2.13"
18458 exit 0 ;;
18459 -help | --help | --hel | --he | --h)
18460 echo "\$ac_cs_usage"; exit 0 ;;
18461 *) echo "\$ac_cs_usage"; exit 1 ;;
18462 esac
18463 done
18465 ac_given_srcdir=$srcdir
18466 ac_given_INSTALL="$INSTALL"
18468 trap 'rm -fr `echo "mkcheck Makefile src/Makefile math/Makefile libio/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
18470 cat >> $CONFIG_STATUS <<EOF
18472 # Protect against being on the right side of a sed subst in config.status.
18473 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
18474 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
18475 $ac_vpsub
18476 $extrasub
18477 s%@SHELL@%$SHELL%g
18478 s%@CFLAGS@%$CFLAGS%g
18479 s%@CPPFLAGS@%$CPPFLAGS%g
18480 s%@CXXFLAGS@%$CXXFLAGS%g
18481 s%@FFLAGS@%$FFLAGS%g
18482 s%@DEFS@%$DEFS%g
18483 s%@LDFLAGS@%$LDFLAGS%g
18484 s%@LIBS@%$LIBS%g
18485 s%@exec_prefix@%$exec_prefix%g
18486 s%@prefix@%$prefix%g
18487 s%@program_transform_name@%$program_transform_name%g
18488 s%@bindir@%$bindir%g
18489 s%@sbindir@%$sbindir%g
18490 s%@libexecdir@%$libexecdir%g
18491 s%@datadir@%$datadir%g
18492 s%@sysconfdir@%$sysconfdir%g
18493 s%@sharedstatedir@%$sharedstatedir%g
18494 s%@localstatedir@%$localstatedir%g
18495 s%@libdir@%$libdir%g
18496 s%@includedir@%$includedir%g
18497 s%@oldincludedir@%$oldincludedir%g
18498 s%@infodir@%$infodir%g
18499 s%@mandir@%$mandir%g
18500 s%@host@%$host%g
18501 s%@host_alias@%$host_alias%g
18502 s%@host_cpu@%$host_cpu%g
18503 s%@host_vendor@%$host_vendor%g
18504 s%@host_os@%$host_os%g
18505 s%@target@%$target%g
18506 s%@target_alias@%$target_alias%g
18507 s%@target_cpu@%$target_cpu%g
18508 s%@target_vendor@%$target_vendor%g
18509 s%@target_os@%$target_os%g
18510 s%@build@%$build%g
18511 s%@build_alias@%$build_alias%g
18512 s%@build_cpu@%$build_cpu%g
18513 s%@build_vendor@%$build_vendor%g
18514 s%@build_os@%$build_os%g
18515 s%@glibcpp_basedir@%$glibcpp_basedir%g
18516 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
18517 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
18518 s%@INSTALL_DATA@%$INSTALL_DATA%g
18519 s%@PACKAGE@%$PACKAGE%g
18520 s%@VERSION@%$VERSION%g
18521 s%@ACLOCAL@%$ACLOCAL%g
18522 s%@AUTOCONF@%$AUTOCONF%g
18523 s%@AUTOMAKE@%$AUTOMAKE%g
18524 s%@AUTOHEADER@%$AUTOHEADER%g
18525 s%@MAKEINFO@%$MAKEINFO%g
18526 s%@SET_MAKE@%$SET_MAKE%g
18527 s%@CC@%$CC%g
18528 s%@CXX@%$CXX%g
18529 s%@AS@%$AS%g
18530 s%@AR@%$AR%g
18531 s%@RANLIB@%$RANLIB%g
18532 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
18533 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
18534 s%@MAINT@%$MAINT%g
18535 s%@EXEEXT@%$EXEEXT%g
18536 s%@GLIBCPP_CFLAGS@%$GLIBCPP_CFLAGS%g
18537 s%@GLIBCPP_CXXFLAGS@%$GLIBCPP_CXXFLAGS%g
18538 s%@LN_S@%$LN_S%g
18539 s%@OBJEXT@%$OBJEXT%g
18540 s%@STRIP@%$STRIP%g
18541 s%@LIBTOOL@%$LIBTOOL%g
18542 s%@CXXCPP@%$CXXCPP%g
18543 s%@ifGNUmake@%$ifGNUmake%g
18544 s%@CPP@%$CPP%g
18545 s%@cpu_include_dir@%$cpu_include_dir%g
18546 s%@CPU_FLAGS@%$CPU_FLAGS%g
18547 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
18548 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
18549 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
18550 s%@GLIBCPP_NEED_XTRA_LIBIO_TRUE@%$GLIBCPP_NEED_XTRA_LIBIO_TRUE%g
18551 s%@GLIBCPP_NEED_XTRA_LIBIO_FALSE@%$GLIBCPP_NEED_XTRA_LIBIO_FALSE%g
18552 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
18553 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
18554 s%@CSHADOWFLAGS@%$CSHADOWFLAGS%g
18555 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
18556 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
18557 s%@THREADLIBS@%$THREADLIBS%g
18558 s%@THREADINCS@%$THREADINCS%g
18559 s%@THREADDEPS@%$THREADDEPS%g
18560 s%@THREADOBJS@%$THREADOBJS%g
18561 s%@THREADSPEC@%$THREADSPEC%g
18562 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
18563 s%@ctype_include_dir@%$ctype_include_dir%g
18564 s%@WERROR@%$WERROR%g
18565 s%@WFMT_FLAGS@%$WFMT_FLAGS%g
18566 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
18567 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
18568 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
18569 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
18570 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
18571 s%@libinst_wstring_la@%$libinst_wstring_la%g
18572 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
18573 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
18574 s%@NULL_TARGET_TRUE@%$NULL_TARGET_TRUE%g
18575 s%@NULL_TARGET_FALSE@%$NULL_TARGET_FALSE%g
18576 s%@NATIVE_TRUE@%$NATIVE_TRUE%g
18577 s%@NATIVE_FALSE@%$NATIVE_FALSE%g
18578 s%@USE_LIBDIR_TRUE@%$USE_LIBDIR_TRUE%g
18579 s%@USE_LIBDIR_FALSE@%$USE_LIBDIR_FALSE%g
18581 CEOF
18584 cat >> $CONFIG_STATUS <<\EOF
18586 # Split the substitutions into bite-sized pieces for seds with
18587 # small command number limits, like on Digital OSF/1 and HP-UX.
18588 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
18589 ac_file=1 # Number of current file.
18590 ac_beg=1 # First line for current file.
18591 ac_end=$ac_max_sed_cmds # Line after last line for current file.
18592 ac_more_lines=:
18593 ac_sed_cmds=""
18594 while $ac_more_lines; do
18595 if test $ac_beg -gt 1; then
18596 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
18597 else
18598 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
18600 if test ! -s conftest.s$ac_file; then
18601 ac_more_lines=false
18602 rm -f conftest.s$ac_file
18603 else
18604 if test -z "$ac_sed_cmds"; then
18605 ac_sed_cmds="sed -f conftest.s$ac_file"
18606 else
18607 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
18609 ac_file=`expr $ac_file + 1`
18610 ac_beg=$ac_end
18611 ac_end=`expr $ac_end + $ac_max_sed_cmds`
18613 done
18614 if test -z "$ac_sed_cmds"; then
18615 ac_sed_cmds=cat
18619 cat >> $CONFIG_STATUS <<EOF
18621 CONFIG_FILES=\${CONFIG_FILES-"mkcheck Makefile src/Makefile math/Makefile libio/Makefile"}
18623 cat >> $CONFIG_STATUS <<\EOF
18624 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
18625 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18626 case "$ac_file" in
18627 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
18628 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18629 *) ac_file_in="${ac_file}.in" ;;
18630 esac
18632 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
18634 # Remove last slash and all that follows it. Not all systems have dirname.
18635 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18636 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18637 # The file is in a subdirectory.
18638 test ! -d "$ac_dir" && mkdir "$ac_dir"
18639 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
18640 # A "../" for each directory in $ac_dir_suffix.
18641 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
18642 else
18643 ac_dir_suffix= ac_dots=
18646 case "$ac_given_srcdir" in
18647 .) srcdir=.
18648 if test -z "$ac_dots"; then top_srcdir=.
18649 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
18650 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
18651 *) # Relative path.
18652 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
18653 top_srcdir="$ac_dots$ac_given_srcdir" ;;
18654 esac
18656 case "$ac_given_INSTALL" in
18657 [/$]*) INSTALL="$ac_given_INSTALL" ;;
18658 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
18659 esac
18661 echo creating "$ac_file"
18662 rm -f "$ac_file"
18663 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
18664 case "$ac_file" in
18665 *Makefile*) ac_comsub="1i\\
18666 # $configure_input" ;;
18667 *) ac_comsub= ;;
18668 esac
18670 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18671 sed -e "$ac_comsub
18672 s%@configure_input@%$configure_input%g
18673 s%@srcdir@%$srcdir%g
18674 s%@top_srcdir@%$top_srcdir%g
18675 s%@INSTALL@%$INSTALL%g
18676 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
18677 fi; done
18678 rm -f conftest.s*
18680 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18681 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18683 # ac_d sets the value in "#define NAME VALUE" lines.
18684 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18685 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
18686 ac_dC='\3'
18687 ac_dD='%g'
18688 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
18689 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18690 ac_uB='\([ ]\)%\1#\2define\3'
18691 ac_uC=' '
18692 ac_uD='\4%g'
18693 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18694 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18695 ac_eB='$%\1#\2define\3'
18696 ac_eC=' '
18697 ac_eD='%g'
18699 if test "${CONFIG_HEADERS+set}" != set; then
18701 cat >> $CONFIG_STATUS <<EOF
18702 CONFIG_HEADERS="config.h"
18704 cat >> $CONFIG_STATUS <<\EOF
18706 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
18707 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18708 case "$ac_file" in
18709 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
18710 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18711 *) ac_file_in="${ac_file}.in" ;;
18712 esac
18714 echo creating $ac_file
18716 rm -f conftest.frag conftest.in conftest.out
18717 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18718 cat $ac_file_inputs > conftest.in
18722 # Transform confdefs.h into a sed script conftest.vals that substitutes
18723 # the proper values into config.h.in to produce config.h. And first:
18724 # Protect against being on the right side of a sed subst in config.status.
18725 # Protect against being in an unquoted here document in config.status.
18726 rm -f conftest.vals
18727 cat > conftest.hdr <<\EOF
18728 s/[\\&%]/\\&/g
18729 s%[\\$`]%\\&%g
18730 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
18731 s%ac_d%ac_u%gp
18732 s%ac_u%ac_e%gp
18734 sed -n -f conftest.hdr confdefs.h > conftest.vals
18735 rm -f conftest.hdr
18737 # This sed command replaces #undef with comments. This is necessary, for
18738 # example, in the case of _POSIX_SOURCE, which is predefined and required
18739 # on some systems where configure will not decide to define it.
18740 cat >> conftest.vals <<\EOF
18741 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
18744 # Break up conftest.vals because some shells have a limit on
18745 # the size of here documents, and old seds have small limits too.
18747 rm -f conftest.tail
18748 while :
18750 ac_lines=`grep -c . conftest.vals`
18751 # grep -c gives empty output for an empty file on some AIX systems.
18752 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
18753 # Write a limited-size here document to conftest.frag.
18754 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
18755 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
18756 echo 'CEOF
18757 sed -f conftest.frag conftest.in > conftest.out
18758 rm -f conftest.in
18759 mv conftest.out conftest.in
18760 ' >> $CONFIG_STATUS
18761 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
18762 rm -f conftest.vals
18763 mv conftest.tail conftest.vals
18764 done
18765 rm -f conftest.vals
18767 cat >> $CONFIG_STATUS <<\EOF
18768 rm -f conftest.frag conftest.h
18769 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
18770 cat conftest.in >> conftest.h
18771 rm -f conftest.in
18772 if cmp -s $ac_file conftest.h 2>/dev/null; then
18773 echo "$ac_file is unchanged"
18774 rm -f conftest.h
18775 else
18776 # Remove last slash and all that follows it. Not all systems have dirname.
18777 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18778 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18779 # The file is in a subdirectory.
18780 test ! -d "$ac_dir" && mkdir "$ac_dir"
18782 rm -f $ac_file
18783 mv conftest.h $ac_file
18785 fi; done
18789 cat >> $CONFIG_STATUS <<EOF
18790 ac_sources="$CSTDIO_H $CSTDIO_CC $CCODECVT_C config/$THREADH"
18791 ac_dests="bits/c++io.h src/c++io.cc libio/c_codecvt.c bits/c++threads.h"
18794 cat >> $CONFIG_STATUS <<\EOF
18795 srcdir=$ac_given_srcdir
18796 while test -n "$ac_sources"; do
18797 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
18798 set $ac_sources; ac_source=$1; shift; ac_sources=$*
18800 echo "linking $srcdir/$ac_source to $ac_dest"
18802 if test ! -r $srcdir/$ac_source; then
18803 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
18805 rm -f $ac_dest
18807 # Make relative symlinks.
18808 # Remove last slash and all that follows it. Not all systems have dirname.
18809 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
18810 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
18811 # The dest file is in a subdirectory.
18812 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
18813 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
18814 # A "../" for each directory in $ac_dest_dir_suffix.
18815 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
18816 else
18817 ac_dest_dir_suffix= ac_dots=
18820 case "$srcdir" in
18821 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
18822 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
18823 esac
18825 # Make a symlink if possible; otherwise try a hard link.
18826 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
18827 ln $srcdir/$ac_source $ac_dest; then :
18828 else
18829 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
18831 done
18833 cat >> $CONFIG_STATUS <<EOF
18835 srcdir=${srcdir}
18836 host=${host}
18837 target=${target}
18838 with_multisubdir=${with_multisubdir}
18839 ac_configure_args="${multilib_arg} ${ac_configure_args}"
18840 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
18841 glibcpp_basedir=${glibcpp_basedir}
18842 CC="${CC}"
18843 CXX="${CXX}"
18846 cat >> $CONFIG_STATUS <<\EOF
18847 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
18848 if test -n "$CONFIG_FILES"; then
18849 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
18850 grep '^MULTISUBDIR =' Makefile >> src/Makefile
18852 exit 0
18854 chmod +x $CONFIG_STATUS
18855 rm -fr confdefs* $ac_clean_files
18856 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
18860 blddir=`pwd`
18861 # Generate bits/c++config.h
18862 # NB: This must be the first generated file as others include it. . .
18865 # Generate bits/std_limits.h and src/limitsMEMBERS.cc
18869 # Sanity checking & User-visible messages.
18870 # Checks down here, otherwise they get scrolled off before
18871 # the user will notice.
18872 if test "$enable_namespaces" = "yes" && test "$enable_libgcc_rebuild" = "no"
18873 then
18874 echo "configure: warning: libgcc.a will not match mangled symbols unless it is rebuilt" 1>&2
18876 if test "$enable_namespaces" = "no" && test "$enable_libgcc_rebuild" != "no"
18877 then
18878 # Other things besides namespaces can make this true as well, but none
18879 # of them are done automatically... yet
18880 echo "configure: warning: no point in rebuilding libgcc.a if namespaces aren't used" 1>&2
18883 # Trying to get more people to read documentation. Possibly remove
18884 # check and warn all the time. There is no "informational" AC_MSG_
18885 # macro, so these are going to be printed even when --quiet/--silent
18886 # is given.
18887 if test ! -f stamp-sanity-warned; then
18888 touch stamp-sanity-warned
18889 echo ""
18890 echo "Please make certain that you read the installation information here:"
18891 echo " faster => ${srcdir}/docs/install.html"
18892 echo " slower => <URL:http://sources.redhat.com/libstdc++/install.html>"
18893 echo ""
18894 echo "and the configuration information here:"
18895 echo " faster => ${srcdir}/docs/configopts.html"
18896 echo " slower => <URL:http://sources.redhat.com/libstdc++/configopts.html>"
18897 echo ""
18898 echo "before proceeding with ${_cv_gnu_make_command}."
18899 echo ""
18903 $srcdir/mkc++config $blddir $srcdir
18904 $srcdir/mknumeric_limits $blddir $srcdir $xcompiling